diff --git a/VERSION b/VERSION index e20d19277..2a91ce00c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1257 \ No newline at end of file +1.36.1258 \ No newline at end of file diff --git a/live/CMakeLists.txt b/live/CMakeLists.txt index be46907ac..1f8827219 100644 --- a/live/CMakeLists.txt +++ b/live/CMakeLists.txt @@ -87,6 +87,8 @@ set(live_public_header_model include/alibabacloud/live/model/BatchSetLiveDomainConfigsResult.h include/alibabacloud/live/model/CloseLiveShiftRequest.h include/alibabacloud/live/model/CloseLiveShiftResult.h + include/alibabacloud/live/model/CloseMessageGroupRequest.h + include/alibabacloud/live/model/CloseMessageGroupResult.h include/alibabacloud/live/model/CopyCasterRequest.h include/alibabacloud/live/model/CopyCasterResult.h include/alibabacloud/live/model/CopyCasterSceneConfigRequest.h @@ -101,6 +103,12 @@ set(live_public_header_model include/alibabacloud/live/model/CreateLiveStreamMonitorResult.h include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesRequest.h include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesResult.h + include/alibabacloud/live/model/CreateLiveTranscodeTemplateRequest.h + include/alibabacloud/live/model/CreateLiveTranscodeTemplateResult.h + include/alibabacloud/live/model/CreateMessageAppRequest.h + include/alibabacloud/live/model/CreateMessageAppResult.h + include/alibabacloud/live/model/CreateMessageGroupRequest.h + include/alibabacloud/live/model/CreateMessageGroupResult.h include/alibabacloud/live/model/CreateMixStreamRequest.h include/alibabacloud/live/model/CreateMixStreamResult.h include/alibabacloud/live/model/DeleteCasterRequest.h @@ -167,6 +175,8 @@ set(live_public_header_model include/alibabacloud/live/model/DeleteLiveStreamWatermarkRuleResult.h include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.h include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigResult.h + include/alibabacloud/live/model/DeleteMessageAppRequest.h + include/alibabacloud/live/model/DeleteMessageAppResult.h include/alibabacloud/live/model/DeleteMixStreamRequest.h include/alibabacloud/live/model/DeleteMixStreamResult.h include/alibabacloud/live/model/DeleteMultiRateConfigRequest.h @@ -269,8 +279,6 @@ set(live_public_header_model include/alibabacloud/live/model/DescribeLiveDomainRecordUsageDataResult.h include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataRequest.h include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataResult.h - include/alibabacloud/live/model/DescribeLiveDomainSpecialConfigRequest.h - include/alibabacloud/live/model/DescribeLiveDomainSpecialConfigResult.h include/alibabacloud/live/model/DescribeLiveDomainStagingConfigRequest.h include/alibabacloud/live/model/DescribeLiveDomainStagingConfigResult.h include/alibabacloud/live/model/DescribeLiveDomainStreamTranscodeDataRequest.h @@ -287,6 +295,8 @@ set(live_public_header_model include/alibabacloud/live/model/DescribeLiveEdgeTransferResult.h include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigRequest.h include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h + include/alibabacloud/live/model/DescribeLiveProducerUsageDataRequest.h + include/alibabacloud/live/model/DescribeLiveProducerUsageDataResult.h include/alibabacloud/live/model/DescribeLivePullStreamConfigRequest.h include/alibabacloud/live/model/DescribeLivePullStreamConfigResult.h include/alibabacloud/live/model/DescribeLiveRealtimeDeliveryAccRequest.h @@ -353,10 +363,10 @@ set(live_public_header_model include/alibabacloud/live/model/DescribeLiveUserBillPredictionResult.h include/alibabacloud/live/model/DescribeLiveUserDomainsRequest.h include/alibabacloud/live/model/DescribeLiveUserDomainsResult.h - include/alibabacloud/live/model/DescribeLiveUserQuotaRequest.h - include/alibabacloud/live/model/DescribeLiveUserQuotaResult.h include/alibabacloud/live/model/DescribeLiveUserTagsRequest.h include/alibabacloud/live/model/DescribeLiveUserTagsResult.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/DescribeRoomKickoutUserListRequest.h @@ -403,6 +413,12 @@ set(live_public_header_model include/alibabacloud/live/model/GetCustomTemplateResult.h include/alibabacloud/live/model/GetEditingJobInfoRequest.h include/alibabacloud/live/model/GetEditingJobInfoResult.h + include/alibabacloud/live/model/GetMessageAppRequest.h + include/alibabacloud/live/model/GetMessageAppResult.h + include/alibabacloud/live/model/GetMessageGroupRequest.h + include/alibabacloud/live/model/GetMessageGroupResult.h + include/alibabacloud/live/model/GetMessageTokenRequest.h + include/alibabacloud/live/model/GetMessageTokenResult.h include/alibabacloud/live/model/GetMultiRateConfigRequest.h include/alibabacloud/live/model/GetMultiRateConfigResult.h include/alibabacloud/live/model/GetMultiRateConfigListRequest.h @@ -411,12 +427,24 @@ set(live_public_header_model include/alibabacloud/live/model/HotLiveRtcStreamResult.h include/alibabacloud/live/model/InitializeAutoShowListTaskRequest.h include/alibabacloud/live/model/InitializeAutoShowListTaskResult.h + include/alibabacloud/live/model/JoinMessageGroupRequest.h + include/alibabacloud/live/model/JoinMessageGroupResult.h + include/alibabacloud/live/model/LeaveMessageGroupRequest.h + include/alibabacloud/live/model/LeaveMessageGroupResult.h include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryRequest.h include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryResult.h include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryDomainsRequest.h include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryDomainsResult.h include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryInfosRequest.h include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryInfosResult.h + include/alibabacloud/live/model/ListMessageRequest.h + include/alibabacloud/live/model/ListMessageResult.h + include/alibabacloud/live/model/ListMessageAppRequest.h + include/alibabacloud/live/model/ListMessageAppResult.h + include/alibabacloud/live/model/ListMessageGroupRequest.h + include/alibabacloud/live/model/ListMessageGroupResult.h + include/alibabacloud/live/model/ListMessageGroupUserRequest.h + include/alibabacloud/live/model/ListMessageGroupUserResult.h include/alibabacloud/live/model/ListPlaylistRequest.h include/alibabacloud/live/model/ListPlaylistResult.h include/alibabacloud/live/model/ListPlaylistItemsRequest.h @@ -457,6 +485,10 @@ set(live_public_header_model include/alibabacloud/live/model/ResumeLiveStreamResult.h include/alibabacloud/live/model/RollbackLiveStagingConfigRequest.h include/alibabacloud/live/model/RollbackLiveStagingConfigResult.h + include/alibabacloud/live/model/SendMessageToGroupRequest.h + include/alibabacloud/live/model/SendMessageToGroupResult.h + include/alibabacloud/live/model/SendMessageToGroupUsersRequest.h + include/alibabacloud/live/model/SendMessageToGroupUsersResult.h include/alibabacloud/live/model/SendRoomNotificationRequest.h include/alibabacloud/live/model/SendRoomNotificationResult.h include/alibabacloud/live/model/SendRoomUserNotificationRequest.h @@ -469,10 +501,10 @@ set(live_public_header_model 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/SetLiveDomainSpecialConfigRequest.h - include/alibabacloud/live/model/SetLiveDomainSpecialConfigResult.h include/alibabacloud/live/model/SetLiveDomainStagingConfigRequest.h include/alibabacloud/live/model/SetLiveDomainStagingConfigResult.h include/alibabacloud/live/model/SetLiveEdgeTransferRequest.h @@ -610,6 +642,8 @@ set(live_src src/model/BatchSetLiveDomainConfigsResult.cc src/model/CloseLiveShiftRequest.cc src/model/CloseLiveShiftResult.cc + src/model/CloseMessageGroupRequest.cc + src/model/CloseMessageGroupResult.cc src/model/CopyCasterRequest.cc src/model/CopyCasterResult.cc src/model/CopyCasterSceneConfigRequest.cc @@ -624,6 +658,12 @@ set(live_src src/model/CreateLiveStreamMonitorResult.cc src/model/CreateLiveStreamRecordIndexFilesRequest.cc src/model/CreateLiveStreamRecordIndexFilesResult.cc + src/model/CreateLiveTranscodeTemplateRequest.cc + src/model/CreateLiveTranscodeTemplateResult.cc + src/model/CreateMessageAppRequest.cc + src/model/CreateMessageAppResult.cc + src/model/CreateMessageGroupRequest.cc + src/model/CreateMessageGroupResult.cc src/model/CreateMixStreamRequest.cc src/model/CreateMixStreamResult.cc src/model/DeleteCasterRequest.cc @@ -690,6 +730,8 @@ set(live_src src/model/DeleteLiveStreamWatermarkRuleResult.cc src/model/DeleteLiveStreamsNotifyUrlConfigRequest.cc src/model/DeleteLiveStreamsNotifyUrlConfigResult.cc + src/model/DeleteMessageAppRequest.cc + src/model/DeleteMessageAppResult.cc src/model/DeleteMixStreamRequest.cc src/model/DeleteMixStreamResult.cc src/model/DeleteMultiRateConfigRequest.cc @@ -792,8 +834,6 @@ set(live_src src/model/DescribeLiveDomainRecordUsageDataResult.cc src/model/DescribeLiveDomainSnapshotDataRequest.cc src/model/DescribeLiveDomainSnapshotDataResult.cc - src/model/DescribeLiveDomainSpecialConfigRequest.cc - src/model/DescribeLiveDomainSpecialConfigResult.cc src/model/DescribeLiveDomainStagingConfigRequest.cc src/model/DescribeLiveDomainStagingConfigResult.cc src/model/DescribeLiveDomainStreamTranscodeDataRequest.cc @@ -810,6 +850,8 @@ set(live_src src/model/DescribeLiveEdgeTransferResult.cc src/model/DescribeLiveLazyPullStreamConfigRequest.cc src/model/DescribeLiveLazyPullStreamConfigResult.cc + src/model/DescribeLiveProducerUsageDataRequest.cc + src/model/DescribeLiveProducerUsageDataResult.cc src/model/DescribeLivePullStreamConfigRequest.cc src/model/DescribeLivePullStreamConfigResult.cc src/model/DescribeLiveRealtimeDeliveryAccRequest.cc @@ -876,10 +918,10 @@ set(live_src src/model/DescribeLiveUserBillPredictionResult.cc src/model/DescribeLiveUserDomainsRequest.cc src/model/DescribeLiveUserDomainsResult.cc - src/model/DescribeLiveUserQuotaRequest.cc - src/model/DescribeLiveUserQuotaResult.cc src/model/DescribeLiveUserTagsRequest.cc src/model/DescribeLiveUserTagsResult.cc + src/model/DescribeMeterLiveRtcDurationRequest.cc + src/model/DescribeMeterLiveRtcDurationResult.cc src/model/DescribeMixStreamListRequest.cc src/model/DescribeMixStreamListResult.cc src/model/DescribeRoomKickoutUserListRequest.cc @@ -926,6 +968,12 @@ set(live_src src/model/GetCustomTemplateResult.cc src/model/GetEditingJobInfoRequest.cc src/model/GetEditingJobInfoResult.cc + src/model/GetMessageAppRequest.cc + src/model/GetMessageAppResult.cc + src/model/GetMessageGroupRequest.cc + src/model/GetMessageGroupResult.cc + src/model/GetMessageTokenRequest.cc + src/model/GetMessageTokenResult.cc src/model/GetMultiRateConfigRequest.cc src/model/GetMultiRateConfigResult.cc src/model/GetMultiRateConfigListRequest.cc @@ -934,12 +982,24 @@ set(live_src src/model/HotLiveRtcStreamResult.cc src/model/InitializeAutoShowListTaskRequest.cc src/model/InitializeAutoShowListTaskResult.cc + src/model/JoinMessageGroupRequest.cc + src/model/JoinMessageGroupResult.cc + src/model/LeaveMessageGroupRequest.cc + src/model/LeaveMessageGroupResult.cc src/model/ListLiveRealtimeLogDeliveryRequest.cc src/model/ListLiveRealtimeLogDeliveryResult.cc src/model/ListLiveRealtimeLogDeliveryDomainsRequest.cc src/model/ListLiveRealtimeLogDeliveryDomainsResult.cc src/model/ListLiveRealtimeLogDeliveryInfosRequest.cc src/model/ListLiveRealtimeLogDeliveryInfosResult.cc + src/model/ListMessageRequest.cc + src/model/ListMessageResult.cc + src/model/ListMessageAppRequest.cc + src/model/ListMessageAppResult.cc + src/model/ListMessageGroupRequest.cc + src/model/ListMessageGroupResult.cc + src/model/ListMessageGroupUserRequest.cc + src/model/ListMessageGroupUserResult.cc src/model/ListPlaylistRequest.cc src/model/ListPlaylistResult.cc src/model/ListPlaylistItemsRequest.cc @@ -980,6 +1040,10 @@ set(live_src src/model/ResumeLiveStreamResult.cc src/model/RollbackLiveStagingConfigRequest.cc src/model/RollbackLiveStagingConfigResult.cc + src/model/SendMessageToGroupRequest.cc + src/model/SendMessageToGroupResult.cc + src/model/SendMessageToGroupUsersRequest.cc + src/model/SendMessageToGroupUsersResult.cc src/model/SendRoomNotificationRequest.cc src/model/SendRoomNotificationResult.cc src/model/SendRoomUserNotificationRequest.cc @@ -992,10 +1056,10 @@ set(live_src 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/SetLiveDomainSpecialConfigRequest.cc - src/model/SetLiveDomainSpecialConfigResult.cc src/model/SetLiveDomainStagingConfigRequest.cc src/model/SetLiveDomainStagingConfigResult.cc src/model/SetLiveEdgeTransferRequest.cc diff --git a/live/include/alibabacloud/live/LiveClient.h b/live/include/alibabacloud/live/LiveClient.h index 2beae020a..2bb06084f 100644 --- a/live/include/alibabacloud/live/LiveClient.h +++ b/live/include/alibabacloud/live/LiveClient.h @@ -88,6 +88,8 @@ #include "model/BatchSetLiveDomainConfigsResult.h" #include "model/CloseLiveShiftRequest.h" #include "model/CloseLiveShiftResult.h" +#include "model/CloseMessageGroupRequest.h" +#include "model/CloseMessageGroupResult.h" #include "model/CopyCasterRequest.h" #include "model/CopyCasterResult.h" #include "model/CopyCasterSceneConfigRequest.h" @@ -102,6 +104,12 @@ #include "model/CreateLiveStreamMonitorResult.h" #include "model/CreateLiveStreamRecordIndexFilesRequest.h" #include "model/CreateLiveStreamRecordIndexFilesResult.h" +#include "model/CreateLiveTranscodeTemplateRequest.h" +#include "model/CreateLiveTranscodeTemplateResult.h" +#include "model/CreateMessageAppRequest.h" +#include "model/CreateMessageAppResult.h" +#include "model/CreateMessageGroupRequest.h" +#include "model/CreateMessageGroupResult.h" #include "model/CreateMixStreamRequest.h" #include "model/CreateMixStreamResult.h" #include "model/DeleteCasterRequest.h" @@ -168,6 +176,8 @@ #include "model/DeleteLiveStreamWatermarkRuleResult.h" #include "model/DeleteLiveStreamsNotifyUrlConfigRequest.h" #include "model/DeleteLiveStreamsNotifyUrlConfigResult.h" +#include "model/DeleteMessageAppRequest.h" +#include "model/DeleteMessageAppResult.h" #include "model/DeleteMixStreamRequest.h" #include "model/DeleteMixStreamResult.h" #include "model/DeleteMultiRateConfigRequest.h" @@ -270,8 +280,6 @@ #include "model/DescribeLiveDomainRecordUsageDataResult.h" #include "model/DescribeLiveDomainSnapshotDataRequest.h" #include "model/DescribeLiveDomainSnapshotDataResult.h" -#include "model/DescribeLiveDomainSpecialConfigRequest.h" -#include "model/DescribeLiveDomainSpecialConfigResult.h" #include "model/DescribeLiveDomainStagingConfigRequest.h" #include "model/DescribeLiveDomainStagingConfigResult.h" #include "model/DescribeLiveDomainStreamTranscodeDataRequest.h" @@ -288,6 +296,8 @@ #include "model/DescribeLiveEdgeTransferResult.h" #include "model/DescribeLiveLazyPullStreamConfigRequest.h" #include "model/DescribeLiveLazyPullStreamConfigResult.h" +#include "model/DescribeLiveProducerUsageDataRequest.h" +#include "model/DescribeLiveProducerUsageDataResult.h" #include "model/DescribeLivePullStreamConfigRequest.h" #include "model/DescribeLivePullStreamConfigResult.h" #include "model/DescribeLiveRealtimeDeliveryAccRequest.h" @@ -354,10 +364,10 @@ #include "model/DescribeLiveUserBillPredictionResult.h" #include "model/DescribeLiveUserDomainsRequest.h" #include "model/DescribeLiveUserDomainsResult.h" -#include "model/DescribeLiveUserQuotaRequest.h" -#include "model/DescribeLiveUserQuotaResult.h" #include "model/DescribeLiveUserTagsRequest.h" #include "model/DescribeLiveUserTagsResult.h" +#include "model/DescribeMeterLiveRtcDurationRequest.h" +#include "model/DescribeMeterLiveRtcDurationResult.h" #include "model/DescribeMixStreamListRequest.h" #include "model/DescribeMixStreamListResult.h" #include "model/DescribeRoomKickoutUserListRequest.h" @@ -404,6 +414,12 @@ #include "model/GetCustomTemplateResult.h" #include "model/GetEditingJobInfoRequest.h" #include "model/GetEditingJobInfoResult.h" +#include "model/GetMessageAppRequest.h" +#include "model/GetMessageAppResult.h" +#include "model/GetMessageGroupRequest.h" +#include "model/GetMessageGroupResult.h" +#include "model/GetMessageTokenRequest.h" +#include "model/GetMessageTokenResult.h" #include "model/GetMultiRateConfigRequest.h" #include "model/GetMultiRateConfigResult.h" #include "model/GetMultiRateConfigListRequest.h" @@ -412,12 +428,24 @@ #include "model/HotLiveRtcStreamResult.h" #include "model/InitializeAutoShowListTaskRequest.h" #include "model/InitializeAutoShowListTaskResult.h" +#include "model/JoinMessageGroupRequest.h" +#include "model/JoinMessageGroupResult.h" +#include "model/LeaveMessageGroupRequest.h" +#include "model/LeaveMessageGroupResult.h" #include "model/ListLiveRealtimeLogDeliveryRequest.h" #include "model/ListLiveRealtimeLogDeliveryResult.h" #include "model/ListLiveRealtimeLogDeliveryDomainsRequest.h" #include "model/ListLiveRealtimeLogDeliveryDomainsResult.h" #include "model/ListLiveRealtimeLogDeliveryInfosRequest.h" #include "model/ListLiveRealtimeLogDeliveryInfosResult.h" +#include "model/ListMessageRequest.h" +#include "model/ListMessageResult.h" +#include "model/ListMessageAppRequest.h" +#include "model/ListMessageAppResult.h" +#include "model/ListMessageGroupRequest.h" +#include "model/ListMessageGroupResult.h" +#include "model/ListMessageGroupUserRequest.h" +#include "model/ListMessageGroupUserResult.h" #include "model/ListPlaylistRequest.h" #include "model/ListPlaylistResult.h" #include "model/ListPlaylistItemsRequest.h" @@ -458,6 +486,10 @@ #include "model/ResumeLiveStreamResult.h" #include "model/RollbackLiveStagingConfigRequest.h" #include "model/RollbackLiveStagingConfigResult.h" +#include "model/SendMessageToGroupRequest.h" +#include "model/SendMessageToGroupResult.h" +#include "model/SendMessageToGroupUsersRequest.h" +#include "model/SendMessageToGroupUsersResult.h" #include "model/SendRoomNotificationRequest.h" #include "model/SendRoomNotificationResult.h" #include "model/SendRoomUserNotificationRequest.h" @@ -470,10 +502,10 @@ #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/SetLiveDomainSpecialConfigRequest.h" -#include "model/SetLiveDomainSpecialConfigResult.h" #include "model/SetLiveDomainStagingConfigRequest.h" #include "model/SetLiveDomainStagingConfigResult.h" #include "model/SetLiveEdgeTransferRequest.h" @@ -650,6 +682,9 @@ namespace AlibabaCloud typedef Outcome CloseLiveShiftOutcome; typedef std::future CloseLiveShiftOutcomeCallable; typedef std::function&)> CloseLiveShiftAsyncHandler; + typedef Outcome CloseMessageGroupOutcome; + typedef std::future CloseMessageGroupOutcomeCallable; + typedef std::function&)> CloseMessageGroupAsyncHandler; typedef Outcome CopyCasterOutcome; typedef std::future CopyCasterOutcomeCallable; typedef std::function&)> CopyCasterAsyncHandler; @@ -671,6 +706,15 @@ namespace AlibabaCloud typedef Outcome CreateLiveStreamRecordIndexFilesOutcome; typedef std::future CreateLiveStreamRecordIndexFilesOutcomeCallable; typedef std::function&)> CreateLiveStreamRecordIndexFilesAsyncHandler; + typedef Outcome CreateLiveTranscodeTemplateOutcome; + typedef std::future CreateLiveTranscodeTemplateOutcomeCallable; + typedef std::function&)> CreateLiveTranscodeTemplateAsyncHandler; + typedef Outcome CreateMessageAppOutcome; + typedef std::future CreateMessageAppOutcomeCallable; + typedef std::function&)> CreateMessageAppAsyncHandler; + typedef Outcome CreateMessageGroupOutcome; + typedef std::future CreateMessageGroupOutcomeCallable; + typedef std::function&)> CreateMessageGroupAsyncHandler; typedef Outcome CreateMixStreamOutcome; typedef std::future CreateMixStreamOutcomeCallable; typedef std::function&)> CreateMixStreamAsyncHandler; @@ -770,6 +814,9 @@ namespace AlibabaCloud typedef Outcome DeleteLiveStreamsNotifyUrlConfigOutcome; typedef std::future DeleteLiveStreamsNotifyUrlConfigOutcomeCallable; typedef std::function&)> DeleteLiveStreamsNotifyUrlConfigAsyncHandler; + typedef Outcome DeleteMessageAppOutcome; + typedef std::future DeleteMessageAppOutcomeCallable; + typedef std::function&)> DeleteMessageAppAsyncHandler; typedef Outcome DeleteMixStreamOutcome; typedef std::future DeleteMixStreamOutcomeCallable; typedef std::function&)> DeleteMixStreamAsyncHandler; @@ -923,9 +970,6 @@ namespace AlibabaCloud typedef Outcome DescribeLiveDomainSnapshotDataOutcome; typedef std::future DescribeLiveDomainSnapshotDataOutcomeCallable; typedef std::function&)> DescribeLiveDomainSnapshotDataAsyncHandler; - typedef Outcome DescribeLiveDomainSpecialConfigOutcome; - typedef std::future DescribeLiveDomainSpecialConfigOutcomeCallable; - typedef std::function&)> DescribeLiveDomainSpecialConfigAsyncHandler; typedef Outcome DescribeLiveDomainStagingConfigOutcome; typedef std::future DescribeLiveDomainStagingConfigOutcomeCallable; typedef std::function&)> DescribeLiveDomainStagingConfigAsyncHandler; @@ -950,6 +994,9 @@ namespace AlibabaCloud typedef Outcome DescribeLiveLazyPullStreamConfigOutcome; typedef std::future DescribeLiveLazyPullStreamConfigOutcomeCallable; typedef std::function&)> DescribeLiveLazyPullStreamConfigAsyncHandler; + typedef Outcome DescribeLiveProducerUsageDataOutcome; + typedef std::future DescribeLiveProducerUsageDataOutcomeCallable; + typedef std::function&)> DescribeLiveProducerUsageDataAsyncHandler; typedef Outcome DescribeLivePullStreamConfigOutcome; typedef std::future DescribeLivePullStreamConfigOutcomeCallable; typedef std::function&)> DescribeLivePullStreamConfigAsyncHandler; @@ -1049,12 +1096,12 @@ namespace AlibabaCloud typedef Outcome DescribeLiveUserDomainsOutcome; typedef std::future DescribeLiveUserDomainsOutcomeCallable; typedef std::function&)> DescribeLiveUserDomainsAsyncHandler; - typedef Outcome DescribeLiveUserQuotaOutcome; - typedef std::future DescribeLiveUserQuotaOutcomeCallable; - typedef std::function&)> DescribeLiveUserQuotaAsyncHandler; typedef Outcome DescribeLiveUserTagsOutcome; typedef std::future DescribeLiveUserTagsOutcomeCallable; typedef std::function&)> DescribeLiveUserTagsAsyncHandler; + typedef Outcome DescribeMeterLiveRtcDurationOutcome; + typedef std::future DescribeMeterLiveRtcDurationOutcomeCallable; + typedef std::function&)> DescribeMeterLiveRtcDurationAsyncHandler; typedef Outcome DescribeMixStreamListOutcome; typedef std::future DescribeMixStreamListOutcomeCallable; typedef std::function&)> DescribeMixStreamListAsyncHandler; @@ -1124,6 +1171,15 @@ namespace AlibabaCloud typedef Outcome GetEditingJobInfoOutcome; typedef std::future GetEditingJobInfoOutcomeCallable; typedef std::function&)> GetEditingJobInfoAsyncHandler; + typedef Outcome GetMessageAppOutcome; + typedef std::future GetMessageAppOutcomeCallable; + typedef std::function&)> GetMessageAppAsyncHandler; + typedef Outcome GetMessageGroupOutcome; + typedef std::future GetMessageGroupOutcomeCallable; + typedef std::function&)> GetMessageGroupAsyncHandler; + typedef Outcome GetMessageTokenOutcome; + typedef std::future GetMessageTokenOutcomeCallable; + typedef std::function&)> GetMessageTokenAsyncHandler; typedef Outcome GetMultiRateConfigOutcome; typedef std::future GetMultiRateConfigOutcomeCallable; typedef std::function&)> GetMultiRateConfigAsyncHandler; @@ -1136,6 +1192,12 @@ namespace AlibabaCloud typedef Outcome InitializeAutoShowListTaskOutcome; typedef std::future InitializeAutoShowListTaskOutcomeCallable; typedef std::function&)> InitializeAutoShowListTaskAsyncHandler; + typedef Outcome JoinMessageGroupOutcome; + typedef std::future JoinMessageGroupOutcomeCallable; + typedef std::function&)> JoinMessageGroupAsyncHandler; + typedef Outcome LeaveMessageGroupOutcome; + typedef std::future LeaveMessageGroupOutcomeCallable; + typedef std::function&)> LeaveMessageGroupAsyncHandler; typedef Outcome ListLiveRealtimeLogDeliveryOutcome; typedef std::future ListLiveRealtimeLogDeliveryOutcomeCallable; typedef std::function&)> ListLiveRealtimeLogDeliveryAsyncHandler; @@ -1145,6 +1207,18 @@ namespace AlibabaCloud typedef Outcome ListLiveRealtimeLogDeliveryInfosOutcome; typedef std::future ListLiveRealtimeLogDeliveryInfosOutcomeCallable; typedef std::function&)> ListLiveRealtimeLogDeliveryInfosAsyncHandler; + typedef Outcome ListMessageOutcome; + typedef std::future ListMessageOutcomeCallable; + typedef std::function&)> ListMessageAsyncHandler; + typedef Outcome ListMessageAppOutcome; + typedef std::future ListMessageAppOutcomeCallable; + typedef std::function&)> ListMessageAppAsyncHandler; + typedef Outcome ListMessageGroupOutcome; + typedef std::future ListMessageGroupOutcomeCallable; + typedef std::function&)> ListMessageGroupAsyncHandler; + typedef Outcome ListMessageGroupUserOutcome; + typedef std::future ListMessageGroupUserOutcomeCallable; + typedef std::function&)> ListMessageGroupUserAsyncHandler; typedef Outcome ListPlaylistOutcome; typedef std::future ListPlaylistOutcomeCallable; typedef std::function&)> ListPlaylistAsyncHandler; @@ -1205,6 +1279,12 @@ namespace AlibabaCloud typedef Outcome RollbackLiveStagingConfigOutcome; typedef std::future RollbackLiveStagingConfigOutcomeCallable; typedef std::function&)> RollbackLiveStagingConfigAsyncHandler; + typedef Outcome SendMessageToGroupOutcome; + typedef std::future SendMessageToGroupOutcomeCallable; + typedef std::function&)> SendMessageToGroupAsyncHandler; + typedef Outcome SendMessageToGroupUsersOutcome; + typedef std::future SendMessageToGroupUsersOutcomeCallable; + typedef std::function&)> SendMessageToGroupUsersAsyncHandler; typedef Outcome SendRoomNotificationOutcome; typedef std::future SendRoomNotificationOutcomeCallable; typedef std::function&)> SendRoomNotificationAsyncHandler; @@ -1223,12 +1303,12 @@ namespace AlibabaCloud 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; - typedef Outcome SetLiveDomainSpecialConfigOutcome; - typedef std::future SetLiveDomainSpecialConfigOutcomeCallable; - typedef std::function&)> SetLiveDomainSpecialConfigAsyncHandler; typedef Outcome SetLiveDomainStagingConfigOutcome; typedef std::future SetLiveDomainStagingConfigOutcomeCallable; typedef std::function&)> SetLiveDomainStagingConfigAsyncHandler; @@ -1435,6 +1515,9 @@ namespace AlibabaCloud CloseLiveShiftOutcome closeLiveShift(const Model::CloseLiveShiftRequest &request)const; void closeLiveShiftAsync(const Model::CloseLiveShiftRequest& request, const CloseLiveShiftAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CloseLiveShiftOutcomeCallable closeLiveShiftCallable(const Model::CloseLiveShiftRequest& request) const; + CloseMessageGroupOutcome closeMessageGroup(const Model::CloseMessageGroupRequest &request)const; + void closeMessageGroupAsync(const Model::CloseMessageGroupRequest& request, const CloseMessageGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CloseMessageGroupOutcomeCallable closeMessageGroupCallable(const Model::CloseMessageGroupRequest& request) const; CopyCasterOutcome copyCaster(const Model::CopyCasterRequest &request)const; void copyCasterAsync(const Model::CopyCasterRequest& request, const CopyCasterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CopyCasterOutcomeCallable copyCasterCallable(const Model::CopyCasterRequest& request) const; @@ -1456,6 +1539,15 @@ namespace AlibabaCloud CreateLiveStreamRecordIndexFilesOutcome createLiveStreamRecordIndexFiles(const Model::CreateLiveStreamRecordIndexFilesRequest &request)const; void createLiveStreamRecordIndexFilesAsync(const Model::CreateLiveStreamRecordIndexFilesRequest& request, const CreateLiveStreamRecordIndexFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateLiveStreamRecordIndexFilesOutcomeCallable createLiveStreamRecordIndexFilesCallable(const Model::CreateLiveStreamRecordIndexFilesRequest& request) const; + CreateLiveTranscodeTemplateOutcome createLiveTranscodeTemplate(const Model::CreateLiveTranscodeTemplateRequest &request)const; + void createLiveTranscodeTemplateAsync(const Model::CreateLiveTranscodeTemplateRequest& request, const CreateLiveTranscodeTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateLiveTranscodeTemplateOutcomeCallable createLiveTranscodeTemplateCallable(const Model::CreateLiveTranscodeTemplateRequest& request) const; + CreateMessageAppOutcome createMessageApp(const Model::CreateMessageAppRequest &request)const; + void createMessageAppAsync(const Model::CreateMessageAppRequest& request, const CreateMessageAppAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateMessageAppOutcomeCallable createMessageAppCallable(const Model::CreateMessageAppRequest& request) const; + CreateMessageGroupOutcome createMessageGroup(const Model::CreateMessageGroupRequest &request)const; + void createMessageGroupAsync(const Model::CreateMessageGroupRequest& request, const CreateMessageGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateMessageGroupOutcomeCallable createMessageGroupCallable(const Model::CreateMessageGroupRequest& request) const; CreateMixStreamOutcome createMixStream(const Model::CreateMixStreamRequest &request)const; void createMixStreamAsync(const Model::CreateMixStreamRequest& request, const CreateMixStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateMixStreamOutcomeCallable createMixStreamCallable(const Model::CreateMixStreamRequest& request) const; @@ -1555,6 +1647,9 @@ namespace AlibabaCloud DeleteLiveStreamsNotifyUrlConfigOutcome deleteLiveStreamsNotifyUrlConfig(const Model::DeleteLiveStreamsNotifyUrlConfigRequest &request)const; void deleteLiveStreamsNotifyUrlConfigAsync(const Model::DeleteLiveStreamsNotifyUrlConfigRequest& request, const DeleteLiveStreamsNotifyUrlConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteLiveStreamsNotifyUrlConfigOutcomeCallable deleteLiveStreamsNotifyUrlConfigCallable(const Model::DeleteLiveStreamsNotifyUrlConfigRequest& request) const; + DeleteMessageAppOutcome deleteMessageApp(const Model::DeleteMessageAppRequest &request)const; + void deleteMessageAppAsync(const Model::DeleteMessageAppRequest& request, const DeleteMessageAppAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteMessageAppOutcomeCallable deleteMessageAppCallable(const Model::DeleteMessageAppRequest& request) const; DeleteMixStreamOutcome deleteMixStream(const Model::DeleteMixStreamRequest &request)const; void deleteMixStreamAsync(const Model::DeleteMixStreamRequest& request, const DeleteMixStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteMixStreamOutcomeCallable deleteMixStreamCallable(const Model::DeleteMixStreamRequest& request) const; @@ -1708,9 +1803,6 @@ namespace AlibabaCloud DescribeLiveDomainSnapshotDataOutcome describeLiveDomainSnapshotData(const Model::DescribeLiveDomainSnapshotDataRequest &request)const; void describeLiveDomainSnapshotDataAsync(const Model::DescribeLiveDomainSnapshotDataRequest& request, const DescribeLiveDomainSnapshotDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveDomainSnapshotDataOutcomeCallable describeLiveDomainSnapshotDataCallable(const Model::DescribeLiveDomainSnapshotDataRequest& request) const; - DescribeLiveDomainSpecialConfigOutcome describeLiveDomainSpecialConfig(const Model::DescribeLiveDomainSpecialConfigRequest &request)const; - void describeLiveDomainSpecialConfigAsync(const Model::DescribeLiveDomainSpecialConfigRequest& request, const DescribeLiveDomainSpecialConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLiveDomainSpecialConfigOutcomeCallable describeLiveDomainSpecialConfigCallable(const Model::DescribeLiveDomainSpecialConfigRequest& request) const; DescribeLiveDomainStagingConfigOutcome describeLiveDomainStagingConfig(const Model::DescribeLiveDomainStagingConfigRequest &request)const; void describeLiveDomainStagingConfigAsync(const Model::DescribeLiveDomainStagingConfigRequest& request, const DescribeLiveDomainStagingConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveDomainStagingConfigOutcomeCallable describeLiveDomainStagingConfigCallable(const Model::DescribeLiveDomainStagingConfigRequest& request) const; @@ -1735,6 +1827,9 @@ namespace AlibabaCloud DescribeLiveLazyPullStreamConfigOutcome describeLiveLazyPullStreamConfig(const Model::DescribeLiveLazyPullStreamConfigRequest &request)const; void describeLiveLazyPullStreamConfigAsync(const Model::DescribeLiveLazyPullStreamConfigRequest& request, const DescribeLiveLazyPullStreamConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveLazyPullStreamConfigOutcomeCallable describeLiveLazyPullStreamConfigCallable(const Model::DescribeLiveLazyPullStreamConfigRequest& request) const; + DescribeLiveProducerUsageDataOutcome describeLiveProducerUsageData(const Model::DescribeLiveProducerUsageDataRequest &request)const; + void describeLiveProducerUsageDataAsync(const Model::DescribeLiveProducerUsageDataRequest& request, const DescribeLiveProducerUsageDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveProducerUsageDataOutcomeCallable describeLiveProducerUsageDataCallable(const Model::DescribeLiveProducerUsageDataRequest& request) const; DescribeLivePullStreamConfigOutcome describeLivePullStreamConfig(const Model::DescribeLivePullStreamConfigRequest &request)const; void describeLivePullStreamConfigAsync(const Model::DescribeLivePullStreamConfigRequest& request, const DescribeLivePullStreamConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLivePullStreamConfigOutcomeCallable describeLivePullStreamConfigCallable(const Model::DescribeLivePullStreamConfigRequest& request) const; @@ -1834,12 +1929,12 @@ namespace AlibabaCloud DescribeLiveUserDomainsOutcome describeLiveUserDomains(const Model::DescribeLiveUserDomainsRequest &request)const; void describeLiveUserDomainsAsync(const Model::DescribeLiveUserDomainsRequest& request, const DescribeLiveUserDomainsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveUserDomainsOutcomeCallable describeLiveUserDomainsCallable(const Model::DescribeLiveUserDomainsRequest& request) const; - DescribeLiveUserQuotaOutcome describeLiveUserQuota(const Model::DescribeLiveUserQuotaRequest &request)const; - void describeLiveUserQuotaAsync(const Model::DescribeLiveUserQuotaRequest& request, const DescribeLiveUserQuotaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLiveUserQuotaOutcomeCallable describeLiveUserQuotaCallable(const Model::DescribeLiveUserQuotaRequest& request) const; DescribeLiveUserTagsOutcome describeLiveUserTags(const Model::DescribeLiveUserTagsRequest &request)const; void describeLiveUserTagsAsync(const Model::DescribeLiveUserTagsRequest& request, const DescribeLiveUserTagsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveUserTagsOutcomeCallable describeLiveUserTagsCallable(const Model::DescribeLiveUserTagsRequest& 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; @@ -1909,6 +2004,15 @@ namespace AlibabaCloud GetEditingJobInfoOutcome getEditingJobInfo(const Model::GetEditingJobInfoRequest &request)const; void getEditingJobInfoAsync(const Model::GetEditingJobInfoRequest& request, const GetEditingJobInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetEditingJobInfoOutcomeCallable getEditingJobInfoCallable(const Model::GetEditingJobInfoRequest& request) const; + GetMessageAppOutcome getMessageApp(const Model::GetMessageAppRequest &request)const; + void getMessageAppAsync(const Model::GetMessageAppRequest& request, const GetMessageAppAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetMessageAppOutcomeCallable getMessageAppCallable(const Model::GetMessageAppRequest& request) const; + GetMessageGroupOutcome getMessageGroup(const Model::GetMessageGroupRequest &request)const; + void getMessageGroupAsync(const Model::GetMessageGroupRequest& request, const GetMessageGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetMessageGroupOutcomeCallable getMessageGroupCallable(const Model::GetMessageGroupRequest& request) const; + GetMessageTokenOutcome getMessageToken(const Model::GetMessageTokenRequest &request)const; + void getMessageTokenAsync(const Model::GetMessageTokenRequest& request, const GetMessageTokenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetMessageTokenOutcomeCallable getMessageTokenCallable(const Model::GetMessageTokenRequest& request) const; GetMultiRateConfigOutcome getMultiRateConfig(const Model::GetMultiRateConfigRequest &request)const; void getMultiRateConfigAsync(const Model::GetMultiRateConfigRequest& request, const GetMultiRateConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetMultiRateConfigOutcomeCallable getMultiRateConfigCallable(const Model::GetMultiRateConfigRequest& request) const; @@ -1921,6 +2025,12 @@ namespace AlibabaCloud InitializeAutoShowListTaskOutcome initializeAutoShowListTask(const Model::InitializeAutoShowListTaskRequest &request)const; void initializeAutoShowListTaskAsync(const Model::InitializeAutoShowListTaskRequest& request, const InitializeAutoShowListTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; InitializeAutoShowListTaskOutcomeCallable initializeAutoShowListTaskCallable(const Model::InitializeAutoShowListTaskRequest& request) const; + JoinMessageGroupOutcome joinMessageGroup(const Model::JoinMessageGroupRequest &request)const; + void joinMessageGroupAsync(const Model::JoinMessageGroupRequest& request, const JoinMessageGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + JoinMessageGroupOutcomeCallable joinMessageGroupCallable(const Model::JoinMessageGroupRequest& request) const; + LeaveMessageGroupOutcome leaveMessageGroup(const Model::LeaveMessageGroupRequest &request)const; + void leaveMessageGroupAsync(const Model::LeaveMessageGroupRequest& request, const LeaveMessageGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + LeaveMessageGroupOutcomeCallable leaveMessageGroupCallable(const Model::LeaveMessageGroupRequest& request) const; ListLiveRealtimeLogDeliveryOutcome listLiveRealtimeLogDelivery(const Model::ListLiveRealtimeLogDeliveryRequest &request)const; void listLiveRealtimeLogDeliveryAsync(const Model::ListLiveRealtimeLogDeliveryRequest& request, const ListLiveRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListLiveRealtimeLogDeliveryOutcomeCallable listLiveRealtimeLogDeliveryCallable(const Model::ListLiveRealtimeLogDeliveryRequest& request) const; @@ -1930,6 +2040,18 @@ namespace AlibabaCloud ListLiveRealtimeLogDeliveryInfosOutcome listLiveRealtimeLogDeliveryInfos(const Model::ListLiveRealtimeLogDeliveryInfosRequest &request)const; void listLiveRealtimeLogDeliveryInfosAsync(const Model::ListLiveRealtimeLogDeliveryInfosRequest& request, const ListLiveRealtimeLogDeliveryInfosAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListLiveRealtimeLogDeliveryInfosOutcomeCallable listLiveRealtimeLogDeliveryInfosCallable(const Model::ListLiveRealtimeLogDeliveryInfosRequest& request) const; + ListMessageOutcome listMessage(const Model::ListMessageRequest &request)const; + void listMessageAsync(const Model::ListMessageRequest& request, const ListMessageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListMessageOutcomeCallable listMessageCallable(const Model::ListMessageRequest& request) const; + ListMessageAppOutcome listMessageApp(const Model::ListMessageAppRequest &request)const; + void listMessageAppAsync(const Model::ListMessageAppRequest& request, const ListMessageAppAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListMessageAppOutcomeCallable listMessageAppCallable(const Model::ListMessageAppRequest& request) const; + ListMessageGroupOutcome listMessageGroup(const Model::ListMessageGroupRequest &request)const; + void listMessageGroupAsync(const Model::ListMessageGroupRequest& request, const ListMessageGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListMessageGroupOutcomeCallable listMessageGroupCallable(const Model::ListMessageGroupRequest& request) const; + ListMessageGroupUserOutcome listMessageGroupUser(const Model::ListMessageGroupUserRequest &request)const; + void listMessageGroupUserAsync(const Model::ListMessageGroupUserRequest& request, const ListMessageGroupUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListMessageGroupUserOutcomeCallable listMessageGroupUserCallable(const Model::ListMessageGroupUserRequest& request) const; ListPlaylistOutcome listPlaylist(const Model::ListPlaylistRequest &request)const; void listPlaylistAsync(const Model::ListPlaylistRequest& request, const ListPlaylistAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListPlaylistOutcomeCallable listPlaylistCallable(const Model::ListPlaylistRequest& request) const; @@ -1990,6 +2112,12 @@ namespace AlibabaCloud RollbackLiveStagingConfigOutcome rollbackLiveStagingConfig(const Model::RollbackLiveStagingConfigRequest &request)const; void rollbackLiveStagingConfigAsync(const Model::RollbackLiveStagingConfigRequest& request, const RollbackLiveStagingConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RollbackLiveStagingConfigOutcomeCallable rollbackLiveStagingConfigCallable(const Model::RollbackLiveStagingConfigRequest& request) const; + SendMessageToGroupOutcome sendMessageToGroup(const Model::SendMessageToGroupRequest &request)const; + void sendMessageToGroupAsync(const Model::SendMessageToGroupRequest& request, const SendMessageToGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SendMessageToGroupOutcomeCallable sendMessageToGroupCallable(const Model::SendMessageToGroupRequest& request) const; + SendMessageToGroupUsersOutcome sendMessageToGroupUsers(const Model::SendMessageToGroupUsersRequest &request)const; + void sendMessageToGroupUsersAsync(const Model::SendMessageToGroupUsersRequest& request, const SendMessageToGroupUsersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SendMessageToGroupUsersOutcomeCallable sendMessageToGroupUsersCallable(const Model::SendMessageToGroupUsersRequest& request) const; SendRoomNotificationOutcome sendRoomNotification(const Model::SendRoomNotificationRequest &request)const; void sendRoomNotificationAsync(const Model::SendRoomNotificationRequest& request, const SendRoomNotificationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SendRoomNotificationOutcomeCallable sendRoomNotificationCallable(const Model::SendRoomNotificationRequest& request) const; @@ -2008,12 +2136,12 @@ namespace AlibabaCloud 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; - SetLiveDomainSpecialConfigOutcome setLiveDomainSpecialConfig(const Model::SetLiveDomainSpecialConfigRequest &request)const; - void setLiveDomainSpecialConfigAsync(const Model::SetLiveDomainSpecialConfigRequest& request, const SetLiveDomainSpecialConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetLiveDomainSpecialConfigOutcomeCallable setLiveDomainSpecialConfigCallable(const Model::SetLiveDomainSpecialConfigRequest& request) const; SetLiveDomainStagingConfigOutcome setLiveDomainStagingConfig(const Model::SetLiveDomainStagingConfigRequest &request)const; void setLiveDomainStagingConfigAsync(const Model::SetLiveDomainStagingConfigRequest& request, const SetLiveDomainStagingConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetLiveDomainStagingConfigOutcomeCallable setLiveDomainStagingConfigCallable(const Model::SetLiveDomainStagingConfigRequest& request) const; diff --git a/live/include/alibabacloud/live/model/AddCasterComponentRequest.h b/live/include/alibabacloud/live/model/AddCasterComponentRequest.h index 599b5c21f..274889680 100644 --- a/live/include/alibabacloud/live/model/AddCasterComponentRequest.h +++ b/live/include/alibabacloud/live/model/AddCasterComponentRequest.h @@ -1,81 +1,75 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDCASTERCOMPONENTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERCOMPONENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddCasterComponentRequest : public RpcServiceRequest - { - - public: - AddCasterComponentRequest(); - ~AddCasterComponentRequest(); - - std::string getHtmlLayerContent()const; - void setHtmlLayerContent(const std::string& htmlLayerContent); - std::string getImageLayerContent()const; - void setImageLayerContent(const std::string& imageLayerContent); - std::string getComponentName()const; - void setComponentName(const std::string& componentName); - std::string getLayerOrder()const; - void setLayerOrder(const std::string& layerOrder); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - std::string getComponentLayer()const; - void setComponentLayer(const std::string& componentLayer); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getComponentType()const; - void setComponentType(const std::string& componentType); - std::string getLocationId()const; - void setLocationId(const std::string& locationId); - std::string getEffect()const; - void setEffect(const std::string& effect); - std::string getCaptionLayerContent()const; - void setCaptionLayerContent(const std::string& captionLayerContent); - std::string getTextLayerContent()const; - void setTextLayerContent(const std::string& textLayerContent); - - private: - std::string htmlLayerContent_; - std::string imageLayerContent_; - std::string componentName_; - std::string layerOrder_; - std::string casterId_; - std::string componentLayer_; - long ownerId_; - std::string componentType_; - std::string locationId_; - std::string effect_; - std::string captionLayerContent_; - std::string textLayerContent_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERCOMPONENTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDCASTERCOMPONENTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERCOMPONENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddCasterComponentRequest : public RpcServiceRequest { +public: + AddCasterComponentRequest(); + ~AddCasterComponentRequest(); + std::string getHtmlLayerContent() const; + void setHtmlLayerContent(const std::string &htmlLayerContent); + std::string getImageLayerContent() const; + void setImageLayerContent(const std::string &imageLayerContent); + std::string getComponentName() const; + void setComponentName(const std::string &componentName); + std::string getLayerOrder() const; + void setLayerOrder(const std::string &layerOrder); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + std::string getComponentLayer() const; + void setComponentLayer(const std::string &componentLayer); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getComponentType() const; + void setComponentType(const std::string &componentType); + std::string getLocationId() const; + void setLocationId(const std::string &locationId); + std::string getEffect() const; + void setEffect(const std::string &effect); + std::string getCaptionLayerContent() const; + void setCaptionLayerContent(const std::string &captionLayerContent); + std::string getTextLayerContent() const; + void setTextLayerContent(const std::string &textLayerContent); + +private: + std::string htmlLayerContent_; + std::string imageLayerContent_; + std::string componentName_; + std::string layerOrder_; + std::string casterId_; + std::string componentLayer_; + long ownerId_; + std::string componentType_; + std::string locationId_; + std::string effect_; + std::string captionLayerContent_; + std::string textLayerContent_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERCOMPONENTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddCasterEpisodeGroupContentRequest.h b/live/include/alibabacloud/live/model/AddCasterEpisodeGroupContentRequest.h index e9e0cae33..fb95694b8 100644 --- a/live/include/alibabacloud/live/model/AddCasterEpisodeGroupContentRequest.h +++ b/live/include/alibabacloud/live/model/AddCasterEpisodeGroupContentRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPCONTENTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPCONTENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddCasterEpisodeGroupContentRequest : public RpcServiceRequest - { - - public: - AddCasterEpisodeGroupContentRequest(); - ~AddCasterEpisodeGroupContentRequest(); - - std::string getClientToken()const; - void setClientToken(const std::string& clientToken); - std::string getContent()const; - void setContent(const std::string& content); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string clientToken_; - std::string content_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPCONTENTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPCONTENTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPCONTENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddCasterEpisodeGroupContentRequest : public RpcServiceRequest { +public: + AddCasterEpisodeGroupContentRequest(); + ~AddCasterEpisodeGroupContentRequest(); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getContent() const; + void setContent(const std::string &content); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string clientToken_; + std::string content_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPCONTENTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddCasterEpisodeGroupRequest.h b/live/include/alibabacloud/live/model/AddCasterEpisodeGroupRequest.h index 1fe9ec9dc..5a6c433e6 100644 --- a/live/include/alibabacloud/live/model/AddCasterEpisodeGroupRequest.h +++ b/live/include/alibabacloud/live/model/AddCasterEpisodeGroupRequest.h @@ -1,75 +1,67 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddCasterEpisodeGroupRequest : public RpcServiceRequest - { - public: - struct Item - { - std::string itemName; - std::string vodUrl; - }; - - public: - AddCasterEpisodeGroupRequest(); - ~AddCasterEpisodeGroupRequest(); - - std::string getClientToken()const; - void setClientToken(const std::string& clientToken); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getSideOutputUrl()const; - void setSideOutputUrl(const std::string& sideOutputUrl); - std::vector getItem()const; - void setItem(const std::vector& item); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - int getRepeatNum()const; - void setRepeatNum(int repeatNum); - std::string getCallbackUrl()const; - void setCallbackUrl(const std::string& callbackUrl); - - private: - std::string clientToken_; - std::string startTime_; - std::string sideOutputUrl_; - std::vector item_; - std::string domainName_; - long ownerId_; - int repeatNum_; - std::string callbackUrl_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddCasterEpisodeGroupRequest : public RpcServiceRequest { +public: + struct Item { + std::string itemName; + std::string vodUrl; + }; + AddCasterEpisodeGroupRequest(); + ~AddCasterEpisodeGroupRequest(); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getSideOutputUrl() const; + void setSideOutputUrl(const std::string &sideOutputUrl); + std::vector getItem() const; + void setItem(const std::vector &item); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + int getRepeatNum() const; + void setRepeatNum(int repeatNum); + std::string getCallbackUrl() const; + void setCallbackUrl(const std::string &callbackUrl); + +private: + std::string clientToken_; + std::string startTime_; + std::string sideOutputUrl_; + std::vector item_; + std::string domainName_; + long ownerId_; + int repeatNum_; + std::string callbackUrl_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddCasterEpisodeRequest.h b/live/include/alibabacloud/live/model/AddCasterEpisodeRequest.h index 4a3da22e8..a7009311b 100644 --- a/live/include/alibabacloud/live/model/AddCasterEpisodeRequest.h +++ b/live/include/alibabacloud/live/model/AddCasterEpisodeRequest.h @@ -1,72 +1,66 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddCasterEpisodeRequest : public RpcServiceRequest - { - - public: - AddCasterEpisodeRequest(); - ~AddCasterEpisodeRequest(); - - std::string getEpisodeName()const; - void setEpisodeName(const std::string& episodeName); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - std::vector getComponentId()const; - void setComponentId(const std::vector& componentId); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - std::string getEpisodeType()const; - void setEpisodeType(const std::string& episodeType); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSwitchType()const; - void setSwitchType(const std::string& switchType); - - private: - std::string episodeName_; - std::string startTime_; - std::string resourceId_; - std::vector componentId_; - std::string casterId_; - std::string episodeType_; - std::string endTime_; - long ownerId_; - std::string switchType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddCasterEpisodeRequest : public RpcServiceRequest { +public: + AddCasterEpisodeRequest(); + ~AddCasterEpisodeRequest(); + std::string getEpisodeName() const; + void setEpisodeName(const std::string &episodeName); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getResourceId() const; + void setResourceId(const std::string &resourceId); + std::vector getComponentId() const; + void setComponentId(const std::vector &componentId); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + std::string getEpisodeType() const; + void setEpisodeType(const std::string &episodeType); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSwitchType() const; + void setSwitchType(const std::string &switchType); + +private: + std::string episodeName_; + std::string startTime_; + std::string resourceId_; + std::vector componentId_; + std::string casterId_; + std::string episodeType_; + std::string endTime_; + long ownerId_; + std::string switchType_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddCasterLayoutRequest.h b/live/include/alibabacloud/live/model/AddCasterLayoutRequest.h index 32e14c155..38e5114e1 100644 --- a/live/include/alibabacloud/live/model/AddCasterLayoutRequest.h +++ b/live/include/alibabacloud/live/model/AddCasterLayoutRequest.h @@ -1,79 +1,69 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDCASTERLAYOUTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERLAYOUTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddCasterLayoutRequest : public RpcServiceRequest - { - public: - struct AudioLayer - { - float volumeRate; - std::string validChannel; - int fixedDelayDuration; - }; - struct VideoLayer - { - std::string fillMode; - float heightNormalized; - float widthNormalized; - std::string positionRefer; - std::vector positionNormalized; - int fixedDelayDuration; - }; - - public: - AddCasterLayoutRequest(); - ~AddCasterLayoutRequest(); - - std::vector getBlendList()const; - void setBlendList(const std::vector& blendList); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::vector getAudioLayer()const; - void setAudioLayer(const std::vector& audioLayer); - std::vector getVideoLayer()const; - void setVideoLayer(const std::vector& videoLayer); - std::vector getMixList()const; - void setMixList(const std::vector& mixList); - - private: - std::vector blendList_; - std::string casterId_; - long ownerId_; - std::vector audioLayer_; - std::vector videoLayer_; - std::vector mixList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERLAYOUTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDCASTERLAYOUTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERLAYOUTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddCasterLayoutRequest : public RpcServiceRequest { +public: + struct AudioLayer { + float volumeRate; + int fixedDelayDuration; + std::string validChannel; + }; + struct VideoLayer { + int fixedDelayDuration; + std::string fillMode; + float heightNormalized; + std::string positionRefer; + float widthNormalized; + }; + AddCasterLayoutRequest(); + ~AddCasterLayoutRequest(); + std::vector getBlendList() const; + void setBlendList(const std::vector &blendList); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::vector getAudioLayer() const; + void setAudioLayer(const std::vector &audioLayer); + std::vector getVideoLayer() const; + void setVideoLayer(const std::vector &videoLayer); + std::vector getMixList() const; + void setMixList(const std::vector &mixList); + +private: + std::vector blendList_; + std::string casterId_; + long ownerId_; + std::vector audioLayer_; + std::vector videoLayer_; + std::vector mixList_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERLAYOUTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddCasterProgramRequest.h b/live/include/alibabacloud/live/model/AddCasterProgramRequest.h index 1c2d42fe6..55d79e539 100644 --- a/live/include/alibabacloud/live/model/AddCasterProgramRequest.h +++ b/live/include/alibabacloud/live/model/AddCasterProgramRequest.h @@ -1,65 +1,56 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDCASTERPROGRAMREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERPROGRAMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddCasterProgramRequest : public RpcServiceRequest - { - public: - struct Episode - { - std::string episodeType; - std::string episodeName; - std::string resourceId; - std::vector componentId; - std::string startTime; - std::string endTime; - std::string switchType; - }; - - public: - AddCasterProgramRequest(); - ~AddCasterProgramRequest(); - - std::vector getEpisode()const; - void setEpisode(const std::vector& episode); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::vector episode_; - std::string casterId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERPROGRAMREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDCASTERPROGRAMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERPROGRAMREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddCasterProgramRequest : public RpcServiceRequest { +public: + struct Episode { + std::string endTime; + std::string startTime; + std::string episodeName; + std::string episodeType; + std::string resourceId; + std::string switchType; + }; + AddCasterProgramRequest(); + ~AddCasterProgramRequest(); + std::vector getEpisode() const; + void setEpisode(const std::vector &episode); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::vector episode_; + std::string casterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERPROGRAMREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddCasterVideoResourceRequest.h b/live/include/alibabacloud/live/model/AddCasterVideoResourceRequest.h index a1474fcfb..97c22c6d9 100644 --- a/live/include/alibabacloud/live/model/AddCasterVideoResourceRequest.h +++ b/live/include/alibabacloud/live/model/AddCasterVideoResourceRequest.h @@ -1,90 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDCASTERVIDEORESOURCEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERVIDEORESOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddCasterVideoResourceRequest : public RpcServiceRequest - { - - public: - AddCasterVideoResourceRequest(); - ~AddCasterVideoResourceRequest(); - - int getInputType()const; - void setInputType(int inputType); - int getEndOffset()const; - void setEndOffset(int endOffset); - std::string getMaterialId()const; - void setMaterialId(const std::string& materialId); - std::string getVodUrl()const; - void setVodUrl(const std::string& vodUrl); - std::string getStreamId()const; - void setStreamId(const std::string& streamId); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - int getStreamMonitor()const; - void setStreamMonitor(int streamMonitor); - int getBeginOffset()const; - void setBeginOffset(int beginOffset); - int getFixedDelayDuration()const; - void setFixedDelayDuration(int fixedDelayDuration); - std::string getLiveStreamUrl()const; - void setLiveStreamUrl(const std::string& liveStreamUrl); - std::string getLocationId()const; - void setLocationId(const std::string& locationId); - int getPtsCallbackInterval()const; - void setPtsCallbackInterval(int ptsCallbackInterval); - std::string getResourceName()const; - void setResourceName(const std::string& resourceName); - int getRepeatNum()const; - void setRepeatNum(int repeatNum); - - private: - int inputType_; - int endOffset_; - std::string materialId_; - std::string vodUrl_; - std::string streamId_; - std::string casterId_; - long ownerId_; - int streamMonitor_; - int beginOffset_; - int fixedDelayDuration_; - std::string liveStreamUrl_; - std::string locationId_; - int ptsCallbackInterval_; - std::string resourceName_; - int repeatNum_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERVIDEORESOURCEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDCASTERVIDEORESOURCEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERVIDEORESOURCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddCasterVideoResourceRequest : public RpcServiceRequest { +public: + AddCasterVideoResourceRequest(); + ~AddCasterVideoResourceRequest(); + int getInputType() const; + void setInputType(int inputType); + int getEndOffset() const; + void setEndOffset(int endOffset); + std::string getMaterialId() const; + void setMaterialId(const std::string &materialId); + std::string getVodUrl() const; + void setVodUrl(const std::string &vodUrl); + std::string getStreamId() const; + void setStreamId(const std::string &streamId); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + int getStreamMonitor() const; + void setStreamMonitor(int streamMonitor); + int getBeginOffset() const; + void setBeginOffset(int beginOffset); + int getFixedDelayDuration() const; + void setFixedDelayDuration(int fixedDelayDuration); + std::string getLiveStreamUrl() const; + void setLiveStreamUrl(const std::string &liveStreamUrl); + std::string getLocationId() const; + void setLocationId(const std::string &locationId); + int getPtsCallbackInterval() const; + void setPtsCallbackInterval(int ptsCallbackInterval); + std::string getResourceName() const; + void setResourceName(const std::string &resourceName); + int getRepeatNum() const; + void setRepeatNum(int repeatNum); + +private: + int inputType_; + int endOffset_; + std::string materialId_; + std::string vodUrl_; + std::string streamId_; + std::string casterId_; + long ownerId_; + int streamMonitor_; + int beginOffset_; + int fixedDelayDuration_; + std::string liveStreamUrl_; + std::string locationId_; + int ptsCallbackInterval_; + std::string resourceName_; + int repeatNum_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERVIDEORESOURCEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h b/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h index 85341becf..33157d391 100644 --- a/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h +++ b/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h @@ -1,108 +1,102 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDCUSTOMLIVESTREAMTRANSCODEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDCUSTOMLIVESTREAMTRANSCODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddCustomLiveStreamTranscodeRequest : public RpcServiceRequest - { - - public: - AddCustomLiveStreamTranscodeRequest(); - ~AddCustomLiveStreamTranscodeRequest(); - - std::string get_Template()const; - void set_Template(const std::string& _template); - std::string getLazy()const; - void setLazy(const std::string& lazy); - std::string getGop()const; - void setGop(const std::string& gop); - std::string getKmsKeyExpireInterval()const; - void setKmsKeyExpireInterval(const std::string& kmsKeyExpireInterval); - std::string getAudioCodec()const; - void setAudioCodec(const std::string& audioCodec); - std::string getKmsUID()const; - void setKmsUID(const std::string& kmsUID); - std::string getTemplateType()const; - void setTemplateType(const std::string& templateType); - std::string getAudioProfile()const; - void setAudioProfile(const std::string& audioProfile); - int getHeight()const; - void setHeight(int height); - std::string getApp()const; - void setApp(const std::string& app); - std::string getEncryptParameters()const; - void setEncryptParameters(const std::string& encryptParameters); - int getAudioChannelNum()const; - void setAudioChannelNum(int audioChannelNum); - int getProfile()const; - void setProfile(int profile); - int getFPS()const; - void setFPS(int fPS); - long getOwnerId()const; - void setOwnerId(long ownerId); - int getAudioRate()const; - void setAudioRate(int audioRate); - int getAudioBitrate()const; - void setAudioBitrate(int audioBitrate); - std::string getDomain()const; - void setDomain(const std::string& domain); - int getWidth()const; - void setWidth(int width); - int getVideoBitrate()const; - void setVideoBitrate(int videoBitrate); - std::string getKmsKeyID()const; - void setKmsKeyID(const std::string& kmsKeyID); - - private: - std::string _template_; - std::string lazy_; - std::string gop_; - std::string kmsKeyExpireInterval_; - std::string audioCodec_; - std::string kmsUID_; - std::string templateType_; - std::string audioProfile_; - int height_; - std::string app_; - std::string encryptParameters_; - int audioChannelNum_; - int profile_; - int fPS_; - long ownerId_; - int audioRate_; - int audioBitrate_; - std::string domain_; - int width_; - int videoBitrate_; - std::string kmsKeyID_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCUSTOMLIVESTREAMTRANSCODEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDCUSTOMLIVESTREAMTRANSCODEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDCUSTOMLIVESTREAMTRANSCODEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddCustomLiveStreamTranscodeRequest : public RpcServiceRequest { +public: + AddCustomLiveStreamTranscodeRequest(); + ~AddCustomLiveStreamTranscodeRequest(); + std::string get_Template() const; + void set_Template(const std::string &_template); + std::string getLazy() const; + void setLazy(const std::string &lazy); + std::string getGop() const; + void setGop(const std::string &gop); + std::string getKmsKeyExpireInterval() const; + void setKmsKeyExpireInterval(const std::string &kmsKeyExpireInterval); + std::string getAudioCodec() const; + void setAudioCodec(const std::string &audioCodec); + std::string getKmsUID() const; + void setKmsUID(const std::string &kmsUID); + std::string getTemplateType() const; + void setTemplateType(const std::string &templateType); + std::string getAudioProfile() const; + void setAudioProfile(const std::string &audioProfile); + int getHeight() const; + void setHeight(int height); + std::string getApp() const; + void setApp(const std::string &app); + std::string getEncryptParameters() const; + void setEncryptParameters(const std::string &encryptParameters); + int getAudioChannelNum() const; + void setAudioChannelNum(int audioChannelNum); + int getProfile() const; + void setProfile(int profile); + int getFPS() const; + void setFPS(int fPS); + long getOwnerId() const; + void setOwnerId(long ownerId); + int getAudioRate() const; + void setAudioRate(int audioRate); + int getAudioBitrate() const; + void setAudioBitrate(int audioBitrate); + std::string getDomain() const; + void setDomain(const std::string &domain); + int getWidth() const; + void setWidth(int width); + int getVideoBitrate() const; + void setVideoBitrate(int videoBitrate); + std::string getKmsKeyID() const; + void setKmsKeyID(const std::string &kmsKeyID); + +private: + std::string _template_; + std::string lazy_; + std::string gop_; + std::string kmsKeyExpireInterval_; + std::string audioCodec_; + std::string kmsUID_; + std::string templateType_; + std::string audioProfile_; + int height_; + std::string app_; + std::string encryptParameters_; + int audioChannelNum_; + int profile_; + int fPS_; + long ownerId_; + int audioRate_; + int audioBitrate_; + std::string domain_; + int width_; + int videoBitrate_; + std::string kmsKeyID_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCUSTOMLIVESTREAMTRANSCODEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddLiveAppRecordConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveAppRecordConfigRequest.h index 2dfbe8d9f..861965736 100644 --- a/live/include/alibabacloud/live/model/AddLiveAppRecordConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveAppRecordConfigRequest.h @@ -1,101 +1,92 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPRECORDCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPRECORDCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddLiveAppRecordConfigRequest : public RpcServiceRequest - { - public: - struct TranscodeRecordFormat - { - std::string sliceOssObjectPrefix; - int sliceDuration; - std::string format; - std::string ossObjectPrefix; - int cycleDuration; - }; - struct RecordFormat - { - std::string sliceOssObjectPrefix; - int sliceDuration; - std::string format; - std::string ossObjectPrefix; - int cycleDuration; - }; - - public: - AddLiveAppRecordConfigRequest(); - ~AddLiveAppRecordConfigRequest(); - - std::string getOssEndpoint()const; - void setOssEndpoint(const std::string& ossEndpoint); - std::vector getTranscodeTemplates()const; - void setTranscodeTemplates(const std::vector& transcodeTemplates); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::vector getTranscodeRecordFormat()const; - void setTranscodeRecordFormat(const std::vector& transcodeRecordFormat); - int getOnDemand()const; - void setOnDemand(int onDemand); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getOssBucket()const; - void setOssBucket(const std::string& ossBucket); - 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); - std::vector getRecordFormat()const; - void setRecordFormat(const std::vector& recordFormat); - - private: - std::string ossEndpoint_; - std::vector transcodeTemplates_; - std::string startTime_; - std::string appName_; - std::string securityToken_; - std::vector transcodeRecordFormat_; - int onDemand_; - std::string streamName_; - std::string ossBucket_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::vector recordFormat_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPRECORDCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPRECORDCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPRECORDCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddLiveAppRecordConfigRequest : public RpcServiceRequest { +public: + struct TranscodeRecordFormat { + std::string sliceOssObjectPrefix; + int sliceDuration; + std::string ossObjectPrefix; + std::string format; + int cycleDuration; + }; + struct RecordFormat { + std::string sliceOssObjectPrefix; + int sliceDuration; + std::string ossObjectPrefix; + std::string format; + int cycleDuration; + }; + AddLiveAppRecordConfigRequest(); + ~AddLiveAppRecordConfigRequest(); + std::string getOssEndpoint() const; + void setOssEndpoint(const std::string &ossEndpoint); + std::vector getTranscodeTemplates() const; + void setTranscodeTemplates(const std::vector &transcodeTemplates); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::vector getTranscodeRecordFormat() const; + void setTranscodeRecordFormat(const std::vector &transcodeRecordFormat); + int getOnDemand() const; + void setOnDemand(int onDemand); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getOssBucket() const; + void setOssBucket(const std::string &ossBucket); + 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); + std::vector getRecordFormat() const; + void setRecordFormat(const std::vector &recordFormat); + +private: + std::string ossEndpoint_; + std::vector transcodeTemplates_; + std::string startTime_; + std::string appName_; + std::string securityToken_; + std::vector transcodeRecordFormat_; + int onDemand_; + std::string streamName_; + std::string ossBucket_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::vector recordFormat_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPRECORDCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddLiveAppSnapshotConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveAppSnapshotConfigRequest.h index bf25995e8..81f4a134b 100644 --- a/live/include/alibabacloud/live/model/AddLiveAppSnapshotConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveAppSnapshotConfigRequest.h @@ -1,75 +1,69 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPSNAPSHOTCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPSNAPSHOTCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddLiveAppSnapshotConfigRequest : public RpcServiceRequest - { - - public: - AddLiveAppSnapshotConfigRequest(); - ~AddLiveAppSnapshotConfigRequest(); - - int getTimeInterval()const; - void setTimeInterval(int timeInterval); - std::string getOssEndpoint()const; - void setOssEndpoint(const std::string& ossEndpoint); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getOverwriteOssObject()const; - void setOverwriteOssObject(const std::string& overwriteOssObject); - std::string getOssBucket()const; - void setOssBucket(const std::string& ossBucket); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getSequenceOssObject()const; - void setSequenceOssObject(const std::string& sequenceOssObject); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getCallback()const; - void setCallback(const std::string& callback); - - private: - int timeInterval_; - std::string ossEndpoint_; - std::string appName_; - std::string securityToken_; - std::string overwriteOssObject_; - std::string ossBucket_; - std::string domainName_; - std::string sequenceOssObject_; - long ownerId_; - std::string callback_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPSNAPSHOTCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPSNAPSHOTCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPSNAPSHOTCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddLiveAppSnapshotConfigRequest : public RpcServiceRequest { +public: + AddLiveAppSnapshotConfigRequest(); + ~AddLiveAppSnapshotConfigRequest(); + int getTimeInterval() const; + void setTimeInterval(int timeInterval); + std::string getOssEndpoint() const; + void setOssEndpoint(const std::string &ossEndpoint); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getOverwriteOssObject() const; + void setOverwriteOssObject(const std::string &overwriteOssObject); + std::string getOssBucket() const; + void setOssBucket(const std::string &ossBucket); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getSequenceOssObject() const; + void setSequenceOssObject(const std::string &sequenceOssObject); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getCallback() const; + void setCallback(const std::string &callback); + +private: + int timeInterval_; + std::string ossEndpoint_; + std::string appName_; + std::string securityToken_; + std::string overwriteOssObject_; + std::string ossBucket_; + std::string domainName_; + std::string sequenceOssObject_; + long ownerId_; + std::string callback_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPSNAPSHOTCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddLiveAudioAuditConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveAudioAuditConfigRequest.h index f42ae9c3e..f98911caa 100644 --- a/live/include/alibabacloud/live/model/AddLiveAudioAuditConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveAudioAuditConfigRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEAUDIOAUDITCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEAUDIOAUDITCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddLiveAudioAuditConfigRequest : public RpcServiceRequest - { - - public: - AddLiveAudioAuditConfigRequest(); - ~AddLiveAudioAuditConfigRequest(); - - std::string getOssEndpoint()const; - void setOssEndpoint(const std::string& ossEndpoint); - std::string getOssObject()const; - void setOssObject(const std::string& ossObject); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getOssBucket()const; - void setOssBucket(const std::string& ossBucket); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getBizType()const; - void setBizType(const std::string& bizType); - - private: - std::string ossEndpoint_; - std::string ossObject_; - std::string appName_; - std::string streamName_; - std::string ossBucket_; - std::string domainName_; - long ownerId_; - std::string bizType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEAUDIOAUDITCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEAUDIOAUDITCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEAUDIOAUDITCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddLiveAudioAuditConfigRequest : public RpcServiceRequest { +public: + AddLiveAudioAuditConfigRequest(); + ~AddLiveAudioAuditConfigRequest(); + std::string getOssEndpoint() const; + void setOssEndpoint(const std::string &ossEndpoint); + std::string getOssObject() const; + void setOssObject(const std::string &ossObject); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getOssBucket() const; + void setOssBucket(const std::string &ossBucket); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getBizType() const; + void setBizType(const std::string &bizType); + +private: + std::string ossEndpoint_; + std::string ossObject_; + std::string appName_; + std::string streamName_; + std::string ossBucket_; + std::string domainName_; + long ownerId_; + std::string bizType_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEAUDIOAUDITCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddLiveAudioAuditNotifyConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveAudioAuditNotifyConfigRequest.h index f1ce80abe..ac75adb0b 100644 --- a/live/include/alibabacloud/live/model/AddLiveAudioAuditNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveAudioAuditNotifyConfigRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddLiveAudioAuditNotifyConfigRequest : public RpcServiceRequest - { - - public: - AddLiveAudioAuditNotifyConfigRequest(); - ~AddLiveAudioAuditNotifyConfigRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getCallbackTemplate()const; - void setCallbackTemplate(const std::string& callbackTemplate); - std::string getCallback()const; - void setCallback(const std::string& callback); - - private: - std::string domainName_; - long ownerId_; - std::string callbackTemplate_; - std::string callback_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddLiveAudioAuditNotifyConfigRequest : public RpcServiceRequest { +public: + AddLiveAudioAuditNotifyConfigRequest(); + ~AddLiveAudioAuditNotifyConfigRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getCallbackTemplate() const; + void setCallbackTemplate(const std::string &callbackTemplate); + std::string getCallback() const; + void setCallback(const std::string &callback); + +private: + std::string domainName_; + long ownerId_; + std::string callbackTemplate_; + std::string callback_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddLiveDetectNotifyConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveDetectNotifyConfigRequest.h index 71c6e0537..d4635abdf 100644 --- a/live/include/alibabacloud/live/model/AddLiveDetectNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveDetectNotifyConfigRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEDETECTNOTIFYCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDETECTNOTIFYCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddLiveDetectNotifyConfigRequest : public RpcServiceRequest - { - - public: - AddLiveDetectNotifyConfigRequest(); - ~AddLiveDetectNotifyConfigRequest(); - - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getNotifyUrl()const; - void setNotifyUrl(const std::string& notifyUrl); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string securityToken_; - std::string notifyUrl_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEDETECTNOTIFYCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEDETECTNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDETECTNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddLiveDetectNotifyConfigRequest : public RpcServiceRequest { +public: + AddLiveDetectNotifyConfigRequest(); + ~AddLiveDetectNotifyConfigRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getNotifyUrl() const; + void setNotifyUrl(const std::string ¬ifyUrl); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string securityToken_; + std::string notifyUrl_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEDETECTNOTIFYCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddLiveDomainMappingRequest.h b/live/include/alibabacloud/live/model/AddLiveDomainMappingRequest.h index 8744cd740..80f35c684 100644 --- a/live/include/alibabacloud/live/model/AddLiveDomainMappingRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveDomainMappingRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddLiveDomainMappingRequest : public RpcServiceRequest - { - - public: - AddLiveDomainMappingRequest(); - ~AddLiveDomainMappingRequest(); - - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getPushDomain()const; - void setPushDomain(const std::string& pushDomain); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getPullDomain()const; - void setPullDomain(const std::string& pullDomain); - - private: - std::string securityToken_; - std::string pushDomain_; - long ownerId_; - std::string pullDomain_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddLiveDomainMappingRequest : public RpcServiceRequest { +public: + AddLiveDomainMappingRequest(); + ~AddLiveDomainMappingRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getPushDomain() const; + void setPushDomain(const std::string &pushDomain); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getPullDomain() const; + void setPullDomain(const std::string &pullDomain); + +private: + std::string securityToken_; + std::string pushDomain_; + long ownerId_; + std::string pullDomain_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddLiveDomainPlayMappingRequest.h b/live/include/alibabacloud/live/model/AddLiveDomainPlayMappingRequest.h index d276dd57f..27b51bdb7 100644 --- a/live/include/alibabacloud/live/model/AddLiveDomainPlayMappingRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveDomainPlayMappingRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINPLAYMAPPINGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINPLAYMAPPINGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddLiveDomainPlayMappingRequest : public RpcServiceRequest - { - - public: - AddLiveDomainPlayMappingRequest(); - ~AddLiveDomainPlayMappingRequest(); - - std::string getPlayDomain()const; - void setPlayDomain(const std::string& playDomain); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getPullDomain()const; - void setPullDomain(const std::string& pullDomain); - - private: - std::string playDomain_; - long ownerId_; - std::string pullDomain_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINPLAYMAPPINGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINPLAYMAPPINGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINPLAYMAPPINGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddLiveDomainPlayMappingRequest : public RpcServiceRequest { +public: + AddLiveDomainPlayMappingRequest(); + ~AddLiveDomainPlayMappingRequest(); + std::string getPlayDomain() const; + void setPlayDomain(const std::string &playDomain); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getPullDomain() const; + void setPullDomain(const std::string &pullDomain); + +private: + std::string playDomain_; + long ownerId_; + std::string pullDomain_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINPLAYMAPPINGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddLiveDomainRequest.h b/live/include/alibabacloud/live/model/AddLiveDomainRequest.h index c03afa3cc..f26a1063f 100644 --- a/live/include/alibabacloud/live/model/AddLiveDomainRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveDomainRequest.h @@ -1,72 +1,66 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddLiveDomainRequest : public RpcServiceRequest - { - - public: - AddLiveDomainRequest(); - ~AddLiveDomainRequest(); - - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getScope()const; - void setScope(const std::string& scope); - std::string getTopLevelDomain()const; - void setTopLevelDomain(const std::string& topLevelDomain); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getRegion()const; - void setRegion(const std::string& region); - std::string getCheckUrl()const; - void setCheckUrl(const std::string& checkUrl); - std::string getLiveDomainType()const; - void setLiveDomainType(const std::string& liveDomainType); - - private: - std::string securityToken_; - std::string scope_; - std::string topLevelDomain_; - std::string ownerAccount_; - std::string domainName_; - long ownerId_; - std::string region_; - std::string checkUrl_; - std::string liveDomainType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddLiveDomainRequest : public RpcServiceRequest { +public: + AddLiveDomainRequest(); + ~AddLiveDomainRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getScope() const; + void setScope(const std::string &scope); + std::string getTopLevelDomain() const; + void setTopLevelDomain(const std::string &topLevelDomain); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getRegion() const; + void setRegion(const std::string ®ion); + std::string getCheckUrl() const; + void setCheckUrl(const std::string &checkUrl); + std::string getLiveDomainType() const; + void setLiveDomainType(const std::string &liveDomainType); + +private: + std::string securityToken_; + std::string scope_; + std::string topLevelDomain_; + std::string ownerAccount_; + std::string domainName_; + long ownerId_; + std::string region_; + std::string checkUrl_; + std::string liveDomainType_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddLivePullStreamInfoConfigRequest.h b/live/include/alibabacloud/live/model/AddLivePullStreamInfoConfigRequest.h index 9a9ba2e8c..5472668b2 100644 --- a/live/include/alibabacloud/live/model/AddLivePullStreamInfoConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLivePullStreamInfoConfigRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEPULLSTREAMINFOCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEPULLSTREAMINFOCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddLivePullStreamInfoConfigRequest : public RpcServiceRequest - { - - public: - AddLivePullStreamInfoConfigRequest(); - ~AddLivePullStreamInfoConfigRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getPullAlways()const; - void setPullAlways(const std::string& pullAlways); - 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); - std::string getSourceUrl()const; - void setSourceUrl(const std::string& sourceUrl); - - private: - std::string startTime_; - std::string appName_; - std::string streamName_; - std::string pullAlways_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string sourceUrl_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEPULLSTREAMINFOCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEPULLSTREAMINFOCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEPULLSTREAMINFOCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddLivePullStreamInfoConfigRequest : public RpcServiceRequest { +public: + AddLivePullStreamInfoConfigRequest(); + ~AddLivePullStreamInfoConfigRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getPullAlways() const; + void setPullAlways(const std::string &pullAlways); + 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); + std::string getSourceUrl() const; + void setSourceUrl(const std::string &sourceUrl); + +private: + std::string startTime_; + std::string appName_; + std::string streamName_; + std::string pullAlways_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string sourceUrl_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEPULLSTREAMINFOCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddLiveRecordNotifyConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveRecordNotifyConfigRequest.h index e92be63e7..c5a7a74b8 100644 --- a/live/include/alibabacloud/live/model/AddLiveRecordNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveRecordNotifyConfigRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDNOTIFYCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDNOTIFYCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddLiveRecordNotifyConfigRequest : public RpcServiceRequest - { - - public: - AddLiveRecordNotifyConfigRequest(); - ~AddLiveRecordNotifyConfigRequest(); - - std::string getOnDemandUrl()const; - void setOnDemandUrl(const std::string& onDemandUrl); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getNotifyUrl()const; - void setNotifyUrl(const std::string& notifyUrl); - bool getNeedStatusNotify()const; - void setNeedStatusNotify(bool needStatusNotify); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string onDemandUrl_; - std::string securityToken_; - std::string notifyUrl_; - bool needStatusNotify_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDNOTIFYCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddLiveRecordNotifyConfigRequest : public RpcServiceRequest { +public: + AddLiveRecordNotifyConfigRequest(); + ~AddLiveRecordNotifyConfigRequest(); + std::string getOnDemandUrl() const; + void setOnDemandUrl(const std::string &onDemandUrl); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getNotifyUrl() const; + void setNotifyUrl(const std::string ¬ifyUrl); + bool getNeedStatusNotify() const; + void setNeedStatusNotify(bool needStatusNotify); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string onDemandUrl_; + std::string securityToken_; + std::string notifyUrl_; + bool needStatusNotify_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDNOTIFYCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddLiveRecordVodConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveRecordVodConfigRequest.h index ba39de67d..9748b57af 100644 --- a/live/include/alibabacloud/live/model/AddLiveRecordVodConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveRecordVodConfigRequest.h @@ -1,72 +1,66 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDVODCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDVODCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddLiveRecordVodConfigRequest : public RpcServiceRequest - { - - public: - AddLiveRecordVodConfigRequest(); - ~AddLiveRecordVodConfigRequest(); - - std::string getAutoCompose()const; - void setAutoCompose(const std::string& autoCompose); - std::string getComposeVodTranscodeGroupId()const; - void setComposeVodTranscodeGroupId(const std::string& composeVodTranscodeGroupId); - std::string getStorageLocation()const; - void setStorageLocation(const std::string& storageLocation); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getVodTranscodeGroupId()const; - void setVodTranscodeGroupId(const std::string& vodTranscodeGroupId); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - int getCycleDuration()const; - void setCycleDuration(int cycleDuration); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string autoCompose_; - std::string composeVodTranscodeGroupId_; - std::string storageLocation_; - std::string appName_; - std::string streamName_; - std::string vodTranscodeGroupId_; - std::string domainName_; - int cycleDuration_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDVODCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDVODCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDVODCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddLiveRecordVodConfigRequest : public RpcServiceRequest { +public: + AddLiveRecordVodConfigRequest(); + ~AddLiveRecordVodConfigRequest(); + std::string getAutoCompose() const; + void setAutoCompose(const std::string &autoCompose); + std::string getComposeVodTranscodeGroupId() const; + void setComposeVodTranscodeGroupId(const std::string &composeVodTranscodeGroupId); + std::string getStorageLocation() const; + void setStorageLocation(const std::string &storageLocation); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getVodTranscodeGroupId() const; + void setVodTranscodeGroupId(const std::string &vodTranscodeGroupId); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + int getCycleDuration() const; + void setCycleDuration(int cycleDuration); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string autoCompose_; + std::string composeVodTranscodeGroupId_; + std::string storageLocation_; + std::string appName_; + std::string streamName_; + std::string vodTranscodeGroupId_; + std::string domainName_; + int cycleDuration_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDVODCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddLiveSnapshotDetectPornConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveSnapshotDetectPornConfigRequest.h index 3dc915413..590e24d33 100644 --- a/live/include/alibabacloud/live/model/AddLiveSnapshotDetectPornConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveSnapshotDetectPornConfigRequest.h @@ -1,72 +1,66 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDLIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddLiveSnapshotDetectPornConfigRequest : public RpcServiceRequest - { - - public: - AddLiveSnapshotDetectPornConfigRequest(); - ~AddLiveSnapshotDetectPornConfigRequest(); - - std::string getOssEndpoint()const; - void setOssEndpoint(const std::string& ossEndpoint); - std::string getOssObject()const; - void setOssObject(const std::string& ossObject); - std::vector getScene()const; - void setScene(const std::vector& scene); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getOssBucket()const; - void setOssBucket(const std::string& ossBucket); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - int getInterval()const; - void setInterval(int interval); - - private: - std::string ossEndpoint_; - std::string ossObject_; - std::vector scene_; - std::string appName_; - std::string securityToken_; - std::string ossBucket_; - std::string domainName_; - long ownerId_; - int interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddLiveSnapshotDetectPornConfigRequest : public RpcServiceRequest { +public: + AddLiveSnapshotDetectPornConfigRequest(); + ~AddLiveSnapshotDetectPornConfigRequest(); + std::string getOssEndpoint() const; + void setOssEndpoint(const std::string &ossEndpoint); + std::string getOssObject() const; + void setOssObject(const std::string &ossObject); + std::vector getScene() const; + void setScene(const std::vector &scene); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getOssBucket() const; + void setOssBucket(const std::string &ossBucket); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + int getInterval() const; + void setInterval(int interval); + +private: + std::string ossEndpoint_; + std::string ossObject_; + std::vector scene_; + std::string appName_; + std::string securityToken_; + std::string ossBucket_; + std::string domainName_; + long ownerId_; + int interval_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddLiveStreamTranscodeRequest.h b/live/include/alibabacloud/live/model/AddLiveStreamTranscodeRequest.h index 9434ceebd..2ab1fa492 100644 --- a/live/include/alibabacloud/live/model/AddLiveStreamTranscodeRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveStreamTranscodeRequest.h @@ -1,75 +1,69 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMTRANSCODEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMTRANSCODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddLiveStreamTranscodeRequest : public RpcServiceRequest - { - - public: - AddLiveStreamTranscodeRequest(); - ~AddLiveStreamTranscodeRequest(); - - std::string get_Template()const; - void set_Template(const std::string& _template); - std::string getLazy()const; - void setLazy(const std::string& lazy); - std::string getMix()const; - void setMix(const std::string& mix); - std::string getApp()const; - void setApp(const std::string& app); - std::string getEncryptParameters()const; - void setEncryptParameters(const std::string& encryptParameters); - std::string getWatermark()const; - void setWatermark(const std::string& watermark); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getDomain()const; - void setDomain(const std::string& domain); - std::string getWaterPattern()const; - void setWaterPattern(const std::string& waterPattern); - std::string getOnlyAudio()const; - void setOnlyAudio(const std::string& onlyAudio); - - private: - std::string _template_; - std::string lazy_; - std::string mix_; - std::string app_; - std::string encryptParameters_; - std::string watermark_; - long ownerId_; - std::string domain_; - std::string waterPattern_; - std::string onlyAudio_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMTRANSCODEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMTRANSCODEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMTRANSCODEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddLiveStreamTranscodeRequest : public RpcServiceRequest { +public: + AddLiveStreamTranscodeRequest(); + ~AddLiveStreamTranscodeRequest(); + std::string get_Template() const; + void set_Template(const std::string &_template); + std::string getLazy() const; + void setLazy(const std::string &lazy); + std::string getMix() const; + void setMix(const std::string &mix); + std::string getApp() const; + void setApp(const std::string &app); + std::string getEncryptParameters() const; + void setEncryptParameters(const std::string &encryptParameters); + std::string getWatermark() const; + void setWatermark(const std::string &watermark); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getDomain() const; + void setDomain(const std::string &domain); + std::string getWaterPattern() const; + void setWaterPattern(const std::string &waterPattern); + std::string getOnlyAudio() const; + void setOnlyAudio(const std::string &onlyAudio); + +private: + std::string _template_; + std::string lazy_; + std::string mix_; + std::string app_; + std::string encryptParameters_; + std::string watermark_; + long ownerId_; + std::string domain_; + std::string waterPattern_; + std::string onlyAudio_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMTRANSCODEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddLiveStreamWatermarkRequest.h b/live/include/alibabacloud/live/model/AddLiveStreamWatermarkRequest.h index 44d0d1380..6868f386c 100644 --- a/live/include/alibabacloud/live/model/AddLiveStreamWatermarkRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveStreamWatermarkRequest.h @@ -1,81 +1,75 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMWATERMARKREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMWATERMARKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddLiveStreamWatermarkRequest : public RpcServiceRequest - { - - public: - AddLiveStreamWatermarkRequest(); - ~AddLiveStreamWatermarkRequest(); - - float getYOffset()const; - void setYOffset(float yOffset); - std::string getPictureUrl()const; - void setPictureUrl(const std::string& pictureUrl); - std::string getDescription()const; - void setDescription(const std::string& description); - int getType()const; - void setType(int type); - int getHeight()const; - void setHeight(int height); - float getXOffset()const; - void setXOffset(float xOffset); - long getOwnerId()const; - void setOwnerId(long ownerId); - int getRefWidth()const; - void setRefWidth(int refWidth); - int getTransparency()const; - void setTransparency(int transparency); - std::string getName()const; - void setName(const std::string& name); - std::string getOffsetCorner()const; - void setOffsetCorner(const std::string& offsetCorner); - int getRefHeight()const; - void setRefHeight(int refHeight); - - private: - float yOffset_; - std::string pictureUrl_; - std::string description_; - int type_; - int height_; - float xOffset_; - long ownerId_; - int refWidth_; - int transparency_; - std::string name_; - std::string offsetCorner_; - int refHeight_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMWATERMARKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMWATERMARKREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMWATERMARKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddLiveStreamWatermarkRequest : public RpcServiceRequest { +public: + AddLiveStreamWatermarkRequest(); + ~AddLiveStreamWatermarkRequest(); + float getYOffset() const; + void setYOffset(float yOffset); + std::string getPictureUrl() const; + void setPictureUrl(const std::string &pictureUrl); + std::string getDescription() const; + void setDescription(const std::string &description); + int getType() const; + void setType(int type); + int getHeight() const; + void setHeight(int height); + float getXOffset() const; + void setXOffset(float xOffset); + long getOwnerId() const; + void setOwnerId(long ownerId); + int getRefWidth() const; + void setRefWidth(int refWidth); + int getTransparency() const; + void setTransparency(int transparency); + std::string getName() const; + void setName(const std::string &name); + std::string getOffsetCorner() const; + void setOffsetCorner(const std::string &offsetCorner); + int getRefHeight() const; + void setRefHeight(int refHeight); + +private: + float yOffset_; + std::string pictureUrl_; + std::string description_; + int type_; + int height_; + float xOffset_; + long ownerId_; + int refWidth_; + int transparency_; + std::string name_; + std::string offsetCorner_; + int refHeight_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMWATERMARKREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddLiveStreamWatermarkRuleRequest.h b/live/include/alibabacloud/live/model/AddLiveStreamWatermarkRuleRequest.h index 60de7740b..a5206481e 100644 --- a/live/include/alibabacloud/live/model/AddLiveStreamWatermarkRuleRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveStreamWatermarkRuleRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMWATERMARKRULEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMWATERMARKRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddLiveStreamWatermarkRuleRequest : public RpcServiceRequest - { - - public: - AddLiveStreamWatermarkRuleRequest(); - ~AddLiveStreamWatermarkRuleRequest(); - - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getStream()const; - void setStream(const std::string& stream); - std::string getApp()const; - void setApp(const std::string& app); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getTemplateId()const; - void setTemplateId(const std::string& templateId); - std::string getDomain()const; - void setDomain(const std::string& domain); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string description_; - std::string stream_; - std::string app_; - long ownerId_; - std::string templateId_; - std::string domain_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMWATERMARKRULEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMWATERMARKRULEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMWATERMARKRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddLiveStreamWatermarkRuleRequest : public RpcServiceRequest { +public: + AddLiveStreamWatermarkRuleRequest(); + ~AddLiveStreamWatermarkRuleRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getStream() const; + void setStream(const std::string &stream); + std::string getApp() const; + void setApp(const std::string &app); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getTemplateId() const; + void setTemplateId(const std::string &templateId); + std::string getDomain() const; + void setDomain(const std::string &domain); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string description_; + std::string stream_; + std::string app_; + long ownerId_; + std::string templateId_; + std::string domain_; + std::string name_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMWATERMARKRULEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddMultiRateConfigRequest.h b/live/include/alibabacloud/live/model/AddMultiRateConfigRequest.h index 61c90a00d..4ac4f58b4 100644 --- a/live/include/alibabacloud/live/model/AddMultiRateConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddMultiRateConfigRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDMULTIRATECONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDMULTIRATECONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddMultiRateConfigRequest : public RpcServiceRequest - { - - public: - AddMultiRateConfigRequest(); - ~AddMultiRateConfigRequest(); - - std::string getApp()const; - void setApp(const std::string& app); - std::string getGroupId()const; - void setGroupId(const std::string& groupId); - std::string getTemplates()const; - void setTemplates(const std::string& templates); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getIsLazy()const; - void setIsLazy(const std::string& isLazy); - std::string getAvFormat()const; - void setAvFormat(const std::string& avFormat); - std::string getIsTimeAlign()const; - void setIsTimeAlign(const std::string& isTimeAlign); - - private: - std::string app_; - std::string groupId_; - std::string templates_; - std::string domainName_; - long ownerId_; - std::string isLazy_; - std::string avFormat_; - std::string isTimeAlign_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDMULTIRATECONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDMULTIRATECONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDMULTIRATECONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddMultiRateConfigRequest : public RpcServiceRequest { +public: + AddMultiRateConfigRequest(); + ~AddMultiRateConfigRequest(); + std::string getApp() const; + void setApp(const std::string &app); + std::string getGroupId() const; + void setGroupId(const std::string &groupId); + std::string getTemplates() const; + void setTemplates(const std::string &templates); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getIsLazy() const; + void setIsLazy(const std::string &isLazy); + std::string getAvFormat() const; + void setAvFormat(const std::string &avFormat); + std::string getIsTimeAlign() const; + void setIsTimeAlign(const std::string &isTimeAlign); + +private: + std::string app_; + std::string groupId_; + std::string templates_; + std::string domainName_; + long ownerId_; + std::string isLazy_; + std::string avFormat_; + std::string isTimeAlign_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDMULTIRATECONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddMultiRateConfigResult.h b/live/include/alibabacloud/live/model/AddMultiRateConfigResult.h index 32eff7616..733daee63 100644 --- a/live/include/alibabacloud/live/model/AddMultiRateConfigResult.h +++ b/live/include/alibabacloud/live/model/AddMultiRateConfigResult.h @@ -45,8 +45,8 @@ namespace AlibabaCloud int height; int audioChannelNum; int width; - std::string audioCodec; int audioRate; + std::string audioCodec; int videoBitrate; }; diff --git a/live/include/alibabacloud/live/model/AddPlaylistItemsRequest.h b/live/include/alibabacloud/live/model/AddPlaylistItemsRequest.h index cceed45e3..8c9adbab6 100644 --- a/live/include/alibabacloud/live/model/AddPlaylistItemsRequest.h +++ b/live/include/alibabacloud/live/model/AddPlaylistItemsRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDPLAYLISTITEMSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDPLAYLISTITEMSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddPlaylistItemsRequest : public RpcServiceRequest - { - - public: - AddPlaylistItemsRequest(); - ~AddPlaylistItemsRequest(); - - std::string getProgramItems()const; - void setProgramItems(const std::string& programItems); - std::string getProgramId()const; - void setProgramId(const std::string& programId); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getProgramConfig()const; - void setProgramConfig(const std::string& programConfig); - - private: - std::string programItems_; - std::string programId_; - std::string casterId_; - long ownerId_; - std::string programConfig_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDPLAYLISTITEMSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDPLAYLISTITEMSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDPLAYLISTITEMSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddPlaylistItemsRequest : public RpcServiceRequest { +public: + AddPlaylistItemsRequest(); + ~AddPlaylistItemsRequest(); + std::string getProgramItems() const; + void setProgramItems(const std::string &programItems); + std::string getProgramId() const; + void setProgramId(const std::string &programId); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getProgramConfig() const; + void setProgramConfig(const std::string &programConfig); + +private: + std::string programItems_; + std::string programId_; + std::string casterId_; + long ownerId_; + std::string programConfig_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDPLAYLISTITEMSREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddRtsLiveStreamTranscodeRequest.h b/live/include/alibabacloud/live/model/AddRtsLiveStreamTranscodeRequest.h index f515a1f53..1e83aef66 100644 --- a/live/include/alibabacloud/live/model/AddRtsLiveStreamTranscodeRequest.h +++ b/live/include/alibabacloud/live/model/AddRtsLiveStreamTranscodeRequest.h @@ -1,102 +1,96 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDRTSLIVESTREAMTRANSCODEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDRTSLIVESTREAMTRANSCODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddRtsLiveStreamTranscodeRequest : public RpcServiceRequest - { - - public: - AddRtsLiveStreamTranscodeRequest(); - ~AddRtsLiveStreamTranscodeRequest(); - - std::string get_Template()const; - void set_Template(const std::string& _template); - bool getDeleteBframes()const; - void setDeleteBframes(bool deleteBframes); - std::string getLazy()const; - void setLazy(const std::string& lazy); - std::string getGop()const; - void setGop(const std::string& gop); - bool getOpus()const; - void setOpus(bool opus); - std::string getAudioCodec()const; - void setAudioCodec(const std::string& audioCodec); - std::string getTemplateType()const; - void setTemplateType(const std::string& templateType); - std::string getAudioProfile()const; - void setAudioProfile(const std::string& audioProfile); - int getHeight()const; - void setHeight(int height); - std::string getApp()const; - void setApp(const std::string& app); - int getAudioChannelNum()const; - void setAudioChannelNum(int audioChannelNum); - int getProfile()const; - void setProfile(int profile); - int getFPS()const; - void setFPS(int fPS); - long getOwnerId()const; - void setOwnerId(long ownerId); - int getAudioRate()const; - void setAudioRate(int audioRate); - int getAudioBitrate()const; - void setAudioBitrate(int audioBitrate); - std::string getDomain()const; - void setDomain(const std::string& domain); - int getWidth()const; - void setWidth(int width); - int getVideoBitrate()const; - void setVideoBitrate(int videoBitrate); - - private: - std::string _template_; - bool deleteBframes_; - std::string lazy_; - std::string gop_; - bool opus_; - std::string audioCodec_; - std::string templateType_; - std::string audioProfile_; - int height_; - std::string app_; - int audioChannelNum_; - int profile_; - int fPS_; - long ownerId_; - int audioRate_; - int audioBitrate_; - std::string domain_; - int width_; - int videoBitrate_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDRTSLIVESTREAMTRANSCODEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDRTSLIVESTREAMTRANSCODEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDRTSLIVESTREAMTRANSCODEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddRtsLiveStreamTranscodeRequest : public RpcServiceRequest { +public: + AddRtsLiveStreamTranscodeRequest(); + ~AddRtsLiveStreamTranscodeRequest(); + std::string get_Template() const; + void set_Template(const std::string &_template); + bool getDeleteBframes() const; + void setDeleteBframes(bool deleteBframes); + std::string getLazy() const; + void setLazy(const std::string &lazy); + std::string getGop() const; + void setGop(const std::string &gop); + bool getOpus() const; + void setOpus(bool opus); + std::string getAudioCodec() const; + void setAudioCodec(const std::string &audioCodec); + std::string getTemplateType() const; + void setTemplateType(const std::string &templateType); + std::string getAudioProfile() const; + void setAudioProfile(const std::string &audioProfile); + int getHeight() const; + void setHeight(int height); + std::string getApp() const; + void setApp(const std::string &app); + int getAudioChannelNum() const; + void setAudioChannelNum(int audioChannelNum); + int getProfile() const; + void setProfile(int profile); + int getFPS() const; + void setFPS(int fPS); + long getOwnerId() const; + void setOwnerId(long ownerId); + int getAudioRate() const; + void setAudioRate(int audioRate); + int getAudioBitrate() const; + void setAudioBitrate(int audioBitrate); + std::string getDomain() const; + void setDomain(const std::string &domain); + int getWidth() const; + void setWidth(int width); + int getVideoBitrate() const; + void setVideoBitrate(int videoBitrate); + +private: + std::string _template_; + bool deleteBframes_; + std::string lazy_; + std::string gop_; + bool opus_; + std::string audioCodec_; + std::string templateType_; + std::string audioProfile_; + int height_; + std::string app_; + int audioChannelNum_; + int profile_; + int fPS_; + long ownerId_; + int audioRate_; + int audioBitrate_; + std::string domain_; + int width_; + int videoBitrate_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDRTSLIVESTREAMTRANSCODEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddShowIntoShowListRequest.h b/live/include/alibabacloud/live/model/AddShowIntoShowListRequest.h index 7f56ad877..9acbc2601 100644 --- a/live/include/alibabacloud/live/model/AddShowIntoShowListRequest.h +++ b/live/include/alibabacloud/live/model/AddShowIntoShowListRequest.h @@ -1,75 +1,69 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDSHOWINTOSHOWLISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDSHOWINTOSHOWLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddShowIntoShowListRequest : public RpcServiceRequest - { - - public: - AddShowIntoShowListRequest(); - ~AddShowIntoShowListRequest(); - - int getLiveInputType()const; - void setLiveInputType(int liveInputType); - long getDuration()const; - void setDuration(long duration); - int getRepeatTimes()const; - void setRepeatTimes(int repeatTimes); - std::string getShowName()const; - void setShowName(const std::string& showName); - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getResourceType()const; - void setResourceType(const std::string& resourceType); - std::string getResourceUrl()const; - void setResourceUrl(const std::string& resourceUrl); - int getSpot()const; - void setSpot(int spot); - - private: - int liveInputType_; - long duration_; - int repeatTimes_; - std::string showName_; - std::string resourceId_; - std::string casterId_; - long ownerId_; - std::string resourceType_; - std::string resourceUrl_; - int spot_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDSHOWINTOSHOWLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDSHOWINTOSHOWLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDSHOWINTOSHOWLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddShowIntoShowListRequest : public RpcServiceRequest { +public: + AddShowIntoShowListRequest(); + ~AddShowIntoShowListRequest(); + int getLiveInputType() const; + void setLiveInputType(int liveInputType); + long getDuration() const; + void setDuration(long duration); + int getRepeatTimes() const; + void setRepeatTimes(int repeatTimes); + std::string getShowName() const; + void setShowName(const std::string &showName); + std::string getResourceId() const; + void setResourceId(const std::string &resourceId); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getResourceType() const; + void setResourceType(const std::string &resourceType); + std::string getResourceUrl() const; + void setResourceUrl(const std::string &resourceUrl); + int getSpot() const; + void setSpot(int spot); + +private: + int liveInputType_; + long duration_; + int repeatTimes_; + std::string showName_; + std::string resourceId_; + std::string casterId_; + long ownerId_; + std::string resourceType_; + std::string resourceUrl_; + int spot_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDSHOWINTOSHOWLISTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddStudioLayoutRequest.h b/live/include/alibabacloud/live/model/AddStudioLayoutRequest.h index 71f25a705..3057b221b 100644 --- a/live/include/alibabacloud/live/model/AddStudioLayoutRequest.h +++ b/live/include/alibabacloud/live/model/AddStudioLayoutRequest.h @@ -1,72 +1,66 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDSTUDIOLAYOUTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDSTUDIOLAYOUTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddStudioLayoutRequest : public RpcServiceRequest - { - - public: - AddStudioLayoutRequest(); - ~AddStudioLayoutRequest(); - - std::string getScreenInputConfigList()const; - void setScreenInputConfigList(const std::string& screenInputConfigList); - std::string getLayoutType()const; - void setLayoutType(const std::string& layoutType); - std::string getLayoutName()const; - void setLayoutName(const std::string& layoutName); - std::string getLayerOrderConfigList()const; - void setLayerOrderConfigList(const std::string& layerOrderConfigList); - std::string getMediaInputConfigList()const; - void setMediaInputConfigList(const std::string& mediaInputConfigList); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - std::string getBgImageConfig()const; - void setBgImageConfig(const std::string& bgImageConfig); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getCommonConfig()const; - void setCommonConfig(const std::string& commonConfig); - - private: - std::string screenInputConfigList_; - std::string layoutType_; - std::string layoutName_; - std::string layerOrderConfigList_; - std::string mediaInputConfigList_; - std::string casterId_; - std::string bgImageConfig_; - long ownerId_; - std::string commonConfig_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDSTUDIOLAYOUTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDSTUDIOLAYOUTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDSTUDIOLAYOUTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddStudioLayoutRequest : public RpcServiceRequest { +public: + AddStudioLayoutRequest(); + ~AddStudioLayoutRequest(); + std::string getScreenInputConfigList() const; + void setScreenInputConfigList(const std::string &screenInputConfigList); + std::string getLayoutType() const; + void setLayoutType(const std::string &layoutType); + std::string getLayoutName() const; + void setLayoutName(const std::string &layoutName); + std::string getLayerOrderConfigList() const; + void setLayerOrderConfigList(const std::string &layerOrderConfigList); + std::string getMediaInputConfigList() const; + void setMediaInputConfigList(const std::string &mediaInputConfigList); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + std::string getBgImageConfig() const; + void setBgImageConfig(const std::string &bgImageConfig); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getCommonConfig() const; + void setCommonConfig(const std::string &commonConfig); + +private: + std::string screenInputConfigList_; + std::string layoutType_; + std::string layoutName_; + std::string layerOrderConfigList_; + std::string mediaInputConfigList_; + std::string casterId_; + std::string bgImageConfig_; + long ownerId_; + std::string commonConfig_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDSTUDIOLAYOUTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddTrancodeSEIRequest.h b/live/include/alibabacloud/live/model/AddTrancodeSEIRequest.h index d773f9290..77fb7faa0 100644 --- a/live/include/alibabacloud/live/model/AddTrancodeSEIRequest.h +++ b/live/include/alibabacloud/live/model/AddTrancodeSEIRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDTRANCODESEIREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDTRANCODESEIREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AddTrancodeSEIRequest : public RpcServiceRequest - { - - public: - AddTrancodeSEIRequest(); - ~AddTrancodeSEIRequest(); - - std::string getPattern()const; - void setPattern(const std::string& pattern); - std::string getAppName()const; - void setAppName(const std::string& appName); - int getRepeat()const; - void setRepeat(int repeat); - std::string getText()const; - void setText(const std::string& text); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - int getDelay()const; - void setDelay(int delay); - - private: - std::string pattern_; - std::string appName_; - int repeat_; - std::string text_; - std::string streamName_; - std::string domainName_; - long ownerId_; - int delay_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ADDTRANCODESEIREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDTRANCODESEIREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDTRANCODESEIREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddTrancodeSEIRequest : public RpcServiceRequest { +public: + AddTrancodeSEIRequest(); + ~AddTrancodeSEIRequest(); + std::string getPattern() const; + void setPattern(const std::string &pattern); + std::string getAppName() const; + void setAppName(const std::string &appName); + int getRepeat() const; + void setRepeat(int repeat); + std::string getText() const; + void setText(const std::string &text); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + int getDelay() const; + void setDelay(int delay); + +private: + std::string pattern_; + std::string appName_; + int repeat_; + std::string text_; + std::string streamName_; + std::string domainName_; + long ownerId_; + int delay_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDTRANCODESEIREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AllowPushStreamRequest.h b/live/include/alibabacloud/live/model/AllowPushStreamRequest.h index ef35e7315..9f0689847 100644 --- a/live/include/alibabacloud/live/model/AllowPushStreamRequest.h +++ b/live/include/alibabacloud/live/model/AllowPushStreamRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT AllowPushStreamRequest : public RpcServiceRequest - { - - public: - AllowPushStreamRequest(); - ~AllowPushStreamRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getRoomId()const; - void setRoomId(const std::string& roomId); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - long ownerId_; - std::string roomId_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AllowPushStreamRequest : public RpcServiceRequest { +public: + AllowPushStreamRequest(); + ~AllowPushStreamRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getRoomId() const; + void setRoomId(const std::string &roomId); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + long ownerId_; + std::string roomId_; + std::string appId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsRequest.h b/live/include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsRequest.h index 55958d791..7a8b59698 100644 --- a/live/include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsRequest.h +++ b/live/include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_BATCHDELETELIVEDOMAINCONFIGSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_BATCHDELETELIVEDOMAINCONFIGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT BatchDeleteLiveDomainConfigsRequest : public RpcServiceRequest - { - - public: - BatchDeleteLiveDomainConfigsRequest(); - ~BatchDeleteLiveDomainConfigsRequest(); - - std::string getFunctionNames()const; - void setFunctionNames(const std::string& functionNames); - std::string getDomainNames()const; - void setDomainNames(const std::string& domainNames); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string functionNames_; - std::string domainNames_; - std::string ownerAccount_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_BATCHDELETELIVEDOMAINCONFIGSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_BATCHDELETELIVEDOMAINCONFIGSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_BATCHDELETELIVEDOMAINCONFIGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT BatchDeleteLiveDomainConfigsRequest : public RpcServiceRequest { +public: + BatchDeleteLiveDomainConfigsRequest(); + ~BatchDeleteLiveDomainConfigsRequest(); + std::string getFunctionNames() const; + void setFunctionNames(const std::string &functionNames); + std::string getDomainNames() const; + void setDomainNames(const std::string &domainNames); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + +private: + std::string functionNames_; + std::string domainNames_; + std::string ownerAccount_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_BATCHDELETELIVEDOMAINCONFIGSREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/BatchSetLiveDomainConfigsRequest.h b/live/include/alibabacloud/live/model/BatchSetLiveDomainConfigsRequest.h index 2f45a7088..3039c7831 100644 --- a/live/include/alibabacloud/live/model/BatchSetLiveDomainConfigsRequest.h +++ b/live/include/alibabacloud/live/model/BatchSetLiveDomainConfigsRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_BATCHSETLIVEDOMAINCONFIGSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_BATCHSETLIVEDOMAINCONFIGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT BatchSetLiveDomainConfigsRequest : public RpcServiceRequest - { - - public: - BatchSetLiveDomainConfigsRequest(); - ~BatchSetLiveDomainConfigsRequest(); - - std::string getFunctions()const; - void setFunctions(const std::string& functions); - std::string getDomainNames()const; - void setDomainNames(const std::string& domainNames); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string functions_; - std::string domainNames_; - std::string ownerAccount_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_BATCHSETLIVEDOMAINCONFIGSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_BATCHSETLIVEDOMAINCONFIGSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_BATCHSETLIVEDOMAINCONFIGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT BatchSetLiveDomainConfigsRequest : public RpcServiceRequest { +public: + BatchSetLiveDomainConfigsRequest(); + ~BatchSetLiveDomainConfigsRequest(); + std::string getFunctions() const; + void setFunctions(const std::string &functions); + std::string getDomainNames() const; + void setDomainNames(const std::string &domainNames); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + +private: + std::string functions_; + std::string domainNames_; + std::string ownerAccount_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_BATCHSETLIVEDOMAINCONFIGSREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/CloseLiveShiftRequest.h b/live/include/alibabacloud/live/model/CloseLiveShiftRequest.h index 0343850d8..c5969fe13 100644 --- a/live/include/alibabacloud/live/model/CloseLiveShiftRequest.h +++ b/live/include/alibabacloud/live/model/CloseLiveShiftRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_CLOSELIVESHIFTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_CLOSELIVESHIFTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT CloseLiveShiftRequest : public RpcServiceRequest - { - - public: - CloseLiveShiftRequest(); - ~CloseLiveShiftRequest(); - - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string appName_; - std::string streamName_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_CLOSELIVESHIFTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_CLOSELIVESHIFTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_CLOSELIVESHIFTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT CloseLiveShiftRequest : public RpcServiceRequest { +public: + CloseLiveShiftRequest(); + ~CloseLiveShiftRequest(); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string appName_; + std::string streamName_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_CLOSELIVESHIFTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/CloseMessageGroupRequest.h b/live/include/alibabacloud/live/model/CloseMessageGroupRequest.h new file mode 100644 index 000000000..5e582bb8b --- /dev/null +++ b/live/include/alibabacloud/live/model/CloseMessageGroupRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_CLOSEMESSAGEGROUPREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_CLOSEMESSAGEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT CloseMessageGroupRequest : public RpcServiceRequest { +public: + CloseMessageGroupRequest(); + ~CloseMessageGroupRequest(); + std::string getGroupId() const; + void setGroupId(const std::string &groupId); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string groupId_; + std::string appId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_CLOSEMESSAGEGROUPREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveUserQuotaResult.h b/live/include/alibabacloud/live/model/CloseMessageGroupResult.h similarity index 63% rename from live/include/alibabacloud/live/model/DescribeLiveUserQuotaResult.h rename to live/include/alibabacloud/live/model/CloseMessageGroupResult.h index 1f3e25c6b..c268a11d6 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveUserQuotaResult.h +++ b/live/include/alibabacloud/live/model/CloseMessageGroupResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERQUOTARESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERQUOTARESULT_H_ +#ifndef ALIBABACLOUD_LIVE_MODEL_CLOSEMESSAGEGROUPRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_CLOSEMESSAGEGROUPRESULT_H_ #include #include @@ -29,25 +29,27 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveUserQuotaResult : public ServiceResult + class ALIBABACLOUD_LIVE_EXPORT CloseMessageGroupResult : public ServiceResult { public: + struct Result + { + bool success; + }; - DescribeLiveUserQuotaResult(); - explicit DescribeLiveUserQuotaResult(const std::string &payload); - ~DescribeLiveUserQuotaResult(); - int getDomainQuota()const; - std::string getDomainUsedCount()const; + CloseMessageGroupResult(); + explicit CloseMessageGroupResult(const std::string &payload); + ~CloseMessageGroupResult(); + Result getResult()const; protected: void parse(const std::string &payload); private: - int domainQuota_; - std::string domainUsedCount_; + Result result_; }; } } } -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERQUOTARESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_LIVE_MODEL_CLOSEMESSAGEGROUPRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CopyCasterRequest.h b/live/include/alibabacloud/live/model/CopyCasterRequest.h index f4d1bf18e..5d41b1559 100644 --- a/live/include/alibabacloud/live/model/CopyCasterRequest.h +++ b/live/include/alibabacloud/live/model/CopyCasterRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_COPYCASTERREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_COPYCASTERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT CopyCasterRequest : public RpcServiceRequest - { - - public: - CopyCasterRequest(); - ~CopyCasterRequest(); - - std::string getClientToken()const; - void setClientToken(const std::string& clientToken); - std::string getCasterName()const; - void setCasterName(const std::string& casterName); - std::string getSrcCasterId()const; - void setSrcCasterId(const std::string& srcCasterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string clientToken_; - std::string casterName_; - std::string srcCasterId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_COPYCASTERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_COPYCASTERREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_COPYCASTERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT CopyCasterRequest : public RpcServiceRequest { +public: + CopyCasterRequest(); + ~CopyCasterRequest(); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getCasterName() const; + void setCasterName(const std::string &casterName); + std::string getSrcCasterId() const; + void setSrcCasterId(const std::string &srcCasterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string clientToken_; + std::string casterName_; + std::string srcCasterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_COPYCASTERREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/CopyCasterSceneConfigRequest.h b/live/include/alibabacloud/live/model/CopyCasterSceneConfigRequest.h index 4102bf5ca..fa9a0f3b5 100644 --- a/live/include/alibabacloud/live/model/CopyCasterSceneConfigRequest.h +++ b/live/include/alibabacloud/live/model/CopyCasterSceneConfigRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_COPYCASTERSCENECONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_COPYCASTERSCENECONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT CopyCasterSceneConfigRequest : public RpcServiceRequest - { - - public: - CopyCasterSceneConfigRequest(); - ~CopyCasterSceneConfigRequest(); - - std::string getFromSceneId()const; - void setFromSceneId(const std::string& fromSceneId); - std::string getToSceneId()const; - void setToSceneId(const std::string& toSceneId); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string fromSceneId_; - std::string toSceneId_; - std::string casterId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_COPYCASTERSCENECONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_COPYCASTERSCENECONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_COPYCASTERSCENECONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT CopyCasterSceneConfigRequest : public RpcServiceRequest { +public: + CopyCasterSceneConfigRequest(); + ~CopyCasterSceneConfigRequest(); + std::string getFromSceneId() const; + void setFromSceneId(const std::string &fromSceneId); + std::string getToSceneId() const; + void setToSceneId(const std::string &toSceneId); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string fromSceneId_; + std::string toSceneId_; + std::string casterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_COPYCASTERSCENECONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/CreateCasterRequest.h b/live/include/alibabacloud/live/model/CreateCasterRequest.h index 49391221a..0ea52f22b 100644 --- a/live/include/alibabacloud/live/model/CreateCasterRequest.h +++ b/live/include/alibabacloud/live/model/CreateCasterRequest.h @@ -1,72 +1,66 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_CREATECASTERREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_CREATECASTERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT CreateCasterRequest : public RpcServiceRequest - { - - public: - CreateCasterRequest(); - ~CreateCasterRequest(); - - std::string getClientToken()const; - void setClientToken(const std::string& clientToken); - std::string getCasterName()const; - void setCasterName(const std::string& casterName); - std::string getCasterTemplate()const; - void setCasterTemplate(const std::string& casterTemplate); - std::string getExpireTime()const; - void setExpireTime(const std::string& expireTime); - int getNormType()const; - void setNormType(int normType); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getPurchaseTime()const; - void setPurchaseTime(const std::string& purchaseTime); - int getMicMode()const; - void setMicMode(int micMode); - std::string getChargeType()const; - void setChargeType(const std::string& chargeType); - - private: - std::string clientToken_; - std::string casterName_; - std::string casterTemplate_; - std::string expireTime_; - int normType_; - long ownerId_; - std::string purchaseTime_; - int micMode_; - std::string chargeType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_CREATECASTERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_CREATECASTERREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATECASTERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT CreateCasterRequest : public RpcServiceRequest { +public: + CreateCasterRequest(); + ~CreateCasterRequest(); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getCasterName() const; + void setCasterName(const std::string &casterName); + std::string getCasterTemplate() const; + void setCasterTemplate(const std::string &casterTemplate); + std::string getExpireTime() const; + void setExpireTime(const std::string &expireTime); + int getNormType() const; + void setNormType(int normType); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getPurchaseTime() const; + void setPurchaseTime(const std::string &purchaseTime); + int getMicMode() const; + void setMicMode(int micMode); + std::string getChargeType() const; + void setChargeType(const std::string &chargeType); + +private: + std::string clientToken_; + std::string casterName_; + std::string casterTemplate_; + std::string expireTime_; + int normType_; + long ownerId_; + std::string purchaseTime_; + int micMode_; + std::string chargeType_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_CREATECASTERREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/CreateCustomTemplateRequest.h b/live/include/alibabacloud/live/model/CreateCustomTemplateRequest.h index 2e0b24c89..748217929 100644 --- a/live/include/alibabacloud/live/model/CreateCustomTemplateRequest.h +++ b/live/include/alibabacloud/live/model/CreateCustomTemplateRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_CREATECUSTOMTEMPLATEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_CREATECUSTOMTEMPLATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT CreateCustomTemplateRequest : public RpcServiceRequest - { - - public: - CreateCustomTemplateRequest(); - ~CreateCustomTemplateRequest(); - - std::string get_Template()const; - void set_Template(const std::string& _template); - std::string getCustomTemplate()const; - void setCustomTemplate(const std::string& customTemplate); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string _template_; - std::string customTemplate_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_CREATECUSTOMTEMPLATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_CREATECUSTOMTEMPLATEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATECUSTOMTEMPLATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT CreateCustomTemplateRequest : public RpcServiceRequest { +public: + CreateCustomTemplateRequest(); + ~CreateCustomTemplateRequest(); + std::string get_Template() const; + void set_Template(const std::string &_template); + std::string getCustomTemplate() const; + void setCustomTemplate(const std::string &customTemplate); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string _template_; + std::string customTemplate_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_CREATECUSTOMTEMPLATEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/CreateLiveRealTimeLogDeliveryRequest.h b/live/include/alibabacloud/live/model/CreateLiveRealTimeLogDeliveryRequest.h index 4c9d10f17..cc741cfbd 100644 --- a/live/include/alibabacloud/live/model/CreateLiveRealTimeLogDeliveryRequest.h +++ b/live/include/alibabacloud/live/model/CreateLiveRealTimeLogDeliveryRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_CREATELIVEREALTIMELOGDELIVERYREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_CREATELIVEREALTIMELOGDELIVERYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT CreateLiveRealTimeLogDeliveryRequest : public RpcServiceRequest - { - - public: - CreateLiveRealTimeLogDeliveryRequest(); - ~CreateLiveRealTimeLogDeliveryRequest(); - - std::string getProject()const; - void setProject(const std::string& project); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getRegion()const; - void setRegion(const std::string& region); - std::string getLogstore()const; - void setLogstore(const std::string& logstore); - - private: - std::string project_; - std::string domainName_; - long ownerId_; - std::string region_; - std::string logstore_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_CREATELIVEREALTIMELOGDELIVERYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_CREATELIVEREALTIMELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATELIVEREALTIMELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT CreateLiveRealTimeLogDeliveryRequest : public RpcServiceRequest { +public: + CreateLiveRealTimeLogDeliveryRequest(); + ~CreateLiveRealTimeLogDeliveryRequest(); + std::string getProject() const; + void setProject(const std::string &project); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getRegion() const; + void setRegion(const std::string ®ion); + std::string getLogstore() const; + void setLogstore(const std::string &logstore); + +private: + std::string project_; + std::string domainName_; + long ownerId_; + std::string region_; + std::string logstore_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_CREATELIVEREALTIMELOGDELIVERYREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/CreateLiveStreamMonitorRequest.h b/live/include/alibabacloud/live/model/CreateLiveStreamMonitorRequest.h index 385d071e0..0846745cd 100644 --- a/live/include/alibabacloud/live/model/CreateLiveStreamMonitorRequest.h +++ b/live/include/alibabacloud/live/model/CreateLiveStreamMonitorRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_CREATELIVESTREAMMONITORREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_CREATELIVESTREAMMONITORREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT CreateLiveStreamMonitorRequest : public RpcServiceRequest - { - - public: - CreateLiveStreamMonitorRequest(); - ~CreateLiveStreamMonitorRequest(); - - std::string getMonitorName()const; - void setMonitorName(const std::string& monitorName); - std::string getStream()const; - void setStream(const std::string& stream); - std::string getOutputTemplate()const; - void setOutputTemplate(const std::string& outputTemplate); - std::string getApp()const; - void setApp(const std::string& app); - std::string getInputList()const; - void setInputList(const std::string& inputList); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getDomain()const; - void setDomain(const std::string& domain); - - private: - std::string monitorName_; - std::string stream_; - std::string outputTemplate_; - std::string app_; - std::string inputList_; - long ownerId_; - std::string domain_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_CREATELIVESTREAMMONITORREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_CREATELIVESTREAMMONITORREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATELIVESTREAMMONITORREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT CreateLiveStreamMonitorRequest : public RpcServiceRequest { +public: + CreateLiveStreamMonitorRequest(); + ~CreateLiveStreamMonitorRequest(); + std::string getMonitorName() const; + void setMonitorName(const std::string &monitorName); + std::string getStream() const; + void setStream(const std::string &stream); + std::string getOutputTemplate() const; + void setOutputTemplate(const std::string &outputTemplate); + std::string getApp() const; + void setApp(const std::string &app); + std::string getInputList() const; + void setInputList(const std::string &inputList); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getDomain() const; + void setDomain(const std::string &domain); + +private: + std::string monitorName_; + std::string stream_; + std::string outputTemplate_; + std::string app_; + std::string inputList_; + long ownerId_; + std::string domain_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_CREATELIVESTREAMMONITORREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesRequest.h b/live/include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesRequest.h index 584811ada..febfe78bd 100644 --- a/live/include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesRequest.h +++ b/live/include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesRequest.h @@ -1,75 +1,69 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_CREATELIVESTREAMRECORDINDEXFILESREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_CREATELIVESTREAMRECORDINDEXFILESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT CreateLiveStreamRecordIndexFilesRequest : public RpcServiceRequest - { - - public: - CreateLiveStreamRecordIndexFilesRequest(); - ~CreateLiveStreamRecordIndexFilesRequest(); - - std::string getOssEndpoint()const; - void setOssEndpoint(const std::string& ossEndpoint); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getOssObject()const; - void setOssObject(const std::string& ossObject); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getOssBucket()const; - void setOssBucket(const std::string& ossBucket); - 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 ossEndpoint_; - std::string startTime_; - std::string ossObject_; - std::string appName_; - std::string securityToken_; - std::string streamName_; - std::string ossBucket_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_CREATELIVESTREAMRECORDINDEXFILESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_CREATELIVESTREAMRECORDINDEXFILESREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATELIVESTREAMRECORDINDEXFILESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT CreateLiveStreamRecordIndexFilesRequest : public RpcServiceRequest { +public: + CreateLiveStreamRecordIndexFilesRequest(); + ~CreateLiveStreamRecordIndexFilesRequest(); + std::string getOssEndpoint() const; + void setOssEndpoint(const std::string &ossEndpoint); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getOssObject() const; + void setOssObject(const std::string &ossObject); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getOssBucket() const; + void setOssBucket(const std::string &ossBucket); + 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 ossEndpoint_; + std::string startTime_; + std::string ossObject_; + std::string appName_; + std::string securityToken_; + std::string streamName_; + std::string ossBucket_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_CREATELIVESTREAMRECORDINDEXFILESREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/CreateLiveTranscodeTemplateRequest.h b/live/include/alibabacloud/live/model/CreateLiveTranscodeTemplateRequest.h new file mode 100644 index 000000000..d9c496dea --- /dev/null +++ b/live/include/alibabacloud/live/model/CreateLiveTranscodeTemplateRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_CREATELIVETRANSCODETEMPLATEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATELIVETRANSCODETEMPLATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT CreateLiveTranscodeTemplateRequest : public RpcServiceRequest { +public: + CreateLiveTranscodeTemplateRequest(); + ~CreateLiveTranscodeTemplateRequest(); + std::string getType() const; + void setType(const std::string &type); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getTemplateConfig() const; + void setTemplateConfig(const std::string &templateConfig); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string type_; + std::string securityToken_; + std::string templateConfig_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_CREATELIVETRANSCODETEMPLATEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/CreateLiveTranscodeTemplateResult.h b/live/include/alibabacloud/live/model/CreateLiveTranscodeTemplateResult.h new file mode 100644 index 000000000..bb25ebb12 --- /dev/null +++ b/live/include/alibabacloud/live/model/CreateLiveTranscodeTemplateResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_CREATELIVETRANSCODETEMPLATERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATELIVETRANSCODETEMPLATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CreateLiveTranscodeTemplateResult : public ServiceResult + { + public: + + + CreateLiveTranscodeTemplateResult(); + explicit CreateLiveTranscodeTemplateResult(const std::string &payload); + ~CreateLiveTranscodeTemplateResult(); + std::string getTemplateId()const; + + protected: + void parse(const std::string &payload); + private: + std::string templateId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_CREATELIVETRANSCODETEMPLATERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CreateMessageAppRequest.h b/live/include/alibabacloud/live/model/CreateMessageAppRequest.h new file mode 100644 index 000000000..8a9354e81 --- /dev/null +++ b/live/include/alibabacloud/live/model/CreateMessageAppRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_CREATEMESSAGEAPPREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATEMESSAGEAPPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT CreateMessageAppRequest : public RpcServiceRequest { +public: + CreateMessageAppRequest(); + ~CreateMessageAppRequest(); + std::map getExtension() const; + void setExtension(const std::map &extension); + std::map getAppConfig() const; + void setAppConfig(const std::map &appConfig); + +private: + std::map extension_; + std::map appConfig_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_CREATEMESSAGEAPPREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainSpecialConfigResult.h b/live/include/alibabacloud/live/model/CreateMessageAppResult.h similarity index 59% rename from live/include/alibabacloud/live/model/DescribeLiveDomainSpecialConfigResult.h rename to live/include/alibabacloud/live/model/CreateMessageAppResult.h index 80c7f9d88..1a644f3f1 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainSpecialConfigResult.h +++ b/live/include/alibabacloud/live/model/CreateMessageAppResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSPECIALCONFIGRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSPECIALCONFIGRESULT_H_ +#ifndef ALIBABACLOUD_LIVE_MODEL_CREATEMESSAGEAPPRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATEMESSAGEAPPRESULT_H_ #include #include @@ -29,29 +29,27 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainSpecialConfigResult : public ServiceResult + class ALIBABACLOUD_LIVE_EXPORT CreateMessageAppResult : public ServiceResult { public: - struct Config + struct Result { - std::string value; - long configId; - std::string name; + std::string appId; }; - DescribeLiveDomainSpecialConfigResult(); - explicit DescribeLiveDomainSpecialConfigResult(const std::string &payload); - ~DescribeLiveDomainSpecialConfigResult(); - std::vector getConfigs()const; + CreateMessageAppResult(); + explicit CreateMessageAppResult(const std::string &payload); + ~CreateMessageAppResult(); + Result getResult()const; protected: void parse(const std::string &payload); private: - std::vector configs_; + Result result_; }; } } } -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSPECIALCONFIGRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_LIVE_MODEL_CREATEMESSAGEAPPRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CreateMessageGroupRequest.h b/live/include/alibabacloud/live/model/CreateMessageGroupRequest.h new file mode 100644 index 000000000..042d96ca4 --- /dev/null +++ b/live/include/alibabacloud/live/model/CreateMessageGroupRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_CREATEMESSAGEGROUPREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATEMESSAGEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT CreateMessageGroupRequest : public RpcServiceRequest { +public: + CreateMessageGroupRequest(); + ~CreateMessageGroupRequest(); + std::map getExtension() const; + void setExtension(const std::map &extension); + std::string getCreatorId() const; + void setCreatorId(const std::string &creatorId); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::map extension_; + std::string creatorId_; + std::string appId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_CREATEMESSAGEGROUPREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/CreateMessageGroupResult.h b/live/include/alibabacloud/live/model/CreateMessageGroupResult.h new file mode 100644 index 000000000..fe3ab6402 --- /dev/null +++ b/live/include/alibabacloud/live/model/CreateMessageGroupResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_CREATEMESSAGEGROUPRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATEMESSAGEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CreateMessageGroupResult : public ServiceResult + { + public: + struct Result + { + std::string extension; + std::string groupId; + }; + + + CreateMessageGroupResult(); + explicit CreateMessageGroupResult(const std::string &payload); + ~CreateMessageGroupResult(); + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_CREATEMESSAGEGROUPRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CreateMixStreamRequest.h b/live/include/alibabacloud/live/model/CreateMixStreamRequest.h index a7c983658..39d0da3f0 100644 --- a/live/include/alibabacloud/live/model/CreateMixStreamRequest.h +++ b/live/include/alibabacloud/live/model/CreateMixStreamRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_CREATEMIXSTREAMREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_CREATEMIXSTREAMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT CreateMixStreamRequest : public RpcServiceRequest - { - - public: - CreateMixStreamRequest(); - ~CreateMixStreamRequest(); - - std::string getOutputConfig()const; - void setOutputConfig(const std::string& outputConfig); - std::string getLayoutId()const; - void setLayoutId(const std::string& layoutId); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getInputStreamList()const; - void setInputStreamList(const std::string& inputStreamList); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getCallbackConfig()const; - void setCallbackConfig(const std::string& callbackConfig); - - private: - std::string outputConfig_; - std::string layoutId_; - std::string domainName_; - std::string inputStreamList_; - long ownerId_; - std::string callbackConfig_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_CREATEMIXSTREAMREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_CREATEMIXSTREAMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATEMIXSTREAMREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT CreateMixStreamRequest : public RpcServiceRequest { +public: + CreateMixStreamRequest(); + ~CreateMixStreamRequest(); + std::string getOutputConfig() const; + void setOutputConfig(const std::string &outputConfig); + std::string getLayoutId() const; + void setLayoutId(const std::string &layoutId); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getInputStreamList() const; + void setInputStreamList(const std::string &inputStreamList); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getCallbackConfig() const; + void setCallbackConfig(const std::string &callbackConfig); + +private: + std::string outputConfig_; + std::string layoutId_; + std::string domainName_; + std::string inputStreamList_; + long ownerId_; + std::string callbackConfig_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_CREATEMIXSTREAMREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteCasterComponentRequest.h b/live/include/alibabacloud/live/model/DeleteCasterComponentRequest.h index 70789f723..d2095ba01 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterComponentRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterComponentRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTERCOMPONENTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERCOMPONENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteCasterComponentRequest : public RpcServiceRequest - { - - public: - DeleteCasterComponentRequest(); - ~DeleteCasterComponentRequest(); - - std::string getComponentId()const; - void setComponentId(const std::string& componentId); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string componentId_; - std::string casterId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERCOMPONENTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTERCOMPONENTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERCOMPONENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteCasterComponentRequest : public RpcServiceRequest { +public: + DeleteCasterComponentRequest(); + ~DeleteCasterComponentRequest(); + std::string getComponentId() const; + void setComponentId(const std::string &componentId); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string componentId_; + std::string casterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERCOMPONENTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteCasterEpisodeGroupRequest.h b/live/include/alibabacloud/live/model/DeleteCasterEpisodeGroupRequest.h index 7d50b9ea2..ce1426d74 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterEpisodeGroupRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterEpisodeGroupRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEGROUPREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteCasterEpisodeGroupRequest : public RpcServiceRequest - { - - public: - DeleteCasterEpisodeGroupRequest(); - ~DeleteCasterEpisodeGroupRequest(); - - std::string getProgramId()const; - void setProgramId(const std::string& programId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string programId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEGROUPREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteCasterEpisodeGroupRequest : public RpcServiceRequest { +public: + DeleteCasterEpisodeGroupRequest(); + ~DeleteCasterEpisodeGroupRequest(); + std::string getProgramId() const; + void setProgramId(const std::string &programId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string programId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEGROUPREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteCasterEpisodeRequest.h b/live/include/alibabacloud/live/model/DeleteCasterEpisodeRequest.h index f74e1dce6..7fcea7979 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterEpisodeRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterEpisodeRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteCasterEpisodeRequest : public RpcServiceRequest - { - - public: - DeleteCasterEpisodeRequest(); - ~DeleteCasterEpisodeRequest(); - - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getEpisodeId()const; - void setEpisodeId(const std::string& episodeId); - - private: - std::string casterId_; - long ownerId_; - std::string episodeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteCasterEpisodeRequest : public RpcServiceRequest { +public: + DeleteCasterEpisodeRequest(); + ~DeleteCasterEpisodeRequest(); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getEpisodeId() const; + void setEpisodeId(const std::string &episodeId); + +private: + std::string casterId_; + long ownerId_; + std::string episodeId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteCasterLayoutRequest.h b/live/include/alibabacloud/live/model/DeleteCasterLayoutRequest.h index 54f37d516..5bd253710 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterLayoutRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterLayoutRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTERLAYOUTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERLAYOUTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteCasterLayoutRequest : public RpcServiceRequest - { - - public: - DeleteCasterLayoutRequest(); - ~DeleteCasterLayoutRequest(); - - std::string getLayoutId()const; - void setLayoutId(const std::string& layoutId); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string layoutId_; - std::string casterId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERLAYOUTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTERLAYOUTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERLAYOUTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteCasterLayoutRequest : public RpcServiceRequest { +public: + DeleteCasterLayoutRequest(); + ~DeleteCasterLayoutRequest(); + std::string getLayoutId() const; + void setLayoutId(const std::string &layoutId); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string layoutId_; + std::string casterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERLAYOUTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteCasterProgramRequest.h b/live/include/alibabacloud/live/model/DeleteCasterProgramRequest.h index c31a83e89..f1c31284b 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterProgramRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterProgramRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTERPROGRAMREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERPROGRAMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteCasterProgramRequest : public RpcServiceRequest - { - - public: - DeleteCasterProgramRequest(); - ~DeleteCasterProgramRequest(); - - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string casterId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERPROGRAMREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTERPROGRAMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERPROGRAMREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteCasterProgramRequest : public RpcServiceRequest { +public: + DeleteCasterProgramRequest(); + ~DeleteCasterProgramRequest(); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string casterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERPROGRAMREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteCasterRequest.h b/live/include/alibabacloud/live/model/DeleteCasterRequest.h index cbe0af51f..2abca774d 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTERREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteCasterRequest : public RpcServiceRequest - { - - public: - DeleteCasterRequest(); - ~DeleteCasterRequest(); - - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string casterId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTERREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteCasterRequest : public RpcServiceRequest { +public: + DeleteCasterRequest(); + ~DeleteCasterRequest(); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string casterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteCasterSceneConfigRequest.h b/live/include/alibabacloud/live/model/DeleteCasterSceneConfigRequest.h index 2835baa75..e194a9891 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterSceneConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterSceneConfigRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTERSCENECONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERSCENECONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteCasterSceneConfigRequest : public RpcServiceRequest - { - - public: - DeleteCasterSceneConfigRequest(); - ~DeleteCasterSceneConfigRequest(); - - std::string getType()const; - void setType(const std::string& type); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSceneId()const; - void setSceneId(const std::string& sceneId); - - private: - std::string type_; - std::string casterId_; - long ownerId_; - std::string sceneId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERSCENECONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTERSCENECONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERSCENECONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteCasterSceneConfigRequest : public RpcServiceRequest { +public: + DeleteCasterSceneConfigRequest(); + ~DeleteCasterSceneConfigRequest(); + std::string getType() const; + void setType(const std::string &type); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSceneId() const; + void setSceneId(const std::string &sceneId); + +private: + std::string type_; + std::string casterId_; + long ownerId_; + std::string sceneId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERSCENECONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteCasterVideoResourceRequest.h b/live/include/alibabacloud/live/model/DeleteCasterVideoResourceRequest.h index 9439d15dd..5d6fa7966 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterVideoResourceRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterVideoResourceRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTERVIDEORESOURCEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERVIDEORESOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteCasterVideoResourceRequest : public RpcServiceRequest - { - - public: - DeleteCasterVideoResourceRequest(); - ~DeleteCasterVideoResourceRequest(); - - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string resourceId_; - std::string casterId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERVIDEORESOURCEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTERVIDEORESOURCEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERVIDEORESOURCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteCasterVideoResourceRequest : public RpcServiceRequest { +public: + DeleteCasterVideoResourceRequest(); + ~DeleteCasterVideoResourceRequest(); + std::string getResourceId() const; + void setResourceId(const std::string &resourceId); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string resourceId_; + std::string casterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERVIDEORESOURCEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteCustomTemplateRequest.h b/live/include/alibabacloud/live/model/DeleteCustomTemplateRequest.h index 190c41ab8..cba537939 100644 --- a/live/include/alibabacloud/live/model/DeleteCustomTemplateRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCustomTemplateRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECUSTOMTEMPLATEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETECUSTOMTEMPLATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteCustomTemplateRequest : public RpcServiceRequest - { - - public: - DeleteCustomTemplateRequest(); - ~DeleteCustomTemplateRequest(); - - std::string get_Template()const; - void set_Template(const std::string& _template); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string _template_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECUSTOMTEMPLATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECUSTOMTEMPLATEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECUSTOMTEMPLATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteCustomTemplateRequest : public RpcServiceRequest { +public: + DeleteCustomTemplateRequest(); + ~DeleteCustomTemplateRequest(); + std::string get_Template() const; + void set_Template(const std::string &_template); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string _template_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECUSTOMTEMPLATEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLiveAppRecordConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveAppRecordConfigRequest.h index 56d070648..b35a2467c 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveAppRecordConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveAppRecordConfigRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEAPPRECORDCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEAPPRECORDCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveAppRecordConfigRequest : public RpcServiceRequest - { - - public: - DeleteLiveAppRecordConfigRequest(); - ~DeleteLiveAppRecordConfigRequest(); - - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string appName_; - std::string securityToken_; - std::string streamName_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEAPPRECORDCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEAPPRECORDCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEAPPRECORDCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLiveAppRecordConfigRequest : public RpcServiceRequest { +public: + DeleteLiveAppRecordConfigRequest(); + ~DeleteLiveAppRecordConfigRequest(); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string appName_; + std::string securityToken_; + std::string streamName_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEAPPRECORDCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigRequest.h index 1f84a61ce..7cb6c2522 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEAPPSNAPSHOTCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEAPPSNAPSHOTCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveAppSnapshotConfigRequest : public RpcServiceRequest - { - - public: - DeleteLiveAppSnapshotConfigRequest(); - ~DeleteLiveAppSnapshotConfigRequest(); - - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string appName_; - std::string securityToken_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEAPPSNAPSHOTCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEAPPSNAPSHOTCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEAPPSNAPSHOTCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLiveAppSnapshotConfigRequest : public RpcServiceRequest { +public: + DeleteLiveAppSnapshotConfigRequest(); + ~DeleteLiveAppSnapshotConfigRequest(); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string appName_; + std::string securityToken_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEAPPSNAPSHOTCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLiveAudioAuditConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveAudioAuditConfigRequest.h index 7eeefb461..0e483e1b8 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveAudioAuditConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveAudioAuditConfigRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEAUDIOAUDITCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEAUDIOAUDITCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveAudioAuditConfigRequest : public RpcServiceRequest - { - - public: - DeleteLiveAudioAuditConfigRequest(); - ~DeleteLiveAudioAuditConfigRequest(); - - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string appName_; - std::string streamName_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEAUDIOAUDITCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEAUDIOAUDITCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEAUDIOAUDITCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLiveAudioAuditConfigRequest : public RpcServiceRequest { +public: + DeleteLiveAudioAuditConfigRequest(); + ~DeleteLiveAudioAuditConfigRequest(); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string appName_; + std::string streamName_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEAUDIOAUDITCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLiveAudioAuditNotifyConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveAudioAuditNotifyConfigRequest.h index 2ff84d612..333e402c8 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveAudioAuditNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveAudioAuditNotifyConfigRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveAudioAuditNotifyConfigRequest : public RpcServiceRequest - { - - public: - DeleteLiveAudioAuditNotifyConfigRequest(); - ~DeleteLiveAudioAuditNotifyConfigRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLiveAudioAuditNotifyConfigRequest : public RpcServiceRequest { +public: + DeleteLiveAudioAuditNotifyConfigRequest(); + ~DeleteLiveAudioAuditNotifyConfigRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigRequest.h index 6c4c71ed2..93533b1f1 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEDETECTNOTIFYCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEDETECTNOTIFYCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveDetectNotifyConfigRequest : public RpcServiceRequest - { - - public: - DeleteLiveDetectNotifyConfigRequest(); - ~DeleteLiveDetectNotifyConfigRequest(); - - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string securityToken_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEDETECTNOTIFYCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEDETECTNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEDETECTNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLiveDetectNotifyConfigRequest : public RpcServiceRequest { +public: + DeleteLiveDetectNotifyConfigRequest(); + ~DeleteLiveDetectNotifyConfigRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string securityToken_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEDETECTNOTIFYCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLiveDomainMappingRequest.h b/live/include/alibabacloud/live/model/DeleteLiveDomainMappingRequest.h index d938704c8..8c6e35cf8 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveDomainMappingRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveDomainMappingRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINMAPPINGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINMAPPINGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveDomainMappingRequest : public RpcServiceRequest - { - - public: - DeleteLiveDomainMappingRequest(); - ~DeleteLiveDomainMappingRequest(); - - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getPushDomain()const; - void setPushDomain(const std::string& pushDomain); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getPullDomain()const; - void setPullDomain(const std::string& pullDomain); - - private: - std::string securityToken_; - std::string pushDomain_; - long ownerId_; - std::string pullDomain_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINMAPPINGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINMAPPINGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINMAPPINGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLiveDomainMappingRequest : public RpcServiceRequest { +public: + DeleteLiveDomainMappingRequest(); + ~DeleteLiveDomainMappingRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getPushDomain() const; + void setPushDomain(const std::string &pushDomain); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getPullDomain() const; + void setPullDomain(const std::string &pullDomain); + +private: + std::string securityToken_; + std::string pushDomain_; + long ownerId_; + std::string pullDomain_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINMAPPINGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLiveDomainPlayMappingRequest.h b/live/include/alibabacloud/live/model/DeleteLiveDomainPlayMappingRequest.h index 6a8e6a7f7..6339a6535 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveDomainPlayMappingRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveDomainPlayMappingRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINPLAYMAPPINGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINPLAYMAPPINGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveDomainPlayMappingRequest : public RpcServiceRequest - { - - public: - DeleteLiveDomainPlayMappingRequest(); - ~DeleteLiveDomainPlayMappingRequest(); - - std::string getPlayDomain()const; - void setPlayDomain(const std::string& playDomain); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getPullDomain()const; - void setPullDomain(const std::string& pullDomain); - - private: - std::string playDomain_; - long ownerId_; - std::string pullDomain_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINPLAYMAPPINGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINPLAYMAPPINGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINPLAYMAPPINGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLiveDomainPlayMappingRequest : public RpcServiceRequest { +public: + DeleteLiveDomainPlayMappingRequest(); + ~DeleteLiveDomainPlayMappingRequest(); + std::string getPlayDomain() const; + void setPlayDomain(const std::string &playDomain); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getPullDomain() const; + void setPullDomain(const std::string &pullDomain); + +private: + std::string playDomain_; + long ownerId_; + std::string pullDomain_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINPLAYMAPPINGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLiveDomainRequest.h b/live/include/alibabacloud/live/model/DeleteLiveDomainRequest.h index 18cb7703d..63904c46f 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveDomainRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveDomainRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveDomainRequest : public RpcServiceRequest - { - - public: - DeleteLiveDomainRequest(); - ~DeleteLiveDomainRequest(); - - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); - 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 ownerAccount_; - std::string domainName_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLiveDomainRequest : public RpcServiceRequest { +public: + DeleteLiveDomainRequest(); + ~DeleteLiveDomainRequest(); + std::string getOwnerAccount() const; + void setOwnerAccount(const std::string &ownerAccount); + 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 ownerAccount_; + std::string domainName_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEDOMAINREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLiveEdgeTransferRequest.h b/live/include/alibabacloud/live/model/DeleteLiveEdgeTransferRequest.h index 2c2b22142..0fe381626 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveEdgeTransferRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveEdgeTransferRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEEDGETRANSFERREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEEDGETRANSFERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveEdgeTransferRequest : public RpcServiceRequest - { - - public: - DeleteLiveEdgeTransferRequest(); - ~DeleteLiveEdgeTransferRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEEDGETRANSFERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEEDGETRANSFERREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEEDGETRANSFERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLiveEdgeTransferRequest : public RpcServiceRequest { +public: + DeleteLiveEdgeTransferRequest(); + ~DeleteLiveEdgeTransferRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEEDGETRANSFERREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigRequest.h index c13e03d20..5c7c1db41 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveLazyPullStreamInfoConfigRequest : public RpcServiceRequest - { - - public: - DeleteLiveLazyPullStreamInfoConfigRequest(); - ~DeleteLiveLazyPullStreamInfoConfigRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getAppName()const; - void setAppName(const std::string& appName); - - private: - std::string domainName_; - long ownerId_; - std::string appName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLiveLazyPullStreamInfoConfigRequest : public RpcServiceRequest { +public: + DeleteLiveLazyPullStreamInfoConfigRequest(); + ~DeleteLiveLazyPullStreamInfoConfigRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getAppName() const; + void setAppName(const std::string &appName); + +private: + std::string domainName_; + long ownerId_; + std::string appName_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigRequest.h index 34299e361..6c8a36e93 100644 --- a/live/include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEPULLSTREAMINFOCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEPULLSTREAMINFOCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLivePullStreamInfoConfigRequest : public RpcServiceRequest - { - - public: - DeleteLivePullStreamInfoConfigRequest(); - ~DeleteLivePullStreamInfoConfigRequest(); - - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string appName_; - std::string streamName_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEPULLSTREAMINFOCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEPULLSTREAMINFOCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEPULLSTREAMINFOCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLivePullStreamInfoConfigRequest : public RpcServiceRequest { +public: + DeleteLivePullStreamInfoConfigRequest(); + ~DeleteLivePullStreamInfoConfigRequest(); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string appName_; + std::string streamName_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEPULLSTREAMINFOCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLiveRealTimeLogLogstoreRequest.h b/live/include/alibabacloud/live/model/DeleteLiveRealTimeLogLogstoreRequest.h index 71a8f5d61..c7f4e3ace 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveRealTimeLogLogstoreRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveRealTimeLogLogstoreRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEREALTIMELOGLOGSTOREREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEREALTIMELOGLOGSTOREREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveRealTimeLogLogstoreRequest : public RpcServiceRequest - { - - public: - DeleteLiveRealTimeLogLogstoreRequest(); - ~DeleteLiveRealTimeLogLogstoreRequest(); - - std::string getProject()const; - void setProject(const std::string& project); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getRegion()const; - void setRegion(const std::string& region); - std::string getLogstore()const; - void setLogstore(const std::string& logstore); - - private: - std::string project_; - long ownerId_; - std::string region_; - std::string logstore_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEREALTIMELOGLOGSTOREREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEREALTIMELOGLOGSTOREREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEREALTIMELOGLOGSTOREREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLiveRealTimeLogLogstoreRequest : public RpcServiceRequest { +public: + DeleteLiveRealTimeLogLogstoreRequest(); + ~DeleteLiveRealTimeLogLogstoreRequest(); + std::string getProject() const; + void setProject(const std::string &project); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getRegion() const; + void setRegion(const std::string ®ion); + std::string getLogstore() const; + void setLogstore(const std::string &logstore); + +private: + std::string project_; + long ownerId_; + std::string region_; + std::string logstore_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEREALTIMELOGLOGSTOREREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLiveRealtimeLogDeliveryRequest.h b/live/include/alibabacloud/live/model/DeleteLiveRealtimeLogDeliveryRequest.h index 20ab8c92b..2f1a9baa4 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveRealtimeLogDeliveryRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveRealtimeLogDeliveryRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEREALTIMELOGDELIVERYREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEREALTIMELOGDELIVERYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveRealtimeLogDeliveryRequest : public RpcServiceRequest - { - - public: - DeleteLiveRealtimeLogDeliveryRequest(); - ~DeleteLiveRealtimeLogDeliveryRequest(); - - std::string getProject()const; - void setProject(const std::string& project); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getRegion()const; - void setRegion(const std::string& region); - std::string getLogstore()const; - void setLogstore(const std::string& logstore); - - private: - std::string project_; - std::string domainName_; - long ownerId_; - std::string region_; - std::string logstore_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEREALTIMELOGDELIVERYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEREALTIMELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEREALTIMELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLiveRealtimeLogDeliveryRequest : public RpcServiceRequest { +public: + DeleteLiveRealtimeLogDeliveryRequest(); + ~DeleteLiveRealtimeLogDeliveryRequest(); + std::string getProject() const; + void setProject(const std::string &project); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getRegion() const; + void setRegion(const std::string ®ion); + std::string getLogstore() const; + void setLogstore(const std::string &logstore); + +private: + std::string project_; + std::string domainName_; + long ownerId_; + std::string region_; + std::string logstore_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEREALTIMELOGDELIVERYREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigRequest.h index 1886d9de7..b74c3e873 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVERECORDNOTIFYCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVERECORDNOTIFYCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveRecordNotifyConfigRequest : public RpcServiceRequest - { - - public: - DeleteLiveRecordNotifyConfigRequest(); - ~DeleteLiveRecordNotifyConfigRequest(); - - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string securityToken_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVERECORDNOTIFYCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVERECORDNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVERECORDNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLiveRecordNotifyConfigRequest : public RpcServiceRequest { +public: + DeleteLiveRecordNotifyConfigRequest(); + ~DeleteLiveRecordNotifyConfigRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string securityToken_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVERECORDNOTIFYCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLiveRecordVodConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveRecordVodConfigRequest.h index e6e41f74b..c055d9e6f 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveRecordVodConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveRecordVodConfigRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVERECORDVODCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVERECORDVODCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveRecordVodConfigRequest : public RpcServiceRequest - { - - public: - DeleteLiveRecordVodConfigRequest(); - ~DeleteLiveRecordVodConfigRequest(); - - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string appName_; - std::string streamName_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVERECORDVODCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVERECORDVODCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVERECORDVODCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLiveRecordVodConfigRequest : public RpcServiceRequest { +public: + DeleteLiveRecordVodConfigRequest(); + ~DeleteLiveRecordVodConfigRequest(); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string appName_; + std::string streamName_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVERECORDVODCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigRequest.h index 83a6803b5..818160c8a 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveSnapshotDetectPornConfigRequest : public RpcServiceRequest - { - - public: - DeleteLiveSnapshotDetectPornConfigRequest(); - ~DeleteLiveSnapshotDetectPornConfigRequest(); - - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string appName_; - std::string securityToken_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLiveSnapshotDetectPornConfigRequest : public RpcServiceRequest { +public: + DeleteLiveSnapshotDetectPornConfigRequest(); + ~DeleteLiveSnapshotDetectPornConfigRequest(); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string appName_; + std::string securityToken_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLiveSpecificStagingConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveSpecificStagingConfigRequest.h index cd8b73676..2685487b1 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveSpecificStagingConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveSpecificStagingConfigRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVESPECIFICSTAGINGCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESPECIFICSTAGINGCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveSpecificStagingConfigRequest : public RpcServiceRequest - { - - public: - DeleteLiveSpecificStagingConfigRequest(); - ~DeleteLiveSpecificStagingConfigRequest(); - - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getConfigId()const; - void setConfigId(const std::string& configId); - - private: - std::string securityToken_; - std::string domainName_; - long ownerId_; - std::string configId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESPECIFICSTAGINGCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVESPECIFICSTAGINGCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESPECIFICSTAGINGCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLiveSpecificStagingConfigRequest : public RpcServiceRequest { +public: + DeleteLiveSpecificStagingConfigRequest(); + ~DeleteLiveSpecificStagingConfigRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getConfigId() const; + void setConfigId(const std::string &configId); + +private: + std::string securityToken_; + std::string domainName_; + long ownerId_; + std::string configId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESPECIFICSTAGINGCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLiveStreamMonitorRequest.h b/live/include/alibabacloud/live/model/DeleteLiveStreamMonitorRequest.h index 246a9291f..88394f61d 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveStreamMonitorRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamMonitorRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMMONITORREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMMONITORREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveStreamMonitorRequest : public RpcServiceRequest - { - - public: - DeleteLiveStreamMonitorRequest(); - ~DeleteLiveStreamMonitorRequest(); - - std::string getMonitorId()const; - void setMonitorId(const std::string& monitorId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string monitorId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMMONITORREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMMONITORREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMMONITORREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLiveStreamMonitorRequest : public RpcServiceRequest { +public: + DeleteLiveStreamMonitorRequest(); + ~DeleteLiveStreamMonitorRequest(); + std::string getMonitorId() const; + void setMonitorId(const std::string &monitorId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string monitorId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMMONITORREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLiveStreamRecordIndexFilesRequest.h b/live/include/alibabacloud/live/model/DeleteLiveStreamRecordIndexFilesRequest.h index 88d0131e4..f44845c12 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveStreamRecordIndexFilesRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamRecordIndexFilesRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMRECORDINDEXFILESREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMRECORDINDEXFILESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveStreamRecordIndexFilesRequest : public RpcServiceRequest - { - - public: - DeleteLiveStreamRecordIndexFilesRequest(); - ~DeleteLiveStreamRecordIndexFilesRequest(); - - std::string getRemoveFile()const; - void setRemoveFile(const std::string& removeFile); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::vector getRecordId()const; - void setRecordId(const std::vector& recordId); - - private: - std::string removeFile_; - std::string appName_; - std::string streamName_; - std::string domainName_; - long ownerId_; - std::vector recordId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMRECORDINDEXFILESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMRECORDINDEXFILESREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMRECORDINDEXFILESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLiveStreamRecordIndexFilesRequest : public RpcServiceRequest { +public: + DeleteLiveStreamRecordIndexFilesRequest(); + ~DeleteLiveStreamRecordIndexFilesRequest(); + std::string getRemoveFile() const; + void setRemoveFile(const std::string &removeFile); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::vector getRecordId() const; + void setRecordId(const std::vector &recordId); + +private: + std::string removeFile_; + std::string appName_; + std::string streamName_; + std::string domainName_; + long ownerId_; + std::vector recordId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMRECORDINDEXFILESREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLiveStreamTranscodeRequest.h b/live/include/alibabacloud/live/model/DeleteLiveStreamTranscodeRequest.h index f3b50574e..b02ec5c59 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveStreamTranscodeRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamTranscodeRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMTRANSCODEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMTRANSCODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveStreamTranscodeRequest : public RpcServiceRequest - { - - public: - DeleteLiveStreamTranscodeRequest(); - ~DeleteLiveStreamTranscodeRequest(); - - std::string get_Template()const; - void set_Template(const std::string& _template); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getApp()const; - void setApp(const std::string& app); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getDomain()const; - void setDomain(const std::string& domain); - - private: - std::string _template_; - std::string securityToken_; - std::string app_; - long ownerId_; - std::string domain_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMTRANSCODEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMTRANSCODEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMTRANSCODEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLiveStreamTranscodeRequest : public RpcServiceRequest { +public: + DeleteLiveStreamTranscodeRequest(); + ~DeleteLiveStreamTranscodeRequest(); + std::string get_Template() const; + void set_Template(const std::string &_template); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getApp() const; + void setApp(const std::string &app); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getDomain() const; + void setDomain(const std::string &domain); + +private: + std::string _template_; + std::string securityToken_; + std::string app_; + long ownerId_; + std::string domain_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMTRANSCODEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLiveStreamWatermarkRequest.h b/live/include/alibabacloud/live/model/DeleteLiveStreamWatermarkRequest.h index 9b485b1d0..b9fe686a1 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveStreamWatermarkRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamWatermarkRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMWATERMARKREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMWATERMARKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveStreamWatermarkRequest : public RpcServiceRequest - { - - public: - DeleteLiveStreamWatermarkRequest(); - ~DeleteLiveStreamWatermarkRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getTemplateId()const; - void setTemplateId(const std::string& templateId); - - private: - long ownerId_; - std::string templateId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMWATERMARKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMWATERMARKREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMWATERMARKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLiveStreamWatermarkRequest : public RpcServiceRequest { +public: + DeleteLiveStreamWatermarkRequest(); + ~DeleteLiveStreamWatermarkRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getTemplateId() const; + void setTemplateId(const std::string &templateId); + +private: + long ownerId_; + std::string templateId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMWATERMARKREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLiveStreamWatermarkRuleRequest.h b/live/include/alibabacloud/live/model/DeleteLiveStreamWatermarkRuleRequest.h index 8b2ae9dac..9ab5ab73a 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveStreamWatermarkRuleRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamWatermarkRuleRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMWATERMARKRULEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMWATERMARKRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveStreamWatermarkRuleRequest : public RpcServiceRequest - { - - public: - DeleteLiveStreamWatermarkRuleRequest(); - ~DeleteLiveStreamWatermarkRuleRequest(); - - std::string getStream()const; - void setStream(const std::string& stream); - std::string getApp()const; - void setApp(const std::string& app); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getDomain()const; - void setDomain(const std::string& domain); - std::string getRuleId()const; - void setRuleId(const std::string& ruleId); - - private: - std::string stream_; - std::string app_; - long ownerId_; - std::string domain_; - std::string ruleId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMWATERMARKRULEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMWATERMARKRULEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMWATERMARKRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLiveStreamWatermarkRuleRequest : public RpcServiceRequest { +public: + DeleteLiveStreamWatermarkRuleRequest(); + ~DeleteLiveStreamWatermarkRuleRequest(); + std::string getStream() const; + void setStream(const std::string &stream); + std::string getApp() const; + void setApp(const std::string &app); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getDomain() const; + void setDomain(const std::string &domain); + std::string getRuleId() const; + void setRuleId(const std::string &ruleId); + +private: + std::string stream_; + std::string app_; + long ownerId_; + std::string domain_; + std::string ruleId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMWATERMARKRULEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.h index dd69e115e..a1279394c 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteLiveStreamsNotifyUrlConfigRequest : public RpcServiceRequest - { - - public: - DeleteLiveStreamsNotifyUrlConfigRequest(); - ~DeleteLiveStreamsNotifyUrlConfigRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLiveStreamsNotifyUrlConfigRequest : public RpcServiceRequest { +public: + DeleteLiveStreamsNotifyUrlConfigRequest(); + ~DeleteLiveStreamsNotifyUrlConfigRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteMessageAppRequest.h b/live/include/alibabacloud/live/model/DeleteMessageAppRequest.h new file mode 100644 index 000000000..e48b6596a --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteMessageAppRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEMESSAGEAPPREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETEMESSAGEAPPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteMessageAppRequest : public RpcServiceRequest { +public: + DeleteMessageAppRequest(); + ~DeleteMessageAppRequest(); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string appId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETEMESSAGEAPPREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveUserQuotaRequest.h b/live/include/alibabacloud/live/model/DeleteMessageAppResult.h similarity index 55% rename from live/include/alibabacloud/live/model/DescribeLiveUserQuotaRequest.h rename to live/include/alibabacloud/live/model/DeleteMessageAppResult.h index 21d9d6500..b56455372 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveUserQuotaRequest.h +++ b/live/include/alibabacloud/live/model/DeleteMessageAppResult.h @@ -14,12 +14,13 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERQUOTAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERQUOTAREQUEST_H_ +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEMESSAGEAPPRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETEMESSAGEAPPRESULT_H_ #include #include -#include +#include +#include #include namespace AlibabaCloud @@ -28,24 +29,27 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveUserQuotaRequest : public RpcServiceRequest + class ALIBABACLOUD_LIVE_EXPORT DeleteMessageAppResult : public ServiceResult { - public: - DescribeLiveUserQuotaRequest(); - ~DescribeLiveUserQuotaRequest(); + struct Result + { + bool success; + }; - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - private: - long ownerId_; - std::string securityToken_; + DeleteMessageAppResult(); + explicit DeleteMessageAppResult(const std::string &payload); + ~DeleteMessageAppResult(); + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + Result result_; }; } } } -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERQUOTAREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETEMESSAGEAPPRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteMixStreamRequest.h b/live/include/alibabacloud/live/model/DeleteMixStreamRequest.h index 462a6a364..ba1f5634d 100644 --- a/live/include/alibabacloud/live/model/DeleteMixStreamRequest.h +++ b/live/include/alibabacloud/live/model/DeleteMixStreamRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEMIXSTREAMREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETEMIXSTREAMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteMixStreamRequest : public RpcServiceRequest - { - - public: - DeleteMixStreamRequest(); - ~DeleteMixStreamRequest(); - - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getMixStreamId()const; - void setMixStreamId(const std::string& mixStreamId); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string appName_; - std::string streamName_; - std::string mixStreamId_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETEMIXSTREAMREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEMIXSTREAMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETEMIXSTREAMREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteMixStreamRequest : public RpcServiceRequest { +public: + DeleteMixStreamRequest(); + ~DeleteMixStreamRequest(); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getMixStreamId() const; + void setMixStreamId(const std::string &mixStreamId); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string appName_; + std::string streamName_; + std::string mixStreamId_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETEMIXSTREAMREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteMultiRateConfigRequest.h b/live/include/alibabacloud/live/model/DeleteMultiRateConfigRequest.h index 7a1e8b9b2..6958045e9 100644 --- a/live/include/alibabacloud/live/model/DeleteMultiRateConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteMultiRateConfigRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEMULTIRATECONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETEMULTIRATECONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteMultiRateConfigRequest : public RpcServiceRequest - { - - public: - DeleteMultiRateConfigRequest(); - ~DeleteMultiRateConfigRequest(); - - std::string getDeleteAll()const; - void setDeleteAll(const std::string& deleteAll); - std::string getApp()const; - void setApp(const std::string& app); - std::string getGroupId()const; - void setGroupId(const std::string& groupId); - std::string getTemplates()const; - void setTemplates(const std::string& templates); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string deleteAll_; - std::string app_; - std::string groupId_; - std::string templates_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETEMULTIRATECONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEMULTIRATECONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETEMULTIRATECONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteMultiRateConfigRequest : public RpcServiceRequest { +public: + DeleteMultiRateConfigRequest(); + ~DeleteMultiRateConfigRequest(); + std::string getDeleteAll() const; + void setDeleteAll(const std::string &deleteAll); + std::string getApp() const; + void setApp(const std::string &app); + std::string getGroupId() const; + void setGroupId(const std::string &groupId); + std::string getTemplates() const; + void setTemplates(const std::string &templates); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string deleteAll_; + std::string app_; + std::string groupId_; + std::string templates_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETEMULTIRATECONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeletePlaylistItemsRequest.h b/live/include/alibabacloud/live/model/DeletePlaylistItemsRequest.h index 3a3c17630..2cb58963c 100644 --- a/live/include/alibabacloud/live/model/DeletePlaylistItemsRequest.h +++ b/live/include/alibabacloud/live/model/DeletePlaylistItemsRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEPLAYLISTITEMSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETEPLAYLISTITEMSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeletePlaylistItemsRequest : public RpcServiceRequest - { - - public: - DeletePlaylistItemsRequest(); - ~DeletePlaylistItemsRequest(); - - std::string getProgramItemIds()const; - void setProgramItemIds(const std::string& programItemIds); - std::string getProgramId()const; - void setProgramId(const std::string& programId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string programItemIds_; - std::string programId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETEPLAYLISTITEMSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEPLAYLISTITEMSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETEPLAYLISTITEMSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeletePlaylistItemsRequest : public RpcServiceRequest { +public: + DeletePlaylistItemsRequest(); + ~DeletePlaylistItemsRequest(); + std::string getProgramItemIds() const; + void setProgramItemIds(const std::string &programItemIds); + std::string getProgramId() const; + void setProgramId(const std::string &programId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string programItemIds_; + std::string programId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETEPLAYLISTITEMSREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeletePlaylistRequest.h b/live/include/alibabacloud/live/model/DeletePlaylistRequest.h index 4008c90e3..d361a3df7 100644 --- a/live/include/alibabacloud/live/model/DeletePlaylistRequest.h +++ b/live/include/alibabacloud/live/model/DeletePlaylistRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEPLAYLISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETEPLAYLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeletePlaylistRequest : public RpcServiceRequest - { - - public: - DeletePlaylistRequest(); - ~DeletePlaylistRequest(); - - std::string getProgramId()const; - void setProgramId(const std::string& programId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string programId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETEPLAYLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEPLAYLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETEPLAYLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeletePlaylistRequest : public RpcServiceRequest { +public: + DeletePlaylistRequest(); + ~DeletePlaylistRequest(); + std::string getProgramId() const; + void setProgramId(const std::string &programId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string programId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETEPLAYLISTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteRoomRequest.h b/live/include/alibabacloud/live/model/DeleteRoomRequest.h index b8d9bd6dc..364f5744e 100644 --- a/live/include/alibabacloud/live/model/DeleteRoomRequest.h +++ b/live/include/alibabacloud/live/model/DeleteRoomRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEROOMREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETEROOMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteRoomRequest : public RpcServiceRequest - { - - public: - DeleteRoomRequest(); - ~DeleteRoomRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getRoomId()const; - void setRoomId(const std::string& roomId); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - long ownerId_; - std::string roomId_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETEROOMREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEROOMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETEROOMREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteRoomRequest : public RpcServiceRequest { +public: + DeleteRoomRequest(); + ~DeleteRoomRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getRoomId() const; + void setRoomId(const std::string &roomId); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + long ownerId_; + std::string roomId_; + std::string appId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETEROOMREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteSnapshotCallbackAuthRequest.h b/live/include/alibabacloud/live/model/DeleteSnapshotCallbackAuthRequest.h index edbbdab77..0cb1e8481 100644 --- a/live/include/alibabacloud/live/model/DeleteSnapshotCallbackAuthRequest.h +++ b/live/include/alibabacloud/live/model/DeleteSnapshotCallbackAuthRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETESNAPSHOTCALLBACKAUTHREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETESNAPSHOTCALLBACKAUTHREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteSnapshotCallbackAuthRequest : public RpcServiceRequest - { - - public: - DeleteSnapshotCallbackAuthRequest(); - ~DeleteSnapshotCallbackAuthRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETESNAPSHOTCALLBACKAUTHREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETESNAPSHOTCALLBACKAUTHREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETESNAPSHOTCALLBACKAUTHREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteSnapshotCallbackAuthRequest : public RpcServiceRequest { +public: + DeleteSnapshotCallbackAuthRequest(); + ~DeleteSnapshotCallbackAuthRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETESNAPSHOTCALLBACKAUTHREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteSnapshotFilesRequest.h b/live/include/alibabacloud/live/model/DeleteSnapshotFilesRequest.h index ca6a3959b..83d94291c 100644 --- a/live/include/alibabacloud/live/model/DeleteSnapshotFilesRequest.h +++ b/live/include/alibabacloud/live/model/DeleteSnapshotFilesRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETESNAPSHOTFILESREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETESNAPSHOTFILESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteSnapshotFilesRequest : public RpcServiceRequest - { - - public: - DeleteSnapshotFilesRequest(); - ~DeleteSnapshotFilesRequest(); - - bool getRemoveFile()const; - void setRemoveFile(bool removeFile); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::vector getCreateTimestampList()const; - void setCreateTimestampList(const std::vector& createTimestampList); - - private: - bool removeFile_; - std::string appName_; - std::string streamName_; - std::string domainName_; - long ownerId_; - std::vector createTimestampList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETESNAPSHOTFILESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETESNAPSHOTFILESREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETESNAPSHOTFILESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteSnapshotFilesRequest : public RpcServiceRequest { +public: + DeleteSnapshotFilesRequest(); + ~DeleteSnapshotFilesRequest(); + bool getRemoveFile() const; + void setRemoveFile(bool removeFile); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::vector getCreateTimestampList() const; + void setCreateTimestampList(const std::vector &createTimestampList); + +private: + bool removeFile_; + std::string appName_; + std::string streamName_; + std::string domainName_; + long ownerId_; + std::vector createTimestampList_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETESNAPSHOTFILESREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteStudioLayoutRequest.h b/live/include/alibabacloud/live/model/DeleteStudioLayoutRequest.h index 0713f020e..490211280 100644 --- a/live/include/alibabacloud/live/model/DeleteStudioLayoutRequest.h +++ b/live/include/alibabacloud/live/model/DeleteStudioLayoutRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETESTUDIOLAYOUTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETESTUDIOLAYOUTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DeleteStudioLayoutRequest : public RpcServiceRequest - { - - public: - DeleteStudioLayoutRequest(); - ~DeleteStudioLayoutRequest(); - - std::string getLayoutId()const; - void setLayoutId(const std::string& layoutId); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string layoutId_; - std::string casterId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DELETESTUDIOLAYOUTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETESTUDIOLAYOUTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETESTUDIOLAYOUTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteStudioLayoutRequest : public RpcServiceRequest { +public: + DeleteStudioLayoutRequest(); + ~DeleteStudioLayoutRequest(); + std::string getLayoutId() const; + void setLayoutId(const std::string &layoutId); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string layoutId_; + std::string casterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETESTUDIOLAYOUTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeAutoShowListTasksRequest.h b/live/include/alibabacloud/live/model/DescribeAutoShowListTasksRequest.h index eaff89bd7..0819d8f30 100644 --- a/live/include/alibabacloud/live/model/DescribeAutoShowListTasksRequest.h +++ b/live/include/alibabacloud/live/model/DescribeAutoShowListTasksRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEAUTOSHOWLISTTASKSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEAUTOSHOWLISTTASKSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeAutoShowListTasksRequest : public RpcServiceRequest - { - - public: - DescribeAutoShowListTasksRequest(); - ~DescribeAutoShowListTasksRequest(); - - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string casterId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEAUTOSHOWLISTTASKSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEAUTOSHOWLISTTASKSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEAUTOSHOWLISTTASKSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeAutoShowListTasksRequest : public RpcServiceRequest { +public: + DescribeAutoShowListTasksRequest(); + ~DescribeAutoShowListTasksRequest(); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string casterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEAUTOSHOWLISTTASKSREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeCasterChannelsRequest.h b/live/include/alibabacloud/live/model/DescribeCasterChannelsRequest.h index a1180cf5d..54a793194 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterChannelsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterChannelsRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCHANNELSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCHANNELSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeCasterChannelsRequest : public RpcServiceRequest - { - - public: - DescribeCasterChannelsRequest(); - ~DescribeCasterChannelsRequest(); - - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string casterId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCHANNELSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCHANNELSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCHANNELSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeCasterChannelsRequest : public RpcServiceRequest { +public: + DescribeCasterChannelsRequest(); + ~DescribeCasterChannelsRequest(); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string casterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCHANNELSREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeCasterComponentsRequest.h b/live/include/alibabacloud/live/model/DescribeCasterComponentsRequest.h index df408ecd5..a7b70e31d 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterComponentsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterComponentsRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCOMPONENTSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCOMPONENTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeCasterComponentsRequest : public RpcServiceRequest - { - - public: - DescribeCasterComponentsRequest(); - ~DescribeCasterComponentsRequest(); - - std::string getComponentId()const; - void setComponentId(const std::string& componentId); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string componentId_; - std::string casterId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCOMPONENTSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCOMPONENTSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCOMPONENTSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeCasterComponentsRequest : public RpcServiceRequest { +public: + DescribeCasterComponentsRequest(); + ~DescribeCasterComponentsRequest(); + std::string getComponentId() const; + void setComponentId(const std::string &componentId); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string componentId_; + std::string casterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCOMPONENTSREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeCasterComponentsResult.h b/live/include/alibabacloud/live/model/DescribeCasterComponentsResult.h index 751450625..f432b6274 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterComponentsResult.h +++ b/live/include/alibabacloud/live/model/DescribeCasterComponentsResult.h @@ -47,8 +47,8 @@ namespace AlibabaCloud float borderWidthNormalized; float sizeNormalized; std::string color; - std::string fontName; std::string borderColor; + std::string fontName; std::string text; }; struct ImageLayerContent @@ -59,10 +59,10 @@ namespace AlibabaCloud { float borderWidthNormalized; std::string color; - std::string locationId; std::string sourceLan; - bool showSourceLan; std::string borderColor; + std::string locationId; + bool showSourceLan; int wordCountPerLine; int ptsOffset; float sizeNormalized; @@ -77,8 +77,8 @@ namespace AlibabaCloud std::string componentType; ComponentLayer componentLayer; std::string locationId; - std::string componentName; std::string effect; + std::string componentName; std::string componentId; ImageLayerContent imageLayerContent; }; diff --git a/live/include/alibabacloud/live/model/DescribeCasterConfigRequest.h b/live/include/alibabacloud/live/model/DescribeCasterConfigRequest.h index f033ad471..967a9d20a 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterConfigRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeCasterConfigRequest : public RpcServiceRequest - { - - public: - DescribeCasterConfigRequest(); - ~DescribeCasterConfigRequest(); - - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string casterId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeCasterConfigRequest : public RpcServiceRequest { +public: + DescribeCasterConfigRequest(); + ~DescribeCasterConfigRequest(); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string casterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeCasterConfigResult.h b/live/include/alibabacloud/live/model/DescribeCasterConfigResult.h index 0e2ca3351..e31855146 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterConfigResult.h +++ b/live/include/alibabacloud/live/model/DescribeCasterConfigResult.h @@ -63,36 +63,38 @@ namespace AlibabaCloud ~DescribeCasterConfigResult(); int getChannelEnable()const; std::string getDomainName()const; - std::string getSideOutputUrlList()const; std::string getUrgentMaterialId()const; + std::string getSideOutputUrlList()const; TranscodeConfig getTranscodeConfig()const; std::string getProgramName()const; float getDelay()const; - std::string getSideOutputUrl()const; std::string getCallbackUrl()const; + std::string getSideOutputUrl()const; std::string getCasterName()const; int getProgramEffect()const; std::vector getSyncGroupsConfig()const; std::string getCasterId()const; RecordConfig getRecordConfig()const; + std::string getUrgentLiveStreamUrl()const; protected: void parse(const std::string &payload); private: int channelEnable_; std::string domainName_; - std::string sideOutputUrlList_; std::string urgentMaterialId_; + std::string sideOutputUrlList_; TranscodeConfig transcodeConfig_; std::string programName_; float delay_; - std::string sideOutputUrl_; std::string callbackUrl_; + std::string sideOutputUrl_; std::string casterName_; int programEffect_; std::vector syncGroupsConfig_; std::string casterId_; RecordConfig recordConfig_; + std::string urgentLiveStreamUrl_; }; } diff --git a/live/include/alibabacloud/live/model/DescribeCasterLayoutsRequest.h b/live/include/alibabacloud/live/model/DescribeCasterLayoutsRequest.h index c6c5709d2..d8ba00f7d 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterLayoutsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterLayoutsRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERLAYOUTSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERLAYOUTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeCasterLayoutsRequest : public RpcServiceRequest - { - - public: - DescribeCasterLayoutsRequest(); - ~DescribeCasterLayoutsRequest(); - - std::string getLayoutId()const; - void setLayoutId(const std::string& layoutId); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string layoutId_; - std::string casterId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERLAYOUTSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERLAYOUTSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERLAYOUTSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeCasterLayoutsRequest : public RpcServiceRequest { +public: + DescribeCasterLayoutsRequest(); + ~DescribeCasterLayoutsRequest(); + std::string getLayoutId() const; + void setLayoutId(const std::string &layoutId); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string layoutId_; + std::string casterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERLAYOUTSREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeCasterProgramRequest.h b/live/include/alibabacloud/live/model/DescribeCasterProgramRequest.h index dc598bf18..6a5d8cbba 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterProgramRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterProgramRequest.h @@ -1,72 +1,66 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERPROGRAMREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERPROGRAMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeCasterProgramRequest : public RpcServiceRequest - { - - public: - DescribeCasterProgramRequest(); - ~DescribeCasterProgramRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - int getPageNum()const; - void setPageNum(int pageNum); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - std::string getEpisodeType()const; - void setEpisodeType(const std::string& episodeType); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getEpisodeId()const; - void setEpisodeId(const std::string& episodeId); - int getStatus()const; - void setStatus(int status); - - private: - std::string startTime_; - int pageNum_; - int pageSize_; - std::string casterId_; - std::string episodeType_; - std::string endTime_; - long ownerId_; - std::string episodeId_; - int status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERPROGRAMREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERPROGRAMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERPROGRAMREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeCasterProgramRequest : public RpcServiceRequest { +public: + DescribeCasterProgramRequest(); + ~DescribeCasterProgramRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + int getPageNum() const; + void setPageNum(int pageNum); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + std::string getEpisodeType() const; + void setEpisodeType(const std::string &episodeType); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getEpisodeId() const; + void setEpisodeId(const std::string &episodeId); + int getStatus() const; + void setStatus(int status); + +private: + std::string startTime_; + int pageNum_; + int pageSize_; + std::string casterId_; + std::string episodeType_; + std::string endTime_; + long ownerId_; + std::string episodeId_; + int status_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERPROGRAMREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeCasterProgramResult.h b/live/include/alibabacloud/live/model/DescribeCasterProgramResult.h index 04ca87b5d..c060a9498 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterProgramResult.h +++ b/live/include/alibabacloud/live/model/DescribeCasterProgramResult.h @@ -34,13 +34,13 @@ namespace AlibabaCloud public: struct Episode { - std::string switchType; int status; + std::string switchType; std::vector componentIds; std::string endTime; std::string resourceId; - std::string episodeType; std::string startTime; + std::string episodeType; std::string episodeId; std::string episodeName; }; @@ -52,8 +52,8 @@ namespace AlibabaCloud int getProgramEffect()const; int getTotal()const; std::vector getEpisodes()const; - std::string getCasterId()const; std::string getProgramName()const; + std::string getCasterId()const; protected: void parse(const std::string &payload); @@ -61,8 +61,8 @@ namespace AlibabaCloud int programEffect_; int total_; std::vector episodes_; - std::string casterId_; std::string programName_; + std::string casterId_; }; } diff --git a/live/include/alibabacloud/live/model/DescribeCasterSceneAudioRequest.h b/live/include/alibabacloud/live/model/DescribeCasterSceneAudioRequest.h index b512867a4..7e7406ff6 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterSceneAudioRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterSceneAudioRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENEAUDIOREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENEAUDIOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeCasterSceneAudioRequest : public RpcServiceRequest - { - - public: - DescribeCasterSceneAudioRequest(); - ~DescribeCasterSceneAudioRequest(); - - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSceneId()const; - void setSceneId(const std::string& sceneId); - - private: - std::string casterId_; - long ownerId_; - std::string sceneId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENEAUDIOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENEAUDIOREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENEAUDIOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeCasterSceneAudioRequest : public RpcServiceRequest { +public: + DescribeCasterSceneAudioRequest(); + ~DescribeCasterSceneAudioRequest(); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSceneId() const; + void setSceneId(const std::string &sceneId); + +private: + std::string casterId_; + long ownerId_; + std::string sceneId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENEAUDIOREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeCasterScenesRequest.h b/live/include/alibabacloud/live/model/DescribeCasterScenesRequest.h index 2255360f0..8bd497f26 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterScenesRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterScenesRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENESREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeCasterScenesRequest : public RpcServiceRequest - { - - public: - DescribeCasterScenesRequest(); - ~DescribeCasterScenesRequest(); - - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSceneId()const; - void setSceneId(const std::string& sceneId); - - private: - std::string casterId_; - long ownerId_; - std::string sceneId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENESREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeCasterScenesRequest : public RpcServiceRequest { +public: + DescribeCasterScenesRequest(); + ~DescribeCasterScenesRequest(); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSceneId() const; + void setSceneId(const std::string &sceneId); + +private: + std::string casterId_; + long ownerId_; + std::string sceneId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENESREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeCasterScenesResult.h b/live/include/alibabacloud/live/model/DescribeCasterScenesResult.h index 0f0c7ce52..1cbe2e975 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterScenesResult.h +++ b/live/include/alibabacloud/live/model/DescribeCasterScenesResult.h @@ -37,11 +37,11 @@ namespace AlibabaCloud struct StreamInfo { std::string outputStreamUrl; - std::string transcodeConfig; std::string videoFormat; + std::string transcodeConfig; }; - std::string sceneId; int status; + std::string sceneId; std::vector componentIds; std::string sceneName; std::string layoutId; diff --git a/live/include/alibabacloud/live/model/DescribeCasterStreamUrlRequest.h b/live/include/alibabacloud/live/model/DescribeCasterStreamUrlRequest.h index b5c78986d..2a8fb24f1 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterStreamUrlRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterStreamUrlRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSTREAMURLREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSTREAMURLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeCasterStreamUrlRequest : public RpcServiceRequest - { - - public: - DescribeCasterStreamUrlRequest(); - ~DescribeCasterStreamUrlRequest(); - - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string casterId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSTREAMURLREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSTREAMURLREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSTREAMURLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeCasterStreamUrlRequest : public RpcServiceRequest { +public: + DescribeCasterStreamUrlRequest(); + ~DescribeCasterStreamUrlRequest(); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string casterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSTREAMURLREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeCasterStreamUrlResult.h b/live/include/alibabacloud/live/model/DescribeCasterStreamUrlResult.h index 7de50a860..60ad1d6b3 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterStreamUrlResult.h +++ b/live/include/alibabacloud/live/model/DescribeCasterStreamUrlResult.h @@ -37,8 +37,8 @@ namespace AlibabaCloud struct StreamInfo { std::string outputStreamUrl; - std::string transcodeConfig; std::string videoFormat; + std::string transcodeConfig; }; std::string sceneId; std::vector streamInfos; diff --git a/live/include/alibabacloud/live/model/DescribeCasterSyncGroupRequest.h b/live/include/alibabacloud/live/model/DescribeCasterSyncGroupRequest.h index 30434c898..b74ecce64 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterSyncGroupRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterSyncGroupRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSYNCGROUPREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSYNCGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeCasterSyncGroupRequest : public RpcServiceRequest - { - - public: - DescribeCasterSyncGroupRequest(); - ~DescribeCasterSyncGroupRequest(); - - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string casterId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSYNCGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSYNCGROUPREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSYNCGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeCasterSyncGroupRequest : public RpcServiceRequest { +public: + DescribeCasterSyncGroupRequest(); + ~DescribeCasterSyncGroupRequest(); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string casterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSYNCGROUPREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesRequest.h b/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesRequest.h index d17e545b3..9b7a4dab2 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERVIDEORESOURCESREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERVIDEORESOURCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeCasterVideoResourcesRequest : public RpcServiceRequest - { - - public: - DescribeCasterVideoResourcesRequest(); - ~DescribeCasterVideoResourcesRequest(); - - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string casterId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERVIDEORESOURCESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERVIDEORESOURCESREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERVIDEORESOURCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeCasterVideoResourcesRequest : public RpcServiceRequest { +public: + DescribeCasterVideoResourcesRequest(); + ~DescribeCasterVideoResourcesRequest(); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string casterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERVIDEORESOURCESREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeCastersRequest.h b/live/include/alibabacloud/live/model/DescribeCastersRequest.h index 4750f6ab6..753648868 100644 --- a/live/include/alibabacloud/live/model/DescribeCastersRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCastersRequest.h @@ -1,75 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeCastersRequest : public RpcServiceRequest - { - - public: - DescribeCastersRequest(); - ~DescribeCastersRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - int getPageNum()const; - void setPageNum(int pageNum); - std::string getCasterName()const; - void setCasterName(const std::string& casterName); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getOrderByModifyAsc()const; - void setOrderByModifyAsc(const std::string& orderByModifyAsc); - int getChargeType()const; - void setChargeType(int chargeType); - int getStatus()const; - void setStatus(int status); - - private: - std::string startTime_; - int pageNum_; - std::string casterName_; - int pageSize_; - std::string casterId_; - std::string endTime_; - long ownerId_; - std::string orderByModifyAsc_; - int chargeType_; - int status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeCastersRequest : public RpcServiceRequest { +public: + DescribeCastersRequest(); + ~DescribeCastersRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + int getPageNum() const; + void setPageNum(int pageNum); + std::string getCasterName() const; + void setCasterName(const std::string &casterName); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getNormType() const; + void setNormType(const std::string &normType); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getOrderByModifyAsc() const; + void setOrderByModifyAsc(const std::string &orderByModifyAsc); + int getChargeType() const; + void setChargeType(int chargeType); + int getStatus() const; + void setStatus(int status); + +private: + std::string startTime_; + int pageNum_; + std::string casterName_; + int pageSize_; + std::string normType_; + std::string casterId_; + std::string endTime_; + long ownerId_; + std::string orderByModifyAsc_; + int chargeType_; + int status_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeDomainUsageDataRequest.h b/live/include/alibabacloud/live/model/DescribeDomainUsageDataRequest.h index 0df1f7dc2..582fe4419 100644 --- a/live/include/alibabacloud/live/model/DescribeDomainUsageDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeDomainUsageDataRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEDOMAINUSAGEDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEDOMAINUSAGEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeDomainUsageDataRequest : public RpcServiceRequest - { - - public: - DescribeDomainUsageDataRequest(); - ~DescribeDomainUsageDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getType()const; - void setType(const std::string& type); - std::string getArea()const; - void setArea(const std::string& area); - 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); - std::string getField()const; - void setField(const std::string& field); - std::string getInterval()const; - void setInterval(const std::string& interval); - - private: - std::string startTime_; - std::string type_; - std::string area_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string field_; - std::string interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEDOMAINUSAGEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEDOMAINUSAGEDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEDOMAINUSAGEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeDomainUsageDataRequest : public RpcServiceRequest { +public: + DescribeDomainUsageDataRequest(); + ~DescribeDomainUsageDataRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getType() const; + void setType(const std::string &type); + std::string getArea() const; + void setArea(const std::string &area); + 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); + std::string getField() const; + void setField(const std::string &field); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + std::string startTime_; + std::string type_; + std::string area_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string field_; + std::string interval_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEDOMAINUSAGEDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeDomainWithIntegrityRequest.h b/live/include/alibabacloud/live/model/DescribeDomainWithIntegrityRequest.h index d8adf3f47..68b72f277 100644 --- a/live/include/alibabacloud/live/model/DescribeDomainWithIntegrityRequest.h +++ b/live/include/alibabacloud/live/model/DescribeDomainWithIntegrityRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEDOMAINWITHINTEGRITYREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEDOMAINWITHINTEGRITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeDomainWithIntegrityRequest : public RpcServiceRequest - { - - public: - DescribeDomainWithIntegrityRequest(); - ~DescribeDomainWithIntegrityRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - float getIntegrity()const; - void setIntegrity(float integrity); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - float integrity_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEDOMAINWITHINTEGRITYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEDOMAINWITHINTEGRITYREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEDOMAINWITHINTEGRITYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeDomainWithIntegrityRequest : public RpcServiceRequest { +public: + DescribeDomainWithIntegrityRequest(); + ~DescribeDomainWithIntegrityRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + float getIntegrity() const; + void setIntegrity(float integrity); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string startTime_; + float integrity_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEDOMAINWITHINTEGRITYREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeForbidPushStreamRoomListRequest.h b/live/include/alibabacloud/live/model/DescribeForbidPushStreamRoomListRequest.h index 0b14cadc6..9ad15bb8b 100644 --- a/live/include/alibabacloud/live/model/DescribeForbidPushStreamRoomListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeForbidPushStreamRoomListRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEFORBIDPUSHSTREAMROOMLISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEFORBIDPUSHSTREAMROOMLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeForbidPushStreamRoomListRequest : public RpcServiceRequest - { - - public: - DescribeForbidPushStreamRoomListRequest(); - ~DescribeForbidPushStreamRoomListRequest(); - - int getPageNum()const; - void setPageNum(int pageNum); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getOrder()const; - void setOrder(const std::string& order); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - int pageNum_; - int pageSize_; - std::string order_; - long ownerId_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEFORBIDPUSHSTREAMROOMLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEFORBIDPUSHSTREAMROOMLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEFORBIDPUSHSTREAMROOMLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeForbidPushStreamRoomListRequest : public RpcServiceRequest { +public: + DescribeForbidPushStreamRoomListRequest(); + ~DescribeForbidPushStreamRoomListRequest(); + int getPageNum() const; + void setPageNum(int pageNum); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getOrder() const; + void setOrder(const std::string &order); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + int pageNum_; + int pageSize_; + std::string order_; + long ownerId_; + std::string appId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEFORBIDPUSHSTREAMROOMLISTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.h b/live/include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.h index f5b326372..54b4af6b4 100644 --- a/live/include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEHLSLIVESTREAMREALTIMEBPSDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEHLSLIVESTREAMREALTIMEBPSDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeHlsLiveStreamRealTimeBpsDataRequest : public RpcServiceRequest - { - - public: - DescribeHlsLiveStreamRealTimeBpsDataRequest(); - ~DescribeHlsLiveStreamRealTimeBpsDataRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getTime()const; - void setTime(const std::string& time); - - private: - std::string domainName_; - long ownerId_; - std::string time_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEHLSLIVESTREAMREALTIMEBPSDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEHLSLIVESTREAMREALTIMEBPSDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEHLSLIVESTREAMREALTIMEBPSDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeHlsLiveStreamRealTimeBpsDataRequest : public RpcServiceRequest { +public: + DescribeHlsLiveStreamRealTimeBpsDataRequest(); + ~DescribeHlsLiveStreamRealTimeBpsDataRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getTime() const; + void setTime(const std::string &time); + +private: + std::string domainName_; + long ownerId_; + std::string time_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEHLSLIVESTREAMREALTIMEBPSDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveAudioAuditConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveAudioAuditConfigRequest.h index 446bed2eb..2f7b67123 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveAudioAuditConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveAudioAuditConfigRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEAUDIOAUDITCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEAUDIOAUDITCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveAudioAuditConfigRequest : public RpcServiceRequest - { - - public: - DescribeLiveAudioAuditConfigRequest(); - ~DescribeLiveAudioAuditConfigRequest(); - - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string appName_; - std::string streamName_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEAUDIOAUDITCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEAUDIOAUDITCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEAUDIOAUDITCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveAudioAuditConfigRequest : public RpcServiceRequest { +public: + DescribeLiveAudioAuditConfigRequest(); + ~DescribeLiveAudioAuditConfigRequest(); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string appName_; + std::string streamName_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEAUDIOAUDITCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveAudioAuditNotifyConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveAudioAuditNotifyConfigRequest.h index d3d905450..daae063d1 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveAudioAuditNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveAudioAuditNotifyConfigRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveAudioAuditNotifyConfigRequest : public RpcServiceRequest - { - - public: - DescribeLiveAudioAuditNotifyConfigRequest(); - ~DescribeLiveAudioAuditNotifyConfigRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveAudioAuditNotifyConfigRequest : public RpcServiceRequest { +public: + DescribeLiveAudioAuditNotifyConfigRequest(); + ~DescribeLiveAudioAuditNotifyConfigRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveCertificateDetailRequest.h b/live/include/alibabacloud/live/model/DescribeLiveCertificateDetailRequest.h index 3bf6cf86e..bc1201954 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveCertificateDetailRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveCertificateDetailRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATEDETAILREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATEDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveCertificateDetailRequest : public RpcServiceRequest - { - - public: - DescribeLiveCertificateDetailRequest(); - ~DescribeLiveCertificateDetailRequest(); - - std::string getCertName()const; - void setCertName(const std::string& certName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - - private: - std::string certName_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATEDETAILREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATEDETAILREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATEDETAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveCertificateDetailRequest : public RpcServiceRequest { +public: + DescribeLiveCertificateDetailRequest(); + ~DescribeLiveCertificateDetailRequest(); + std::string getCertName() const; + void setCertName(const std::string &certName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + +private: + std::string certName_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATEDETAILREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveCertificateDetailResult.h b/live/include/alibabacloud/live/model/DescribeLiveCertificateDetailResult.h index 84b2a7136..17656c0cb 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveCertificateDetailResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveCertificateDetailResult.h @@ -38,15 +38,15 @@ namespace AlibabaCloud explicit DescribeLiveCertificateDetailResult(const std::string &payload); ~DescribeLiveCertificateDetailResult(); long getCertId()const; - std::string getCert()const; std::string getCertName()const; + std::string getCert()const; protected: void parse(const std::string &payload); private: long certId_; - std::string cert_; std::string certName_; + std::string cert_; }; } diff --git a/live/include/alibabacloud/live/model/DescribeLiveCertificateListRequest.h b/live/include/alibabacloud/live/model/DescribeLiveCertificateListRequest.h index 1152c381b..ef4cb2af0 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveCertificateListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveCertificateListRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATELISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATELISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveCertificateListRequest : public RpcServiceRequest - { - - public: - DescribeLiveCertificateListRequest(); - ~DescribeLiveCertificateListRequest(); - - std::string 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 domainName_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATELISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATELISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATELISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveCertificateListRequest : public RpcServiceRequest { +public: + DescribeLiveCertificateListRequest(); + ~DescribeLiveCertificateListRequest(); + 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 domainName_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATELISTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigRequest.h index c02103bb9..9dd69b998 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDETECTNOTIFYCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDETECTNOTIFYCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDetectNotifyConfigRequest : public RpcServiceRequest - { - - public: - DescribeLiveDetectNotifyConfigRequest(); - ~DescribeLiveDetectNotifyConfigRequest(); - - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string securityToken_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDETECTNOTIFYCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDETECTNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDETECTNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDetectNotifyConfigRequest : public RpcServiceRequest { +public: + DescribeLiveDetectNotifyConfigRequest(); + ~DescribeLiveDetectNotifyConfigRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string securityToken_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDETECTNOTIFYCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDetectPornDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDetectPornDataRequest.h index 373fdf067..6d4d12f37 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDetectPornDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDetectPornDataRequest.h @@ -1,75 +1,69 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDETECTPORNDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDETECTPORNDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDetectPornDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveDetectPornDataRequest(); - ~DescribeLiveDetectPornDataRequest(); - - std::string getFee()const; - void setFee(const std::string& fee); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getScene()const; - void setScene(const std::string& scene); - std::string getStream()const; - void setStream(const std::string& stream); - std::string getSplitBy()const; - void setSplitBy(const std::string& splitBy); - std::string getApp()const; - void setApp(const std::string& app); - 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); - std::string getRegion()const; - void setRegion(const std::string& region); - - private: - std::string fee_; - std::string startTime_; - std::string scene_; - std::string stream_; - std::string splitBy_; - std::string app_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string region_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDETECTPORNDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDETECTPORNDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDETECTPORNDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDetectPornDataRequest : public RpcServiceRequest { +public: + DescribeLiveDetectPornDataRequest(); + ~DescribeLiveDetectPornDataRequest(); + std::string getFee() const; + void setFee(const std::string &fee); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getScene() const; + void setScene(const std::string &scene); + std::string getStream() const; + void setStream(const std::string &stream); + std::string getSplitBy() const; + void setSplitBy(const std::string &splitBy); + std::string getApp() const; + void setApp(const std::string &app); + 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); + std::string getRegion() const; + void setRegion(const std::string ®ion); + +private: + std::string fee_; + std::string startTime_; + std::string scene_; + std::string stream_; + std::string splitBy_; + std::string app_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string region_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDETECTPORNDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataByLayerRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataByLayerRequest.h index 9796bc9a4..0acae8696 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataByLayerRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataByLayerRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATABYLAYERREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATABYLAYERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainBpsDataByLayerRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainBpsDataByLayerRequest(); - ~DescribeLiveDomainBpsDataByLayerRequest(); - - std::string getLocationNameEn()const; - void setLocationNameEn(const std::string& locationNameEn); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getIspNameEn()const; - void setIspNameEn(const std::string& ispNameEn); - std::string getLayer()const; - void setLayer(const std::string& layer); - 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); - std::string getInterval()const; - void setInterval(const std::string& interval); - - private: - std::string locationNameEn_; - std::string startTime_; - std::string ispNameEn_; - std::string layer_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATABYLAYERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATABYLAYERREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATABYLAYERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainBpsDataByLayerRequest : public RpcServiceRequest { +public: + DescribeLiveDomainBpsDataByLayerRequest(); + ~DescribeLiveDomainBpsDataByLayerRequest(); + std::string getLocationNameEn() const; + void setLocationNameEn(const std::string &locationNameEn); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getIspNameEn() const; + void setIspNameEn(const std::string &ispNameEn); + std::string getLayer() const; + void setLayer(const std::string &layer); + 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); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string layer_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATABYLAYERREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataByTimeStampRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataByTimeStampRequest.h index 518c4c1ab..900ff164c 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataByTimeStampRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataByTimeStampRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATABYTIMESTAMPREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATABYTIMESTAMPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainBpsDataByTimeStampRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainBpsDataByTimeStampRequest(); - ~DescribeLiveDomainBpsDataByTimeStampRequest(); - - std::string getLocationNames()const; - void setLocationNames(const std::string& locationNames); - std::string getIspNames()const; - void setIspNames(const std::string& ispNames); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getTimePoint()const; - void setTimePoint(const std::string& timePoint); - - private: - std::string locationNames_; - std::string ispNames_; - std::string domainName_; - long ownerId_; - std::string timePoint_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATABYTIMESTAMPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATABYTIMESTAMPREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATABYTIMESTAMPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainBpsDataByTimeStampRequest : public RpcServiceRequest { +public: + DescribeLiveDomainBpsDataByTimeStampRequest(); + ~DescribeLiveDomainBpsDataByTimeStampRequest(); + std::string getLocationNames() const; + void setLocationNames(const std::string &locationNames); + std::string getIspNames() const; + void setIspNames(const std::string &ispNames); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getTimePoint() const; + void setTimePoint(const std::string &timePoint); + +private: + std::string locationNames_; + std::string ispNames_; + std::string domainName_; + long ownerId_; + std::string timePoint_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATABYTIMESTAMPREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataRequest.h index 4344233b4..c858552cc 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainBpsDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainBpsDataRequest(); - ~DescribeLiveDomainBpsDataRequest(); - - std::string getLocationNameEn()const; - void setLocationNameEn(const std::string& locationNameEn); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getIspNameEn()const; - void setIspNameEn(const std::string& ispNameEn); - 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); - std::string getInterval()const; - void setInterval(const std::string& interval); - - private: - std::string locationNameEn_; - std::string startTime_; - std::string ispNameEn_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainBpsDataRequest : public RpcServiceRequest { +public: + DescribeLiveDomainBpsDataRequest(); + ~DescribeLiveDomainBpsDataRequest(); + std::string getLocationNameEn() const; + void setLocationNameEn(const std::string &locationNameEn); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getIspNameEn() const; + void setIspNameEn(const std::string &ispNameEn); + 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); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainCertificateInfoRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainCertificateInfoRequest.h index 75665b0e6..3a64eff41 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainCertificateInfoRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainCertificateInfoRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINCERTIFICATEINFOREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINCERTIFICATEINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainCertificateInfoRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainCertificateInfoRequest(); - ~DescribeLiveDomainCertificateInfoRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINCERTIFICATEINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINCERTIFICATEINFOREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINCERTIFICATEINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainCertificateInfoRequest : public RpcServiceRequest { +public: + DescribeLiveDomainCertificateInfoRequest(); + ~DescribeLiveDomainCertificateInfoRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINCERTIFICATEINFOREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainConfigsRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainConfigsRequest.h index d96562ba1..64f11ea48 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainConfigsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainConfigsRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINCONFIGSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINCONFIGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainConfigsRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainConfigsRequest(); - ~DescribeLiveDomainConfigsRequest(); - - std::string getFunctionNames()const; - void setFunctionNames(const std::string& functionNames); - std::string 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 functionNames_; - std::string domainName_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINCONFIGSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINCONFIGSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINCONFIGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainConfigsRequest : public RpcServiceRequest { +public: + DescribeLiveDomainConfigsRequest(); + ~DescribeLiveDomainConfigsRequest(); + std::string getFunctionNames() const; + void setFunctionNames(const std::string &functionNames); + std::string 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 functionNames_; + std::string domainName_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINCONFIGSREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainDetailRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainDetailRequest.h index 1ea08db0f..9b7946621 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainDetailRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainDetailRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINDETAILREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainDetailRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainDetailRequest(); - ~DescribeLiveDomainDetailRequest(); - - std::string 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 domainName_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINDETAILREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINDETAILREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINDETAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainDetailRequest : public RpcServiceRequest { +public: + DescribeLiveDomainDetailRequest(); + ~DescribeLiveDomainDetailRequest(); + 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 domainName_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINDETAILREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainFrameRateAndBitRateDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainFrameRateAndBitRateDataRequest.h index e5db33cc2..4ca03dfe9 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainFrameRateAndBitRateDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainFrameRateAndBitRateDataRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINFRAMERATEANDBITRATEDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINFRAMERATEANDBITRATEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainFrameRateAndBitRateDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainFrameRateAndBitRateDataRequest(); - ~DescribeLiveDomainFrameRateAndBitRateDataRequest(); - - std::string getQueryTime()const; - void setQueryTime(const std::string& queryTime); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string queryTime_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINFRAMERATEANDBITRATEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINFRAMERATEANDBITRATEDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINFRAMERATEANDBITRATEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainFrameRateAndBitRateDataRequest : public RpcServiceRequest { +public: + DescribeLiveDomainFrameRateAndBitRateDataRequest(); + ~DescribeLiveDomainFrameRateAndBitRateDataRequest(); + std::string getQueryTime() const; + void setQueryTime(const std::string &queryTime); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string queryTime_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINFRAMERATEANDBITRATEDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainLimitRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainLimitRequest.h index 42e6ace07..35dd28c69 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainLimitRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainLimitRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINLIMITREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINLIMITREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainLimitRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainLimitRequest(); - ~DescribeLiveDomainLimitRequest(); - - std::string getLiveapiRequestFrom()const; - void setLiveapiRequestFrom(const std::string& liveapiRequestFrom); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string liveapiRequestFrom_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINLIMITREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINLIMITREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINLIMITREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainLimitRequest : public RpcServiceRequest { +public: + DescribeLiveDomainLimitRequest(); + ~DescribeLiveDomainLimitRequest(); + std::string getLiveapiRequestFrom() const; + void setLiveapiRequestFrom(const std::string &liveapiRequestFrom); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string liveapiRequestFrom_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINLIMITREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainLimitResult.h b/live/include/alibabacloud/live/model/DescribeLiveDomainLimitResult.h index cb983d59c..98288140e 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainLimitResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainLimitResult.h @@ -35,7 +35,11 @@ namespace AlibabaCloud struct LiveDomainLimit { int limitTranscodeNum; + int currentNum; + int limitTransferNum; std::string domainName; + int currentTransferNum; + int currentTranscodeNum; int limitNum; }; diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainLogRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainLogRequest.h index 5b54a6fff..19daf3ef7 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainLogRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainLogRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINLOGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINLOGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainLogRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainLogRequest(); - ~DescribeLiveDomainLogRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - long getPageNumber()const; - void setPageNumber(long pageNumber); - long getPageSize()const; - void setPageSize(long pageSize); - 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_; - long pageNumber_; - long pageSize_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINLOGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINLOGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINLOGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainLogRequest : public RpcServiceRequest { +public: + DescribeLiveDomainLogRequest(); + ~DescribeLiveDomainLogRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + long getPageNumber() const; + void setPageNumber(long pageNumber); + long getPageSize() const; + void setPageSize(long pageSize); + 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_; + long pageNumber_; + long pageSize_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINLOGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainMappingRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainMappingRequest.h index d2111a74c..111653f25 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainMappingRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainMappingRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINMAPPINGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINMAPPINGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainMappingRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainMappingRequest(); - ~DescribeLiveDomainMappingRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINMAPPINGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINMAPPINGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINMAPPINGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainMappingRequest : public RpcServiceRequest { +public: + DescribeLiveDomainMappingRequest(); + ~DescribeLiveDomainMappingRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINMAPPINGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainOnlineUserNumRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainOnlineUserNumRequest.h index 66e16270a..9a861cd98 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainOnlineUserNumRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainOnlineUserNumRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINONLINEUSERNUMREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINONLINEUSERNUMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainOnlineUserNumRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainOnlineUserNumRequest(); - ~DescribeLiveDomainOnlineUserNumRequest(); - - std::string getQueryTime()const; - void setQueryTime(const std::string& queryTime); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string queryTime_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINONLINEUSERNUMREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINONLINEUSERNUMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINONLINEUSERNUMREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainOnlineUserNumRequest : public RpcServiceRequest { +public: + DescribeLiveDomainOnlineUserNumRequest(); + ~DescribeLiveDomainOnlineUserNumRequest(); + std::string getQueryTime() const; + void setQueryTime(const std::string &queryTime); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string queryTime_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINONLINEUSERNUMREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainPushBpsDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainPushBpsDataRequest.h index d3673a549..02967928a 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainPushBpsDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainPushBpsDataRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINPUSHBPSDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINPUSHBPSDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainPushBpsDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainPushBpsDataRequest(); - ~DescribeLiveDomainPushBpsDataRequest(); - - std::string getLocationNameEn()const; - void setLocationNameEn(const std::string& locationNameEn); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getIspNameEn()const; - void setIspNameEn(const std::string& ispNameEn); - 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); - std::string getInterval()const; - void setInterval(const std::string& interval); - - private: - std::string locationNameEn_; - std::string startTime_; - std::string ispNameEn_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINPUSHBPSDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINPUSHBPSDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINPUSHBPSDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainPushBpsDataRequest : public RpcServiceRequest { +public: + DescribeLiveDomainPushBpsDataRequest(); + ~DescribeLiveDomainPushBpsDataRequest(); + std::string getLocationNameEn() const; + void setLocationNameEn(const std::string &locationNameEn); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getIspNameEn() const; + void setIspNameEn(const std::string &ispNameEn); + 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); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINPUSHBPSDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainPushTrafficDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainPushTrafficDataRequest.h index 82c79a38a..73f9234d0 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainPushTrafficDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainPushTrafficDataRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINPUSHTRAFFICDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINPUSHTRAFFICDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainPushTrafficDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainPushTrafficDataRequest(); - ~DescribeLiveDomainPushTrafficDataRequest(); - - std::string getLocationNameEn()const; - void setLocationNameEn(const std::string& locationNameEn); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getIspNameEn()const; - void setIspNameEn(const std::string& ispNameEn); - 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); - std::string getInterval()const; - void setInterval(const std::string& interval); - - private: - std::string locationNameEn_; - std::string startTime_; - std::string ispNameEn_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINPUSHTRAFFICDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINPUSHTRAFFICDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINPUSHTRAFFICDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainPushTrafficDataRequest : public RpcServiceRequest { +public: + DescribeLiveDomainPushTrafficDataRequest(); + ~DescribeLiveDomainPushTrafficDataRequest(); + std::string getLocationNameEn() const; + void setLocationNameEn(const std::string &locationNameEn); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getIspNameEn() const; + void setIspNameEn(const std::string &ispNameEn); + 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); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINPUSHTRAFFICDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainPvUvDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainPvUvDataRequest.h index 25666f9f3..1ee128678 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainPvUvDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainPvUvDataRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINPVUVDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINPVUVDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainPvUvDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainPvUvDataRequest(); - ~DescribeLiveDomainPvUvDataRequest(); - - 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); - - private: - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINPVUVDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINPVUVDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINPVUVDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainPvUvDataRequest : public RpcServiceRequest { +public: + DescribeLiveDomainPvUvDataRequest(); + ~DescribeLiveDomainPvUvDataRequest(); + 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); + +private: + std::string startTime_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINPVUVDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeBpsDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeBpsDataRequest.h index 2cb9e33bf..c54550ba0 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeBpsDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeBpsDataRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEBPSDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEBPSDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRealTimeBpsDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainRealTimeBpsDataRequest(); - ~DescribeLiveDomainRealTimeBpsDataRequest(); - - std::string getLocationNameEn()const; - void setLocationNameEn(const std::string& locationNameEn); - std::string getIspNameEn()const; - void setIspNameEn(const std::string& ispNameEn); - 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); - - private: - std::string locationNameEn_; - std::string ispNameEn_; - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEBPSDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEBPSDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEBPSDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRealTimeBpsDataRequest : public RpcServiceRequest { +public: + DescribeLiveDomainRealTimeBpsDataRequest(); + ~DescribeLiveDomainRealTimeBpsDataRequest(); + std::string getLocationNameEn() const; + void setLocationNameEn(const std::string &locationNameEn); + std::string getIspNameEn() const; + void setIspNameEn(const std::string &ispNameEn); + 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); + +private: + std::string locationNameEn_; + std::string ispNameEn_; + std::string startTime_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEBPSDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.h index ceb104b90..d19710921 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEHTTPCODEDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEHTTPCODEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRealTimeHttpCodeDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainRealTimeHttpCodeDataRequest(); - ~DescribeLiveDomainRealTimeHttpCodeDataRequest(); - - std::string getLocationNameEn()const; - void setLocationNameEn(const std::string& locationNameEn); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getIspNameEn()const; - void setIspNameEn(const std::string& ispNameEn); - 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 locationNameEn_; - std::string startTime_; - std::string ispNameEn_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEHTTPCODEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEHTTPCODEDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEHTTPCODEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRealTimeHttpCodeDataRequest : public RpcServiceRequest { +public: + DescribeLiveDomainRealTimeHttpCodeDataRequest(); + ~DescribeLiveDomainRealTimeHttpCodeDataRequest(); + std::string getLocationNameEn() const; + void setLocationNameEn(const std::string &locationNameEn); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getIspNameEn() const; + void setIspNameEn(const std::string &ispNameEn); + 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 locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMEHTTPCODEDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeTrafficDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeTrafficDataRequest.h index b28988d5c..dd5981648 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeTrafficDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeTrafficDataRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMETRAFFICDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMETRAFFICDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRealTimeTrafficDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainRealTimeTrafficDataRequest(); - ~DescribeLiveDomainRealTimeTrafficDataRequest(); - - std::string getLocationNameEn()const; - void setLocationNameEn(const std::string& locationNameEn); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getIspNameEn()const; - void setIspNameEn(const std::string& ispNameEn); - 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 locationNameEn_; - std::string startTime_; - std::string ispNameEn_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMETRAFFICDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMETRAFFICDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMETRAFFICDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRealTimeTrafficDataRequest : public RpcServiceRequest { +public: + DescribeLiveDomainRealTimeTrafficDataRequest(); + ~DescribeLiveDomainRealTimeTrafficDataRequest(); + std::string getLocationNameEn() const; + void setLocationNameEn(const std::string &locationNameEn); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getIspNameEn() const; + void setIspNameEn(const std::string &ispNameEn); + 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 locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMETRAFFICDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRealtimeLogDeliveryRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRealtimeLogDeliveryRequest.h index 6a5a263fc..c5b62b3d5 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainRealtimeLogDeliveryRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRealtimeLogDeliveryRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMELOGDELIVERYREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMELOGDELIVERYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRealtimeLogDeliveryRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainRealtimeLogDeliveryRequest(); - ~DescribeLiveDomainRealtimeLogDeliveryRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMELOGDELIVERYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRealtimeLogDeliveryRequest : public RpcServiceRequest { +public: + DescribeLiveDomainRealtimeLogDeliveryRequest(); + ~DescribeLiveDomainRealtimeLogDeliveryRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINREALTIMELOGDELIVERYREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.h index fe2515426..7bb34fc3b 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRecordDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainRecordDataRequest(); - ~DescribeLiveDomainRecordDataRequest(); - - std::string 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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDDATAREQUEST_H_ \ No newline at end of file + */ + +#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/DescribeLiveDomainRecordUsageDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRecordUsageDataRequest.h index a9c7846d4..9e9cb2ff9 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainRecordUsageDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRecordUsageDataRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDUSAGEDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDUSAGEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRecordUsageDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainRecordUsageDataRequest(); - ~DescribeLiveDomainRecordUsageDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getSplitBy()const; - void setSplitBy(const std::string& splitBy); - 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 splitBy_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDUSAGEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDUSAGEDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDUSAGEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRecordUsageDataRequest : public RpcServiceRequest { +public: + DescribeLiveDomainRecordUsageDataRequest(); + ~DescribeLiveDomainRecordUsageDataRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getSplitBy() const; + void setSplitBy(const std::string &splitBy); + 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 splitBy_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDUSAGEDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataRequest.h index 6bdd6410f..c4a2f2f82 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSNAPSHOTDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSNAPSHOTDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainSnapshotDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainSnapshotDataRequest(); - ~DescribeLiveDomainSnapshotDataRequest(); - - std::string 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); - - private: - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSNAPSHOTDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSNAPSHOTDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSNAPSHOTDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainSnapshotDataRequest : public RpcServiceRequest { +public: + DescribeLiveDomainSnapshotDataRequest(); + ~DescribeLiveDomainSnapshotDataRequest(); + 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); + +private: + std::string startTime_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSNAPSHOTDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainSpecialConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainSpecialConfigRequest.h deleted file mode 100644 index 4c48845dc..000000000 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainSpecialConfigRequest.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_DESCRIBELIVEDOMAINSPECIALCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSPECIALCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainSpecialConfigRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainSpecialConfigRequest(); - ~DescribeLiveDomainSpecialConfigRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string domainName_; - long ownerId_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSPECIALCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainStagingConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainStagingConfigRequest.h index 18cb9b321..f6377122d 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainStagingConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainStagingConfigRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTAGINGCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTAGINGCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainStagingConfigRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainStagingConfigRequest(); - ~DescribeLiveDomainStagingConfigRequest(); - - std::string getFunctionNames()const; - void setFunctionNames(const std::string& functionNames); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string functionNames_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTAGINGCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTAGINGCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTAGINGCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainStagingConfigRequest : public RpcServiceRequest { +public: + DescribeLiveDomainStagingConfigRequest(); + ~DescribeLiveDomainStagingConfigRequest(); + std::string getFunctionNames() const; + void setFunctionNames(const std::string &functionNames); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string functionNames_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTAGINGCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainStreamTranscodeDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainStreamTranscodeDataRequest.h index c409f8ea3..93bc4dacd 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainStreamTranscodeDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainStreamTranscodeDataRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTREAMTRANSCODEDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTREAMTRANSCODEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainStreamTranscodeDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainStreamTranscodeDataRequest(); - ~DescribeLiveDomainStreamTranscodeDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getSplit()const; - void setSplit(const std::string& split); - 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); - std::string getInterval()const; - void setInterval(const std::string& interval); - - private: - std::string startTime_; - std::string split_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTREAMTRANSCODEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTREAMTRANSCODEDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTREAMTRANSCODEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainStreamTranscodeDataRequest : public RpcServiceRequest { +public: + DescribeLiveDomainStreamTranscodeDataRequest(); + ~DescribeLiveDomainStreamTranscodeDataRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getSplit() const; + void setSplit(const std::string &split); + 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); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + std::string startTime_; + std::string split_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTREAMTRANSCODEDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainTimeShiftDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainTimeShiftDataRequest.h index 34e100b9f..869ecbb2c 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainTimeShiftDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainTimeShiftDataRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTIMESHIFTDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTIMESHIFTDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainTimeShiftDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainTimeShiftDataRequest(); - ~DescribeLiveDomainTimeShiftDataRequest(); - - 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); - std::string getInterval()const; - void setInterval(const std::string& interval); - - private: - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTIMESHIFTDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTIMESHIFTDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTIMESHIFTDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainTimeShiftDataRequest : public RpcServiceRequest { +public: + DescribeLiveDomainTimeShiftDataRequest(); + ~DescribeLiveDomainTimeShiftDataRequest(); + 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); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + std::string startTime_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTIMESHIFTDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainTrafficDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainTrafficDataRequest.h index 7abc7c662..d7dc9c8fc 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainTrafficDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainTrafficDataRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRAFFICDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRAFFICDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainTrafficDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainTrafficDataRequest(); - ~DescribeLiveDomainTrafficDataRequest(); - - std::string getLocationNameEn()const; - void setLocationNameEn(const std::string& locationNameEn); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getIspNameEn()const; - void setIspNameEn(const std::string& ispNameEn); - 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); - std::string getInterval()const; - void setInterval(const std::string& interval); - - private: - std::string locationNameEn_; - std::string startTime_; - std::string ispNameEn_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRAFFICDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRAFFICDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRAFFICDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainTrafficDataRequest : public RpcServiceRequest { +public: + DescribeLiveDomainTrafficDataRequest(); + ~DescribeLiveDomainTrafficDataRequest(); + std::string getLocationNameEn() const; + void setLocationNameEn(const std::string &locationNameEn); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getIspNameEn() const; + void setIspNameEn(const std::string &ispNameEn); + 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); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRAFFICDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.h index 9de7f9f95..a575336fa 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRANSCODEDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRANSCODEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainTranscodeDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveDomainTranscodeDataRequest(); - ~DescribeLiveDomainTranscodeDataRequest(); - - std::string 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); - - private: - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRANSCODEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRANSCODEDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRANSCODEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainTranscodeDataRequest : 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); + +private: + std::string startTime_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRANSCODEDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDrmUsageDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDrmUsageDataRequest.h index 9fd306fa4..a23949b68 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDrmUsageDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDrmUsageDataRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDRMUSAGEDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDRMUSAGEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDrmUsageDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveDrmUsageDataRequest(); - ~DescribeLiveDrmUsageDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getSplitBy()const; - void setSplitBy(const std::string& splitBy); - 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); - std::string getInterval()const; - void setInterval(const std::string& interval); - - private: - std::string startTime_; - std::string splitBy_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDRMUSAGEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDRMUSAGEDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDRMUSAGEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDrmUsageDataRequest : public RpcServiceRequest { +public: + DescribeLiveDrmUsageDataRequest(); + ~DescribeLiveDrmUsageDataRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getSplitBy() const; + void setSplitBy(const std::string &splitBy); + 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); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + std::string startTime_; + std::string splitBy_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDRMUSAGEDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveEdgeTransferRequest.h b/live/include/alibabacloud/live/model/DescribeLiveEdgeTransferRequest.h index 4215a0421..1107b4540 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveEdgeTransferRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveEdgeTransferRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEEDGETRANSFERREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEEDGETRANSFERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveEdgeTransferRequest : public RpcServiceRequest - { - - public: - DescribeLiveEdgeTransferRequest(); - ~DescribeLiveEdgeTransferRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEEDGETRANSFERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEEDGETRANSFERREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEEDGETRANSFERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveEdgeTransferRequest : public RpcServiceRequest { +public: + DescribeLiveEdgeTransferRequest(); + ~DescribeLiveEdgeTransferRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEEDGETRANSFERREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigRequest.h index 64c27881b..322371688 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVELAZYPULLSTREAMCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVELAZYPULLSTREAMCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveLazyPullStreamConfigRequest : public RpcServiceRequest - { - - public: - DescribeLiveLazyPullStreamConfigRequest(); - ~DescribeLiveLazyPullStreamConfigRequest(); - - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getLiveapiRequestFrom()const; - void setLiveapiRequestFrom(const std::string& liveapiRequestFrom); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string appName_; - std::string liveapiRequestFrom_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVELAZYPULLSTREAMCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVELAZYPULLSTREAMCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVELAZYPULLSTREAMCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveLazyPullStreamConfigRequest : public RpcServiceRequest { +public: + DescribeLiveLazyPullStreamConfigRequest(); + ~DescribeLiveLazyPullStreamConfigRequest(); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getLiveapiRequestFrom() const; + void setLiveapiRequestFrom(const std::string &liveapiRequestFrom); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string appName_; + std::string liveapiRequestFrom_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVELAZYPULLSTREAMCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h index 850232dbb..f89998e81 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h @@ -35,8 +35,8 @@ namespace AlibabaCloud struct LiveLazyPullConfig { std::string pullArgs; - std::string domainName; std::string pullProtocol; + std::string domainName; std::string pullAuthKey; std::string pullAuthType; std::string pullDomainName; diff --git a/live/include/alibabacloud/live/model/DescribeLiveProducerUsageDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveProducerUsageDataRequest.h new file mode 100644 index 000000000..c006a8640 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveProducerUsageDataRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPRODUCERUSAGEDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPRODUCERUSAGEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveProducerUsageDataRequest : public RpcServiceRequest { +public: + DescribeLiveProducerUsageDataRequest(); + ~DescribeLiveProducerUsageDataRequest(); + std::string getInstance() const; + void setInstance(const std::string &instance); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getType() const; + void setType(const std::string &type); + std::string getSplitBy() const; + void setSplitBy(const std::string &splitBy); + std::string getApp() const; + void setApp(const std::string &app); + 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); + std::string getInterval() const; + void setInterval(const std::string &interval); + std::string getRegion() const; + void setRegion(const std::string ®ion); + +private: + std::string instance_; + std::string startTime_; + std::string type_; + std::string splitBy_; + std::string app_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; + std::string region_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPRODUCERUSAGEDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveProducerUsageDataResult.h b/live/include/alibabacloud/live/model/DescribeLiveProducerUsageDataResult.h new file mode 100644 index 000000000..c98becb94 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveProducerUsageDataResult.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPRODUCERUSAGEDATARESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPRODUCERUSAGEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveProducerUsageDataResult : public ServiceResult + { + public: + struct BillProducerDataItem + { + long outputHdDuration; + std::string type; + std::string instance; + std::string domainName; + std::string region; + long outputLdDuration; + long tranLdDuration; + long tranSdDuration; + long tranHdDuration; + std::string timeStamp; + long outputSdDuration; + }; + + + DescribeLiveProducerUsageDataResult(); + explicit DescribeLiveProducerUsageDataResult(const std::string &payload); + ~DescribeLiveProducerUsageDataResult(); + std::vector getBillProducerData()const; + std::string getEndTime()const; + std::string getStartTime()const; + + protected: + void parse(const std::string &payload); + private: + std::vector billProducerData_; + std::string endTime_; + std::string startTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPRODUCERUSAGEDATARESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLivePullStreamConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLivePullStreamConfigRequest.h index f38ddb2a0..2060a80f6 100644 --- a/live/include/alibabacloud/live/model/DescribeLivePullStreamConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLivePullStreamConfigRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPULLSTREAMCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPULLSTREAMCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLivePullStreamConfigRequest : public RpcServiceRequest - { - - public: - DescribeLivePullStreamConfigRequest(); - ~DescribeLivePullStreamConfigRequest(); - - std::string getLiveapiRequestFrom()const; - void setLiveapiRequestFrom(const std::string& liveapiRequestFrom); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string liveapiRequestFrom_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPULLSTREAMCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPULLSTREAMCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPULLSTREAMCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLivePullStreamConfigRequest : public RpcServiceRequest { +public: + DescribeLivePullStreamConfigRequest(); + ~DescribeLivePullStreamConfigRequest(); + std::string getLiveapiRequestFrom() const; + void setLiveapiRequestFrom(const std::string &liveapiRequestFrom); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string liveapiRequestFrom_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPULLSTREAMCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveRealtimeDeliveryAccRequest.h b/live/include/alibabacloud/live/model/DescribeLiveRealtimeDeliveryAccRequest.h index b27b5f940..365637c85 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveRealtimeDeliveryAccRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveRealtimeDeliveryAccRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEREALTIMEDELIVERYACCREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEREALTIMEDELIVERYACCREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveRealtimeDeliveryAccRequest : public RpcServiceRequest - { - - public: - DescribeLiveRealtimeDeliveryAccRequest(); - ~DescribeLiveRealtimeDeliveryAccRequest(); - - std::string getProject()const; - void setProject(const std::string& project); - 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); - std::string getInterval()const; - void setInterval(const std::string& interval); - std::string getLogStore()const; - void setLogStore(const std::string& logStore); - - private: - std::string project_; - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string interval_; - std::string logStore_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEREALTIMEDELIVERYACCREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEREALTIMEDELIVERYACCREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEREALTIMEDELIVERYACCREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveRealtimeDeliveryAccRequest : public RpcServiceRequest { +public: + DescribeLiveRealtimeDeliveryAccRequest(); + ~DescribeLiveRealtimeDeliveryAccRequest(); + std::string getProject() const; + void setProject(const std::string &project); + 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); + std::string getInterval() const; + void setInterval(const std::string &interval); + std::string getLogStore() const; + void setLogStore(const std::string &logStore); + +private: + std::string project_; + std::string startTime_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; + std::string logStore_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEREALTIMEDELIVERYACCREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveRealtimeLogAuthorizedRequest.h b/live/include/alibabacloud/live/model/DescribeLiveRealtimeLogAuthorizedRequest.h index 05f9a05cc..2ec54026d 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveRealtimeLogAuthorizedRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveRealtimeLogAuthorizedRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEREALTIMELOGAUTHORIZEDREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEREALTIMELOGAUTHORIZEDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveRealtimeLogAuthorizedRequest : public RpcServiceRequest - { - - public: - DescribeLiveRealtimeLogAuthorizedRequest(); - ~DescribeLiveRealtimeLogAuthorizedRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getLiveOpenapiReserve()const; - void setLiveOpenapiReserve(const std::string& liveOpenapiReserve); - - private: - long ownerId_; - std::string liveOpenapiReserve_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEREALTIMELOGAUTHORIZEDREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEREALTIMELOGAUTHORIZEDREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEREALTIMELOGAUTHORIZEDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveRealtimeLogAuthorizedRequest : public RpcServiceRequest { +public: + DescribeLiveRealtimeLogAuthorizedRequest(); + ~DescribeLiveRealtimeLogAuthorizedRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getLiveOpenapiReserve() const; + void setLiveOpenapiReserve(const std::string &liveOpenapiReserve); + +private: + long ownerId_; + std::string liveOpenapiReserve_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEREALTIMELOGAUTHORIZEDREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveRecordConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveRecordConfigRequest.h index a52dda42f..e2b79a6b9 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveRecordConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveRecordConfigRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveRecordConfigRequest : public RpcServiceRequest - { - - public: - DescribeLiveRecordConfigRequest(); - ~DescribeLiveRecordConfigRequest(); - - int getPageNum()const; - void setPageNum(int pageNum); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getOrder()const; - void setOrder(const std::string& order); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - int pageNum_; - std::string appName_; - std::string securityToken_; - int pageSize_; - std::string streamName_; - std::string order_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveRecordConfigRequest : public RpcServiceRequest { +public: + DescribeLiveRecordConfigRequest(); + ~DescribeLiveRecordConfigRequest(); + int getPageNum() const; + void setPageNum(int pageNum); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getOrder() const; + void setOrder(const std::string &order); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + int pageNum_; + std::string appName_; + std::string securityToken_; + int pageSize_; + std::string streamName_; + std::string order_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveRecordConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveRecordConfigResult.h index 2dd6d523c..f230f055e 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveRecordConfigResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveRecordConfigResult.h @@ -51,13 +51,13 @@ namespace AlibabaCloud std::string ossObjectPrefix; }; std::string streamName; - std::string ossEndpoint; std::string endTime; + std::string ossEndpoint; std::string domainName; std::string createTime; std::vector transcodeTemplates; - std::string ossBucket; std::string startTime; + std::string ossBucket; std::vector recordFormatList; std::vector transcodeRecordFormatList; int onDemond; @@ -71,8 +71,8 @@ namespace AlibabaCloud std::string getOrder()const; int getTotalNum()const; int getPageNum()const; - int getPageSize()const; int getTotalPage()const; + int getPageSize()const; std::vector getLiveAppRecordList()const; protected: @@ -81,8 +81,8 @@ namespace AlibabaCloud std::string order_; int totalNum_; int pageNum_; - int pageSize_; int totalPage_; + int pageSize_; std::vector liveAppRecordList_; }; diff --git a/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigRequest.h index 5239a5a5b..2a057e30b 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDNOTIFYCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDNOTIFYCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveRecordNotifyConfigRequest : public RpcServiceRequest - { - - public: - DescribeLiveRecordNotifyConfigRequest(); - ~DescribeLiveRecordNotifyConfigRequest(); - - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string securityToken_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDNOTIFYCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveRecordNotifyConfigRequest : public RpcServiceRequest { +public: + DescribeLiveRecordNotifyConfigRequest(); + ~DescribeLiveRecordNotifyConfigRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string securityToken_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDNOTIFYCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigResult.h index f40941297..0833db767 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigResult.h @@ -34,9 +34,9 @@ namespace AlibabaCloud public: struct LiveRecordNotifyConfig { - std::string domainName; - std::string onDemandUrl; bool needStatusNotify; + std::string onDemandUrl; + std::string domainName; std::string notifyUrl; }; diff --git a/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsRequest.h b/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsRequest.h index f8b124595..721edf5fa 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDVODCONFIGSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDVODCONFIGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveRecordVodConfigsRequest : public RpcServiceRequest - { - - public: - DescribeLiveRecordVodConfigsRequest(); - ~DescribeLiveRecordVodConfigsRequest(); - - long getPageNum()const; - void setPageNum(long pageNum); - std::string getAppName()const; - void setAppName(const std::string& appName); - long getPageSize()const; - void setPageSize(long pageSize); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long pageNum_; - std::string appName_; - long pageSize_; - std::string streamName_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDVODCONFIGSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDVODCONFIGSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDVODCONFIGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveRecordVodConfigsRequest : public RpcServiceRequest { +public: + DescribeLiveRecordVodConfigsRequest(); + ~DescribeLiveRecordVodConfigsRequest(); + long getPageNum() const; + void setPageNum(long pageNum); + std::string getAppName() const; + void setAppName(const std::string &appName); + long getPageSize() const; + void setPageSize(long pageSize); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + long pageNum_; + std::string appName_; + long pageSize_; + std::string streamName_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDVODCONFIGSREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsResult.h b/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsResult.h index e568277b0..6b5a5b9f7 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsResult.h @@ -36,8 +36,8 @@ namespace AlibabaCloud { std::string streamName; std::string composeVodTranscodeGroupId; - std::string domainName; std::string autoCompose; + std::string domainName; std::string createTime; int cycleDuration; std::string appName; diff --git a/live/include/alibabacloud/live/model/DescribeLiveShiftConfigsRequest.h b/live/include/alibabacloud/live/model/DescribeLiveShiftConfigsRequest.h index e38755811..1e2f3a77f 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveShiftConfigsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveShiftConfigsRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESHIFTCONFIGSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESHIFTCONFIGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveShiftConfigsRequest : public RpcServiceRequest - { - - public: - DescribeLiveShiftConfigsRequest(); - ~DescribeLiveShiftConfigsRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESHIFTCONFIGSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESHIFTCONFIGSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESHIFTCONFIGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveShiftConfigsRequest : public RpcServiceRequest { +public: + DescribeLiveShiftConfigsRequest(); + ~DescribeLiveShiftConfigsRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESHIFTCONFIGSREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigRequest.h index 5eb01354d..f9f66e474 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESNAPSHOTCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESNAPSHOTCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveSnapshotConfigRequest : public RpcServiceRequest - { - - public: - DescribeLiveSnapshotConfigRequest(); - ~DescribeLiveSnapshotConfigRequest(); - - int getPageNum()const; - void setPageNum(int pageNum); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getOrder()const; - void setOrder(const std::string& order); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - int pageNum_; - std::string appName_; - std::string securityToken_; - int pageSize_; - std::string order_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESNAPSHOTCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESNAPSHOTCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESNAPSHOTCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveSnapshotConfigRequest : public RpcServiceRequest { +public: + DescribeLiveSnapshotConfigRequest(); + ~DescribeLiveSnapshotConfigRequest(); + int getPageNum() const; + void setPageNum(int pageNum); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getOrder() const; + void setOrder(const std::string &order); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + int pageNum_; + std::string appName_; + std::string securityToken_; + int pageSize_; + std::string order_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESNAPSHOTCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigResult.h index 5d501c94e..7dfbe5dde 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigResult.h @@ -52,8 +52,8 @@ namespace AlibabaCloud std::string getOrder()const; int getTotalNum()const; int getPageNum()const; - int getPageSize()const; int getTotalPage()const; + int getPageSize()const; std::vector getLiveStreamSnapshotConfigList()const; protected: @@ -62,8 +62,8 @@ namespace AlibabaCloud std::string order_; int totalNum_; int pageNum_; - int pageSize_; int totalPage_; + int pageSize_; std::vector liveStreamSnapshotConfigList_; }; diff --git a/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigRequest.h index e286e3d08..723240f14 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveSnapshotDetectPornConfigRequest : public RpcServiceRequest - { - - public: - DescribeLiveSnapshotDetectPornConfigRequest(); - ~DescribeLiveSnapshotDetectPornConfigRequest(); - - int getPageNum()const; - void setPageNum(int pageNum); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getOrder()const; - void setOrder(const std::string& order); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - int pageNum_; - std::string appName_; - std::string securityToken_; - int pageSize_; - std::string order_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveSnapshotDetectPornConfigRequest : public RpcServiceRequest { +public: + DescribeLiveSnapshotDetectPornConfigRequest(); + ~DescribeLiveSnapshotDetectPornConfigRequest(); + int getPageNum() const; + void setPageNum(int pageNum); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getOrder() const; + void setOrder(const std::string &order); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + int pageNum_; + std::string appName_; + std::string securityToken_; + int pageSize_; + std::string order_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigResult.h index f0028876c..c65c47905 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigResult.h @@ -50,8 +50,8 @@ namespace AlibabaCloud std::string getOrder()const; int getTotalNum()const; int getPageNum()const; - int getPageSize()const; int getTotalPage()const; + int getPageSize()const; std::vector getLiveSnapshotDetectPornConfigList()const; protected: @@ -60,8 +60,8 @@ namespace AlibabaCloud std::string order_; int totalNum_; int pageNum_; - int pageSize_; int totalPage_; + int pageSize_; std::vector liveSnapshotDetectPornConfigList_; }; diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamBitRateDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamBitRateDataRequest.h index eb5b17ea3..d6d92c0d5 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamBitRateDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamBitRateDataRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMBITRATEDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMBITRATEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamBitRateDataRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamBitRateDataRequest(); - ~DescribeLiveStreamBitRateDataRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - 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 appName_; - std::string securityToken_; - std::string streamName_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMBITRATEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMBITRATEDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMBITRATEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamBitRateDataRequest : public RpcServiceRequest { +public: + DescribeLiveStreamBitRateDataRequest(); + ~DescribeLiveStreamBitRateDataRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + 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 appName_; + std::string securityToken_; + std::string streamName_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMBITRATEDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamCountRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamCountRequest.h index ebd24d55f..a3b571928 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamCountRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamCountRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMCOUNTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMCOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamCountRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamCountRequest(); - ~DescribeLiveStreamCountRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMCOUNTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMCOUNTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMCOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamCountRequest : public RpcServiceRequest { +public: + DescribeLiveStreamCountRequest(); + ~DescribeLiveStreamCountRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMCOUNTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamDelayConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamDelayConfigRequest.h index 8c65148ed..c21af9fd0 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamDelayConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamDelayConfigRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMDELAYCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMDELAYCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamDelayConfigRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamDelayConfigRequest(); - ~DescribeLiveStreamDelayConfigRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMDELAYCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMDELAYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMDELAYCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamDelayConfigRequest : public RpcServiceRequest { +public: + DescribeLiveStreamDelayConfigRequest(); + ~DescribeLiveStreamDelayConfigRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMDELAYCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumRequest.h index 0ce64a982..532232b68 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMHISTORYUSERNUMREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMHISTORYUSERNUMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamHistoryUserNumRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamHistoryUserNumRequest(); - ~DescribeLiveStreamHistoryUserNumRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - 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 appName_; - std::string securityToken_; - std::string streamName_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMHISTORYUSERNUMREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMHISTORYUSERNUMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMHISTORYUSERNUMREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamHistoryUserNumRequest : public RpcServiceRequest { +public: + DescribeLiveStreamHistoryUserNumRequest(); + ~DescribeLiveStreamHistoryUserNumRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + 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 appName_; + std::string securityToken_; + std::string streamName_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMHISTORYUSERNUMREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamMonitorListRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamMonitorListRequest.h index 6a97ccc53..e3a03ef6b 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamMonitorListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamMonitorListRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMMONITORLISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMMONITORLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamMonitorListRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamMonitorListRequest(); - ~DescribeLiveStreamMonitorListRequest(); - - std::string getMonitorId()const; - void setMonitorId(const std::string& monitorId); - int getPageNum()const; - void setPageNum(int pageNum); - int getPageSize()const; - void setPageSize(int pageSize); - long getOwnerId()const; - void setOwnerId(long ownerId); - int getOrderRule()const; - void setOrderRule(int orderRule); - int getStatus()const; - void setStatus(int status); - - private: - std::string monitorId_; - int pageNum_; - int pageSize_; - long ownerId_; - int orderRule_; - int status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMMONITORLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMMONITORLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMMONITORLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamMonitorListRequest : public RpcServiceRequest { +public: + DescribeLiveStreamMonitorListRequest(); + ~DescribeLiveStreamMonitorListRequest(); + std::string getMonitorId() const; + void setMonitorId(const std::string &monitorId); + int getPageNum() const; + void setPageNum(int pageNum); + int getPageSize() const; + void setPageSize(int pageSize); + long getOwnerId() const; + void setOwnerId(long ownerId); + int getOrderRule() const; + void setOrderRule(int orderRule); + int getStatus() const; + void setStatus(int status); + +private: + std::string monitorId_; + int pageNum_; + int pageSize_; + long ownerId_; + int orderRule_; + int status_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMMONITORLISTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamMonitorListResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamMonitorListResult.h index a6d1d13e6..f5a0c1060 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamMonitorListResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamMonitorListResult.h @@ -64,8 +64,8 @@ namespace AlibabaCloud std::string outputTemplate; int audioFrom; std::vector inputList; - std::string monitorName; std::string startTime; + std::string monitorName; std::string region; std::string domain; std::string monitorId; diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamOptimizedFeatureConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamOptimizedFeatureConfigRequest.h index 8fd788e31..2325c7995 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamOptimizedFeatureConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamOptimizedFeatureConfigRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMOPTIMIZEDFEATURECONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMOPTIMIZEDFEATURECONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamOptimizedFeatureConfigRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamOptimizedFeatureConfigRequest(); - ~DescribeLiveStreamOptimizedFeatureConfigRequest(); - - std::string getConfigName()const; - void setConfigName(const std::string& configName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string configName_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMOPTIMIZEDFEATURECONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMOPTIMIZEDFEATURECONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMOPTIMIZEDFEATURECONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamOptimizedFeatureConfigRequest : public RpcServiceRequest { +public: + DescribeLiveStreamOptimizedFeatureConfigRequest(); + ~DescribeLiveStreamOptimizedFeatureConfigRequest(); + std::string getConfigName() const; + void setConfigName(const std::string &configName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string configName_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMOPTIMIZEDFEATURECONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentRequest.h index a48ca20f5..c43f4f981 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDCONTENTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDCONTENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamRecordContentRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamRecordContentRequest(); - ~DescribeLiveStreamRecordContentRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - 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 appName_; - std::string securityToken_; - std::string streamName_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDCONTENTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDCONTENTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDCONTENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamRecordContentRequest : public RpcServiceRequest { +public: + DescribeLiveStreamRecordContentRequest(); + ~DescribeLiveStreamRecordContentRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + 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 appName_; + std::string securityToken_; + std::string streamName_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDCONTENTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentResult.h index ed8ab4a35..faf4fd335 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentResult.h @@ -34,10 +34,10 @@ namespace AlibabaCloud public: struct RecordContentInfo { - std::string ossEndpoint; std::string endTime; - std::string ossBucket; + std::string ossEndpoint; std::string startTime; + std::string ossBucket; float duration; std::string ossObjectPrefix; }; diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFileRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFileRequest.h index 15114432d..07ba12da4 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFileRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFileRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamRecordIndexFileRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamRecordIndexFileRequest(); - ~DescribeLiveStreamRecordIndexFileRequest(); - - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getRecordId()const; - void setRecordId(const std::string& recordId); - - private: - std::string appName_; - std::string securityToken_; - std::string streamName_; - std::string domainName_; - long ownerId_; - std::string recordId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamRecordIndexFileRequest : public RpcServiceRequest { +public: + DescribeLiveStreamRecordIndexFileRequest(); + ~DescribeLiveStreamRecordIndexFileRequest(); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getRecordId() const; + void setRecordId(const std::string &recordId); + +private: + std::string appName_; + std::string securityToken_; + std::string streamName_; + std::string domainName_; + long ownerId_; + std::string recordId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesRequest.h index 9c9a0591b..6d7e04f68 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesRequest.h @@ -1,75 +1,69 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILESREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamRecordIndexFilesRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamRecordIndexFilesRequest(); - ~DescribeLiveStreamRecordIndexFilesRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - int getPageNum()const; - void setPageNum(int pageNum); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getOrder()const; - void setOrder(const std::string& order); - 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_; - int pageNum_; - std::string appName_; - std::string securityToken_; - int pageSize_; - std::string streamName_; - std::string order_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILESREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamRecordIndexFilesRequest : public RpcServiceRequest { +public: + DescribeLiveStreamRecordIndexFilesRequest(); + ~DescribeLiveStreamRecordIndexFilesRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + int getPageNum() const; + void setPageNum(int pageNum); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getOrder() const; + void setOrder(const std::string &order); + 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_; + int pageNum_; + std::string appName_; + std::string securityToken_; + int pageSize_; + std::string streamName_; + std::string order_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMRECORDINDEXFILESREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesResult.h index 2e1269b1f..da799e843 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesResult.h @@ -57,8 +57,8 @@ namespace AlibabaCloud std::string getOrder()const; int getTotalNum()const; int getPageNum()const; - int getPageSize()const; int getTotalPage()const; + int getPageSize()const; std::vector getRecordIndexInfoList()const; protected: @@ -67,8 +67,8 @@ namespace AlibabaCloud std::string order_; int totalNum_; int pageNum_; - int pageSize_; int totalPage_; + int pageSize_; std::vector recordIndexInfoList_; }; diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoRequest.h index e8e44db4c..7712770fc 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoRequest.h @@ -1,72 +1,66 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSNAPSHOTINFOREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSNAPSHOTINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamSnapshotInfoRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamSnapshotInfoRequest(); - ~DescribeLiveStreamSnapshotInfoRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - int getLimit()const; - void setLimit(int limit); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getOrder()const; - void setOrder(const std::string& order); - 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 appName_; - std::string securityToken_; - int limit_; - std::string streamName_; - std::string order_; - std::string domainName_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSNAPSHOTINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSNAPSHOTINFOREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSNAPSHOTINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamSnapshotInfoRequest : public RpcServiceRequest { +public: + DescribeLiveStreamSnapshotInfoRequest(); + ~DescribeLiveStreamSnapshotInfoRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + int getLimit() const; + void setLimit(int limit); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getOrder() const; + void setOrder(const std::string &order); + 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 appName_; + std::string securityToken_; + int limit_; + std::string streamName_; + std::string order_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSNAPSHOTINFOREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoResult.h index 580a476a7..0e711e310 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoResult.h @@ -34,10 +34,12 @@ namespace AlibabaCloud public: struct LiveStreamSnapshotInfo { + bool isOverlay; std::string ossEndpoint; std::string createTime; std::string ossBucket; std::string ossObject; + long createTimestamp; }; diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamStateRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamStateRequest.h index df9909a3f..8e58a15e1 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamStateRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamStateRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSTATEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSTATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamStateRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamStateRequest(); - ~DescribeLiveStreamStateRequest(); - - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string appName_; - std::string streamName_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSTATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSTATEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSTATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamStateRequest : public RpcServiceRequest { +public: + DescribeLiveStreamStateRequest(); + ~DescribeLiveStreamStateRequest(); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string appName_; + std::string streamName_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSTATEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoRequest.h index 5d3e2c53f..59bda1b66 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMTRANSCODEINFOREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMTRANSCODEINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamTranscodeInfoRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamTranscodeInfoRequest(); - ~DescribeLiveStreamTranscodeInfoRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getDomainTranscodeName()const; - void setDomainTranscodeName(const std::string& domainTranscodeName); - - private: - long ownerId_; - std::string domainTranscodeName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMTRANSCODEINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMTRANSCODEINFOREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMTRANSCODEINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamTranscodeInfoRequest : public RpcServiceRequest { +public: + DescribeLiveStreamTranscodeInfoRequest(); + ~DescribeLiveStreamTranscodeInfoRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getDomainTranscodeName() const; + void setDomainTranscodeName(const std::string &domainTranscodeName); + +private: + long ownerId_; + std::string domainTranscodeName_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMTRANSCODEINFOREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoResult.h index 942a76a78..fc2d4f7c0 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoResult.h @@ -42,13 +42,13 @@ namespace AlibabaCloud int audioBitrate; std::string bframes; std::string audioProfile; + std::string videoProfile; std::string rtsFlag; int height; - std::string videoProfile; int audioChannelNum; int width; - std::string audioCodec; int audioRate; + std::string audioCodec; int videoBitrate; }; struct EncryptParameters @@ -59,6 +59,7 @@ namespace AlibabaCloud }; std::string transcodeTemplate; CustomTranscodeParameters customTranscodeParameters; + bool isLazy; EncryptParameters encryptParameters; std::string transcodeApp; std::string transcodeName; diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeStreamNumRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeStreamNumRequest.h index 7352eb96d..2a5c7298e 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeStreamNumRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeStreamNumRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMTRANSCODESTREAMNUMREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMTRANSCODESTREAMNUMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamTranscodeStreamNumRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamTranscodeStreamNumRequest(); - ~DescribeLiveStreamTranscodeStreamNumRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMTRANSCODESTREAMNUMREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMTRANSCODESTREAMNUMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMTRANSCODESTREAMNUMREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamTranscodeStreamNumRequest : public RpcServiceRequest { +public: + DescribeLiveStreamTranscodeStreamNumRequest(); + ~DescribeLiveStreamTranscodeStreamNumRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMTRANSCODESTREAMNUMREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamWatermarkRulesRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamWatermarkRulesRequest.h index 65589b960..500713c0f 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamWatermarkRulesRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamWatermarkRulesRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMWATERMARKRULESREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMWATERMARKRULESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamWatermarkRulesRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamWatermarkRulesRequest(); - ~DescribeLiveStreamWatermarkRulesRequest(); - - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - int pageNumber_; - int pageSize_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMWATERMARKRULESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMWATERMARKRULESREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMWATERMARKRULESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamWatermarkRulesRequest : public RpcServiceRequest { +public: + DescribeLiveStreamWatermarkRulesRequest(); + ~DescribeLiveStreamWatermarkRulesRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + int getPageSize() const; + void setPageSize(int pageSize); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + int pageNumber_; + int pageSize_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMWATERMARKRULESREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamWatermarksRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamWatermarksRequest.h index 6399f5fbb..9e8515448 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamWatermarksRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamWatermarksRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMWATERMARKSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMWATERMARKSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamWatermarksRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamWatermarksRequest(); - ~DescribeLiveStreamWatermarksRequest(); - - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - int pageNumber_; - int pageSize_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMWATERMARKSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMWATERMARKSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMWATERMARKSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamWatermarksRequest : public RpcServiceRequest { +public: + DescribeLiveStreamWatermarksRequest(); + ~DescribeLiveStreamWatermarksRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + int getPageSize() const; + void setPageSize(int pageSize); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + int pageNumber_; + int pageSize_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMWATERMARKSREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListRequest.h index b592a7abb..293156348 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSBLOCKLISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSBLOCKLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsBlockListRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamsBlockListRequest(); - ~DescribeLiveStreamsBlockListRequest(); - - int getPageNum()const; - void setPageNum(int pageNum); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - int pageNum_; - std::string securityToken_; - int pageSize_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSBLOCKLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSBLOCKLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSBLOCKLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsBlockListRequest : public RpcServiceRequest { +public: + DescribeLiveStreamsBlockListRequest(); + ~DescribeLiveStreamsBlockListRequest(); + int getPageNum() const; + void setPageNum(int pageNum); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + int pageNum_; + std::string securityToken_; + int pageSize_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSBLOCKLISTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListResult.h index 6aa04d1ac..07f0da53e 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListResult.h @@ -39,8 +39,8 @@ namespace AlibabaCloud ~DescribeLiveStreamsBlockListResult(); int getTotalNum()const; int getPageNum()const; - int getPageSize()const; int getTotalPage()const; + int getPageSize()const; std::string getDomainName()const; std::vector getStreamUrls()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud private: int totalNum_; int pageNum_; - int pageSize_; int totalPage_; + int pageSize_; std::string domainName_; std::vector streamUrls_; diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsControlHistoryRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsControlHistoryRequest.h index ba1f2303d..cb2caf92d 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsControlHistoryRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsControlHistoryRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsControlHistoryRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamsControlHistoryRequest(); - ~DescribeLiveStreamsControlHistoryRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getAppName()const; - void setAppName(const std::string& appName); - 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); - int getRows()const; - void setRows(int rows); - int getPage()const; - void setPage(int page); - - private: - std::string startTime_; - std::string appName_; - std::string domainName_; - std::string endTime_; - long ownerId_; - int rows_; - int page_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsControlHistoryRequest : public RpcServiceRequest { +public: + DescribeLiveStreamsControlHistoryRequest(); + ~DescribeLiveStreamsControlHistoryRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getAppName() const; + void setAppName(const std::string &appName); + 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); + int getRows() const; + void setRows(int rows); + int getPage() const; + void setPage(int page); + +private: + std::string startTime_; + std::string appName_; + std::string domainName_; + std::string endTime_; + long ownerId_; + int rows_; + int page_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigRequest.h index bd26f913e..32ac47b3d 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsNotifyUrlConfigRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamsNotifyUrlConfigRequest(); - ~DescribeLiveStreamsNotifyUrlConfigRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsNotifyUrlConfigRequest : public RpcServiceRequest { +public: + DescribeLiveStreamsNotifyUrlConfigRequest(); + ~DescribeLiveStreamsNotifyUrlConfigRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListRequest.h index 079cb3502..068aada74 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListRequest.h @@ -1,78 +1,75 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSONLINELISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSONLINELISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsOnlineListRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamsOnlineListRequest(); - ~DescribeLiveStreamsOnlineListRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - int getPageNum()const; - void setPageNum(int pageNum); - std::string getAppName()const; - void setAppName(const std::string& appName); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getQueryType()const; - void setQueryType(const std::string& queryType); - std::string getStreamType()const; - void setStreamType(const std::string& streamType); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - std::string getOrderBy()const; - void setOrderBy(const std::string& orderBy); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - int pageNum_; - std::string appName_; - int pageSize_; - std::string streamName_; - std::string queryType_; - std::string streamType_; - std::string domainName_; - std::string endTime_; - std::string orderBy_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSONLINELISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSONLINELISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSONLINELISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsOnlineListRequest : public RpcServiceRequest { +public: + DescribeLiveStreamsOnlineListRequest(); + ~DescribeLiveStreamsOnlineListRequest(); + std::string getOnlyStream() const; + void setOnlyStream(const std::string &onlyStream); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + int getPageNum() const; + void setPageNum(int pageNum); + std::string getAppName() const; + void setAppName(const std::string &appName); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getQueryType() const; + void setQueryType(const std::string &queryType); + std::string getStreamType() const; + void setStreamType(const std::string &streamType); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getOrderBy() const; + void setOrderBy(const std::string &orderBy); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string onlyStream_; + std::string startTime_; + int pageNum_; + std::string appName_; + int pageSize_; + std::string streamName_; + std::string queryType_; + std::string streamType_; + std::string domainName_; + std::string endTime_; + std::string orderBy_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSONLINELISTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListResult.h index aa730e88f..fd4c612fa 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListResult.h @@ -48,8 +48,8 @@ namespace AlibabaCloud std::string streamName; std::string publishDomain; std::string transcoded; - std::string publishTime; int height; + std::string publishTime; int audioCodecId; int videoDataRate; int width; @@ -61,18 +61,18 @@ namespace AlibabaCloud explicit DescribeLiveStreamsOnlineListResult(const std::string &payload); ~DescribeLiveStreamsOnlineListResult(); int getTotalNum()const; + int getTotalPage()const; int getPageNum()const; int getPageSize()const; - int getTotalPage()const; std::vector getOnlineInfo()const; protected: void parse(const std::string &payload); private: int totalNum_; + int totalPage_; int pageNum_; int pageSize_; - int totalPage_; std::vector onlineInfo_; }; diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListRequest.h index 37b809dbd..dbef02b90 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListRequest.h @@ -1,78 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSPUBLISHLISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSPUBLISHLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsPublishListRequest : public RpcServiceRequest - { - - public: - DescribeLiveStreamsPublishListRequest(); - ~DescribeLiveStreamsPublishListRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAppName()const; - void setAppName(const std::string& appName); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getQueryType()const; - void setQueryType(const std::string& queryType); - std::string getStreamType()const; - void setStreamType(const std::string& streamType); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - std::string getOrderBy()const; - void setOrderBy(const std::string& orderBy); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - int pageNumber_; - std::string appName_; - int pageSize_; - std::string streamName_; - std::string queryType_; - std::string streamType_; - std::string domainName_; - std::string endTime_; - std::string orderBy_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSPUBLISHLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSPUBLISHLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSPUBLISHLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsPublishListRequest : public RpcServiceRequest { +public: + DescribeLiveStreamsPublishListRequest(); + ~DescribeLiveStreamsPublishListRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getAppName() const; + void setAppName(const std::string &appName); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getQueryType() const; + void setQueryType(const std::string &queryType); + std::string getStreamType() const; + void setStreamType(const std::string &streamType); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getOrderBy() const; + void setOrderBy(const std::string &orderBy); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string startTime_; + int pageNumber_; + std::string appName_; + int pageSize_; + std::string streamName_; + std::string queryType_; + std::string streamType_; + std::string domainName_; + std::string endTime_; + std::string orderBy_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSPUBLISHLISTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListResult.h index e5669ed87..7f69e95fe 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListResult.h @@ -38,8 +38,8 @@ namespace AlibabaCloud std::string clientAddr; std::string domainName; std::string transcodeId; - std::string streamUrl; std::string publishType; + std::string streamUrl; std::string appName; std::string streamName; std::string edgeNodeAddr; @@ -54,18 +54,18 @@ namespace AlibabaCloud explicit DescribeLiveStreamsPublishListResult(const std::string &payload); ~DescribeLiveStreamsPublishListResult(); int getTotalNum()const; + int getTotalPage()const; int getPageNum()const; int getPageSize()const; - int getTotalPage()const; std::vector getPublishInfo()const; protected: void parse(const std::string &payload); private: int totalNum_; + int totalPage_; int pageNum_; int pageSize_; - int totalPage_; std::vector publishInfo_; }; diff --git a/live/include/alibabacloud/live/model/DescribeLiveTagResourcesRequest.h b/live/include/alibabacloud/live/model/DescribeLiveTagResourcesRequest.h index f7116d173..03f02ada4 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveTagResourcesRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveTagResourcesRequest.h @@ -1,66 +1,58 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETAGRESOURCESREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETAGRESOURCESREQUEST_H_ - -#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; - }; - - public: - 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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETAGRESOURCESREQUEST_H_ \ No newline at end of file + */ + +#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/DescribeLiveTopDomainsByFlowRequest.h b/live/include/alibabacloud/live/model/DescribeLiveTopDomainsByFlowRequest.h index 7ea1c9ad9..bcf5c4c57 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveTopDomainsByFlowRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveTopDomainsByFlowRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETOPDOMAINSBYFLOWREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETOPDOMAINSBYFLOWREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveTopDomainsByFlowRequest : public RpcServiceRequest - { - - public: - DescribeLiveTopDomainsByFlowRequest(); - ~DescribeLiveTopDomainsByFlowRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - long getLimit()const; - void setLimit(long limit); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - long limit_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETOPDOMAINSBYFLOWREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETOPDOMAINSBYFLOWREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETOPDOMAINSBYFLOWREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveTopDomainsByFlowRequest : public RpcServiceRequest { +public: + DescribeLiveTopDomainsByFlowRequest(); + ~DescribeLiveTopDomainsByFlowRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + long getLimit() const; + void setLimit(long limit); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string startTime_; + long limit_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVETOPDOMAINSBYFLOWREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveUserBillPredictionRequest.h b/live/include/alibabacloud/live/model/DescribeLiveUserBillPredictionRequest.h index 4200d7f45..615691410 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveUserBillPredictionRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveUserBillPredictionRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERBILLPREDICTIONREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERBILLPREDICTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveUserBillPredictionRequest : public RpcServiceRequest - { - - public: - DescribeLiveUserBillPredictionRequest(); - ~DescribeLiveUserBillPredictionRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getDimension()const; - void setDimension(const std::string& dimension); - std::string getArea()const; - void setArea(const std::string& area); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string startTime_; - std::string dimension_; - std::string area_; - std::string endTime_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERBILLPREDICTIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERBILLPREDICTIONREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERBILLPREDICTIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveUserBillPredictionRequest : public RpcServiceRequest { +public: + DescribeLiveUserBillPredictionRequest(); + ~DescribeLiveUserBillPredictionRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getDimension() const; + void setDimension(const std::string &dimension); + std::string getArea() const; + void setArea(const std::string &area); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string startTime_; + std::string dimension_; + std::string area_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERBILLPREDICTIONREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveUserDomainsRequest.h b/live/include/alibabacloud/live/model/DescribeLiveUserDomainsRequest.h index 1d7736c9b..5b459a12a 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveUserDomainsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveUserDomainsRequest.h @@ -1,81 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERDOMAINSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERDOMAINSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveUserDomainsRequest : public RpcServiceRequest - { - public: - struct Tag - { - std::string value; - std::string key; - }; - - public: - DescribeLiveUserDomainsRequest(); - ~DescribeLiveUserDomainsRequest(); - - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getRegionName()const; - void setRegionName(const std::string& regionName); - std::vector getTag()const; - void setTag(const std::vector& tag); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getDomainStatus()const; - void setDomainStatus(const std::string& domainStatus); - std::string getDomainSearchType()const; - void setDomainSearchType(const std::string& domainSearchType); - std::string getLiveDomainType()const; - void setLiveDomainType(const std::string& liveDomainType); - - private: - int pageNumber_; - std::string securityToken_; - int pageSize_; - std::string regionName_; - std::vector tag_; - std::string domainName_; - long ownerId_; - std::string domainStatus_; - std::string domainSearchType_; - std::string liveDomainType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERDOMAINSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERDOMAINSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERDOMAINSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveUserDomainsRequest : public RpcServiceRequest { +public: + struct Tag { + std::string value; + std::string key; + }; + DescribeLiveUserDomainsRequest(); + ~DescribeLiveUserDomainsRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getRegionName() const; + void setRegionName(const std::string ®ionName); + std::vector getTag() const; + void setTag(const std::vector &tag); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getDomainStatus() const; + void setDomainStatus(const std::string &domainStatus); + std::string getDomainSearchType() const; + void setDomainSearchType(const std::string &domainSearchType); + std::string getLiveDomainType() const; + void setLiveDomainType(const std::string &liveDomainType); + +private: + int pageNumber_; + std::string securityToken_; + int pageSize_; + std::string regionName_; + std::vector tag_; + std::string domainName_; + long ownerId_; + std::string domainStatus_; + std::string domainSearchType_; + std::string liveDomainType_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERDOMAINSREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveUserDomainsResult.h b/live/include/alibabacloud/live/model/DescribeLiveUserDomainsResult.h index a0795e85d..250fc97db 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveUserDomainsResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveUserDomainsResult.h @@ -34,11 +34,11 @@ namespace AlibabaCloud public: struct PageData { - std::string description; std::string liveDomainStatus; - std::string domainName; + std::string description; std::string liveDomainType; std::string regionName; + std::string domainName; std::string gmtModified; std::string gmtCreated; std::string cname; diff --git a/live/include/alibabacloud/live/model/DescribeLiveUserTagsRequest.h b/live/include/alibabacloud/live/model/DescribeLiveUserTagsRequest.h index 08aac2366..402274077 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveUserTagsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveUserTagsRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERTAGSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERTAGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveUserTagsRequest : public RpcServiceRequest - { - - public: - DescribeLiveUserTagsRequest(); - ~DescribeLiveUserTagsRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERTAGSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERTAGSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERTAGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveUserTagsRequest : public RpcServiceRequest { +public: + DescribeLiveUserTagsRequest(); + ~DescribeLiveUserTagsRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERTAGSREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeMeterLiveRtcDurationRequest.h b/live/include/alibabacloud/live/model/DescribeMeterLiveRtcDurationRequest.h new file mode 100644 index 000000000..6663bdab7 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeMeterLiveRtcDurationRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEMETERLIVERTCDURATIONREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEMETERLIVERTCDURATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeMeterLiveRtcDurationRequest : 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); + 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 appId_; + std::string interval_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEMETERLIVERTCDURATIONREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeMeterLiveRtcDurationResult.h b/live/include/alibabacloud/live/model/DescribeMeterLiveRtcDurationResult.h new file mode 100644 index 000000000..0e9ceee9e --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeMeterLiveRtcDurationResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_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 totalDuration; + long audioDuration; + }; + + + DescribeMeterLiveRtcDurationResult(); + explicit DescribeMeterLiveRtcDurationResult(const std::string &payload); + ~DescribeMeterLiveRtcDurationResult(); + long getV480SummaryDuration()const; + long getV1080SummaryDuration()const; + long getV720SummaryDuration()const; + std::vector getData()const; + long getTotalSummaryDuration()const; + long getAudioSummaryDuration()const; + + protected: + void parse(const std::string &payload); + private: + long v480SummaryDuration_; + long v1080SummaryDuration_; + long v720SummaryDuration_; + std::vector data_; + long totalSummaryDuration_; + long audioSummaryDuration_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEMETERLIVERTCDURATIONRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeMixStreamListRequest.h b/live/include/alibabacloud/live/model/DescribeMixStreamListRequest.h index d04f3061d..a513145d3 100644 --- a/live/include/alibabacloud/live/model/DescribeMixStreamListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeMixStreamListRequest.h @@ -1,72 +1,66 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEMIXSTREAMLISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEMIXSTREAMLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeMixStreamListRequest : public RpcServiceRequest - { - - public: - DescribeMixStreamListRequest(); - ~DescribeMixStreamListRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getAppName()const; - void setAppName(const std::string& appName); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getMixStreamId()const; - void setMixStreamId(const std::string& mixStreamId); - 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); - int getPageNo()const; - void setPageNo(int pageNo); - - private: - std::string startTime_; - std::string appName_; - int pageSize_; - std::string streamName_; - std::string mixStreamId_; - std::string domainName_; - std::string endTime_; - long ownerId_; - int pageNo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEMIXSTREAMLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEMIXSTREAMLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEMIXSTREAMLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeMixStreamListRequest : public RpcServiceRequest { +public: + DescribeMixStreamListRequest(); + ~DescribeMixStreamListRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getAppName() const; + void setAppName(const std::string &appName); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getMixStreamId() const; + void setMixStreamId(const std::string &mixStreamId); + 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); + int getPageNo() const; + void setPageNo(int pageNo); + +private: + std::string startTime_; + std::string appName_; + int pageSize_; + std::string streamName_; + std::string mixStreamId_; + std::string domainName_; + std::string endTime_; + long ownerId_; + int pageNo_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEMIXSTREAMLISTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeRoomKickoutUserListRequest.h b/live/include/alibabacloud/live/model/DescribeRoomKickoutUserListRequest.h index dd54802fa..14ca34b68 100644 --- a/live/include/alibabacloud/live/model/DescribeRoomKickoutUserListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeRoomKickoutUserListRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeRoomKickoutUserListRequest : public RpcServiceRequest - { - - public: - DescribeRoomKickoutUserListRequest(); - ~DescribeRoomKickoutUserListRequest(); - - int getPageNum()const; - void setPageNum(int pageNum); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getOrder()const; - void setOrder(const std::string& order); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getRoomId()const; - void setRoomId(const std::string& roomId); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - int pageNum_; - int pageSize_; - std::string order_; - long ownerId_; - std::string roomId_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeRoomKickoutUserListRequest : public RpcServiceRequest { +public: + DescribeRoomKickoutUserListRequest(); + ~DescribeRoomKickoutUserListRequest(); + int getPageNum() const; + void setPageNum(int pageNum); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getOrder() const; + void setOrder(const std::string &order); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getRoomId() const; + void setRoomId(const std::string &roomId); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + int pageNum_; + int pageSize_; + std::string order_; + long ownerId_; + std::string roomId_; + std::string appId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMKICKOUTUSERLISTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeRoomListRequest.h b/live/include/alibabacloud/live/model/DescribeRoomListRequest.h index 939ebeb55..3e515d468 100644 --- a/live/include/alibabacloud/live/model/DescribeRoomListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeRoomListRequest.h @@ -1,75 +1,69 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMLISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeRoomListRequest : public RpcServiceRequest - { - - public: - DescribeRoomListRequest(); - ~DescribeRoomListRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getAnchorId()const; - void setAnchorId(const std::string& anchorId); - int getPageNum()const; - void setPageNum(int pageNum); - int getRoomStatus()const; - void setRoomStatus(int roomStatus); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getOrder()const; - void setOrder(const std::string& order); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getRoomId()const; - void setRoomId(const std::string& roomId); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string startTime_; - std::string anchorId_; - int pageNum_; - int roomStatus_; - int pageSize_; - std::string order_; - std::string endTime_; - long ownerId_; - std::string roomId_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeRoomListRequest : public RpcServiceRequest { +public: + DescribeRoomListRequest(); + ~DescribeRoomListRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getAnchorId() const; + void setAnchorId(const std::string &anchorId); + int getPageNum() const; + void setPageNum(int pageNum); + int getRoomStatus() const; + void setRoomStatus(int roomStatus); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getOrder() const; + void setOrder(const std::string &order); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getRoomId() const; + void setRoomId(const std::string &roomId); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string startTime_; + std::string anchorId_; + int pageNum_; + int roomStatus_; + int pageSize_; + std::string order_; + std::string endTime_; + long ownerId_; + std::string roomId_; + std::string appId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMLISTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeRoomStatusRequest.h b/live/include/alibabacloud/live/model/DescribeRoomStatusRequest.h index 8e752284e..c06882611 100644 --- a/live/include/alibabacloud/live/model/DescribeRoomStatusRequest.h +++ b/live/include/alibabacloud/live/model/DescribeRoomStatusRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeRoomStatusRequest : public RpcServiceRequest - { - - public: - DescribeRoomStatusRequest(); - ~DescribeRoomStatusRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getRoomId()const; - void setRoomId(const std::string& roomId); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - long ownerId_; - std::string roomId_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeRoomStatusRequest : public RpcServiceRequest { +public: + DescribeRoomStatusRequest(); + ~DescribeRoomStatusRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getRoomId() const; + void setRoomId(const std::string &roomId); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + long ownerId_; + std::string roomId_; + std::string appId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEROOMSTATUSREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeShowListRequest.h b/live/include/alibabacloud/live/model/DescribeShowListRequest.h index 4edebe1ba..0aae49d7f 100644 --- a/live/include/alibabacloud/live/model/DescribeShowListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeShowListRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBESHOWLISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBESHOWLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeShowListRequest : public RpcServiceRequest - { - - public: - DescribeShowListRequest(); - ~DescribeShowListRequest(); - - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string casterId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBESHOWLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBESHOWLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBESHOWLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeShowListRequest : public RpcServiceRequest { +public: + DescribeShowListRequest(); + ~DescribeShowListRequest(); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string casterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBESHOWLISTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeShowListResult.h b/live/include/alibabacloud/live/model/DescribeShowListResult.h index 68b50ad1f..535628b25 100644 --- a/live/include/alibabacloud/live/model/DescribeShowListResult.h +++ b/live/include/alibabacloud/live/model/DescribeShowListResult.h @@ -50,9 +50,9 @@ namespace AlibabaCloud std::string showName; }; std::string currentShowId; + std::string highPriorityShowStartTime; int totalShowListRepeatTimes; std::string highPriorityShowId; - std::string highPriorityShowStartTime; int showListRepeatTimes; std::vector showList; }; diff --git a/live/include/alibabacloud/live/model/DescribeStudioLayoutsRequest.h b/live/include/alibabacloud/live/model/DescribeStudioLayoutsRequest.h index fa9bfaf88..b05d98604 100644 --- a/live/include/alibabacloud/live/model/DescribeStudioLayoutsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeStudioLayoutsRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBESTUDIOLAYOUTSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBESTUDIOLAYOUTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeStudioLayoutsRequest : public RpcServiceRequest - { - - public: - DescribeStudioLayoutsRequest(); - ~DescribeStudioLayoutsRequest(); - - std::string getLayoutId()const; - void setLayoutId(const std::string& layoutId); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string layoutId_; - std::string casterId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBESTUDIOLAYOUTSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBESTUDIOLAYOUTSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBESTUDIOLAYOUTSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeStudioLayoutsRequest : public RpcServiceRequest { +public: + DescribeStudioLayoutsRequest(); + ~DescribeStudioLayoutsRequest(); + std::string getLayoutId() const; + void setLayoutId(const std::string &layoutId); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string layoutId_; + std::string casterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBESTUDIOLAYOUTSREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeStudioLayoutsResult.h b/live/include/alibabacloud/live/model/DescribeStudioLayoutsResult.h index e94c5149f..4ee230412 100644 --- a/live/include/alibabacloud/live/model/DescribeStudioLayoutsResult.h +++ b/live/include/alibabacloud/live/model/DescribeStudioLayoutsResult.h @@ -36,8 +36,8 @@ namespace AlibabaCloud { struct CommonConfig { - std::string videoResourceId; std::string channelId; + std::string videoResourceId; }; struct BgImageConfig { @@ -56,8 +56,8 @@ namespace AlibabaCloud std::string positionY; std::string color; AudioConfig audioConfig; - float heightNormalized; int portraitType; + float heightNormalized; int index; std::string id; std::string channelId; diff --git a/live/include/alibabacloud/live/model/DescribeToutiaoLivePlayRequest.h b/live/include/alibabacloud/live/model/DescribeToutiaoLivePlayRequest.h index 71160a88e..c582db020 100644 --- a/live/include/alibabacloud/live/model/DescribeToutiaoLivePlayRequest.h +++ b/live/include/alibabacloud/live/model/DescribeToutiaoLivePlayRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBETOUTIAOLIVEPLAYREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBETOUTIAOLIVEPLAYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeToutiaoLivePlayRequest : public RpcServiceRequest - { - - public: - DescribeToutiaoLivePlayRequest(); - ~DescribeToutiaoLivePlayRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getStream()const; - void setStream(const std::string& stream); - std::string getApp()const; - void setApp(const std::string& app); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getDomain()const; - void setDomain(const std::string& domain); - - private: - std::string startTime_; - std::string stream_; - std::string app_; - std::string endTime_; - long ownerId_; - std::string domain_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBETOUTIAOLIVEPLAYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBETOUTIAOLIVEPLAYREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBETOUTIAOLIVEPLAYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeToutiaoLivePlayRequest : public RpcServiceRequest { +public: + DescribeToutiaoLivePlayRequest(); + ~DescribeToutiaoLivePlayRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getStream() const; + void setStream(const std::string &stream); + std::string getApp() const; + void setApp(const std::string &app); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getDomain() const; + void setDomain(const std::string &domain); + +private: + std::string startTime_; + std::string stream_; + std::string app_; + std::string endTime_; + long ownerId_; + std::string domain_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBETOUTIAOLIVEPLAYREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeToutiaoLivePublishRequest.h b/live/include/alibabacloud/live/model/DescribeToutiaoLivePublishRequest.h index 288a6f619..8aac8d471 100644 --- a/live/include/alibabacloud/live/model/DescribeToutiaoLivePublishRequest.h +++ b/live/include/alibabacloud/live/model/DescribeToutiaoLivePublishRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBETOUTIAOLIVEPUBLISHREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBETOUTIAOLIVEPUBLISHREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeToutiaoLivePublishRequest : public RpcServiceRequest - { - - public: - DescribeToutiaoLivePublishRequest(); - ~DescribeToutiaoLivePublishRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getStream()const; - void setStream(const std::string& stream); - std::string getApp()const; - void setApp(const std::string& app); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getDomain()const; - void setDomain(const std::string& domain); - - private: - std::string startTime_; - std::string stream_; - std::string app_; - std::string endTime_; - long ownerId_; - std::string domain_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBETOUTIAOLIVEPUBLISHREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBETOUTIAOLIVEPUBLISHREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBETOUTIAOLIVEPUBLISHREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeToutiaoLivePublishRequest : public RpcServiceRequest { +public: + DescribeToutiaoLivePublishRequest(); + ~DescribeToutiaoLivePublishRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getStream() const; + void setStream(const std::string &stream); + std::string getApp() const; + void setApp(const std::string &app); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getDomain() const; + void setDomain(const std::string &domain); + +private: + std::string startTime_; + std::string stream_; + std::string app_; + std::string endTime_; + long ownerId_; + std::string domain_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBETOUTIAOLIVEPUBLISHREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeToutiaoLivePublishResult.h b/live/include/alibabacloud/live/model/DescribeToutiaoLivePublishResult.h index e6cfd35f0..8c9c0a3e1 100644 --- a/live/include/alibabacloud/live/model/DescribeToutiaoLivePublishResult.h +++ b/live/include/alibabacloud/live/model/DescribeToutiaoLivePublishResult.h @@ -40,9 +40,9 @@ namespace AlibabaCloud float bwDiff; float fps; std::string domain; - float bitrate; float flr; long timestamp; + float bitrate; }; diff --git a/live/include/alibabacloud/live/model/DescribeUpBpsPeakDataRequest.h b/live/include/alibabacloud/live/model/DescribeUpBpsPeakDataRequest.h index 0ef65456d..451a89eaf 100644 --- a/live/include/alibabacloud/live/model/DescribeUpBpsPeakDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeUpBpsPeakDataRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeUpBpsPeakDataRequest : public RpcServiceRequest - { - - public: - DescribeUpBpsPeakDataRequest(); - ~DescribeUpBpsPeakDataRequest(); - - std::string 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); - std::string getDomainSwitch()const; - void setDomainSwitch(const std::string& domainSwitch); - - private: - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string domainSwitch_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeUpBpsPeakDataRequest : public RpcServiceRequest { +public: + DescribeUpBpsPeakDataRequest(); + ~DescribeUpBpsPeakDataRequest(); + 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); + std::string getDomainSwitch() const; + void setDomainSwitch(const std::string &domainSwitch); + +private: + std::string startTime_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string domainSwitch_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeUpBpsPeakOfLineRequest.h b/live/include/alibabacloud/live/model/DescribeUpBpsPeakOfLineRequest.h index 396a789ba..ad3102c3b 100644 --- a/live/include/alibabacloud/live/model/DescribeUpBpsPeakOfLineRequest.h +++ b/live/include/alibabacloud/live/model/DescribeUpBpsPeakOfLineRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKOFLINEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKOFLINEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeUpBpsPeakOfLineRequest : public RpcServiceRequest - { - - public: - DescribeUpBpsPeakOfLineRequest(); - ~DescribeUpBpsPeakOfLineRequest(); - - std::string getLine()const; - void setLine(const std::string& line); - 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); - std::string getDomainSwitch()const; - void setDomainSwitch(const std::string& domainSwitch); - - private: - std::string line_; - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string domainSwitch_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKOFLINEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKOFLINEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKOFLINEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeUpBpsPeakOfLineRequest : public RpcServiceRequest { +public: + DescribeUpBpsPeakOfLineRequest(); + ~DescribeUpBpsPeakOfLineRequest(); + std::string getLine() const; + void setLine(const std::string &line); + 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); + std::string getDomainSwitch() const; + void setDomainSwitch(const std::string &domainSwitch); + +private: + std::string line_; + std::string startTime_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string domainSwitch_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPBPSPEAKOFLINEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeUpPeakPublishStreamDataRequest.h b/live/include/alibabacloud/live/model/DescribeUpPeakPublishStreamDataRequest.h index 622ab5cc3..6f3267763 100644 --- a/live/include/alibabacloud/live/model/DescribeUpPeakPublishStreamDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeUpPeakPublishStreamDataRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPPEAKPUBLISHSTREAMDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPPEAKPUBLISHSTREAMDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeUpPeakPublishStreamDataRequest : public RpcServiceRequest - { - - public: - DescribeUpPeakPublishStreamDataRequest(); - ~DescribeUpPeakPublishStreamDataRequest(); - - std::string 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); - std::string getDomainSwitch()const; - void setDomainSwitch(const std::string& domainSwitch); - - private: - std::string startTime_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string domainSwitch_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPPEAKPUBLISHSTREAMDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPPEAKPUBLISHSTREAMDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPPEAKPUBLISHSTREAMDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeUpPeakPublishStreamDataRequest : public RpcServiceRequest { +public: + DescribeUpPeakPublishStreamDataRequest(); + ~DescribeUpPeakPublishStreamDataRequest(); + 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); + std::string getDomainSwitch() const; + void setDomainSwitch(const std::string &domainSwitch); + +private: + std::string startTime_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string domainSwitch_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEUPPEAKPUBLISHSTREAMDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DisableLiveRealtimeLogDeliveryRequest.h b/live/include/alibabacloud/live/model/DisableLiveRealtimeLogDeliveryRequest.h index 663e3cfc7..8f9a0eec3 100644 --- a/live/include/alibabacloud/live/model/DisableLiveRealtimeLogDeliveryRequest.h +++ b/live/include/alibabacloud/live/model/DisableLiveRealtimeLogDeliveryRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DISABLELIVEREALTIMELOGDELIVERYREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DISABLELIVEREALTIMELOGDELIVERYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DisableLiveRealtimeLogDeliveryRequest : public RpcServiceRequest - { - - public: - DisableLiveRealtimeLogDeliveryRequest(); - ~DisableLiveRealtimeLogDeliveryRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DISABLELIVEREALTIMELOGDELIVERYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DISABLELIVEREALTIMELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DISABLELIVEREALTIMELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DisableLiveRealtimeLogDeliveryRequest : public RpcServiceRequest { +public: + DisableLiveRealtimeLogDeliveryRequest(); + ~DisableLiveRealtimeLogDeliveryRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DISABLELIVEREALTIMELOGDELIVERYREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DynamicUpdateWaterMarkStreamRuleRequest.h b/live/include/alibabacloud/live/model/DynamicUpdateWaterMarkStreamRuleRequest.h index b6144edd8..6b0d45df5 100644 --- a/live/include/alibabacloud/live/model/DynamicUpdateWaterMarkStreamRuleRequest.h +++ b/live/include/alibabacloud/live/model/DynamicUpdateWaterMarkStreamRuleRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DYNAMICUPDATEWATERMARKSTREAMRULEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DYNAMICUPDATEWATERMARKSTREAMRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DynamicUpdateWaterMarkStreamRuleRequest : public RpcServiceRequest - { - - public: - DynamicUpdateWaterMarkStreamRuleRequest(); - ~DynamicUpdateWaterMarkStreamRuleRequest(); - - std::string getStream()const; - void setStream(const std::string& stream); - std::string getApp()const; - void setApp(const std::string& app); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getTemplateId()const; - void setTemplateId(const std::string& templateId); - std::string getDomain()const; - void setDomain(const std::string& domain); - - private: - std::string stream_; - std::string app_; - long ownerId_; - std::string templateId_; - std::string domain_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DYNAMICUPDATEWATERMARKSTREAMRULEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DYNAMICUPDATEWATERMARKSTREAMRULEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DYNAMICUPDATEWATERMARKSTREAMRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DynamicUpdateWaterMarkStreamRuleRequest : public RpcServiceRequest { +public: + DynamicUpdateWaterMarkStreamRuleRequest(); + ~DynamicUpdateWaterMarkStreamRuleRequest(); + std::string getStream() const; + void setStream(const std::string &stream); + std::string getApp() const; + void setApp(const std::string &app); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getTemplateId() const; + void setTemplateId(const std::string &templateId); + std::string getDomain() const; + void setDomain(const std::string &domain); + +private: + std::string stream_; + std::string app_; + long ownerId_; + std::string templateId_; + std::string domain_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DYNAMICUPDATEWATERMARKSTREAMRULEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/EditPlaylistRequest.h b/live/include/alibabacloud/live/model/EditPlaylistRequest.h index 6bd1a07eb..1165ed038 100644 --- a/live/include/alibabacloud/live/model/EditPlaylistRequest.h +++ b/live/include/alibabacloud/live/model/EditPlaylistRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_EDITPLAYLISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_EDITPLAYLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT EditPlaylistRequest : public RpcServiceRequest - { - - public: - EditPlaylistRequest(); - ~EditPlaylistRequest(); - - std::string getProgramItems()const; - void setProgramItems(const std::string& programItems); - std::string getProgramId()const; - void setProgramId(const std::string& programId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getProgramConfig()const; - void setProgramConfig(const std::string& programConfig); - - private: - std::string programItems_; - std::string programId_; - long ownerId_; - std::string programConfig_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_EDITPLAYLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_EDITPLAYLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_EDITPLAYLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT EditPlaylistRequest : public RpcServiceRequest { +public: + EditPlaylistRequest(); + ~EditPlaylistRequest(); + std::string getProgramItems() const; + void setProgramItems(const std::string &programItems); + std::string getProgramId() const; + void setProgramId(const std::string &programId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getProgramConfig() const; + void setProgramConfig(const std::string &programConfig); + +private: + std::string programItems_; + std::string programId_; + long ownerId_; + std::string programConfig_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_EDITPLAYLISTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/EditShowAndReplaceRequest.h b/live/include/alibabacloud/live/model/EditShowAndReplaceRequest.h index 95f211492..f8c5d6a5b 100644 --- a/live/include/alibabacloud/live/model/EditShowAndReplaceRequest.h +++ b/live/include/alibabacloud/live/model/EditShowAndReplaceRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_EDITSHOWANDREPLACEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_EDITSHOWANDREPLACEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT EditShowAndReplaceRequest : public RpcServiceRequest - { - - public: - EditShowAndReplaceRequest(); - ~EditShowAndReplaceRequest(); - - float getStartTime()const; - void setStartTime(float startTime); - std::string getUserData()const; - void setUserData(const std::string& userData); - std::string getStorageInfo()const; - void setStorageInfo(const std::string& storageInfo); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - float getEndTime()const; - void setEndTime(float endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getShowId()const; - void setShowId(const std::string& showId); - - private: - float startTime_; - std::string userData_; - std::string storageInfo_; - std::string casterId_; - float endTime_; - long ownerId_; - std::string showId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_EDITSHOWANDREPLACEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_EDITSHOWANDREPLACEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_EDITSHOWANDREPLACEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT EditShowAndReplaceRequest : public RpcServiceRequest { +public: + EditShowAndReplaceRequest(); + ~EditShowAndReplaceRequest(); + float getStartTime() const; + void setStartTime(float startTime); + std::string getUserData() const; + void setUserData(const std::string &userData); + std::string getStorageInfo() const; + void setStorageInfo(const std::string &storageInfo); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + float getEndTime() const; + void setEndTime(float endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getShowId() const; + void setShowId(const std::string &showId); + +private: + float startTime_; + std::string userData_; + std::string storageInfo_; + std::string casterId_; + float endTime_; + long ownerId_; + std::string showId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_EDITSHOWANDREPLACEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/EffectCasterUrgentRequest.h b/live/include/alibabacloud/live/model/EffectCasterUrgentRequest.h index 1515d9d09..22af2d9bc 100644 --- a/live/include/alibabacloud/live/model/EffectCasterUrgentRequest.h +++ b/live/include/alibabacloud/live/model/EffectCasterUrgentRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERURGENTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERURGENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT EffectCasterUrgentRequest : public RpcServiceRequest - { - - public: - EffectCasterUrgentRequest(); - ~EffectCasterUrgentRequest(); - - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSceneId()const; - void setSceneId(const std::string& sceneId); - - private: - std::string casterId_; - long ownerId_; - std::string sceneId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERURGENTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERURGENTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERURGENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT EffectCasterUrgentRequest : public RpcServiceRequest { +public: + EffectCasterUrgentRequest(); + ~EffectCasterUrgentRequest(); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSceneId() const; + void setSceneId(const std::string &sceneId); + +private: + std::string casterId_; + long ownerId_; + std::string sceneId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERURGENTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/EffectCasterVideoResourceRequest.h b/live/include/alibabacloud/live/model/EffectCasterVideoResourceRequest.h index 034cff1ed..2365bc386 100644 --- a/live/include/alibabacloud/live/model/EffectCasterVideoResourceRequest.h +++ b/live/include/alibabacloud/live/model/EffectCasterVideoResourceRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERVIDEORESOURCEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERVIDEORESOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT EffectCasterVideoResourceRequest : public RpcServiceRequest - { - - public: - EffectCasterVideoResourceRequest(); - ~EffectCasterVideoResourceRequest(); - - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSceneId()const; - void setSceneId(const std::string& sceneId); - - private: - std::string resourceId_; - std::string casterId_; - long ownerId_; - std::string sceneId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERVIDEORESOURCEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERVIDEORESOURCEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERVIDEORESOURCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT EffectCasterVideoResourceRequest : public RpcServiceRequest { +public: + EffectCasterVideoResourceRequest(); + ~EffectCasterVideoResourceRequest(); + std::string getResourceId() const; + void setResourceId(const std::string &resourceId); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSceneId() const; + void setSceneId(const std::string &sceneId); + +private: + std::string resourceId_; + std::string casterId_; + long ownerId_; + std::string sceneId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERVIDEORESOURCEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/EnableLiveRealtimeLogDeliveryRequest.h b/live/include/alibabacloud/live/model/EnableLiveRealtimeLogDeliveryRequest.h index ecc8e92c0..aaa2460f8 100644 --- a/live/include/alibabacloud/live/model/EnableLiveRealtimeLogDeliveryRequest.h +++ b/live/include/alibabacloud/live/model/EnableLiveRealtimeLogDeliveryRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ENABLELIVEREALTIMELOGDELIVERYREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ENABLELIVEREALTIMELOGDELIVERYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT EnableLiveRealtimeLogDeliveryRequest : public RpcServiceRequest - { - - public: - EnableLiveRealtimeLogDeliveryRequest(); - ~EnableLiveRealtimeLogDeliveryRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ENABLELIVEREALTIMELOGDELIVERYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ENABLELIVEREALTIMELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ENABLELIVEREALTIMELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT EnableLiveRealtimeLogDeliveryRequest : public RpcServiceRequest { +public: + EnableLiveRealtimeLogDeliveryRequest(); + ~EnableLiveRealtimeLogDeliveryRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ENABLELIVEREALTIMELOGDELIVERYREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/ForbidLiveStreamRequest.h b/live/include/alibabacloud/live/model/ForbidLiveStreamRequest.h index d07f836a0..fced31408 100644 --- a/live/include/alibabacloud/live/model/ForbidLiveStreamRequest.h +++ b/live/include/alibabacloud/live/model/ForbidLiveStreamRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_FORBIDLIVESTREAMREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_FORBIDLIVESTREAMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT ForbidLiveStreamRequest : public RpcServiceRequest - { - - public: - ForbidLiveStreamRequest(); - ~ForbidLiveStreamRequest(); - - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getControlStreamAction()const; - void setControlStreamAction(const std::string& controlStreamAction); - std::string getResumeTime()const; - void setResumeTime(const std::string& resumeTime); - std::string getLiveStreamType()const; - void setLiveStreamType(const std::string& liveStreamType); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getOneshot()const; - void setOneshot(const std::string& oneshot); - - private: - std::string appName_; - std::string streamName_; - std::string controlStreamAction_; - std::string resumeTime_; - std::string liveStreamType_; - std::string domainName_; - long ownerId_; - std::string oneshot_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_FORBIDLIVESTREAMREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_FORBIDLIVESTREAMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_FORBIDLIVESTREAMREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT ForbidLiveStreamRequest : public RpcServiceRequest { +public: + ForbidLiveStreamRequest(); + ~ForbidLiveStreamRequest(); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getControlStreamAction() const; + void setControlStreamAction(const std::string &controlStreamAction); + std::string getResumeTime() const; + void setResumeTime(const std::string &resumeTime); + std::string getLiveStreamType() const; + void setLiveStreamType(const std::string &liveStreamType); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getOneshot() const; + void setOneshot(const std::string &oneshot); + +private: + std::string appName_; + std::string streamName_; + std::string controlStreamAction_; + std::string resumeTime_; + std::string liveStreamType_; + std::string domainName_; + long ownerId_; + std::string oneshot_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_FORBIDLIVESTREAMREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/ForbidPushStreamRequest.h b/live/include/alibabacloud/live/model/ForbidPushStreamRequest.h index 71e732ee0..2251eb370 100644 --- a/live/include/alibabacloud/live/model/ForbidPushStreamRequest.h +++ b/live/include/alibabacloud/live/model/ForbidPushStreamRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT ForbidPushStreamRequest : public RpcServiceRequest - { - - public: - ForbidPushStreamRequest(); - ~ForbidPushStreamRequest(); - - std::string getUserData()const; - void setUserData(const std::string& userData); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getRoomId()const; - void setRoomId(const std::string& roomId); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string userData_; - std::string endTime_; - long ownerId_; - std::string roomId_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT ForbidPushStreamRequest : public RpcServiceRequest { +public: + ForbidPushStreamRequest(); + ~ForbidPushStreamRequest(); + std::string getUserData() const; + void setUserData(const std::string &userData); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getRoomId() const; + void setRoomId(const std::string &roomId); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string userData_; + std::string endTime_; + long ownerId_; + std::string roomId_; + std::string appId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_FORBIDPUSHSTREAMREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/GetAllCustomTemplatesRequest.h b/live/include/alibabacloud/live/model/GetAllCustomTemplatesRequest.h index f186b0b49..17a90625f 100644 --- a/live/include/alibabacloud/live/model/GetAllCustomTemplatesRequest.h +++ b/live/include/alibabacloud/live/model/GetAllCustomTemplatesRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_GETALLCUSTOMTEMPLATESREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_GETALLCUSTOMTEMPLATESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT GetAllCustomTemplatesRequest : public RpcServiceRequest - { - - public: - GetAllCustomTemplatesRequest(); - ~GetAllCustomTemplatesRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string userId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_GETALLCUSTOMTEMPLATESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_GETALLCUSTOMTEMPLATESREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_GETALLCUSTOMTEMPLATESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT GetAllCustomTemplatesRequest : public RpcServiceRequest { +public: + GetAllCustomTemplatesRequest(); + ~GetAllCustomTemplatesRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string userId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_GETALLCUSTOMTEMPLATESREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/GetCustomTemplateRequest.h b/live/include/alibabacloud/live/model/GetCustomTemplateRequest.h index 5f48b9485..2ef41e116 100644 --- a/live/include/alibabacloud/live/model/GetCustomTemplateRequest.h +++ b/live/include/alibabacloud/live/model/GetCustomTemplateRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_GETCUSTOMTEMPLATEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_GETCUSTOMTEMPLATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT GetCustomTemplateRequest : public RpcServiceRequest - { - - public: - GetCustomTemplateRequest(); - ~GetCustomTemplateRequest(); - - std::string get_Template()const; - void set_Template(const std::string& _template); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string _template_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_GETCUSTOMTEMPLATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_GETCUSTOMTEMPLATEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_GETCUSTOMTEMPLATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT GetCustomTemplateRequest : public RpcServiceRequest { +public: + GetCustomTemplateRequest(); + ~GetCustomTemplateRequest(); + std::string get_Template() const; + void set_Template(const std::string &_template); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string _template_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_GETCUSTOMTEMPLATEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/GetEditingJobInfoRequest.h b/live/include/alibabacloud/live/model/GetEditingJobInfoRequest.h index 9a0789d99..c6766c103 100644 --- a/live/include/alibabacloud/live/model/GetEditingJobInfoRequest.h +++ b/live/include/alibabacloud/live/model/GetEditingJobInfoRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_GETEDITINGJOBINFOREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_GETEDITINGJOBINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT GetEditingJobInfoRequest : public RpcServiceRequest - { - - public: - GetEditingJobInfoRequest(); - ~GetEditingJobInfoRequest(); - - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getShowId()const; - void setShowId(const std::string& showId); - - private: - std::string casterId_; - long ownerId_; - std::string showId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_GETEDITINGJOBINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_GETEDITINGJOBINFOREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_GETEDITINGJOBINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT GetEditingJobInfoRequest : public RpcServiceRequest { +public: + GetEditingJobInfoRequest(); + ~GetEditingJobInfoRequest(); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getShowId() const; + void setShowId(const std::string &showId); + +private: + std::string casterId_; + long ownerId_; + std::string showId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_GETEDITINGJOBINFOREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/GetMessageAppRequest.h b/live/include/alibabacloud/live/model/GetMessageAppRequest.h new file mode 100644 index 000000000..1b22e0fbd --- /dev/null +++ b/live/include/alibabacloud/live/model/GetMessageAppRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_GETMESSAGEAPPREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_GETMESSAGEAPPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT GetMessageAppRequest : public RpcServiceRequest { +public: + GetMessageAppRequest(); + ~GetMessageAppRequest(); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string appId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_GETMESSAGEAPPREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/GetMessageAppResult.h b/live/include/alibabacloud/live/model/GetMessageAppResult.h new file mode 100644 index 000000000..1aea3c0d5 --- /dev/null +++ b/live/include/alibabacloud/live/model/GetMessageAppResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_GETMESSAGEAPPRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_GETMESSAGEAPPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT GetMessageAppResult : public ServiceResult + { + public: + struct Result + { + int status; + std::string extension; + std::string appConfig; + std::string appId; + long createTime; + }; + + + GetMessageAppResult(); + explicit GetMessageAppResult(const std::string &payload); + ~GetMessageAppResult(); + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_GETMESSAGEAPPRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/GetMessageGroupRequest.h b/live/include/alibabacloud/live/model/GetMessageGroupRequest.h new file mode 100644 index 000000000..d9edcad22 --- /dev/null +++ b/live/include/alibabacloud/live/model/GetMessageGroupRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_GETMESSAGEGROUPREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_GETMESSAGEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT GetMessageGroupRequest : public RpcServiceRequest { +public: + GetMessageGroupRequest(); + ~GetMessageGroupRequest(); + std::string getGroupId() const; + void setGroupId(const std::string &groupId); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string groupId_; + std::string appId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_GETMESSAGEGROUPREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/GetMessageGroupResult.h b/live/include/alibabacloud/live/model/GetMessageGroupResult.h new file mode 100644 index 000000000..9886934d1 --- /dev/null +++ b/live/include/alibabacloud/live/model/GetMessageGroupResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_GETMESSAGEGROUPRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_GETMESSAGEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT GetMessageGroupResult : public ServiceResult + { + public: + struct Result + { + int status; + std::string extension; + std::string creatorId; + long createTime; + std::string groupId; + }; + + + GetMessageGroupResult(); + explicit GetMessageGroupResult(const std::string &payload); + ~GetMessageGroupResult(); + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_GETMESSAGEGROUPRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/GetMessageTokenRequest.h b/live/include/alibabacloud/live/model/GetMessageTokenRequest.h new file mode 100644 index 000000000..91a1a6578 --- /dev/null +++ b/live/include/alibabacloud/live/model/GetMessageTokenRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_GETMESSAGETOKENREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_GETMESSAGETOKENREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT GetMessageTokenRequest : public RpcServiceRequest { +public: + GetMessageTokenRequest(); + ~GetMessageTokenRequest(); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceType() const; + void setDeviceType(const std::string &deviceType); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string deviceId_; + std::string userId_; + std::string deviceType_; + std::string appId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_GETMESSAGETOKENREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/GetMessageTokenResult.h b/live/include/alibabacloud/live/model/GetMessageTokenResult.h new file mode 100644 index 000000000..7333985a3 --- /dev/null +++ b/live/include/alibabacloud/live/model/GetMessageTokenResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_GETMESSAGETOKENRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_GETMESSAGETOKENRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT GetMessageTokenResult : public ServiceResult + { + public: + struct Result + { + std::string refreshToken; + std::string accessToken; + long accessTokenExpiredTime; + }; + + + GetMessageTokenResult(); + explicit GetMessageTokenResult(const std::string &payload); + ~GetMessageTokenResult(); + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_GETMESSAGETOKENRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/GetMultiRateConfigListRequest.h b/live/include/alibabacloud/live/model/GetMultiRateConfigListRequest.h index a2cafece7..301109345 100644 --- a/live/include/alibabacloud/live/model/GetMultiRateConfigListRequest.h +++ b/live/include/alibabacloud/live/model/GetMultiRateConfigListRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_GETMULTIRATECONFIGLISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_GETMULTIRATECONFIGLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT GetMultiRateConfigListRequest : public RpcServiceRequest - { - - public: - GetMultiRateConfigListRequest(); - ~GetMultiRateConfigListRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_GETMULTIRATECONFIGLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_GETMULTIRATECONFIGLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_GETMULTIRATECONFIGLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT GetMultiRateConfigListRequest : public RpcServiceRequest { +public: + GetMultiRateConfigListRequest(); + ~GetMultiRateConfigListRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_GETMULTIRATECONFIGLISTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/GetMultiRateConfigRequest.h b/live/include/alibabacloud/live/model/GetMultiRateConfigRequest.h index 2f92b4a2a..0726674be 100644 --- a/live/include/alibabacloud/live/model/GetMultiRateConfigRequest.h +++ b/live/include/alibabacloud/live/model/GetMultiRateConfigRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_GETMULTIRATECONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_GETMULTIRATECONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT GetMultiRateConfigRequest : public RpcServiceRequest - { - - public: - GetMultiRateConfigRequest(); - ~GetMultiRateConfigRequest(); - - std::string getApp()const; - void setApp(const std::string& app); - std::string getGroupId()const; - void setGroupId(const std::string& groupId); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string app_; - std::string groupId_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_GETMULTIRATECONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_GETMULTIRATECONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_GETMULTIRATECONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT GetMultiRateConfigRequest : public RpcServiceRequest { +public: + GetMultiRateConfigRequest(); + ~GetMultiRateConfigRequest(); + std::string getApp() const; + void setApp(const std::string &app); + std::string getGroupId() const; + void setGroupId(const std::string &groupId); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string app_; + std::string groupId_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_GETMULTIRATECONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/GetMultiRateConfigResult.h b/live/include/alibabacloud/live/model/GetMultiRateConfigResult.h index 029772dd3..8d6d244b5 100644 --- a/live/include/alibabacloud/live/model/GetMultiRateConfigResult.h +++ b/live/include/alibabacloud/live/model/GetMultiRateConfigResult.h @@ -45,8 +45,8 @@ namespace AlibabaCloud int height; int audioChannelNum; int width; - std::string audioCodec; int audioRate; + std::string audioCodec; int videoBitrate; }; diff --git a/live/include/alibabacloud/live/model/HotLiveRtcStreamRequest.h b/live/include/alibabacloud/live/model/HotLiveRtcStreamRequest.h index a282939bf..44ce105be 100644 --- a/live/include/alibabacloud/live/model/HotLiveRtcStreamRequest.h +++ b/live/include/alibabacloud/live/model/HotLiveRtcStreamRequest.h @@ -1,72 +1,66 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_HOTLIVERTCSTREAMREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_HOTLIVERTCSTREAMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT HotLiveRtcStreamRequest : public RpcServiceRequest - { - - public: - HotLiveRtcStreamRequest(); - ~HotLiveRtcStreamRequest(); - - std::string getVideoMsid()const; - void setVideoMsid(const std::string& videoMsid); - std::string getRegionCode()const; - void setRegionCode(const std::string& regionCode); - std::string getConnectionTimeout()const; - void setConnectionTimeout(const std::string& connectionTimeout); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getAudioMsid()const; - void setAudioMsid(const std::string& audioMsid); - std::string getMediaTimeout()const; - void setMediaTimeout(const std::string& mediaTimeout); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string videoMsid_; - std::string regionCode_; - std::string connectionTimeout_; - std::string appName_; - std::string audioMsid_; - std::string mediaTimeout_; - std::string streamName_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_HOTLIVERTCSTREAMREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_HOTLIVERTCSTREAMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_HOTLIVERTCSTREAMREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT HotLiveRtcStreamRequest : public RpcServiceRequest { +public: + HotLiveRtcStreamRequest(); + ~HotLiveRtcStreamRequest(); + std::string getVideoMsid() const; + void setVideoMsid(const std::string &videoMsid); + std::string getRegionCode() const; + void setRegionCode(const std::string ®ionCode); + std::string getConnectionTimeout() const; + void setConnectionTimeout(const std::string &connectionTimeout); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getAudioMsid() const; + void setAudioMsid(const std::string &audioMsid); + std::string getMediaTimeout() const; + void setMediaTimeout(const std::string &mediaTimeout); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string videoMsid_; + std::string regionCode_; + std::string connectionTimeout_; + std::string appName_; + std::string audioMsid_; + std::string mediaTimeout_; + std::string streamName_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_HOTLIVERTCSTREAMREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/InitializeAutoShowListTaskRequest.h b/live/include/alibabacloud/live/model/InitializeAutoShowListTaskRequest.h index 36d1e3ea2..17011b9d0 100644 --- a/live/include/alibabacloud/live/model/InitializeAutoShowListTaskRequest.h +++ b/live/include/alibabacloud/live/model/InitializeAutoShowListTaskRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_INITIALIZEAUTOSHOWLISTTASKREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_INITIALIZEAUTOSHOWLISTTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT InitializeAutoShowListTaskRequest : public RpcServiceRequest - { - - public: - InitializeAutoShowListTaskRequest(); - ~InitializeAutoShowListTaskRequest(); - - long getStartTime()const; - void setStartTime(long startTime); - std::string getCasterConfig()const; - void setCasterConfig(const std::string& casterConfig); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getEndTime()const; - void setEndTime(long endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getCallBackUrl()const; - void setCallBackUrl(const std::string& callBackUrl); - std::string getResourceIds()const; - void setResourceIds(const std::string& resourceIds); - - private: - long startTime_; - std::string casterConfig_; - std::string domainName_; - long endTime_; - long ownerId_; - std::string callBackUrl_; - std::string resourceIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_INITIALIZEAUTOSHOWLISTTASKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_INITIALIZEAUTOSHOWLISTTASKREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_INITIALIZEAUTOSHOWLISTTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT InitializeAutoShowListTaskRequest : public RpcServiceRequest { +public: + InitializeAutoShowListTaskRequest(); + ~InitializeAutoShowListTaskRequest(); + long getStartTime() const; + void setStartTime(long startTime); + std::string getCasterConfig() const; + void setCasterConfig(const std::string &casterConfig); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getEndTime() const; + void setEndTime(long endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getCallBackUrl() const; + void setCallBackUrl(const std::string &callBackUrl); + std::string getResourceIds() const; + void setResourceIds(const std::string &resourceIds); + +private: + long startTime_; + std::string casterConfig_; + std::string domainName_; + long endTime_; + long ownerId_; + std::string callBackUrl_; + std::string resourceIds_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_INITIALIZEAUTOSHOWLISTTASKREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/JoinMessageGroupRequest.h b/live/include/alibabacloud/live/model/JoinMessageGroupRequest.h new file mode 100644 index 000000000..4c5794313 --- /dev/null +++ b/live/include/alibabacloud/live/model/JoinMessageGroupRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_JOINMESSAGEGROUPREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_JOINMESSAGEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT JoinMessageGroupRequest : public RpcServiceRequest { +public: + JoinMessageGroupRequest(); + ~JoinMessageGroupRequest(); + std::string getGroupId() const; + void setGroupId(const std::string &groupId); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string groupId_; + std::string userId_; + std::string appId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_JOINMESSAGEGROUPREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/JoinMessageGroupResult.h b/live/include/alibabacloud/live/model/JoinMessageGroupResult.h new file mode 100644 index 000000000..067420b76 --- /dev/null +++ b/live/include/alibabacloud/live/model/JoinMessageGroupResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_JOINMESSAGEGROUPRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_JOINMESSAGEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT JoinMessageGroupResult : public ServiceResult + { + public: + struct Result + { + bool success; + }; + + + JoinMessageGroupResult(); + explicit JoinMessageGroupResult(const std::string &payload); + ~JoinMessageGroupResult(); + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_JOINMESSAGEGROUPRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/LeaveMessageGroupRequest.h b/live/include/alibabacloud/live/model/LeaveMessageGroupRequest.h new file mode 100644 index 000000000..d568237a1 --- /dev/null +++ b/live/include/alibabacloud/live/model/LeaveMessageGroupRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_LEAVEMESSAGEGROUPREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_LEAVEMESSAGEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT LeaveMessageGroupRequest : public RpcServiceRequest { +public: + LeaveMessageGroupRequest(); + ~LeaveMessageGroupRequest(); + std::string getGroupId() const; + void setGroupId(const std::string &groupId); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string groupId_; + std::string userId_; + std::string appId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_LEAVEMESSAGEGROUPREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/LeaveMessageGroupResult.h b/live/include/alibabacloud/live/model/LeaveMessageGroupResult.h new file mode 100644 index 000000000..190ff8aca --- /dev/null +++ b/live/include/alibabacloud/live/model/LeaveMessageGroupResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_LEAVEMESSAGEGROUPRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_LEAVEMESSAGEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT LeaveMessageGroupResult : public ServiceResult + { + public: + struct Result + { + bool success; + }; + + + LeaveMessageGroupResult(); + explicit LeaveMessageGroupResult(const std::string &payload); + ~LeaveMessageGroupResult(); + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_LEAVEMESSAGEGROUPRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryDomainsRequest.h b/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryDomainsRequest.h index f4a28aca2..ba65f63b8 100644 --- a/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryDomainsRequest.h +++ b/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryDomainsRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_LISTLIVEREALTIMELOGDELIVERYDOMAINSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_LISTLIVEREALTIMELOGDELIVERYDOMAINSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT ListLiveRealtimeLogDeliveryDomainsRequest : public RpcServiceRequest - { - - public: - ListLiveRealtimeLogDeliveryDomainsRequest(); - ~ListLiveRealtimeLogDeliveryDomainsRequest(); - - std::string getProject()const; - void setProject(const std::string& project); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getRegion()const; - void setRegion(const std::string& region); - std::string getLogstore()const; - void setLogstore(const std::string& logstore); - - private: - std::string project_; - long ownerId_; - std::string region_; - std::string logstore_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_LISTLIVEREALTIMELOGDELIVERYDOMAINSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_LISTLIVEREALTIMELOGDELIVERYDOMAINSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_LISTLIVEREALTIMELOGDELIVERYDOMAINSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT ListLiveRealtimeLogDeliveryDomainsRequest : public RpcServiceRequest { +public: + ListLiveRealtimeLogDeliveryDomainsRequest(); + ~ListLiveRealtimeLogDeliveryDomainsRequest(); + std::string getProject() const; + void setProject(const std::string &project); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getRegion() const; + void setRegion(const std::string ®ion); + std::string getLogstore() const; + void setLogstore(const std::string &logstore); + +private: + std::string project_; + long ownerId_; + std::string region_; + std::string logstore_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_LISTLIVEREALTIMELOGDELIVERYDOMAINSREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryInfosRequest.h b/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryInfosRequest.h index 44e1a19a3..ce5d4ca8f 100644 --- a/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryInfosRequest.h +++ b/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryInfosRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_LISTLIVEREALTIMELOGDELIVERYINFOSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_LISTLIVEREALTIMELOGDELIVERYINFOSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT ListLiveRealtimeLogDeliveryInfosRequest : public RpcServiceRequest - { - - public: - ListLiveRealtimeLogDeliveryInfosRequest(); - ~ListLiveRealtimeLogDeliveryInfosRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getLiveOpenapiReserve()const; - void setLiveOpenapiReserve(const std::string& liveOpenapiReserve); - - private: - long ownerId_; - std::string liveOpenapiReserve_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_LISTLIVEREALTIMELOGDELIVERYINFOSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_LISTLIVEREALTIMELOGDELIVERYINFOSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_LISTLIVEREALTIMELOGDELIVERYINFOSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT ListLiveRealtimeLogDeliveryInfosRequest : public RpcServiceRequest { +public: + ListLiveRealtimeLogDeliveryInfosRequest(); + ~ListLiveRealtimeLogDeliveryInfosRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getLiveOpenapiReserve() const; + void setLiveOpenapiReserve(const std::string &liveOpenapiReserve); + +private: + long ownerId_; + std::string liveOpenapiReserve_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_LISTLIVEREALTIMELOGDELIVERYINFOSREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryRequest.h b/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryRequest.h index 54a87ef87..60040794c 100644 --- a/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryRequest.h +++ b/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_LISTLIVEREALTIMELOGDELIVERYREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_LISTLIVEREALTIMELOGDELIVERYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT ListLiveRealtimeLogDeliveryRequest : public RpcServiceRequest - { - - public: - ListLiveRealtimeLogDeliveryRequest(); - ~ListLiveRealtimeLogDeliveryRequest(); - - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getLiveOpenapiReserve()const; - void setLiveOpenapiReserve(const std::string& liveOpenapiReserve); - - private: - long ownerId_; - std::string liveOpenapiReserve_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_LISTLIVEREALTIMELOGDELIVERYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_LISTLIVEREALTIMELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_LISTLIVEREALTIMELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT ListLiveRealtimeLogDeliveryRequest : public RpcServiceRequest { +public: + ListLiveRealtimeLogDeliveryRequest(); + ~ListLiveRealtimeLogDeliveryRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getLiveOpenapiReserve() const; + void setLiveOpenapiReserve(const std::string &liveOpenapiReserve); + +private: + long ownerId_; + std::string liveOpenapiReserve_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_LISTLIVEREALTIMELOGDELIVERYREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/ListMessageAppRequest.h b/live/include/alibabacloud/live/model/ListMessageAppRequest.h new file mode 100644 index 000000000..032e13395 --- /dev/null +++ b/live/include/alibabacloud/live/model/ListMessageAppRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_LISTMESSAGEAPPREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_LISTMESSAGEAPPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT ListMessageAppRequest : public RpcServiceRequest { +public: + ListMessageAppRequest(); + ~ListMessageAppRequest(); + int getSortType() const; + void setSortType(int sortType); + int getPageNum() const; + void setPageNum(int pageNum); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + int sortType_; + int pageNum_; + int pageSize_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_LISTMESSAGEAPPREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/ListMessageAppResult.h b/live/include/alibabacloud/live/model/ListMessageAppResult.h new file mode 100644 index 000000000..8a50c40e2 --- /dev/null +++ b/live/include/alibabacloud/live/model/ListMessageAppResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_LISTMESSAGEAPPRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_LISTMESSAGEAPPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ListMessageAppResult : public ServiceResult + { + public: + struct Result + { + struct AppListItem + { + int status; + std::string extension; + std::string appConfig; + std::string appId; + long createTime; + }; + bool hasMore; + int total; + std::vector appList; + }; + + + ListMessageAppResult(); + explicit ListMessageAppResult(const std::string &payload); + ~ListMessageAppResult(); + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_LISTMESSAGEAPPRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ListMessageGroupRequest.h b/live/include/alibabacloud/live/model/ListMessageGroupRequest.h new file mode 100644 index 000000000..85778eabb --- /dev/null +++ b/live/include/alibabacloud/live/model/ListMessageGroupRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_LISTMESSAGEGROUPREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_LISTMESSAGEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT ListMessageGroupRequest : public RpcServiceRequest { +public: + ListMessageGroupRequest(); + ~ListMessageGroupRequest(); + int getSortType() const; + void setSortType(int sortType); + int getPageNum() const; + void setPageNum(int pageNum); + std::string getUserId() const; + void setUserId(const std::string &userId); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + int sortType_; + int pageNum_; + std::string userId_; + int pageSize_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_LISTMESSAGEGROUPREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/ListMessageGroupResult.h b/live/include/alibabacloud/live/model/ListMessageGroupResult.h new file mode 100644 index 000000000..e9560ac3d --- /dev/null +++ b/live/include/alibabacloud/live/model/ListMessageGroupResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_LISTMESSAGEGROUPRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_LISTMESSAGEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ListMessageGroupResult : public ServiceResult + { + public: + struct Result + { + struct GroupListItem + { + int status; + std::string extension; + std::string creatorId; + long createTime; + std::string groupId; + }; + bool hasMore; + std::vector groupList; + int total; + }; + + + ListMessageGroupResult(); + explicit ListMessageGroupResult(const std::string &payload); + ~ListMessageGroupResult(); + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_LISTMESSAGEGROUPRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ListMessageGroupUserRequest.h b/live/include/alibabacloud/live/model/ListMessageGroupUserRequest.h new file mode 100644 index 000000000..f389b127b --- /dev/null +++ b/live/include/alibabacloud/live/model/ListMessageGroupUserRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_LISTMESSAGEGROUPUSERREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_LISTMESSAGEGROUPUSERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT ListMessageGroupUserRequest : public RpcServiceRequest { +public: + ListMessageGroupUserRequest(); + ~ListMessageGroupUserRequest(); + int getSortType() const; + void setSortType(int sortType); + std::string getGroupId() const; + void setGroupId(const std::string &groupId); + int getType() const; + void setType(int type); + int getPageNum() const; + void setPageNum(int pageNum); + std::string getAppId() const; + void setAppId(const std::string &appId); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + int sortType_; + std::string groupId_; + int type_; + int pageNum_; + std::string appId_; + int pageSize_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_LISTMESSAGEGROUPUSERREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/ListMessageGroupUserResult.h b/live/include/alibabacloud/live/model/ListMessageGroupUserResult.h new file mode 100644 index 000000000..af62fcf73 --- /dev/null +++ b/live/include/alibabacloud/live/model/ListMessageGroupUserResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_LISTMESSAGEGROUPUSERRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_LISTMESSAGEGROUPUSERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ListMessageGroupUserResult : public ServiceResult + { + public: + struct Result + { + struct UserListItem + { + std::string userId; + long joinTime; + }; + bool hasMore; + int total; + std::vector userList; + }; + + + ListMessageGroupUserResult(); + explicit ListMessageGroupUserResult(const std::string &payload); + ~ListMessageGroupUserResult(); + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_LISTMESSAGEGROUPUSERRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ListMessageRequest.h b/live/include/alibabacloud/live/model/ListMessageRequest.h new file mode 100644 index 000000000..94b245a7a --- /dev/null +++ b/live/include/alibabacloud/live/model/ListMessageRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_LISTMESSAGEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_LISTMESSAGEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT ListMessageRequest : public RpcServiceRequest { +public: + ListMessageRequest(); + ~ListMessageRequest(); + int getSortType() const; + void setSortType(int sortType); + std::string getGroupId() const; + void setGroupId(const std::string &groupId); + int getType() const; + void setType(int type); + int getPageNum() const; + void setPageNum(int pageNum); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + int sortType_; + std::string groupId_; + int type_; + int pageNum_; + int pageSize_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_LISTMESSAGEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/ListMessageResult.h b/live/include/alibabacloud/live/model/ListMessageResult.h new file mode 100644 index 000000000..72047f390 --- /dev/null +++ b/live/include/alibabacloud/live/model/ListMessageResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_LISTMESSAGERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_LISTMESSAGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ListMessageResult : public ServiceResult + { + public: + struct Result + { + struct MessageListItem + { + int type; + std::string data; + std::string senderId; + std::string groupId; + std::string messageId; + }; + bool hasMore; + std::vector messageList; + }; + + + ListMessageResult(); + explicit ListMessageResult(const std::string &payload); + ~ListMessageResult(); + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_LISTMESSAGERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ListPlaylistItemsRequest.h b/live/include/alibabacloud/live/model/ListPlaylistItemsRequest.h index 5af98a7b3..351061f7c 100644 --- a/live/include/alibabacloud/live/model/ListPlaylistItemsRequest.h +++ b/live/include/alibabacloud/live/model/ListPlaylistItemsRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_LISTPLAYLISTITEMSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_LISTPLAYLISTITEMSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT ListPlaylistItemsRequest : public RpcServiceRequest - { - - public: - ListPlaylistItemsRequest(); - ~ListPlaylistItemsRequest(); - - std::string getProgramItemIds()const; - void setProgramItemIds(const std::string& programItemIds); - std::string getProgramId()const; - void setProgramId(const std::string& programId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string programItemIds_; - std::string programId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_LISTPLAYLISTITEMSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_LISTPLAYLISTITEMSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_LISTPLAYLISTITEMSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT ListPlaylistItemsRequest : public RpcServiceRequest { +public: + ListPlaylistItemsRequest(); + ~ListPlaylistItemsRequest(); + std::string getProgramItemIds() const; + void setProgramItemIds(const std::string &programItemIds); + std::string getProgramId() const; + void setProgramId(const std::string &programId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string programItemIds_; + std::string programId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_LISTPLAYLISTITEMSREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/ListPlaylistItemsResult.h b/live/include/alibabacloud/live/model/ListPlaylistItemsResult.h index a28eeb902..792f92700 100644 --- a/live/include/alibabacloud/live/model/ListPlaylistItemsResult.h +++ b/live/include/alibabacloud/live/model/ListPlaylistItemsResult.h @@ -37,8 +37,8 @@ namespace AlibabaCloud std::string programItemName; std::string programItemId; std::string resourceValue; - std::string resourceType; int index; + std::string resourceType; std::string programId; }; diff --git a/live/include/alibabacloud/live/model/ListPlaylistRequest.h b/live/include/alibabacloud/live/model/ListPlaylistRequest.h index bc224d58f..e24258f6f 100644 --- a/live/include/alibabacloud/live/model/ListPlaylistRequest.h +++ b/live/include/alibabacloud/live/model/ListPlaylistRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_LISTPLAYLISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_LISTPLAYLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT ListPlaylistRequest : public RpcServiceRequest - { - - public: - ListPlaylistRequest(); - ~ListPlaylistRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - std::string getProgramId()const; - void setProgramId(const std::string& programId); - long getOwnerId()const; - void setOwnerId(long ownerId); - int getPage()const; - void setPage(int page); - - private: - int pageSize_; - std::string programId_; - long ownerId_; - int page_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_LISTPLAYLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_LISTPLAYLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_LISTPLAYLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT ListPlaylistRequest : public RpcServiceRequest { +public: + ListPlaylistRequest(); + ~ListPlaylistRequest(); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getProgramId() const; + void setProgramId(const std::string &programId); + long getOwnerId() const; + void setOwnerId(long ownerId); + int getPage() const; + void setPage(int page); + +private: + int pageSize_; + std::string programId_; + long ownerId_; + int page_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_LISTPLAYLISTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/ModifyCasterComponentRequest.h b/live/include/alibabacloud/live/model/ModifyCasterComponentRequest.h index 1d2659a25..c820940c3 100644 --- a/live/include/alibabacloud/live/model/ModifyCasterComponentRequest.h +++ b/live/include/alibabacloud/live/model/ModifyCasterComponentRequest.h @@ -1,75 +1,69 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERCOMPONENTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERCOMPONENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT ModifyCasterComponentRequest : public RpcServiceRequest - { - - public: - ModifyCasterComponentRequest(); - ~ModifyCasterComponentRequest(); - - std::string getImageLayerContent()const; - void setImageLayerContent(const std::string& imageLayerContent); - std::string getComponentName()const; - void setComponentName(const std::string& componentName); - std::string getComponentId()const; - void setComponentId(const std::string& componentId); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - std::string getComponentLayer()const; - void setComponentLayer(const std::string& componentLayer); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getComponentType()const; - void setComponentType(const std::string& componentType); - std::string getEffect()const; - void setEffect(const std::string& effect); - std::string getCaptionLayerContent()const; - void setCaptionLayerContent(const std::string& captionLayerContent); - std::string getTextLayerContent()const; - void setTextLayerContent(const std::string& textLayerContent); - - private: - std::string imageLayerContent_; - std::string componentName_; - std::string componentId_; - std::string casterId_; - std::string componentLayer_; - long ownerId_; - std::string componentType_; - std::string effect_; - std::string captionLayerContent_; - std::string textLayerContent_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERCOMPONENTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERCOMPONENTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERCOMPONENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT ModifyCasterComponentRequest : public RpcServiceRequest { +public: + ModifyCasterComponentRequest(); + ~ModifyCasterComponentRequest(); + std::string getImageLayerContent() const; + void setImageLayerContent(const std::string &imageLayerContent); + std::string getComponentName() const; + void setComponentName(const std::string &componentName); + std::string getComponentId() const; + void setComponentId(const std::string &componentId); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + std::string getComponentLayer() const; + void setComponentLayer(const std::string &componentLayer); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getComponentType() const; + void setComponentType(const std::string &componentType); + std::string getEffect() const; + void setEffect(const std::string &effect); + std::string getCaptionLayerContent() const; + void setCaptionLayerContent(const std::string &captionLayerContent); + std::string getTextLayerContent() const; + void setTextLayerContent(const std::string &textLayerContent); + +private: + std::string imageLayerContent_; + std::string componentName_; + std::string componentId_; + std::string casterId_; + std::string componentLayer_; + long ownerId_; + std::string componentType_; + std::string effect_; + std::string captionLayerContent_; + std::string textLayerContent_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERCOMPONENTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/ModifyCasterEpisodeRequest.h b/live/include/alibabacloud/live/model/ModifyCasterEpisodeRequest.h index 60932b891..80a040f29 100644 --- a/live/include/alibabacloud/live/model/ModifyCasterEpisodeRequest.h +++ b/live/include/alibabacloud/live/model/ModifyCasterEpisodeRequest.h @@ -1,72 +1,66 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_MODIFYCASTEREPISODEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_MODIFYCASTEREPISODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT ModifyCasterEpisodeRequest : public RpcServiceRequest - { - - public: - ModifyCasterEpisodeRequest(); - ~ModifyCasterEpisodeRequest(); - - std::string getEpisodeName()const; - void setEpisodeName(const std::string& episodeName); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - std::vector getComponentId()const; - void setComponentId(const std::vector& componentId); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getEpisodeId()const; - void setEpisodeId(const std::string& episodeId); - std::string getSwitchType()const; - void setSwitchType(const std::string& switchType); - - private: - std::string episodeName_; - std::string startTime_; - std::string resourceId_; - std::vector componentId_; - std::string casterId_; - std::string endTime_; - long ownerId_; - std::string episodeId_; - std::string switchType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYCASTEREPISODEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_MODIFYCASTEREPISODEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_MODIFYCASTEREPISODEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT ModifyCasterEpisodeRequest : public RpcServiceRequest { +public: + ModifyCasterEpisodeRequest(); + ~ModifyCasterEpisodeRequest(); + std::string getEpisodeName() const; + void setEpisodeName(const std::string &episodeName); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getResourceId() const; + void setResourceId(const std::string &resourceId); + std::vector getComponentId() const; + void setComponentId(const std::vector &componentId); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getEpisodeId() const; + void setEpisodeId(const std::string &episodeId); + std::string getSwitchType() const; + void setSwitchType(const std::string &switchType); + +private: + std::string episodeName_; + std::string startTime_; + std::string resourceId_; + std::vector componentId_; + std::string casterId_; + std::string endTime_; + long ownerId_; + std::string episodeId_; + std::string switchType_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYCASTEREPISODEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/ModifyCasterLayoutRequest.h b/live/include/alibabacloud/live/model/ModifyCasterLayoutRequest.h index 9e630a289..11d9385d6 100644 --- a/live/include/alibabacloud/live/model/ModifyCasterLayoutRequest.h +++ b/live/include/alibabacloud/live/model/ModifyCasterLayoutRequest.h @@ -1,82 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERLAYOUTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERLAYOUTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT ModifyCasterLayoutRequest : public RpcServiceRequest - { - public: - struct AudioLayer - { - float volumeRate; - std::string validChannel; - int fixedDelayDuration; - }; - struct VideoLayer - { - std::string fillMode; - float heightNormalized; - float widthNormalized; - std::string positionRefer; - std::vector positionNormalized; - int fixedDelayDuration; - }; - - public: - ModifyCasterLayoutRequest(); - ~ModifyCasterLayoutRequest(); - - std::vector getBlendList()const; - void setBlendList(const std::vector& blendList); - std::string getLayoutId()const; - void setLayoutId(const std::string& layoutId); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::vector getAudioLayer()const; - void setAudioLayer(const std::vector& audioLayer); - std::vector getVideoLayer()const; - void setVideoLayer(const std::vector& videoLayer); - std::vector getMixList()const; - void setMixList(const std::vector& mixList); - - private: - std::vector blendList_; - std::string layoutId_; - std::string casterId_; - long ownerId_; - std::vector audioLayer_; - std::vector videoLayer_; - std::vector mixList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERLAYOUTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERLAYOUTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERLAYOUTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT ModifyCasterLayoutRequest : public RpcServiceRequest { +public: + struct AudioLayer { + float volumeRate; + int fixedDelayDuration; + std::string validChannel; + }; + struct VideoLayer { + int fixedDelayDuration; + std::string fillMode; + float heightNormalized; + std::string positionRefer; + float widthNormalized; + }; + ModifyCasterLayoutRequest(); + ~ModifyCasterLayoutRequest(); + std::vector getBlendList() const; + void setBlendList(const std::vector &blendList); + std::string getLayoutId() const; + void setLayoutId(const std::string &layoutId); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::vector getAudioLayer() const; + void setAudioLayer(const std::vector &audioLayer); + std::vector getVideoLayer() const; + void setVideoLayer(const std::vector &videoLayer); + std::vector getMixList() const; + void setMixList(const std::vector &mixList); + +private: + std::vector blendList_; + std::string layoutId_; + std::string casterId_; + long ownerId_; + std::vector audioLayer_; + std::vector videoLayer_; + std::vector mixList_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERLAYOUTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/ModifyCasterProgramRequest.h b/live/include/alibabacloud/live/model/ModifyCasterProgramRequest.h index 6b8c79e5a..b565401c7 100644 --- a/live/include/alibabacloud/live/model/ModifyCasterProgramRequest.h +++ b/live/include/alibabacloud/live/model/ModifyCasterProgramRequest.h @@ -1,66 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERPROGRAMREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERPROGRAMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT ModifyCasterProgramRequest : public RpcServiceRequest - { - public: - struct Episode - { - std::string episodeId; - std::string episodeType; - std::string episodeName; - std::string resourceId; - std::vector componentId; - std::string startTime; - std::string endTime; - std::string switchType; - }; - - public: - ModifyCasterProgramRequest(); - ~ModifyCasterProgramRequest(); - - std::vector getEpisode()const; - void setEpisode(const std::vector& episode); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::vector episode_; - std::string casterId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERPROGRAMREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERPROGRAMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERPROGRAMREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT ModifyCasterProgramRequest : public RpcServiceRequest { +public: + struct Episode { + std::string endTime; + std::string startTime; + std::string episodeName; + std::string episodeType; + std::string episodeId; + std::string resourceId; + std::string switchType; + }; + ModifyCasterProgramRequest(); + ~ModifyCasterProgramRequest(); + std::vector getEpisode() const; + void setEpisode(const std::vector &episode); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::vector episode_; + std::string casterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERPROGRAMREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/ModifyCasterVideoResourceRequest.h b/live/include/alibabacloud/live/model/ModifyCasterVideoResourceRequest.h index d42514bb4..513533ff0 100644 --- a/live/include/alibabacloud/live/model/ModifyCasterVideoResourceRequest.h +++ b/live/include/alibabacloud/live/model/ModifyCasterVideoResourceRequest.h @@ -1,78 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERVIDEORESOURCEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERVIDEORESOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT ModifyCasterVideoResourceRequest : public RpcServiceRequest - { - - public: - ModifyCasterVideoResourceRequest(); - ~ModifyCasterVideoResourceRequest(); - - int getEndOffset()const; - void setEndOffset(int endOffset); - std::string getMaterialId()const; - void setMaterialId(const std::string& materialId); - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - std::string getVodUrl()const; - void setVodUrl(const std::string& vodUrl); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - int getBeginOffset()const; - void setBeginOffset(int beginOffset); - std::string getLiveStreamUrl()const; - void setLiveStreamUrl(const std::string& liveStreamUrl); - int getPtsCallbackInterval()const; - void setPtsCallbackInterval(int ptsCallbackInterval); - std::string getResourceName()const; - void setResourceName(const std::string& resourceName); - int getRepeatNum()const; - void setRepeatNum(int repeatNum); - - private: - int endOffset_; - std::string materialId_; - std::string resourceId_; - std::string vodUrl_; - std::string casterId_; - long ownerId_; - int beginOffset_; - std::string liveStreamUrl_; - int ptsCallbackInterval_; - std::string resourceName_; - int repeatNum_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERVIDEORESOURCEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERVIDEORESOURCEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERVIDEORESOURCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT ModifyCasterVideoResourceRequest : public RpcServiceRequest { +public: + ModifyCasterVideoResourceRequest(); + ~ModifyCasterVideoResourceRequest(); + int getEndOffset() const; + void setEndOffset(int endOffset); + std::string getMaterialId() const; + void setMaterialId(const std::string &materialId); + std::string getResourceId() const; + void setResourceId(const std::string &resourceId); + std::string getVodUrl() const; + void setVodUrl(const std::string &vodUrl); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + int getBeginOffset() const; + void setBeginOffset(int beginOffset); + std::string getLiveStreamUrl() const; + void setLiveStreamUrl(const std::string &liveStreamUrl); + int getPtsCallbackInterval() const; + void setPtsCallbackInterval(int ptsCallbackInterval); + std::string getResourceName() const; + void setResourceName(const std::string &resourceName); + int getRepeatNum() const; + void setRepeatNum(int repeatNum); + +private: + int endOffset_; + std::string materialId_; + std::string resourceId_; + std::string vodUrl_; + std::string casterId_; + long ownerId_; + int beginOffset_; + std::string liveStreamUrl_; + int ptsCallbackInterval_; + std::string resourceName_; + int repeatNum_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERVIDEORESOURCEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/ModifyLiveDomainSchdmByPropertyRequest.h b/live/include/alibabacloud/live/model/ModifyLiveDomainSchdmByPropertyRequest.h index b3835c42d..9833c4d6d 100644 --- a/live/include/alibabacloud/live/model/ModifyLiveDomainSchdmByPropertyRequest.h +++ b/live/include/alibabacloud/live/model/ModifyLiveDomainSchdmByPropertyRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_MODIFYLIVEDOMAINSCHDMBYPROPERTYREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_MODIFYLIVEDOMAINSCHDMBYPROPERTYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT ModifyLiveDomainSchdmByPropertyRequest : public RpcServiceRequest - { - - public: - ModifyLiveDomainSchdmByPropertyRequest(); - ~ModifyLiveDomainSchdmByPropertyRequest(); - - std::string getProperty()const; - void setProperty(const std::string& property); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string property_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYLIVEDOMAINSCHDMBYPROPERTYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_MODIFYLIVEDOMAINSCHDMBYPROPERTYREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_MODIFYLIVEDOMAINSCHDMBYPROPERTYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT ModifyLiveDomainSchdmByPropertyRequest : public RpcServiceRequest { +public: + ModifyLiveDomainSchdmByPropertyRequest(); + ~ModifyLiveDomainSchdmByPropertyRequest(); + std::string getProperty() const; + void setProperty(const std::string &property); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string property_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYLIVEDOMAINSCHDMBYPROPERTYREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/ModifyLiveRealtimeLogDeliveryRequest.h b/live/include/alibabacloud/live/model/ModifyLiveRealtimeLogDeliveryRequest.h index a2e9bbec9..7075211e2 100644 --- a/live/include/alibabacloud/live/model/ModifyLiveRealtimeLogDeliveryRequest.h +++ b/live/include/alibabacloud/live/model/ModifyLiveRealtimeLogDeliveryRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_MODIFYLIVEREALTIMELOGDELIVERYREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_MODIFYLIVEREALTIMELOGDELIVERYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT ModifyLiveRealtimeLogDeliveryRequest : public RpcServiceRequest - { - - public: - ModifyLiveRealtimeLogDeliveryRequest(); - ~ModifyLiveRealtimeLogDeliveryRequest(); - - std::string getProject()const; - void setProject(const std::string& project); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getRegion()const; - void setRegion(const std::string& region); - std::string getLogstore()const; - void setLogstore(const std::string& logstore); - - private: - std::string project_; - std::string domainName_; - long ownerId_; - std::string region_; - std::string logstore_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYLIVEREALTIMELOGDELIVERYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_MODIFYLIVEREALTIMELOGDELIVERYREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_MODIFYLIVEREALTIMELOGDELIVERYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT ModifyLiveRealtimeLogDeliveryRequest : public RpcServiceRequest { +public: + ModifyLiveRealtimeLogDeliveryRequest(); + ~ModifyLiveRealtimeLogDeliveryRequest(); + std::string getProject() const; + void setProject(const std::string &project); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getRegion() const; + void setRegion(const std::string ®ion); + std::string getLogstore() const; + void setLogstore(const std::string &logstore); + +private: + std::string project_; + std::string domainName_; + long ownerId_; + std::string region_; + std::string logstore_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYLIVEREALTIMELOGDELIVERYREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/ModifyShowListRequest.h b/live/include/alibabacloud/live/model/ModifyShowListRequest.h index 030fd4713..5660f76bf 100644 --- a/live/include/alibabacloud/live/model/ModifyShowListRequest.h +++ b/live/include/alibabacloud/live/model/ModifyShowListRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_MODIFYSHOWLISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_MODIFYSHOWLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT ModifyShowListRequest : public RpcServiceRequest - { - - public: - ModifyShowListRequest(); - ~ModifyShowListRequest(); - - int getRepeatTimes()const; - void setRepeatTimes(int repeatTimes); - std::string getHighPriorityShowStartTime()const; - void setHighPriorityShowStartTime(const std::string& highPriorityShowStartTime); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - std::string getHighPriorityShowId()const; - void setHighPriorityShowId(const std::string& highPriorityShowId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getShowId()const; - void setShowId(const std::string& showId); - int getSpot()const; - void setSpot(int spot); - - private: - int repeatTimes_; - std::string highPriorityShowStartTime_; - std::string casterId_; - std::string highPriorityShowId_; - long ownerId_; - std::string showId_; - int spot_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYSHOWLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_MODIFYSHOWLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_MODIFYSHOWLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT ModifyShowListRequest : public RpcServiceRequest { +public: + ModifyShowListRequest(); + ~ModifyShowListRequest(); + int getRepeatTimes() const; + void setRepeatTimes(int repeatTimes); + std::string getHighPriorityShowStartTime() const; + void setHighPriorityShowStartTime(const std::string &highPriorityShowStartTime); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + std::string getHighPriorityShowId() const; + void setHighPriorityShowId(const std::string &highPriorityShowId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getShowId() const; + void setShowId(const std::string &showId); + int getSpot() const; + void setSpot(int spot); + +private: + int repeatTimes_; + std::string highPriorityShowStartTime_; + std::string casterId_; + std::string highPriorityShowId_; + long ownerId_; + std::string showId_; + int spot_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYSHOWLISTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/ModifyStudioLayoutRequest.h b/live/include/alibabacloud/live/model/ModifyStudioLayoutRequest.h index 9807aa80e..d37bec299 100644 --- a/live/include/alibabacloud/live/model/ModifyStudioLayoutRequest.h +++ b/live/include/alibabacloud/live/model/ModifyStudioLayoutRequest.h @@ -1,72 +1,66 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_MODIFYSTUDIOLAYOUTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_MODIFYSTUDIOLAYOUTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT ModifyStudioLayoutRequest : public RpcServiceRequest - { - - public: - ModifyStudioLayoutRequest(); - ~ModifyStudioLayoutRequest(); - - std::string getScreenInputConfigList()const; - void setScreenInputConfigList(const std::string& screenInputConfigList); - std::string getLayoutId()const; - void setLayoutId(const std::string& layoutId); - std::string getLayoutName()const; - void setLayoutName(const std::string& layoutName); - std::string getLayerOrderConfigList()const; - void setLayerOrderConfigList(const std::string& layerOrderConfigList); - std::string getMediaInputConfigList()const; - void setMediaInputConfigList(const std::string& mediaInputConfigList); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - std::string getBgImageConfig()const; - void setBgImageConfig(const std::string& bgImageConfig); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getCommonConfig()const; - void setCommonConfig(const std::string& commonConfig); - - private: - std::string screenInputConfigList_; - std::string layoutId_; - std::string layoutName_; - std::string layerOrderConfigList_; - std::string mediaInputConfigList_; - std::string casterId_; - std::string bgImageConfig_; - long ownerId_; - std::string commonConfig_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYSTUDIOLAYOUTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_MODIFYSTUDIOLAYOUTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_MODIFYSTUDIOLAYOUTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT ModifyStudioLayoutRequest : public RpcServiceRequest { +public: + ModifyStudioLayoutRequest(); + ~ModifyStudioLayoutRequest(); + std::string getScreenInputConfigList() const; + void setScreenInputConfigList(const std::string &screenInputConfigList); + std::string getLayoutId() const; + void setLayoutId(const std::string &layoutId); + std::string getLayoutName() const; + void setLayoutName(const std::string &layoutName); + std::string getLayerOrderConfigList() const; + void setLayerOrderConfigList(const std::string &layerOrderConfigList); + std::string getMediaInputConfigList() const; + void setMediaInputConfigList(const std::string &mediaInputConfigList); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + std::string getBgImageConfig() const; + void setBgImageConfig(const std::string &bgImageConfig); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getCommonConfig() const; + void setCommonConfig(const std::string &commonConfig); + +private: + std::string screenInputConfigList_; + std::string layoutId_; + std::string layoutName_; + std::string layerOrderConfigList_; + std::string mediaInputConfigList_; + std::string casterId_; + std::string bgImageConfig_; + long ownerId_; + std::string commonConfig_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYSTUDIOLAYOUTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/OpenLiveShiftRequest.h b/live/include/alibabacloud/live/model/OpenLiveShiftRequest.h index 2c7f303e2..e3626ec10 100644 --- a/live/include/alibabacloud/live/model/OpenLiveShiftRequest.h +++ b/live/include/alibabacloud/live/model/OpenLiveShiftRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_OPENLIVESHIFTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_OPENLIVESHIFTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT OpenLiveShiftRequest : public RpcServiceRequest - { - - public: - OpenLiveShiftRequest(); - ~OpenLiveShiftRequest(); - - int getDuration()const; - void setDuration(int duration); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - bool getIgnoreTranscode()const; - void setIgnoreTranscode(bool ignoreTranscode); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - int getVision()const; - void setVision(int vision); - - private: - int duration_; - std::string appName_; - std::string streamName_; - bool ignoreTranscode_; - std::string domainName_; - long ownerId_; - int vision_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_OPENLIVESHIFTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_OPENLIVESHIFTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_OPENLIVESHIFTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT OpenLiveShiftRequest : public RpcServiceRequest { +public: + OpenLiveShiftRequest(); + ~OpenLiveShiftRequest(); + int getDuration() const; + void setDuration(int duration); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + bool getIgnoreTranscode() const; + void setIgnoreTranscode(bool ignoreTranscode); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + int getVision() const; + void setVision(int vision); + +private: + int duration_; + std::string appName_; + std::string streamName_; + bool ignoreTranscode_; + std::string domainName_; + long ownerId_; + int vision_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_OPENLIVESHIFTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/PlayChoosenShowRequest.h b/live/include/alibabacloud/live/model/PlayChoosenShowRequest.h index e1cab6c61..c76d12957 100644 --- a/live/include/alibabacloud/live/model/PlayChoosenShowRequest.h +++ b/live/include/alibabacloud/live/model/PlayChoosenShowRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_PLAYCHOOSENSHOWREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_PLAYCHOOSENSHOWREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT PlayChoosenShowRequest : public RpcServiceRequest - { - - public: - PlayChoosenShowRequest(); - ~PlayChoosenShowRequest(); - - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getShowId()const; - void setShowId(const std::string& showId); - - private: - std::string casterId_; - long ownerId_; - std::string showId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_PLAYCHOOSENSHOWREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_PLAYCHOOSENSHOWREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_PLAYCHOOSENSHOWREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT PlayChoosenShowRequest : public RpcServiceRequest { +public: + PlayChoosenShowRequest(); + ~PlayChoosenShowRequest(); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getShowId() const; + void setShowId(const std::string &showId); + +private: + std::string casterId_; + long ownerId_; + std::string showId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_PLAYCHOOSENSHOWREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/PublishLiveStagingConfigToProductionRequest.h b/live/include/alibabacloud/live/model/PublishLiveStagingConfigToProductionRequest.h index 08ac24a53..6f7b4578a 100644 --- a/live/include/alibabacloud/live/model/PublishLiveStagingConfigToProductionRequest.h +++ b/live/include/alibabacloud/live/model/PublishLiveStagingConfigToProductionRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_PUBLISHLIVESTAGINGCONFIGTOPRODUCTIONREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_PUBLISHLIVESTAGINGCONFIGTOPRODUCTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT PublishLiveStagingConfigToProductionRequest : public RpcServiceRequest - { - - public: - PublishLiveStagingConfigToProductionRequest(); - ~PublishLiveStagingConfigToProductionRequest(); - - std::string getFunctionName()const; - void setFunctionName(const std::string& functionName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string functionName_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_PUBLISHLIVESTAGINGCONFIGTOPRODUCTIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_PUBLISHLIVESTAGINGCONFIGTOPRODUCTIONREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_PUBLISHLIVESTAGINGCONFIGTOPRODUCTIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT PublishLiveStagingConfigToProductionRequest : public RpcServiceRequest { +public: + PublishLiveStagingConfigToProductionRequest(); + ~PublishLiveStagingConfigToProductionRequest(); + std::string getFunctionName() const; + void setFunctionName(const std::string &functionName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string functionName_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_PUBLISHLIVESTAGINGCONFIGTOPRODUCTIONREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/QuerySnapshotCallbackAuthRequest.h b/live/include/alibabacloud/live/model/QuerySnapshotCallbackAuthRequest.h index d9580b66d..598738229 100644 --- a/live/include/alibabacloud/live/model/QuerySnapshotCallbackAuthRequest.h +++ b/live/include/alibabacloud/live/model/QuerySnapshotCallbackAuthRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_QUERYSNAPSHOTCALLBACKAUTHREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_QUERYSNAPSHOTCALLBACKAUTHREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT QuerySnapshotCallbackAuthRequest : public RpcServiceRequest - { - - public: - QuerySnapshotCallbackAuthRequest(); - ~QuerySnapshotCallbackAuthRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_QUERYSNAPSHOTCALLBACKAUTHREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_QUERYSNAPSHOTCALLBACKAUTHREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_QUERYSNAPSHOTCALLBACKAUTHREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT QuerySnapshotCallbackAuthRequest : public RpcServiceRequest { +public: + QuerySnapshotCallbackAuthRequest(); + ~QuerySnapshotCallbackAuthRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_QUERYSNAPSHOTCALLBACKAUTHREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/RealTimeRecordCommandRequest.h b/live/include/alibabacloud/live/model/RealTimeRecordCommandRequest.h index edbc0f2a6..aa9b160ba 100644 --- a/live/include/alibabacloud/live/model/RealTimeRecordCommandRequest.h +++ b/live/include/alibabacloud/live/model/RealTimeRecordCommandRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_REALTIMERECORDCOMMANDREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_REALTIMERECORDCOMMANDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT RealTimeRecordCommandRequest : public RpcServiceRequest - { - - public: - RealTimeRecordCommandRequest(); - ~RealTimeRecordCommandRequest(); - - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getCommand()const; - void setCommand(const std::string& command); - - private: - std::string appName_; - std::string streamName_; - std::string domainName_; - long ownerId_; - std::string command_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_REALTIMERECORDCOMMANDREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_REALTIMERECORDCOMMANDREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_REALTIMERECORDCOMMANDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT RealTimeRecordCommandRequest : public RpcServiceRequest { +public: + RealTimeRecordCommandRequest(); + ~RealTimeRecordCommandRequest(); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getCommand() const; + void setCommand(const std::string &command); + +private: + std::string appName_; + std::string streamName_; + std::string domainName_; + long ownerId_; + std::string command_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_REALTIMERECORDCOMMANDREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/RealTimeSnapshotCommandRequest.h b/live/include/alibabacloud/live/model/RealTimeSnapshotCommandRequest.h index 90ecc74f9..9e38a9cc8 100644 --- a/live/include/alibabacloud/live/model/RealTimeSnapshotCommandRequest.h +++ b/live/include/alibabacloud/live/model/RealTimeSnapshotCommandRequest.h @@ -1,66 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_REALTIMESNAPSHOTCOMMANDREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_REALTIMESNAPSHOTCOMMANDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT RealTimeSnapshotCommandRequest : public RpcServiceRequest - { - - public: - RealTimeSnapshotCommandRequest(); - ~RealTimeSnapshotCommandRequest(); - - int getMode()const; - void setMode(int mode); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getCommand()const; - void setCommand(const std::string& command); - int getInterval()const; - void setInterval(int interval); - - private: - int mode_; - std::string appName_; - std::string streamName_; - std::string domainName_; - long ownerId_; - std::string command_; - int interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_REALTIMESNAPSHOTCOMMANDREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_REALTIMESNAPSHOTCOMMANDREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_REALTIMESNAPSHOTCOMMANDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT RealTimeSnapshotCommandRequest : public RpcServiceRequest { +public: + RealTimeSnapshotCommandRequest(); + ~RealTimeSnapshotCommandRequest(); + int getSource() const; + void setSource(int source); + int getMode() const; + void setMode(int mode); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getCommand() const; + void setCommand(const std::string &command); + int getInterval() const; + void setInterval(int interval); + +private: + int source_; + int mode_; + std::string appName_; + std::string streamName_; + std::string domainName_; + long ownerId_; + std::string command_; + int interval_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_REALTIMESNAPSHOTCOMMANDREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/RemoveShowFromShowListRequest.h b/live/include/alibabacloud/live/model/RemoveShowFromShowListRequest.h index 055c04f14..542e31eca 100644 --- a/live/include/alibabacloud/live/model/RemoveShowFromShowListRequest.h +++ b/live/include/alibabacloud/live/model/RemoveShowFromShowListRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_REMOVESHOWFROMSHOWLISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_REMOVESHOWFROMSHOWLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT RemoveShowFromShowListRequest : public RpcServiceRequest - { - - public: - RemoveShowFromShowListRequest(); - ~RemoveShowFromShowListRequest(); - - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getShowId()const; - void setShowId(const std::string& showId); - - private: - std::string casterId_; - long ownerId_; - std::string showId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_REMOVESHOWFROMSHOWLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_REMOVESHOWFROMSHOWLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_REMOVESHOWFROMSHOWLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT RemoveShowFromShowListRequest : public RpcServiceRequest { +public: + RemoveShowFromShowListRequest(); + ~RemoveShowFromShowListRequest(); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getShowId() const; + void setShowId(const std::string &showId); + +private: + std::string casterId_; + long ownerId_; + std::string showId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_REMOVESHOWFROMSHOWLISTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/ResumeLiveStreamRequest.h b/live/include/alibabacloud/live/model/ResumeLiveStreamRequest.h index 7c86fdf5a..c198b3080 100644 --- a/live/include/alibabacloud/live/model/ResumeLiveStreamRequest.h +++ b/live/include/alibabacloud/live/model/ResumeLiveStreamRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_RESUMELIVESTREAMREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_RESUMELIVESTREAMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT ResumeLiveStreamRequest : public RpcServiceRequest - { - - public: - ResumeLiveStreamRequest(); - ~ResumeLiveStreamRequest(); - - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getLiveStreamType()const; - void setLiveStreamType(const std::string& liveStreamType); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string appName_; - std::string securityToken_; - std::string streamName_; - std::string liveStreamType_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_RESUMELIVESTREAMREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_RESUMELIVESTREAMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_RESUMELIVESTREAMREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT ResumeLiveStreamRequest : public RpcServiceRequest { +public: + ResumeLiveStreamRequest(); + ~ResumeLiveStreamRequest(); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getLiveStreamType() const; + void setLiveStreamType(const std::string &liveStreamType); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string appName_; + std::string securityToken_; + std::string streamName_; + std::string liveStreamType_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_RESUMELIVESTREAMREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/RollbackLiveStagingConfigRequest.h b/live/include/alibabacloud/live/model/RollbackLiveStagingConfigRequest.h index 85fc25527..dbdcf8a17 100644 --- a/live/include/alibabacloud/live/model/RollbackLiveStagingConfigRequest.h +++ b/live/include/alibabacloud/live/model/RollbackLiveStagingConfigRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ROLLBACKLIVESTAGINGCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ROLLBACKLIVESTAGINGCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT RollbackLiveStagingConfigRequest : public RpcServiceRequest - { - - public: - RollbackLiveStagingConfigRequest(); - ~RollbackLiveStagingConfigRequest(); - - std::string getFunctionName()const; - void setFunctionName(const std::string& functionName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string functionName_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_ROLLBACKLIVESTAGINGCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ROLLBACKLIVESTAGINGCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ROLLBACKLIVESTAGINGCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT RollbackLiveStagingConfigRequest : public RpcServiceRequest { +public: + RollbackLiveStagingConfigRequest(); + ~RollbackLiveStagingConfigRequest(); + std::string getFunctionName() const; + void setFunctionName(const std::string &functionName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string functionName_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ROLLBACKLIVESTAGINGCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/SendMessageToGroupRequest.h b/live/include/alibabacloud/live/model/SendMessageToGroupRequest.h new file mode 100644 index 000000000..8c58fa3c6 --- /dev/null +++ b/live/include/alibabacloud/live/model/SendMessageToGroupRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SENDMESSAGETOGROUPREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SENDMESSAGETOGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT SendMessageToGroupRequest : public RpcServiceRequest { +public: + SendMessageToGroupRequest(); + ~SendMessageToGroupRequest(); + std::string getData() const; + void setData(const std::string &data); + std::string getGroupId() const; + void setGroupId(const std::string &groupId); + int getType() const; + void setType(int type); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string data_; + std::string groupId_; + int type_; + std::string appId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_SENDMESSAGETOGROUPREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/SendMessageToGroupResult.h b/live/include/alibabacloud/live/model/SendMessageToGroupResult.h new file mode 100644 index 000000000..6bf1a21b1 --- /dev/null +++ b/live/include/alibabacloud/live/model/SendMessageToGroupResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SENDMESSAGETOGROUPRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_SENDMESSAGETOGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SendMessageToGroupResult : public ServiceResult + { + public: + struct Result + { + std::string messageId; + }; + + + SendMessageToGroupResult(); + explicit SendMessageToGroupResult(const std::string &payload); + ~SendMessageToGroupResult(); + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_SENDMESSAGETOGROUPRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SendMessageToGroupUsersRequest.h b/live/include/alibabacloud/live/model/SendMessageToGroupUsersRequest.h new file mode 100644 index 000000000..9bb2eea2c --- /dev/null +++ b/live/include/alibabacloud/live/model/SendMessageToGroupUsersRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SENDMESSAGETOGROUPUSERSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SENDMESSAGETOGROUPUSERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT SendMessageToGroupUsersRequest : public RpcServiceRequest { +public: + SendMessageToGroupUsersRequest(); + ~SendMessageToGroupUsersRequest(); + std::vector getReceiverIdList() const; + void setReceiverIdList(const std::vector &receiverIdList); + std::string getGroupIdcopy() const; + void setGroupIdcopy(const std::string &groupIdcopy); + std::string getGroupId() const; + void setGroupId(const std::string &groupId); + int getType() const; + void setType(int type); + +private: + std::vector receiverIdList_; + std::string groupIdcopy_; + std::string groupId_; + int type_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_SENDMESSAGETOGROUPUSERSREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/SendMessageToGroupUsersResult.h b/live/include/alibabacloud/live/model/SendMessageToGroupUsersResult.h new file mode 100644 index 000000000..1bd9b37ad --- /dev/null +++ b/live/include/alibabacloud/live/model/SendMessageToGroupUsersResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SENDMESSAGETOGROUPUSERSRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_SENDMESSAGETOGROUPUSERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SendMessageToGroupUsersResult : public ServiceResult + { + public: + struct Result + { + std::string messageId; + }; + + + SendMessageToGroupUsersResult(); + explicit SendMessageToGroupUsersResult(const std::string &payload); + ~SendMessageToGroupUsersResult(); + Result getResult()const; + + protected: + void parse(const std::string &payload); + private: + Result result_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_SENDMESSAGETOGROUPUSERSRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SendRoomNotificationRequest.h b/live/include/alibabacloud/live/model/SendRoomNotificationRequest.h index 61d8b8ebc..6bc564414 100644 --- a/live/include/alibabacloud/live/model/SendRoomNotificationRequest.h +++ b/live/include/alibabacloud/live/model/SendRoomNotificationRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SendRoomNotificationRequest : public RpcServiceRequest - { - - public: - SendRoomNotificationRequest(); - ~SendRoomNotificationRequest(); - - std::string getData()const; - void setData(const std::string& data); - std::string getAppUid()const; - void setAppUid(const std::string& appUid); - long getOwnerId()const; - void setOwnerId(long ownerId); - int getPriority()const; - void setPriority(int priority); - std::string getRoomId()const; - void setRoomId(const std::string& roomId); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string data_; - std::string appUid_; - long ownerId_; - int priority_; - std::string roomId_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT SendRoomNotificationRequest : public RpcServiceRequest { +public: + SendRoomNotificationRequest(); + ~SendRoomNotificationRequest(); + std::string getData() const; + void setData(const std::string &data); + std::string getAppUid() const; + void setAppUid(const std::string &appUid); + long getOwnerId() const; + void setOwnerId(long ownerId); + int getPriority() const; + void setPriority(int priority); + std::string getRoomId() const; + void setRoomId(const std::string &roomId); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string data_; + std::string appUid_; + long ownerId_; + int priority_; + std::string roomId_; + std::string appId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_SENDROOMNOTIFICATIONREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/SendRoomUserNotificationRequest.h b/live/include/alibabacloud/live/model/SendRoomUserNotificationRequest.h index 070ca8190..23c8c9ac8 100644 --- a/live/include/alibabacloud/live/model/SendRoomUserNotificationRequest.h +++ b/live/include/alibabacloud/live/model/SendRoomUserNotificationRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SENDROOMUSERNOTIFICATIONREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_SENDROOMUSERNOTIFICATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SendRoomUserNotificationRequest : public RpcServiceRequest - { - - public: - SendRoomUserNotificationRequest(); - ~SendRoomUserNotificationRequest(); - - std::string getData()const; - void setData(const std::string& data); - std::string getToAppUid()const; - void setToAppUid(const std::string& toAppUid); - std::string getAppUid()const; - void setAppUid(const std::string& appUid); - long getOwnerId()const; - void setOwnerId(long ownerId); - int getPriority()const; - void setPriority(int priority); - std::string getRoomId()const; - void setRoomId(const std::string& roomId); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string data_; - std::string toAppUid_; - std::string appUid_; - long ownerId_; - int priority_; - std::string roomId_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_SENDROOMUSERNOTIFICATIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SENDROOMUSERNOTIFICATIONREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SENDROOMUSERNOTIFICATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT SendRoomUserNotificationRequest : public RpcServiceRequest { +public: + SendRoomUserNotificationRequest(); + ~SendRoomUserNotificationRequest(); + std::string getData() const; + void setData(const std::string &data); + std::string getToAppUid() const; + void setToAppUid(const std::string &toAppUid); + std::string getAppUid() const; + void setAppUid(const std::string &appUid); + long getOwnerId() const; + void setOwnerId(long ownerId); + int getPriority() const; + void setPriority(int priority); + std::string getRoomId() const; + void setRoomId(const std::string &roomId); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string data_; + std::string toAppUid_; + std::string appUid_; + long ownerId_; + int priority_; + std::string roomId_; + std::string appId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_SENDROOMUSERNOTIFICATIONREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/SetCasterChannelRequest.h b/live/include/alibabacloud/live/model/SetCasterChannelRequest.h index 57c92b908..faa8c43bb 100644 --- a/live/include/alibabacloud/live/model/SetCasterChannelRequest.h +++ b/live/include/alibabacloud/live/model/SetCasterChannelRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SETCASTERCHANNELREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETCASTERCHANNELREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SetCasterChannelRequest : public RpcServiceRequest - { - - public: - SetCasterChannelRequest(); - ~SetCasterChannelRequest(); - - std::string getFaceBeauty()const; - void setFaceBeauty(const std::string& faceBeauty); - int getSeekOffset()const; - void setSeekOffset(int seekOffset); - int getPlayStatus()const; - void setPlayStatus(int playStatus); - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - int getReloadFlag()const; - void setReloadFlag(int reloadFlag); - std::string getChannelId()const; - void setChannelId(const std::string& channelId); - - private: - std::string faceBeauty_; - int seekOffset_; - int playStatus_; - std::string resourceId_; - std::string casterId_; - long ownerId_; - int reloadFlag_; - std::string channelId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_SETCASTERCHANNELREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETCASTERCHANNELREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETCASTERCHANNELREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT SetCasterChannelRequest : public RpcServiceRequest { +public: + SetCasterChannelRequest(); + ~SetCasterChannelRequest(); + std::string getFaceBeauty() const; + void setFaceBeauty(const std::string &faceBeauty); + int getSeekOffset() const; + void setSeekOffset(int seekOffset); + int getPlayStatus() const; + void setPlayStatus(int playStatus); + std::string getResourceId() const; + void setResourceId(const std::string &resourceId); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + int getReloadFlag() const; + void setReloadFlag(int reloadFlag); + std::string getChannelId() const; + void setChannelId(const std::string &channelId); + +private: + std::string faceBeauty_; + int seekOffset_; + int playStatus_; + std::string resourceId_; + std::string casterId_; + long ownerId_; + int reloadFlag_; + std::string channelId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_SETCASTERCHANNELREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/SetCasterConfigRequest.h b/live/include/alibabacloud/live/model/SetCasterConfigRequest.h index 991a1b7e3..76c199dbc 100644 --- a/live/include/alibabacloud/live/model/SetCasterConfigRequest.h +++ b/live/include/alibabacloud/live/model/SetCasterConfigRequest.h @@ -1,90 +1,87 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SETCASTERCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETCASTERCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SetCasterConfigRequest : public RpcServiceRequest - { - - public: - SetCasterConfigRequest(); - ~SetCasterConfigRequest(); - - int getChannelEnable()const; - void setChannelEnable(int channelEnable); - int getProgramEffect()const; - void setProgramEffect(int programEffect); - std::string getProgramName()const; - void setProgramName(const std::string& programName); - std::string getRecordConfig()const; - void setRecordConfig(const std::string& recordConfig); - std::string getUrgentMaterialId()const; - void setUrgentMaterialId(const std::string& urgentMaterialId); - std::string getTranscodeConfig()const; - void setTranscodeConfig(const std::string& transcodeConfig); - std::string getCasterName()const; - void setCasterName(const std::string& casterName); - std::string getSideOutputUrl()const; - void setSideOutputUrl(const std::string& sideOutputUrl); - std::string getSyncGroupsConfig()const; - void setSyncGroupsConfig(const std::string& syncGroupsConfig); - std::string getSideOutputUrlList()const; - void setSideOutputUrlList(const std::string& sideOutputUrlList); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - float getDelay()const; - void setDelay(float delay); - std::string getCallbackUrl()const; - void setCallbackUrl(const std::string& callbackUrl); - - private: - int channelEnable_; - int programEffect_; - std::string programName_; - std::string recordConfig_; - std::string urgentMaterialId_; - std::string transcodeConfig_; - std::string casterName_; - std::string sideOutputUrl_; - std::string syncGroupsConfig_; - std::string sideOutputUrlList_; - std::string casterId_; - std::string domainName_; - long ownerId_; - float delay_; - std::string callbackUrl_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_SETCASTERCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETCASTERCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETCASTERCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT SetCasterConfigRequest : public RpcServiceRequest { +public: + SetCasterConfigRequest(); + ~SetCasterConfigRequest(); + int getChannelEnable() const; + void setChannelEnable(int channelEnable); + int getProgramEffect() const; + void setProgramEffect(int programEffect); + std::string getProgramName() const; + void setProgramName(const std::string &programName); + std::string getRecordConfig() const; + void setRecordConfig(const std::string &recordConfig); + std::string getUrgentMaterialId() const; + void setUrgentMaterialId(const std::string &urgentMaterialId); + std::string getTranscodeConfig() const; + void setTranscodeConfig(const std::string &transcodeConfig); + std::string getCasterName() const; + void setCasterName(const std::string &casterName); + std::string getUrgentLiveStreamUrl() const; + void setUrgentLiveStreamUrl(const std::string &urgentLiveStreamUrl); + std::string getSideOutputUrl() const; + void setSideOutputUrl(const std::string &sideOutputUrl); + std::string getSyncGroupsConfig() const; + void setSyncGroupsConfig(const std::string &syncGroupsConfig); + std::string getSideOutputUrlList() const; + void setSideOutputUrlList(const std::string &sideOutputUrlList); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + float getDelay() const; + void setDelay(float delay); + std::string getCallbackUrl() const; + void setCallbackUrl(const std::string &callbackUrl); + +private: + int channelEnable_; + int programEffect_; + std::string programName_; + std::string recordConfig_; + std::string urgentMaterialId_; + std::string transcodeConfig_; + std::string casterName_; + std::string urgentLiveStreamUrl_; + std::string sideOutputUrl_; + std::string syncGroupsConfig_; + std::string sideOutputUrlList_; + std::string casterId_; + std::string domainName_; + long ownerId_; + float delay_; + std::string callbackUrl_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_SETCASTERCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/SetCasterSceneConfigRequest.h b/live/include/alibabacloud/live/model/SetCasterSceneConfigRequest.h index 03d77e6d0..f372bc795 100644 --- a/live/include/alibabacloud/live/model/SetCasterSceneConfigRequest.h +++ b/live/include/alibabacloud/live/model/SetCasterSceneConfigRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SETCASTERSCENECONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETCASTERSCENECONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SetCasterSceneConfigRequest : public RpcServiceRequest - { - - public: - SetCasterSceneConfigRequest(); - ~SetCasterSceneConfigRequest(); - - std::string getLayoutId()const; - void setLayoutId(const std::string& layoutId); - std::vector getComponentId()const; - void setComponentId(const std::vector& componentId); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSceneId()const; - void setSceneId(const std::string& sceneId); - - private: - std::string layoutId_; - std::vector componentId_; - std::string casterId_; - long ownerId_; - std::string sceneId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_SETCASTERSCENECONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETCASTERSCENECONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETCASTERSCENECONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT SetCasterSceneConfigRequest : public RpcServiceRequest { +public: + SetCasterSceneConfigRequest(); + ~SetCasterSceneConfigRequest(); + std::string getLayoutId() const; + void setLayoutId(const std::string &layoutId); + std::vector getComponentId() const; + void setComponentId(const std::vector &componentId); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSceneId() const; + void setSceneId(const std::string &sceneId); + +private: + std::string layoutId_; + std::vector componentId_; + std::string casterId_; + long ownerId_; + std::string sceneId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_SETCASTERSCENECONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/SetCasterSyncGroupRequest.h b/live/include/alibabacloud/live/model/SetCasterSyncGroupRequest.h index 5e9f16a8e..ff96a42ee 100644 --- a/live/include/alibabacloud/live/model/SetCasterSyncGroupRequest.h +++ b/live/include/alibabacloud/live/model/SetCasterSyncGroupRequest.h @@ -1,63 +1,53 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SETCASTERSYNCGROUPREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETCASTERSYNCGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SetCasterSyncGroupRequest : public RpcServiceRequest - { - public: - struct SyncGroup - { - int mode; - long syncDelayThreshold; - std::string hostResourceId; - std::vector resourceIds; - std::vector syncOffsets; - }; - - public: - 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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_SETCASTERSYNCGROUPREQUEST_H_ \ No newline at end of file + */ + +#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; + long syncDelayThreshold; + int mode; + }; + 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 new file mode 100644 index 000000000..0f90a797a --- /dev/null +++ b/live/include/alibabacloud/live/model/SetCasterTimedEventRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_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/SetLiveDomainSpecialConfigResult.h b/live/include/alibabacloud/live/model/SetCasterTimedEventResult.h similarity index 67% rename from live/include/alibabacloud/live/model/SetLiveDomainSpecialConfigResult.h rename to live/include/alibabacloud/live/model/SetCasterTimedEventResult.h index 3d61ca84c..6fb962cb9 100644 --- a/live/include/alibabacloud/live/model/SetLiveDomainSpecialConfigResult.h +++ b/live/include/alibabacloud/live/model/SetCasterTimedEventResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINSPECIALCONFIGRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINSPECIALCONFIGRESULT_H_ +#ifndef ALIBABACLOUD_LIVE_MODEL_SETCASTERTIMEDEVENTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETCASTERTIMEDEVENTRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_LIVE_EXPORT SetLiveDomainSpecialConfigResult : public ServiceResult + class ALIBABACLOUD_LIVE_EXPORT SetCasterTimedEventResult : public ServiceResult { public: - SetLiveDomainSpecialConfigResult(); - explicit SetLiveDomainSpecialConfigResult(const std::string &payload); - ~SetLiveDomainSpecialConfigResult(); + SetCasterTimedEventResult(); + explicit SetCasterTimedEventResult(const std::string &payload); + ~SetCasterTimedEventResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINSPECIALCONFIGRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_LIVE_MODEL_SETCASTERTIMEDEVENTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SetLiveDomainCertificateRequest.h b/live/include/alibabacloud/live/model/SetLiveDomainCertificateRequest.h index 44a9d01e1..7ed69b33d 100644 --- a/live/include/alibabacloud/live/model/SetLiveDomainCertificateRequest.h +++ b/live/include/alibabacloud/live/model/SetLiveDomainCertificateRequest.h @@ -1,72 +1,66 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINCERTIFICATEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINCERTIFICATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SetLiveDomainCertificateRequest : public RpcServiceRequest - { - - public: - SetLiveDomainCertificateRequest(); - ~SetLiveDomainCertificateRequest(); - - std::string getSSLProtocol()const; - void setSSLProtocol(const std::string& sSLProtocol); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getCertType()const; - void setCertType(const std::string& certType); - std::string getSSLPri()const; - void setSSLPri(const std::string& sSLPri); - std::string getForceSet()const; - void setForceSet(const std::string& forceSet); - std::string getCertName()const; - void setCertName(const std::string& certName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSSLPub()const; - void setSSLPub(const std::string& sSLPub); - - private: - std::string sSLProtocol_; - std::string securityToken_; - std::string certType_; - std::string sSLPri_; - std::string forceSet_; - std::string certName_; - std::string domainName_; - long ownerId_; - std::string sSLPub_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINCERTIFICATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINCERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINCERTIFICATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT SetLiveDomainCertificateRequest : public RpcServiceRequest { +public: + SetLiveDomainCertificateRequest(); + ~SetLiveDomainCertificateRequest(); + std::string getSSLProtocol() const; + void setSSLProtocol(const std::string &sSLProtocol); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getCertType() const; + void setCertType(const std::string &certType); + std::string getSSLPri() const; + void setSSLPri(const std::string &sSLPri); + std::string getForceSet() const; + void setForceSet(const std::string &forceSet); + std::string getCertName() const; + void setCertName(const std::string &certName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSSLPub() const; + void setSSLPub(const std::string &sSLPub); + +private: + std::string sSLProtocol_; + std::string securityToken_; + std::string certType_; + std::string sSLPri_; + std::string forceSet_; + std::string certName_; + std::string domainName_; + long ownerId_; + std::string sSLPub_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINCERTIFICATEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/SetLiveDomainSpecialConfigRequest.h b/live/include/alibabacloud/live/model/SetLiveDomainSpecialConfigRequest.h deleted file mode 100644 index e6b880fbf..000000000 --- a/live/include/alibabacloud/live/model/SetLiveDomainSpecialConfigRequest.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_SETLIVEDOMAINSPECIALCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINSPECIALCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SetLiveDomainSpecialConfigRequest : public RpcServiceRequest - { - - public: - SetLiveDomainSpecialConfigRequest(); - ~SetLiveDomainSpecialConfigRequest(); - - std::string getValue()const; - void setValue(const std::string& value); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string value_; - std::string domainName_; - long ownerId_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINSPECIALCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SetLiveDomainStagingConfigRequest.h b/live/include/alibabacloud/live/model/SetLiveDomainStagingConfigRequest.h index 7d2cbb490..605cdff19 100644 --- a/live/include/alibabacloud/live/model/SetLiveDomainStagingConfigRequest.h +++ b/live/include/alibabacloud/live/model/SetLiveDomainStagingConfigRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINSTAGINGCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINSTAGINGCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SetLiveDomainStagingConfigRequest : public RpcServiceRequest - { - - public: - SetLiveDomainStagingConfigRequest(); - ~SetLiveDomainStagingConfigRequest(); - - std::string getFunctions()const; - void setFunctions(const std::string& functions); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string functions_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINSTAGINGCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINSTAGINGCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINSTAGINGCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT SetLiveDomainStagingConfigRequest : public RpcServiceRequest { +public: + SetLiveDomainStagingConfigRequest(); + ~SetLiveDomainStagingConfigRequest(); + std::string getFunctions() const; + void setFunctions(const std::string &functions); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string functions_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINSTAGINGCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/SetLiveEdgeTransferRequest.h b/live/include/alibabacloud/live/model/SetLiveEdgeTransferRequest.h index 388c902b4..fa67ec06d 100644 --- a/live/include/alibabacloud/live/model/SetLiveEdgeTransferRequest.h +++ b/live/include/alibabacloud/live/model/SetLiveEdgeTransferRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVEEDGETRANSFERREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETLIVEEDGETRANSFERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SetLiveEdgeTransferRequest : public RpcServiceRequest - { - - public: - SetLiveEdgeTransferRequest(); - ~SetLiveEdgeTransferRequest(); - - std::string getTransferArgs()const; - void setTransferArgs(const std::string& transferArgs); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getTargetDomainList()const; - void setTargetDomainList(const std::string& targetDomainList); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getHttpDns()const; - void setHttpDns(const std::string& httpDns); - - private: - std::string transferArgs_; - std::string appName_; - std::string streamName_; - std::string targetDomainList_; - std::string domainName_; - long ownerId_; - std::string httpDns_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVEEDGETRANSFERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVEEDGETRANSFERREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETLIVEEDGETRANSFERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT SetLiveEdgeTransferRequest : public RpcServiceRequest { +public: + SetLiveEdgeTransferRequest(); + ~SetLiveEdgeTransferRequest(); + std::string getTransferArgs() const; + void setTransferArgs(const std::string &transferArgs); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getTargetDomainList() const; + void setTargetDomainList(const std::string &targetDomainList); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getHttpDns() const; + void setHttpDns(const std::string &httpDns); + +private: + std::string transferArgs_; + std::string appName_; + std::string streamName_; + std::string targetDomainList_; + std::string domainName_; + long ownerId_; + std::string httpDns_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVEEDGETRANSFERREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigRequest.h b/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigRequest.h index 080be65ef..4b8651a3e 100644 --- a/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigRequest.h +++ b/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigRequest.h @@ -1,75 +1,69 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETLIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SetLiveLazyPullStreamInfoConfigRequest : public RpcServiceRequest - { - - public: - SetLiveLazyPullStreamInfoConfigRequest(); - ~SetLiveLazyPullStreamInfoConfigRequest(); - - std::string getPullArgs()const; - void setPullArgs(const std::string& pullArgs); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getLiveapiRequestFrom()const; - void setLiveapiRequestFrom(const std::string& liveapiRequestFrom); - std::string getPullAuthKey()const; - void setPullAuthKey(const std::string& pullAuthKey); - std::string getPullAuthType()const; - void setPullAuthType(const std::string& pullAuthType); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getPullDomainName()const; - void setPullDomainName(const std::string& pullDomainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getPullAppName()const; - void setPullAppName(const std::string& pullAppName); - std::string getPullProtocol()const; - void setPullProtocol(const std::string& pullProtocol); - - private: - std::string pullArgs_; - std::string appName_; - std::string liveapiRequestFrom_; - std::string pullAuthKey_; - std::string pullAuthType_; - std::string domainName_; - std::string pullDomainName_; - long ownerId_; - std::string pullAppName_; - std::string pullProtocol_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETLIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT SetLiveLazyPullStreamInfoConfigRequest : public RpcServiceRequest { +public: + SetLiveLazyPullStreamInfoConfigRequest(); + ~SetLiveLazyPullStreamInfoConfigRequest(); + std::string getPullArgs() const; + void setPullArgs(const std::string &pullArgs); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getLiveapiRequestFrom() const; + void setLiveapiRequestFrom(const std::string &liveapiRequestFrom); + std::string getPullAuthKey() const; + void setPullAuthKey(const std::string &pullAuthKey); + std::string getPullAuthType() const; + void setPullAuthType(const std::string &pullAuthType); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getPullDomainName() const; + void setPullDomainName(const std::string &pullDomainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getPullAppName() const; + void setPullAppName(const std::string &pullAppName); + std::string getPullProtocol() const; + void setPullProtocol(const std::string &pullProtocol); + +private: + std::string pullArgs_; + std::string appName_; + std::string liveapiRequestFrom_; + std::string pullAuthKey_; + std::string pullAuthType_; + std::string domainName_; + std::string pullDomainName_; + long ownerId_; + std::string pullAppName_; + std::string pullProtocol_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVELAZYPULLSTREAMINFOCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/SetLiveStreamDelayConfigRequest.h b/live/include/alibabacloud/live/model/SetLiveStreamDelayConfigRequest.h index 497d69d0d..6d861a87f 100644 --- a/live/include/alibabacloud/live/model/SetLiveStreamDelayConfigRequest.h +++ b/live/include/alibabacloud/live/model/SetLiveStreamDelayConfigRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMDELAYCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMDELAYCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SetLiveStreamDelayConfigRequest : public RpcServiceRequest - { - - public: - SetLiveStreamDelayConfigRequest(); - ~SetLiveStreamDelayConfigRequest(); - - std::string getFlvLevel()const; - void setFlvLevel(const std::string& flvLevel); - std::string getHlsLevel()const; - void setHlsLevel(const std::string& hlsLevel); - int getRtmpDelay()const; - void setRtmpDelay(int rtmpDelay); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - int getFlvDelay()const; - void setFlvDelay(int flvDelay); - std::string getRtmpLevel()const; - void setRtmpLevel(const std::string& rtmpLevel); - int getHlsDelay()const; - void setHlsDelay(int hlsDelay); - - private: - std::string flvLevel_; - std::string hlsLevel_; - int rtmpDelay_; - std::string domainName_; - long ownerId_; - int flvDelay_; - std::string rtmpLevel_; - int hlsDelay_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMDELAYCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMDELAYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMDELAYCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT SetLiveStreamDelayConfigRequest : public RpcServiceRequest { +public: + SetLiveStreamDelayConfigRequest(); + ~SetLiveStreamDelayConfigRequest(); + std::string getFlvLevel() const; + void setFlvLevel(const std::string &flvLevel); + std::string getHlsLevel() const; + void setHlsLevel(const std::string &hlsLevel); + int getRtmpDelay() const; + void setRtmpDelay(int rtmpDelay); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + int getFlvDelay() const; + void setFlvDelay(int flvDelay); + std::string getRtmpLevel() const; + void setRtmpLevel(const std::string &rtmpLevel); + int getHlsDelay() const; + void setHlsDelay(int hlsDelay); + +private: + std::string flvLevel_; + std::string hlsLevel_; + int rtmpDelay_; + std::string domainName_; + long ownerId_; + int flvDelay_; + std::string rtmpLevel_; + int hlsDelay_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMDELAYCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/SetLiveStreamOptimizedFeatureConfigRequest.h b/live/include/alibabacloud/live/model/SetLiveStreamOptimizedFeatureConfigRequest.h index f72f90fe0..958d5978b 100644 --- a/live/include/alibabacloud/live/model/SetLiveStreamOptimizedFeatureConfigRequest.h +++ b/live/include/alibabacloud/live/model/SetLiveStreamOptimizedFeatureConfigRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMOPTIMIZEDFEATURECONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMOPTIMIZEDFEATURECONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SetLiveStreamOptimizedFeatureConfigRequest : public RpcServiceRequest - { - - public: - SetLiveStreamOptimizedFeatureConfigRequest(); - ~SetLiveStreamOptimizedFeatureConfigRequest(); - - std::string getConfigStatus()const; - void setConfigStatus(const std::string& configStatus); - std::string getConfigName()const; - void setConfigName(const std::string& configName); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getConfigValue()const; - void setConfigValue(const std::string& configValue); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string configStatus_; - std::string configName_; - std::string domainName_; - std::string configValue_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMOPTIMIZEDFEATURECONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMOPTIMIZEDFEATURECONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMOPTIMIZEDFEATURECONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT SetLiveStreamOptimizedFeatureConfigRequest : public RpcServiceRequest { +public: + SetLiveStreamOptimizedFeatureConfigRequest(); + ~SetLiveStreamOptimizedFeatureConfigRequest(); + std::string getConfigStatus() const; + void setConfigStatus(const std::string &configStatus); + std::string getConfigName() const; + void setConfigName(const std::string &configName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getConfigValue() const; + void setConfigValue(const std::string &configValue); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string configStatus_; + std::string configName_; + std::string domainName_; + std::string configValue_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMOPTIMIZEDFEATURECONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigRequest.h b/live/include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigRequest.h index e06b23d67..85493af96 100644 --- a/live/include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigRequest.h +++ b/live/include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SetLiveStreamsNotifyUrlConfigRequest : public RpcServiceRequest - { - - public: - SetLiveStreamsNotifyUrlConfigRequest(); - ~SetLiveStreamsNotifyUrlConfigRequest(); - - std::string getAuthKey()const; - void setAuthKey(const std::string& authKey); - std::string getAuthType()const; - void setAuthType(const std::string& authType); - std::string getNotifyReqAuth()const; - void setNotifyReqAuth(const std::string& notifyReqAuth); - std::string getNotifyUrl()const; - void setNotifyUrl(const std::string& notifyUrl); - std::string getNotifyType()const; - void setNotifyType(const std::string& notifyType); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getNotifyAuthKey()const; - void setNotifyAuthKey(const std::string& notifyAuthKey); - - private: - std::string authKey_; - std::string authType_; - std::string notifyReqAuth_; - std::string notifyUrl_; - std::string notifyType_; - std::string domainName_; - long ownerId_; - std::string notifyAuthKey_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT SetLiveStreamsNotifyUrlConfigRequest : public RpcServiceRequest { +public: + SetLiveStreamsNotifyUrlConfigRequest(); + ~SetLiveStreamsNotifyUrlConfigRequest(); + std::string getAuthKey() const; + void setAuthKey(const std::string &authKey); + std::string getAuthType() const; + void setAuthType(const std::string &authType); + std::string getNotifyReqAuth() const; + void setNotifyReqAuth(const std::string ¬ifyReqAuth); + std::string getNotifyUrl() const; + void setNotifyUrl(const std::string ¬ifyUrl); + std::string getNotifyType() const; + void setNotifyType(const std::string ¬ifyType); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getNotifyAuthKey() const; + void setNotifyAuthKey(const std::string ¬ifyAuthKey); + +private: + std::string authKey_; + std::string authType_; + std::string notifyReqAuth_; + std::string notifyUrl_; + std::string notifyType_; + std::string domainName_; + long ownerId_; + std::string notifyAuthKey_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVESTREAMSNOTIFYURLCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/SetSnapshotCallbackAuthRequest.h b/live/include/alibabacloud/live/model/SetSnapshotCallbackAuthRequest.h index bc3eb44b5..b9c870b47 100644 --- a/live/include/alibabacloud/live/model/SetSnapshotCallbackAuthRequest.h +++ b/live/include/alibabacloud/live/model/SetSnapshotCallbackAuthRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SETSNAPSHOTCALLBACKAUTHREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETSNAPSHOTCALLBACKAUTHREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT SetSnapshotCallbackAuthRequest : public RpcServiceRequest - { - - public: - SetSnapshotCallbackAuthRequest(); - ~SetSnapshotCallbackAuthRequest(); - - std::string getCallbackAuthKey()const; - void setCallbackAuthKey(const std::string& callbackAuthKey); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getCallbackReqAuth()const; - void setCallbackReqAuth(const std::string& callbackReqAuth); - - private: - std::string callbackAuthKey_; - std::string domainName_; - long ownerId_; - std::string callbackReqAuth_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_SETSNAPSHOTCALLBACKAUTHREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETSNAPSHOTCALLBACKAUTHREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETSNAPSHOTCALLBACKAUTHREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT SetSnapshotCallbackAuthRequest : public RpcServiceRequest { +public: + SetSnapshotCallbackAuthRequest(); + ~SetSnapshotCallbackAuthRequest(); + std::string getCallbackAuthKey() const; + void setCallbackAuthKey(const std::string &callbackAuthKey); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getCallbackReqAuth() const; + void setCallbackReqAuth(const std::string &callbackReqAuth); + +private: + std::string callbackAuthKey_; + std::string domainName_; + long ownerId_; + std::string callbackReqAuth_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_SETSNAPSHOTCALLBACKAUTHREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/StartCasterRequest.h b/live/include/alibabacloud/live/model/StartCasterRequest.h index 3b4915cc0..6bd9261aa 100644 --- a/live/include/alibabacloud/live/model/StartCasterRequest.h +++ b/live/include/alibabacloud/live/model/StartCasterRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_STARTCASTERREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_STARTCASTERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT StartCasterRequest : public RpcServiceRequest - { - - public: - StartCasterRequest(); - ~StartCasterRequest(); - - int getPlayerType()const; - void setPlayerType(int playerType); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - int playerType_; - std::string casterId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_STARTCASTERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STARTCASTERREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STARTCASTERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT StartCasterRequest : public RpcServiceRequest { +public: + StartCasterRequest(); + ~StartCasterRequest(); + int getPlayerType() const; + void setPlayerType(int playerType); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + int playerType_; + std::string casterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_STARTCASTERREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/StartCasterResult.h b/live/include/alibabacloud/live/model/StartCasterResult.h index 9c497d4d9..0f7ac17b3 100644 --- a/live/include/alibabacloud/live/model/StartCasterResult.h +++ b/live/include/alibabacloud/live/model/StartCasterResult.h @@ -43,8 +43,8 @@ namespace AlibabaCloud struct StreamInfo { std::string outputStreamUrl; - std::string transcodeConfig; std::string videoFormat; + std::string transcodeConfig; }; std::string sceneId; std::vector streamInfos; diff --git a/live/include/alibabacloud/live/model/StartCasterSceneRequest.h b/live/include/alibabacloud/live/model/StartCasterSceneRequest.h index ce1591a3e..8ab4cfdf4 100644 --- a/live/include/alibabacloud/live/model/StartCasterSceneRequest.h +++ b/live/include/alibabacloud/live/model/StartCasterSceneRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_STARTCASTERSCENEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_STARTCASTERSCENEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT StartCasterSceneRequest : public RpcServiceRequest - { - - public: - StartCasterSceneRequest(); - ~StartCasterSceneRequest(); - - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSceneId()const; - void setSceneId(const std::string& sceneId); - - private: - std::string casterId_; - long ownerId_; - std::string sceneId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_STARTCASTERSCENEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STARTCASTERSCENEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STARTCASTERSCENEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT StartCasterSceneRequest : public RpcServiceRequest { +public: + StartCasterSceneRequest(); + ~StartCasterSceneRequest(); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSceneId() const; + void setSceneId(const std::string &sceneId); + +private: + std::string casterId_; + long ownerId_; + std::string sceneId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_STARTCASTERSCENEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/StartLiveDomainRequest.h b/live/include/alibabacloud/live/model/StartLiveDomainRequest.h index 987511803..6676e3bad 100644 --- a/live/include/alibabacloud/live/model/StartLiveDomainRequest.h +++ b/live/include/alibabacloud/live/model/StartLiveDomainRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_STARTLIVEDOMAINREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_STARTLIVEDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT StartLiveDomainRequest : public RpcServiceRequest - { - - public: - StartLiveDomainRequest(); - ~StartLiveDomainRequest(); - - std::string 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 domainName_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_STARTLIVEDOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STARTLIVEDOMAINREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STARTLIVEDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT StartLiveDomainRequest : public RpcServiceRequest { +public: + StartLiveDomainRequest(); + ~StartLiveDomainRequest(); + 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 domainName_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_STARTLIVEDOMAINREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/StartLiveStreamMonitorRequest.h b/live/include/alibabacloud/live/model/StartLiveStreamMonitorRequest.h index f5bea8c32..b706c9eb6 100644 --- a/live/include/alibabacloud/live/model/StartLiveStreamMonitorRequest.h +++ b/live/include/alibabacloud/live/model/StartLiveStreamMonitorRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_STARTLIVESTREAMMONITORREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_STARTLIVESTREAMMONITORREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT StartLiveStreamMonitorRequest : public RpcServiceRequest - { - - public: - StartLiveStreamMonitorRequest(); - ~StartLiveStreamMonitorRequest(); - - std::string getMonitorId()const; - void setMonitorId(const std::string& monitorId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string monitorId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_STARTLIVESTREAMMONITORREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STARTLIVESTREAMMONITORREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STARTLIVESTREAMMONITORREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT StartLiveStreamMonitorRequest : public RpcServiceRequest { +public: + StartLiveStreamMonitorRequest(); + ~StartLiveStreamMonitorRequest(); + std::string getMonitorId() const; + void setMonitorId(const std::string &monitorId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string monitorId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_STARTLIVESTREAMMONITORREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/StartPlaylistRequest.h b/live/include/alibabacloud/live/model/StartPlaylistRequest.h index c66935517..41acce03a 100644 --- a/live/include/alibabacloud/live/model/StartPlaylistRequest.h +++ b/live/include/alibabacloud/live/model/StartPlaylistRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_STARTPLAYLISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_STARTPLAYLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT StartPlaylistRequest : public RpcServiceRequest - { - - public: - StartPlaylistRequest(); - ~StartPlaylistRequest(); - - std::string getResumeMode()const; - void setResumeMode(const std::string& resumeMode); - std::string getStartItemId()const; - void setStartItemId(const std::string& startItemId); - std::string getProgramId()const; - void setProgramId(const std::string& programId); - int getOffset()const; - void setOffset(int offset); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string resumeMode_; - std::string startItemId_; - std::string programId_; - int offset_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_STARTPLAYLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STARTPLAYLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STARTPLAYLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT StartPlaylistRequest : public RpcServiceRequest { +public: + StartPlaylistRequest(); + ~StartPlaylistRequest(); + std::string getResumeMode() const; + void setResumeMode(const std::string &resumeMode); + std::string getStartItemId() const; + void setStartItemId(const std::string &startItemId); + std::string getProgramId() const; + void setProgramId(const std::string &programId); + int getOffset() const; + void setOffset(int offset); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string resumeMode_; + std::string startItemId_; + std::string programId_; + int offset_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_STARTPLAYLISTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/StopCasterRequest.h b/live/include/alibabacloud/live/model/StopCasterRequest.h index 133fa28ee..fa2e18aa0 100644 --- a/live/include/alibabacloud/live/model/StopCasterRequest.h +++ b/live/include/alibabacloud/live/model/StopCasterRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_STOPCASTERREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_STOPCASTERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT StopCasterRequest : public RpcServiceRequest - { - - public: - StopCasterRequest(); - ~StopCasterRequest(); - - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string casterId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_STOPCASTERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STOPCASTERREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STOPCASTERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT StopCasterRequest : public RpcServiceRequest { +public: + StopCasterRequest(); + ~StopCasterRequest(); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string casterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_STOPCASTERREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/StopCasterSceneRequest.h b/live/include/alibabacloud/live/model/StopCasterSceneRequest.h index a2fe44c22..dc2d02895 100644 --- a/live/include/alibabacloud/live/model/StopCasterSceneRequest.h +++ b/live/include/alibabacloud/live/model/StopCasterSceneRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_STOPCASTERSCENEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_STOPCASTERSCENEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT StopCasterSceneRequest : public RpcServiceRequest - { - - public: - StopCasterSceneRequest(); - ~StopCasterSceneRequest(); - - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSceneId()const; - void setSceneId(const std::string& sceneId); - - private: - std::string casterId_; - long ownerId_; - std::string sceneId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_STOPCASTERSCENEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STOPCASTERSCENEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STOPCASTERSCENEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT StopCasterSceneRequest : public RpcServiceRequest { +public: + StopCasterSceneRequest(); + ~StopCasterSceneRequest(); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSceneId() const; + void setSceneId(const std::string &sceneId); + +private: + std::string casterId_; + long ownerId_; + std::string sceneId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_STOPCASTERSCENEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/StopLiveDomainRequest.h b/live/include/alibabacloud/live/model/StopLiveDomainRequest.h index 76d1ca5c6..b04fa99d6 100644 --- a/live/include/alibabacloud/live/model/StopLiveDomainRequest.h +++ b/live/include/alibabacloud/live/model/StopLiveDomainRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_STOPLIVEDOMAINREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_STOPLIVEDOMAINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT StopLiveDomainRequest : public RpcServiceRequest - { - - public: - StopLiveDomainRequest(); - ~StopLiveDomainRequest(); - - std::string 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 domainName_; - long ownerId_; - std::string securityToken_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_STOPLIVEDOMAINREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STOPLIVEDOMAINREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STOPLIVEDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT StopLiveDomainRequest : public RpcServiceRequest { +public: + StopLiveDomainRequest(); + ~StopLiveDomainRequest(); + 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 domainName_; + long ownerId_; + std::string securityToken_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_STOPLIVEDOMAINREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/StopLiveStreamMonitorRequest.h b/live/include/alibabacloud/live/model/StopLiveStreamMonitorRequest.h index 563e560dd..6c0f3460c 100644 --- a/live/include/alibabacloud/live/model/StopLiveStreamMonitorRequest.h +++ b/live/include/alibabacloud/live/model/StopLiveStreamMonitorRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_STOPLIVESTREAMMONITORREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_STOPLIVESTREAMMONITORREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT StopLiveStreamMonitorRequest : public RpcServiceRequest - { - - public: - StopLiveStreamMonitorRequest(); - ~StopLiveStreamMonitorRequest(); - - std::string getMonitorId()const; - void setMonitorId(const std::string& monitorId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string monitorId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_STOPLIVESTREAMMONITORREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STOPLIVESTREAMMONITORREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STOPLIVESTREAMMONITORREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT StopLiveStreamMonitorRequest : public RpcServiceRequest { +public: + StopLiveStreamMonitorRequest(); + ~StopLiveStreamMonitorRequest(); + std::string getMonitorId() const; + void setMonitorId(const std::string &monitorId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string monitorId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_STOPLIVESTREAMMONITORREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/StopPlaylistRequest.h b/live/include/alibabacloud/live/model/StopPlaylistRequest.h index b10360aa1..fcee61d54 100644 --- a/live/include/alibabacloud/live/model/StopPlaylistRequest.h +++ b/live/include/alibabacloud/live/model/StopPlaylistRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_STOPPLAYLISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_STOPPLAYLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT StopPlaylistRequest : public RpcServiceRequest - { - - public: - StopPlaylistRequest(); - ~StopPlaylistRequest(); - - std::string getProgramId()const; - void setProgramId(const std::string& programId); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string programId_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_STOPPLAYLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STOPPLAYLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STOPPLAYLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT StopPlaylistRequest : public RpcServiceRequest { +public: + StopPlaylistRequest(); + ~StopPlaylistRequest(); + std::string getProgramId() const; + void setProgramId(const std::string &programId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string programId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_STOPPLAYLISTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/TagLiveResourcesRequest.h b/live/include/alibabacloud/live/model/TagLiveResourcesRequest.h index 8a755cce9..7461f4253 100644 --- a/live/include/alibabacloud/live/model/TagLiveResourcesRequest.h +++ b/live/include/alibabacloud/live/model/TagLiveResourcesRequest.h @@ -1,63 +1,55 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_TAGLIVERESOURCESREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_TAGLIVERESOURCESREQUEST_H_ - -#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; - }; - - public: - 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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_TAGLIVERESOURCESREQUEST_H_ \ No newline at end of file + */ + +#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 index f5485e032..3dec4a36e 100644 --- a/live/include/alibabacloud/live/model/UnTagLiveResourcesRequest.h +++ b/live/include/alibabacloud/live/model/UnTagLiveResourcesRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_UNTAGLIVERESOURCESREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_UNTAGLIVERESOURCESREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_UNTAGLIVERESOURCESREQUEST_H_ \ No newline at end of file + */ + +#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/UpdateCasterSceneAudioRequest.h b/live/include/alibabacloud/live/model/UpdateCasterSceneAudioRequest.h index aa92a1c27..936976692 100644 --- a/live/include/alibabacloud/live/model/UpdateCasterSceneAudioRequest.h +++ b/live/include/alibabacloud/live/model/UpdateCasterSceneAudioRequest.h @@ -1,70 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENEAUDIOREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENEAUDIOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT UpdateCasterSceneAudioRequest : public RpcServiceRequest - { - public: - struct AudioLayer - { - float volumeRate; - std::string validChannel; - int fixedDelayDuration; - }; - - public: - UpdateCasterSceneAudioRequest(); - ~UpdateCasterSceneAudioRequest(); - - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::vector getAudioLayer()const; - void setAudioLayer(const std::vector& audioLayer); - std::string getSceneId()const; - void setSceneId(const std::string& sceneId); - std::vector getMixList()const; - void setMixList(const std::vector& mixList); - int getFollowEnable()const; - void setFollowEnable(int followEnable); - - private: - std::string casterId_; - long ownerId_; - std::vector audioLayer_; - std::string sceneId_; - std::vector mixList_; - int followEnable_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENEAUDIOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENEAUDIOREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENEAUDIOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT UpdateCasterSceneAudioRequest : public RpcServiceRequest { +public: + struct AudioLayer { + float volumeRate; + int fixedDelayDuration; + std::string validChannel; + }; + UpdateCasterSceneAudioRequest(); + ~UpdateCasterSceneAudioRequest(); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::vector getAudioLayer() const; + void setAudioLayer(const std::vector &audioLayer); + std::string getSceneId() const; + void setSceneId(const std::string &sceneId); + std::vector getMixList() const; + void setMixList(const std::vector &mixList); + int getFollowEnable() const; + void setFollowEnable(int followEnable); + +private: + std::string casterId_; + long ownerId_; + std::vector audioLayer_; + std::string sceneId_; + std::vector mixList_; + int followEnable_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENEAUDIOREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/UpdateCasterSceneConfigRequest.h b/live/include/alibabacloud/live/model/UpdateCasterSceneConfigRequest.h index e30d7d4bc..68b8f4143 100644 --- a/live/include/alibabacloud/live/model/UpdateCasterSceneConfigRequest.h +++ b/live/include/alibabacloud/live/model/UpdateCasterSceneConfigRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENECONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENECONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT UpdateCasterSceneConfigRequest : public RpcServiceRequest - { - - public: - UpdateCasterSceneConfigRequest(); - ~UpdateCasterSceneConfigRequest(); - - std::string getLayoutId()const; - void setLayoutId(const std::string& layoutId); - std::vector getComponentId()const; - void setComponentId(const std::vector& componentId); - std::string getCasterId()const; - void setCasterId(const std::string& casterId); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getSceneId()const; - void setSceneId(const std::string& sceneId); - - private: - std::string layoutId_; - std::vector componentId_; - std::string casterId_; - long ownerId_; - std::string sceneId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENECONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENECONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENECONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT UpdateCasterSceneConfigRequest : public RpcServiceRequest { +public: + UpdateCasterSceneConfigRequest(); + ~UpdateCasterSceneConfigRequest(); + std::string getLayoutId() const; + void setLayoutId(const std::string &layoutId); + std::vector getComponentId() const; + void setComponentId(const std::vector &componentId); + std::string getCasterId() const; + void setCasterId(const std::string &casterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getSceneId() const; + void setSceneId(const std::string &sceneId); + +private: + std::string layoutId_; + std::vector componentId_; + std::string casterId_; + long ownerId_; + std::string sceneId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENECONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/UpdateLiveAppSnapshotConfigRequest.h b/live/include/alibabacloud/live/model/UpdateLiveAppSnapshotConfigRequest.h index 10ef6e696..29fabdcfb 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveAppSnapshotConfigRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveAppSnapshotConfigRequest.h @@ -1,75 +1,69 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAPPSNAPSHOTCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAPPSNAPSHOTCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT UpdateLiveAppSnapshotConfigRequest : public RpcServiceRequest - { - - public: - UpdateLiveAppSnapshotConfigRequest(); - ~UpdateLiveAppSnapshotConfigRequest(); - - int getTimeInterval()const; - void setTimeInterval(int timeInterval); - std::string getOssEndpoint()const; - void setOssEndpoint(const std::string& ossEndpoint); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getOverwriteOssObject()const; - void setOverwriteOssObject(const std::string& overwriteOssObject); - std::string getOssBucket()const; - void setOssBucket(const std::string& ossBucket); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getSequenceOssObject()const; - void setSequenceOssObject(const std::string& sequenceOssObject); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getCallback()const; - void setCallback(const std::string& callback); - - private: - int timeInterval_; - std::string ossEndpoint_; - std::string appName_; - std::string securityToken_; - std::string overwriteOssObject_; - std::string ossBucket_; - std::string domainName_; - std::string sequenceOssObject_; - long ownerId_; - std::string callback_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAPPSNAPSHOTCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAPPSNAPSHOTCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAPPSNAPSHOTCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT UpdateLiveAppSnapshotConfigRequest : public RpcServiceRequest { +public: + UpdateLiveAppSnapshotConfigRequest(); + ~UpdateLiveAppSnapshotConfigRequest(); + int getTimeInterval() const; + void setTimeInterval(int timeInterval); + std::string getOssEndpoint() const; + void setOssEndpoint(const std::string &ossEndpoint); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getOverwriteOssObject() const; + void setOverwriteOssObject(const std::string &overwriteOssObject); + std::string getOssBucket() const; + void setOssBucket(const std::string &ossBucket); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getSequenceOssObject() const; + void setSequenceOssObject(const std::string &sequenceOssObject); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getCallback() const; + void setCallback(const std::string &callback); + +private: + int timeInterval_; + std::string ossEndpoint_; + std::string appName_; + std::string securityToken_; + std::string overwriteOssObject_; + std::string ossBucket_; + std::string domainName_; + std::string sequenceOssObject_; + long ownerId_; + std::string callback_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAPPSNAPSHOTCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/UpdateLiveAudioAuditConfigRequest.h b/live/include/alibabacloud/live/model/UpdateLiveAudioAuditConfigRequest.h index 94d48b9aa..d33574d63 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveAudioAuditConfigRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveAudioAuditConfigRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAUDIOAUDITCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAUDIOAUDITCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT UpdateLiveAudioAuditConfigRequest : public RpcServiceRequest - { - - public: - UpdateLiveAudioAuditConfigRequest(); - ~UpdateLiveAudioAuditConfigRequest(); - - std::string getOssEndpoint()const; - void setOssEndpoint(const std::string& ossEndpoint); - std::string getOssObject()const; - void setOssObject(const std::string& ossObject); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getOssBucket()const; - void setOssBucket(const std::string& ossBucket); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getBizType()const; - void setBizType(const std::string& bizType); - - private: - std::string ossEndpoint_; - std::string ossObject_; - std::string appName_; - std::string streamName_; - std::string ossBucket_; - std::string domainName_; - long ownerId_; - std::string bizType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAUDIOAUDITCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAUDIOAUDITCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAUDIOAUDITCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT UpdateLiveAudioAuditConfigRequest : public RpcServiceRequest { +public: + UpdateLiveAudioAuditConfigRequest(); + ~UpdateLiveAudioAuditConfigRequest(); + std::string getOssEndpoint() const; + void setOssEndpoint(const std::string &ossEndpoint); + std::string getOssObject() const; + void setOssObject(const std::string &ossObject); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getOssBucket() const; + void setOssBucket(const std::string &ossBucket); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getBizType() const; + void setBizType(const std::string &bizType); + +private: + std::string ossEndpoint_; + std::string ossObject_; + std::string appName_; + std::string streamName_; + std::string ossBucket_; + std::string domainName_; + long ownerId_; + std::string bizType_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAUDIOAUDITCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/UpdateLiveAudioAuditNotifyConfigRequest.h b/live/include/alibabacloud/live/model/UpdateLiveAudioAuditNotifyConfigRequest.h index 4bd2530c6..0de43930d 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveAudioAuditNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveAudioAuditNotifyConfigRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT UpdateLiveAudioAuditNotifyConfigRequest : public RpcServiceRequest - { - - public: - UpdateLiveAudioAuditNotifyConfigRequest(); - ~UpdateLiveAudioAuditNotifyConfigRequest(); - - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getCallbackTemplate()const; - void setCallbackTemplate(const std::string& callbackTemplate); - std::string getCallback()const; - void setCallback(const std::string& callback); - - private: - std::string domainName_; - long ownerId_; - std::string callbackTemplate_; - std::string callback_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT UpdateLiveAudioAuditNotifyConfigRequest : public RpcServiceRequest { +public: + UpdateLiveAudioAuditNotifyConfigRequest(); + ~UpdateLiveAudioAuditNotifyConfigRequest(); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getCallbackTemplate() const; + void setCallbackTemplate(const std::string &callbackTemplate); + std::string getCallback() const; + void setCallback(const std::string &callback); + +private: + std::string domainName_; + long ownerId_; + std::string callbackTemplate_; + std::string callback_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAUDIOAUDITNOTIFYCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigRequest.h b/live/include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigRequest.h index 24d14b785..a4a99cf3a 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVEDETECTNOTIFYCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEDETECTNOTIFYCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT UpdateLiveDetectNotifyConfigRequest : public RpcServiceRequest - { - - public: - UpdateLiveDetectNotifyConfigRequest(); - ~UpdateLiveDetectNotifyConfigRequest(); - - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getNotifyUrl()const; - void setNotifyUrl(const std::string& notifyUrl); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string securityToken_; - std::string notifyUrl_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVEDETECTNOTIFYCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVEDETECTNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEDETECTNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT UpdateLiveDetectNotifyConfigRequest : public RpcServiceRequest { +public: + UpdateLiveDetectNotifyConfigRequest(); + ~UpdateLiveDetectNotifyConfigRequest(); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getNotifyUrl() const; + void setNotifyUrl(const std::string ¬ifyUrl); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string securityToken_; + std::string notifyUrl_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVEDETECTNOTIFYCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/UpdateLivePullStreamInfoConfigRequest.h b/live/include/alibabacloud/live/model/UpdateLivePullStreamInfoConfigRequest.h index 6fd1b534c..2a15512ba 100644 --- a/live/include/alibabacloud/live/model/UpdateLivePullStreamInfoConfigRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLivePullStreamInfoConfigRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVEPULLSTREAMINFOCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEPULLSTREAMINFOCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT UpdateLivePullStreamInfoConfigRequest : public RpcServiceRequest - { - - public: - UpdateLivePullStreamInfoConfigRequest(); - ~UpdateLivePullStreamInfoConfigRequest(); - - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getStreamName()const; - void setStreamName(const std::string& streamName); - std::string getPullAlways()const; - void setPullAlways(const std::string& pullAlways); - 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); - std::string getSourceUrl()const; - void setSourceUrl(const std::string& sourceUrl); - - private: - std::string startTime_; - std::string appName_; - std::string streamName_; - std::string pullAlways_; - std::string domainName_; - std::string endTime_; - long ownerId_; - std::string sourceUrl_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVEPULLSTREAMINFOCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVEPULLSTREAMINFOCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEPULLSTREAMINFOCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT UpdateLivePullStreamInfoConfigRequest : public RpcServiceRequest { +public: + UpdateLivePullStreamInfoConfigRequest(); + ~UpdateLivePullStreamInfoConfigRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getPullAlways() const; + void setPullAlways(const std::string &pullAlways); + 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); + std::string getSourceUrl() const; + void setSourceUrl(const std::string &sourceUrl); + +private: + std::string startTime_; + std::string appName_; + std::string streamName_; + std::string pullAlways_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string sourceUrl_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVEPULLSTREAMINFOCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigRequest.h b/live/include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigRequest.h index 2df14cca5..467c33bab 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVERECORDNOTIFYCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVERECORDNOTIFYCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT UpdateLiveRecordNotifyConfigRequest : public RpcServiceRequest - { - - public: - UpdateLiveRecordNotifyConfigRequest(); - ~UpdateLiveRecordNotifyConfigRequest(); - - std::string getOnDemandUrl()const; - void setOnDemandUrl(const std::string& onDemandUrl); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getNotifyUrl()const; - void setNotifyUrl(const std::string& notifyUrl); - bool getNeedStatusNotify()const; - void setNeedStatusNotify(bool needStatusNotify); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string onDemandUrl_; - std::string securityToken_; - std::string notifyUrl_; - bool needStatusNotify_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVERECORDNOTIFYCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVERECORDNOTIFYCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVERECORDNOTIFYCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT UpdateLiveRecordNotifyConfigRequest : public RpcServiceRequest { +public: + UpdateLiveRecordNotifyConfigRequest(); + ~UpdateLiveRecordNotifyConfigRequest(); + std::string getOnDemandUrl() const; + void setOnDemandUrl(const std::string &onDemandUrl); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getNotifyUrl() const; + void setNotifyUrl(const std::string ¬ifyUrl); + bool getNeedStatusNotify() const; + void setNeedStatusNotify(bool needStatusNotify); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string onDemandUrl_; + std::string securityToken_; + std::string notifyUrl_; + bool needStatusNotify_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVERECORDNOTIFYCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigRequest.h b/live/include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigRequest.h index a0b204f0b..2ef31a186 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigRequest.h @@ -1,72 +1,66 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT UpdateLiveSnapshotDetectPornConfigRequest : public RpcServiceRequest - { - - public: - UpdateLiveSnapshotDetectPornConfigRequest(); - ~UpdateLiveSnapshotDetectPornConfigRequest(); - - std::string getOssEndpoint()const; - void setOssEndpoint(const std::string& ossEndpoint); - std::string getOssObject()const; - void setOssObject(const std::string& ossObject); - std::vector getScene()const; - void setScene(const std::vector& scene); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getSecurityToken()const; - void setSecurityToken(const std::string& securityToken); - std::string getOssBucket()const; - void setOssBucket(const std::string& ossBucket); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - int getInterval()const; - void setInterval(int interval); - - private: - std::string ossEndpoint_; - std::string ossObject_; - std::vector scene_; - std::string appName_; - std::string securityToken_; - std::string ossBucket_; - std::string domainName_; - long ownerId_; - int interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT UpdateLiveSnapshotDetectPornConfigRequest : public RpcServiceRequest { +public: + UpdateLiveSnapshotDetectPornConfigRequest(); + ~UpdateLiveSnapshotDetectPornConfigRequest(); + std::string getOssEndpoint() const; + void setOssEndpoint(const std::string &ossEndpoint); + std::string getOssObject() const; + void setOssObject(const std::string &ossObject); + std::vector getScene() const; + void setScene(const std::vector &scene); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getSecurityToken() const; + void setSecurityToken(const std::string &securityToken); + std::string getOssBucket() const; + void setOssBucket(const std::string &ossBucket); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + int getInterval() const; + void setInterval(int interval); + +private: + std::string ossEndpoint_; + std::string ossObject_; + std::vector scene_; + std::string appName_; + std::string securityToken_; + std::string ossBucket_; + std::string domainName_; + long ownerId_; + int interval_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/UpdateLiveStreamMonitorRequest.h b/live/include/alibabacloud/live/model/UpdateLiveStreamMonitorRequest.h index 6f922113d..b303c1c16 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveStreamMonitorRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveStreamMonitorRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVESTREAMMONITORREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVESTREAMMONITORREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT UpdateLiveStreamMonitorRequest : public RpcServiceRequest - { - - public: - UpdateLiveStreamMonitorRequest(); - ~UpdateLiveStreamMonitorRequest(); - - std::string getMonitorId()const; - void setMonitorId(const std::string& monitorId); - std::string getMonitorName()const; - void setMonitorName(const std::string& monitorName); - std::string getStream()const; - void setStream(const std::string& stream); - std::string getOutputTemplate()const; - void setOutputTemplate(const std::string& outputTemplate); - std::string getApp()const; - void setApp(const std::string& app); - std::string getInputList()const; - void setInputList(const std::string& inputList); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getDomain()const; - void setDomain(const std::string& domain); - - private: - std::string monitorId_; - std::string monitorName_; - std::string stream_; - std::string outputTemplate_; - std::string app_; - std::string inputList_; - long ownerId_; - std::string domain_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVESTREAMMONITORREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVESTREAMMONITORREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVESTREAMMONITORREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT UpdateLiveStreamMonitorRequest : public RpcServiceRequest { +public: + UpdateLiveStreamMonitorRequest(); + ~UpdateLiveStreamMonitorRequest(); + std::string getMonitorId() const; + void setMonitorId(const std::string &monitorId); + std::string getMonitorName() const; + void setMonitorName(const std::string &monitorName); + std::string getStream() const; + void setStream(const std::string &stream); + std::string getOutputTemplate() const; + void setOutputTemplate(const std::string &outputTemplate); + std::string getApp() const; + void setApp(const std::string &app); + std::string getInputList() const; + void setInputList(const std::string &inputList); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getDomain() const; + void setDomain(const std::string &domain); + +private: + std::string monitorId_; + std::string monitorName_; + std::string stream_; + std::string outputTemplate_; + std::string app_; + std::string inputList_; + long ownerId_; + std::string domain_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVESTREAMMONITORREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/UpdateLiveStreamWatermarkRequest.h b/live/include/alibabacloud/live/model/UpdateLiveStreamWatermarkRequest.h index 9cce1903d..9c2a05062 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveStreamWatermarkRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveStreamWatermarkRequest.h @@ -1,81 +1,75 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVESTREAMWATERMARKREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVESTREAMWATERMARKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT UpdateLiveStreamWatermarkRequest : public RpcServiceRequest - { - - public: - UpdateLiveStreamWatermarkRequest(); - ~UpdateLiveStreamWatermarkRequest(); - - float getYOffset()const; - void setYOffset(float yOffset); - std::string getPictureUrl()const; - void setPictureUrl(const std::string& pictureUrl); - std::string getDescription()const; - void setDescription(const std::string& description); - int getHeight()const; - void setHeight(int height); - float getXOffset()const; - void setXOffset(float xOffset); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getTemplateId()const; - void setTemplateId(const std::string& templateId); - int getRefWidth()const; - void setRefWidth(int refWidth); - int getTransparency()const; - void setTransparency(int transparency); - std::string getName()const; - void setName(const std::string& name); - std::string getOffsetCorner()const; - void setOffsetCorner(const std::string& offsetCorner); - int getRefHeight()const; - void setRefHeight(int refHeight); - - private: - float yOffset_; - std::string pictureUrl_; - std::string description_; - int height_; - float xOffset_; - long ownerId_; - std::string templateId_; - int refWidth_; - int transparency_; - std::string name_; - std::string offsetCorner_; - int refHeight_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVESTREAMWATERMARKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVESTREAMWATERMARKREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVESTREAMWATERMARKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT UpdateLiveStreamWatermarkRequest : public RpcServiceRequest { +public: + UpdateLiveStreamWatermarkRequest(); + ~UpdateLiveStreamWatermarkRequest(); + float getYOffset() const; + void setYOffset(float yOffset); + std::string getPictureUrl() const; + void setPictureUrl(const std::string &pictureUrl); + std::string getDescription() const; + void setDescription(const std::string &description); + int getHeight() const; + void setHeight(int height); + float getXOffset() const; + void setXOffset(float xOffset); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getTemplateId() const; + void setTemplateId(const std::string &templateId); + int getRefWidth() const; + void setRefWidth(int refWidth); + int getTransparency() const; + void setTransparency(int transparency); + std::string getName() const; + void setName(const std::string &name); + std::string getOffsetCorner() const; + void setOffsetCorner(const std::string &offsetCorner); + int getRefHeight() const; + void setRefHeight(int refHeight); + +private: + float yOffset_; + std::string pictureUrl_; + std::string description_; + int height_; + float xOffset_; + long ownerId_; + std::string templateId_; + int refWidth_; + int transparency_; + std::string name_; + std::string offsetCorner_; + int refHeight_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVESTREAMWATERMARKREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/UpdateLiveStreamWatermarkRuleRequest.h b/live/include/alibabacloud/live/model/UpdateLiveStreamWatermarkRuleRequest.h index 9358702e9..9bd1968ec 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveStreamWatermarkRuleRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveStreamWatermarkRuleRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVESTREAMWATERMARKRULEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVESTREAMWATERMARKRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT UpdateLiveStreamWatermarkRuleRequest : public RpcServiceRequest - { - - public: - UpdateLiveStreamWatermarkRuleRequest(); - ~UpdateLiveStreamWatermarkRuleRequest(); - - std::string getDescription()const; - void setDescription(const std::string& description); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getTemplateId()const; - void setTemplateId(const std::string& templateId); - std::string getName()const; - void setName(const std::string& name); - std::string getRuleId()const; - void setRuleId(const std::string& ruleId); - - private: - std::string description_; - long ownerId_; - std::string templateId_; - std::string name_; - std::string ruleId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVESTREAMWATERMARKRULEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVESTREAMWATERMARKRULEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVESTREAMWATERMARKRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT UpdateLiveStreamWatermarkRuleRequest : public RpcServiceRequest { +public: + UpdateLiveStreamWatermarkRuleRequest(); + ~UpdateLiveStreamWatermarkRuleRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getTemplateId() const; + void setTemplateId(const std::string &templateId); + std::string getName() const; + void setName(const std::string &name); + std::string getRuleId() const; + void setRuleId(const std::string &ruleId); + +private: + std::string description_; + long ownerId_; + std::string templateId_; + std::string name_; + std::string ruleId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVESTREAMWATERMARKRULEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/UpdateLiveTopLevelDomainRequest.h b/live/include/alibabacloud/live/model/UpdateLiveTopLevelDomainRequest.h index 08af9533f..8faa9b0b8 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveTopLevelDomainRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveTopLevelDomainRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVETOPLEVELDOMAINREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVETOPLEVELDOMAINREQUEST_H_ - -#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_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVETOPLEVELDOMAINREQUEST_H_ \ No newline at end of file + */ + +#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/UpdateMixStreamRequest.h b/live/include/alibabacloud/live/model/UpdateMixStreamRequest.h index e8fe5e063..ea08e9ba6 100644 --- a/live/include/alibabacloud/live/model/UpdateMixStreamRequest.h +++ b/live/include/alibabacloud/live/model/UpdateMixStreamRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATEMIXSTREAMREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_UPDATEMIXSTREAMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT UpdateMixStreamRequest : public RpcServiceRequest - { - - public: - UpdateMixStreamRequest(); - ~UpdateMixStreamRequest(); - - std::string getLayoutId()const; - void setLayoutId(const std::string& layoutId); - std::string getMixStreamId()const; - void setMixStreamId(const std::string& mixStreamId); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getInputStreamList()const; - void setInputStreamList(const std::string& inputStreamList); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string layoutId_; - std::string mixStreamId_; - std::string domainName_; - std::string inputStreamList_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATEMIXSTREAMREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATEMIXSTREAMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATEMIXSTREAMREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT UpdateMixStreamRequest : public RpcServiceRequest { +public: + UpdateMixStreamRequest(); + ~UpdateMixStreamRequest(); + std::string getLayoutId() const; + void setLayoutId(const std::string &layoutId); + std::string getMixStreamId() const; + void setMixStreamId(const std::string &mixStreamId); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getInputStreamList() const; + void setInputStreamList(const std::string &inputStreamList); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string layoutId_; + std::string mixStreamId_; + std::string domainName_; + std::string inputStreamList_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATEMIXSTREAMREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/VerifyLiveDomainOwnerRequest.h b/live/include/alibabacloud/live/model/VerifyLiveDomainOwnerRequest.h index 5fcb87398..223718e26 100644 --- a/live/include/alibabacloud/live/model/VerifyLiveDomainOwnerRequest.h +++ b/live/include/alibabacloud/live/model/VerifyLiveDomainOwnerRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_VERIFYLIVEDOMAINOWNERREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_VERIFYLIVEDOMAINOWNERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT VerifyLiveDomainOwnerRequest : public RpcServiceRequest - { - - public: - VerifyLiveDomainOwnerRequest(); - ~VerifyLiveDomainOwnerRequest(); - - std::string getVerifyType()const; - void setVerifyType(const std::string& verifyType); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - long getOwnerId()const; - void setOwnerId(long ownerId); - - private: - std::string verifyType_; - std::string domainName_; - long ownerId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_VERIFYLIVEDOMAINOWNERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_VERIFYLIVEDOMAINOWNERREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_VERIFYLIVEDOMAINOWNERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT VerifyLiveDomainOwnerRequest : public RpcServiceRequest { +public: + VerifyLiveDomainOwnerRequest(); + ~VerifyLiveDomainOwnerRequest(); + std::string getVerifyType() const; + void setVerifyType(const std::string &verifyType); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string verifyType_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_VERIFYLIVEDOMAINOWNERREQUEST_H_ diff --git a/live/src/LiveClient.cc b/live/src/LiveClient.cc index c6d076c65..ae56d30f0 100644 --- a/live/src/LiveClient.cc +++ b/live/src/LiveClient.cc @@ -1239,6 +1239,42 @@ LiveClient::CloseLiveShiftOutcomeCallable LiveClient::closeLiveShiftCallable(con return task->get_future(); } +LiveClient::CloseMessageGroupOutcome LiveClient::closeMessageGroup(const CloseMessageGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CloseMessageGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CloseMessageGroupOutcome(CloseMessageGroupResult(outcome.result())); + else + return CloseMessageGroupOutcome(outcome.error()); +} + +void LiveClient::closeMessageGroupAsync(const CloseMessageGroupRequest& request, const CloseMessageGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, closeMessageGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::CloseMessageGroupOutcomeCallable LiveClient::closeMessageGroupCallable(const CloseMessageGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->closeMessageGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::CopyCasterOutcome LiveClient::copyCaster(const CopyCasterRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1491,6 +1527,114 @@ LiveClient::CreateLiveStreamRecordIndexFilesOutcomeCallable LiveClient::createLi return task->get_future(); } +LiveClient::CreateLiveTranscodeTemplateOutcome LiveClient::createLiveTranscodeTemplate(const CreateLiveTranscodeTemplateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateLiveTranscodeTemplateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateLiveTranscodeTemplateOutcome(CreateLiveTranscodeTemplateResult(outcome.result())); + else + return CreateLiveTranscodeTemplateOutcome(outcome.error()); +} + +void LiveClient::createLiveTranscodeTemplateAsync(const CreateLiveTranscodeTemplateRequest& request, const CreateLiveTranscodeTemplateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createLiveTranscodeTemplate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::CreateLiveTranscodeTemplateOutcomeCallable LiveClient::createLiveTranscodeTemplateCallable(const CreateLiveTranscodeTemplateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createLiveTranscodeTemplate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::CreateMessageAppOutcome LiveClient::createMessageApp(const CreateMessageAppRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateMessageAppOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateMessageAppOutcome(CreateMessageAppResult(outcome.result())); + else + return CreateMessageAppOutcome(outcome.error()); +} + +void LiveClient::createMessageAppAsync(const CreateMessageAppRequest& request, const CreateMessageAppAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createMessageApp(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::CreateMessageAppOutcomeCallable LiveClient::createMessageAppCallable(const CreateMessageAppRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createMessageApp(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::CreateMessageGroupOutcome LiveClient::createMessageGroup(const CreateMessageGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateMessageGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateMessageGroupOutcome(CreateMessageGroupResult(outcome.result())); + else + return CreateMessageGroupOutcome(outcome.error()); +} + +void LiveClient::createMessageGroupAsync(const CreateMessageGroupRequest& request, const CreateMessageGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createMessageGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::CreateMessageGroupOutcomeCallable LiveClient::createMessageGroupCallable(const CreateMessageGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createMessageGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::CreateMixStreamOutcome LiveClient::createMixStream(const CreateMixStreamRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2679,6 +2823,42 @@ LiveClient::DeleteLiveStreamsNotifyUrlConfigOutcomeCallable LiveClient::deleteLi return task->get_future(); } +LiveClient::DeleteMessageAppOutcome LiveClient::deleteMessageApp(const DeleteMessageAppRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteMessageAppOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteMessageAppOutcome(DeleteMessageAppResult(outcome.result())); + else + return DeleteMessageAppOutcome(outcome.error()); +} + +void LiveClient::deleteMessageAppAsync(const DeleteMessageAppRequest& request, const DeleteMessageAppAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteMessageApp(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteMessageAppOutcomeCallable LiveClient::deleteMessageAppCallable(const DeleteMessageAppRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteMessageApp(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DeleteMixStreamOutcome LiveClient::deleteMixStream(const DeleteMixStreamRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4515,42 +4695,6 @@ LiveClient::DescribeLiveDomainSnapshotDataOutcomeCallable LiveClient::describeLi return task->get_future(); } -LiveClient::DescribeLiveDomainSpecialConfigOutcome LiveClient::describeLiveDomainSpecialConfig(const DescribeLiveDomainSpecialConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveDomainSpecialConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveDomainSpecialConfigOutcome(DescribeLiveDomainSpecialConfigResult(outcome.result())); - else - return DescribeLiveDomainSpecialConfigOutcome(outcome.error()); -} - -void LiveClient::describeLiveDomainSpecialConfigAsync(const DescribeLiveDomainSpecialConfigRequest& request, const DescribeLiveDomainSpecialConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveDomainSpecialConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeLiveDomainSpecialConfigOutcomeCallable LiveClient::describeLiveDomainSpecialConfigCallable(const DescribeLiveDomainSpecialConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveDomainSpecialConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - LiveClient::DescribeLiveDomainStagingConfigOutcome LiveClient::describeLiveDomainStagingConfig(const DescribeLiveDomainStagingConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4839,6 +4983,42 @@ LiveClient::DescribeLiveLazyPullStreamConfigOutcomeCallable LiveClient::describe return task->get_future(); } +LiveClient::DescribeLiveProducerUsageDataOutcome LiveClient::describeLiveProducerUsageData(const DescribeLiveProducerUsageDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveProducerUsageDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveProducerUsageDataOutcome(DescribeLiveProducerUsageDataResult(outcome.result())); + else + return DescribeLiveProducerUsageDataOutcome(outcome.error()); +} + +void LiveClient::describeLiveProducerUsageDataAsync(const DescribeLiveProducerUsageDataRequest& request, const DescribeLiveProducerUsageDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveProducerUsageData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveProducerUsageDataOutcomeCallable LiveClient::describeLiveProducerUsageDataCallable(const DescribeLiveProducerUsageDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveProducerUsageData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeLivePullStreamConfigOutcome LiveClient::describeLivePullStreamConfig(const DescribeLivePullStreamConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6027,42 +6207,6 @@ LiveClient::DescribeLiveUserDomainsOutcomeCallable LiveClient::describeLiveUserD return task->get_future(); } -LiveClient::DescribeLiveUserQuotaOutcome LiveClient::describeLiveUserQuota(const DescribeLiveUserQuotaRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveUserQuotaOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveUserQuotaOutcome(DescribeLiveUserQuotaResult(outcome.result())); - else - return DescribeLiveUserQuotaOutcome(outcome.error()); -} - -void LiveClient::describeLiveUserQuotaAsync(const DescribeLiveUserQuotaRequest& request, const DescribeLiveUserQuotaAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveUserQuota(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeLiveUserQuotaOutcomeCallable LiveClient::describeLiveUserQuotaCallable(const DescribeLiveUserQuotaRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveUserQuota(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - LiveClient::DescribeLiveUserTagsOutcome LiveClient::describeLiveUserTags(const DescribeLiveUserTagsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6099,6 +6243,42 @@ LiveClient::DescribeLiveUserTagsOutcomeCallable LiveClient::describeLiveUserTags 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(); @@ -6927,6 +7107,114 @@ LiveClient::GetEditingJobInfoOutcomeCallable LiveClient::getEditingJobInfoCallab return task->get_future(); } +LiveClient::GetMessageAppOutcome LiveClient::getMessageApp(const GetMessageAppRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetMessageAppOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetMessageAppOutcome(GetMessageAppResult(outcome.result())); + else + return GetMessageAppOutcome(outcome.error()); +} + +void LiveClient::getMessageAppAsync(const GetMessageAppRequest& request, const GetMessageAppAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getMessageApp(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::GetMessageAppOutcomeCallable LiveClient::getMessageAppCallable(const GetMessageAppRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getMessageApp(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::GetMessageGroupOutcome LiveClient::getMessageGroup(const GetMessageGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetMessageGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetMessageGroupOutcome(GetMessageGroupResult(outcome.result())); + else + return GetMessageGroupOutcome(outcome.error()); +} + +void LiveClient::getMessageGroupAsync(const GetMessageGroupRequest& request, const GetMessageGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getMessageGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::GetMessageGroupOutcomeCallable LiveClient::getMessageGroupCallable(const GetMessageGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getMessageGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::GetMessageTokenOutcome LiveClient::getMessageToken(const GetMessageTokenRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetMessageTokenOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetMessageTokenOutcome(GetMessageTokenResult(outcome.result())); + else + return GetMessageTokenOutcome(outcome.error()); +} + +void LiveClient::getMessageTokenAsync(const GetMessageTokenRequest& request, const GetMessageTokenAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getMessageToken(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::GetMessageTokenOutcomeCallable LiveClient::getMessageTokenCallable(const GetMessageTokenRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getMessageToken(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::GetMultiRateConfigOutcome LiveClient::getMultiRateConfig(const GetMultiRateConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -7071,6 +7359,78 @@ LiveClient::InitializeAutoShowListTaskOutcomeCallable LiveClient::initializeAuto return task->get_future(); } +LiveClient::JoinMessageGroupOutcome LiveClient::joinMessageGroup(const JoinMessageGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return JoinMessageGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return JoinMessageGroupOutcome(JoinMessageGroupResult(outcome.result())); + else + return JoinMessageGroupOutcome(outcome.error()); +} + +void LiveClient::joinMessageGroupAsync(const JoinMessageGroupRequest& request, const JoinMessageGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, joinMessageGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::JoinMessageGroupOutcomeCallable LiveClient::joinMessageGroupCallable(const JoinMessageGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->joinMessageGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::LeaveMessageGroupOutcome LiveClient::leaveMessageGroup(const LeaveMessageGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return LeaveMessageGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return LeaveMessageGroupOutcome(LeaveMessageGroupResult(outcome.result())); + else + return LeaveMessageGroupOutcome(outcome.error()); +} + +void LiveClient::leaveMessageGroupAsync(const LeaveMessageGroupRequest& request, const LeaveMessageGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, leaveMessageGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::LeaveMessageGroupOutcomeCallable LiveClient::leaveMessageGroupCallable(const LeaveMessageGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->leaveMessageGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::ListLiveRealtimeLogDeliveryOutcome LiveClient::listLiveRealtimeLogDelivery(const ListLiveRealtimeLogDeliveryRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -7179,6 +7539,150 @@ LiveClient::ListLiveRealtimeLogDeliveryInfosOutcomeCallable LiveClient::listLive return task->get_future(); } +LiveClient::ListMessageOutcome LiveClient::listMessage(const ListMessageRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListMessageOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListMessageOutcome(ListMessageResult(outcome.result())); + else + return ListMessageOutcome(outcome.error()); +} + +void LiveClient::listMessageAsync(const ListMessageRequest& request, const ListMessageAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listMessage(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::ListMessageOutcomeCallable LiveClient::listMessageCallable(const ListMessageRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listMessage(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::ListMessageAppOutcome LiveClient::listMessageApp(const ListMessageAppRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListMessageAppOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListMessageAppOutcome(ListMessageAppResult(outcome.result())); + else + return ListMessageAppOutcome(outcome.error()); +} + +void LiveClient::listMessageAppAsync(const ListMessageAppRequest& request, const ListMessageAppAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listMessageApp(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::ListMessageAppOutcomeCallable LiveClient::listMessageAppCallable(const ListMessageAppRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listMessageApp(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::ListMessageGroupOutcome LiveClient::listMessageGroup(const ListMessageGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListMessageGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListMessageGroupOutcome(ListMessageGroupResult(outcome.result())); + else + return ListMessageGroupOutcome(outcome.error()); +} + +void LiveClient::listMessageGroupAsync(const ListMessageGroupRequest& request, const ListMessageGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listMessageGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::ListMessageGroupOutcomeCallable LiveClient::listMessageGroupCallable(const ListMessageGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listMessageGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::ListMessageGroupUserOutcome LiveClient::listMessageGroupUser(const ListMessageGroupUserRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListMessageGroupUserOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListMessageGroupUserOutcome(ListMessageGroupUserResult(outcome.result())); + else + return ListMessageGroupUserOutcome(outcome.error()); +} + +void LiveClient::listMessageGroupUserAsync(const ListMessageGroupUserRequest& request, const ListMessageGroupUserAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listMessageGroupUser(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::ListMessageGroupUserOutcomeCallable LiveClient::listMessageGroupUserCallable(const ListMessageGroupUserRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listMessageGroupUser(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::ListPlaylistOutcome LiveClient::listPlaylist(const ListPlaylistRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -7899,6 +8403,78 @@ LiveClient::RollbackLiveStagingConfigOutcomeCallable LiveClient::rollbackLiveSta return task->get_future(); } +LiveClient::SendMessageToGroupOutcome LiveClient::sendMessageToGroup(const SendMessageToGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SendMessageToGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SendMessageToGroupOutcome(SendMessageToGroupResult(outcome.result())); + else + return SendMessageToGroupOutcome(outcome.error()); +} + +void LiveClient::sendMessageToGroupAsync(const SendMessageToGroupRequest& request, const SendMessageToGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, sendMessageToGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::SendMessageToGroupOutcomeCallable LiveClient::sendMessageToGroupCallable(const SendMessageToGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->sendMessageToGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::SendMessageToGroupUsersOutcome LiveClient::sendMessageToGroupUsers(const SendMessageToGroupUsersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SendMessageToGroupUsersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SendMessageToGroupUsersOutcome(SendMessageToGroupUsersResult(outcome.result())); + else + return SendMessageToGroupUsersOutcome(outcome.error()); +} + +void LiveClient::sendMessageToGroupUsersAsync(const SendMessageToGroupUsersRequest& request, const SendMessageToGroupUsersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, sendMessageToGroupUsers(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::SendMessageToGroupUsersOutcomeCallable LiveClient::sendMessageToGroupUsersCallable(const SendMessageToGroupUsersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->sendMessageToGroupUsers(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::SendRoomNotificationOutcome LiveClient::sendRoomNotification(const SendRoomNotificationRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -8115,6 +8691,42 @@ LiveClient::SetCasterSyncGroupOutcomeCallable LiveClient::setCasterSyncGroupCall 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(); @@ -8151,42 +8763,6 @@ LiveClient::SetLiveDomainCertificateOutcomeCallable LiveClient::setLiveDomainCer return task->get_future(); } -LiveClient::SetLiveDomainSpecialConfigOutcome LiveClient::setLiveDomainSpecialConfig(const SetLiveDomainSpecialConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetLiveDomainSpecialConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetLiveDomainSpecialConfigOutcome(SetLiveDomainSpecialConfigResult(outcome.result())); - else - return SetLiveDomainSpecialConfigOutcome(outcome.error()); -} - -void LiveClient::setLiveDomainSpecialConfigAsync(const SetLiveDomainSpecialConfigRequest& request, const SetLiveDomainSpecialConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setLiveDomainSpecialConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::SetLiveDomainSpecialConfigOutcomeCallable LiveClient::setLiveDomainSpecialConfigCallable(const SetLiveDomainSpecialConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setLiveDomainSpecialConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - LiveClient::SetLiveDomainStagingConfigOutcome LiveClient::setLiveDomainStagingConfig(const SetLiveDomainStagingConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/live/src/model/AddCasterComponentRequest.cc b/live/src/model/AddCasterComponentRequest.cc index 2ee77cf00..497864cb3 100644 --- a/live/src/model/AddCasterComponentRequest.cc +++ b/live/src/model/AddCasterComponentRequest.cc @@ -1,161 +1,135 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddCasterComponentRequest; - -AddCasterComponentRequest::AddCasterComponentRequest() : - RpcServiceRequest("live", "2016-11-01", "AddCasterComponent") -{ - setMethod(HttpRequest::Method::Post); -} - -AddCasterComponentRequest::~AddCasterComponentRequest() -{} - -std::string AddCasterComponentRequest::getHtmlLayerContent()const -{ - return htmlLayerContent_; + */ + +#include + +using AlibabaCloud::Live::Model::AddCasterComponentRequest; + +AddCasterComponentRequest::AddCasterComponentRequest() + : RpcServiceRequest("live", "2016-11-01", "AddCasterComponent") { + setMethod(HttpRequest::Method::Post); } -void AddCasterComponentRequest::setHtmlLayerContent(const std::string& htmlLayerContent) -{ - htmlLayerContent_ = htmlLayerContent; - setParameter("HtmlLayerContent", htmlLayerContent); +AddCasterComponentRequest::~AddCasterComponentRequest() {} + +std::string AddCasterComponentRequest::getHtmlLayerContent() const { + return htmlLayerContent_; } -std::string AddCasterComponentRequest::getImageLayerContent()const -{ - return imageLayerContent_; +void AddCasterComponentRequest::setHtmlLayerContent(const std::string &htmlLayerContent) { + htmlLayerContent_ = htmlLayerContent; + setParameter(std::string("HtmlLayerContent"), htmlLayerContent); } -void AddCasterComponentRequest::setImageLayerContent(const std::string& imageLayerContent) -{ - imageLayerContent_ = imageLayerContent; - setParameter("ImageLayerContent", imageLayerContent); +std::string AddCasterComponentRequest::getImageLayerContent() const { + return imageLayerContent_; } -std::string AddCasterComponentRequest::getComponentName()const -{ - return componentName_; +void AddCasterComponentRequest::setImageLayerContent(const std::string &imageLayerContent) { + imageLayerContent_ = imageLayerContent; + setParameter(std::string("ImageLayerContent"), imageLayerContent); } -void AddCasterComponentRequest::setComponentName(const std::string& componentName) -{ - componentName_ = componentName; - setParameter("ComponentName", componentName); +std::string AddCasterComponentRequest::getComponentName() const { + return componentName_; } -std::string AddCasterComponentRequest::getLayerOrder()const -{ - return layerOrder_; +void AddCasterComponentRequest::setComponentName(const std::string &componentName) { + componentName_ = componentName; + setParameter(std::string("ComponentName"), componentName); } -void AddCasterComponentRequest::setLayerOrder(const std::string& layerOrder) -{ - layerOrder_ = layerOrder; - setParameter("LayerOrder", layerOrder); +std::string AddCasterComponentRequest::getLayerOrder() const { + return layerOrder_; } -std::string AddCasterComponentRequest::getCasterId()const -{ - return casterId_; +void AddCasterComponentRequest::setLayerOrder(const std::string &layerOrder) { + layerOrder_ = layerOrder; + setParameter(std::string("LayerOrder"), layerOrder); } -void AddCasterComponentRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string AddCasterComponentRequest::getCasterId() const { + return casterId_; } -std::string AddCasterComponentRequest::getComponentLayer()const -{ - return componentLayer_; +void AddCasterComponentRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void AddCasterComponentRequest::setComponentLayer(const std::string& componentLayer) -{ - componentLayer_ = componentLayer; - setParameter("ComponentLayer", componentLayer); +std::string AddCasterComponentRequest::getComponentLayer() const { + return componentLayer_; } -long AddCasterComponentRequest::getOwnerId()const -{ - return ownerId_; +void AddCasterComponentRequest::setComponentLayer(const std::string &componentLayer) { + componentLayer_ = componentLayer; + setParameter(std::string("ComponentLayer"), componentLayer); } -void AddCasterComponentRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddCasterComponentRequest::getOwnerId() const { + return ownerId_; } -std::string AddCasterComponentRequest::getComponentType()const -{ - return componentType_; +void AddCasterComponentRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddCasterComponentRequest::setComponentType(const std::string& componentType) -{ - componentType_ = componentType; - setParameter("ComponentType", componentType); +std::string AddCasterComponentRequest::getComponentType() const { + return componentType_; } -std::string AddCasterComponentRequest::getLocationId()const -{ - return locationId_; +void AddCasterComponentRequest::setComponentType(const std::string &componentType) { + componentType_ = componentType; + setParameter(std::string("ComponentType"), componentType); } -void AddCasterComponentRequest::setLocationId(const std::string& locationId) -{ - locationId_ = locationId; - setParameter("LocationId", locationId); +std::string AddCasterComponentRequest::getLocationId() const { + return locationId_; } -std::string AddCasterComponentRequest::getEffect()const -{ - return effect_; +void AddCasterComponentRequest::setLocationId(const std::string &locationId) { + locationId_ = locationId; + setParameter(std::string("LocationId"), locationId); } -void AddCasterComponentRequest::setEffect(const std::string& effect) -{ - effect_ = effect; - setParameter("Effect", effect); +std::string AddCasterComponentRequest::getEffect() const { + return effect_; } -std::string AddCasterComponentRequest::getCaptionLayerContent()const -{ - return captionLayerContent_; +void AddCasterComponentRequest::setEffect(const std::string &effect) { + effect_ = effect; + setParameter(std::string("Effect"), effect); } -void AddCasterComponentRequest::setCaptionLayerContent(const std::string& captionLayerContent) -{ - captionLayerContent_ = captionLayerContent; - setParameter("CaptionLayerContent", captionLayerContent); +std::string AddCasterComponentRequest::getCaptionLayerContent() const { + return captionLayerContent_; } -std::string AddCasterComponentRequest::getTextLayerContent()const -{ - return textLayerContent_; +void AddCasterComponentRequest::setCaptionLayerContent(const std::string &captionLayerContent) { + captionLayerContent_ = captionLayerContent; + setParameter(std::string("CaptionLayerContent"), captionLayerContent); } -void AddCasterComponentRequest::setTextLayerContent(const std::string& textLayerContent) -{ - textLayerContent_ = textLayerContent; - setParameter("TextLayerContent", textLayerContent); +std::string AddCasterComponentRequest::getTextLayerContent() const { + return textLayerContent_; +} + +void AddCasterComponentRequest::setTextLayerContent(const std::string &textLayerContent) { + textLayerContent_ = textLayerContent; + setParameter(std::string("TextLayerContent"), textLayerContent); } diff --git a/live/src/model/AddCasterEpisodeGroupContentRequest.cc b/live/src/model/AddCasterEpisodeGroupContentRequest.cc index dfe151825..6f334fd82 100644 --- a/live/src/model/AddCasterEpisodeGroupContentRequest.cc +++ b/live/src/model/AddCasterEpisodeGroupContentRequest.cc @@ -1,62 +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::AddCasterEpisodeGroupContentRequest; - -AddCasterEpisodeGroupContentRequest::AddCasterEpisodeGroupContentRequest() : - RpcServiceRequest("live", "2016-11-01", "AddCasterEpisodeGroupContent") -{ - setMethod(HttpRequest::Method::Post); -} - -AddCasterEpisodeGroupContentRequest::~AddCasterEpisodeGroupContentRequest() -{} - -std::string AddCasterEpisodeGroupContentRequest::getClientToken()const -{ - return clientToken_; + */ + +#include + +using AlibabaCloud::Live::Model::AddCasterEpisodeGroupContentRequest; + +AddCasterEpisodeGroupContentRequest::AddCasterEpisodeGroupContentRequest() + : RpcServiceRequest("live", "2016-11-01", "AddCasterEpisodeGroupContent") { + setMethod(HttpRequest::Method::Post); } -void AddCasterEpisodeGroupContentRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setParameter("ClientToken", clientToken); +AddCasterEpisodeGroupContentRequest::~AddCasterEpisodeGroupContentRequest() {} + +std::string AddCasterEpisodeGroupContentRequest::getClientToken() const { + return clientToken_; } -std::string AddCasterEpisodeGroupContentRequest::getContent()const -{ - return content_; +void AddCasterEpisodeGroupContentRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); } -void AddCasterEpisodeGroupContentRequest::setContent(const std::string& content) -{ - content_ = content; - setParameter("Content", content); +std::string AddCasterEpisodeGroupContentRequest::getContent() const { + return content_; } -long AddCasterEpisodeGroupContentRequest::getOwnerId()const -{ - return ownerId_; +void AddCasterEpisodeGroupContentRequest::setContent(const std::string &content) { + content_ = content; + setParameter(std::string("Content"), content); } -void AddCasterEpisodeGroupContentRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddCasterEpisodeGroupContentRequest::getOwnerId() const { + return ownerId_; +} + +void AddCasterEpisodeGroupContentRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/AddCasterEpisodeGroupRequest.cc b/live/src/model/AddCasterEpisodeGroupRequest.cc index 417b29828..20b584526 100644 --- a/live/src/model/AddCasterEpisodeGroupRequest.cc +++ b/live/src/model/AddCasterEpisodeGroupRequest.cc @@ -1,122 +1,104 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddCasterEpisodeGroupRequest; - -AddCasterEpisodeGroupRequest::AddCasterEpisodeGroupRequest() : - RpcServiceRequest("live", "2016-11-01", "AddCasterEpisodeGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -AddCasterEpisodeGroupRequest::~AddCasterEpisodeGroupRequest() -{} - -std::string AddCasterEpisodeGroupRequest::getClientToken()const -{ - return clientToken_; + */ + +#include + +using AlibabaCloud::Live::Model::AddCasterEpisodeGroupRequest; + +AddCasterEpisodeGroupRequest::AddCasterEpisodeGroupRequest() + : RpcServiceRequest("live", "2016-11-01", "AddCasterEpisodeGroup") { + setMethod(HttpRequest::Method::Post); } -void AddCasterEpisodeGroupRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setParameter("ClientToken", clientToken); +AddCasterEpisodeGroupRequest::~AddCasterEpisodeGroupRequest() {} + +std::string AddCasterEpisodeGroupRequest::getClientToken() const { + return clientToken_; } -std::string AddCasterEpisodeGroupRequest::getStartTime()const -{ - return startTime_; +void AddCasterEpisodeGroupRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); } -void AddCasterEpisodeGroupRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string AddCasterEpisodeGroupRequest::getStartTime() const { + return startTime_; } -std::string AddCasterEpisodeGroupRequest::getSideOutputUrl()const -{ - return sideOutputUrl_; +void AddCasterEpisodeGroupRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void AddCasterEpisodeGroupRequest::setSideOutputUrl(const std::string& sideOutputUrl) -{ - sideOutputUrl_ = sideOutputUrl; - setParameter("SideOutputUrl", sideOutputUrl); +std::string AddCasterEpisodeGroupRequest::getSideOutputUrl() const { + return sideOutputUrl_; } -std::vector AddCasterEpisodeGroupRequest::getItem()const -{ - return item_; +void AddCasterEpisodeGroupRequest::setSideOutputUrl(const std::string &sideOutputUrl) { + sideOutputUrl_ = sideOutputUrl; + setParameter(std::string("SideOutputUrl"), sideOutputUrl); } -void AddCasterEpisodeGroupRequest::setItem(const std::vector& item) -{ - item_ = item; - for(int dep1 = 0; dep1!= item.size(); dep1++) { - auto itemObj = item.at(dep1); - std::string itemObjStr = "Item." + std::to_string(dep1 + 1); - setParameter(itemObjStr + ".ItemName", itemObj.itemName); - setParameter(itemObjStr + ".VodUrl", itemObj.vodUrl); - } +std::vector AddCasterEpisodeGroupRequest::getItem() const { + return item_; } -std::string AddCasterEpisodeGroupRequest::getDomainName()const -{ - return domainName_; +void AddCasterEpisodeGroupRequest::setItem(const std::vector &item) { + item_ = item; + for(int dep1 = 0; dep1 != item.size(); dep1++) { + auto itemObj = item.at(dep1); + std::string itemObjStr = std::string("Item") + "." + std::to_string(dep1 + 1); + setParameter(itemObjStr + ".ItemName", itemObj.itemName); + setParameter(itemObjStr + ".VodUrl", itemObj.vodUrl); + } } -void AddCasterEpisodeGroupRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string AddCasterEpisodeGroupRequest::getDomainName() const { + return domainName_; } -long AddCasterEpisodeGroupRequest::getOwnerId()const -{ - return ownerId_; +void AddCasterEpisodeGroupRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void AddCasterEpisodeGroupRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddCasterEpisodeGroupRequest::getOwnerId() const { + return ownerId_; } -int AddCasterEpisodeGroupRequest::getRepeatNum()const -{ - return repeatNum_; +void AddCasterEpisodeGroupRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddCasterEpisodeGroupRequest::setRepeatNum(int repeatNum) -{ - repeatNum_ = repeatNum; - setParameter("RepeatNum", std::to_string(repeatNum)); +int AddCasterEpisodeGroupRequest::getRepeatNum() const { + return repeatNum_; } -std::string AddCasterEpisodeGroupRequest::getCallbackUrl()const -{ - return callbackUrl_; +void AddCasterEpisodeGroupRequest::setRepeatNum(int repeatNum) { + repeatNum_ = repeatNum; + setParameter(std::string("RepeatNum"), std::to_string(repeatNum)); } -void AddCasterEpisodeGroupRequest::setCallbackUrl(const std::string& callbackUrl) -{ - callbackUrl_ = callbackUrl; - setParameter("CallbackUrl", callbackUrl); +std::string AddCasterEpisodeGroupRequest::getCallbackUrl() const { + return callbackUrl_; +} + +void AddCasterEpisodeGroupRequest::setCallbackUrl(const std::string &callbackUrl) { + callbackUrl_ = callbackUrl; + setParameter(std::string("CallbackUrl"), callbackUrl); } diff --git a/live/src/model/AddCasterEpisodeRequest.cc b/live/src/model/AddCasterEpisodeRequest.cc index c480cc42b..5ba826360 100644 --- a/live/src/model/AddCasterEpisodeRequest.cc +++ b/live/src/model/AddCasterEpisodeRequest.cc @@ -1,130 +1,107 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddCasterEpisodeRequest; - -AddCasterEpisodeRequest::AddCasterEpisodeRequest() : - RpcServiceRequest("live", "2016-11-01", "AddCasterEpisode") -{ - setMethod(HttpRequest::Method::Post); -} - -AddCasterEpisodeRequest::~AddCasterEpisodeRequest() -{} - -std::string AddCasterEpisodeRequest::getEpisodeName()const -{ - return episodeName_; + */ + +#include + +using AlibabaCloud::Live::Model::AddCasterEpisodeRequest; + +AddCasterEpisodeRequest::AddCasterEpisodeRequest() + : RpcServiceRequest("live", "2016-11-01", "AddCasterEpisode") { + setMethod(HttpRequest::Method::Post); } -void AddCasterEpisodeRequest::setEpisodeName(const std::string& episodeName) -{ - episodeName_ = episodeName; - setParameter("EpisodeName", episodeName); +AddCasterEpisodeRequest::~AddCasterEpisodeRequest() {} + +std::string AddCasterEpisodeRequest::getEpisodeName() const { + return episodeName_; } -std::string AddCasterEpisodeRequest::getStartTime()const -{ - return startTime_; +void AddCasterEpisodeRequest::setEpisodeName(const std::string &episodeName) { + episodeName_ = episodeName; + setParameter(std::string("EpisodeName"), episodeName); } -void AddCasterEpisodeRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string AddCasterEpisodeRequest::getStartTime() const { + return startTime_; } -std::string AddCasterEpisodeRequest::getResourceId()const -{ - return resourceId_; +void AddCasterEpisodeRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void AddCasterEpisodeRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setParameter("ResourceId", resourceId); +std::string AddCasterEpisodeRequest::getResourceId() const { + return resourceId_; } -std::vector AddCasterEpisodeRequest::getComponentId()const -{ - return componentId_; +void AddCasterEpisodeRequest::setResourceId(const std::string &resourceId) { + resourceId_ = resourceId; + setParameter(std::string("ResourceId"), resourceId); } -void AddCasterEpisodeRequest::setComponentId(const std::vector& componentId) -{ - componentId_ = componentId; - for(int dep1 = 0; dep1!= componentId.size(); dep1++) { - setParameter("ComponentId."+ std::to_string(dep1), componentId.at(dep1)); - } +std::vector AddCasterEpisodeRequest::getComponentId() const { + return componentId_; } -std::string AddCasterEpisodeRequest::getCasterId()const -{ - return casterId_; +void AddCasterEpisodeRequest::setComponentId(const std::vector &componentId) { + componentId_ = componentId; } -void AddCasterEpisodeRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string AddCasterEpisodeRequest::getCasterId() const { + return casterId_; } -std::string AddCasterEpisodeRequest::getEpisodeType()const -{ - return episodeType_; +void AddCasterEpisodeRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void AddCasterEpisodeRequest::setEpisodeType(const std::string& episodeType) -{ - episodeType_ = episodeType; - setParameter("EpisodeType", episodeType); +std::string AddCasterEpisodeRequest::getEpisodeType() const { + return episodeType_; } -std::string AddCasterEpisodeRequest::getEndTime()const -{ - return endTime_; +void AddCasterEpisodeRequest::setEpisodeType(const std::string &episodeType) { + episodeType_ = episodeType; + setParameter(std::string("EpisodeType"), episodeType); } -void AddCasterEpisodeRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string AddCasterEpisodeRequest::getEndTime() const { + return endTime_; } -long AddCasterEpisodeRequest::getOwnerId()const -{ - return ownerId_; +void AddCasterEpisodeRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void AddCasterEpisodeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddCasterEpisodeRequest::getOwnerId() const { + return ownerId_; } -std::string AddCasterEpisodeRequest::getSwitchType()const -{ - return switchType_; +void AddCasterEpisodeRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddCasterEpisodeRequest::setSwitchType(const std::string& switchType) -{ - switchType_ = switchType; - setParameter("SwitchType", switchType); +std::string AddCasterEpisodeRequest::getSwitchType() const { + return switchType_; +} + +void AddCasterEpisodeRequest::setSwitchType(const std::string &switchType) { + switchType_ = switchType; + setParameter(std::string("SwitchType"), switchType); } diff --git a/live/src/model/AddCasterLayoutRequest.cc b/live/src/model/AddCasterLayoutRequest.cc index cbb0d9d5c..26cd465ed 100644 --- a/live/src/model/AddCasterLayoutRequest.cc +++ b/live/src/model/AddCasterLayoutRequest.cc @@ -1,116 +1,93 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddCasterLayoutRequest; - -AddCasterLayoutRequest::AddCasterLayoutRequest() : - RpcServiceRequest("live", "2016-11-01", "AddCasterLayout") -{ - setMethod(HttpRequest::Method::Post); -} - -AddCasterLayoutRequest::~AddCasterLayoutRequest() -{} - -std::vector AddCasterLayoutRequest::getBlendList()const -{ - return blendList_; + */ + +#include + +using AlibabaCloud::Live::Model::AddCasterLayoutRequest; + +AddCasterLayoutRequest::AddCasterLayoutRequest() + : RpcServiceRequest("live", "2016-11-01", "AddCasterLayout") { + setMethod(HttpRequest::Method::Post); } -void AddCasterLayoutRequest::setBlendList(const std::vector& blendList) -{ - blendList_ = blendList; - for(int dep1 = 0; dep1!= blendList.size(); dep1++) { - setParameter("BlendList."+ std::to_string(dep1), blendList.at(dep1)); - } +AddCasterLayoutRequest::~AddCasterLayoutRequest() {} + +std::vector AddCasterLayoutRequest::getBlendList() const { + return blendList_; } -std::string AddCasterLayoutRequest::getCasterId()const -{ - return casterId_; +void AddCasterLayoutRequest::setBlendList(const std::vector &blendList) { + blendList_ = blendList; } -void AddCasterLayoutRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string AddCasterLayoutRequest::getCasterId() const { + return casterId_; } -long AddCasterLayoutRequest::getOwnerId()const -{ - return ownerId_; +void AddCasterLayoutRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void AddCasterLayoutRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddCasterLayoutRequest::getOwnerId() const { + return ownerId_; } -std::vector AddCasterLayoutRequest::getAudioLayer()const -{ - return audioLayer_; +void AddCasterLayoutRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddCasterLayoutRequest::setAudioLayer(const std::vector& audioLayer) -{ - audioLayer_ = audioLayer; - for(int dep1 = 0; dep1!= audioLayer.size(); dep1++) { - auto audioLayerObj = audioLayer.at(dep1); - std::string audioLayerObjStr = "AudioLayer." + std::to_string(dep1 + 1); - setParameter(audioLayerObjStr + ".VolumeRate", std::to_string(audioLayerObj.volumeRate)); - setParameter(audioLayerObjStr + ".ValidChannel", audioLayerObj.validChannel); - setParameter(audioLayerObjStr + ".FixedDelayDuration", std::to_string(audioLayerObj.fixedDelayDuration)); - } +std::vector AddCasterLayoutRequest::getAudioLayer() const { + return audioLayer_; } -std::vector AddCasterLayoutRequest::getVideoLayer()const -{ - return videoLayer_; +void AddCasterLayoutRequest::setAudioLayer(const std::vector &audioLayer) { + audioLayer_ = audioLayer; + for(int dep1 = 0; dep1 != audioLayer.size(); dep1++) { + auto audioLayerObj = audioLayer.at(dep1); + std::string audioLayerObjStr = std::string("AudioLayer") + "." + std::to_string(dep1 + 1); + setParameter(audioLayerObjStr + ".VolumeRate", std::to_string(audioLayerObj.volumeRate)); + setParameter(audioLayerObjStr + ".FixedDelayDuration", std::to_string(audioLayerObj.fixedDelayDuration)); + setParameter(audioLayerObjStr + ".ValidChannel", audioLayerObj.validChannel); + } } -void AddCasterLayoutRequest::setVideoLayer(const std::vector& videoLayer) -{ - videoLayer_ = videoLayer; - for(int dep1 = 0; dep1!= videoLayer.size(); dep1++) { - auto videoLayerObj = videoLayer.at(dep1); - std::string videoLayerObjStr = "VideoLayer." + std::to_string(dep1 + 1); - setParameter(videoLayerObjStr + ".FillMode", videoLayerObj.fillMode); - setParameter(videoLayerObjStr + ".HeightNormalized", std::to_string(videoLayerObj.heightNormalized)); - setParameter(videoLayerObjStr + ".WidthNormalized", std::to_string(videoLayerObj.widthNormalized)); - setParameter(videoLayerObjStr + ".PositionRefer", videoLayerObj.positionRefer); - for(int dep2 = 0; dep2!= videoLayerObj.positionNormalized.size(); dep2++) { - setParameter(videoLayerObjStr + ".PositionNormalized."+ std::to_string(dep2), std::to_string(videoLayerObj.positionNormalized.at(dep2))); - } - setParameter(videoLayerObjStr + ".FixedDelayDuration", std::to_string(videoLayerObj.fixedDelayDuration)); - } +std::vector AddCasterLayoutRequest::getVideoLayer() const { + return videoLayer_; } -std::vector AddCasterLayoutRequest::getMixList()const -{ - return mixList_; +void AddCasterLayoutRequest::setVideoLayer(const std::vector &videoLayer) { + videoLayer_ = videoLayer; + for(int dep1 = 0; dep1 != videoLayer.size(); dep1++) { + auto videoLayerObj = videoLayer.at(dep1); + std::string videoLayerObjStr = std::string("VideoLayer") + "." + std::to_string(dep1 + 1); + setParameter(videoLayerObjStr + ".FixedDelayDuration", std::to_string(videoLayerObj.fixedDelayDuration)); + setParameter(videoLayerObjStr + ".FillMode", videoLayerObj.fillMode); + setParameter(videoLayerObjStr + ".HeightNormalized", std::to_string(videoLayerObj.heightNormalized)); + setParameter(videoLayerObjStr + ".PositionRefer", videoLayerObj.positionRefer); + setParameter(videoLayerObjStr + ".WidthNormalized", std::to_string(videoLayerObj.widthNormalized)); + } } -void AddCasterLayoutRequest::setMixList(const std::vector& mixList) -{ - mixList_ = mixList; - for(int dep1 = 0; dep1!= mixList.size(); dep1++) { - setParameter("MixList."+ std::to_string(dep1), mixList.at(dep1)); - } +std::vector AddCasterLayoutRequest::getMixList() const { + return mixList_; +} + +void AddCasterLayoutRequest::setMixList(const std::vector &mixList) { + mixList_ = mixList; } diff --git a/live/src/model/AddCasterProgramRequest.cc b/live/src/model/AddCasterProgramRequest.cc index 5cfaad500..932471a24 100644 --- a/live/src/model/AddCasterProgramRequest.cc +++ b/live/src/model/AddCasterProgramRequest.cc @@ -1,74 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddCasterProgramRequest; - -AddCasterProgramRequest::AddCasterProgramRequest() : - RpcServiceRequest("live", "2016-11-01", "AddCasterProgram") -{ - setMethod(HttpRequest::Method::Post); -} - -AddCasterProgramRequest::~AddCasterProgramRequest() -{} - -std::vector AddCasterProgramRequest::getEpisode()const -{ - return episode_; + */ + +#include + +using AlibabaCloud::Live::Model::AddCasterProgramRequest; + +AddCasterProgramRequest::AddCasterProgramRequest() + : RpcServiceRequest("live", "2016-11-01", "AddCasterProgram") { + setMethod(HttpRequest::Method::Post); } -void AddCasterProgramRequest::setEpisode(const std::vector& episode) -{ - episode_ = episode; - for(int dep1 = 0; dep1!= episode.size(); dep1++) { - auto episodeObj = episode.at(dep1); - std::string episodeObjStr = "Episode." + std::to_string(dep1 + 1); - setParameter(episodeObjStr + ".EpisodeType", episodeObj.episodeType); - setParameter(episodeObjStr + ".EpisodeName", episodeObj.episodeName); - setParameter(episodeObjStr + ".ResourceId", episodeObj.resourceId); - for(int dep2 = 0; dep2!= episodeObj.componentId.size(); dep2++) { - setParameter(episodeObjStr + ".ComponentId."+ std::to_string(dep2), episodeObj.componentId.at(dep2)); - } - setParameter(episodeObjStr + ".StartTime", episodeObj.startTime); - setParameter(episodeObjStr + ".EndTime", episodeObj.endTime); - setParameter(episodeObjStr + ".SwitchType", episodeObj.switchType); - } +AddCasterProgramRequest::~AddCasterProgramRequest() {} + +std::vector AddCasterProgramRequest::getEpisode() const { + return episode_; } -std::string AddCasterProgramRequest::getCasterId()const -{ - return casterId_; +void AddCasterProgramRequest::setEpisode(const std::vector &episode) { + episode_ = episode; + for(int dep1 = 0; dep1 != episode.size(); dep1++) { + auto episodeObj = episode.at(dep1); + std::string episodeObjStr = std::string("Episode") + "." + std::to_string(dep1 + 1); + setParameter(episodeObjStr + ".EndTime", episodeObj.endTime); + setParameter(episodeObjStr + ".StartTime", episodeObj.startTime); + setParameter(episodeObjStr + ".EpisodeName", episodeObj.episodeName); + setParameter(episodeObjStr + ".EpisodeType", episodeObj.episodeType); + setParameter(episodeObjStr + ".ResourceId", episodeObj.resourceId); + setParameter(episodeObjStr + ".SwitchType", episodeObj.switchType); + } } -void AddCasterProgramRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string AddCasterProgramRequest::getCasterId() const { + return casterId_; } -long AddCasterProgramRequest::getOwnerId()const -{ - return ownerId_; +void AddCasterProgramRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void AddCasterProgramRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddCasterProgramRequest::getOwnerId() const { + return ownerId_; +} + +void AddCasterProgramRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/AddCasterVideoResourceRequest.cc b/live/src/model/AddCasterVideoResourceRequest.cc index f1c02faba..743876187 100644 --- a/live/src/model/AddCasterVideoResourceRequest.cc +++ b/live/src/model/AddCasterVideoResourceRequest.cc @@ -1,194 +1,162 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddCasterVideoResourceRequest; - -AddCasterVideoResourceRequest::AddCasterVideoResourceRequest() : - RpcServiceRequest("live", "2016-11-01", "AddCasterVideoResource") -{ - setMethod(HttpRequest::Method::Post); -} - -AddCasterVideoResourceRequest::~AddCasterVideoResourceRequest() -{} - -int AddCasterVideoResourceRequest::getInputType()const -{ - return inputType_; + */ + +#include + +using AlibabaCloud::Live::Model::AddCasterVideoResourceRequest; + +AddCasterVideoResourceRequest::AddCasterVideoResourceRequest() + : RpcServiceRequest("live", "2016-11-01", "AddCasterVideoResource") { + setMethod(HttpRequest::Method::Post); } -void AddCasterVideoResourceRequest::setInputType(int inputType) -{ - inputType_ = inputType; - setParameter("InputType", std::to_string(inputType)); +AddCasterVideoResourceRequest::~AddCasterVideoResourceRequest() {} + +int AddCasterVideoResourceRequest::getInputType() const { + return inputType_; } -int AddCasterVideoResourceRequest::getEndOffset()const -{ - return endOffset_; +void AddCasterVideoResourceRequest::setInputType(int inputType) { + inputType_ = inputType; + setParameter(std::string("InputType"), std::to_string(inputType)); } -void AddCasterVideoResourceRequest::setEndOffset(int endOffset) -{ - endOffset_ = endOffset; - setParameter("EndOffset", std::to_string(endOffset)); +int AddCasterVideoResourceRequest::getEndOffset() const { + return endOffset_; } -std::string AddCasterVideoResourceRequest::getMaterialId()const -{ - return materialId_; +void AddCasterVideoResourceRequest::setEndOffset(int endOffset) { + endOffset_ = endOffset; + setParameter(std::string("EndOffset"), std::to_string(endOffset)); } -void AddCasterVideoResourceRequest::setMaterialId(const std::string& materialId) -{ - materialId_ = materialId; - setParameter("MaterialId", materialId); +std::string AddCasterVideoResourceRequest::getMaterialId() const { + return materialId_; } -std::string AddCasterVideoResourceRequest::getVodUrl()const -{ - return vodUrl_; +void AddCasterVideoResourceRequest::setMaterialId(const std::string &materialId) { + materialId_ = materialId; + setParameter(std::string("MaterialId"), materialId); } -void AddCasterVideoResourceRequest::setVodUrl(const std::string& vodUrl) -{ - vodUrl_ = vodUrl; - setParameter("VodUrl", vodUrl); +std::string AddCasterVideoResourceRequest::getVodUrl() const { + return vodUrl_; } -std::string AddCasterVideoResourceRequest::getStreamId()const -{ - return streamId_; +void AddCasterVideoResourceRequest::setVodUrl(const std::string &vodUrl) { + vodUrl_ = vodUrl; + setParameter(std::string("VodUrl"), vodUrl); } -void AddCasterVideoResourceRequest::setStreamId(const std::string& streamId) -{ - streamId_ = streamId; - setParameter("StreamId", streamId); +std::string AddCasterVideoResourceRequest::getStreamId() const { + return streamId_; } -std::string AddCasterVideoResourceRequest::getCasterId()const -{ - return casterId_; +void AddCasterVideoResourceRequest::setStreamId(const std::string &streamId) { + streamId_ = streamId; + setParameter(std::string("StreamId"), streamId); } -void AddCasterVideoResourceRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string AddCasterVideoResourceRequest::getCasterId() const { + return casterId_; } -long AddCasterVideoResourceRequest::getOwnerId()const -{ - return ownerId_; +void AddCasterVideoResourceRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void AddCasterVideoResourceRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddCasterVideoResourceRequest::getOwnerId() const { + return ownerId_; } -int AddCasterVideoResourceRequest::getStreamMonitor()const -{ - return streamMonitor_; +void AddCasterVideoResourceRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddCasterVideoResourceRequest::setStreamMonitor(int streamMonitor) -{ - streamMonitor_ = streamMonitor; - setParameter("StreamMonitor", std::to_string(streamMonitor)); +int AddCasterVideoResourceRequest::getStreamMonitor() const { + return streamMonitor_; } -int AddCasterVideoResourceRequest::getBeginOffset()const -{ - return beginOffset_; +void AddCasterVideoResourceRequest::setStreamMonitor(int streamMonitor) { + streamMonitor_ = streamMonitor; + setParameter(std::string("StreamMonitor"), std::to_string(streamMonitor)); } -void AddCasterVideoResourceRequest::setBeginOffset(int beginOffset) -{ - beginOffset_ = beginOffset; - setParameter("BeginOffset", std::to_string(beginOffset)); +int AddCasterVideoResourceRequest::getBeginOffset() const { + return beginOffset_; } -int AddCasterVideoResourceRequest::getFixedDelayDuration()const -{ - return fixedDelayDuration_; +void AddCasterVideoResourceRequest::setBeginOffset(int beginOffset) { + beginOffset_ = beginOffset; + setParameter(std::string("BeginOffset"), std::to_string(beginOffset)); } -void AddCasterVideoResourceRequest::setFixedDelayDuration(int fixedDelayDuration) -{ - fixedDelayDuration_ = fixedDelayDuration; - setParameter("FixedDelayDuration", std::to_string(fixedDelayDuration)); +int AddCasterVideoResourceRequest::getFixedDelayDuration() const { + return fixedDelayDuration_; } -std::string AddCasterVideoResourceRequest::getLiveStreamUrl()const -{ - return liveStreamUrl_; +void AddCasterVideoResourceRequest::setFixedDelayDuration(int fixedDelayDuration) { + fixedDelayDuration_ = fixedDelayDuration; + setParameter(std::string("FixedDelayDuration"), std::to_string(fixedDelayDuration)); } -void AddCasterVideoResourceRequest::setLiveStreamUrl(const std::string& liveStreamUrl) -{ - liveStreamUrl_ = liveStreamUrl; - setParameter("LiveStreamUrl", liveStreamUrl); +std::string AddCasterVideoResourceRequest::getLiveStreamUrl() const { + return liveStreamUrl_; } -std::string AddCasterVideoResourceRequest::getLocationId()const -{ - return locationId_; +void AddCasterVideoResourceRequest::setLiveStreamUrl(const std::string &liveStreamUrl) { + liveStreamUrl_ = liveStreamUrl; + setParameter(std::string("LiveStreamUrl"), liveStreamUrl); } -void AddCasterVideoResourceRequest::setLocationId(const std::string& locationId) -{ - locationId_ = locationId; - setParameter("LocationId", locationId); +std::string AddCasterVideoResourceRequest::getLocationId() const { + return locationId_; } -int AddCasterVideoResourceRequest::getPtsCallbackInterval()const -{ - return ptsCallbackInterval_; +void AddCasterVideoResourceRequest::setLocationId(const std::string &locationId) { + locationId_ = locationId; + setParameter(std::string("LocationId"), locationId); } -void AddCasterVideoResourceRequest::setPtsCallbackInterval(int ptsCallbackInterval) -{ - ptsCallbackInterval_ = ptsCallbackInterval; - setParameter("PtsCallbackInterval", std::to_string(ptsCallbackInterval)); +int AddCasterVideoResourceRequest::getPtsCallbackInterval() const { + return ptsCallbackInterval_; } -std::string AddCasterVideoResourceRequest::getResourceName()const -{ - return resourceName_; +void AddCasterVideoResourceRequest::setPtsCallbackInterval(int ptsCallbackInterval) { + ptsCallbackInterval_ = ptsCallbackInterval; + setParameter(std::string("PtsCallbackInterval"), std::to_string(ptsCallbackInterval)); } -void AddCasterVideoResourceRequest::setResourceName(const std::string& resourceName) -{ - resourceName_ = resourceName; - setParameter("ResourceName", resourceName); +std::string AddCasterVideoResourceRequest::getResourceName() const { + return resourceName_; } -int AddCasterVideoResourceRequest::getRepeatNum()const -{ - return repeatNum_; +void AddCasterVideoResourceRequest::setResourceName(const std::string &resourceName) { + resourceName_ = resourceName; + setParameter(std::string("ResourceName"), resourceName); } -void AddCasterVideoResourceRequest::setRepeatNum(int repeatNum) -{ - repeatNum_ = repeatNum; - setParameter("RepeatNum", std::to_string(repeatNum)); +int AddCasterVideoResourceRequest::getRepeatNum() const { + return repeatNum_; +} + +void AddCasterVideoResourceRequest::setRepeatNum(int repeatNum) { + repeatNum_ = repeatNum; + setParameter(std::string("RepeatNum"), std::to_string(repeatNum)); } diff --git a/live/src/model/AddCustomLiveStreamTranscodeRequest.cc b/live/src/model/AddCustomLiveStreamTranscodeRequest.cc index 64a714a49..a87be13a4 100644 --- a/live/src/model/AddCustomLiveStreamTranscodeRequest.cc +++ b/live/src/model/AddCustomLiveStreamTranscodeRequest.cc @@ -1,260 +1,216 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddCustomLiveStreamTranscodeRequest; - -AddCustomLiveStreamTranscodeRequest::AddCustomLiveStreamTranscodeRequest() : - RpcServiceRequest("live", "2016-11-01", "AddCustomLiveStreamTranscode") -{ - setMethod(HttpRequest::Method::Post); -} - -AddCustomLiveStreamTranscodeRequest::~AddCustomLiveStreamTranscodeRequest() -{} - -std::string AddCustomLiveStreamTranscodeRequest::get_Template()const -{ - return _template_; + */ + +#include + +using AlibabaCloud::Live::Model::AddCustomLiveStreamTranscodeRequest; + +AddCustomLiveStreamTranscodeRequest::AddCustomLiveStreamTranscodeRequest() + : RpcServiceRequest("live", "2016-11-01", "AddCustomLiveStreamTranscode") { + setMethod(HttpRequest::Method::Post); } -void AddCustomLiveStreamTranscodeRequest::set_Template(const std::string& _template) -{ - _template_ = _template; - setParameter("_Template", _template); +AddCustomLiveStreamTranscodeRequest::~AddCustomLiveStreamTranscodeRequest() {} + +std::string AddCustomLiveStreamTranscodeRequest::get_Template() const { + return _template_; } -std::string AddCustomLiveStreamTranscodeRequest::getLazy()const -{ - return lazy_; +void AddCustomLiveStreamTranscodeRequest::set_Template(const std::string &_template) { + _template_ = _template; + setParameter(std::string("Template"), _template); } -void AddCustomLiveStreamTranscodeRequest::setLazy(const std::string& lazy) -{ - lazy_ = lazy; - setParameter("Lazy", lazy); +std::string AddCustomLiveStreamTranscodeRequest::getLazy() const { + return lazy_; } -std::string AddCustomLiveStreamTranscodeRequest::getGop()const -{ - return gop_; +void AddCustomLiveStreamTranscodeRequest::setLazy(const std::string &lazy) { + lazy_ = lazy; + setParameter(std::string("Lazy"), lazy); } -void AddCustomLiveStreamTranscodeRequest::setGop(const std::string& gop) -{ - gop_ = gop; - setParameter("Gop", gop); +std::string AddCustomLiveStreamTranscodeRequest::getGop() const { + return gop_; } -std::string AddCustomLiveStreamTranscodeRequest::getKmsKeyExpireInterval()const -{ - return kmsKeyExpireInterval_; +void AddCustomLiveStreamTranscodeRequest::setGop(const std::string &gop) { + gop_ = gop; + setParameter(std::string("Gop"), gop); } -void AddCustomLiveStreamTranscodeRequest::setKmsKeyExpireInterval(const std::string& kmsKeyExpireInterval) -{ - kmsKeyExpireInterval_ = kmsKeyExpireInterval; - setParameter("KmsKeyExpireInterval", kmsKeyExpireInterval); +std::string AddCustomLiveStreamTranscodeRequest::getKmsKeyExpireInterval() const { + return kmsKeyExpireInterval_; } -std::string AddCustomLiveStreamTranscodeRequest::getAudioCodec()const -{ - return audioCodec_; +void AddCustomLiveStreamTranscodeRequest::setKmsKeyExpireInterval(const std::string &kmsKeyExpireInterval) { + kmsKeyExpireInterval_ = kmsKeyExpireInterval; + setParameter(std::string("KmsKeyExpireInterval"), kmsKeyExpireInterval); } -void AddCustomLiveStreamTranscodeRequest::setAudioCodec(const std::string& audioCodec) -{ - audioCodec_ = audioCodec; - setParameter("AudioCodec", audioCodec); +std::string AddCustomLiveStreamTranscodeRequest::getAudioCodec() const { + return audioCodec_; } -std::string AddCustomLiveStreamTranscodeRequest::getKmsUID()const -{ - return kmsUID_; +void AddCustomLiveStreamTranscodeRequest::setAudioCodec(const std::string &audioCodec) { + audioCodec_ = audioCodec; + setParameter(std::string("AudioCodec"), audioCodec); } -void AddCustomLiveStreamTranscodeRequest::setKmsUID(const std::string& kmsUID) -{ - kmsUID_ = kmsUID; - setParameter("KmsUID", kmsUID); +std::string AddCustomLiveStreamTranscodeRequest::getKmsUID() const { + return kmsUID_; } -std::string AddCustomLiveStreamTranscodeRequest::getTemplateType()const -{ - return templateType_; +void AddCustomLiveStreamTranscodeRequest::setKmsUID(const std::string &kmsUID) { + kmsUID_ = kmsUID; + setParameter(std::string("KmsUID"), kmsUID); } -void AddCustomLiveStreamTranscodeRequest::setTemplateType(const std::string& templateType) -{ - templateType_ = templateType; - setParameter("TemplateType", templateType); +std::string AddCustomLiveStreamTranscodeRequest::getTemplateType() const { + return templateType_; } -std::string AddCustomLiveStreamTranscodeRequest::getAudioProfile()const -{ - return audioProfile_; +void AddCustomLiveStreamTranscodeRequest::setTemplateType(const std::string &templateType) { + templateType_ = templateType; + setParameter(std::string("TemplateType"), templateType); } -void AddCustomLiveStreamTranscodeRequest::setAudioProfile(const std::string& audioProfile) -{ - audioProfile_ = audioProfile; - setParameter("AudioProfile", audioProfile); +std::string AddCustomLiveStreamTranscodeRequest::getAudioProfile() const { + return audioProfile_; } -int AddCustomLiveStreamTranscodeRequest::getHeight()const -{ - return height_; +void AddCustomLiveStreamTranscodeRequest::setAudioProfile(const std::string &audioProfile) { + audioProfile_ = audioProfile; + setParameter(std::string("AudioProfile"), audioProfile); } -void AddCustomLiveStreamTranscodeRequest::setHeight(int height) -{ - height_ = height; - setParameter("Height", std::to_string(height)); +int AddCustomLiveStreamTranscodeRequest::getHeight() const { + return height_; } -std::string AddCustomLiveStreamTranscodeRequest::getApp()const -{ - return app_; +void AddCustomLiveStreamTranscodeRequest::setHeight(int height) { + height_ = height; + setParameter(std::string("Height"), std::to_string(height)); } -void AddCustomLiveStreamTranscodeRequest::setApp(const std::string& app) -{ - app_ = app; - setParameter("App", app); +std::string AddCustomLiveStreamTranscodeRequest::getApp() const { + return app_; } -std::string AddCustomLiveStreamTranscodeRequest::getEncryptParameters()const -{ - return encryptParameters_; +void AddCustomLiveStreamTranscodeRequest::setApp(const std::string &app) { + app_ = app; + setParameter(std::string("App"), app); } -void AddCustomLiveStreamTranscodeRequest::setEncryptParameters(const std::string& encryptParameters) -{ - encryptParameters_ = encryptParameters; - setParameter("EncryptParameters", encryptParameters); +std::string AddCustomLiveStreamTranscodeRequest::getEncryptParameters() const { + return encryptParameters_; } -int AddCustomLiveStreamTranscodeRequest::getAudioChannelNum()const -{ - return audioChannelNum_; +void AddCustomLiveStreamTranscodeRequest::setEncryptParameters(const std::string &encryptParameters) { + encryptParameters_ = encryptParameters; + setParameter(std::string("EncryptParameters"), encryptParameters); } -void AddCustomLiveStreamTranscodeRequest::setAudioChannelNum(int audioChannelNum) -{ - audioChannelNum_ = audioChannelNum; - setParameter("AudioChannelNum", std::to_string(audioChannelNum)); +int AddCustomLiveStreamTranscodeRequest::getAudioChannelNum() const { + return audioChannelNum_; } -int AddCustomLiveStreamTranscodeRequest::getProfile()const -{ - return profile_; +void AddCustomLiveStreamTranscodeRequest::setAudioChannelNum(int audioChannelNum) { + audioChannelNum_ = audioChannelNum; + setParameter(std::string("AudioChannelNum"), std::to_string(audioChannelNum)); } -void AddCustomLiveStreamTranscodeRequest::setProfile(int profile) -{ - profile_ = profile; - setParameter("Profile", std::to_string(profile)); +int AddCustomLiveStreamTranscodeRequest::getProfile() const { + return profile_; } -int AddCustomLiveStreamTranscodeRequest::getFPS()const -{ - return fPS_; +void AddCustomLiveStreamTranscodeRequest::setProfile(int profile) { + profile_ = profile; + setParameter(std::string("Profile"), std::to_string(profile)); } -void AddCustomLiveStreamTranscodeRequest::setFPS(int fPS) -{ - fPS_ = fPS; - setParameter("FPS", std::to_string(fPS)); +int AddCustomLiveStreamTranscodeRequest::getFPS() const { + return fPS_; } -long AddCustomLiveStreamTranscodeRequest::getOwnerId()const -{ - return ownerId_; +void AddCustomLiveStreamTranscodeRequest::setFPS(int fPS) { + fPS_ = fPS; + setParameter(std::string("FPS"), std::to_string(fPS)); } -void AddCustomLiveStreamTranscodeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddCustomLiveStreamTranscodeRequest::getOwnerId() const { + return ownerId_; } -int AddCustomLiveStreamTranscodeRequest::getAudioRate()const -{ - return audioRate_; +void AddCustomLiveStreamTranscodeRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddCustomLiveStreamTranscodeRequest::setAudioRate(int audioRate) -{ - audioRate_ = audioRate; - setParameter("AudioRate", std::to_string(audioRate)); +int AddCustomLiveStreamTranscodeRequest::getAudioRate() const { + return audioRate_; } -int AddCustomLiveStreamTranscodeRequest::getAudioBitrate()const -{ - return audioBitrate_; +void AddCustomLiveStreamTranscodeRequest::setAudioRate(int audioRate) { + audioRate_ = audioRate; + setParameter(std::string("AudioRate"), std::to_string(audioRate)); } -void AddCustomLiveStreamTranscodeRequest::setAudioBitrate(int audioBitrate) -{ - audioBitrate_ = audioBitrate; - setParameter("AudioBitrate", std::to_string(audioBitrate)); +int AddCustomLiveStreamTranscodeRequest::getAudioBitrate() const { + return audioBitrate_; } -std::string AddCustomLiveStreamTranscodeRequest::getDomain()const -{ - return domain_; +void AddCustomLiveStreamTranscodeRequest::setAudioBitrate(int audioBitrate) { + audioBitrate_ = audioBitrate; + setParameter(std::string("AudioBitrate"), std::to_string(audioBitrate)); } -void AddCustomLiveStreamTranscodeRequest::setDomain(const std::string& domain) -{ - domain_ = domain; - setParameter("Domain", domain); +std::string AddCustomLiveStreamTranscodeRequest::getDomain() const { + return domain_; } -int AddCustomLiveStreamTranscodeRequest::getWidth()const -{ - return width_; +void AddCustomLiveStreamTranscodeRequest::setDomain(const std::string &domain) { + domain_ = domain; + setParameter(std::string("Domain"), domain); } -void AddCustomLiveStreamTranscodeRequest::setWidth(int width) -{ - width_ = width; - setParameter("Width", std::to_string(width)); +int AddCustomLiveStreamTranscodeRequest::getWidth() const { + return width_; } -int AddCustomLiveStreamTranscodeRequest::getVideoBitrate()const -{ - return videoBitrate_; +void AddCustomLiveStreamTranscodeRequest::setWidth(int width) { + width_ = width; + setParameter(std::string("Width"), std::to_string(width)); } -void AddCustomLiveStreamTranscodeRequest::setVideoBitrate(int videoBitrate) -{ - videoBitrate_ = videoBitrate; - setParameter("VideoBitrate", std::to_string(videoBitrate)); +int AddCustomLiveStreamTranscodeRequest::getVideoBitrate() const { + return videoBitrate_; } -std::string AddCustomLiveStreamTranscodeRequest::getKmsKeyID()const -{ - return kmsKeyID_; +void AddCustomLiveStreamTranscodeRequest::setVideoBitrate(int videoBitrate) { + videoBitrate_ = videoBitrate; + setParameter(std::string("VideoBitrate"), std::to_string(videoBitrate)); } -void AddCustomLiveStreamTranscodeRequest::setKmsKeyID(const std::string& kmsKeyID) -{ - kmsKeyID_ = kmsKeyID; - setParameter("KmsKeyID", kmsKeyID); +std::string AddCustomLiveStreamTranscodeRequest::getKmsKeyID() const { + return kmsKeyID_; +} + +void AddCustomLiveStreamTranscodeRequest::setKmsKeyID(const std::string &kmsKeyID) { + kmsKeyID_ = kmsKeyID; + setParameter(std::string("KmsKeyID"), kmsKeyID); } diff --git a/live/src/model/AddLiveAppRecordConfigRequest.cc b/live/src/model/AddLiveAppRecordConfigRequest.cc index b4fdea7ec..5b8f584b1 100644 --- a/live/src/model/AddLiveAppRecordConfigRequest.cc +++ b/live/src/model/AddLiveAppRecordConfigRequest.cc @@ -1,190 +1,159 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddLiveAppRecordConfigRequest; - -AddLiveAppRecordConfigRequest::AddLiveAppRecordConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "AddLiveAppRecordConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -AddLiveAppRecordConfigRequest::~AddLiveAppRecordConfigRequest() -{} - -std::string AddLiveAppRecordConfigRequest::getOssEndpoint()const -{ - return ossEndpoint_; + */ + +#include + +using AlibabaCloud::Live::Model::AddLiveAppRecordConfigRequest; + +AddLiveAppRecordConfigRequest::AddLiveAppRecordConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "AddLiveAppRecordConfig") { + setMethod(HttpRequest::Method::Post); } -void AddLiveAppRecordConfigRequest::setOssEndpoint(const std::string& ossEndpoint) -{ - ossEndpoint_ = ossEndpoint; - setParameter("OssEndpoint", ossEndpoint); +AddLiveAppRecordConfigRequest::~AddLiveAppRecordConfigRequest() {} + +std::string AddLiveAppRecordConfigRequest::getOssEndpoint() const { + return ossEndpoint_; } -std::vector AddLiveAppRecordConfigRequest::getTranscodeTemplates()const -{ - return transcodeTemplates_; +void AddLiveAppRecordConfigRequest::setOssEndpoint(const std::string &ossEndpoint) { + ossEndpoint_ = ossEndpoint; + setParameter(std::string("OssEndpoint"), ossEndpoint); } -void AddLiveAppRecordConfigRequest::setTranscodeTemplates(const std::vector& transcodeTemplates) -{ - transcodeTemplates_ = transcodeTemplates; - for(int dep1 = 0; dep1!= transcodeTemplates.size(); dep1++) { - setParameter("TranscodeTemplates."+ std::to_string(dep1), transcodeTemplates.at(dep1)); - } +std::vector AddLiveAppRecordConfigRequest::getTranscodeTemplates() const { + return transcodeTemplates_; } -std::string AddLiveAppRecordConfigRequest::getStartTime()const -{ - return startTime_; +void AddLiveAppRecordConfigRequest::setTranscodeTemplates(const std::vector &transcodeTemplates) { + transcodeTemplates_ = transcodeTemplates; } -void AddLiveAppRecordConfigRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string AddLiveAppRecordConfigRequest::getStartTime() const { + return startTime_; } -std::string AddLiveAppRecordConfigRequest::getAppName()const -{ - return appName_; +void AddLiveAppRecordConfigRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void AddLiveAppRecordConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string AddLiveAppRecordConfigRequest::getAppName() const { + return appName_; } -std::string AddLiveAppRecordConfigRequest::getSecurityToken()const -{ - return securityToken_; +void AddLiveAppRecordConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void AddLiveAppRecordConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string AddLiveAppRecordConfigRequest::getSecurityToken() const { + return securityToken_; } -std::vector AddLiveAppRecordConfigRequest::getTranscodeRecordFormat()const -{ - return transcodeRecordFormat_; +void AddLiveAppRecordConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void AddLiveAppRecordConfigRequest::setTranscodeRecordFormat(const std::vector& transcodeRecordFormat) -{ - transcodeRecordFormat_ = transcodeRecordFormat; - for(int dep1 = 0; dep1!= transcodeRecordFormat.size(); dep1++) { - auto transcodeRecordFormatObj = transcodeRecordFormat.at(dep1); - std::string transcodeRecordFormatObjStr = "TranscodeRecordFormat." + std::to_string(dep1 + 1); - setParameter(transcodeRecordFormatObjStr + ".SliceOssObjectPrefix", transcodeRecordFormatObj.sliceOssObjectPrefix); - setParameter(transcodeRecordFormatObjStr + ".SliceDuration", std::to_string(transcodeRecordFormatObj.sliceDuration)); - setParameter(transcodeRecordFormatObjStr + ".Format", transcodeRecordFormatObj.format); - setParameter(transcodeRecordFormatObjStr + ".OssObjectPrefix", transcodeRecordFormatObj.ossObjectPrefix); - setParameter(transcodeRecordFormatObjStr + ".CycleDuration", std::to_string(transcodeRecordFormatObj.cycleDuration)); - } +std::vector AddLiveAppRecordConfigRequest::getTranscodeRecordFormat() const { + return transcodeRecordFormat_; } -int AddLiveAppRecordConfigRequest::getOnDemand()const -{ - return onDemand_; +void AddLiveAppRecordConfigRequest::setTranscodeRecordFormat(const std::vector &transcodeRecordFormat) { + transcodeRecordFormat_ = transcodeRecordFormat; + for(int dep1 = 0; dep1 != transcodeRecordFormat.size(); dep1++) { + auto transcodeRecordFormatObj = transcodeRecordFormat.at(dep1); + std::string transcodeRecordFormatObjStr = std::string("TranscodeRecordFormat") + "." + std::to_string(dep1 + 1); + setParameter(transcodeRecordFormatObjStr + ".SliceOssObjectPrefix", transcodeRecordFormatObj.sliceOssObjectPrefix); + setParameter(transcodeRecordFormatObjStr + ".SliceDuration", std::to_string(transcodeRecordFormatObj.sliceDuration)); + setParameter(transcodeRecordFormatObjStr + ".OssObjectPrefix", transcodeRecordFormatObj.ossObjectPrefix); + setParameter(transcodeRecordFormatObjStr + ".Format", transcodeRecordFormatObj.format); + setParameter(transcodeRecordFormatObjStr + ".CycleDuration", std::to_string(transcodeRecordFormatObj.cycleDuration)); + } } -void AddLiveAppRecordConfigRequest::setOnDemand(int onDemand) -{ - onDemand_ = onDemand; - setParameter("OnDemand", std::to_string(onDemand)); +int AddLiveAppRecordConfigRequest::getOnDemand() const { + return onDemand_; } -std::string AddLiveAppRecordConfigRequest::getStreamName()const -{ - return streamName_; +void AddLiveAppRecordConfigRequest::setOnDemand(int onDemand) { + onDemand_ = onDemand; + setParameter(std::string("OnDemand"), std::to_string(onDemand)); } -void AddLiveAppRecordConfigRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string AddLiveAppRecordConfigRequest::getStreamName() const { + return streamName_; } -std::string AddLiveAppRecordConfigRequest::getOssBucket()const -{ - return ossBucket_; +void AddLiveAppRecordConfigRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void AddLiveAppRecordConfigRequest::setOssBucket(const std::string& ossBucket) -{ - ossBucket_ = ossBucket; - setParameter("OssBucket", ossBucket); +std::string AddLiveAppRecordConfigRequest::getOssBucket() const { + return ossBucket_; } -std::string AddLiveAppRecordConfigRequest::getDomainName()const -{ - return domainName_; +void AddLiveAppRecordConfigRequest::setOssBucket(const std::string &ossBucket) { + ossBucket_ = ossBucket; + setParameter(std::string("OssBucket"), ossBucket); } -void AddLiveAppRecordConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string AddLiveAppRecordConfigRequest::getDomainName() const { + return domainName_; } -std::string AddLiveAppRecordConfigRequest::getEndTime()const -{ - return endTime_; +void AddLiveAppRecordConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void AddLiveAppRecordConfigRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string AddLiveAppRecordConfigRequest::getEndTime() const { + return endTime_; } -long AddLiveAppRecordConfigRequest::getOwnerId()const -{ - return ownerId_; +void AddLiveAppRecordConfigRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void AddLiveAppRecordConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddLiveAppRecordConfigRequest::getOwnerId() const { + return ownerId_; } -std::vector AddLiveAppRecordConfigRequest::getRecordFormat()const -{ - return recordFormat_; +void AddLiveAppRecordConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddLiveAppRecordConfigRequest::setRecordFormat(const std::vector& recordFormat) -{ - recordFormat_ = recordFormat; - for(int dep1 = 0; dep1!= recordFormat.size(); dep1++) { - auto recordFormatObj = recordFormat.at(dep1); - std::string recordFormatObjStr = "RecordFormat." + std::to_string(dep1 + 1); - setParameter(recordFormatObjStr + ".SliceOssObjectPrefix", recordFormatObj.sliceOssObjectPrefix); - setParameter(recordFormatObjStr + ".SliceDuration", std::to_string(recordFormatObj.sliceDuration)); - setParameter(recordFormatObjStr + ".Format", recordFormatObj.format); - setParameter(recordFormatObjStr + ".OssObjectPrefix", recordFormatObj.ossObjectPrefix); - setParameter(recordFormatObjStr + ".CycleDuration", std::to_string(recordFormatObj.cycleDuration)); - } +std::vector AddLiveAppRecordConfigRequest::getRecordFormat() const { + return recordFormat_; +} + +void AddLiveAppRecordConfigRequest::setRecordFormat(const std::vector &recordFormat) { + recordFormat_ = recordFormat; + for(int dep1 = 0; dep1 != recordFormat.size(); dep1++) { + auto recordFormatObj = recordFormat.at(dep1); + std::string recordFormatObjStr = std::string("RecordFormat") + "." + std::to_string(dep1 + 1); + setParameter(recordFormatObjStr + ".SliceOssObjectPrefix", recordFormatObj.sliceOssObjectPrefix); + setParameter(recordFormatObjStr + ".SliceDuration", std::to_string(recordFormatObj.sliceDuration)); + setParameter(recordFormatObjStr + ".OssObjectPrefix", recordFormatObj.ossObjectPrefix); + setParameter(recordFormatObjStr + ".Format", recordFormatObj.format); + setParameter(recordFormatObjStr + ".CycleDuration", std::to_string(recordFormatObj.cycleDuration)); + } } diff --git a/live/src/model/AddLiveAppSnapshotConfigRequest.cc b/live/src/model/AddLiveAppSnapshotConfigRequest.cc index a5c4b3592..871ffaeaf 100644 --- a/live/src/model/AddLiveAppSnapshotConfigRequest.cc +++ b/live/src/model/AddLiveAppSnapshotConfigRequest.cc @@ -1,139 +1,117 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddLiveAppSnapshotConfigRequest; - -AddLiveAppSnapshotConfigRequest::AddLiveAppSnapshotConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "AddLiveAppSnapshotConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -AddLiveAppSnapshotConfigRequest::~AddLiveAppSnapshotConfigRequest() -{} - -int AddLiveAppSnapshotConfigRequest::getTimeInterval()const -{ - return timeInterval_; + */ + +#include + +using AlibabaCloud::Live::Model::AddLiveAppSnapshotConfigRequest; + +AddLiveAppSnapshotConfigRequest::AddLiveAppSnapshotConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "AddLiveAppSnapshotConfig") { + setMethod(HttpRequest::Method::Post); } -void AddLiveAppSnapshotConfigRequest::setTimeInterval(int timeInterval) -{ - timeInterval_ = timeInterval; - setParameter("TimeInterval", std::to_string(timeInterval)); +AddLiveAppSnapshotConfigRequest::~AddLiveAppSnapshotConfigRequest() {} + +int AddLiveAppSnapshotConfigRequest::getTimeInterval() const { + return timeInterval_; } -std::string AddLiveAppSnapshotConfigRequest::getOssEndpoint()const -{ - return ossEndpoint_; +void AddLiveAppSnapshotConfigRequest::setTimeInterval(int timeInterval) { + timeInterval_ = timeInterval; + setParameter(std::string("TimeInterval"), std::to_string(timeInterval)); } -void AddLiveAppSnapshotConfigRequest::setOssEndpoint(const std::string& ossEndpoint) -{ - ossEndpoint_ = ossEndpoint; - setParameter("OssEndpoint", ossEndpoint); +std::string AddLiveAppSnapshotConfigRequest::getOssEndpoint() const { + return ossEndpoint_; } -std::string AddLiveAppSnapshotConfigRequest::getAppName()const -{ - return appName_; +void AddLiveAppSnapshotConfigRequest::setOssEndpoint(const std::string &ossEndpoint) { + ossEndpoint_ = ossEndpoint; + setParameter(std::string("OssEndpoint"), ossEndpoint); } -void AddLiveAppSnapshotConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string AddLiveAppSnapshotConfigRequest::getAppName() const { + return appName_; } -std::string AddLiveAppSnapshotConfigRequest::getSecurityToken()const -{ - return securityToken_; +void AddLiveAppSnapshotConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void AddLiveAppSnapshotConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string AddLiveAppSnapshotConfigRequest::getSecurityToken() const { + return securityToken_; } -std::string AddLiveAppSnapshotConfigRequest::getOverwriteOssObject()const -{ - return overwriteOssObject_; +void AddLiveAppSnapshotConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void AddLiveAppSnapshotConfigRequest::setOverwriteOssObject(const std::string& overwriteOssObject) -{ - overwriteOssObject_ = overwriteOssObject; - setParameter("OverwriteOssObject", overwriteOssObject); +std::string AddLiveAppSnapshotConfigRequest::getOverwriteOssObject() const { + return overwriteOssObject_; } -std::string AddLiveAppSnapshotConfigRequest::getOssBucket()const -{ - return ossBucket_; +void AddLiveAppSnapshotConfigRequest::setOverwriteOssObject(const std::string &overwriteOssObject) { + overwriteOssObject_ = overwriteOssObject; + setParameter(std::string("OverwriteOssObject"), overwriteOssObject); } -void AddLiveAppSnapshotConfigRequest::setOssBucket(const std::string& ossBucket) -{ - ossBucket_ = ossBucket; - setParameter("OssBucket", ossBucket); +std::string AddLiveAppSnapshotConfigRequest::getOssBucket() const { + return ossBucket_; } -std::string AddLiveAppSnapshotConfigRequest::getDomainName()const -{ - return domainName_; +void AddLiveAppSnapshotConfigRequest::setOssBucket(const std::string &ossBucket) { + ossBucket_ = ossBucket; + setParameter(std::string("OssBucket"), ossBucket); } -void AddLiveAppSnapshotConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string AddLiveAppSnapshotConfigRequest::getDomainName() const { + return domainName_; } -std::string AddLiveAppSnapshotConfigRequest::getSequenceOssObject()const -{ - return sequenceOssObject_; +void AddLiveAppSnapshotConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void AddLiveAppSnapshotConfigRequest::setSequenceOssObject(const std::string& sequenceOssObject) -{ - sequenceOssObject_ = sequenceOssObject; - setParameter("SequenceOssObject", sequenceOssObject); +std::string AddLiveAppSnapshotConfigRequest::getSequenceOssObject() const { + return sequenceOssObject_; } -long AddLiveAppSnapshotConfigRequest::getOwnerId()const -{ - return ownerId_; +void AddLiveAppSnapshotConfigRequest::setSequenceOssObject(const std::string &sequenceOssObject) { + sequenceOssObject_ = sequenceOssObject; + setParameter(std::string("SequenceOssObject"), sequenceOssObject); } -void AddLiveAppSnapshotConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddLiveAppSnapshotConfigRequest::getOwnerId() const { + return ownerId_; } -std::string AddLiveAppSnapshotConfigRequest::getCallback()const -{ - return callback_; +void AddLiveAppSnapshotConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddLiveAppSnapshotConfigRequest::setCallback(const std::string& callback) -{ - callback_ = callback; - setParameter("Callback", callback); +std::string AddLiveAppSnapshotConfigRequest::getCallback() const { + return callback_; +} + +void AddLiveAppSnapshotConfigRequest::setCallback(const std::string &callback) { + callback_ = callback; + setParameter(std::string("Callback"), callback); } diff --git a/live/src/model/AddLiveAudioAuditConfigRequest.cc b/live/src/model/AddLiveAudioAuditConfigRequest.cc index 8de7b39fa..97e45673d 100644 --- a/live/src/model/AddLiveAudioAuditConfigRequest.cc +++ b/live/src/model/AddLiveAudioAuditConfigRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddLiveAudioAuditConfigRequest; - -AddLiveAudioAuditConfigRequest::AddLiveAudioAuditConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "AddLiveAudioAuditConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -AddLiveAudioAuditConfigRequest::~AddLiveAudioAuditConfigRequest() -{} - -std::string AddLiveAudioAuditConfigRequest::getOssEndpoint()const -{ - return ossEndpoint_; + */ + +#include + +using AlibabaCloud::Live::Model::AddLiveAudioAuditConfigRequest; + +AddLiveAudioAuditConfigRequest::AddLiveAudioAuditConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "AddLiveAudioAuditConfig") { + setMethod(HttpRequest::Method::Post); } -void AddLiveAudioAuditConfigRequest::setOssEndpoint(const std::string& ossEndpoint) -{ - ossEndpoint_ = ossEndpoint; - setParameter("OssEndpoint", ossEndpoint); +AddLiveAudioAuditConfigRequest::~AddLiveAudioAuditConfigRequest() {} + +std::string AddLiveAudioAuditConfigRequest::getOssEndpoint() const { + return ossEndpoint_; } -std::string AddLiveAudioAuditConfigRequest::getOssObject()const -{ - return ossObject_; +void AddLiveAudioAuditConfigRequest::setOssEndpoint(const std::string &ossEndpoint) { + ossEndpoint_ = ossEndpoint; + setParameter(std::string("OssEndpoint"), ossEndpoint); } -void AddLiveAudioAuditConfigRequest::setOssObject(const std::string& ossObject) -{ - ossObject_ = ossObject; - setParameter("OssObject", ossObject); +std::string AddLiveAudioAuditConfigRequest::getOssObject() const { + return ossObject_; } -std::string AddLiveAudioAuditConfigRequest::getAppName()const -{ - return appName_; +void AddLiveAudioAuditConfigRequest::setOssObject(const std::string &ossObject) { + ossObject_ = ossObject; + setParameter(std::string("OssObject"), ossObject); } -void AddLiveAudioAuditConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string AddLiveAudioAuditConfigRequest::getAppName() const { + return appName_; } -std::string AddLiveAudioAuditConfigRequest::getStreamName()const -{ - return streamName_; +void AddLiveAudioAuditConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void AddLiveAudioAuditConfigRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string AddLiveAudioAuditConfigRequest::getStreamName() const { + return streamName_; } -std::string AddLiveAudioAuditConfigRequest::getOssBucket()const -{ - return ossBucket_; +void AddLiveAudioAuditConfigRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void AddLiveAudioAuditConfigRequest::setOssBucket(const std::string& ossBucket) -{ - ossBucket_ = ossBucket; - setParameter("OssBucket", ossBucket); +std::string AddLiveAudioAuditConfigRequest::getOssBucket() const { + return ossBucket_; } -std::string AddLiveAudioAuditConfigRequest::getDomainName()const -{ - return domainName_; +void AddLiveAudioAuditConfigRequest::setOssBucket(const std::string &ossBucket) { + ossBucket_ = ossBucket; + setParameter(std::string("OssBucket"), ossBucket); } -void AddLiveAudioAuditConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string AddLiveAudioAuditConfigRequest::getDomainName() const { + return domainName_; } -long AddLiveAudioAuditConfigRequest::getOwnerId()const -{ - return ownerId_; +void AddLiveAudioAuditConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void AddLiveAudioAuditConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddLiveAudioAuditConfigRequest::getOwnerId() const { + return ownerId_; } -std::string AddLiveAudioAuditConfigRequest::getBizType()const -{ - return bizType_; +void AddLiveAudioAuditConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddLiveAudioAuditConfigRequest::setBizType(const std::string& bizType) -{ - bizType_ = bizType; - setParameter("BizType", bizType); +std::string AddLiveAudioAuditConfigRequest::getBizType() const { + return bizType_; +} + +void AddLiveAudioAuditConfigRequest::setBizType(const std::string &bizType) { + bizType_ = bizType; + setParameter(std::string("BizType"), bizType); } diff --git a/live/src/model/AddLiveAudioAuditNotifyConfigRequest.cc b/live/src/model/AddLiveAudioAuditNotifyConfigRequest.cc index c9ba06171..697bcf424 100644 --- a/live/src/model/AddLiveAudioAuditNotifyConfigRequest.cc +++ b/live/src/model/AddLiveAudioAuditNotifyConfigRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddLiveAudioAuditNotifyConfigRequest; - -AddLiveAudioAuditNotifyConfigRequest::AddLiveAudioAuditNotifyConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "AddLiveAudioAuditNotifyConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -AddLiveAudioAuditNotifyConfigRequest::~AddLiveAudioAuditNotifyConfigRequest() -{} - -std::string AddLiveAudioAuditNotifyConfigRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::AddLiveAudioAuditNotifyConfigRequest; + +AddLiveAudioAuditNotifyConfigRequest::AddLiveAudioAuditNotifyConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "AddLiveAudioAuditNotifyConfig") { + setMethod(HttpRequest::Method::Post); } -void AddLiveAudioAuditNotifyConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +AddLiveAudioAuditNotifyConfigRequest::~AddLiveAudioAuditNotifyConfigRequest() {} + +std::string AddLiveAudioAuditNotifyConfigRequest::getDomainName() const { + return domainName_; } -long AddLiveAudioAuditNotifyConfigRequest::getOwnerId()const -{ - return ownerId_; +void AddLiveAudioAuditNotifyConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void AddLiveAudioAuditNotifyConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddLiveAudioAuditNotifyConfigRequest::getOwnerId() const { + return ownerId_; } -std::string AddLiveAudioAuditNotifyConfigRequest::getCallbackTemplate()const -{ - return callbackTemplate_; +void AddLiveAudioAuditNotifyConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddLiveAudioAuditNotifyConfigRequest::setCallbackTemplate(const std::string& callbackTemplate) -{ - callbackTemplate_ = callbackTemplate; - setParameter("CallbackTemplate", callbackTemplate); +std::string AddLiveAudioAuditNotifyConfigRequest::getCallbackTemplate() const { + return callbackTemplate_; } -std::string AddLiveAudioAuditNotifyConfigRequest::getCallback()const -{ - return callback_; +void AddLiveAudioAuditNotifyConfigRequest::setCallbackTemplate(const std::string &callbackTemplate) { + callbackTemplate_ = callbackTemplate; + setParameter(std::string("CallbackTemplate"), callbackTemplate); } -void AddLiveAudioAuditNotifyConfigRequest::setCallback(const std::string& callback) -{ - callback_ = callback; - setParameter("Callback", callback); +std::string AddLiveAudioAuditNotifyConfigRequest::getCallback() const { + return callback_; +} + +void AddLiveAudioAuditNotifyConfigRequest::setCallback(const std::string &callback) { + callback_ = callback; + setParameter(std::string("Callback"), callback); } diff --git a/live/src/model/AddLiveDetectNotifyConfigRequest.cc b/live/src/model/AddLiveDetectNotifyConfigRequest.cc index 8f5ab52f5..8fc3e03db 100644 --- a/live/src/model/AddLiveDetectNotifyConfigRequest.cc +++ b/live/src/model/AddLiveDetectNotifyConfigRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddLiveDetectNotifyConfigRequest; - -AddLiveDetectNotifyConfigRequest::AddLiveDetectNotifyConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "AddLiveDetectNotifyConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -AddLiveDetectNotifyConfigRequest::~AddLiveDetectNotifyConfigRequest() -{} - -std::string AddLiveDetectNotifyConfigRequest::getSecurityToken()const -{ - return securityToken_; + */ + +#include + +using AlibabaCloud::Live::Model::AddLiveDetectNotifyConfigRequest; + +AddLiveDetectNotifyConfigRequest::AddLiveDetectNotifyConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "AddLiveDetectNotifyConfig") { + setMethod(HttpRequest::Method::Post); } -void AddLiveDetectNotifyConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +AddLiveDetectNotifyConfigRequest::~AddLiveDetectNotifyConfigRequest() {} + +std::string AddLiveDetectNotifyConfigRequest::getSecurityToken() const { + return securityToken_; } -std::string AddLiveDetectNotifyConfigRequest::getNotifyUrl()const -{ - return notifyUrl_; +void AddLiveDetectNotifyConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void AddLiveDetectNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl) -{ - notifyUrl_ = notifyUrl; - setParameter("NotifyUrl", notifyUrl); +std::string AddLiveDetectNotifyConfigRequest::getNotifyUrl() const { + return notifyUrl_; } -std::string AddLiveDetectNotifyConfigRequest::getDomainName()const -{ - return domainName_; +void AddLiveDetectNotifyConfigRequest::setNotifyUrl(const std::string ¬ifyUrl) { + notifyUrl_ = notifyUrl; + setParameter(std::string("NotifyUrl"), notifyUrl); } -void AddLiveDetectNotifyConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string AddLiveDetectNotifyConfigRequest::getDomainName() const { + return domainName_; } -long AddLiveDetectNotifyConfigRequest::getOwnerId()const -{ - return ownerId_; +void AddLiveDetectNotifyConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void AddLiveDetectNotifyConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddLiveDetectNotifyConfigRequest::getOwnerId() const { + return ownerId_; +} + +void AddLiveDetectNotifyConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/AddLiveDomainMappingRequest.cc b/live/src/model/AddLiveDomainMappingRequest.cc index 80057be41..ca46709b0 100644 --- a/live/src/model/AddLiveDomainMappingRequest.cc +++ b/live/src/model/AddLiveDomainMappingRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddLiveDomainMappingRequest; - -AddLiveDomainMappingRequest::AddLiveDomainMappingRequest() : - RpcServiceRequest("live", "2016-11-01", "AddLiveDomainMapping") -{ - setMethod(HttpRequest::Method::Post); -} - -AddLiveDomainMappingRequest::~AddLiveDomainMappingRequest() -{} - -std::string AddLiveDomainMappingRequest::getSecurityToken()const -{ - return securityToken_; + */ + +#include + +using AlibabaCloud::Live::Model::AddLiveDomainMappingRequest; + +AddLiveDomainMappingRequest::AddLiveDomainMappingRequest() + : RpcServiceRequest("live", "2016-11-01", "AddLiveDomainMapping") { + setMethod(HttpRequest::Method::Post); } -void AddLiveDomainMappingRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +AddLiveDomainMappingRequest::~AddLiveDomainMappingRequest() {} + +std::string AddLiveDomainMappingRequest::getSecurityToken() const { + return securityToken_; } -std::string AddLiveDomainMappingRequest::getPushDomain()const -{ - return pushDomain_; +void AddLiveDomainMappingRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void AddLiveDomainMappingRequest::setPushDomain(const std::string& pushDomain) -{ - pushDomain_ = pushDomain; - setParameter("PushDomain", pushDomain); +std::string AddLiveDomainMappingRequest::getPushDomain() const { + return pushDomain_; } -long AddLiveDomainMappingRequest::getOwnerId()const -{ - return ownerId_; +void AddLiveDomainMappingRequest::setPushDomain(const std::string &pushDomain) { + pushDomain_ = pushDomain; + setParameter(std::string("PushDomain"), pushDomain); } -void AddLiveDomainMappingRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddLiveDomainMappingRequest::getOwnerId() const { + return ownerId_; } -std::string AddLiveDomainMappingRequest::getPullDomain()const -{ - return pullDomain_; +void AddLiveDomainMappingRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddLiveDomainMappingRequest::setPullDomain(const std::string& pullDomain) -{ - pullDomain_ = pullDomain; - setParameter("PullDomain", pullDomain); +std::string AddLiveDomainMappingRequest::getPullDomain() const { + return pullDomain_; +} + +void AddLiveDomainMappingRequest::setPullDomain(const std::string &pullDomain) { + pullDomain_ = pullDomain; + setParameter(std::string("PullDomain"), pullDomain); } diff --git a/live/src/model/AddLiveDomainPlayMappingRequest.cc b/live/src/model/AddLiveDomainPlayMappingRequest.cc index 86ab5f1b8..0bd718b6f 100644 --- a/live/src/model/AddLiveDomainPlayMappingRequest.cc +++ b/live/src/model/AddLiveDomainPlayMappingRequest.cc @@ -1,62 +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::AddLiveDomainPlayMappingRequest; - -AddLiveDomainPlayMappingRequest::AddLiveDomainPlayMappingRequest() : - RpcServiceRequest("live", "2016-11-01", "AddLiveDomainPlayMapping") -{ - setMethod(HttpRequest::Method::Post); -} - -AddLiveDomainPlayMappingRequest::~AddLiveDomainPlayMappingRequest() -{} - -std::string AddLiveDomainPlayMappingRequest::getPlayDomain()const -{ - return playDomain_; + */ + +#include + +using AlibabaCloud::Live::Model::AddLiveDomainPlayMappingRequest; + +AddLiveDomainPlayMappingRequest::AddLiveDomainPlayMappingRequest() + : RpcServiceRequest("live", "2016-11-01", "AddLiveDomainPlayMapping") { + setMethod(HttpRequest::Method::Post); } -void AddLiveDomainPlayMappingRequest::setPlayDomain(const std::string& playDomain) -{ - playDomain_ = playDomain; - setParameter("PlayDomain", playDomain); +AddLiveDomainPlayMappingRequest::~AddLiveDomainPlayMappingRequest() {} + +std::string AddLiveDomainPlayMappingRequest::getPlayDomain() const { + return playDomain_; } -long AddLiveDomainPlayMappingRequest::getOwnerId()const -{ - return ownerId_; +void AddLiveDomainPlayMappingRequest::setPlayDomain(const std::string &playDomain) { + playDomain_ = playDomain; + setParameter(std::string("PlayDomain"), playDomain); } -void AddLiveDomainPlayMappingRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddLiveDomainPlayMappingRequest::getOwnerId() const { + return ownerId_; } -std::string AddLiveDomainPlayMappingRequest::getPullDomain()const -{ - return pullDomain_; +void AddLiveDomainPlayMappingRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddLiveDomainPlayMappingRequest::setPullDomain(const std::string& pullDomain) -{ - pullDomain_ = pullDomain; - setParameter("PullDomain", pullDomain); +std::string AddLiveDomainPlayMappingRequest::getPullDomain() const { + return pullDomain_; +} + +void AddLiveDomainPlayMappingRequest::setPullDomain(const std::string &pullDomain) { + pullDomain_ = pullDomain; + setParameter(std::string("PullDomain"), pullDomain); } diff --git a/live/src/model/AddLiveDomainRequest.cc b/live/src/model/AddLiveDomainRequest.cc index 025b5777c..873e22c90 100644 --- a/live/src/model/AddLiveDomainRequest.cc +++ b/live/src/model/AddLiveDomainRequest.cc @@ -1,128 +1,108 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddLiveDomainRequest; - -AddLiveDomainRequest::AddLiveDomainRequest() : - RpcServiceRequest("live", "2016-11-01", "AddLiveDomain") -{ - setMethod(HttpRequest::Method::Post); -} - -AddLiveDomainRequest::~AddLiveDomainRequest() -{} - -std::string AddLiveDomainRequest::getSecurityToken()const -{ - return securityToken_; + */ + +#include + +using AlibabaCloud::Live::Model::AddLiveDomainRequest; + +AddLiveDomainRequest::AddLiveDomainRequest() + : RpcServiceRequest("live", "2016-11-01", "AddLiveDomain") { + setMethod(HttpRequest::Method::Post); } -void AddLiveDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +AddLiveDomainRequest::~AddLiveDomainRequest() {} + +std::string AddLiveDomainRequest::getSecurityToken() const { + return securityToken_; } -std::string AddLiveDomainRequest::getScope()const -{ - return scope_; +void AddLiveDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void AddLiveDomainRequest::setScope(const std::string& scope) -{ - scope_ = scope; - setParameter("Scope", scope); +std::string AddLiveDomainRequest::getScope() const { + return scope_; } -std::string AddLiveDomainRequest::getTopLevelDomain()const -{ - return topLevelDomain_; +void AddLiveDomainRequest::setScope(const std::string &scope) { + scope_ = scope; + setParameter(std::string("Scope"), scope); } -void AddLiveDomainRequest::setTopLevelDomain(const std::string& topLevelDomain) -{ - topLevelDomain_ = topLevelDomain; - setParameter("TopLevelDomain", topLevelDomain); +std::string AddLiveDomainRequest::getTopLevelDomain() const { + return topLevelDomain_; } -std::string AddLiveDomainRequest::getOwnerAccount()const -{ - return ownerAccount_; +void AddLiveDomainRequest::setTopLevelDomain(const std::string &topLevelDomain) { + topLevelDomain_ = topLevelDomain; + setParameter(std::string("TopLevelDomain"), topLevelDomain); } -void AddLiveDomainRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::string AddLiveDomainRequest::getOwnerAccount() const { + return ownerAccount_; } -std::string AddLiveDomainRequest::getDomainName()const -{ - return domainName_; +void AddLiveDomainRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void AddLiveDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string AddLiveDomainRequest::getDomainName() const { + return domainName_; } -long AddLiveDomainRequest::getOwnerId()const -{ - return ownerId_; +void AddLiveDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void AddLiveDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddLiveDomainRequest::getOwnerId() const { + return ownerId_; } -std::string AddLiveDomainRequest::getRegion()const -{ - return region_; +void AddLiveDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddLiveDomainRequest::setRegion(const std::string& region) -{ - region_ = region; - setParameter("Region", region); +std::string AddLiveDomainRequest::getRegion() const { + return region_; } -std::string AddLiveDomainRequest::getCheckUrl()const -{ - return checkUrl_; +void AddLiveDomainRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); } -void AddLiveDomainRequest::setCheckUrl(const std::string& checkUrl) -{ - checkUrl_ = checkUrl; - setParameter("CheckUrl", checkUrl); +std::string AddLiveDomainRequest::getCheckUrl() const { + return checkUrl_; } -std::string AddLiveDomainRequest::getLiveDomainType()const -{ - return liveDomainType_; +void AddLiveDomainRequest::setCheckUrl(const std::string &checkUrl) { + checkUrl_ = checkUrl; + setParameter(std::string("CheckUrl"), checkUrl); } -void AddLiveDomainRequest::setLiveDomainType(const std::string& liveDomainType) -{ - liveDomainType_ = liveDomainType; - setParameter("LiveDomainType", liveDomainType); +std::string AddLiveDomainRequest::getLiveDomainType() const { + return liveDomainType_; +} + +void AddLiveDomainRequest::setLiveDomainType(const std::string &liveDomainType) { + liveDomainType_ = liveDomainType; + setParameter(std::string("LiveDomainType"), liveDomainType); } diff --git a/live/src/model/AddLivePullStreamInfoConfigRequest.cc b/live/src/model/AddLivePullStreamInfoConfigRequest.cc index 2f51e84bb..89ba34e89 100644 --- a/live/src/model/AddLivePullStreamInfoConfigRequest.cc +++ b/live/src/model/AddLivePullStreamInfoConfigRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddLivePullStreamInfoConfigRequest; - -AddLivePullStreamInfoConfigRequest::AddLivePullStreamInfoConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "AddLivePullStreamInfoConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -AddLivePullStreamInfoConfigRequest::~AddLivePullStreamInfoConfigRequest() -{} - -std::string AddLivePullStreamInfoConfigRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::AddLivePullStreamInfoConfigRequest; + +AddLivePullStreamInfoConfigRequest::AddLivePullStreamInfoConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "AddLivePullStreamInfoConfig") { + setMethod(HttpRequest::Method::Post); } -void AddLivePullStreamInfoConfigRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +AddLivePullStreamInfoConfigRequest::~AddLivePullStreamInfoConfigRequest() {} + +std::string AddLivePullStreamInfoConfigRequest::getStartTime() const { + return startTime_; } -std::string AddLivePullStreamInfoConfigRequest::getAppName()const -{ - return appName_; +void AddLivePullStreamInfoConfigRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void AddLivePullStreamInfoConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string AddLivePullStreamInfoConfigRequest::getAppName() const { + return appName_; } -std::string AddLivePullStreamInfoConfigRequest::getStreamName()const -{ - return streamName_; +void AddLivePullStreamInfoConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void AddLivePullStreamInfoConfigRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string AddLivePullStreamInfoConfigRequest::getStreamName() const { + return streamName_; } -std::string AddLivePullStreamInfoConfigRequest::getPullAlways()const -{ - return pullAlways_; +void AddLivePullStreamInfoConfigRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void AddLivePullStreamInfoConfigRequest::setPullAlways(const std::string& pullAlways) -{ - pullAlways_ = pullAlways; - setParameter("PullAlways", pullAlways); +std::string AddLivePullStreamInfoConfigRequest::getPullAlways() const { + return pullAlways_; } -std::string AddLivePullStreamInfoConfigRequest::getDomainName()const -{ - return domainName_; +void AddLivePullStreamInfoConfigRequest::setPullAlways(const std::string &pullAlways) { + pullAlways_ = pullAlways; + setParameter(std::string("PullAlways"), pullAlways); } -void AddLivePullStreamInfoConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string AddLivePullStreamInfoConfigRequest::getDomainName() const { + return domainName_; } -std::string AddLivePullStreamInfoConfigRequest::getEndTime()const -{ - return endTime_; +void AddLivePullStreamInfoConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void AddLivePullStreamInfoConfigRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string AddLivePullStreamInfoConfigRequest::getEndTime() const { + return endTime_; } -long AddLivePullStreamInfoConfigRequest::getOwnerId()const -{ - return ownerId_; +void AddLivePullStreamInfoConfigRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void AddLivePullStreamInfoConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddLivePullStreamInfoConfigRequest::getOwnerId() const { + return ownerId_; } -std::string AddLivePullStreamInfoConfigRequest::getSourceUrl()const -{ - return sourceUrl_; +void AddLivePullStreamInfoConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddLivePullStreamInfoConfigRequest::setSourceUrl(const std::string& sourceUrl) -{ - sourceUrl_ = sourceUrl; - setParameter("SourceUrl", sourceUrl); +std::string AddLivePullStreamInfoConfigRequest::getSourceUrl() const { + return sourceUrl_; +} + +void AddLivePullStreamInfoConfigRequest::setSourceUrl(const std::string &sourceUrl) { + sourceUrl_ = sourceUrl; + setParameter(std::string("SourceUrl"), sourceUrl); } diff --git a/live/src/model/AddLiveRecordNotifyConfigRequest.cc b/live/src/model/AddLiveRecordNotifyConfigRequest.cc index f2e4d271c..62008dd62 100644 --- a/live/src/model/AddLiveRecordNotifyConfigRequest.cc +++ b/live/src/model/AddLiveRecordNotifyConfigRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddLiveRecordNotifyConfigRequest; - -AddLiveRecordNotifyConfigRequest::AddLiveRecordNotifyConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "AddLiveRecordNotifyConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -AddLiveRecordNotifyConfigRequest::~AddLiveRecordNotifyConfigRequest() -{} - -std::string AddLiveRecordNotifyConfigRequest::getOnDemandUrl()const -{ - return onDemandUrl_; + */ + +#include + +using AlibabaCloud::Live::Model::AddLiveRecordNotifyConfigRequest; + +AddLiveRecordNotifyConfigRequest::AddLiveRecordNotifyConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "AddLiveRecordNotifyConfig") { + setMethod(HttpRequest::Method::Post); } -void AddLiveRecordNotifyConfigRequest::setOnDemandUrl(const std::string& onDemandUrl) -{ - onDemandUrl_ = onDemandUrl; - setParameter("OnDemandUrl", onDemandUrl); +AddLiveRecordNotifyConfigRequest::~AddLiveRecordNotifyConfigRequest() {} + +std::string AddLiveRecordNotifyConfigRequest::getOnDemandUrl() const { + return onDemandUrl_; } -std::string AddLiveRecordNotifyConfigRequest::getSecurityToken()const -{ - return securityToken_; +void AddLiveRecordNotifyConfigRequest::setOnDemandUrl(const std::string &onDemandUrl) { + onDemandUrl_ = onDemandUrl; + setParameter(std::string("OnDemandUrl"), onDemandUrl); } -void AddLiveRecordNotifyConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string AddLiveRecordNotifyConfigRequest::getSecurityToken() const { + return securityToken_; } -std::string AddLiveRecordNotifyConfigRequest::getNotifyUrl()const -{ - return notifyUrl_; +void AddLiveRecordNotifyConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void AddLiveRecordNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl) -{ - notifyUrl_ = notifyUrl; - setParameter("NotifyUrl", notifyUrl); +std::string AddLiveRecordNotifyConfigRequest::getNotifyUrl() const { + return notifyUrl_; } -bool AddLiveRecordNotifyConfigRequest::getNeedStatusNotify()const -{ - return needStatusNotify_; +void AddLiveRecordNotifyConfigRequest::setNotifyUrl(const std::string ¬ifyUrl) { + notifyUrl_ = notifyUrl; + setParameter(std::string("NotifyUrl"), notifyUrl); } -void AddLiveRecordNotifyConfigRequest::setNeedStatusNotify(bool needStatusNotify) -{ - needStatusNotify_ = needStatusNotify; - setParameter("NeedStatusNotify", needStatusNotify ? "true" : "false"); +bool AddLiveRecordNotifyConfigRequest::getNeedStatusNotify() const { + return needStatusNotify_; } -std::string AddLiveRecordNotifyConfigRequest::getDomainName()const -{ - return domainName_; +void AddLiveRecordNotifyConfigRequest::setNeedStatusNotify(bool needStatusNotify) { + needStatusNotify_ = needStatusNotify; + setParameter(std::string("NeedStatusNotify"), needStatusNotify ? "true" : "false"); } -void AddLiveRecordNotifyConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string AddLiveRecordNotifyConfigRequest::getDomainName() const { + return domainName_; } -long AddLiveRecordNotifyConfigRequest::getOwnerId()const -{ - return ownerId_; +void AddLiveRecordNotifyConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void AddLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddLiveRecordNotifyConfigRequest::getOwnerId() const { + return ownerId_; +} + +void AddLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/AddLiveRecordVodConfigRequest.cc b/live/src/model/AddLiveRecordVodConfigRequest.cc index 66bb99bae..edfb9acd4 100644 --- a/live/src/model/AddLiveRecordVodConfigRequest.cc +++ b/live/src/model/AddLiveRecordVodConfigRequest.cc @@ -1,128 +1,108 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddLiveRecordVodConfigRequest; - -AddLiveRecordVodConfigRequest::AddLiveRecordVodConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "AddLiveRecordVodConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -AddLiveRecordVodConfigRequest::~AddLiveRecordVodConfigRequest() -{} - -std::string AddLiveRecordVodConfigRequest::getAutoCompose()const -{ - return autoCompose_; + */ + +#include + +using AlibabaCloud::Live::Model::AddLiveRecordVodConfigRequest; + +AddLiveRecordVodConfigRequest::AddLiveRecordVodConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "AddLiveRecordVodConfig") { + setMethod(HttpRequest::Method::Post); } -void AddLiveRecordVodConfigRequest::setAutoCompose(const std::string& autoCompose) -{ - autoCompose_ = autoCompose; - setParameter("AutoCompose", autoCompose); +AddLiveRecordVodConfigRequest::~AddLiveRecordVodConfigRequest() {} + +std::string AddLiveRecordVodConfigRequest::getAutoCompose() const { + return autoCompose_; } -std::string AddLiveRecordVodConfigRequest::getComposeVodTranscodeGroupId()const -{ - return composeVodTranscodeGroupId_; +void AddLiveRecordVodConfigRequest::setAutoCompose(const std::string &autoCompose) { + autoCompose_ = autoCompose; + setParameter(std::string("AutoCompose"), autoCompose); } -void AddLiveRecordVodConfigRequest::setComposeVodTranscodeGroupId(const std::string& composeVodTranscodeGroupId) -{ - composeVodTranscodeGroupId_ = composeVodTranscodeGroupId; - setParameter("ComposeVodTranscodeGroupId", composeVodTranscodeGroupId); +std::string AddLiveRecordVodConfigRequest::getComposeVodTranscodeGroupId() const { + return composeVodTranscodeGroupId_; } -std::string AddLiveRecordVodConfigRequest::getStorageLocation()const -{ - return storageLocation_; +void AddLiveRecordVodConfigRequest::setComposeVodTranscodeGroupId(const std::string &composeVodTranscodeGroupId) { + composeVodTranscodeGroupId_ = composeVodTranscodeGroupId; + setParameter(std::string("ComposeVodTranscodeGroupId"), composeVodTranscodeGroupId); } -void AddLiveRecordVodConfigRequest::setStorageLocation(const std::string& storageLocation) -{ - storageLocation_ = storageLocation; - setParameter("StorageLocation", storageLocation); +std::string AddLiveRecordVodConfigRequest::getStorageLocation() const { + return storageLocation_; } -std::string AddLiveRecordVodConfigRequest::getAppName()const -{ - return appName_; +void AddLiveRecordVodConfigRequest::setStorageLocation(const std::string &storageLocation) { + storageLocation_ = storageLocation; + setParameter(std::string("StorageLocation"), storageLocation); } -void AddLiveRecordVodConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string AddLiveRecordVodConfigRequest::getAppName() const { + return appName_; } -std::string AddLiveRecordVodConfigRequest::getStreamName()const -{ - return streamName_; +void AddLiveRecordVodConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void AddLiveRecordVodConfigRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string AddLiveRecordVodConfigRequest::getStreamName() const { + return streamName_; } -std::string AddLiveRecordVodConfigRequest::getVodTranscodeGroupId()const -{ - return vodTranscodeGroupId_; +void AddLiveRecordVodConfigRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void AddLiveRecordVodConfigRequest::setVodTranscodeGroupId(const std::string& vodTranscodeGroupId) -{ - vodTranscodeGroupId_ = vodTranscodeGroupId; - setParameter("VodTranscodeGroupId", vodTranscodeGroupId); +std::string AddLiveRecordVodConfigRequest::getVodTranscodeGroupId() const { + return vodTranscodeGroupId_; } -std::string AddLiveRecordVodConfigRequest::getDomainName()const -{ - return domainName_; +void AddLiveRecordVodConfigRequest::setVodTranscodeGroupId(const std::string &vodTranscodeGroupId) { + vodTranscodeGroupId_ = vodTranscodeGroupId; + setParameter(std::string("VodTranscodeGroupId"), vodTranscodeGroupId); } -void AddLiveRecordVodConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string AddLiveRecordVodConfigRequest::getDomainName() const { + return domainName_; } -int AddLiveRecordVodConfigRequest::getCycleDuration()const -{ - return cycleDuration_; +void AddLiveRecordVodConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void AddLiveRecordVodConfigRequest::setCycleDuration(int cycleDuration) -{ - cycleDuration_ = cycleDuration; - setParameter("CycleDuration", std::to_string(cycleDuration)); +int AddLiveRecordVodConfigRequest::getCycleDuration() const { + return cycleDuration_; } -long AddLiveRecordVodConfigRequest::getOwnerId()const -{ - return ownerId_; +void AddLiveRecordVodConfigRequest::setCycleDuration(int cycleDuration) { + cycleDuration_ = cycleDuration; + setParameter(std::string("CycleDuration"), std::to_string(cycleDuration)); } -void AddLiveRecordVodConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddLiveRecordVodConfigRequest::getOwnerId() const { + return ownerId_; +} + +void AddLiveRecordVodConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/AddLiveSnapshotDetectPornConfigRequest.cc b/live/src/model/AddLiveSnapshotDetectPornConfigRequest.cc index 4c3b60e05..5dd92ad5a 100644 --- a/live/src/model/AddLiveSnapshotDetectPornConfigRequest.cc +++ b/live/src/model/AddLiveSnapshotDetectPornConfigRequest.cc @@ -1,130 +1,107 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddLiveSnapshotDetectPornConfigRequest; - -AddLiveSnapshotDetectPornConfigRequest::AddLiveSnapshotDetectPornConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "AddLiveSnapshotDetectPornConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -AddLiveSnapshotDetectPornConfigRequest::~AddLiveSnapshotDetectPornConfigRequest() -{} - -std::string AddLiveSnapshotDetectPornConfigRequest::getOssEndpoint()const -{ - return ossEndpoint_; + */ + +#include + +using AlibabaCloud::Live::Model::AddLiveSnapshotDetectPornConfigRequest; + +AddLiveSnapshotDetectPornConfigRequest::AddLiveSnapshotDetectPornConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "AddLiveSnapshotDetectPornConfig") { + setMethod(HttpRequest::Method::Post); } -void AddLiveSnapshotDetectPornConfigRequest::setOssEndpoint(const std::string& ossEndpoint) -{ - ossEndpoint_ = ossEndpoint; - setParameter("OssEndpoint", ossEndpoint); +AddLiveSnapshotDetectPornConfigRequest::~AddLiveSnapshotDetectPornConfigRequest() {} + +std::string AddLiveSnapshotDetectPornConfigRequest::getOssEndpoint() const { + return ossEndpoint_; } -std::string AddLiveSnapshotDetectPornConfigRequest::getOssObject()const -{ - return ossObject_; +void AddLiveSnapshotDetectPornConfigRequest::setOssEndpoint(const std::string &ossEndpoint) { + ossEndpoint_ = ossEndpoint; + setParameter(std::string("OssEndpoint"), ossEndpoint); } -void AddLiveSnapshotDetectPornConfigRequest::setOssObject(const std::string& ossObject) -{ - ossObject_ = ossObject; - setParameter("OssObject", ossObject); +std::string AddLiveSnapshotDetectPornConfigRequest::getOssObject() const { + return ossObject_; } -std::vector AddLiveSnapshotDetectPornConfigRequest::getScene()const -{ - return scene_; +void AddLiveSnapshotDetectPornConfigRequest::setOssObject(const std::string &ossObject) { + ossObject_ = ossObject; + setParameter(std::string("OssObject"), ossObject); } -void AddLiveSnapshotDetectPornConfigRequest::setScene(const std::vector& scene) -{ - scene_ = scene; - for(int dep1 = 0; dep1!= scene.size(); dep1++) { - setParameter("Scene."+ std::to_string(dep1), scene.at(dep1)); - } +std::vector AddLiveSnapshotDetectPornConfigRequest::getScene() const { + return scene_; } -std::string AddLiveSnapshotDetectPornConfigRequest::getAppName()const -{ - return appName_; +void AddLiveSnapshotDetectPornConfigRequest::setScene(const std::vector &scene) { + scene_ = scene; } -void AddLiveSnapshotDetectPornConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string AddLiveSnapshotDetectPornConfigRequest::getAppName() const { + return appName_; } -std::string AddLiveSnapshotDetectPornConfigRequest::getSecurityToken()const -{ - return securityToken_; +void AddLiveSnapshotDetectPornConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void AddLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string AddLiveSnapshotDetectPornConfigRequest::getSecurityToken() const { + return securityToken_; } -std::string AddLiveSnapshotDetectPornConfigRequest::getOssBucket()const -{ - return ossBucket_; +void AddLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void AddLiveSnapshotDetectPornConfigRequest::setOssBucket(const std::string& ossBucket) -{ - ossBucket_ = ossBucket; - setParameter("OssBucket", ossBucket); +std::string AddLiveSnapshotDetectPornConfigRequest::getOssBucket() const { + return ossBucket_; } -std::string AddLiveSnapshotDetectPornConfigRequest::getDomainName()const -{ - return domainName_; +void AddLiveSnapshotDetectPornConfigRequest::setOssBucket(const std::string &ossBucket) { + ossBucket_ = ossBucket; + setParameter(std::string("OssBucket"), ossBucket); } -void AddLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string AddLiveSnapshotDetectPornConfigRequest::getDomainName() const { + return domainName_; } -long AddLiveSnapshotDetectPornConfigRequest::getOwnerId()const -{ - return ownerId_; +void AddLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void AddLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddLiveSnapshotDetectPornConfigRequest::getOwnerId() const { + return ownerId_; } -int AddLiveSnapshotDetectPornConfigRequest::getInterval()const -{ - return interval_; +void AddLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddLiveSnapshotDetectPornConfigRequest::setInterval(int interval) -{ - interval_ = interval; - setParameter("Interval", std::to_string(interval)); +int AddLiveSnapshotDetectPornConfigRequest::getInterval() const { + return interval_; +} + +void AddLiveSnapshotDetectPornConfigRequest::setInterval(int interval) { + interval_ = interval; + setParameter(std::string("Interval"), std::to_string(interval)); } diff --git a/live/src/model/AddLiveStreamTranscodeRequest.cc b/live/src/model/AddLiveStreamTranscodeRequest.cc index fca442932..b99bbd8f9 100644 --- a/live/src/model/AddLiveStreamTranscodeRequest.cc +++ b/live/src/model/AddLiveStreamTranscodeRequest.cc @@ -1,139 +1,117 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddLiveStreamTranscodeRequest; - -AddLiveStreamTranscodeRequest::AddLiveStreamTranscodeRequest() : - RpcServiceRequest("live", "2016-11-01", "AddLiveStreamTranscode") -{ - setMethod(HttpRequest::Method::Post); -} - -AddLiveStreamTranscodeRequest::~AddLiveStreamTranscodeRequest() -{} - -std::string AddLiveStreamTranscodeRequest::get_Template()const -{ - return _template_; + */ + +#include + +using AlibabaCloud::Live::Model::AddLiveStreamTranscodeRequest; + +AddLiveStreamTranscodeRequest::AddLiveStreamTranscodeRequest() + : RpcServiceRequest("live", "2016-11-01", "AddLiveStreamTranscode") { + setMethod(HttpRequest::Method::Post); } -void AddLiveStreamTranscodeRequest::set_Template(const std::string& _template) -{ - _template_ = _template; - setParameter("_Template", _template); +AddLiveStreamTranscodeRequest::~AddLiveStreamTranscodeRequest() {} + +std::string AddLiveStreamTranscodeRequest::get_Template() const { + return _template_; } -std::string AddLiveStreamTranscodeRequest::getLazy()const -{ - return lazy_; +void AddLiveStreamTranscodeRequest::set_Template(const std::string &_template) { + _template_ = _template; + setParameter(std::string("Template"), _template); } -void AddLiveStreamTranscodeRequest::setLazy(const std::string& lazy) -{ - lazy_ = lazy; - setParameter("Lazy", lazy); +std::string AddLiveStreamTranscodeRequest::getLazy() const { + return lazy_; } -std::string AddLiveStreamTranscodeRequest::getMix()const -{ - return mix_; +void AddLiveStreamTranscodeRequest::setLazy(const std::string &lazy) { + lazy_ = lazy; + setParameter(std::string("Lazy"), lazy); } -void AddLiveStreamTranscodeRequest::setMix(const std::string& mix) -{ - mix_ = mix; - setParameter("Mix", mix); +std::string AddLiveStreamTranscodeRequest::getMix() const { + return mix_; } -std::string AddLiveStreamTranscodeRequest::getApp()const -{ - return app_; +void AddLiveStreamTranscodeRequest::setMix(const std::string &mix) { + mix_ = mix; + setParameter(std::string("Mix"), mix); } -void AddLiveStreamTranscodeRequest::setApp(const std::string& app) -{ - app_ = app; - setParameter("App", app); +std::string AddLiveStreamTranscodeRequest::getApp() const { + return app_; } -std::string AddLiveStreamTranscodeRequest::getEncryptParameters()const -{ - return encryptParameters_; +void AddLiveStreamTranscodeRequest::setApp(const std::string &app) { + app_ = app; + setParameter(std::string("App"), app); } -void AddLiveStreamTranscodeRequest::setEncryptParameters(const std::string& encryptParameters) -{ - encryptParameters_ = encryptParameters; - setParameter("EncryptParameters", encryptParameters); +std::string AddLiveStreamTranscodeRequest::getEncryptParameters() const { + return encryptParameters_; } -std::string AddLiveStreamTranscodeRequest::getWatermark()const -{ - return watermark_; +void AddLiveStreamTranscodeRequest::setEncryptParameters(const std::string &encryptParameters) { + encryptParameters_ = encryptParameters; + setParameter(std::string("EncryptParameters"), encryptParameters); } -void AddLiveStreamTranscodeRequest::setWatermark(const std::string& watermark) -{ - watermark_ = watermark; - setParameter("Watermark", watermark); +std::string AddLiveStreamTranscodeRequest::getWatermark() const { + return watermark_; } -long AddLiveStreamTranscodeRequest::getOwnerId()const -{ - return ownerId_; +void AddLiveStreamTranscodeRequest::setWatermark(const std::string &watermark) { + watermark_ = watermark; + setParameter(std::string("Watermark"), watermark); } -void AddLiveStreamTranscodeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddLiveStreamTranscodeRequest::getOwnerId() const { + return ownerId_; } -std::string AddLiveStreamTranscodeRequest::getDomain()const -{ - return domain_; +void AddLiveStreamTranscodeRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddLiveStreamTranscodeRequest::setDomain(const std::string& domain) -{ - domain_ = domain; - setParameter("Domain", domain); +std::string AddLiveStreamTranscodeRequest::getDomain() const { + return domain_; } -std::string AddLiveStreamTranscodeRequest::getWaterPattern()const -{ - return waterPattern_; +void AddLiveStreamTranscodeRequest::setDomain(const std::string &domain) { + domain_ = domain; + setParameter(std::string("Domain"), domain); } -void AddLiveStreamTranscodeRequest::setWaterPattern(const std::string& waterPattern) -{ - waterPattern_ = waterPattern; - setParameter("WaterPattern", waterPattern); +std::string AddLiveStreamTranscodeRequest::getWaterPattern() const { + return waterPattern_; } -std::string AddLiveStreamTranscodeRequest::getOnlyAudio()const -{ - return onlyAudio_; +void AddLiveStreamTranscodeRequest::setWaterPattern(const std::string &waterPattern) { + waterPattern_ = waterPattern; + setParameter(std::string("WaterPattern"), waterPattern); } -void AddLiveStreamTranscodeRequest::setOnlyAudio(const std::string& onlyAudio) -{ - onlyAudio_ = onlyAudio; - setParameter("OnlyAudio", onlyAudio); +std::string AddLiveStreamTranscodeRequest::getOnlyAudio() const { + return onlyAudio_; +} + +void AddLiveStreamTranscodeRequest::setOnlyAudio(const std::string &onlyAudio) { + onlyAudio_ = onlyAudio; + setParameter(std::string("OnlyAudio"), onlyAudio); } diff --git a/live/src/model/AddLiveStreamWatermarkRequest.cc b/live/src/model/AddLiveStreamWatermarkRequest.cc index b8902ad45..bfa473a78 100644 --- a/live/src/model/AddLiveStreamWatermarkRequest.cc +++ b/live/src/model/AddLiveStreamWatermarkRequest.cc @@ -1,161 +1,135 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddLiveStreamWatermarkRequest; - -AddLiveStreamWatermarkRequest::AddLiveStreamWatermarkRequest() : - RpcServiceRequest("live", "2016-11-01", "AddLiveStreamWatermark") -{ - setMethod(HttpRequest::Method::Post); -} - -AddLiveStreamWatermarkRequest::~AddLiveStreamWatermarkRequest() -{} - -float AddLiveStreamWatermarkRequest::getYOffset()const -{ - return yOffset_; + */ + +#include + +using AlibabaCloud::Live::Model::AddLiveStreamWatermarkRequest; + +AddLiveStreamWatermarkRequest::AddLiveStreamWatermarkRequest() + : RpcServiceRequest("live", "2016-11-01", "AddLiveStreamWatermark") { + setMethod(HttpRequest::Method::Post); } -void AddLiveStreamWatermarkRequest::setYOffset(float yOffset) -{ - yOffset_ = yOffset; - setParameter("YOffset", std::to_string(yOffset)); +AddLiveStreamWatermarkRequest::~AddLiveStreamWatermarkRequest() {} + +float AddLiveStreamWatermarkRequest::getYOffset() const { + return yOffset_; } -std::string AddLiveStreamWatermarkRequest::getPictureUrl()const -{ - return pictureUrl_; +void AddLiveStreamWatermarkRequest::setYOffset(float yOffset) { + yOffset_ = yOffset; + setParameter(std::string("YOffset"), std::to_string(yOffset)); } -void AddLiveStreamWatermarkRequest::setPictureUrl(const std::string& pictureUrl) -{ - pictureUrl_ = pictureUrl; - setParameter("PictureUrl", pictureUrl); +std::string AddLiveStreamWatermarkRequest::getPictureUrl() const { + return pictureUrl_; } -std::string AddLiveStreamWatermarkRequest::getDescription()const -{ - return description_; +void AddLiveStreamWatermarkRequest::setPictureUrl(const std::string &pictureUrl) { + pictureUrl_ = pictureUrl; + setParameter(std::string("PictureUrl"), pictureUrl); } -void AddLiveStreamWatermarkRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +std::string AddLiveStreamWatermarkRequest::getDescription() const { + return description_; } -int AddLiveStreamWatermarkRequest::getType()const -{ - return type_; +void AddLiveStreamWatermarkRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void AddLiveStreamWatermarkRequest::setType(int type) -{ - type_ = type; - setParameter("Type", std::to_string(type)); +int AddLiveStreamWatermarkRequest::getType() const { + return type_; } -int AddLiveStreamWatermarkRequest::getHeight()const -{ - return height_; +void AddLiveStreamWatermarkRequest::setType(int type) { + type_ = type; + setParameter(std::string("Type"), std::to_string(type)); } -void AddLiveStreamWatermarkRequest::setHeight(int height) -{ - height_ = height; - setParameter("Height", std::to_string(height)); +int AddLiveStreamWatermarkRequest::getHeight() const { + return height_; } -float AddLiveStreamWatermarkRequest::getXOffset()const -{ - return xOffset_; +void AddLiveStreamWatermarkRequest::setHeight(int height) { + height_ = height; + setParameter(std::string("Height"), std::to_string(height)); } -void AddLiveStreamWatermarkRequest::setXOffset(float xOffset) -{ - xOffset_ = xOffset; - setParameter("XOffset", std::to_string(xOffset)); +float AddLiveStreamWatermarkRequest::getXOffset() const { + return xOffset_; } -long AddLiveStreamWatermarkRequest::getOwnerId()const -{ - return ownerId_; +void AddLiveStreamWatermarkRequest::setXOffset(float xOffset) { + xOffset_ = xOffset; + setParameter(std::string("XOffset"), std::to_string(xOffset)); } -void AddLiveStreamWatermarkRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddLiveStreamWatermarkRequest::getOwnerId() const { + return ownerId_; } -int AddLiveStreamWatermarkRequest::getRefWidth()const -{ - return refWidth_; +void AddLiveStreamWatermarkRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddLiveStreamWatermarkRequest::setRefWidth(int refWidth) -{ - refWidth_ = refWidth; - setParameter("RefWidth", std::to_string(refWidth)); +int AddLiveStreamWatermarkRequest::getRefWidth() const { + return refWidth_; } -int AddLiveStreamWatermarkRequest::getTransparency()const -{ - return transparency_; +void AddLiveStreamWatermarkRequest::setRefWidth(int refWidth) { + refWidth_ = refWidth; + setParameter(std::string("RefWidth"), std::to_string(refWidth)); } -void AddLiveStreamWatermarkRequest::setTransparency(int transparency) -{ - transparency_ = transparency; - setParameter("Transparency", std::to_string(transparency)); +int AddLiveStreamWatermarkRequest::getTransparency() const { + return transparency_; } -std::string AddLiveStreamWatermarkRequest::getName()const -{ - return name_; +void AddLiveStreamWatermarkRequest::setTransparency(int transparency) { + transparency_ = transparency; + setParameter(std::string("Transparency"), std::to_string(transparency)); } -void AddLiveStreamWatermarkRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string AddLiveStreamWatermarkRequest::getName() const { + return name_; } -std::string AddLiveStreamWatermarkRequest::getOffsetCorner()const -{ - return offsetCorner_; +void AddLiveStreamWatermarkRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } -void AddLiveStreamWatermarkRequest::setOffsetCorner(const std::string& offsetCorner) -{ - offsetCorner_ = offsetCorner; - setParameter("OffsetCorner", offsetCorner); +std::string AddLiveStreamWatermarkRequest::getOffsetCorner() const { + return offsetCorner_; } -int AddLiveStreamWatermarkRequest::getRefHeight()const -{ - return refHeight_; +void AddLiveStreamWatermarkRequest::setOffsetCorner(const std::string &offsetCorner) { + offsetCorner_ = offsetCorner; + setParameter(std::string("OffsetCorner"), offsetCorner); } -void AddLiveStreamWatermarkRequest::setRefHeight(int refHeight) -{ - refHeight_ = refHeight; - setParameter("RefHeight", std::to_string(refHeight)); +int AddLiveStreamWatermarkRequest::getRefHeight() const { + return refHeight_; +} + +void AddLiveStreamWatermarkRequest::setRefHeight(int refHeight) { + refHeight_ = refHeight; + setParameter(std::string("RefHeight"), std::to_string(refHeight)); } diff --git a/live/src/model/AddLiveStreamWatermarkRuleRequest.cc b/live/src/model/AddLiveStreamWatermarkRuleRequest.cc index 35126bb6a..b41921dc6 100644 --- a/live/src/model/AddLiveStreamWatermarkRuleRequest.cc +++ b/live/src/model/AddLiveStreamWatermarkRuleRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddLiveStreamWatermarkRuleRequest; - -AddLiveStreamWatermarkRuleRequest::AddLiveStreamWatermarkRuleRequest() : - RpcServiceRequest("live", "2016-11-01", "AddLiveStreamWatermarkRule") -{ - setMethod(HttpRequest::Method::Post); -} - -AddLiveStreamWatermarkRuleRequest::~AddLiveStreamWatermarkRuleRequest() -{} - -std::string AddLiveStreamWatermarkRuleRequest::getDescription()const -{ - return description_; + */ + +#include + +using AlibabaCloud::Live::Model::AddLiveStreamWatermarkRuleRequest; + +AddLiveStreamWatermarkRuleRequest::AddLiveStreamWatermarkRuleRequest() + : RpcServiceRequest("live", "2016-11-01", "AddLiveStreamWatermarkRule") { + setMethod(HttpRequest::Method::Post); } -void AddLiveStreamWatermarkRuleRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +AddLiveStreamWatermarkRuleRequest::~AddLiveStreamWatermarkRuleRequest() {} + +std::string AddLiveStreamWatermarkRuleRequest::getDescription() const { + return description_; } -std::string AddLiveStreamWatermarkRuleRequest::getStream()const -{ - return stream_; +void AddLiveStreamWatermarkRuleRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void AddLiveStreamWatermarkRuleRequest::setStream(const std::string& stream) -{ - stream_ = stream; - setParameter("Stream", stream); +std::string AddLiveStreamWatermarkRuleRequest::getStream() const { + return stream_; } -std::string AddLiveStreamWatermarkRuleRequest::getApp()const -{ - return app_; +void AddLiveStreamWatermarkRuleRequest::setStream(const std::string &stream) { + stream_ = stream; + setParameter(std::string("Stream"), stream); } -void AddLiveStreamWatermarkRuleRequest::setApp(const std::string& app) -{ - app_ = app; - setParameter("App", app); +std::string AddLiveStreamWatermarkRuleRequest::getApp() const { + return app_; } -long AddLiveStreamWatermarkRuleRequest::getOwnerId()const -{ - return ownerId_; +void AddLiveStreamWatermarkRuleRequest::setApp(const std::string &app) { + app_ = app; + setParameter(std::string("App"), app); } -void AddLiveStreamWatermarkRuleRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddLiveStreamWatermarkRuleRequest::getOwnerId() const { + return ownerId_; } -std::string AddLiveStreamWatermarkRuleRequest::getTemplateId()const -{ - return templateId_; +void AddLiveStreamWatermarkRuleRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddLiveStreamWatermarkRuleRequest::setTemplateId(const std::string& templateId) -{ - templateId_ = templateId; - setParameter("TemplateId", templateId); +std::string AddLiveStreamWatermarkRuleRequest::getTemplateId() const { + return templateId_; } -std::string AddLiveStreamWatermarkRuleRequest::getDomain()const -{ - return domain_; +void AddLiveStreamWatermarkRuleRequest::setTemplateId(const std::string &templateId) { + templateId_ = templateId; + setParameter(std::string("TemplateId"), templateId); } -void AddLiveStreamWatermarkRuleRequest::setDomain(const std::string& domain) -{ - domain_ = domain; - setParameter("Domain", domain); +std::string AddLiveStreamWatermarkRuleRequest::getDomain() const { + return domain_; } -std::string AddLiveStreamWatermarkRuleRequest::getName()const -{ - return name_; +void AddLiveStreamWatermarkRuleRequest::setDomain(const std::string &domain) { + domain_ = domain; + setParameter(std::string("Domain"), domain); } -void AddLiveStreamWatermarkRuleRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string AddLiveStreamWatermarkRuleRequest::getName() const { + return name_; +} + +void AddLiveStreamWatermarkRuleRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } diff --git a/live/src/model/AddMultiRateConfigRequest.cc b/live/src/model/AddMultiRateConfigRequest.cc index 1bf4d853f..b2b56c75b 100644 --- a/live/src/model/AddMultiRateConfigRequest.cc +++ b/live/src/model/AddMultiRateConfigRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddMultiRateConfigRequest; - -AddMultiRateConfigRequest::AddMultiRateConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "AddMultiRateConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -AddMultiRateConfigRequest::~AddMultiRateConfigRequest() -{} - -std::string AddMultiRateConfigRequest::getApp()const -{ - return app_; + */ + +#include + +using AlibabaCloud::Live::Model::AddMultiRateConfigRequest; + +AddMultiRateConfigRequest::AddMultiRateConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "AddMultiRateConfig") { + setMethod(HttpRequest::Method::Post); } -void AddMultiRateConfigRequest::setApp(const std::string& app) -{ - app_ = app; - setParameter("App", app); +AddMultiRateConfigRequest::~AddMultiRateConfigRequest() {} + +std::string AddMultiRateConfigRequest::getApp() const { + return app_; } -std::string AddMultiRateConfigRequest::getGroupId()const -{ - return groupId_; +void AddMultiRateConfigRequest::setApp(const std::string &app) { + app_ = app; + setParameter(std::string("App"), app); } -void AddMultiRateConfigRequest::setGroupId(const std::string& groupId) -{ - groupId_ = groupId; - setParameter("GroupId", groupId); +std::string AddMultiRateConfigRequest::getGroupId() const { + return groupId_; } -std::string AddMultiRateConfigRequest::getTemplates()const -{ - return templates_; +void AddMultiRateConfigRequest::setGroupId(const std::string &groupId) { + groupId_ = groupId; + setParameter(std::string("GroupId"), groupId); } -void AddMultiRateConfigRequest::setTemplates(const std::string& templates) -{ - templates_ = templates; - setParameter("Templates", templates); +std::string AddMultiRateConfigRequest::getTemplates() const { + return templates_; } -std::string AddMultiRateConfigRequest::getDomainName()const -{ - return domainName_; +void AddMultiRateConfigRequest::setTemplates(const std::string &templates) { + templates_ = templates; + setParameter(std::string("Templates"), templates); } -void AddMultiRateConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string AddMultiRateConfigRequest::getDomainName() const { + return domainName_; } -long AddMultiRateConfigRequest::getOwnerId()const -{ - return ownerId_; +void AddMultiRateConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void AddMultiRateConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddMultiRateConfigRequest::getOwnerId() const { + return ownerId_; } -std::string AddMultiRateConfigRequest::getIsLazy()const -{ - return isLazy_; +void AddMultiRateConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddMultiRateConfigRequest::setIsLazy(const std::string& isLazy) -{ - isLazy_ = isLazy; - setParameter("IsLazy", isLazy); +std::string AddMultiRateConfigRequest::getIsLazy() const { + return isLazy_; } -std::string AddMultiRateConfigRequest::getAvFormat()const -{ - return avFormat_; +void AddMultiRateConfigRequest::setIsLazy(const std::string &isLazy) { + isLazy_ = isLazy; + setParameter(std::string("IsLazy"), isLazy); } -void AddMultiRateConfigRequest::setAvFormat(const std::string& avFormat) -{ - avFormat_ = avFormat; - setParameter("AvFormat", avFormat); +std::string AddMultiRateConfigRequest::getAvFormat() const { + return avFormat_; } -std::string AddMultiRateConfigRequest::getIsTimeAlign()const -{ - return isTimeAlign_; +void AddMultiRateConfigRequest::setAvFormat(const std::string &avFormat) { + avFormat_ = avFormat; + setParameter(std::string("AvFormat"), avFormat); } -void AddMultiRateConfigRequest::setIsTimeAlign(const std::string& isTimeAlign) -{ - isTimeAlign_ = isTimeAlign; - setParameter("IsTimeAlign", isTimeAlign); +std::string AddMultiRateConfigRequest::getIsTimeAlign() const { + return isTimeAlign_; +} + +void AddMultiRateConfigRequest::setIsTimeAlign(const std::string &isTimeAlign) { + isTimeAlign_ = isTimeAlign; + setParameter(std::string("IsTimeAlign"), isTimeAlign); } diff --git a/live/src/model/AddMultiRateConfigResult.cc b/live/src/model/AddMultiRateConfigResult.cc index 95e19f011..ee6104115 100644 --- a/live/src/model/AddMultiRateConfigResult.cc +++ b/live/src/model/AddMultiRateConfigResult.cc @@ -43,40 +43,40 @@ void AddMultiRateConfigResult::parse(const std::string &payload) for (auto valueBodyFailedTemplates : allBodyNode) { FailedTemplates bodyObject; - if(!valueBodyFailedTemplates["Template"].isNull()) - bodyObject._template = valueBodyFailedTemplates["Template"].asString(); - if(!valueBodyFailedTemplates["TemplateType"].isNull()) - bodyObject.templateType = valueBodyFailedTemplates["TemplateType"].asString(); - if(!valueBodyFailedTemplates["Height"].isNull()) - bodyObject.height = std::stoi(valueBodyFailedTemplates["Height"].asString()); - if(!valueBodyFailedTemplates["Width"].isNull()) - bodyObject.width = std::stoi(valueBodyFailedTemplates["Width"].asString()); - if(!valueBodyFailedTemplates["Fps"].isNull()) - bodyObject.fps = std::stoi(valueBodyFailedTemplates["Fps"].asString()); - if(!valueBodyFailedTemplates["Gop"].isNull()) - bodyObject.gop = valueBodyFailedTemplates["Gop"].asString(); - if(!valueBodyFailedTemplates["VideoBitrate"].isNull()) - bodyObject.videoBitrate = std::stoi(valueBodyFailedTemplates["VideoBitrate"].asString()); - if(!valueBodyFailedTemplates["Profile"].isNull()) - bodyObject.profile = std::stoi(valueBodyFailedTemplates["Profile"].asString()); - if(!valueBodyFailedTemplates["AudioProfile"].isNull()) - bodyObject.audioProfile = valueBodyFailedTemplates["AudioProfile"].asString(); - if(!valueBodyFailedTemplates["AudioCodec"].isNull()) - bodyObject.audioCodec = valueBodyFailedTemplates["AudioCodec"].asString(); - if(!valueBodyFailedTemplates["AudioRate"].isNull()) - bodyObject.audioRate = std::stoi(valueBodyFailedTemplates["AudioRate"].asString()); if(!valueBodyFailedTemplates["AudioBitrate"].isNull()) bodyObject.audioBitrate = std::stoi(valueBodyFailedTemplates["AudioBitrate"].asString()); - if(!valueBodyFailedTemplates["AudioChannelNum"].isNull()) - bodyObject.audioChannelNum = std::stoi(valueBodyFailedTemplates["AudioChannelNum"].asString()); + if(!valueBodyFailedTemplates["Template"].isNull()) + bodyObject._template = valueBodyFailedTemplates["Template"].asString(); + if(!valueBodyFailedTemplates["Height"].isNull()) + bodyObject.height = std::stoi(valueBodyFailedTemplates["Height"].asString()); + if(!valueBodyFailedTemplates["TemplateType"].isNull()) + bodyObject.templateType = valueBodyFailedTemplates["TemplateType"].asString(); if(!valueBodyFailedTemplates["BandWidth"].isNull()) bodyObject.bandWidth = std::stoi(valueBodyFailedTemplates["BandWidth"].asString()); + if(!valueBodyFailedTemplates["Profile"].isNull()) + bodyObject.profile = std::stoi(valueBodyFailedTemplates["Profile"].asString()); + if(!valueBodyFailedTemplates["AudioRate"].isNull()) + bodyObject.audioRate = std::stoi(valueBodyFailedTemplates["AudioRate"].asString()); + if(!valueBodyFailedTemplates["AudioCodec"].isNull()) + bodyObject.audioCodec = valueBodyFailedTemplates["AudioCodec"].asString(); + if(!valueBodyFailedTemplates["Gop"].isNull()) + bodyObject.gop = valueBodyFailedTemplates["Gop"].asString(); + if(!valueBodyFailedTemplates["Width"].isNull()) + bodyObject.width = std::stoi(valueBodyFailedTemplates["Width"].asString()); + if(!valueBodyFailedTemplates["VideoBitrate"].isNull()) + bodyObject.videoBitrate = std::stoi(valueBodyFailedTemplates["VideoBitrate"].asString()); + if(!valueBodyFailedTemplates["AudioChannelNum"].isNull()) + bodyObject.audioChannelNum = std::stoi(valueBodyFailedTemplates["AudioChannelNum"].asString()); + if(!valueBodyFailedTemplates["Fps"].isNull()) + bodyObject.fps = std::stoi(valueBodyFailedTemplates["Fps"].asString()); + if(!valueBodyFailedTemplates["AudioProfile"].isNull()) + bodyObject.audioProfile = valueBodyFailedTemplates["AudioProfile"].asString(); body_.push_back(bodyObject); } - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); if(!value["Code"].isNull()) code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); } diff --git a/live/src/model/AddPlaylistItemsRequest.cc b/live/src/model/AddPlaylistItemsRequest.cc index 243381be8..89adfc9d1 100644 --- a/live/src/model/AddPlaylistItemsRequest.cc +++ b/live/src/model/AddPlaylistItemsRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddPlaylistItemsRequest; - -AddPlaylistItemsRequest::AddPlaylistItemsRequest() : - RpcServiceRequest("live", "2016-11-01", "AddPlaylistItems") -{ - setMethod(HttpRequest::Method::Post); -} - -AddPlaylistItemsRequest::~AddPlaylistItemsRequest() -{} - -std::string AddPlaylistItemsRequest::getProgramItems()const -{ - return programItems_; + */ + +#include + +using AlibabaCloud::Live::Model::AddPlaylistItemsRequest; + +AddPlaylistItemsRequest::AddPlaylistItemsRequest() + : RpcServiceRequest("live", "2016-11-01", "AddPlaylistItems") { + setMethod(HttpRequest::Method::Post); } -void AddPlaylistItemsRequest::setProgramItems(const std::string& programItems) -{ - programItems_ = programItems; - setParameter("ProgramItems", programItems); +AddPlaylistItemsRequest::~AddPlaylistItemsRequest() {} + +std::string AddPlaylistItemsRequest::getProgramItems() const { + return programItems_; } -std::string AddPlaylistItemsRequest::getProgramId()const -{ - return programId_; +void AddPlaylistItemsRequest::setProgramItems(const std::string &programItems) { + programItems_ = programItems; + setParameter(std::string("ProgramItems"), programItems); } -void AddPlaylistItemsRequest::setProgramId(const std::string& programId) -{ - programId_ = programId; - setParameter("ProgramId", programId); +std::string AddPlaylistItemsRequest::getProgramId() const { + return programId_; } -std::string AddPlaylistItemsRequest::getCasterId()const -{ - return casterId_; +void AddPlaylistItemsRequest::setProgramId(const std::string &programId) { + programId_ = programId; + setParameter(std::string("ProgramId"), programId); } -void AddPlaylistItemsRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string AddPlaylistItemsRequest::getCasterId() const { + return casterId_; } -long AddPlaylistItemsRequest::getOwnerId()const -{ - return ownerId_; +void AddPlaylistItemsRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void AddPlaylistItemsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddPlaylistItemsRequest::getOwnerId() const { + return ownerId_; } -std::string AddPlaylistItemsRequest::getProgramConfig()const -{ - return programConfig_; +void AddPlaylistItemsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddPlaylistItemsRequest::setProgramConfig(const std::string& programConfig) -{ - programConfig_ = programConfig; - setParameter("ProgramConfig", programConfig); +std::string AddPlaylistItemsRequest::getProgramConfig() const { + return programConfig_; +} + +void AddPlaylistItemsRequest::setProgramConfig(const std::string &programConfig) { + programConfig_ = programConfig; + setParameter(std::string("ProgramConfig"), programConfig); } diff --git a/live/src/model/AddPlaylistItemsResult.cc b/live/src/model/AddPlaylistItemsResult.cc index df55e4509..845c53e8b 100644 --- a/live/src/model/AddPlaylistItemsResult.cc +++ b/live/src/model/AddPlaylistItemsResult.cc @@ -44,20 +44,20 @@ void AddPlaylistItemsResult::parse(const std::string &payload) for (auto itemsNodeSuccessItemsSuccessItem : allSuccessItemsNode) { Items::SuccessItem successItemObject; - if(!itemsNodeSuccessItemsSuccessItem["ItemId"].isNull()) - successItemObject.itemId = itemsNodeSuccessItemsSuccessItem["ItemId"].asString(); if(!itemsNodeSuccessItemsSuccessItem["ItemName"].isNull()) successItemObject.itemName = itemsNodeSuccessItemsSuccessItem["ItemName"].asString(); + if(!itemsNodeSuccessItemsSuccessItem["ItemId"].isNull()) + successItemObject.itemId = itemsNodeSuccessItemsSuccessItem["ItemId"].asString(); items_.successItems.push_back(successItemObject); } auto allFailedItemsNode = itemsNode["FailedItems"]["FailedItem"]; for (auto itemsNodeFailedItemsFailedItem : allFailedItemsNode) { Items::FailedItem failedItemObject; - if(!itemsNodeFailedItemsFailedItem["ItemId"].isNull()) - failedItemObject.itemId = itemsNodeFailedItemsFailedItem["ItemId"].asString(); if(!itemsNodeFailedItemsFailedItem["ItemName"].isNull()) failedItemObject.itemName = itemsNodeFailedItemsFailedItem["ItemName"].asString(); + if(!itemsNodeFailedItemsFailedItem["ItemId"].isNull()) + failedItemObject.itemId = itemsNodeFailedItemsFailedItem["ItemId"].asString(); items_.failedItems.push_back(failedItemObject); } if(!value["ProgramId"].isNull()) diff --git a/live/src/model/AddRtsLiveStreamTranscodeRequest.cc b/live/src/model/AddRtsLiveStreamTranscodeRequest.cc index b7cbcbee6..f90a419ce 100644 --- a/live/src/model/AddRtsLiveStreamTranscodeRequest.cc +++ b/live/src/model/AddRtsLiveStreamTranscodeRequest.cc @@ -1,238 +1,198 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddRtsLiveStreamTranscodeRequest; - -AddRtsLiveStreamTranscodeRequest::AddRtsLiveStreamTranscodeRequest() : - RpcServiceRequest("live", "2016-11-01", "AddRtsLiveStreamTranscode") -{ - setMethod(HttpRequest::Method::Post); -} - -AddRtsLiveStreamTranscodeRequest::~AddRtsLiveStreamTranscodeRequest() -{} - -std::string AddRtsLiveStreamTranscodeRequest::get_Template()const -{ - return _template_; + */ + +#include + +using AlibabaCloud::Live::Model::AddRtsLiveStreamTranscodeRequest; + +AddRtsLiveStreamTranscodeRequest::AddRtsLiveStreamTranscodeRequest() + : RpcServiceRequest("live", "2016-11-01", "AddRtsLiveStreamTranscode") { + setMethod(HttpRequest::Method::Post); } -void AddRtsLiveStreamTranscodeRequest::set_Template(const std::string& _template) -{ - _template_ = _template; - setParameter("_Template", _template); +AddRtsLiveStreamTranscodeRequest::~AddRtsLiveStreamTranscodeRequest() {} + +std::string AddRtsLiveStreamTranscodeRequest::get_Template() const { + return _template_; } -bool AddRtsLiveStreamTranscodeRequest::getDeleteBframes()const -{ - return deleteBframes_; +void AddRtsLiveStreamTranscodeRequest::set_Template(const std::string &_template) { + _template_ = _template; + setParameter(std::string("Template"), _template); } -void AddRtsLiveStreamTranscodeRequest::setDeleteBframes(bool deleteBframes) -{ - deleteBframes_ = deleteBframes; - setParameter("DeleteBframes", deleteBframes ? "true" : "false"); +bool AddRtsLiveStreamTranscodeRequest::getDeleteBframes() const { + return deleteBframes_; } -std::string AddRtsLiveStreamTranscodeRequest::getLazy()const -{ - return lazy_; +void AddRtsLiveStreamTranscodeRequest::setDeleteBframes(bool deleteBframes) { + deleteBframes_ = deleteBframes; + setParameter(std::string("DeleteBframes"), deleteBframes ? "true" : "false"); } -void AddRtsLiveStreamTranscodeRequest::setLazy(const std::string& lazy) -{ - lazy_ = lazy; - setParameter("Lazy", lazy); +std::string AddRtsLiveStreamTranscodeRequest::getLazy() const { + return lazy_; } -std::string AddRtsLiveStreamTranscodeRequest::getGop()const -{ - return gop_; +void AddRtsLiveStreamTranscodeRequest::setLazy(const std::string &lazy) { + lazy_ = lazy; + setParameter(std::string("Lazy"), lazy); } -void AddRtsLiveStreamTranscodeRequest::setGop(const std::string& gop) -{ - gop_ = gop; - setParameter("Gop", gop); +std::string AddRtsLiveStreamTranscodeRequest::getGop() const { + return gop_; } -bool AddRtsLiveStreamTranscodeRequest::getOpus()const -{ - return opus_; +void AddRtsLiveStreamTranscodeRequest::setGop(const std::string &gop) { + gop_ = gop; + setParameter(std::string("Gop"), gop); } -void AddRtsLiveStreamTranscodeRequest::setOpus(bool opus) -{ - opus_ = opus; - setParameter("Opus", opus ? "true" : "false"); +bool AddRtsLiveStreamTranscodeRequest::getOpus() const { + return opus_; } -std::string AddRtsLiveStreamTranscodeRequest::getAudioCodec()const -{ - return audioCodec_; +void AddRtsLiveStreamTranscodeRequest::setOpus(bool opus) { + opus_ = opus; + setParameter(std::string("Opus"), opus ? "true" : "false"); } -void AddRtsLiveStreamTranscodeRequest::setAudioCodec(const std::string& audioCodec) -{ - audioCodec_ = audioCodec; - setParameter("AudioCodec", audioCodec); +std::string AddRtsLiveStreamTranscodeRequest::getAudioCodec() const { + return audioCodec_; } -std::string AddRtsLiveStreamTranscodeRequest::getTemplateType()const -{ - return templateType_; +void AddRtsLiveStreamTranscodeRequest::setAudioCodec(const std::string &audioCodec) { + audioCodec_ = audioCodec; + setParameter(std::string("AudioCodec"), audioCodec); } -void AddRtsLiveStreamTranscodeRequest::setTemplateType(const std::string& templateType) -{ - templateType_ = templateType; - setParameter("TemplateType", templateType); +std::string AddRtsLiveStreamTranscodeRequest::getTemplateType() const { + return templateType_; } -std::string AddRtsLiveStreamTranscodeRequest::getAudioProfile()const -{ - return audioProfile_; +void AddRtsLiveStreamTranscodeRequest::setTemplateType(const std::string &templateType) { + templateType_ = templateType; + setParameter(std::string("TemplateType"), templateType); } -void AddRtsLiveStreamTranscodeRequest::setAudioProfile(const std::string& audioProfile) -{ - audioProfile_ = audioProfile; - setParameter("AudioProfile", audioProfile); +std::string AddRtsLiveStreamTranscodeRequest::getAudioProfile() const { + return audioProfile_; } -int AddRtsLiveStreamTranscodeRequest::getHeight()const -{ - return height_; +void AddRtsLiveStreamTranscodeRequest::setAudioProfile(const std::string &audioProfile) { + audioProfile_ = audioProfile; + setParameter(std::string("AudioProfile"), audioProfile); } -void AddRtsLiveStreamTranscodeRequest::setHeight(int height) -{ - height_ = height; - setParameter("Height", std::to_string(height)); +int AddRtsLiveStreamTranscodeRequest::getHeight() const { + return height_; } -std::string AddRtsLiveStreamTranscodeRequest::getApp()const -{ - return app_; +void AddRtsLiveStreamTranscodeRequest::setHeight(int height) { + height_ = height; + setParameter(std::string("Height"), std::to_string(height)); } -void AddRtsLiveStreamTranscodeRequest::setApp(const std::string& app) -{ - app_ = app; - setParameter("App", app); +std::string AddRtsLiveStreamTranscodeRequest::getApp() const { + return app_; } -int AddRtsLiveStreamTranscodeRequest::getAudioChannelNum()const -{ - return audioChannelNum_; +void AddRtsLiveStreamTranscodeRequest::setApp(const std::string &app) { + app_ = app; + setParameter(std::string("App"), app); } -void AddRtsLiveStreamTranscodeRequest::setAudioChannelNum(int audioChannelNum) -{ - audioChannelNum_ = audioChannelNum; - setParameter("AudioChannelNum", std::to_string(audioChannelNum)); +int AddRtsLiveStreamTranscodeRequest::getAudioChannelNum() const { + return audioChannelNum_; } -int AddRtsLiveStreamTranscodeRequest::getProfile()const -{ - return profile_; +void AddRtsLiveStreamTranscodeRequest::setAudioChannelNum(int audioChannelNum) { + audioChannelNum_ = audioChannelNum; + setParameter(std::string("AudioChannelNum"), std::to_string(audioChannelNum)); } -void AddRtsLiveStreamTranscodeRequest::setProfile(int profile) -{ - profile_ = profile; - setParameter("Profile", std::to_string(profile)); +int AddRtsLiveStreamTranscodeRequest::getProfile() const { + return profile_; } -int AddRtsLiveStreamTranscodeRequest::getFPS()const -{ - return fPS_; +void AddRtsLiveStreamTranscodeRequest::setProfile(int profile) { + profile_ = profile; + setParameter(std::string("Profile"), std::to_string(profile)); } -void AddRtsLiveStreamTranscodeRequest::setFPS(int fPS) -{ - fPS_ = fPS; - setParameter("FPS", std::to_string(fPS)); +int AddRtsLiveStreamTranscodeRequest::getFPS() const { + return fPS_; } -long AddRtsLiveStreamTranscodeRequest::getOwnerId()const -{ - return ownerId_; +void AddRtsLiveStreamTranscodeRequest::setFPS(int fPS) { + fPS_ = fPS; + setParameter(std::string("FPS"), std::to_string(fPS)); } -void AddRtsLiveStreamTranscodeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddRtsLiveStreamTranscodeRequest::getOwnerId() const { + return ownerId_; } -int AddRtsLiveStreamTranscodeRequest::getAudioRate()const -{ - return audioRate_; +void AddRtsLiveStreamTranscodeRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddRtsLiveStreamTranscodeRequest::setAudioRate(int audioRate) -{ - audioRate_ = audioRate; - setParameter("AudioRate", std::to_string(audioRate)); +int AddRtsLiveStreamTranscodeRequest::getAudioRate() const { + return audioRate_; } -int AddRtsLiveStreamTranscodeRequest::getAudioBitrate()const -{ - return audioBitrate_; +void AddRtsLiveStreamTranscodeRequest::setAudioRate(int audioRate) { + audioRate_ = audioRate; + setParameter(std::string("AudioRate"), std::to_string(audioRate)); } -void AddRtsLiveStreamTranscodeRequest::setAudioBitrate(int audioBitrate) -{ - audioBitrate_ = audioBitrate; - setParameter("AudioBitrate", std::to_string(audioBitrate)); +int AddRtsLiveStreamTranscodeRequest::getAudioBitrate() const { + return audioBitrate_; } -std::string AddRtsLiveStreamTranscodeRequest::getDomain()const -{ - return domain_; +void AddRtsLiveStreamTranscodeRequest::setAudioBitrate(int audioBitrate) { + audioBitrate_ = audioBitrate; + setParameter(std::string("AudioBitrate"), std::to_string(audioBitrate)); } -void AddRtsLiveStreamTranscodeRequest::setDomain(const std::string& domain) -{ - domain_ = domain; - setParameter("Domain", domain); +std::string AddRtsLiveStreamTranscodeRequest::getDomain() const { + return domain_; } -int AddRtsLiveStreamTranscodeRequest::getWidth()const -{ - return width_; +void AddRtsLiveStreamTranscodeRequest::setDomain(const std::string &domain) { + domain_ = domain; + setParameter(std::string("Domain"), domain); } -void AddRtsLiveStreamTranscodeRequest::setWidth(int width) -{ - width_ = width; - setParameter("Width", std::to_string(width)); +int AddRtsLiveStreamTranscodeRequest::getWidth() const { + return width_; } -int AddRtsLiveStreamTranscodeRequest::getVideoBitrate()const -{ - return videoBitrate_; +void AddRtsLiveStreamTranscodeRequest::setWidth(int width) { + width_ = width; + setParameter(std::string("Width"), std::to_string(width)); } -void AddRtsLiveStreamTranscodeRequest::setVideoBitrate(int videoBitrate) -{ - videoBitrate_ = videoBitrate; - setParameter("VideoBitrate", std::to_string(videoBitrate)); +int AddRtsLiveStreamTranscodeRequest::getVideoBitrate() const { + return videoBitrate_; +} + +void AddRtsLiveStreamTranscodeRequest::setVideoBitrate(int videoBitrate) { + videoBitrate_ = videoBitrate; + setParameter(std::string("VideoBitrate"), std::to_string(videoBitrate)); } diff --git a/live/src/model/AddShowIntoShowListRequest.cc b/live/src/model/AddShowIntoShowListRequest.cc index e977c01df..d891d0dfc 100644 --- a/live/src/model/AddShowIntoShowListRequest.cc +++ b/live/src/model/AddShowIntoShowListRequest.cc @@ -1,139 +1,117 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddShowIntoShowListRequest; - -AddShowIntoShowListRequest::AddShowIntoShowListRequest() : - RpcServiceRequest("live", "2016-11-01", "AddShowIntoShowList") -{ - setMethod(HttpRequest::Method::Post); -} - -AddShowIntoShowListRequest::~AddShowIntoShowListRequest() -{} - -int AddShowIntoShowListRequest::getLiveInputType()const -{ - return liveInputType_; + */ + +#include + +using AlibabaCloud::Live::Model::AddShowIntoShowListRequest; + +AddShowIntoShowListRequest::AddShowIntoShowListRequest() + : RpcServiceRequest("live", "2016-11-01", "AddShowIntoShowList") { + setMethod(HttpRequest::Method::Post); } -void AddShowIntoShowListRequest::setLiveInputType(int liveInputType) -{ - liveInputType_ = liveInputType; - setParameter("LiveInputType", std::to_string(liveInputType)); +AddShowIntoShowListRequest::~AddShowIntoShowListRequest() {} + +int AddShowIntoShowListRequest::getLiveInputType() const { + return liveInputType_; } -long AddShowIntoShowListRequest::getDuration()const -{ - return duration_; +void AddShowIntoShowListRequest::setLiveInputType(int liveInputType) { + liveInputType_ = liveInputType; + setParameter(std::string("LiveInputType"), std::to_string(liveInputType)); } -void AddShowIntoShowListRequest::setDuration(long duration) -{ - duration_ = duration; - setParameter("Duration", std::to_string(duration)); +long AddShowIntoShowListRequest::getDuration() const { + return duration_; } -int AddShowIntoShowListRequest::getRepeatTimes()const -{ - return repeatTimes_; +void AddShowIntoShowListRequest::setDuration(long duration) { + duration_ = duration; + setParameter(std::string("Duration"), std::to_string(duration)); } -void AddShowIntoShowListRequest::setRepeatTimes(int repeatTimes) -{ - repeatTimes_ = repeatTimes; - setParameter("RepeatTimes", std::to_string(repeatTimes)); +int AddShowIntoShowListRequest::getRepeatTimes() const { + return repeatTimes_; } -std::string AddShowIntoShowListRequest::getShowName()const -{ - return showName_; +void AddShowIntoShowListRequest::setRepeatTimes(int repeatTimes) { + repeatTimes_ = repeatTimes; + setParameter(std::string("RepeatTimes"), std::to_string(repeatTimes)); } -void AddShowIntoShowListRequest::setShowName(const std::string& showName) -{ - showName_ = showName; - setParameter("ShowName", showName); +std::string AddShowIntoShowListRequest::getShowName() const { + return showName_; } -std::string AddShowIntoShowListRequest::getResourceId()const -{ - return resourceId_; +void AddShowIntoShowListRequest::setShowName(const std::string &showName) { + showName_ = showName; + setParameter(std::string("ShowName"), showName); } -void AddShowIntoShowListRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setParameter("ResourceId", resourceId); +std::string AddShowIntoShowListRequest::getResourceId() const { + return resourceId_; } -std::string AddShowIntoShowListRequest::getCasterId()const -{ - return casterId_; +void AddShowIntoShowListRequest::setResourceId(const std::string &resourceId) { + resourceId_ = resourceId; + setParameter(std::string("ResourceId"), resourceId); } -void AddShowIntoShowListRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string AddShowIntoShowListRequest::getCasterId() const { + return casterId_; } -long AddShowIntoShowListRequest::getOwnerId()const -{ - return ownerId_; +void AddShowIntoShowListRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void AddShowIntoShowListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddShowIntoShowListRequest::getOwnerId() const { + return ownerId_; } -std::string AddShowIntoShowListRequest::getResourceType()const -{ - return resourceType_; +void AddShowIntoShowListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddShowIntoShowListRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); +std::string AddShowIntoShowListRequest::getResourceType() const { + return resourceType_; } -std::string AddShowIntoShowListRequest::getResourceUrl()const -{ - return resourceUrl_; +void AddShowIntoShowListRequest::setResourceType(const std::string &resourceType) { + resourceType_ = resourceType; + setParameter(std::string("ResourceType"), resourceType); } -void AddShowIntoShowListRequest::setResourceUrl(const std::string& resourceUrl) -{ - resourceUrl_ = resourceUrl; - setParameter("ResourceUrl", resourceUrl); +std::string AddShowIntoShowListRequest::getResourceUrl() const { + return resourceUrl_; } -int AddShowIntoShowListRequest::getSpot()const -{ - return spot_; +void AddShowIntoShowListRequest::setResourceUrl(const std::string &resourceUrl) { + resourceUrl_ = resourceUrl; + setParameter(std::string("ResourceUrl"), resourceUrl); } -void AddShowIntoShowListRequest::setSpot(int spot) -{ - spot_ = spot; - setParameter("Spot", std::to_string(spot)); +int AddShowIntoShowListRequest::getSpot() const { + return spot_; +} + +void AddShowIntoShowListRequest::setSpot(int spot) { + spot_ = spot; + setParameter(std::string("Spot"), std::to_string(spot)); } diff --git a/live/src/model/AddStudioLayoutRequest.cc b/live/src/model/AddStudioLayoutRequest.cc index c65ad4af6..a91d79678 100644 --- a/live/src/model/AddStudioLayoutRequest.cc +++ b/live/src/model/AddStudioLayoutRequest.cc @@ -1,128 +1,108 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddStudioLayoutRequest; - -AddStudioLayoutRequest::AddStudioLayoutRequest() : - RpcServiceRequest("live", "2016-11-01", "AddStudioLayout") -{ - setMethod(HttpRequest::Method::Post); -} - -AddStudioLayoutRequest::~AddStudioLayoutRequest() -{} - -std::string AddStudioLayoutRequest::getScreenInputConfigList()const -{ - return screenInputConfigList_; + */ + +#include + +using AlibabaCloud::Live::Model::AddStudioLayoutRequest; + +AddStudioLayoutRequest::AddStudioLayoutRequest() + : RpcServiceRequest("live", "2016-11-01", "AddStudioLayout") { + setMethod(HttpRequest::Method::Post); } -void AddStudioLayoutRequest::setScreenInputConfigList(const std::string& screenInputConfigList) -{ - screenInputConfigList_ = screenInputConfigList; - setParameter("ScreenInputConfigList", screenInputConfigList); +AddStudioLayoutRequest::~AddStudioLayoutRequest() {} + +std::string AddStudioLayoutRequest::getScreenInputConfigList() const { + return screenInputConfigList_; } -std::string AddStudioLayoutRequest::getLayoutType()const -{ - return layoutType_; +void AddStudioLayoutRequest::setScreenInputConfigList(const std::string &screenInputConfigList) { + screenInputConfigList_ = screenInputConfigList; + setParameter(std::string("ScreenInputConfigList"), screenInputConfigList); } -void AddStudioLayoutRequest::setLayoutType(const std::string& layoutType) -{ - layoutType_ = layoutType; - setParameter("LayoutType", layoutType); +std::string AddStudioLayoutRequest::getLayoutType() const { + return layoutType_; } -std::string AddStudioLayoutRequest::getLayoutName()const -{ - return layoutName_; +void AddStudioLayoutRequest::setLayoutType(const std::string &layoutType) { + layoutType_ = layoutType; + setParameter(std::string("LayoutType"), layoutType); } -void AddStudioLayoutRequest::setLayoutName(const std::string& layoutName) -{ - layoutName_ = layoutName; - setParameter("LayoutName", layoutName); +std::string AddStudioLayoutRequest::getLayoutName() const { + return layoutName_; } -std::string AddStudioLayoutRequest::getLayerOrderConfigList()const -{ - return layerOrderConfigList_; +void AddStudioLayoutRequest::setLayoutName(const std::string &layoutName) { + layoutName_ = layoutName; + setParameter(std::string("LayoutName"), layoutName); } -void AddStudioLayoutRequest::setLayerOrderConfigList(const std::string& layerOrderConfigList) -{ - layerOrderConfigList_ = layerOrderConfigList; - setParameter("LayerOrderConfigList", layerOrderConfigList); +std::string AddStudioLayoutRequest::getLayerOrderConfigList() const { + return layerOrderConfigList_; } -std::string AddStudioLayoutRequest::getMediaInputConfigList()const -{ - return mediaInputConfigList_; +void AddStudioLayoutRequest::setLayerOrderConfigList(const std::string &layerOrderConfigList) { + layerOrderConfigList_ = layerOrderConfigList; + setParameter(std::string("LayerOrderConfigList"), layerOrderConfigList); } -void AddStudioLayoutRequest::setMediaInputConfigList(const std::string& mediaInputConfigList) -{ - mediaInputConfigList_ = mediaInputConfigList; - setParameter("MediaInputConfigList", mediaInputConfigList); +std::string AddStudioLayoutRequest::getMediaInputConfigList() const { + return mediaInputConfigList_; } -std::string AddStudioLayoutRequest::getCasterId()const -{ - return casterId_; +void AddStudioLayoutRequest::setMediaInputConfigList(const std::string &mediaInputConfigList) { + mediaInputConfigList_ = mediaInputConfigList; + setParameter(std::string("MediaInputConfigList"), mediaInputConfigList); } -void AddStudioLayoutRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string AddStudioLayoutRequest::getCasterId() const { + return casterId_; } -std::string AddStudioLayoutRequest::getBgImageConfig()const -{ - return bgImageConfig_; +void AddStudioLayoutRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void AddStudioLayoutRequest::setBgImageConfig(const std::string& bgImageConfig) -{ - bgImageConfig_ = bgImageConfig; - setParameter("BgImageConfig", bgImageConfig); +std::string AddStudioLayoutRequest::getBgImageConfig() const { + return bgImageConfig_; } -long AddStudioLayoutRequest::getOwnerId()const -{ - return ownerId_; +void AddStudioLayoutRequest::setBgImageConfig(const std::string &bgImageConfig) { + bgImageConfig_ = bgImageConfig; + setParameter(std::string("BgImageConfig"), bgImageConfig); } -void AddStudioLayoutRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddStudioLayoutRequest::getOwnerId() const { + return ownerId_; } -std::string AddStudioLayoutRequest::getCommonConfig()const -{ - return commonConfig_; +void AddStudioLayoutRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddStudioLayoutRequest::setCommonConfig(const std::string& commonConfig) -{ - commonConfig_ = commonConfig; - setParameter("CommonConfig", commonConfig); +std::string AddStudioLayoutRequest::getCommonConfig() const { + return commonConfig_; +} + +void AddStudioLayoutRequest::setCommonConfig(const std::string &commonConfig) { + commonConfig_ = commonConfig; + setParameter(std::string("CommonConfig"), commonConfig); } diff --git a/live/src/model/AddTrancodeSEIRequest.cc b/live/src/model/AddTrancodeSEIRequest.cc index bbf1b4d48..a0228c86a 100644 --- a/live/src/model/AddTrancodeSEIRequest.cc +++ b/live/src/model/AddTrancodeSEIRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddTrancodeSEIRequest; - -AddTrancodeSEIRequest::AddTrancodeSEIRequest() : - RpcServiceRequest("live", "2016-11-01", "AddTrancodeSEI") -{ - setMethod(HttpRequest::Method::Post); -} - -AddTrancodeSEIRequest::~AddTrancodeSEIRequest() -{} - -std::string AddTrancodeSEIRequest::getPattern()const -{ - return pattern_; + */ + +#include + +using AlibabaCloud::Live::Model::AddTrancodeSEIRequest; + +AddTrancodeSEIRequest::AddTrancodeSEIRequest() + : RpcServiceRequest("live", "2016-11-01", "AddTrancodeSEI") { + setMethod(HttpRequest::Method::Post); } -void AddTrancodeSEIRequest::setPattern(const std::string& pattern) -{ - pattern_ = pattern; - setParameter("Pattern", pattern); +AddTrancodeSEIRequest::~AddTrancodeSEIRequest() {} + +std::string AddTrancodeSEIRequest::getPattern() const { + return pattern_; } -std::string AddTrancodeSEIRequest::getAppName()const -{ - return appName_; +void AddTrancodeSEIRequest::setPattern(const std::string &pattern) { + pattern_ = pattern; + setParameter(std::string("Pattern"), pattern); } -void AddTrancodeSEIRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string AddTrancodeSEIRequest::getAppName() const { + return appName_; } -int AddTrancodeSEIRequest::getRepeat()const -{ - return repeat_; +void AddTrancodeSEIRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void AddTrancodeSEIRequest::setRepeat(int repeat) -{ - repeat_ = repeat; - setParameter("Repeat", std::to_string(repeat)); +int AddTrancodeSEIRequest::getRepeat() const { + return repeat_; } -std::string AddTrancodeSEIRequest::getText()const -{ - return text_; +void AddTrancodeSEIRequest::setRepeat(int repeat) { + repeat_ = repeat; + setParameter(std::string("Repeat"), std::to_string(repeat)); } -void AddTrancodeSEIRequest::setText(const std::string& text) -{ - text_ = text; - setParameter("Text", text); +std::string AddTrancodeSEIRequest::getText() const { + return text_; } -std::string AddTrancodeSEIRequest::getStreamName()const -{ - return streamName_; +void AddTrancodeSEIRequest::setText(const std::string &text) { + text_ = text; + setParameter(std::string("Text"), text); } -void AddTrancodeSEIRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string AddTrancodeSEIRequest::getStreamName() const { + return streamName_; } -std::string AddTrancodeSEIRequest::getDomainName()const -{ - return domainName_; +void AddTrancodeSEIRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void AddTrancodeSEIRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string AddTrancodeSEIRequest::getDomainName() const { + return domainName_; } -long AddTrancodeSEIRequest::getOwnerId()const -{ - return ownerId_; +void AddTrancodeSEIRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void AddTrancodeSEIRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long AddTrancodeSEIRequest::getOwnerId() const { + return ownerId_; } -int AddTrancodeSEIRequest::getDelay()const -{ - return delay_; +void AddTrancodeSEIRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AddTrancodeSEIRequest::setDelay(int delay) -{ - delay_ = delay; - setParameter("Delay", std::to_string(delay)); +int AddTrancodeSEIRequest::getDelay() const { + return delay_; +} + +void AddTrancodeSEIRequest::setDelay(int delay) { + delay_ = delay; + setParameter(std::string("Delay"), std::to_string(delay)); } diff --git a/live/src/model/AllowPushStreamRequest.cc b/live/src/model/AllowPushStreamRequest.cc index 76f84e7ef..568ddc12d 100644 --- a/live/src/model/AllowPushStreamRequest.cc +++ b/live/src/model/AllowPushStreamRequest.cc @@ -1,62 +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::AllowPushStreamRequest; - -AllowPushStreamRequest::AllowPushStreamRequest() : - RpcServiceRequest("live", "2016-11-01", "AllowPushStream") -{ - setMethod(HttpRequest::Method::Post); -} - -AllowPushStreamRequest::~AllowPushStreamRequest() -{} - -long AllowPushStreamRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Live::Model::AllowPushStreamRequest; + +AllowPushStreamRequest::AllowPushStreamRequest() + : RpcServiceRequest("live", "2016-11-01", "AllowPushStream") { + setMethod(HttpRequest::Method::Post); } -void AllowPushStreamRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +AllowPushStreamRequest::~AllowPushStreamRequest() {} + +long AllowPushStreamRequest::getOwnerId() const { + return ownerId_; } -std::string AllowPushStreamRequest::getRoomId()const -{ - return roomId_; +void AllowPushStreamRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void AllowPushStreamRequest::setRoomId(const std::string& roomId) -{ - roomId_ = roomId; - setParameter("RoomId", roomId); +std::string AllowPushStreamRequest::getRoomId() const { + return roomId_; } -std::string AllowPushStreamRequest::getAppId()const -{ - return appId_; +void AllowPushStreamRequest::setRoomId(const std::string &roomId) { + roomId_ = roomId; + setParameter(std::string("RoomId"), roomId); } -void AllowPushStreamRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string AllowPushStreamRequest::getAppId() const { + return appId_; +} + +void AllowPushStreamRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/live/src/model/BatchDeleteLiveDomainConfigsRequest.cc b/live/src/model/BatchDeleteLiveDomainConfigsRequest.cc index c3d92222e..f18ef2e6f 100644 --- a/live/src/model/BatchDeleteLiveDomainConfigsRequest.cc +++ b/live/src/model/BatchDeleteLiveDomainConfigsRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::BatchDeleteLiveDomainConfigsRequest; - -BatchDeleteLiveDomainConfigsRequest::BatchDeleteLiveDomainConfigsRequest() : - RpcServiceRequest("live", "2016-11-01", "BatchDeleteLiveDomainConfigs") -{ - setMethod(HttpRequest::Method::Post); -} - -BatchDeleteLiveDomainConfigsRequest::~BatchDeleteLiveDomainConfigsRequest() -{} - -std::string BatchDeleteLiveDomainConfigsRequest::getFunctionNames()const -{ - return functionNames_; + */ + +#include + +using AlibabaCloud::Live::Model::BatchDeleteLiveDomainConfigsRequest; + +BatchDeleteLiveDomainConfigsRequest::BatchDeleteLiveDomainConfigsRequest() + : RpcServiceRequest("live", "2016-11-01", "BatchDeleteLiveDomainConfigs") { + setMethod(HttpRequest::Method::Post); } -void BatchDeleteLiveDomainConfigsRequest::setFunctionNames(const std::string& functionNames) -{ - functionNames_ = functionNames; - setParameter("FunctionNames", functionNames); +BatchDeleteLiveDomainConfigsRequest::~BatchDeleteLiveDomainConfigsRequest() {} + +std::string BatchDeleteLiveDomainConfigsRequest::getFunctionNames() const { + return functionNames_; } -std::string BatchDeleteLiveDomainConfigsRequest::getDomainNames()const -{ - return domainNames_; +void BatchDeleteLiveDomainConfigsRequest::setFunctionNames(const std::string &functionNames) { + functionNames_ = functionNames; + setParameter(std::string("FunctionNames"), functionNames); } -void BatchDeleteLiveDomainConfigsRequest::setDomainNames(const std::string& domainNames) -{ - domainNames_ = domainNames; - setParameter("DomainNames", domainNames); +std::string BatchDeleteLiveDomainConfigsRequest::getDomainNames() const { + return domainNames_; } -std::string BatchDeleteLiveDomainConfigsRequest::getOwnerAccount()const -{ - return ownerAccount_; +void BatchDeleteLiveDomainConfigsRequest::setDomainNames(const std::string &domainNames) { + domainNames_ = domainNames; + setParameter(std::string("DomainNames"), domainNames); } -void BatchDeleteLiveDomainConfigsRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::string BatchDeleteLiveDomainConfigsRequest::getOwnerAccount() const { + return ownerAccount_; } -long BatchDeleteLiveDomainConfigsRequest::getOwnerId()const -{ - return ownerId_; +void BatchDeleteLiveDomainConfigsRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void BatchDeleteLiveDomainConfigsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long BatchDeleteLiveDomainConfigsRequest::getOwnerId() const { + return ownerId_; } -std::string BatchDeleteLiveDomainConfigsRequest::getSecurityToken()const -{ - return securityToken_; +void BatchDeleteLiveDomainConfigsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void BatchDeleteLiveDomainConfigsRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string BatchDeleteLiveDomainConfigsRequest::getSecurityToken() const { + return securityToken_; +} + +void BatchDeleteLiveDomainConfigsRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/live/src/model/BatchSetLiveDomainConfigsRequest.cc b/live/src/model/BatchSetLiveDomainConfigsRequest.cc index dc37fd1ec..f90393645 100644 --- a/live/src/model/BatchSetLiveDomainConfigsRequest.cc +++ b/live/src/model/BatchSetLiveDomainConfigsRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::BatchSetLiveDomainConfigsRequest; - -BatchSetLiveDomainConfigsRequest::BatchSetLiveDomainConfigsRequest() : - RpcServiceRequest("live", "2016-11-01", "BatchSetLiveDomainConfigs") -{ - setMethod(HttpRequest::Method::Post); -} - -BatchSetLiveDomainConfigsRequest::~BatchSetLiveDomainConfigsRequest() -{} - -std::string BatchSetLiveDomainConfigsRequest::getFunctions()const -{ - return functions_; + */ + +#include + +using AlibabaCloud::Live::Model::BatchSetLiveDomainConfigsRequest; + +BatchSetLiveDomainConfigsRequest::BatchSetLiveDomainConfigsRequest() + : RpcServiceRequest("live", "2016-11-01", "BatchSetLiveDomainConfigs") { + setMethod(HttpRequest::Method::Post); } -void BatchSetLiveDomainConfigsRequest::setFunctions(const std::string& functions) -{ - functions_ = functions; - setParameter("Functions", functions); +BatchSetLiveDomainConfigsRequest::~BatchSetLiveDomainConfigsRequest() {} + +std::string BatchSetLiveDomainConfigsRequest::getFunctions() const { + return functions_; } -std::string BatchSetLiveDomainConfigsRequest::getDomainNames()const -{ - return domainNames_; +void BatchSetLiveDomainConfigsRequest::setFunctions(const std::string &functions) { + functions_ = functions; + setParameter(std::string("Functions"), functions); } -void BatchSetLiveDomainConfigsRequest::setDomainNames(const std::string& domainNames) -{ - domainNames_ = domainNames; - setParameter("DomainNames", domainNames); +std::string BatchSetLiveDomainConfigsRequest::getDomainNames() const { + return domainNames_; } -std::string BatchSetLiveDomainConfigsRequest::getOwnerAccount()const -{ - return ownerAccount_; +void BatchSetLiveDomainConfigsRequest::setDomainNames(const std::string &domainNames) { + domainNames_ = domainNames; + setParameter(std::string("DomainNames"), domainNames); } -void BatchSetLiveDomainConfigsRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +std::string BatchSetLiveDomainConfigsRequest::getOwnerAccount() const { + return ownerAccount_; } -long BatchSetLiveDomainConfigsRequest::getOwnerId()const -{ - return ownerId_; +void BatchSetLiveDomainConfigsRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void BatchSetLiveDomainConfigsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long BatchSetLiveDomainConfigsRequest::getOwnerId() const { + return ownerId_; } -std::string BatchSetLiveDomainConfigsRequest::getSecurityToken()const -{ - return securityToken_; +void BatchSetLiveDomainConfigsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void BatchSetLiveDomainConfigsRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string BatchSetLiveDomainConfigsRequest::getSecurityToken() const { + return securityToken_; +} + +void BatchSetLiveDomainConfigsRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/live/src/model/CloseLiveShiftRequest.cc b/live/src/model/CloseLiveShiftRequest.cc index 2e1b0d89f..581213e8e 100644 --- a/live/src/model/CloseLiveShiftRequest.cc +++ b/live/src/model/CloseLiveShiftRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::CloseLiveShiftRequest; - -CloseLiveShiftRequest::CloseLiveShiftRequest() : - RpcServiceRequest("live", "2016-11-01", "CloseLiveShift") -{ - setMethod(HttpRequest::Method::Post); -} - -CloseLiveShiftRequest::~CloseLiveShiftRequest() -{} - -std::string CloseLiveShiftRequest::getAppName()const -{ - return appName_; + */ + +#include + +using AlibabaCloud::Live::Model::CloseLiveShiftRequest; + +CloseLiveShiftRequest::CloseLiveShiftRequest() + : RpcServiceRequest("live", "2016-11-01", "CloseLiveShift") { + setMethod(HttpRequest::Method::Post); } -void CloseLiveShiftRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +CloseLiveShiftRequest::~CloseLiveShiftRequest() {} + +std::string CloseLiveShiftRequest::getAppName() const { + return appName_; } -std::string CloseLiveShiftRequest::getStreamName()const -{ - return streamName_; +void CloseLiveShiftRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void CloseLiveShiftRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string CloseLiveShiftRequest::getStreamName() const { + return streamName_; } -std::string CloseLiveShiftRequest::getDomainName()const -{ - return domainName_; +void CloseLiveShiftRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void CloseLiveShiftRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string CloseLiveShiftRequest::getDomainName() const { + return domainName_; } -long CloseLiveShiftRequest::getOwnerId()const -{ - return ownerId_; +void CloseLiveShiftRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void CloseLiveShiftRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long CloseLiveShiftRequest::getOwnerId() const { + return ownerId_; +} + +void CloseLiveShiftRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/CloseMessageGroupRequest.cc b/live/src/model/CloseMessageGroupRequest.cc new file mode 100644 index 000000000..4377e3706 --- /dev/null +++ b/live/src/model/CloseMessageGroupRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::CloseMessageGroupRequest; + +CloseMessageGroupRequest::CloseMessageGroupRequest() + : RpcServiceRequest("live", "2016-11-01", "CloseMessageGroup") { + setMethod(HttpRequest::Method::Post); +} + +CloseMessageGroupRequest::~CloseMessageGroupRequest() {} + +std::string CloseMessageGroupRequest::getGroupId() const { + return groupId_; +} + +void CloseMessageGroupRequest::setGroupId(const std::string &groupId) { + groupId_ = groupId; + setBodyParameter(std::string("GroupId"), groupId); +} + +std::string CloseMessageGroupRequest::getAppId() const { + return appId_; +} + +void CloseMessageGroupRequest::setAppId(const std::string &appId) { + appId_ = appId; + setBodyParameter(std::string("AppId"), appId); +} + diff --git a/live/src/model/CloseMessageGroupResult.cc b/live/src/model/CloseMessageGroupResult.cc new file mode 100644 index 000000000..c8edfdeac --- /dev/null +++ b/live/src/model/CloseMessageGroupResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +CloseMessageGroupResult::CloseMessageGroupResult() : + ServiceResult() +{} + +CloseMessageGroupResult::CloseMessageGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CloseMessageGroupResult::~CloseMessageGroupResult() +{} + +void CloseMessageGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["Success"].isNull()) + result_.success = resultNode["Success"].asString() == "true"; + +} + +CloseMessageGroupResult::Result CloseMessageGroupResult::getResult()const +{ + return result_; +} + diff --git a/live/src/model/CopyCasterRequest.cc b/live/src/model/CopyCasterRequest.cc index 1e86a0966..9b42949a1 100644 --- a/live/src/model/CopyCasterRequest.cc +++ b/live/src/model/CopyCasterRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::CopyCasterRequest; - -CopyCasterRequest::CopyCasterRequest() : - RpcServiceRequest("live", "2016-11-01", "CopyCaster") -{ - setMethod(HttpRequest::Method::Post); -} - -CopyCasterRequest::~CopyCasterRequest() -{} - -std::string CopyCasterRequest::getClientToken()const -{ - return clientToken_; + */ + +#include + +using AlibabaCloud::Live::Model::CopyCasterRequest; + +CopyCasterRequest::CopyCasterRequest() + : RpcServiceRequest("live", "2016-11-01", "CopyCaster") { + setMethod(HttpRequest::Method::Post); } -void CopyCasterRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setParameter("ClientToken", clientToken); +CopyCasterRequest::~CopyCasterRequest() {} + +std::string CopyCasterRequest::getClientToken() const { + return clientToken_; } -std::string CopyCasterRequest::getCasterName()const -{ - return casterName_; +void CopyCasterRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); } -void CopyCasterRequest::setCasterName(const std::string& casterName) -{ - casterName_ = casterName; - setParameter("CasterName", casterName); +std::string CopyCasterRequest::getCasterName() const { + return casterName_; } -std::string CopyCasterRequest::getSrcCasterId()const -{ - return srcCasterId_; +void CopyCasterRequest::setCasterName(const std::string &casterName) { + casterName_ = casterName; + setParameter(std::string("CasterName"), casterName); } -void CopyCasterRequest::setSrcCasterId(const std::string& srcCasterId) -{ - srcCasterId_ = srcCasterId; - setParameter("SrcCasterId", srcCasterId); +std::string CopyCasterRequest::getSrcCasterId() const { + return srcCasterId_; } -long CopyCasterRequest::getOwnerId()const -{ - return ownerId_; +void CopyCasterRequest::setSrcCasterId(const std::string &srcCasterId) { + srcCasterId_ = srcCasterId; + setParameter(std::string("SrcCasterId"), srcCasterId); } -void CopyCasterRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long CopyCasterRequest::getOwnerId() const { + return ownerId_; +} + +void CopyCasterRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/CopyCasterSceneConfigRequest.cc b/live/src/model/CopyCasterSceneConfigRequest.cc index e29880918..8bd9fd0b8 100644 --- a/live/src/model/CopyCasterSceneConfigRequest.cc +++ b/live/src/model/CopyCasterSceneConfigRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::CopyCasterSceneConfigRequest; - -CopyCasterSceneConfigRequest::CopyCasterSceneConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "CopyCasterSceneConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -CopyCasterSceneConfigRequest::~CopyCasterSceneConfigRequest() -{} - -std::string CopyCasterSceneConfigRequest::getFromSceneId()const -{ - return fromSceneId_; + */ + +#include + +using AlibabaCloud::Live::Model::CopyCasterSceneConfigRequest; + +CopyCasterSceneConfigRequest::CopyCasterSceneConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "CopyCasterSceneConfig") { + setMethod(HttpRequest::Method::Post); } -void CopyCasterSceneConfigRequest::setFromSceneId(const std::string& fromSceneId) -{ - fromSceneId_ = fromSceneId; - setParameter("FromSceneId", fromSceneId); +CopyCasterSceneConfigRequest::~CopyCasterSceneConfigRequest() {} + +std::string CopyCasterSceneConfigRequest::getFromSceneId() const { + return fromSceneId_; } -std::string CopyCasterSceneConfigRequest::getToSceneId()const -{ - return toSceneId_; +void CopyCasterSceneConfigRequest::setFromSceneId(const std::string &fromSceneId) { + fromSceneId_ = fromSceneId; + setParameter(std::string("FromSceneId"), fromSceneId); } -void CopyCasterSceneConfigRequest::setToSceneId(const std::string& toSceneId) -{ - toSceneId_ = toSceneId; - setParameter("ToSceneId", toSceneId); +std::string CopyCasterSceneConfigRequest::getToSceneId() const { + return toSceneId_; } -std::string CopyCasterSceneConfigRequest::getCasterId()const -{ - return casterId_; +void CopyCasterSceneConfigRequest::setToSceneId(const std::string &toSceneId) { + toSceneId_ = toSceneId; + setParameter(std::string("ToSceneId"), toSceneId); } -void CopyCasterSceneConfigRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string CopyCasterSceneConfigRequest::getCasterId() const { + return casterId_; } -long CopyCasterSceneConfigRequest::getOwnerId()const -{ - return ownerId_; +void CopyCasterSceneConfigRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void CopyCasterSceneConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long CopyCasterSceneConfigRequest::getOwnerId() const { + return ownerId_; +} + +void CopyCasterSceneConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/CreateCasterRequest.cc b/live/src/model/CreateCasterRequest.cc index 490ac8ca5..0e03c1604 100644 --- a/live/src/model/CreateCasterRequest.cc +++ b/live/src/model/CreateCasterRequest.cc @@ -1,128 +1,108 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::CreateCasterRequest; - -CreateCasterRequest::CreateCasterRequest() : - RpcServiceRequest("live", "2016-11-01", "CreateCaster") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateCasterRequest::~CreateCasterRequest() -{} - -std::string CreateCasterRequest::getClientToken()const -{ - return clientToken_; + */ + +#include + +using AlibabaCloud::Live::Model::CreateCasterRequest; + +CreateCasterRequest::CreateCasterRequest() + : RpcServiceRequest("live", "2016-11-01", "CreateCaster") { + setMethod(HttpRequest::Method::Post); } -void CreateCasterRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setParameter("ClientToken", clientToken); +CreateCasterRequest::~CreateCasterRequest() {} + +std::string CreateCasterRequest::getClientToken() const { + return clientToken_; } -std::string CreateCasterRequest::getCasterName()const -{ - return casterName_; +void CreateCasterRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); } -void CreateCasterRequest::setCasterName(const std::string& casterName) -{ - casterName_ = casterName; - setParameter("CasterName", casterName); +std::string CreateCasterRequest::getCasterName() const { + return casterName_; } -std::string CreateCasterRequest::getCasterTemplate()const -{ - return casterTemplate_; +void CreateCasterRequest::setCasterName(const std::string &casterName) { + casterName_ = casterName; + setParameter(std::string("CasterName"), casterName); } -void CreateCasterRequest::setCasterTemplate(const std::string& casterTemplate) -{ - casterTemplate_ = casterTemplate; - setParameter("CasterTemplate", casterTemplate); +std::string CreateCasterRequest::getCasterTemplate() const { + return casterTemplate_; } -std::string CreateCasterRequest::getExpireTime()const -{ - return expireTime_; +void CreateCasterRequest::setCasterTemplate(const std::string &casterTemplate) { + casterTemplate_ = casterTemplate; + setParameter(std::string("CasterTemplate"), casterTemplate); } -void CreateCasterRequest::setExpireTime(const std::string& expireTime) -{ - expireTime_ = expireTime; - setParameter("ExpireTime", expireTime); +std::string CreateCasterRequest::getExpireTime() const { + return expireTime_; } -int CreateCasterRequest::getNormType()const -{ - return normType_; +void CreateCasterRequest::setExpireTime(const std::string &expireTime) { + expireTime_ = expireTime; + setParameter(std::string("ExpireTime"), expireTime); } -void CreateCasterRequest::setNormType(int normType) -{ - normType_ = normType; - setParameter("NormType", std::to_string(normType)); +int CreateCasterRequest::getNormType() const { + return normType_; } -long CreateCasterRequest::getOwnerId()const -{ - return ownerId_; +void CreateCasterRequest::setNormType(int normType) { + normType_ = normType; + setParameter(std::string("NormType"), std::to_string(normType)); } -void CreateCasterRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long CreateCasterRequest::getOwnerId() const { + return ownerId_; } -std::string CreateCasterRequest::getPurchaseTime()const -{ - return purchaseTime_; +void CreateCasterRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void CreateCasterRequest::setPurchaseTime(const std::string& purchaseTime) -{ - purchaseTime_ = purchaseTime; - setParameter("PurchaseTime", purchaseTime); +std::string CreateCasterRequest::getPurchaseTime() const { + return purchaseTime_; } -int CreateCasterRequest::getMicMode()const -{ - return micMode_; +void CreateCasterRequest::setPurchaseTime(const std::string &purchaseTime) { + purchaseTime_ = purchaseTime; + setParameter(std::string("PurchaseTime"), purchaseTime); } -void CreateCasterRequest::setMicMode(int micMode) -{ - micMode_ = micMode; - setParameter("MicMode", std::to_string(micMode)); +int CreateCasterRequest::getMicMode() const { + return micMode_; } -std::string CreateCasterRequest::getChargeType()const -{ - return chargeType_; +void CreateCasterRequest::setMicMode(int micMode) { + micMode_ = micMode; + setParameter(std::string("MicMode"), std::to_string(micMode)); } -void CreateCasterRequest::setChargeType(const std::string& chargeType) -{ - chargeType_ = chargeType; - setParameter("ChargeType", chargeType); +std::string CreateCasterRequest::getChargeType() const { + return chargeType_; +} + +void CreateCasterRequest::setChargeType(const std::string &chargeType) { + chargeType_ = chargeType; + setParameter(std::string("ChargeType"), chargeType); } diff --git a/live/src/model/CreateCustomTemplateRequest.cc b/live/src/model/CreateCustomTemplateRequest.cc index 817e54395..086d22491 100644 --- a/live/src/model/CreateCustomTemplateRequest.cc +++ b/live/src/model/CreateCustomTemplateRequest.cc @@ -1,62 +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::CreateCustomTemplateRequest; - -CreateCustomTemplateRequest::CreateCustomTemplateRequest() : - RpcServiceRequest("live", "2016-11-01", "CreateCustomTemplate") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateCustomTemplateRequest::~CreateCustomTemplateRequest() -{} - -std::string CreateCustomTemplateRequest::get_Template()const -{ - return _template_; + */ + +#include + +using AlibabaCloud::Live::Model::CreateCustomTemplateRequest; + +CreateCustomTemplateRequest::CreateCustomTemplateRequest() + : RpcServiceRequest("live", "2016-11-01", "CreateCustomTemplate") { + setMethod(HttpRequest::Method::Post); } -void CreateCustomTemplateRequest::set_Template(const std::string& _template) -{ - _template_ = _template; - setParameter("_Template", _template); +CreateCustomTemplateRequest::~CreateCustomTemplateRequest() {} + +std::string CreateCustomTemplateRequest::get_Template() const { + return _template_; } -std::string CreateCustomTemplateRequest::getCustomTemplate()const -{ - return customTemplate_; +void CreateCustomTemplateRequest::set_Template(const std::string &_template) { + _template_ = _template; + setParameter(std::string("Template"), _template); } -void CreateCustomTemplateRequest::setCustomTemplate(const std::string& customTemplate) -{ - customTemplate_ = customTemplate; - setParameter("CustomTemplate", customTemplate); +std::string CreateCustomTemplateRequest::getCustomTemplate() const { + return customTemplate_; } -long CreateCustomTemplateRequest::getOwnerId()const -{ - return ownerId_; +void CreateCustomTemplateRequest::setCustomTemplate(const std::string &customTemplate) { + customTemplate_ = customTemplate; + setParameter(std::string("CustomTemplate"), customTemplate); } -void CreateCustomTemplateRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long CreateCustomTemplateRequest::getOwnerId() const { + return ownerId_; +} + +void CreateCustomTemplateRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/CreateLiveRealTimeLogDeliveryRequest.cc b/live/src/model/CreateLiveRealTimeLogDeliveryRequest.cc index 236d1a373..fc6fefb2f 100644 --- a/live/src/model/CreateLiveRealTimeLogDeliveryRequest.cc +++ b/live/src/model/CreateLiveRealTimeLogDeliveryRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::CreateLiveRealTimeLogDeliveryRequest; - -CreateLiveRealTimeLogDeliveryRequest::CreateLiveRealTimeLogDeliveryRequest() : - RpcServiceRequest("live", "2016-11-01", "CreateLiveRealTimeLogDelivery") -{ - setMethod(HttpRequest::Method::Get); -} - -CreateLiveRealTimeLogDeliveryRequest::~CreateLiveRealTimeLogDeliveryRequest() -{} - -std::string CreateLiveRealTimeLogDeliveryRequest::getProject()const -{ - return project_; + */ + +#include + +using AlibabaCloud::Live::Model::CreateLiveRealTimeLogDeliveryRequest; + +CreateLiveRealTimeLogDeliveryRequest::CreateLiveRealTimeLogDeliveryRequest() + : RpcServiceRequest("live", "2016-11-01", "CreateLiveRealTimeLogDelivery") { + setMethod(HttpRequest::Method::Get); } -void CreateLiveRealTimeLogDeliveryRequest::setProject(const std::string& project) -{ - project_ = project; - setParameter("Project", project); +CreateLiveRealTimeLogDeliveryRequest::~CreateLiveRealTimeLogDeliveryRequest() {} + +std::string CreateLiveRealTimeLogDeliveryRequest::getProject() const { + return project_; } -std::string CreateLiveRealTimeLogDeliveryRequest::getDomainName()const -{ - return domainName_; +void CreateLiveRealTimeLogDeliveryRequest::setProject(const std::string &project) { + project_ = project; + setParameter(std::string("Project"), project); } -void CreateLiveRealTimeLogDeliveryRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string CreateLiveRealTimeLogDeliveryRequest::getDomainName() const { + return domainName_; } -long CreateLiveRealTimeLogDeliveryRequest::getOwnerId()const -{ - return ownerId_; +void CreateLiveRealTimeLogDeliveryRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void CreateLiveRealTimeLogDeliveryRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long CreateLiveRealTimeLogDeliveryRequest::getOwnerId() const { + return ownerId_; } -std::string CreateLiveRealTimeLogDeliveryRequest::getRegion()const -{ - return region_; +void CreateLiveRealTimeLogDeliveryRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void CreateLiveRealTimeLogDeliveryRequest::setRegion(const std::string& region) -{ - region_ = region; - setParameter("Region", region); +std::string CreateLiveRealTimeLogDeliveryRequest::getRegion() const { + return region_; } -std::string CreateLiveRealTimeLogDeliveryRequest::getLogstore()const -{ - return logstore_; +void CreateLiveRealTimeLogDeliveryRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); } -void CreateLiveRealTimeLogDeliveryRequest::setLogstore(const std::string& logstore) -{ - logstore_ = logstore; - setParameter("Logstore", logstore); +std::string CreateLiveRealTimeLogDeliveryRequest::getLogstore() const { + return logstore_; +} + +void CreateLiveRealTimeLogDeliveryRequest::setLogstore(const std::string &logstore) { + logstore_ = logstore; + setParameter(std::string("Logstore"), logstore); } diff --git a/live/src/model/CreateLiveStreamMonitorRequest.cc b/live/src/model/CreateLiveStreamMonitorRequest.cc index c2027c5bd..01ad30a40 100644 --- a/live/src/model/CreateLiveStreamMonitorRequest.cc +++ b/live/src/model/CreateLiveStreamMonitorRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::CreateLiveStreamMonitorRequest; - -CreateLiveStreamMonitorRequest::CreateLiveStreamMonitorRequest() : - RpcServiceRequest("live", "2016-11-01", "CreateLiveStreamMonitor") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateLiveStreamMonitorRequest::~CreateLiveStreamMonitorRequest() -{} - -std::string CreateLiveStreamMonitorRequest::getMonitorName()const -{ - return monitorName_; + */ + +#include + +using AlibabaCloud::Live::Model::CreateLiveStreamMonitorRequest; + +CreateLiveStreamMonitorRequest::CreateLiveStreamMonitorRequest() + : RpcServiceRequest("live", "2016-11-01", "CreateLiveStreamMonitor") { + setMethod(HttpRequest::Method::Post); } -void CreateLiveStreamMonitorRequest::setMonitorName(const std::string& monitorName) -{ - monitorName_ = monitorName; - setParameter("MonitorName", monitorName); +CreateLiveStreamMonitorRequest::~CreateLiveStreamMonitorRequest() {} + +std::string CreateLiveStreamMonitorRequest::getMonitorName() const { + return monitorName_; } -std::string CreateLiveStreamMonitorRequest::getStream()const -{ - return stream_; +void CreateLiveStreamMonitorRequest::setMonitorName(const std::string &monitorName) { + monitorName_ = monitorName; + setParameter(std::string("MonitorName"), monitorName); } -void CreateLiveStreamMonitorRequest::setStream(const std::string& stream) -{ - stream_ = stream; - setParameter("Stream", stream); +std::string CreateLiveStreamMonitorRequest::getStream() const { + return stream_; } -std::string CreateLiveStreamMonitorRequest::getOutputTemplate()const -{ - return outputTemplate_; +void CreateLiveStreamMonitorRequest::setStream(const std::string &stream) { + stream_ = stream; + setParameter(std::string("Stream"), stream); } -void CreateLiveStreamMonitorRequest::setOutputTemplate(const std::string& outputTemplate) -{ - outputTemplate_ = outputTemplate; - setParameter("OutputTemplate", outputTemplate); +std::string CreateLiveStreamMonitorRequest::getOutputTemplate() const { + return outputTemplate_; } -std::string CreateLiveStreamMonitorRequest::getApp()const -{ - return app_; +void CreateLiveStreamMonitorRequest::setOutputTemplate(const std::string &outputTemplate) { + outputTemplate_ = outputTemplate; + setParameter(std::string("OutputTemplate"), outputTemplate); } -void CreateLiveStreamMonitorRequest::setApp(const std::string& app) -{ - app_ = app; - setParameter("App", app); +std::string CreateLiveStreamMonitorRequest::getApp() const { + return app_; } -std::string CreateLiveStreamMonitorRequest::getInputList()const -{ - return inputList_; +void CreateLiveStreamMonitorRequest::setApp(const std::string &app) { + app_ = app; + setParameter(std::string("App"), app); } -void CreateLiveStreamMonitorRequest::setInputList(const std::string& inputList) -{ - inputList_ = inputList; - setParameter("InputList", inputList); +std::string CreateLiveStreamMonitorRequest::getInputList() const { + return inputList_; } -long CreateLiveStreamMonitorRequest::getOwnerId()const -{ - return ownerId_; +void CreateLiveStreamMonitorRequest::setInputList(const std::string &inputList) { + inputList_ = inputList; + setParameter(std::string("InputList"), inputList); } -void CreateLiveStreamMonitorRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long CreateLiveStreamMonitorRequest::getOwnerId() const { + return ownerId_; } -std::string CreateLiveStreamMonitorRequest::getDomain()const -{ - return domain_; +void CreateLiveStreamMonitorRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void CreateLiveStreamMonitorRequest::setDomain(const std::string& domain) -{ - domain_ = domain; - setParameter("Domain", domain); +std::string CreateLiveStreamMonitorRequest::getDomain() const { + return domain_; +} + +void CreateLiveStreamMonitorRequest::setDomain(const std::string &domain) { + domain_ = domain; + setParameter(std::string("Domain"), domain); } diff --git a/live/src/model/CreateLiveStreamRecordIndexFilesRequest.cc b/live/src/model/CreateLiveStreamRecordIndexFilesRequest.cc index 340887068..8b99c8c13 100644 --- a/live/src/model/CreateLiveStreamRecordIndexFilesRequest.cc +++ b/live/src/model/CreateLiveStreamRecordIndexFilesRequest.cc @@ -1,139 +1,117 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::CreateLiveStreamRecordIndexFilesRequest; - -CreateLiveStreamRecordIndexFilesRequest::CreateLiveStreamRecordIndexFilesRequest() : - RpcServiceRequest("live", "2016-11-01", "CreateLiveStreamRecordIndexFiles") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateLiveStreamRecordIndexFilesRequest::~CreateLiveStreamRecordIndexFilesRequest() -{} - -std::string CreateLiveStreamRecordIndexFilesRequest::getOssEndpoint()const -{ - return ossEndpoint_; + */ + +#include + +using AlibabaCloud::Live::Model::CreateLiveStreamRecordIndexFilesRequest; + +CreateLiveStreamRecordIndexFilesRequest::CreateLiveStreamRecordIndexFilesRequest() + : RpcServiceRequest("live", "2016-11-01", "CreateLiveStreamRecordIndexFiles") { + setMethod(HttpRequest::Method::Post); } -void CreateLiveStreamRecordIndexFilesRequest::setOssEndpoint(const std::string& ossEndpoint) -{ - ossEndpoint_ = ossEndpoint; - setParameter("OssEndpoint", ossEndpoint); +CreateLiveStreamRecordIndexFilesRequest::~CreateLiveStreamRecordIndexFilesRequest() {} + +std::string CreateLiveStreamRecordIndexFilesRequest::getOssEndpoint() const { + return ossEndpoint_; } -std::string CreateLiveStreamRecordIndexFilesRequest::getStartTime()const -{ - return startTime_; +void CreateLiveStreamRecordIndexFilesRequest::setOssEndpoint(const std::string &ossEndpoint) { + ossEndpoint_ = ossEndpoint; + setParameter(std::string("OssEndpoint"), ossEndpoint); } -void CreateLiveStreamRecordIndexFilesRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string CreateLiveStreamRecordIndexFilesRequest::getStartTime() const { + return startTime_; } -std::string CreateLiveStreamRecordIndexFilesRequest::getOssObject()const -{ - return ossObject_; +void CreateLiveStreamRecordIndexFilesRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void CreateLiveStreamRecordIndexFilesRequest::setOssObject(const std::string& ossObject) -{ - ossObject_ = ossObject; - setParameter("OssObject", ossObject); +std::string CreateLiveStreamRecordIndexFilesRequest::getOssObject() const { + return ossObject_; } -std::string CreateLiveStreamRecordIndexFilesRequest::getAppName()const -{ - return appName_; +void CreateLiveStreamRecordIndexFilesRequest::setOssObject(const std::string &ossObject) { + ossObject_ = ossObject; + setParameter(std::string("OssObject"), ossObject); } -void CreateLiveStreamRecordIndexFilesRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string CreateLiveStreamRecordIndexFilesRequest::getAppName() const { + return appName_; } -std::string CreateLiveStreamRecordIndexFilesRequest::getSecurityToken()const -{ - return securityToken_; +void CreateLiveStreamRecordIndexFilesRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void CreateLiveStreamRecordIndexFilesRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string CreateLiveStreamRecordIndexFilesRequest::getSecurityToken() const { + return securityToken_; } -std::string CreateLiveStreamRecordIndexFilesRequest::getStreamName()const -{ - return streamName_; +void CreateLiveStreamRecordIndexFilesRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void CreateLiveStreamRecordIndexFilesRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string CreateLiveStreamRecordIndexFilesRequest::getStreamName() const { + return streamName_; } -std::string CreateLiveStreamRecordIndexFilesRequest::getOssBucket()const -{ - return ossBucket_; +void CreateLiveStreamRecordIndexFilesRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void CreateLiveStreamRecordIndexFilesRequest::setOssBucket(const std::string& ossBucket) -{ - ossBucket_ = ossBucket; - setParameter("OssBucket", ossBucket); +std::string CreateLiveStreamRecordIndexFilesRequest::getOssBucket() const { + return ossBucket_; } -std::string CreateLiveStreamRecordIndexFilesRequest::getDomainName()const -{ - return domainName_; +void CreateLiveStreamRecordIndexFilesRequest::setOssBucket(const std::string &ossBucket) { + ossBucket_ = ossBucket; + setParameter(std::string("OssBucket"), ossBucket); } -void CreateLiveStreamRecordIndexFilesRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string CreateLiveStreamRecordIndexFilesRequest::getDomainName() const { + return domainName_; } -std::string CreateLiveStreamRecordIndexFilesRequest::getEndTime()const -{ - return endTime_; +void CreateLiveStreamRecordIndexFilesRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void CreateLiveStreamRecordIndexFilesRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string CreateLiveStreamRecordIndexFilesRequest::getEndTime() const { + return endTime_; } -long CreateLiveStreamRecordIndexFilesRequest::getOwnerId()const -{ - return ownerId_; +void CreateLiveStreamRecordIndexFilesRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void CreateLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long CreateLiveStreamRecordIndexFilesRequest::getOwnerId() const { + return ownerId_; +} + +void CreateLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/CreateLiveTranscodeTemplateRequest.cc b/live/src/model/CreateLiveTranscodeTemplateRequest.cc new file mode 100644 index 000000000..b0a556c7a --- /dev/null +++ b/live/src/model/CreateLiveTranscodeTemplateRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::CreateLiveTranscodeTemplateRequest; + +CreateLiveTranscodeTemplateRequest::CreateLiveTranscodeTemplateRequest() + : RpcServiceRequest("live", "2016-11-01", "CreateLiveTranscodeTemplate") { + setMethod(HttpRequest::Method::Post); +} + +CreateLiveTranscodeTemplateRequest::~CreateLiveTranscodeTemplateRequest() {} + +std::string CreateLiveTranscodeTemplateRequest::getType() const { + return type_; +} + +void CreateLiveTranscodeTemplateRequest::setType(const std::string &type) { + type_ = type; + setParameter(std::string("Type"), type); +} + +std::string CreateLiveTranscodeTemplateRequest::getSecurityToken() const { + return securityToken_; +} + +void CreateLiveTranscodeTemplateRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); +} + +std::string CreateLiveTranscodeTemplateRequest::getTemplateConfig() const { + return templateConfig_; +} + +void CreateLiveTranscodeTemplateRequest::setTemplateConfig(const std::string &templateConfig) { + templateConfig_ = templateConfig; + setParameter(std::string("TemplateConfig"), templateConfig); +} + +long CreateLiveTranscodeTemplateRequest::getOwnerId() const { + return ownerId_; +} + +void CreateLiveTranscodeTemplateRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/live/src/model/CreateLiveTranscodeTemplateResult.cc b/live/src/model/CreateLiveTranscodeTemplateResult.cc new file mode 100644 index 000000000..92cdc1a39 --- /dev/null +++ b/live/src/model/CreateLiveTranscodeTemplateResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +CreateLiveTranscodeTemplateResult::CreateLiveTranscodeTemplateResult() : + ServiceResult() +{} + +CreateLiveTranscodeTemplateResult::CreateLiveTranscodeTemplateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateLiveTranscodeTemplateResult::~CreateLiveTranscodeTemplateResult() +{} + +void CreateLiveTranscodeTemplateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["TemplateId"].isNull()) + templateId_ = value["TemplateId"].asString(); + +} + +std::string CreateLiveTranscodeTemplateResult::getTemplateId()const +{ + return templateId_; +} + diff --git a/live/src/model/CreateMessageAppRequest.cc b/live/src/model/CreateMessageAppRequest.cc new file mode 100644 index 000000000..07572247a --- /dev/null +++ b/live/src/model/CreateMessageAppRequest.cc @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::CreateMessageAppRequest; + +CreateMessageAppRequest::CreateMessageAppRequest() + : RpcServiceRequest("live", "2016-11-01", "CreateMessageApp") { + setMethod(HttpRequest::Method::Post); +} + +CreateMessageAppRequest::~CreateMessageAppRequest() {} + +std::map CreateMessageAppRequest::getExtension() const { + return extension_; +} + +void CreateMessageAppRequest::setExtension(const std::map &extension) { + extension_ = extension; + for(auto const &iter1 : extension) { + setBodyParameter(std::string("Extension") + "." + iter1.first, iter1.second); + } +} + +std::map CreateMessageAppRequest::getAppConfig() const { + return appConfig_; +} + +void CreateMessageAppRequest::setAppConfig(const std::map &appConfig) { + appConfig_ = appConfig; + for(auto const &iter1 : appConfig) { + setBodyParameter(std::string("AppConfig") + "." + iter1.first, iter1.second); + } +} + diff --git a/live/src/model/CreateMessageAppResult.cc b/live/src/model/CreateMessageAppResult.cc new file mode 100644 index 000000000..cd4328fbb --- /dev/null +++ b/live/src/model/CreateMessageAppResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +CreateMessageAppResult::CreateMessageAppResult() : + ServiceResult() +{} + +CreateMessageAppResult::CreateMessageAppResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateMessageAppResult::~CreateMessageAppResult() +{} + +void CreateMessageAppResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["AppId"].isNull()) + result_.appId = resultNode["AppId"].asString(); + +} + +CreateMessageAppResult::Result CreateMessageAppResult::getResult()const +{ + return result_; +} + diff --git a/live/src/model/CreateMessageGroupRequest.cc b/live/src/model/CreateMessageGroupRequest.cc new file mode 100644 index 000000000..205932a91 --- /dev/null +++ b/live/src/model/CreateMessageGroupRequest.cc @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::CreateMessageGroupRequest; + +CreateMessageGroupRequest::CreateMessageGroupRequest() + : RpcServiceRequest("live", "2016-11-01", "CreateMessageGroup") { + setMethod(HttpRequest::Method::Post); +} + +CreateMessageGroupRequest::~CreateMessageGroupRequest() {} + +std::map CreateMessageGroupRequest::getExtension() const { + return extension_; +} + +void CreateMessageGroupRequest::setExtension(const std::map &extension) { + extension_ = extension; + for(auto const &iter1 : extension) { + setBodyParameter(std::string("Extension") + "." + iter1.first, iter1.second); + } +} + +std::string CreateMessageGroupRequest::getCreatorId() const { + return creatorId_; +} + +void CreateMessageGroupRequest::setCreatorId(const std::string &creatorId) { + creatorId_ = creatorId; + setBodyParameter(std::string("CreatorId"), creatorId); +} + +std::string CreateMessageGroupRequest::getAppId() const { + return appId_; +} + +void CreateMessageGroupRequest::setAppId(const std::string &appId) { + appId_ = appId; + setBodyParameter(std::string("AppId"), appId); +} + diff --git a/live/src/model/DescribeLiveUserQuotaResult.cc b/live/src/model/CreateMessageGroupResult.cc similarity index 56% rename from live/src/model/DescribeLiveUserQuotaResult.cc rename to live/src/model/CreateMessageGroupResult.cc index 10ba1f9a7..35c5af9ba 100644 --- a/live/src/model/DescribeLiveUserQuotaResult.cc +++ b/live/src/model/CreateMessageGroupResult.cc @@ -14,45 +14,41 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Live; using namespace AlibabaCloud::Live::Model; -DescribeLiveUserQuotaResult::DescribeLiveUserQuotaResult() : +CreateMessageGroupResult::CreateMessageGroupResult() : ServiceResult() {} -DescribeLiveUserQuotaResult::DescribeLiveUserQuotaResult(const std::string &payload) : +CreateMessageGroupResult::CreateMessageGroupResult(const std::string &payload) : ServiceResult() { parse(payload); } -DescribeLiveUserQuotaResult::~DescribeLiveUserQuotaResult() +CreateMessageGroupResult::~CreateMessageGroupResult() {} -void DescribeLiveUserQuotaResult::parse(const std::string &payload) +void CreateMessageGroupResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["DomainQuota"].isNull()) - domainQuota_ = std::stoi(value["DomainQuota"].asString()); - if(!value["DomainUsedCount"].isNull()) - domainUsedCount_ = value["DomainUsedCount"].asString(); + auto resultNode = value["Result"]; + if(!resultNode["GroupId"].isNull()) + result_.groupId = resultNode["GroupId"].asString(); + if(!resultNode["Extension"].isNull()) + result_.extension = resultNode["Extension"].asString(); } -int DescribeLiveUserQuotaResult::getDomainQuota()const +CreateMessageGroupResult::Result CreateMessageGroupResult::getResult()const { - return domainQuota_; -} - -std::string DescribeLiveUserQuotaResult::getDomainUsedCount()const -{ - return domainUsedCount_; + return result_; } diff --git a/live/src/model/CreateMixStreamRequest.cc b/live/src/model/CreateMixStreamRequest.cc index d49a2bca0..a7f882569 100644 --- a/live/src/model/CreateMixStreamRequest.cc +++ b/live/src/model/CreateMixStreamRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::CreateMixStreamRequest; - -CreateMixStreamRequest::CreateMixStreamRequest() : - RpcServiceRequest("live", "2016-11-01", "CreateMixStream") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateMixStreamRequest::~CreateMixStreamRequest() -{} - -std::string CreateMixStreamRequest::getOutputConfig()const -{ - return outputConfig_; + */ + +#include + +using AlibabaCloud::Live::Model::CreateMixStreamRequest; + +CreateMixStreamRequest::CreateMixStreamRequest() + : RpcServiceRequest("live", "2016-11-01", "CreateMixStream") { + setMethod(HttpRequest::Method::Post); } -void CreateMixStreamRequest::setOutputConfig(const std::string& outputConfig) -{ - outputConfig_ = outputConfig; - setParameter("OutputConfig", outputConfig); +CreateMixStreamRequest::~CreateMixStreamRequest() {} + +std::string CreateMixStreamRequest::getOutputConfig() const { + return outputConfig_; } -std::string CreateMixStreamRequest::getLayoutId()const -{ - return layoutId_; +void CreateMixStreamRequest::setOutputConfig(const std::string &outputConfig) { + outputConfig_ = outputConfig; + setParameter(std::string("OutputConfig"), outputConfig); } -void CreateMixStreamRequest::setLayoutId(const std::string& layoutId) -{ - layoutId_ = layoutId; - setParameter("LayoutId", layoutId); +std::string CreateMixStreamRequest::getLayoutId() const { + return layoutId_; } -std::string CreateMixStreamRequest::getDomainName()const -{ - return domainName_; +void CreateMixStreamRequest::setLayoutId(const std::string &layoutId) { + layoutId_ = layoutId; + setParameter(std::string("LayoutId"), layoutId); } -void CreateMixStreamRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string CreateMixStreamRequest::getDomainName() const { + return domainName_; } -std::string CreateMixStreamRequest::getInputStreamList()const -{ - return inputStreamList_; +void CreateMixStreamRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void CreateMixStreamRequest::setInputStreamList(const std::string& inputStreamList) -{ - inputStreamList_ = inputStreamList; - setParameter("InputStreamList", inputStreamList); +std::string CreateMixStreamRequest::getInputStreamList() const { + return inputStreamList_; } -long CreateMixStreamRequest::getOwnerId()const -{ - return ownerId_; +void CreateMixStreamRequest::setInputStreamList(const std::string &inputStreamList) { + inputStreamList_ = inputStreamList; + setParameter(std::string("InputStreamList"), inputStreamList); } -void CreateMixStreamRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long CreateMixStreamRequest::getOwnerId() const { + return ownerId_; } -std::string CreateMixStreamRequest::getCallbackConfig()const -{ - return callbackConfig_; +void CreateMixStreamRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void CreateMixStreamRequest::setCallbackConfig(const std::string& callbackConfig) -{ - callbackConfig_ = callbackConfig; - setParameter("CallbackConfig", callbackConfig); +std::string CreateMixStreamRequest::getCallbackConfig() const { + return callbackConfig_; +} + +void CreateMixStreamRequest::setCallbackConfig(const std::string &callbackConfig) { + callbackConfig_ = callbackConfig; + setParameter(std::string("CallbackConfig"), callbackConfig); } diff --git a/live/src/model/DeleteCasterComponentRequest.cc b/live/src/model/DeleteCasterComponentRequest.cc index 393489735..36b0e2c03 100644 --- a/live/src/model/DeleteCasterComponentRequest.cc +++ b/live/src/model/DeleteCasterComponentRequest.cc @@ -1,62 +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::DeleteCasterComponentRequest; - -DeleteCasterComponentRequest::DeleteCasterComponentRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteCasterComponent") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteCasterComponentRequest::~DeleteCasterComponentRequest() -{} - -std::string DeleteCasterComponentRequest::getComponentId()const -{ - return componentId_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteCasterComponentRequest; + +DeleteCasterComponentRequest::DeleteCasterComponentRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteCasterComponent") { + setMethod(HttpRequest::Method::Post); } -void DeleteCasterComponentRequest::setComponentId(const std::string& componentId) -{ - componentId_ = componentId; - setParameter("ComponentId", componentId); +DeleteCasterComponentRequest::~DeleteCasterComponentRequest() {} + +std::string DeleteCasterComponentRequest::getComponentId() const { + return componentId_; } -std::string DeleteCasterComponentRequest::getCasterId()const -{ - return casterId_; +void DeleteCasterComponentRequest::setComponentId(const std::string &componentId) { + componentId_ = componentId; + setParameter(std::string("ComponentId"), componentId); } -void DeleteCasterComponentRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string DeleteCasterComponentRequest::getCasterId() const { + return casterId_; } -long DeleteCasterComponentRequest::getOwnerId()const -{ - return ownerId_; +void DeleteCasterComponentRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void DeleteCasterComponentRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteCasterComponentRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteCasterComponentRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeleteCasterEpisodeGroupRequest.cc b/live/src/model/DeleteCasterEpisodeGroupRequest.cc index 41e61254d..21545c86d 100644 --- a/live/src/model/DeleteCasterEpisodeGroupRequest.cc +++ b/live/src/model/DeleteCasterEpisodeGroupRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteCasterEpisodeGroupRequest; - -DeleteCasterEpisodeGroupRequest::DeleteCasterEpisodeGroupRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteCasterEpisodeGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteCasterEpisodeGroupRequest::~DeleteCasterEpisodeGroupRequest() -{} - -std::string DeleteCasterEpisodeGroupRequest::getProgramId()const -{ - return programId_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteCasterEpisodeGroupRequest; + +DeleteCasterEpisodeGroupRequest::DeleteCasterEpisodeGroupRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteCasterEpisodeGroup") { + setMethod(HttpRequest::Method::Post); } -void DeleteCasterEpisodeGroupRequest::setProgramId(const std::string& programId) -{ - programId_ = programId; - setParameter("ProgramId", programId); +DeleteCasterEpisodeGroupRequest::~DeleteCasterEpisodeGroupRequest() {} + +std::string DeleteCasterEpisodeGroupRequest::getProgramId() const { + return programId_; } -long DeleteCasterEpisodeGroupRequest::getOwnerId()const -{ - return ownerId_; +void DeleteCasterEpisodeGroupRequest::setProgramId(const std::string &programId) { + programId_ = programId; + setParameter(std::string("ProgramId"), programId); } -void DeleteCasterEpisodeGroupRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteCasterEpisodeGroupRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteCasterEpisodeGroupRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeleteCasterEpisodeRequest.cc b/live/src/model/DeleteCasterEpisodeRequest.cc index e9b219f32..ed4c68a1e 100644 --- a/live/src/model/DeleteCasterEpisodeRequest.cc +++ b/live/src/model/DeleteCasterEpisodeRequest.cc @@ -1,62 +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::DeleteCasterEpisodeRequest; - -DeleteCasterEpisodeRequest::DeleteCasterEpisodeRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteCasterEpisode") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteCasterEpisodeRequest::~DeleteCasterEpisodeRequest() -{} - -std::string DeleteCasterEpisodeRequest::getCasterId()const -{ - return casterId_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteCasterEpisodeRequest; + +DeleteCasterEpisodeRequest::DeleteCasterEpisodeRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteCasterEpisode") { + setMethod(HttpRequest::Method::Post); } -void DeleteCasterEpisodeRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +DeleteCasterEpisodeRequest::~DeleteCasterEpisodeRequest() {} + +std::string DeleteCasterEpisodeRequest::getCasterId() const { + return casterId_; } -long DeleteCasterEpisodeRequest::getOwnerId()const -{ - return ownerId_; +void DeleteCasterEpisodeRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void DeleteCasterEpisodeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteCasterEpisodeRequest::getOwnerId() const { + return ownerId_; } -std::string DeleteCasterEpisodeRequest::getEpisodeId()const -{ - return episodeId_; +void DeleteCasterEpisodeRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DeleteCasterEpisodeRequest::setEpisodeId(const std::string& episodeId) -{ - episodeId_ = episodeId; - setParameter("EpisodeId", episodeId); +std::string DeleteCasterEpisodeRequest::getEpisodeId() const { + return episodeId_; +} + +void DeleteCasterEpisodeRequest::setEpisodeId(const std::string &episodeId) { + episodeId_ = episodeId; + setParameter(std::string("EpisodeId"), episodeId); } diff --git a/live/src/model/DeleteCasterEpisodeResult.cc b/live/src/model/DeleteCasterEpisodeResult.cc index b4975786e..eb14bbd3f 100644 --- a/live/src/model/DeleteCasterEpisodeResult.cc +++ b/live/src/model/DeleteCasterEpisodeResult.cc @@ -39,10 +39,10 @@ void DeleteCasterEpisodeResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["CasterId"].isNull()) - casterId_ = value["CasterId"].asString(); if(!value["EpisodeId"].isNull()) episodeId_ = value["EpisodeId"].asString(); + if(!value["CasterId"].isNull()) + casterId_ = value["CasterId"].asString(); } diff --git a/live/src/model/DeleteCasterLayoutRequest.cc b/live/src/model/DeleteCasterLayoutRequest.cc index e378eab0b..81b050546 100644 --- a/live/src/model/DeleteCasterLayoutRequest.cc +++ b/live/src/model/DeleteCasterLayoutRequest.cc @@ -1,62 +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::DeleteCasterLayoutRequest; - -DeleteCasterLayoutRequest::DeleteCasterLayoutRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteCasterLayout") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteCasterLayoutRequest::~DeleteCasterLayoutRequest() -{} - -std::string DeleteCasterLayoutRequest::getLayoutId()const -{ - return layoutId_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteCasterLayoutRequest; + +DeleteCasterLayoutRequest::DeleteCasterLayoutRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteCasterLayout") { + setMethod(HttpRequest::Method::Post); } -void DeleteCasterLayoutRequest::setLayoutId(const std::string& layoutId) -{ - layoutId_ = layoutId; - setParameter("LayoutId", layoutId); +DeleteCasterLayoutRequest::~DeleteCasterLayoutRequest() {} + +std::string DeleteCasterLayoutRequest::getLayoutId() const { + return layoutId_; } -std::string DeleteCasterLayoutRequest::getCasterId()const -{ - return casterId_; +void DeleteCasterLayoutRequest::setLayoutId(const std::string &layoutId) { + layoutId_ = layoutId; + setParameter(std::string("LayoutId"), layoutId); } -void DeleteCasterLayoutRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string DeleteCasterLayoutRequest::getCasterId() const { + return casterId_; } -long DeleteCasterLayoutRequest::getOwnerId()const -{ - return ownerId_; +void DeleteCasterLayoutRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void DeleteCasterLayoutRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteCasterLayoutRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteCasterLayoutRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeleteCasterLayoutResult.cc b/live/src/model/DeleteCasterLayoutResult.cc index 84f7ac433..30d702d57 100644 --- a/live/src/model/DeleteCasterLayoutResult.cc +++ b/live/src/model/DeleteCasterLayoutResult.cc @@ -39,10 +39,10 @@ void DeleteCasterLayoutResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["CasterId"].isNull()) - casterId_ = value["CasterId"].asString(); if(!value["LayoutId"].isNull()) layoutId_ = value["LayoutId"].asString(); + if(!value["CasterId"].isNull()) + casterId_ = value["CasterId"].asString(); } diff --git a/live/src/model/DeleteCasterProgramRequest.cc b/live/src/model/DeleteCasterProgramRequest.cc index 055cd892e..1682cdb2c 100644 --- a/live/src/model/DeleteCasterProgramRequest.cc +++ b/live/src/model/DeleteCasterProgramRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteCasterProgramRequest; - -DeleteCasterProgramRequest::DeleteCasterProgramRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteCasterProgram") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteCasterProgramRequest::~DeleteCasterProgramRequest() -{} - -std::string DeleteCasterProgramRequest::getCasterId()const -{ - return casterId_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteCasterProgramRequest; + +DeleteCasterProgramRequest::DeleteCasterProgramRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteCasterProgram") { + setMethod(HttpRequest::Method::Post); } -void DeleteCasterProgramRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +DeleteCasterProgramRequest::~DeleteCasterProgramRequest() {} + +std::string DeleteCasterProgramRequest::getCasterId() const { + return casterId_; } -long DeleteCasterProgramRequest::getOwnerId()const -{ - return ownerId_; +void DeleteCasterProgramRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void DeleteCasterProgramRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteCasterProgramRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteCasterProgramRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeleteCasterRequest.cc b/live/src/model/DeleteCasterRequest.cc index 7777603b5..ea04527d8 100644 --- a/live/src/model/DeleteCasterRequest.cc +++ b/live/src/model/DeleteCasterRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteCasterRequest; - -DeleteCasterRequest::DeleteCasterRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteCaster") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteCasterRequest::~DeleteCasterRequest() -{} - -std::string DeleteCasterRequest::getCasterId()const -{ - return casterId_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteCasterRequest; + +DeleteCasterRequest::DeleteCasterRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteCaster") { + setMethod(HttpRequest::Method::Post); } -void DeleteCasterRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +DeleteCasterRequest::~DeleteCasterRequest() {} + +std::string DeleteCasterRequest::getCasterId() const { + return casterId_; } -long DeleteCasterRequest::getOwnerId()const -{ - return ownerId_; +void DeleteCasterRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void DeleteCasterRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteCasterRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteCasterRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeleteCasterSceneConfigRequest.cc b/live/src/model/DeleteCasterSceneConfigRequest.cc index 665ab9c98..fc393406b 100644 --- a/live/src/model/DeleteCasterSceneConfigRequest.cc +++ b/live/src/model/DeleteCasterSceneConfigRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteCasterSceneConfigRequest; - -DeleteCasterSceneConfigRequest::DeleteCasterSceneConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteCasterSceneConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteCasterSceneConfigRequest::~DeleteCasterSceneConfigRequest() -{} - -std::string DeleteCasterSceneConfigRequest::getType()const -{ - return type_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteCasterSceneConfigRequest; + +DeleteCasterSceneConfigRequest::DeleteCasterSceneConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteCasterSceneConfig") { + setMethod(HttpRequest::Method::Post); } -void DeleteCasterSceneConfigRequest::setType(const std::string& type) -{ - type_ = type; - setParameter("Type", type); +DeleteCasterSceneConfigRequest::~DeleteCasterSceneConfigRequest() {} + +std::string DeleteCasterSceneConfigRequest::getType() const { + return type_; } -std::string DeleteCasterSceneConfigRequest::getCasterId()const -{ - return casterId_; +void DeleteCasterSceneConfigRequest::setType(const std::string &type) { + type_ = type; + setParameter(std::string("Type"), type); } -void DeleteCasterSceneConfigRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string DeleteCasterSceneConfigRequest::getCasterId() const { + return casterId_; } -long DeleteCasterSceneConfigRequest::getOwnerId()const -{ - return ownerId_; +void DeleteCasterSceneConfigRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void DeleteCasterSceneConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteCasterSceneConfigRequest::getOwnerId() const { + return ownerId_; } -std::string DeleteCasterSceneConfigRequest::getSceneId()const -{ - return sceneId_; +void DeleteCasterSceneConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DeleteCasterSceneConfigRequest::setSceneId(const std::string& sceneId) -{ - sceneId_ = sceneId; - setParameter("SceneId", sceneId); +std::string DeleteCasterSceneConfigRequest::getSceneId() const { + return sceneId_; +} + +void DeleteCasterSceneConfigRequest::setSceneId(const std::string &sceneId) { + sceneId_ = sceneId; + setParameter(std::string("SceneId"), sceneId); } diff --git a/live/src/model/DeleteCasterVideoResourceRequest.cc b/live/src/model/DeleteCasterVideoResourceRequest.cc index 8bd58ae11..8cf8f53b1 100644 --- a/live/src/model/DeleteCasterVideoResourceRequest.cc +++ b/live/src/model/DeleteCasterVideoResourceRequest.cc @@ -1,62 +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::DeleteCasterVideoResourceRequest; - -DeleteCasterVideoResourceRequest::DeleteCasterVideoResourceRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteCasterVideoResource") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteCasterVideoResourceRequest::~DeleteCasterVideoResourceRequest() -{} - -std::string DeleteCasterVideoResourceRequest::getResourceId()const -{ - return resourceId_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteCasterVideoResourceRequest; + +DeleteCasterVideoResourceRequest::DeleteCasterVideoResourceRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteCasterVideoResource") { + setMethod(HttpRequest::Method::Post); } -void DeleteCasterVideoResourceRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setParameter("ResourceId", resourceId); +DeleteCasterVideoResourceRequest::~DeleteCasterVideoResourceRequest() {} + +std::string DeleteCasterVideoResourceRequest::getResourceId() const { + return resourceId_; } -std::string DeleteCasterVideoResourceRequest::getCasterId()const -{ - return casterId_; +void DeleteCasterVideoResourceRequest::setResourceId(const std::string &resourceId) { + resourceId_ = resourceId; + setParameter(std::string("ResourceId"), resourceId); } -void DeleteCasterVideoResourceRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string DeleteCasterVideoResourceRequest::getCasterId() const { + return casterId_; } -long DeleteCasterVideoResourceRequest::getOwnerId()const -{ - return ownerId_; +void DeleteCasterVideoResourceRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void DeleteCasterVideoResourceRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteCasterVideoResourceRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteCasterVideoResourceRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeleteCustomTemplateRequest.cc b/live/src/model/DeleteCustomTemplateRequest.cc index 36877be8d..812ccc50e 100644 --- a/live/src/model/DeleteCustomTemplateRequest.cc +++ b/live/src/model/DeleteCustomTemplateRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteCustomTemplateRequest; - -DeleteCustomTemplateRequest::DeleteCustomTemplateRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteCustomTemplate") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteCustomTemplateRequest::~DeleteCustomTemplateRequest() -{} - -std::string DeleteCustomTemplateRequest::get_Template()const -{ - return _template_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteCustomTemplateRequest; + +DeleteCustomTemplateRequest::DeleteCustomTemplateRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteCustomTemplate") { + setMethod(HttpRequest::Method::Post); } -void DeleteCustomTemplateRequest::set_Template(const std::string& _template) -{ - _template_ = _template; - setParameter("_Template", _template); +DeleteCustomTemplateRequest::~DeleteCustomTemplateRequest() {} + +std::string DeleteCustomTemplateRequest::get_Template() const { + return _template_; } -long DeleteCustomTemplateRequest::getOwnerId()const -{ - return ownerId_; +void DeleteCustomTemplateRequest::set_Template(const std::string &_template) { + _template_ = _template; + setParameter(std::string("Template"), _template); } -void DeleteCustomTemplateRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteCustomTemplateRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteCustomTemplateRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveAppRecordConfigRequest.cc b/live/src/model/DeleteLiveAppRecordConfigRequest.cc index 976e23285..fe0fb38f2 100644 --- a/live/src/model/DeleteLiveAppRecordConfigRequest.cc +++ b/live/src/model/DeleteLiveAppRecordConfigRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveAppRecordConfigRequest; - -DeleteLiveAppRecordConfigRequest::DeleteLiveAppRecordConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveAppRecordConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveAppRecordConfigRequest::~DeleteLiveAppRecordConfigRequest() -{} - -std::string DeleteLiveAppRecordConfigRequest::getAppName()const -{ - return appName_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveAppRecordConfigRequest; + +DeleteLiveAppRecordConfigRequest::DeleteLiveAppRecordConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLiveAppRecordConfig") { + setMethod(HttpRequest::Method::Post); } -void DeleteLiveAppRecordConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +DeleteLiveAppRecordConfigRequest::~DeleteLiveAppRecordConfigRequest() {} + +std::string DeleteLiveAppRecordConfigRequest::getAppName() const { + return appName_; } -std::string DeleteLiveAppRecordConfigRequest::getSecurityToken()const -{ - return securityToken_; +void DeleteLiveAppRecordConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DeleteLiveAppRecordConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DeleteLiveAppRecordConfigRequest::getSecurityToken() const { + return securityToken_; } -std::string DeleteLiveAppRecordConfigRequest::getStreamName()const -{ - return streamName_; +void DeleteLiveAppRecordConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DeleteLiveAppRecordConfigRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string DeleteLiveAppRecordConfigRequest::getStreamName() const { + return streamName_; } -std::string DeleteLiveAppRecordConfigRequest::getDomainName()const -{ - return domainName_; +void DeleteLiveAppRecordConfigRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void DeleteLiveAppRecordConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DeleteLiveAppRecordConfigRequest::getDomainName() const { + return domainName_; } -long DeleteLiveAppRecordConfigRequest::getOwnerId()const -{ - return ownerId_; +void DeleteLiveAppRecordConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteLiveAppRecordConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteLiveAppRecordConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteLiveAppRecordConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveAppSnapshotConfigRequest.cc b/live/src/model/DeleteLiveAppSnapshotConfigRequest.cc index 6221c4d14..108e92508 100644 --- a/live/src/model/DeleteLiveAppSnapshotConfigRequest.cc +++ b/live/src/model/DeleteLiveAppSnapshotConfigRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveAppSnapshotConfigRequest; - -DeleteLiveAppSnapshotConfigRequest::DeleteLiveAppSnapshotConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveAppSnapshotConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveAppSnapshotConfigRequest::~DeleteLiveAppSnapshotConfigRequest() -{} - -std::string DeleteLiveAppSnapshotConfigRequest::getAppName()const -{ - return appName_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveAppSnapshotConfigRequest; + +DeleteLiveAppSnapshotConfigRequest::DeleteLiveAppSnapshotConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLiveAppSnapshotConfig") { + setMethod(HttpRequest::Method::Post); } -void DeleteLiveAppSnapshotConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +DeleteLiveAppSnapshotConfigRequest::~DeleteLiveAppSnapshotConfigRequest() {} + +std::string DeleteLiveAppSnapshotConfigRequest::getAppName() const { + return appName_; } -std::string DeleteLiveAppSnapshotConfigRequest::getSecurityToken()const -{ - return securityToken_; +void DeleteLiveAppSnapshotConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DeleteLiveAppSnapshotConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DeleteLiveAppSnapshotConfigRequest::getSecurityToken() const { + return securityToken_; } -std::string DeleteLiveAppSnapshotConfigRequest::getDomainName()const -{ - return domainName_; +void DeleteLiveAppSnapshotConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DeleteLiveAppSnapshotConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DeleteLiveAppSnapshotConfigRequest::getDomainName() const { + return domainName_; } -long DeleteLiveAppSnapshotConfigRequest::getOwnerId()const -{ - return ownerId_; +void DeleteLiveAppSnapshotConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteLiveAppSnapshotConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteLiveAppSnapshotConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteLiveAppSnapshotConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveAudioAuditConfigRequest.cc b/live/src/model/DeleteLiveAudioAuditConfigRequest.cc index 259cdb47d..5bd90e502 100644 --- a/live/src/model/DeleteLiveAudioAuditConfigRequest.cc +++ b/live/src/model/DeleteLiveAudioAuditConfigRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveAudioAuditConfigRequest; - -DeleteLiveAudioAuditConfigRequest::DeleteLiveAudioAuditConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveAudioAuditConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveAudioAuditConfigRequest::~DeleteLiveAudioAuditConfigRequest() -{} - -std::string DeleteLiveAudioAuditConfigRequest::getAppName()const -{ - return appName_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveAudioAuditConfigRequest; + +DeleteLiveAudioAuditConfigRequest::DeleteLiveAudioAuditConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLiveAudioAuditConfig") { + setMethod(HttpRequest::Method::Post); } -void DeleteLiveAudioAuditConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +DeleteLiveAudioAuditConfigRequest::~DeleteLiveAudioAuditConfigRequest() {} + +std::string DeleteLiveAudioAuditConfigRequest::getAppName() const { + return appName_; } -std::string DeleteLiveAudioAuditConfigRequest::getStreamName()const -{ - return streamName_; +void DeleteLiveAudioAuditConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DeleteLiveAudioAuditConfigRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string DeleteLiveAudioAuditConfigRequest::getStreamName() const { + return streamName_; } -std::string DeleteLiveAudioAuditConfigRequest::getDomainName()const -{ - return domainName_; +void DeleteLiveAudioAuditConfigRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void DeleteLiveAudioAuditConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DeleteLiveAudioAuditConfigRequest::getDomainName() const { + return domainName_; } -long DeleteLiveAudioAuditConfigRequest::getOwnerId()const -{ - return ownerId_; +void DeleteLiveAudioAuditConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteLiveAudioAuditConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteLiveAudioAuditConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteLiveAudioAuditConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveAudioAuditNotifyConfigRequest.cc b/live/src/model/DeleteLiveAudioAuditNotifyConfigRequest.cc index fdc115f3f..ca4d68574 100644 --- a/live/src/model/DeleteLiveAudioAuditNotifyConfigRequest.cc +++ b/live/src/model/DeleteLiveAudioAuditNotifyConfigRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveAudioAuditNotifyConfigRequest; - -DeleteLiveAudioAuditNotifyConfigRequest::DeleteLiveAudioAuditNotifyConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveAudioAuditNotifyConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveAudioAuditNotifyConfigRequest::~DeleteLiveAudioAuditNotifyConfigRequest() -{} - -std::string DeleteLiveAudioAuditNotifyConfigRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveAudioAuditNotifyConfigRequest; + +DeleteLiveAudioAuditNotifyConfigRequest::DeleteLiveAudioAuditNotifyConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLiveAudioAuditNotifyConfig") { + setMethod(HttpRequest::Method::Post); } -void DeleteLiveAudioAuditNotifyConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DeleteLiveAudioAuditNotifyConfigRequest::~DeleteLiveAudioAuditNotifyConfigRequest() {} + +std::string DeleteLiveAudioAuditNotifyConfigRequest::getDomainName() const { + return domainName_; } -long DeleteLiveAudioAuditNotifyConfigRequest::getOwnerId()const -{ - return ownerId_; +void DeleteLiveAudioAuditNotifyConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteLiveAudioAuditNotifyConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteLiveAudioAuditNotifyConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteLiveAudioAuditNotifyConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveDetectNotifyConfigRequest.cc b/live/src/model/DeleteLiveDetectNotifyConfigRequest.cc index 1ec0fde00..78f5df14c 100644 --- a/live/src/model/DeleteLiveDetectNotifyConfigRequest.cc +++ b/live/src/model/DeleteLiveDetectNotifyConfigRequest.cc @@ -1,62 +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::DeleteLiveDetectNotifyConfigRequest; - -DeleteLiveDetectNotifyConfigRequest::DeleteLiveDetectNotifyConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveDetectNotifyConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveDetectNotifyConfigRequest::~DeleteLiveDetectNotifyConfigRequest() -{} - -std::string DeleteLiveDetectNotifyConfigRequest::getSecurityToken()const -{ - return securityToken_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveDetectNotifyConfigRequest; + +DeleteLiveDetectNotifyConfigRequest::DeleteLiveDetectNotifyConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLiveDetectNotifyConfig") { + setMethod(HttpRequest::Method::Post); } -void DeleteLiveDetectNotifyConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +DeleteLiveDetectNotifyConfigRequest::~DeleteLiveDetectNotifyConfigRequest() {} + +std::string DeleteLiveDetectNotifyConfigRequest::getSecurityToken() const { + return securityToken_; } -std::string DeleteLiveDetectNotifyConfigRequest::getDomainName()const -{ - return domainName_; +void DeleteLiveDetectNotifyConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DeleteLiveDetectNotifyConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DeleteLiveDetectNotifyConfigRequest::getDomainName() const { + return domainName_; } -long DeleteLiveDetectNotifyConfigRequest::getOwnerId()const -{ - return ownerId_; +void DeleteLiveDetectNotifyConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteLiveDetectNotifyConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteLiveDetectNotifyConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteLiveDetectNotifyConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveDomainMappingRequest.cc b/live/src/model/DeleteLiveDomainMappingRequest.cc index f65352a41..8712c283f 100644 --- a/live/src/model/DeleteLiveDomainMappingRequest.cc +++ b/live/src/model/DeleteLiveDomainMappingRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveDomainMappingRequest; - -DeleteLiveDomainMappingRequest::DeleteLiveDomainMappingRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveDomainMapping") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveDomainMappingRequest::~DeleteLiveDomainMappingRequest() -{} - -std::string DeleteLiveDomainMappingRequest::getSecurityToken()const -{ - return securityToken_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveDomainMappingRequest; + +DeleteLiveDomainMappingRequest::DeleteLiveDomainMappingRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLiveDomainMapping") { + setMethod(HttpRequest::Method::Post); } -void DeleteLiveDomainMappingRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +DeleteLiveDomainMappingRequest::~DeleteLiveDomainMappingRequest() {} + +std::string DeleteLiveDomainMappingRequest::getSecurityToken() const { + return securityToken_; } -std::string DeleteLiveDomainMappingRequest::getPushDomain()const -{ - return pushDomain_; +void DeleteLiveDomainMappingRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DeleteLiveDomainMappingRequest::setPushDomain(const std::string& pushDomain) -{ - pushDomain_ = pushDomain; - setParameter("PushDomain", pushDomain); +std::string DeleteLiveDomainMappingRequest::getPushDomain() const { + return pushDomain_; } -long DeleteLiveDomainMappingRequest::getOwnerId()const -{ - return ownerId_; +void DeleteLiveDomainMappingRequest::setPushDomain(const std::string &pushDomain) { + pushDomain_ = pushDomain; + setParameter(std::string("PushDomain"), pushDomain); } -void DeleteLiveDomainMappingRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteLiveDomainMappingRequest::getOwnerId() const { + return ownerId_; } -std::string DeleteLiveDomainMappingRequest::getPullDomain()const -{ - return pullDomain_; +void DeleteLiveDomainMappingRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DeleteLiveDomainMappingRequest::setPullDomain(const std::string& pullDomain) -{ - pullDomain_ = pullDomain; - setParameter("PullDomain", pullDomain); +std::string DeleteLiveDomainMappingRequest::getPullDomain() const { + return pullDomain_; +} + +void DeleteLiveDomainMappingRequest::setPullDomain(const std::string &pullDomain) { + pullDomain_ = pullDomain; + setParameter(std::string("PullDomain"), pullDomain); } diff --git a/live/src/model/DeleteLiveDomainPlayMappingRequest.cc b/live/src/model/DeleteLiveDomainPlayMappingRequest.cc index a1c9a8a11..a7cadf9f4 100644 --- a/live/src/model/DeleteLiveDomainPlayMappingRequest.cc +++ b/live/src/model/DeleteLiveDomainPlayMappingRequest.cc @@ -1,62 +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::DeleteLiveDomainPlayMappingRequest; - -DeleteLiveDomainPlayMappingRequest::DeleteLiveDomainPlayMappingRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveDomainPlayMapping") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveDomainPlayMappingRequest::~DeleteLiveDomainPlayMappingRequest() -{} - -std::string DeleteLiveDomainPlayMappingRequest::getPlayDomain()const -{ - return playDomain_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveDomainPlayMappingRequest; + +DeleteLiveDomainPlayMappingRequest::DeleteLiveDomainPlayMappingRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLiveDomainPlayMapping") { + setMethod(HttpRequest::Method::Post); } -void DeleteLiveDomainPlayMappingRequest::setPlayDomain(const std::string& playDomain) -{ - playDomain_ = playDomain; - setParameter("PlayDomain", playDomain); +DeleteLiveDomainPlayMappingRequest::~DeleteLiveDomainPlayMappingRequest() {} + +std::string DeleteLiveDomainPlayMappingRequest::getPlayDomain() const { + return playDomain_; } -long DeleteLiveDomainPlayMappingRequest::getOwnerId()const -{ - return ownerId_; +void DeleteLiveDomainPlayMappingRequest::setPlayDomain(const std::string &playDomain) { + playDomain_ = playDomain; + setParameter(std::string("PlayDomain"), playDomain); } -void DeleteLiveDomainPlayMappingRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteLiveDomainPlayMappingRequest::getOwnerId() const { + return ownerId_; } -std::string DeleteLiveDomainPlayMappingRequest::getPullDomain()const -{ - return pullDomain_; +void DeleteLiveDomainPlayMappingRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DeleteLiveDomainPlayMappingRequest::setPullDomain(const std::string& pullDomain) -{ - pullDomain_ = pullDomain; - setParameter("PullDomain", pullDomain); +std::string DeleteLiveDomainPlayMappingRequest::getPullDomain() const { + return pullDomain_; +} + +void DeleteLiveDomainPlayMappingRequest::setPullDomain(const std::string &pullDomain) { + pullDomain_ = pullDomain; + setParameter(std::string("PullDomain"), pullDomain); } diff --git a/live/src/model/DeleteLiveDomainRequest.cc b/live/src/model/DeleteLiveDomainRequest.cc index 6030b41c9..abd9fa6c6 100644 --- a/live/src/model/DeleteLiveDomainRequest.cc +++ b/live/src/model/DeleteLiveDomainRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveDomainRequest; - -DeleteLiveDomainRequest::DeleteLiveDomainRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveDomain") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveDomainRequest::~DeleteLiveDomainRequest() -{} - -std::string DeleteLiveDomainRequest::getOwnerAccount()const -{ - return ownerAccount_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveDomainRequest; + +DeleteLiveDomainRequest::DeleteLiveDomainRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLiveDomain") { + setMethod(HttpRequest::Method::Post); } -void DeleteLiveDomainRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setParameter("OwnerAccount", ownerAccount); +DeleteLiveDomainRequest::~DeleteLiveDomainRequest() {} + +std::string DeleteLiveDomainRequest::getOwnerAccount() const { + return ownerAccount_; } -std::string DeleteLiveDomainRequest::getDomainName()const -{ - return domainName_; +void DeleteLiveDomainRequest::setOwnerAccount(const std::string &ownerAccount) { + ownerAccount_ = ownerAccount; + setParameter(std::string("OwnerAccount"), ownerAccount); } -void DeleteLiveDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DeleteLiveDomainRequest::getDomainName() const { + return domainName_; } -long DeleteLiveDomainRequest::getOwnerId()const -{ - return ownerId_; +void DeleteLiveDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteLiveDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteLiveDomainRequest::getOwnerId() const { + return ownerId_; } -std::string DeleteLiveDomainRequest::getSecurityToken()const -{ - return securityToken_; +void DeleteLiveDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DeleteLiveDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DeleteLiveDomainRequest::getSecurityToken() const { + return securityToken_; +} + +void DeleteLiveDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/live/src/model/DeleteLiveEdgeTransferRequest.cc b/live/src/model/DeleteLiveEdgeTransferRequest.cc index 50d8d9920..3365e11d0 100644 --- a/live/src/model/DeleteLiveEdgeTransferRequest.cc +++ b/live/src/model/DeleteLiveEdgeTransferRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveEdgeTransferRequest; - -DeleteLiveEdgeTransferRequest::DeleteLiveEdgeTransferRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveEdgeTransfer") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveEdgeTransferRequest::~DeleteLiveEdgeTransferRequest() -{} - -std::string DeleteLiveEdgeTransferRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveEdgeTransferRequest; + +DeleteLiveEdgeTransferRequest::DeleteLiveEdgeTransferRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLiveEdgeTransfer") { + setMethod(HttpRequest::Method::Post); } -void DeleteLiveEdgeTransferRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DeleteLiveEdgeTransferRequest::~DeleteLiveEdgeTransferRequest() {} + +std::string DeleteLiveEdgeTransferRequest::getDomainName() const { + return domainName_; } -long DeleteLiveEdgeTransferRequest::getOwnerId()const -{ - return ownerId_; +void DeleteLiveEdgeTransferRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteLiveEdgeTransferRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteLiveEdgeTransferRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteLiveEdgeTransferRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveLazyPullStreamInfoConfigRequest.cc b/live/src/model/DeleteLiveLazyPullStreamInfoConfigRequest.cc index 60541463c..601361994 100644 --- a/live/src/model/DeleteLiveLazyPullStreamInfoConfigRequest.cc +++ b/live/src/model/DeleteLiveLazyPullStreamInfoConfigRequest.cc @@ -1,62 +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::DeleteLiveLazyPullStreamInfoConfigRequest; - -DeleteLiveLazyPullStreamInfoConfigRequest::DeleteLiveLazyPullStreamInfoConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveLazyPullStreamInfoConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveLazyPullStreamInfoConfigRequest::~DeleteLiveLazyPullStreamInfoConfigRequest() -{} - -std::string DeleteLiveLazyPullStreamInfoConfigRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveLazyPullStreamInfoConfigRequest; + +DeleteLiveLazyPullStreamInfoConfigRequest::DeleteLiveLazyPullStreamInfoConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLiveLazyPullStreamInfoConfig") { + setMethod(HttpRequest::Method::Post); } -void DeleteLiveLazyPullStreamInfoConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DeleteLiveLazyPullStreamInfoConfigRequest::~DeleteLiveLazyPullStreamInfoConfigRequest() {} + +std::string DeleteLiveLazyPullStreamInfoConfigRequest::getDomainName() const { + return domainName_; } -long DeleteLiveLazyPullStreamInfoConfigRequest::getOwnerId()const -{ - return ownerId_; +void DeleteLiveLazyPullStreamInfoConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteLiveLazyPullStreamInfoConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteLiveLazyPullStreamInfoConfigRequest::getOwnerId() const { + return ownerId_; } -std::string DeleteLiveLazyPullStreamInfoConfigRequest::getAppName()const -{ - return appName_; +void DeleteLiveLazyPullStreamInfoConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DeleteLiveLazyPullStreamInfoConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string DeleteLiveLazyPullStreamInfoConfigRequest::getAppName() const { + return appName_; +} + +void DeleteLiveLazyPullStreamInfoConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } diff --git a/live/src/model/DeleteLivePullStreamInfoConfigRequest.cc b/live/src/model/DeleteLivePullStreamInfoConfigRequest.cc index 6389eadbe..956c548bf 100644 --- a/live/src/model/DeleteLivePullStreamInfoConfigRequest.cc +++ b/live/src/model/DeleteLivePullStreamInfoConfigRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLivePullStreamInfoConfigRequest; - -DeleteLivePullStreamInfoConfigRequest::DeleteLivePullStreamInfoConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLivePullStreamInfoConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLivePullStreamInfoConfigRequest::~DeleteLivePullStreamInfoConfigRequest() -{} - -std::string DeleteLivePullStreamInfoConfigRequest::getAppName()const -{ - return appName_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLivePullStreamInfoConfigRequest; + +DeleteLivePullStreamInfoConfigRequest::DeleteLivePullStreamInfoConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLivePullStreamInfoConfig") { + setMethod(HttpRequest::Method::Post); } -void DeleteLivePullStreamInfoConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +DeleteLivePullStreamInfoConfigRequest::~DeleteLivePullStreamInfoConfigRequest() {} + +std::string DeleteLivePullStreamInfoConfigRequest::getAppName() const { + return appName_; } -std::string DeleteLivePullStreamInfoConfigRequest::getStreamName()const -{ - return streamName_; +void DeleteLivePullStreamInfoConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DeleteLivePullStreamInfoConfigRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string DeleteLivePullStreamInfoConfigRequest::getStreamName() const { + return streamName_; } -std::string DeleteLivePullStreamInfoConfigRequest::getDomainName()const -{ - return domainName_; +void DeleteLivePullStreamInfoConfigRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void DeleteLivePullStreamInfoConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DeleteLivePullStreamInfoConfigRequest::getDomainName() const { + return domainName_; } -long DeleteLivePullStreamInfoConfigRequest::getOwnerId()const -{ - return ownerId_; +void DeleteLivePullStreamInfoConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteLivePullStreamInfoConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteLivePullStreamInfoConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteLivePullStreamInfoConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveRealTimeLogLogstoreRequest.cc b/live/src/model/DeleteLiveRealTimeLogLogstoreRequest.cc index d0f225685..15e82b43a 100644 --- a/live/src/model/DeleteLiveRealTimeLogLogstoreRequest.cc +++ b/live/src/model/DeleteLiveRealTimeLogLogstoreRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveRealTimeLogLogstoreRequest; - -DeleteLiveRealTimeLogLogstoreRequest::DeleteLiveRealTimeLogLogstoreRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveRealTimeLogLogstore") -{ - setMethod(HttpRequest::Method::Get); -} - -DeleteLiveRealTimeLogLogstoreRequest::~DeleteLiveRealTimeLogLogstoreRequest() -{} - -std::string DeleteLiveRealTimeLogLogstoreRequest::getProject()const -{ - return project_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveRealTimeLogLogstoreRequest; + +DeleteLiveRealTimeLogLogstoreRequest::DeleteLiveRealTimeLogLogstoreRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLiveRealTimeLogLogstore") { + setMethod(HttpRequest::Method::Get); } -void DeleteLiveRealTimeLogLogstoreRequest::setProject(const std::string& project) -{ - project_ = project; - setParameter("Project", project); +DeleteLiveRealTimeLogLogstoreRequest::~DeleteLiveRealTimeLogLogstoreRequest() {} + +std::string DeleteLiveRealTimeLogLogstoreRequest::getProject() const { + return project_; } -long DeleteLiveRealTimeLogLogstoreRequest::getOwnerId()const -{ - return ownerId_; +void DeleteLiveRealTimeLogLogstoreRequest::setProject(const std::string &project) { + project_ = project; + setParameter(std::string("Project"), project); } -void DeleteLiveRealTimeLogLogstoreRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteLiveRealTimeLogLogstoreRequest::getOwnerId() const { + return ownerId_; } -std::string DeleteLiveRealTimeLogLogstoreRequest::getRegion()const -{ - return region_; +void DeleteLiveRealTimeLogLogstoreRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DeleteLiveRealTimeLogLogstoreRequest::setRegion(const std::string& region) -{ - region_ = region; - setParameter("Region", region); +std::string DeleteLiveRealTimeLogLogstoreRequest::getRegion() const { + return region_; } -std::string DeleteLiveRealTimeLogLogstoreRequest::getLogstore()const -{ - return logstore_; +void DeleteLiveRealTimeLogLogstoreRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); } -void DeleteLiveRealTimeLogLogstoreRequest::setLogstore(const std::string& logstore) -{ - logstore_ = logstore; - setParameter("Logstore", logstore); +std::string DeleteLiveRealTimeLogLogstoreRequest::getLogstore() const { + return logstore_; +} + +void DeleteLiveRealTimeLogLogstoreRequest::setLogstore(const std::string &logstore) { + logstore_ = logstore; + setParameter(std::string("Logstore"), logstore); } diff --git a/live/src/model/DeleteLiveRealtimeLogDeliveryRequest.cc b/live/src/model/DeleteLiveRealtimeLogDeliveryRequest.cc index 98e7bbe2d..4948a5fc4 100644 --- a/live/src/model/DeleteLiveRealtimeLogDeliveryRequest.cc +++ b/live/src/model/DeleteLiveRealtimeLogDeliveryRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveRealtimeLogDeliveryRequest; - -DeleteLiveRealtimeLogDeliveryRequest::DeleteLiveRealtimeLogDeliveryRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveRealtimeLogDelivery") -{ - setMethod(HttpRequest::Method::Get); -} - -DeleteLiveRealtimeLogDeliveryRequest::~DeleteLiveRealtimeLogDeliveryRequest() -{} - -std::string DeleteLiveRealtimeLogDeliveryRequest::getProject()const -{ - return project_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveRealtimeLogDeliveryRequest; + +DeleteLiveRealtimeLogDeliveryRequest::DeleteLiveRealtimeLogDeliveryRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLiveRealtimeLogDelivery") { + setMethod(HttpRequest::Method::Get); } -void DeleteLiveRealtimeLogDeliveryRequest::setProject(const std::string& project) -{ - project_ = project; - setParameter("Project", project); +DeleteLiveRealtimeLogDeliveryRequest::~DeleteLiveRealtimeLogDeliveryRequest() {} + +std::string DeleteLiveRealtimeLogDeliveryRequest::getProject() const { + return project_; } -std::string DeleteLiveRealtimeLogDeliveryRequest::getDomainName()const -{ - return domainName_; +void DeleteLiveRealtimeLogDeliveryRequest::setProject(const std::string &project) { + project_ = project; + setParameter(std::string("Project"), project); } -void DeleteLiveRealtimeLogDeliveryRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DeleteLiveRealtimeLogDeliveryRequest::getDomainName() const { + return domainName_; } -long DeleteLiveRealtimeLogDeliveryRequest::getOwnerId()const -{ - return ownerId_; +void DeleteLiveRealtimeLogDeliveryRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteLiveRealtimeLogDeliveryRequest::getOwnerId() const { + return ownerId_; } -std::string DeleteLiveRealtimeLogDeliveryRequest::getRegion()const -{ - return region_; +void DeleteLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DeleteLiveRealtimeLogDeliveryRequest::setRegion(const std::string& region) -{ - region_ = region; - setParameter("Region", region); +std::string DeleteLiveRealtimeLogDeliveryRequest::getRegion() const { + return region_; } -std::string DeleteLiveRealtimeLogDeliveryRequest::getLogstore()const -{ - return logstore_; +void DeleteLiveRealtimeLogDeliveryRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); } -void DeleteLiveRealtimeLogDeliveryRequest::setLogstore(const std::string& logstore) -{ - logstore_ = logstore; - setParameter("Logstore", logstore); +std::string DeleteLiveRealtimeLogDeliveryRequest::getLogstore() const { + return logstore_; +} + +void DeleteLiveRealtimeLogDeliveryRequest::setLogstore(const std::string &logstore) { + logstore_ = logstore; + setParameter(std::string("Logstore"), logstore); } diff --git a/live/src/model/DeleteLiveRecordNotifyConfigRequest.cc b/live/src/model/DeleteLiveRecordNotifyConfigRequest.cc index 5a30e218e..4702a304b 100644 --- a/live/src/model/DeleteLiveRecordNotifyConfigRequest.cc +++ b/live/src/model/DeleteLiveRecordNotifyConfigRequest.cc @@ -1,62 +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::DeleteLiveRecordNotifyConfigRequest; - -DeleteLiveRecordNotifyConfigRequest::DeleteLiveRecordNotifyConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveRecordNotifyConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveRecordNotifyConfigRequest::~DeleteLiveRecordNotifyConfigRequest() -{} - -std::string DeleteLiveRecordNotifyConfigRequest::getSecurityToken()const -{ - return securityToken_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveRecordNotifyConfigRequest; + +DeleteLiveRecordNotifyConfigRequest::DeleteLiveRecordNotifyConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLiveRecordNotifyConfig") { + setMethod(HttpRequest::Method::Post); } -void DeleteLiveRecordNotifyConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +DeleteLiveRecordNotifyConfigRequest::~DeleteLiveRecordNotifyConfigRequest() {} + +std::string DeleteLiveRecordNotifyConfigRequest::getSecurityToken() const { + return securityToken_; } -std::string DeleteLiveRecordNotifyConfigRequest::getDomainName()const -{ - return domainName_; +void DeleteLiveRecordNotifyConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DeleteLiveRecordNotifyConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DeleteLiveRecordNotifyConfigRequest::getDomainName() const { + return domainName_; } -long DeleteLiveRecordNotifyConfigRequest::getOwnerId()const -{ - return ownerId_; +void DeleteLiveRecordNotifyConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteLiveRecordNotifyConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveRecordVodConfigRequest.cc b/live/src/model/DeleteLiveRecordVodConfigRequest.cc index b10889808..9b7be5057 100644 --- a/live/src/model/DeleteLiveRecordVodConfigRequest.cc +++ b/live/src/model/DeleteLiveRecordVodConfigRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveRecordVodConfigRequest; - -DeleteLiveRecordVodConfigRequest::DeleteLiveRecordVodConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveRecordVodConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveRecordVodConfigRequest::~DeleteLiveRecordVodConfigRequest() -{} - -std::string DeleteLiveRecordVodConfigRequest::getAppName()const -{ - return appName_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveRecordVodConfigRequest; + +DeleteLiveRecordVodConfigRequest::DeleteLiveRecordVodConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLiveRecordVodConfig") { + setMethod(HttpRequest::Method::Post); } -void DeleteLiveRecordVodConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +DeleteLiveRecordVodConfigRequest::~DeleteLiveRecordVodConfigRequest() {} + +std::string DeleteLiveRecordVodConfigRequest::getAppName() const { + return appName_; } -std::string DeleteLiveRecordVodConfigRequest::getStreamName()const -{ - return streamName_; +void DeleteLiveRecordVodConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DeleteLiveRecordVodConfigRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string DeleteLiveRecordVodConfigRequest::getStreamName() const { + return streamName_; } -std::string DeleteLiveRecordVodConfigRequest::getDomainName()const -{ - return domainName_; +void DeleteLiveRecordVodConfigRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void DeleteLiveRecordVodConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DeleteLiveRecordVodConfigRequest::getDomainName() const { + return domainName_; } -long DeleteLiveRecordVodConfigRequest::getOwnerId()const -{ - return ownerId_; +void DeleteLiveRecordVodConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteLiveRecordVodConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteLiveRecordVodConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteLiveRecordVodConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveSnapshotDetectPornConfigRequest.cc b/live/src/model/DeleteLiveSnapshotDetectPornConfigRequest.cc index 1fd29bc33..37733e1d6 100644 --- a/live/src/model/DeleteLiveSnapshotDetectPornConfigRequest.cc +++ b/live/src/model/DeleteLiveSnapshotDetectPornConfigRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveSnapshotDetectPornConfigRequest; - -DeleteLiveSnapshotDetectPornConfigRequest::DeleteLiveSnapshotDetectPornConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveSnapshotDetectPornConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveSnapshotDetectPornConfigRequest::~DeleteLiveSnapshotDetectPornConfigRequest() -{} - -std::string DeleteLiveSnapshotDetectPornConfigRequest::getAppName()const -{ - return appName_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveSnapshotDetectPornConfigRequest; + +DeleteLiveSnapshotDetectPornConfigRequest::DeleteLiveSnapshotDetectPornConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLiveSnapshotDetectPornConfig") { + setMethod(HttpRequest::Method::Post); } -void DeleteLiveSnapshotDetectPornConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +DeleteLiveSnapshotDetectPornConfigRequest::~DeleteLiveSnapshotDetectPornConfigRequest() {} + +std::string DeleteLiveSnapshotDetectPornConfigRequest::getAppName() const { + return appName_; } -std::string DeleteLiveSnapshotDetectPornConfigRequest::getSecurityToken()const -{ - return securityToken_; +void DeleteLiveSnapshotDetectPornConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DeleteLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DeleteLiveSnapshotDetectPornConfigRequest::getSecurityToken() const { + return securityToken_; } -std::string DeleteLiveSnapshotDetectPornConfigRequest::getDomainName()const -{ - return domainName_; +void DeleteLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DeleteLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DeleteLiveSnapshotDetectPornConfigRequest::getDomainName() const { + return domainName_; } -long DeleteLiveSnapshotDetectPornConfigRequest::getOwnerId()const -{ - return ownerId_; +void DeleteLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteLiveSnapshotDetectPornConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveSpecificStagingConfigRequest.cc b/live/src/model/DeleteLiveSpecificStagingConfigRequest.cc index 1712359c8..68a607b43 100644 --- a/live/src/model/DeleteLiveSpecificStagingConfigRequest.cc +++ b/live/src/model/DeleteLiveSpecificStagingConfigRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveSpecificStagingConfigRequest; - -DeleteLiveSpecificStagingConfigRequest::DeleteLiveSpecificStagingConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveSpecificStagingConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveSpecificStagingConfigRequest::~DeleteLiveSpecificStagingConfigRequest() -{} - -std::string DeleteLiveSpecificStagingConfigRequest::getSecurityToken()const -{ - return securityToken_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveSpecificStagingConfigRequest; + +DeleteLiveSpecificStagingConfigRequest::DeleteLiveSpecificStagingConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLiveSpecificStagingConfig") { + setMethod(HttpRequest::Method::Post); } -void DeleteLiveSpecificStagingConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +DeleteLiveSpecificStagingConfigRequest::~DeleteLiveSpecificStagingConfigRequest() {} + +std::string DeleteLiveSpecificStagingConfigRequest::getSecurityToken() const { + return securityToken_; } -std::string DeleteLiveSpecificStagingConfigRequest::getDomainName()const -{ - return domainName_; +void DeleteLiveSpecificStagingConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DeleteLiveSpecificStagingConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DeleteLiveSpecificStagingConfigRequest::getDomainName() const { + return domainName_; } -long DeleteLiveSpecificStagingConfigRequest::getOwnerId()const -{ - return ownerId_; +void DeleteLiveSpecificStagingConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteLiveSpecificStagingConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteLiveSpecificStagingConfigRequest::getOwnerId() const { + return ownerId_; } -std::string DeleteLiveSpecificStagingConfigRequest::getConfigId()const -{ - return configId_; +void DeleteLiveSpecificStagingConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DeleteLiveSpecificStagingConfigRequest::setConfigId(const std::string& configId) -{ - configId_ = configId; - setParameter("ConfigId", configId); +std::string DeleteLiveSpecificStagingConfigRequest::getConfigId() const { + return configId_; +} + +void DeleteLiveSpecificStagingConfigRequest::setConfigId(const std::string &configId) { + configId_ = configId; + setParameter(std::string("ConfigId"), configId); } diff --git a/live/src/model/DeleteLiveStreamMonitorRequest.cc b/live/src/model/DeleteLiveStreamMonitorRequest.cc index 71ae7afbc..ecacab25f 100644 --- a/live/src/model/DeleteLiveStreamMonitorRequest.cc +++ b/live/src/model/DeleteLiveStreamMonitorRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveStreamMonitorRequest; - -DeleteLiveStreamMonitorRequest::DeleteLiveStreamMonitorRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamMonitor") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveStreamMonitorRequest::~DeleteLiveStreamMonitorRequest() -{} - -std::string DeleteLiveStreamMonitorRequest::getMonitorId()const -{ - return monitorId_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveStreamMonitorRequest; + +DeleteLiveStreamMonitorRequest::DeleteLiveStreamMonitorRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamMonitor") { + setMethod(HttpRequest::Method::Post); } -void DeleteLiveStreamMonitorRequest::setMonitorId(const std::string& monitorId) -{ - monitorId_ = monitorId; - setParameter("MonitorId", monitorId); +DeleteLiveStreamMonitorRequest::~DeleteLiveStreamMonitorRequest() {} + +std::string DeleteLiveStreamMonitorRequest::getMonitorId() const { + return monitorId_; } -long DeleteLiveStreamMonitorRequest::getOwnerId()const -{ - return ownerId_; +void DeleteLiveStreamMonitorRequest::setMonitorId(const std::string &monitorId) { + monitorId_ = monitorId; + setParameter(std::string("MonitorId"), monitorId); } -void DeleteLiveStreamMonitorRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteLiveStreamMonitorRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteLiveStreamMonitorRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveStreamRecordIndexFilesRequest.cc b/live/src/model/DeleteLiveStreamRecordIndexFilesRequest.cc index 01f74652f..9a47ae20f 100644 --- a/live/src/model/DeleteLiveStreamRecordIndexFilesRequest.cc +++ b/live/src/model/DeleteLiveStreamRecordIndexFilesRequest.cc @@ -1,97 +1,80 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveStreamRecordIndexFilesRequest; - -DeleteLiveStreamRecordIndexFilesRequest::DeleteLiveStreamRecordIndexFilesRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamRecordIndexFiles") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveStreamRecordIndexFilesRequest::~DeleteLiveStreamRecordIndexFilesRequest() -{} - -std::string DeleteLiveStreamRecordIndexFilesRequest::getRemoveFile()const -{ - return removeFile_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveStreamRecordIndexFilesRequest; + +DeleteLiveStreamRecordIndexFilesRequest::DeleteLiveStreamRecordIndexFilesRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamRecordIndexFiles") { + setMethod(HttpRequest::Method::Post); } -void DeleteLiveStreamRecordIndexFilesRequest::setRemoveFile(const std::string& removeFile) -{ - removeFile_ = removeFile; - setParameter("RemoveFile", removeFile); +DeleteLiveStreamRecordIndexFilesRequest::~DeleteLiveStreamRecordIndexFilesRequest() {} + +std::string DeleteLiveStreamRecordIndexFilesRequest::getRemoveFile() const { + return removeFile_; } -std::string DeleteLiveStreamRecordIndexFilesRequest::getAppName()const -{ - return appName_; +void DeleteLiveStreamRecordIndexFilesRequest::setRemoveFile(const std::string &removeFile) { + removeFile_ = removeFile; + setParameter(std::string("RemoveFile"), removeFile); } -void DeleteLiveStreamRecordIndexFilesRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string DeleteLiveStreamRecordIndexFilesRequest::getAppName() const { + return appName_; } -std::string DeleteLiveStreamRecordIndexFilesRequest::getStreamName()const -{ - return streamName_; +void DeleteLiveStreamRecordIndexFilesRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DeleteLiveStreamRecordIndexFilesRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string DeleteLiveStreamRecordIndexFilesRequest::getStreamName() const { + return streamName_; } -std::string DeleteLiveStreamRecordIndexFilesRequest::getDomainName()const -{ - return domainName_; +void DeleteLiveStreamRecordIndexFilesRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void DeleteLiveStreamRecordIndexFilesRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DeleteLiveStreamRecordIndexFilesRequest::getDomainName() const { + return domainName_; } -long DeleteLiveStreamRecordIndexFilesRequest::getOwnerId()const -{ - return ownerId_; +void DeleteLiveStreamRecordIndexFilesRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteLiveStreamRecordIndexFilesRequest::getOwnerId() const { + return ownerId_; } -std::vector DeleteLiveStreamRecordIndexFilesRequest::getRecordId()const -{ - return recordId_; +void DeleteLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DeleteLiveStreamRecordIndexFilesRequest::setRecordId(const std::vector& recordId) -{ - recordId_ = recordId; - for(int dep1 = 0; dep1!= recordId.size(); dep1++) { - setParameter("RecordId."+ std::to_string(dep1), recordId.at(dep1)); - } +std::vector DeleteLiveStreamRecordIndexFilesRequest::getRecordId() const { + return recordId_; +} + +void DeleteLiveStreamRecordIndexFilesRequest::setRecordId(const std::vector &recordId) { + recordId_ = recordId; } diff --git a/live/src/model/DeleteLiveStreamRecordIndexFilesResult.cc b/live/src/model/DeleteLiveStreamRecordIndexFilesResult.cc index 86c32c261..48b98d4db 100644 --- a/live/src/model/DeleteLiveStreamRecordIndexFilesResult.cc +++ b/live/src/model/DeleteLiveStreamRecordIndexFilesResult.cc @@ -43,16 +43,16 @@ void DeleteLiveStreamRecordIndexFilesResult::parse(const std::string &payload) for (auto valueRecordDeleteInfoListRecordDeleteInfo : allRecordDeleteInfoListNode) { RecordDeleteInfo recordDeleteInfoListObject; - if(!valueRecordDeleteInfoListRecordDeleteInfo["RecordId"].isNull()) - recordDeleteInfoListObject.recordId = valueRecordDeleteInfoListRecordDeleteInfo["RecordId"].asString(); if(!valueRecordDeleteInfoListRecordDeleteInfo["Message"].isNull()) recordDeleteInfoListObject.message = valueRecordDeleteInfoListRecordDeleteInfo["Message"].asString(); + if(!valueRecordDeleteInfoListRecordDeleteInfo["RecordId"].isNull()) + recordDeleteInfoListObject.recordId = valueRecordDeleteInfoListRecordDeleteInfo["RecordId"].asString(); recordDeleteInfoList_.push_back(recordDeleteInfoListObject); } - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); if(!value["Code"].isNull()) code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); } diff --git a/live/src/model/DeleteLiveStreamTranscodeRequest.cc b/live/src/model/DeleteLiveStreamTranscodeRequest.cc index 9500da683..5104240dc 100644 --- a/live/src/model/DeleteLiveStreamTranscodeRequest.cc +++ b/live/src/model/DeleteLiveStreamTranscodeRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveStreamTranscodeRequest; - -DeleteLiveStreamTranscodeRequest::DeleteLiveStreamTranscodeRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamTranscode") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveStreamTranscodeRequest::~DeleteLiveStreamTranscodeRequest() -{} - -std::string DeleteLiveStreamTranscodeRequest::get_Template()const -{ - return _template_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveStreamTranscodeRequest; + +DeleteLiveStreamTranscodeRequest::DeleteLiveStreamTranscodeRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamTranscode") { + setMethod(HttpRequest::Method::Post); } -void DeleteLiveStreamTranscodeRequest::set_Template(const std::string& _template) -{ - _template_ = _template; - setParameter("_Template", _template); +DeleteLiveStreamTranscodeRequest::~DeleteLiveStreamTranscodeRequest() {} + +std::string DeleteLiveStreamTranscodeRequest::get_Template() const { + return _template_; } -std::string DeleteLiveStreamTranscodeRequest::getSecurityToken()const -{ - return securityToken_; +void DeleteLiveStreamTranscodeRequest::set_Template(const std::string &_template) { + _template_ = _template; + setParameter(std::string("Template"), _template); } -void DeleteLiveStreamTranscodeRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DeleteLiveStreamTranscodeRequest::getSecurityToken() const { + return securityToken_; } -std::string DeleteLiveStreamTranscodeRequest::getApp()const -{ - return app_; +void DeleteLiveStreamTranscodeRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DeleteLiveStreamTranscodeRequest::setApp(const std::string& app) -{ - app_ = app; - setParameter("App", app); +std::string DeleteLiveStreamTranscodeRequest::getApp() const { + return app_; } -long DeleteLiveStreamTranscodeRequest::getOwnerId()const -{ - return ownerId_; +void DeleteLiveStreamTranscodeRequest::setApp(const std::string &app) { + app_ = app; + setParameter(std::string("App"), app); } -void DeleteLiveStreamTranscodeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteLiveStreamTranscodeRequest::getOwnerId() const { + return ownerId_; } -std::string DeleteLiveStreamTranscodeRequest::getDomain()const -{ - return domain_; +void DeleteLiveStreamTranscodeRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DeleteLiveStreamTranscodeRequest::setDomain(const std::string& domain) -{ - domain_ = domain; - setParameter("Domain", domain); +std::string DeleteLiveStreamTranscodeRequest::getDomain() const { + return domain_; +} + +void DeleteLiveStreamTranscodeRequest::setDomain(const std::string &domain) { + domain_ = domain; + setParameter(std::string("Domain"), domain); } diff --git a/live/src/model/DeleteLiveStreamWatermarkRequest.cc b/live/src/model/DeleteLiveStreamWatermarkRequest.cc index 4d2a39974..cf59621db 100644 --- a/live/src/model/DeleteLiveStreamWatermarkRequest.cc +++ b/live/src/model/DeleteLiveStreamWatermarkRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveStreamWatermarkRequest; - -DeleteLiveStreamWatermarkRequest::DeleteLiveStreamWatermarkRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamWatermark") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveStreamWatermarkRequest::~DeleteLiveStreamWatermarkRequest() -{} - -long DeleteLiveStreamWatermarkRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveStreamWatermarkRequest; + +DeleteLiveStreamWatermarkRequest::DeleteLiveStreamWatermarkRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamWatermark") { + setMethod(HttpRequest::Method::Post); } -void DeleteLiveStreamWatermarkRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +DeleteLiveStreamWatermarkRequest::~DeleteLiveStreamWatermarkRequest() {} + +long DeleteLiveStreamWatermarkRequest::getOwnerId() const { + return ownerId_; } -std::string DeleteLiveStreamWatermarkRequest::getTemplateId()const -{ - return templateId_; +void DeleteLiveStreamWatermarkRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DeleteLiveStreamWatermarkRequest::setTemplateId(const std::string& templateId) -{ - templateId_ = templateId; - setParameter("TemplateId", templateId); +std::string DeleteLiveStreamWatermarkRequest::getTemplateId() const { + return templateId_; +} + +void DeleteLiveStreamWatermarkRequest::setTemplateId(const std::string &templateId) { + templateId_ = templateId; + setParameter(std::string("TemplateId"), templateId); } diff --git a/live/src/model/DeleteLiveStreamWatermarkRuleRequest.cc b/live/src/model/DeleteLiveStreamWatermarkRuleRequest.cc index 09a3b3450..a492c0c21 100644 --- a/live/src/model/DeleteLiveStreamWatermarkRuleRequest.cc +++ b/live/src/model/DeleteLiveStreamWatermarkRuleRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveStreamWatermarkRuleRequest; - -DeleteLiveStreamWatermarkRuleRequest::DeleteLiveStreamWatermarkRuleRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamWatermarkRule") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveStreamWatermarkRuleRequest::~DeleteLiveStreamWatermarkRuleRequest() -{} - -std::string DeleteLiveStreamWatermarkRuleRequest::getStream()const -{ - return stream_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveStreamWatermarkRuleRequest; + +DeleteLiveStreamWatermarkRuleRequest::DeleteLiveStreamWatermarkRuleRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamWatermarkRule") { + setMethod(HttpRequest::Method::Post); } -void DeleteLiveStreamWatermarkRuleRequest::setStream(const std::string& stream) -{ - stream_ = stream; - setParameter("Stream", stream); +DeleteLiveStreamWatermarkRuleRequest::~DeleteLiveStreamWatermarkRuleRequest() {} + +std::string DeleteLiveStreamWatermarkRuleRequest::getStream() const { + return stream_; } -std::string DeleteLiveStreamWatermarkRuleRequest::getApp()const -{ - return app_; +void DeleteLiveStreamWatermarkRuleRequest::setStream(const std::string &stream) { + stream_ = stream; + setParameter(std::string("Stream"), stream); } -void DeleteLiveStreamWatermarkRuleRequest::setApp(const std::string& app) -{ - app_ = app; - setParameter("App", app); +std::string DeleteLiveStreamWatermarkRuleRequest::getApp() const { + return app_; } -long DeleteLiveStreamWatermarkRuleRequest::getOwnerId()const -{ - return ownerId_; +void DeleteLiveStreamWatermarkRuleRequest::setApp(const std::string &app) { + app_ = app; + setParameter(std::string("App"), app); } -void DeleteLiveStreamWatermarkRuleRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteLiveStreamWatermarkRuleRequest::getOwnerId() const { + return ownerId_; } -std::string DeleteLiveStreamWatermarkRuleRequest::getDomain()const -{ - return domain_; +void DeleteLiveStreamWatermarkRuleRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DeleteLiveStreamWatermarkRuleRequest::setDomain(const std::string& domain) -{ - domain_ = domain; - setParameter("Domain", domain); +std::string DeleteLiveStreamWatermarkRuleRequest::getDomain() const { + return domain_; } -std::string DeleteLiveStreamWatermarkRuleRequest::getRuleId()const -{ - return ruleId_; +void DeleteLiveStreamWatermarkRuleRequest::setDomain(const std::string &domain) { + domain_ = domain; + setParameter(std::string("Domain"), domain); } -void DeleteLiveStreamWatermarkRuleRequest::setRuleId(const std::string& ruleId) -{ - ruleId_ = ruleId; - setParameter("RuleId", ruleId); +std::string DeleteLiveStreamWatermarkRuleRequest::getRuleId() const { + return ruleId_; +} + +void DeleteLiveStreamWatermarkRuleRequest::setRuleId(const std::string &ruleId) { + ruleId_ = ruleId; + setParameter(std::string("RuleId"), ruleId); } diff --git a/live/src/model/DeleteLiveStreamsNotifyUrlConfigRequest.cc b/live/src/model/DeleteLiveStreamsNotifyUrlConfigRequest.cc index d964905ea..f6a7d6344 100644 --- a/live/src/model/DeleteLiveStreamsNotifyUrlConfigRequest.cc +++ b/live/src/model/DeleteLiveStreamsNotifyUrlConfigRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveStreamsNotifyUrlConfigRequest; - -DeleteLiveStreamsNotifyUrlConfigRequest::DeleteLiveStreamsNotifyUrlConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamsNotifyUrlConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteLiveStreamsNotifyUrlConfigRequest::~DeleteLiveStreamsNotifyUrlConfigRequest() -{} - -std::string DeleteLiveStreamsNotifyUrlConfigRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveStreamsNotifyUrlConfigRequest; + +DeleteLiveStreamsNotifyUrlConfigRequest::DeleteLiveStreamsNotifyUrlConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamsNotifyUrlConfig") { + setMethod(HttpRequest::Method::Post); } -void DeleteLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DeleteLiveStreamsNotifyUrlConfigRequest::~DeleteLiveStreamsNotifyUrlConfigRequest() {} + +std::string DeleteLiveStreamsNotifyUrlConfigRequest::getDomainName() const { + return domainName_; } -long DeleteLiveStreamsNotifyUrlConfigRequest::getOwnerId()const -{ - return ownerId_; +void DeleteLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteLiveStreamsNotifyUrlConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeleteMessageAppRequest.cc b/live/src/model/DeleteMessageAppRequest.cc new file mode 100644 index 000000000..2a1c40b64 --- /dev/null +++ b/live/src/model/DeleteMessageAppRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DeleteMessageAppRequest; + +DeleteMessageAppRequest::DeleteMessageAppRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteMessageApp") { + setMethod(HttpRequest::Method::Post); +} + +DeleteMessageAppRequest::~DeleteMessageAppRequest() {} + +std::string DeleteMessageAppRequest::getAppId() const { + return appId_; +} + +void DeleteMessageAppRequest::setAppId(const std::string &appId) { + appId_ = appId; + setBodyParameter(std::string("AppId"), appId); +} + diff --git a/live/src/model/DeleteMessageAppResult.cc b/live/src/model/DeleteMessageAppResult.cc new file mode 100644 index 000000000..155847474 --- /dev/null +++ b/live/src/model/DeleteMessageAppResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DeleteMessageAppResult::DeleteMessageAppResult() : + ServiceResult() +{} + +DeleteMessageAppResult::DeleteMessageAppResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteMessageAppResult::~DeleteMessageAppResult() +{} + +void DeleteMessageAppResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["Success"].isNull()) + result_.success = resultNode["Success"].asString() == "true"; + +} + +DeleteMessageAppResult::Result DeleteMessageAppResult::getResult()const +{ + return result_; +} + diff --git a/live/src/model/DeleteMixStreamRequest.cc b/live/src/model/DeleteMixStreamRequest.cc index 07fb5a69a..dea815b1f 100644 --- a/live/src/model/DeleteMixStreamRequest.cc +++ b/live/src/model/DeleteMixStreamRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteMixStreamRequest; - -DeleteMixStreamRequest::DeleteMixStreamRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteMixStream") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteMixStreamRequest::~DeleteMixStreamRequest() -{} - -std::string DeleteMixStreamRequest::getAppName()const -{ - return appName_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteMixStreamRequest; + +DeleteMixStreamRequest::DeleteMixStreamRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteMixStream") { + setMethod(HttpRequest::Method::Post); } -void DeleteMixStreamRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +DeleteMixStreamRequest::~DeleteMixStreamRequest() {} + +std::string DeleteMixStreamRequest::getAppName() const { + return appName_; } -std::string DeleteMixStreamRequest::getStreamName()const -{ - return streamName_; +void DeleteMixStreamRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DeleteMixStreamRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string DeleteMixStreamRequest::getStreamName() const { + return streamName_; } -std::string DeleteMixStreamRequest::getMixStreamId()const -{ - return mixStreamId_; +void DeleteMixStreamRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void DeleteMixStreamRequest::setMixStreamId(const std::string& mixStreamId) -{ - mixStreamId_ = mixStreamId; - setParameter("MixStreamId", mixStreamId); +std::string DeleteMixStreamRequest::getMixStreamId() const { + return mixStreamId_; } -std::string DeleteMixStreamRequest::getDomainName()const -{ - return domainName_; +void DeleteMixStreamRequest::setMixStreamId(const std::string &mixStreamId) { + mixStreamId_ = mixStreamId; + setParameter(std::string("MixStreamId"), mixStreamId); } -void DeleteMixStreamRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DeleteMixStreamRequest::getDomainName() const { + return domainName_; } -long DeleteMixStreamRequest::getOwnerId()const -{ - return ownerId_; +void DeleteMixStreamRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteMixStreamRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteMixStreamRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteMixStreamRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeleteMultiRateConfigRequest.cc b/live/src/model/DeleteMultiRateConfigRequest.cc index dcbc73401..96383d54f 100644 --- a/live/src/model/DeleteMultiRateConfigRequest.cc +++ b/live/src/model/DeleteMultiRateConfigRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteMultiRateConfigRequest; - -DeleteMultiRateConfigRequest::DeleteMultiRateConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteMultiRateConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteMultiRateConfigRequest::~DeleteMultiRateConfigRequest() -{} - -std::string DeleteMultiRateConfigRequest::getDeleteAll()const -{ - return deleteAll_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteMultiRateConfigRequest; + +DeleteMultiRateConfigRequest::DeleteMultiRateConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteMultiRateConfig") { + setMethod(HttpRequest::Method::Post); } -void DeleteMultiRateConfigRequest::setDeleteAll(const std::string& deleteAll) -{ - deleteAll_ = deleteAll; - setParameter("DeleteAll", deleteAll); +DeleteMultiRateConfigRequest::~DeleteMultiRateConfigRequest() {} + +std::string DeleteMultiRateConfigRequest::getDeleteAll() const { + return deleteAll_; } -std::string DeleteMultiRateConfigRequest::getApp()const -{ - return app_; +void DeleteMultiRateConfigRequest::setDeleteAll(const std::string &deleteAll) { + deleteAll_ = deleteAll; + setParameter(std::string("DeleteAll"), deleteAll); } -void DeleteMultiRateConfigRequest::setApp(const std::string& app) -{ - app_ = app; - setParameter("App", app); +std::string DeleteMultiRateConfigRequest::getApp() const { + return app_; } -std::string DeleteMultiRateConfigRequest::getGroupId()const -{ - return groupId_; +void DeleteMultiRateConfigRequest::setApp(const std::string &app) { + app_ = app; + setParameter(std::string("App"), app); } -void DeleteMultiRateConfigRequest::setGroupId(const std::string& groupId) -{ - groupId_ = groupId; - setParameter("GroupId", groupId); +std::string DeleteMultiRateConfigRequest::getGroupId() const { + return groupId_; } -std::string DeleteMultiRateConfigRequest::getTemplates()const -{ - return templates_; +void DeleteMultiRateConfigRequest::setGroupId(const std::string &groupId) { + groupId_ = groupId; + setParameter(std::string("GroupId"), groupId); } -void DeleteMultiRateConfigRequest::setTemplates(const std::string& templates) -{ - templates_ = templates; - setParameter("Templates", templates); +std::string DeleteMultiRateConfigRequest::getTemplates() const { + return templates_; } -std::string DeleteMultiRateConfigRequest::getDomainName()const -{ - return domainName_; +void DeleteMultiRateConfigRequest::setTemplates(const std::string &templates) { + templates_ = templates; + setParameter(std::string("Templates"), templates); } -void DeleteMultiRateConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DeleteMultiRateConfigRequest::getDomainName() const { + return domainName_; } -long DeleteMultiRateConfigRequest::getOwnerId()const -{ - return ownerId_; +void DeleteMultiRateConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteMultiRateConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteMultiRateConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteMultiRateConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeleteMultiRateConfigResult.cc b/live/src/model/DeleteMultiRateConfigResult.cc index 4e291fd74..2c314c9e0 100644 --- a/live/src/model/DeleteMultiRateConfigResult.cc +++ b/live/src/model/DeleteMultiRateConfigResult.cc @@ -39,10 +39,10 @@ void DeleteMultiRateConfigResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); if(!value["Code"].isNull()) code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); } diff --git a/live/src/model/DeletePlaylistItemsRequest.cc b/live/src/model/DeletePlaylistItemsRequest.cc index 2cd271cc6..aec417782 100644 --- a/live/src/model/DeletePlaylistItemsRequest.cc +++ b/live/src/model/DeletePlaylistItemsRequest.cc @@ -1,62 +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::DeletePlaylistItemsRequest; - -DeletePlaylistItemsRequest::DeletePlaylistItemsRequest() : - RpcServiceRequest("live", "2016-11-01", "DeletePlaylistItems") -{ - setMethod(HttpRequest::Method::Post); -} - -DeletePlaylistItemsRequest::~DeletePlaylistItemsRequest() -{} - -std::string DeletePlaylistItemsRequest::getProgramItemIds()const -{ - return programItemIds_; + */ + +#include + +using AlibabaCloud::Live::Model::DeletePlaylistItemsRequest; + +DeletePlaylistItemsRequest::DeletePlaylistItemsRequest() + : RpcServiceRequest("live", "2016-11-01", "DeletePlaylistItems") { + setMethod(HttpRequest::Method::Post); } -void DeletePlaylistItemsRequest::setProgramItemIds(const std::string& programItemIds) -{ - programItemIds_ = programItemIds; - setParameter("ProgramItemIds", programItemIds); +DeletePlaylistItemsRequest::~DeletePlaylistItemsRequest() {} + +std::string DeletePlaylistItemsRequest::getProgramItemIds() const { + return programItemIds_; } -std::string DeletePlaylistItemsRequest::getProgramId()const -{ - return programId_; +void DeletePlaylistItemsRequest::setProgramItemIds(const std::string &programItemIds) { + programItemIds_ = programItemIds; + setParameter(std::string("ProgramItemIds"), programItemIds); } -void DeletePlaylistItemsRequest::setProgramId(const std::string& programId) -{ - programId_ = programId; - setParameter("ProgramId", programId); +std::string DeletePlaylistItemsRequest::getProgramId() const { + return programId_; } -long DeletePlaylistItemsRequest::getOwnerId()const -{ - return ownerId_; +void DeletePlaylistItemsRequest::setProgramId(const std::string &programId) { + programId_ = programId; + setParameter(std::string("ProgramId"), programId); } -void DeletePlaylistItemsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeletePlaylistItemsRequest::getOwnerId() const { + return ownerId_; +} + +void DeletePlaylistItemsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeletePlaylistRequest.cc b/live/src/model/DeletePlaylistRequest.cc index c9113c45b..5b97a6edb 100644 --- a/live/src/model/DeletePlaylistRequest.cc +++ b/live/src/model/DeletePlaylistRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeletePlaylistRequest; - -DeletePlaylistRequest::DeletePlaylistRequest() : - RpcServiceRequest("live", "2016-11-01", "DeletePlaylist") -{ - setMethod(HttpRequest::Method::Post); -} - -DeletePlaylistRequest::~DeletePlaylistRequest() -{} - -std::string DeletePlaylistRequest::getProgramId()const -{ - return programId_; + */ + +#include + +using AlibabaCloud::Live::Model::DeletePlaylistRequest; + +DeletePlaylistRequest::DeletePlaylistRequest() + : RpcServiceRequest("live", "2016-11-01", "DeletePlaylist") { + setMethod(HttpRequest::Method::Post); } -void DeletePlaylistRequest::setProgramId(const std::string& programId) -{ - programId_ = programId; - setParameter("ProgramId", programId); +DeletePlaylistRequest::~DeletePlaylistRequest() {} + +std::string DeletePlaylistRequest::getProgramId() const { + return programId_; } -long DeletePlaylistRequest::getOwnerId()const -{ - return ownerId_; +void DeletePlaylistRequest::setProgramId(const std::string &programId) { + programId_ = programId; + setParameter(std::string("ProgramId"), programId); } -void DeletePlaylistRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeletePlaylistRequest::getOwnerId() const { + return ownerId_; +} + +void DeletePlaylistRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeleteRoomRequest.cc b/live/src/model/DeleteRoomRequest.cc index b72df9199..8e29cdc6e 100644 --- a/live/src/model/DeleteRoomRequest.cc +++ b/live/src/model/DeleteRoomRequest.cc @@ -1,62 +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::DeleteRoomRequest; - -DeleteRoomRequest::DeleteRoomRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteRoom") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteRoomRequest::~DeleteRoomRequest() -{} - -long DeleteRoomRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteRoomRequest; + +DeleteRoomRequest::DeleteRoomRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteRoom") { + setMethod(HttpRequest::Method::Post); } -void DeleteRoomRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +DeleteRoomRequest::~DeleteRoomRequest() {} + +long DeleteRoomRequest::getOwnerId() const { + return ownerId_; } -std::string DeleteRoomRequest::getRoomId()const -{ - return roomId_; +void DeleteRoomRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DeleteRoomRequest::setRoomId(const std::string& roomId) -{ - roomId_ = roomId; - setParameter("RoomId", roomId); +std::string DeleteRoomRequest::getRoomId() const { + return roomId_; } -std::string DeleteRoomRequest::getAppId()const -{ - return appId_; +void DeleteRoomRequest::setRoomId(const std::string &roomId) { + roomId_ = roomId; + setParameter(std::string("RoomId"), roomId); } -void DeleteRoomRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string DeleteRoomRequest::getAppId() const { + return appId_; +} + +void DeleteRoomRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/live/src/model/DeleteSnapshotCallbackAuthRequest.cc b/live/src/model/DeleteSnapshotCallbackAuthRequest.cc index 0c65c9693..8451216da 100644 --- a/live/src/model/DeleteSnapshotCallbackAuthRequest.cc +++ b/live/src/model/DeleteSnapshotCallbackAuthRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteSnapshotCallbackAuthRequest; - -DeleteSnapshotCallbackAuthRequest::DeleteSnapshotCallbackAuthRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteSnapshotCallbackAuth") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteSnapshotCallbackAuthRequest::~DeleteSnapshotCallbackAuthRequest() -{} - -std::string DeleteSnapshotCallbackAuthRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteSnapshotCallbackAuthRequest; + +DeleteSnapshotCallbackAuthRequest::DeleteSnapshotCallbackAuthRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteSnapshotCallbackAuth") { + setMethod(HttpRequest::Method::Post); } -void DeleteSnapshotCallbackAuthRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DeleteSnapshotCallbackAuthRequest::~DeleteSnapshotCallbackAuthRequest() {} + +std::string DeleteSnapshotCallbackAuthRequest::getDomainName() const { + return domainName_; } -long DeleteSnapshotCallbackAuthRequest::getOwnerId()const -{ - return ownerId_; +void DeleteSnapshotCallbackAuthRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteSnapshotCallbackAuthRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteSnapshotCallbackAuthRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteSnapshotCallbackAuthRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DeleteSnapshotFilesRequest.cc b/live/src/model/DeleteSnapshotFilesRequest.cc index 3c6b3493f..ee81a435c 100644 --- a/live/src/model/DeleteSnapshotFilesRequest.cc +++ b/live/src/model/DeleteSnapshotFilesRequest.cc @@ -1,97 +1,80 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteSnapshotFilesRequest; - -DeleteSnapshotFilesRequest::DeleteSnapshotFilesRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteSnapshotFiles") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteSnapshotFilesRequest::~DeleteSnapshotFilesRequest() -{} - -bool DeleteSnapshotFilesRequest::getRemoveFile()const -{ - return removeFile_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteSnapshotFilesRequest; + +DeleteSnapshotFilesRequest::DeleteSnapshotFilesRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteSnapshotFiles") { + setMethod(HttpRequest::Method::Post); } -void DeleteSnapshotFilesRequest::setRemoveFile(bool removeFile) -{ - removeFile_ = removeFile; - setParameter("RemoveFile", removeFile ? "true" : "false"); +DeleteSnapshotFilesRequest::~DeleteSnapshotFilesRequest() {} + +bool DeleteSnapshotFilesRequest::getRemoveFile() const { + return removeFile_; } -std::string DeleteSnapshotFilesRequest::getAppName()const -{ - return appName_; +void DeleteSnapshotFilesRequest::setRemoveFile(bool removeFile) { + removeFile_ = removeFile; + setParameter(std::string("RemoveFile"), removeFile ? "true" : "false"); } -void DeleteSnapshotFilesRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string DeleteSnapshotFilesRequest::getAppName() const { + return appName_; } -std::string DeleteSnapshotFilesRequest::getStreamName()const -{ - return streamName_; +void DeleteSnapshotFilesRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DeleteSnapshotFilesRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string DeleteSnapshotFilesRequest::getStreamName() const { + return streamName_; } -std::string DeleteSnapshotFilesRequest::getDomainName()const -{ - return domainName_; +void DeleteSnapshotFilesRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void DeleteSnapshotFilesRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DeleteSnapshotFilesRequest::getDomainName() const { + return domainName_; } -long DeleteSnapshotFilesRequest::getOwnerId()const -{ - return ownerId_; +void DeleteSnapshotFilesRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DeleteSnapshotFilesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteSnapshotFilesRequest::getOwnerId() const { + return ownerId_; } -std::vector DeleteSnapshotFilesRequest::getCreateTimestampList()const -{ - return createTimestampList_; +void DeleteSnapshotFilesRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DeleteSnapshotFilesRequest::setCreateTimestampList(const std::vector& createTimestampList) -{ - createTimestampList_ = createTimestampList; - for(int dep1 = 0; dep1!= createTimestampList.size(); dep1++) { - setParameter("CreateTimestampList."+ std::to_string(dep1), std::to_string(createTimestampList.at(dep1))); - } +std::vector DeleteSnapshotFilesRequest::getCreateTimestampList() const { + return createTimestampList_; +} + +void DeleteSnapshotFilesRequest::setCreateTimestampList(const std::vector &createTimestampList) { + createTimestampList_ = createTimestampList; } diff --git a/live/src/model/DeleteSnapshotFilesResult.cc b/live/src/model/DeleteSnapshotFilesResult.cc index e609d3c48..334903528 100644 --- a/live/src/model/DeleteSnapshotFilesResult.cc +++ b/live/src/model/DeleteSnapshotFilesResult.cc @@ -43,16 +43,16 @@ void DeleteSnapshotFilesResult::parse(const std::string &payload) for (auto valueSnapshotDeleteInfoListSnapshotDeleteInfo : allSnapshotDeleteInfoListNode) { SnapshotDeleteInfo snapshotDeleteInfoListObject; - if(!valueSnapshotDeleteInfoListSnapshotDeleteInfo["CreateTimestamp"].isNull()) - snapshotDeleteInfoListObject.createTimestamp = std::stol(valueSnapshotDeleteInfoListSnapshotDeleteInfo["CreateTimestamp"].asString()); if(!valueSnapshotDeleteInfoListSnapshotDeleteInfo["Message"].isNull()) snapshotDeleteInfoListObject.message = valueSnapshotDeleteInfoListSnapshotDeleteInfo["Message"].asString(); + if(!valueSnapshotDeleteInfoListSnapshotDeleteInfo["CreateTimestamp"].isNull()) + snapshotDeleteInfoListObject.createTimestamp = std::stol(valueSnapshotDeleteInfoListSnapshotDeleteInfo["CreateTimestamp"].asString()); snapshotDeleteInfoList_.push_back(snapshotDeleteInfoListObject); } - if(!value["SuccessCount"].isNull()) - successCount_ = std::stoi(value["SuccessCount"].asString()); if(!value["FailureCount"].isNull()) failureCount_ = std::stoi(value["FailureCount"].asString()); + if(!value["SuccessCount"].isNull()) + successCount_ = std::stoi(value["SuccessCount"].asString()); } diff --git a/live/src/model/DeleteStudioLayoutRequest.cc b/live/src/model/DeleteStudioLayoutRequest.cc index b77067d49..bdcd75070 100644 --- a/live/src/model/DeleteStudioLayoutRequest.cc +++ b/live/src/model/DeleteStudioLayoutRequest.cc @@ -1,62 +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::DeleteStudioLayoutRequest; - -DeleteStudioLayoutRequest::DeleteStudioLayoutRequest() : - RpcServiceRequest("live", "2016-11-01", "DeleteStudioLayout") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteStudioLayoutRequest::~DeleteStudioLayoutRequest() -{} - -std::string DeleteStudioLayoutRequest::getLayoutId()const -{ - return layoutId_; + */ + +#include + +using AlibabaCloud::Live::Model::DeleteStudioLayoutRequest; + +DeleteStudioLayoutRequest::DeleteStudioLayoutRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteStudioLayout") { + setMethod(HttpRequest::Method::Post); } -void DeleteStudioLayoutRequest::setLayoutId(const std::string& layoutId) -{ - layoutId_ = layoutId; - setParameter("LayoutId", layoutId); +DeleteStudioLayoutRequest::~DeleteStudioLayoutRequest() {} + +std::string DeleteStudioLayoutRequest::getLayoutId() const { + return layoutId_; } -std::string DeleteStudioLayoutRequest::getCasterId()const -{ - return casterId_; +void DeleteStudioLayoutRequest::setLayoutId(const std::string &layoutId) { + layoutId_ = layoutId; + setParameter(std::string("LayoutId"), layoutId); } -void DeleteStudioLayoutRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string DeleteStudioLayoutRequest::getCasterId() const { + return casterId_; } -long DeleteStudioLayoutRequest::getOwnerId()const -{ - return ownerId_; +void DeleteStudioLayoutRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void DeleteStudioLayoutRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DeleteStudioLayoutRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteStudioLayoutRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeAutoShowListTasksRequest.cc b/live/src/model/DescribeAutoShowListTasksRequest.cc index 66f08d97d..012d46768 100644 --- a/live/src/model/DescribeAutoShowListTasksRequest.cc +++ b/live/src/model/DescribeAutoShowListTasksRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeAutoShowListTasksRequest; - -DescribeAutoShowListTasksRequest::DescribeAutoShowListTasksRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeAutoShowListTasks") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeAutoShowListTasksRequest::~DescribeAutoShowListTasksRequest() -{} - -std::string DescribeAutoShowListTasksRequest::getCasterId()const -{ - return casterId_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeAutoShowListTasksRequest; + +DescribeAutoShowListTasksRequest::DescribeAutoShowListTasksRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeAutoShowListTasks") { + setMethod(HttpRequest::Method::Post); } -void DescribeAutoShowListTasksRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +DescribeAutoShowListTasksRequest::~DescribeAutoShowListTasksRequest() {} + +std::string DescribeAutoShowListTasksRequest::getCasterId() const { + return casterId_; } -long DescribeAutoShowListTasksRequest::getOwnerId()const -{ - return ownerId_; +void DescribeAutoShowListTasksRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void DescribeAutoShowListTasksRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeAutoShowListTasksRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeAutoShowListTasksRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeCasterChannelsRequest.cc b/live/src/model/DescribeCasterChannelsRequest.cc index 7da1c94c0..11432b764 100644 --- a/live/src/model/DescribeCasterChannelsRequest.cc +++ b/live/src/model/DescribeCasterChannelsRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeCasterChannelsRequest; - -DescribeCasterChannelsRequest::DescribeCasterChannelsRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeCasterChannels") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCasterChannelsRequest::~DescribeCasterChannelsRequest() -{} - -std::string DescribeCasterChannelsRequest::getCasterId()const -{ - return casterId_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeCasterChannelsRequest; + +DescribeCasterChannelsRequest::DescribeCasterChannelsRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeCasterChannels") { + setMethod(HttpRequest::Method::Post); } -void DescribeCasterChannelsRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +DescribeCasterChannelsRequest::~DescribeCasterChannelsRequest() {} + +std::string DescribeCasterChannelsRequest::getCasterId() const { + return casterId_; } -long DescribeCasterChannelsRequest::getOwnerId()const -{ - return ownerId_; +void DescribeCasterChannelsRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void DescribeCasterChannelsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeCasterChannelsRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCasterChannelsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeCasterChannelsResult.cc b/live/src/model/DescribeCasterChannelsResult.cc index 1edc8746a..6ebe2fd73 100644 --- a/live/src/model/DescribeCasterChannelsResult.cc +++ b/live/src/model/DescribeCasterChannelsResult.cc @@ -43,20 +43,20 @@ void DescribeCasterChannelsResult::parse(const std::string &payload) for (auto valueChannelsChannel : allChannelsNode) { Channel channelsObject; + if(!valueChannelsChannel["InputType"].isNull()) + channelsObject.inputType = std::stoi(valueChannelsChannel["InputType"].asString()); + if(!valueChannelsChannel["RtmpUrl"].isNull()) + channelsObject.rtmpUrl = valueChannelsChannel["RtmpUrl"].asString(); if(!valueChannelsChannel["ChannelId"].isNull()) channelsObject.channelId = valueChannelsChannel["ChannelId"].asString(); + if(!valueChannelsChannel["RtsUrl"].isNull()) + channelsObject.rtsUrl = valueChannelsChannel["RtsUrl"].asString(); + if(!valueChannelsChannel["FaceBeauty"].isNull()) + channelsObject.faceBeauty = valueChannelsChannel["FaceBeauty"].asString(); if(!valueChannelsChannel["ResourceId"].isNull()) channelsObject.resourceId = valueChannelsChannel["ResourceId"].asString(); if(!valueChannelsChannel["StreamUrl"].isNull()) channelsObject.streamUrl = valueChannelsChannel["StreamUrl"].asString(); - if(!valueChannelsChannel["RtmpUrl"].isNull()) - channelsObject.rtmpUrl = valueChannelsChannel["RtmpUrl"].asString(); - if(!valueChannelsChannel["RtsUrl"].isNull()) - channelsObject.rtsUrl = valueChannelsChannel["RtsUrl"].asString(); - if(!valueChannelsChannel["InputType"].isNull()) - channelsObject.inputType = std::stoi(valueChannelsChannel["InputType"].asString()); - if(!valueChannelsChannel["FaceBeauty"].isNull()) - channelsObject.faceBeauty = valueChannelsChannel["FaceBeauty"].asString(); channels_.push_back(channelsObject); } if(!value["Total"].isNull()) diff --git a/live/src/model/DescribeCasterComponentsRequest.cc b/live/src/model/DescribeCasterComponentsRequest.cc index 62018356b..98d01471c 100644 --- a/live/src/model/DescribeCasterComponentsRequest.cc +++ b/live/src/model/DescribeCasterComponentsRequest.cc @@ -1,62 +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::DescribeCasterComponentsRequest; - -DescribeCasterComponentsRequest::DescribeCasterComponentsRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeCasterComponents") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCasterComponentsRequest::~DescribeCasterComponentsRequest() -{} - -std::string DescribeCasterComponentsRequest::getComponentId()const -{ - return componentId_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeCasterComponentsRequest; + +DescribeCasterComponentsRequest::DescribeCasterComponentsRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeCasterComponents") { + setMethod(HttpRequest::Method::Post); } -void DescribeCasterComponentsRequest::setComponentId(const std::string& componentId) -{ - componentId_ = componentId; - setParameter("ComponentId", componentId); +DescribeCasterComponentsRequest::~DescribeCasterComponentsRequest() {} + +std::string DescribeCasterComponentsRequest::getComponentId() const { + return componentId_; } -std::string DescribeCasterComponentsRequest::getCasterId()const -{ - return casterId_; +void DescribeCasterComponentsRequest::setComponentId(const std::string &componentId) { + componentId_ = componentId; + setParameter(std::string("ComponentId"), componentId); } -void DescribeCasterComponentsRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string DescribeCasterComponentsRequest::getCasterId() const { + return casterId_; } -long DescribeCasterComponentsRequest::getOwnerId()const -{ - return ownerId_; +void DescribeCasterComponentsRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void DescribeCasterComponentsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeCasterComponentsRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCasterComponentsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeCasterComponentsResult.cc b/live/src/model/DescribeCasterComponentsResult.cc index 83332d675..02c6fc931 100644 --- a/live/src/model/DescribeCasterComponentsResult.cc +++ b/live/src/model/DescribeCasterComponentsResult.cc @@ -43,73 +43,73 @@ void DescribeCasterComponentsResult::parse(const std::string &payload) for (auto valueComponentsComponent : allComponentsNode) { Component componentsObject; - if(!valueComponentsComponent["ComponentId"].isNull()) - componentsObject.componentId = valueComponentsComponent["ComponentId"].asString(); - if(!valueComponentsComponent["ComponentName"].isNull()) - componentsObject.componentName = valueComponentsComponent["ComponentName"].asString(); - if(!valueComponentsComponent["LocationId"].isNull()) - componentsObject.locationId = valueComponentsComponent["LocationId"].asString(); - if(!valueComponentsComponent["ComponentType"].isNull()) - componentsObject.componentType = valueComponentsComponent["ComponentType"].asString(); if(!valueComponentsComponent["Effect"].isNull()) componentsObject.effect = valueComponentsComponent["Effect"].asString(); + if(!valueComponentsComponent["ComponentName"].isNull()) + componentsObject.componentName = valueComponentsComponent["ComponentName"].asString(); + if(!valueComponentsComponent["ComponentId"].isNull()) + componentsObject.componentId = valueComponentsComponent["ComponentId"].asString(); + if(!valueComponentsComponent["ComponentType"].isNull()) + componentsObject.componentType = valueComponentsComponent["ComponentType"].asString(); + if(!valueComponentsComponent["LocationId"].isNull()) + componentsObject.locationId = valueComponentsComponent["LocationId"].asString(); auto componentLayerNode = value["ComponentLayer"]; - if(!componentLayerNode["HeightNormalized"].isNull()) - componentsObject.componentLayer.heightNormalized = std::stof(componentLayerNode["HeightNormalized"].asString()); - if(!componentLayerNode["WidthNormalized"].isNull()) - componentsObject.componentLayer.widthNormalized = std::stof(componentLayerNode["WidthNormalized"].asString()); - if(!componentLayerNode["PositionRefer"].isNull()) - componentsObject.componentLayer.positionRefer = componentLayerNode["PositionRefer"].asString(); if(!componentLayerNode["Transparency"].isNull()) componentsObject.componentLayer.transparency = std::stoi(componentLayerNode["Transparency"].asString()); + if(!componentLayerNode["WidthNormalized"].isNull()) + componentsObject.componentLayer.widthNormalized = std::stof(componentLayerNode["WidthNormalized"].asString()); + if(!componentLayerNode["HeightNormalized"].isNull()) + componentsObject.componentLayer.heightNormalized = std::stof(componentLayerNode["HeightNormalized"].asString()); + if(!componentLayerNode["PositionRefer"].isNull()) + componentsObject.componentLayer.positionRefer = componentLayerNode["PositionRefer"].asString(); auto allPositionNormalizeds = componentLayerNode["PositionNormalizeds"]["Position"]; for (auto value : allPositionNormalizeds) componentsObject.componentLayer.positionNormalizeds.push_back(value.asString()); auto textLayerContentNode = value["TextLayerContent"]; - if(!textLayerContentNode["Text"].isNull()) - componentsObject.textLayerContent.text = textLayerContentNode["Text"].asString(); if(!textLayerContentNode["Color"].isNull()) componentsObject.textLayerContent.color = textLayerContentNode["Color"].asString(); - if(!textLayerContentNode["FontName"].isNull()) - componentsObject.textLayerContent.fontName = textLayerContentNode["FontName"].asString(); - if(!textLayerContentNode["SizeNormalized"].isNull()) - componentsObject.textLayerContent.sizeNormalized = std::stof(textLayerContentNode["SizeNormalized"].asString()); - if(!textLayerContentNode["BorderWidthNormalized"].isNull()) - componentsObject.textLayerContent.borderWidthNormalized = std::stof(textLayerContentNode["BorderWidthNormalized"].asString()); if(!textLayerContentNode["BorderColor"].isNull()) componentsObject.textLayerContent.borderColor = textLayerContentNode["BorderColor"].asString(); + if(!textLayerContentNode["BorderWidthNormalized"].isNull()) + componentsObject.textLayerContent.borderWidthNormalized = std::stof(textLayerContentNode["BorderWidthNormalized"].asString()); + if(!textLayerContentNode["Text"].isNull()) + componentsObject.textLayerContent.text = textLayerContentNode["Text"].asString(); + if(!textLayerContentNode["SizeNormalized"].isNull()) + componentsObject.textLayerContent.sizeNormalized = std::stof(textLayerContentNode["SizeNormalized"].asString()); + if(!textLayerContentNode["FontName"].isNull()) + componentsObject.textLayerContent.fontName = textLayerContentNode["FontName"].asString(); auto imageLayerContentNode = value["ImageLayerContent"]; if(!imageLayerContentNode["MaterialId"].isNull()) componentsObject.imageLayerContent.materialId = imageLayerContentNode["MaterialId"].asString(); auto captionLayerContentNode = value["CaptionLayerContent"]; - if(!captionLayerContentNode["LocationId"].isNull()) - componentsObject.captionLayerContent.locationId = captionLayerContentNode["LocationId"].asString(); - if(!captionLayerContentNode["PtsOffset"].isNull()) - componentsObject.captionLayerContent.ptsOffset = std::stoi(captionLayerContentNode["PtsOffset"].asString()); - if(!captionLayerContentNode["WordsCount"].isNull()) - componentsObject.captionLayerContent.wordsCount = std::stoi(captionLayerContentNode["WordsCount"].asString()); if(!captionLayerContentNode["Color"].isNull()) componentsObject.captionLayerContent.color = captionLayerContentNode["Color"].asString(); - if(!captionLayerContentNode["FontName"].isNull()) - componentsObject.captionLayerContent.fontName = captionLayerContentNode["FontName"].asString(); + if(!captionLayerContentNode["WordSpaceNormalized"].isNull()) + componentsObject.captionLayerContent.wordSpaceNormalized = std::stof(captionLayerContentNode["WordSpaceNormalized"].asString()); + if(!captionLayerContentNode["BorderWidthNormalized"].isNull()) + componentsObject.captionLayerContent.borderWidthNormalized = std::stof(captionLayerContentNode["BorderWidthNormalized"].asString()); if(!captionLayerContentNode["SourceLan"].isNull()) componentsObject.captionLayerContent.sourceLan = captionLayerContentNode["SourceLan"].asString(); + if(!captionLayerContentNode["WordCountPerLine"].isNull()) + componentsObject.captionLayerContent.wordCountPerLine = std::stoi(captionLayerContentNode["WordCountPerLine"].asString()); if(!captionLayerContentNode["TargetLan"].isNull()) componentsObject.captionLayerContent.targetLan = captionLayerContentNode["TargetLan"].asString(); + if(!captionLayerContentNode["BorderColor"].isNull()) + componentsObject.captionLayerContent.borderColor = captionLayerContentNode["BorderColor"].asString(); + if(!captionLayerContentNode["LocationId"].isNull()) + componentsObject.captionLayerContent.locationId = captionLayerContentNode["LocationId"].asString(); + if(!captionLayerContentNode["LineSpaceNormalized"].isNull()) + componentsObject.captionLayerContent.lineSpaceNormalized = std::stof(captionLayerContentNode["LineSpaceNormalized"].asString()); if(!captionLayerContentNode["ShowSourceLan"].isNull()) componentsObject.captionLayerContent.showSourceLan = captionLayerContentNode["ShowSourceLan"].asString() == "true"; if(!captionLayerContentNode["SizeNormalized"].isNull()) componentsObject.captionLayerContent.sizeNormalized = std::stof(captionLayerContentNode["SizeNormalized"].asString()); - if(!captionLayerContentNode["BorderWidthNormalized"].isNull()) - componentsObject.captionLayerContent.borderWidthNormalized = std::stof(captionLayerContentNode["BorderWidthNormalized"].asString()); - if(!captionLayerContentNode["BorderColor"].isNull()) - componentsObject.captionLayerContent.borderColor = captionLayerContentNode["BorderColor"].asString(); - if(!captionLayerContentNode["WordCountPerLine"].isNull()) - componentsObject.captionLayerContent.wordCountPerLine = std::stoi(captionLayerContentNode["WordCountPerLine"].asString()); - if(!captionLayerContentNode["WordSpaceNormalized"].isNull()) - componentsObject.captionLayerContent.wordSpaceNormalized = std::stof(captionLayerContentNode["WordSpaceNormalized"].asString()); - if(!captionLayerContentNode["LineSpaceNormalized"].isNull()) - componentsObject.captionLayerContent.lineSpaceNormalized = std::stof(captionLayerContentNode["LineSpaceNormalized"].asString()); + if(!captionLayerContentNode["WordsCount"].isNull()) + componentsObject.captionLayerContent.wordsCount = std::stoi(captionLayerContentNode["WordsCount"].asString()); + if(!captionLayerContentNode["FontName"].isNull()) + componentsObject.captionLayerContent.fontName = captionLayerContentNode["FontName"].asString(); + if(!captionLayerContentNode["PtsOffset"].isNull()) + componentsObject.captionLayerContent.ptsOffset = std::stoi(captionLayerContentNode["PtsOffset"].asString()); components_.push_back(componentsObject); } if(!value["Total"].isNull()) diff --git a/live/src/model/DescribeCasterConfigRequest.cc b/live/src/model/DescribeCasterConfigRequest.cc index 3daa902aa..e592165d2 100644 --- a/live/src/model/DescribeCasterConfigRequest.cc +++ b/live/src/model/DescribeCasterConfigRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeCasterConfigRequest; - -DescribeCasterConfigRequest::DescribeCasterConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeCasterConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCasterConfigRequest::~DescribeCasterConfigRequest() -{} - -std::string DescribeCasterConfigRequest::getCasterId()const -{ - return casterId_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeCasterConfigRequest; + +DescribeCasterConfigRequest::DescribeCasterConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeCasterConfig") { + setMethod(HttpRequest::Method::Post); } -void DescribeCasterConfigRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +DescribeCasterConfigRequest::~DescribeCasterConfigRequest() {} + +std::string DescribeCasterConfigRequest::getCasterId() const { + return casterId_; } -long DescribeCasterConfigRequest::getOwnerId()const -{ - return ownerId_; +void DescribeCasterConfigRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void DescribeCasterConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeCasterConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCasterConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeCasterConfigResult.cc b/live/src/model/DescribeCasterConfigResult.cc index 5eebe147f..3f21e2cdd 100644 --- a/live/src/model/DescribeCasterConfigResult.cc +++ b/live/src/model/DescribeCasterConfigResult.cc @@ -43,10 +43,10 @@ void DescribeCasterConfigResult::parse(const std::string &payload) for (auto valueSyncGroupsConfigSyncGroup : allSyncGroupsConfigNode) { SyncGroup syncGroupsConfigObject; - if(!valueSyncGroupsConfigSyncGroup["Mode"].isNull()) - syncGroupsConfigObject.mode = std::stoi(valueSyncGroupsConfigSyncGroup["Mode"].asString()); if(!valueSyncGroupsConfigSyncGroup["HostResourceId"].isNull()) syncGroupsConfigObject.hostResourceId = valueSyncGroupsConfigSyncGroup["HostResourceId"].asString(); + if(!valueSyncGroupsConfigSyncGroup["Mode"].isNull()) + syncGroupsConfigObject.mode = std::stoi(valueSyncGroupsConfigSyncGroup["Mode"].asString()); auto allResourceIds = value["ResourceIds"]["ResourceId"]; for (auto value : allResourceIds) syncGroupsConfigObject.resourceIds.push_back(value.asString()); @@ -67,38 +67,40 @@ void DescribeCasterConfigResult::parse(const std::string &payload) for (auto recordConfigNodeRecordFormatRecordFormatItem : allRecordFormatNode) { RecordConfig::RecordFormatItem recordFormatItemObject; - if(!recordConfigNodeRecordFormatRecordFormatItem["Format"].isNull()) - recordFormatItemObject.format = recordConfigNodeRecordFormatRecordFormatItem["Format"].asString(); - if(!recordConfigNodeRecordFormatRecordFormatItem["OssObjectPrefix"].isNull()) - recordFormatItemObject.ossObjectPrefix = recordConfigNodeRecordFormatRecordFormatItem["OssObjectPrefix"].asString(); - if(!recordConfigNodeRecordFormatRecordFormatItem["SliceOssObjectPrefix"].isNull()) - recordFormatItemObject.sliceOssObjectPrefix = recordConfigNodeRecordFormatRecordFormatItem["SliceOssObjectPrefix"].asString(); if(!recordConfigNodeRecordFormatRecordFormatItem["CycleDuration"].isNull()) recordFormatItemObject.cycleDuration = std::stoi(recordConfigNodeRecordFormatRecordFormatItem["CycleDuration"].asString()); + if(!recordConfigNodeRecordFormatRecordFormatItem["SliceOssObjectPrefix"].isNull()) + recordFormatItemObject.sliceOssObjectPrefix = recordConfigNodeRecordFormatRecordFormatItem["SliceOssObjectPrefix"].asString(); + if(!recordConfigNodeRecordFormatRecordFormatItem["OssObjectPrefix"].isNull()) + recordFormatItemObject.ossObjectPrefix = recordConfigNodeRecordFormatRecordFormatItem["OssObjectPrefix"].asString(); + if(!recordConfigNodeRecordFormatRecordFormatItem["Format"].isNull()) + recordFormatItemObject.format = recordConfigNodeRecordFormatRecordFormatItem["Format"].asString(); recordConfig_.recordFormat.push_back(recordFormatItemObject); } - if(!value["CasterId"].isNull()) - casterId_ = value["CasterId"].asString(); - if(!value["CasterName"].isNull()) - casterName_ = value["CasterName"].asString(); - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["SideOutputUrlList"].isNull()) - sideOutputUrlList_ = value["SideOutputUrlList"].asString(); if(!value["Delay"].isNull()) delay_ = std::stof(value["Delay"].asString()); + if(!value["UrgentLiveStreamUrl"].isNull()) + urgentLiveStreamUrl_ = value["UrgentLiveStreamUrl"].asString(); if(!value["UrgentMaterialId"].isNull()) urgentMaterialId_ = value["UrgentMaterialId"].asString(); - if(!value["SideOutputUrl"].isNull()) - sideOutputUrl_ = value["SideOutputUrl"].asString(); if(!value["CallbackUrl"].isNull()) callbackUrl_ = value["CallbackUrl"].asString(); if(!value["ProgramName"].isNull()) programName_ = value["ProgramName"].asString(); + if(!value["CasterName"].isNull()) + casterName_ = value["CasterName"].asString(); + if(!value["CasterId"].isNull()) + casterId_ = value["CasterId"].asString(); if(!value["ProgramEffect"].isNull()) programEffect_ = std::stoi(value["ProgramEffect"].asString()); if(!value["ChannelEnable"].isNull()) channelEnable_ = std::stoi(value["ChannelEnable"].asString()); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["SideOutputUrlList"].isNull()) + sideOutputUrlList_ = value["SideOutputUrlList"].asString(); + if(!value["SideOutputUrl"].isNull()) + sideOutputUrl_ = value["SideOutputUrl"].asString(); } @@ -112,16 +114,16 @@ std::string DescribeCasterConfigResult::getDomainName()const return domainName_; } -std::string DescribeCasterConfigResult::getSideOutputUrlList()const -{ - return sideOutputUrlList_; -} - std::string DescribeCasterConfigResult::getUrgentMaterialId()const { return urgentMaterialId_; } +std::string DescribeCasterConfigResult::getSideOutputUrlList()const +{ + return sideOutputUrlList_; +} + DescribeCasterConfigResult::TranscodeConfig DescribeCasterConfigResult::getTranscodeConfig()const { return transcodeConfig_; @@ -137,16 +139,16 @@ float DescribeCasterConfigResult::getDelay()const return delay_; } -std::string DescribeCasterConfigResult::getSideOutputUrl()const -{ - return sideOutputUrl_; -} - std::string DescribeCasterConfigResult::getCallbackUrl()const { return callbackUrl_; } +std::string DescribeCasterConfigResult::getSideOutputUrl()const +{ + return sideOutputUrl_; +} + std::string DescribeCasterConfigResult::getCasterName()const { return casterName_; @@ -172,3 +174,8 @@ DescribeCasterConfigResult::RecordConfig DescribeCasterConfigResult::getRecordCo return recordConfig_; } +std::string DescribeCasterConfigResult::getUrgentLiveStreamUrl()const +{ + return urgentLiveStreamUrl_; +} + diff --git a/live/src/model/DescribeCasterLayoutsRequest.cc b/live/src/model/DescribeCasterLayoutsRequest.cc index 9bb0562b4..05426cbc5 100644 --- a/live/src/model/DescribeCasterLayoutsRequest.cc +++ b/live/src/model/DescribeCasterLayoutsRequest.cc @@ -1,62 +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::DescribeCasterLayoutsRequest; - -DescribeCasterLayoutsRequest::DescribeCasterLayoutsRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeCasterLayouts") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCasterLayoutsRequest::~DescribeCasterLayoutsRequest() -{} - -std::string DescribeCasterLayoutsRequest::getLayoutId()const -{ - return layoutId_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeCasterLayoutsRequest; + +DescribeCasterLayoutsRequest::DescribeCasterLayoutsRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeCasterLayouts") { + setMethod(HttpRequest::Method::Post); } -void DescribeCasterLayoutsRequest::setLayoutId(const std::string& layoutId) -{ - layoutId_ = layoutId; - setParameter("LayoutId", layoutId); +DescribeCasterLayoutsRequest::~DescribeCasterLayoutsRequest() {} + +std::string DescribeCasterLayoutsRequest::getLayoutId() const { + return layoutId_; } -std::string DescribeCasterLayoutsRequest::getCasterId()const -{ - return casterId_; +void DescribeCasterLayoutsRequest::setLayoutId(const std::string &layoutId) { + layoutId_ = layoutId; + setParameter(std::string("LayoutId"), layoutId); } -void DescribeCasterLayoutsRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string DescribeCasterLayoutsRequest::getCasterId() const { + return casterId_; } -long DescribeCasterLayoutsRequest::getOwnerId()const -{ - return ownerId_; +void DescribeCasterLayoutsRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void DescribeCasterLayoutsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeCasterLayoutsRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCasterLayoutsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeCasterLayoutsResult.cc b/live/src/model/DescribeCasterLayoutsResult.cc index 8a61b19b3..eebc486a8 100644 --- a/live/src/model/DescribeCasterLayoutsResult.cc +++ b/live/src/model/DescribeCasterLayoutsResult.cc @@ -49,16 +49,16 @@ void DescribeCasterLayoutsResult::parse(const std::string &payload) for (auto valueLayoutsLayoutVideoLayersVideoLayer : allVideoLayersNode) { Layout::VideoLayer videoLayersObject; - if(!valueLayoutsLayoutVideoLayersVideoLayer["FillMode"].isNull()) - videoLayersObject.fillMode = valueLayoutsLayoutVideoLayersVideoLayer["FillMode"].asString(); - if(!valueLayoutsLayoutVideoLayersVideoLayer["HeightNormalized"].isNull()) - videoLayersObject.heightNormalized = std::stof(valueLayoutsLayoutVideoLayersVideoLayer["HeightNormalized"].asString()); if(!valueLayoutsLayoutVideoLayersVideoLayer["WidthNormalized"].isNull()) videoLayersObject.widthNormalized = std::stof(valueLayoutsLayoutVideoLayersVideoLayer["WidthNormalized"].asString()); - if(!valueLayoutsLayoutVideoLayersVideoLayer["PositionRefer"].isNull()) - videoLayersObject.positionRefer = valueLayoutsLayoutVideoLayersVideoLayer["PositionRefer"].asString(); if(!valueLayoutsLayoutVideoLayersVideoLayer["FixedDelayDuration"].isNull()) videoLayersObject.fixedDelayDuration = std::stoi(valueLayoutsLayoutVideoLayersVideoLayer["FixedDelayDuration"].asString()); + if(!valueLayoutsLayoutVideoLayersVideoLayer["HeightNormalized"].isNull()) + videoLayersObject.heightNormalized = std::stof(valueLayoutsLayoutVideoLayersVideoLayer["HeightNormalized"].asString()); + if(!valueLayoutsLayoutVideoLayersVideoLayer["FillMode"].isNull()) + videoLayersObject.fillMode = valueLayoutsLayoutVideoLayersVideoLayer["FillMode"].asString(); + if(!valueLayoutsLayoutVideoLayersVideoLayer["PositionRefer"].isNull()) + videoLayersObject.positionRefer = valueLayoutsLayoutVideoLayersVideoLayer["PositionRefer"].asString(); auto allPositionNormalizeds = value["PositionNormalizeds"]["Position"]; for (auto value : allPositionNormalizeds) videoLayersObject.positionNormalizeds.push_back(value.asString()); @@ -70,18 +70,18 @@ void DescribeCasterLayoutsResult::parse(const std::string &payload) Layout::AudioLayer audioLayersObject; if(!valueLayoutsLayoutAudioLayersAudioLayer["VolumeRate"].isNull()) audioLayersObject.volumeRate = std::stof(valueLayoutsLayoutAudioLayersAudioLayer["VolumeRate"].asString()); - if(!valueLayoutsLayoutAudioLayersAudioLayer["ValidChannel"].isNull()) - audioLayersObject.validChannel = valueLayoutsLayoutAudioLayersAudioLayer["ValidChannel"].asString(); if(!valueLayoutsLayoutAudioLayersAudioLayer["FixedDelayDuration"].isNull()) audioLayersObject.fixedDelayDuration = std::stoi(valueLayoutsLayoutAudioLayersAudioLayer["FixedDelayDuration"].asString()); + if(!valueLayoutsLayoutAudioLayersAudioLayer["ValidChannel"].isNull()) + audioLayersObject.validChannel = valueLayoutsLayoutAudioLayersAudioLayer["ValidChannel"].asString(); layoutsObject.audioLayers.push_back(audioLayersObject); } - auto allBlendList = value["BlendList"]["LocationId"]; - for (auto value : allBlendList) - layoutsObject.blendList.push_back(value.asString()); auto allMixList = value["MixList"]["LocationId"]; for (auto value : allMixList) layoutsObject.mixList.push_back(value.asString()); + auto allBlendList = value["BlendList"]["LocationId"]; + for (auto value : allBlendList) + layoutsObject.blendList.push_back(value.asString()); layouts_.push_back(layoutsObject); } if(!value["Total"].isNull()) diff --git a/live/src/model/DescribeCasterProgramRequest.cc b/live/src/model/DescribeCasterProgramRequest.cc index 6d3e0442e..7c75ccb68 100644 --- a/live/src/model/DescribeCasterProgramRequest.cc +++ b/live/src/model/DescribeCasterProgramRequest.cc @@ -1,128 +1,108 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeCasterProgramRequest; - -DescribeCasterProgramRequest::DescribeCasterProgramRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeCasterProgram") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCasterProgramRequest::~DescribeCasterProgramRequest() -{} - -std::string DescribeCasterProgramRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeCasterProgramRequest; + +DescribeCasterProgramRequest::DescribeCasterProgramRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeCasterProgram") { + setMethod(HttpRequest::Method::Post); } -void DescribeCasterProgramRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeCasterProgramRequest::~DescribeCasterProgramRequest() {} + +std::string DescribeCasterProgramRequest::getStartTime() const { + return startTime_; } -int DescribeCasterProgramRequest::getPageNum()const -{ - return pageNum_; +void DescribeCasterProgramRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeCasterProgramRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); +int DescribeCasterProgramRequest::getPageNum() const { + return pageNum_; } -int DescribeCasterProgramRequest::getPageSize()const -{ - return pageSize_; +void DescribeCasterProgramRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setParameter(std::string("PageNum"), std::to_string(pageNum)); } -void DescribeCasterProgramRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int DescribeCasterProgramRequest::getPageSize() const { + return pageSize_; } -std::string DescribeCasterProgramRequest::getCasterId()const -{ - return casterId_; +void DescribeCasterProgramRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeCasterProgramRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string DescribeCasterProgramRequest::getCasterId() const { + return casterId_; } -std::string DescribeCasterProgramRequest::getEpisodeType()const -{ - return episodeType_; +void DescribeCasterProgramRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void DescribeCasterProgramRequest::setEpisodeType(const std::string& episodeType) -{ - episodeType_ = episodeType; - setParameter("EpisodeType", episodeType); +std::string DescribeCasterProgramRequest::getEpisodeType() const { + return episodeType_; } -std::string DescribeCasterProgramRequest::getEndTime()const -{ - return endTime_; +void DescribeCasterProgramRequest::setEpisodeType(const std::string &episodeType) { + episodeType_ = episodeType; + setParameter(std::string("EpisodeType"), episodeType); } -void DescribeCasterProgramRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeCasterProgramRequest::getEndTime() const { + return endTime_; } -long DescribeCasterProgramRequest::getOwnerId()const -{ - return ownerId_; +void DescribeCasterProgramRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeCasterProgramRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeCasterProgramRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeCasterProgramRequest::getEpisodeId()const -{ - return episodeId_; +void DescribeCasterProgramRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeCasterProgramRequest::setEpisodeId(const std::string& episodeId) -{ - episodeId_ = episodeId; - setParameter("EpisodeId", episodeId); +std::string DescribeCasterProgramRequest::getEpisodeId() const { + return episodeId_; } -int DescribeCasterProgramRequest::getStatus()const -{ - return status_; +void DescribeCasterProgramRequest::setEpisodeId(const std::string &episodeId) { + episodeId_ = episodeId; + setParameter(std::string("EpisodeId"), episodeId); } -void DescribeCasterProgramRequest::setStatus(int status) -{ - status_ = status; - setParameter("Status", std::to_string(status)); +int DescribeCasterProgramRequest::getStatus() const { + return status_; +} + +void DescribeCasterProgramRequest::setStatus(int status) { + status_ = status; + setParameter(std::string("Status"), std::to_string(status)); } diff --git a/live/src/model/DescribeCasterProgramResult.cc b/live/src/model/DescribeCasterProgramResult.cc index 7129e5d54..9f5ba660a 100644 --- a/live/src/model/DescribeCasterProgramResult.cc +++ b/live/src/model/DescribeCasterProgramResult.cc @@ -43,33 +43,33 @@ void DescribeCasterProgramResult::parse(const std::string &payload) for (auto valueEpisodesEpisode : allEpisodesNode) { Episode episodesObject; - if(!valueEpisodesEpisode["EpisodeId"].isNull()) - episodesObject.episodeId = valueEpisodesEpisode["EpisodeId"].asString(); - if(!valueEpisodesEpisode["EpisodeType"].isNull()) - episodesObject.episodeType = valueEpisodesEpisode["EpisodeType"].asString(); - if(!valueEpisodesEpisode["EpisodeName"].isNull()) - episodesObject.episodeName = valueEpisodesEpisode["EpisodeName"].asString(); - if(!valueEpisodesEpisode["ResourceId"].isNull()) - episodesObject.resourceId = valueEpisodesEpisode["ResourceId"].asString(); - if(!valueEpisodesEpisode["StartTime"].isNull()) - episodesObject.startTime = valueEpisodesEpisode["StartTime"].asString(); - if(!valueEpisodesEpisode["EndTime"].isNull()) - episodesObject.endTime = valueEpisodesEpisode["EndTime"].asString(); - if(!valueEpisodesEpisode["SwitchType"].isNull()) - episodesObject.switchType = valueEpisodesEpisode["SwitchType"].asString(); if(!valueEpisodesEpisode["Status"].isNull()) episodesObject.status = std::stoi(valueEpisodesEpisode["Status"].asString()); + if(!valueEpisodesEpisode["EndTime"].isNull()) + episodesObject.endTime = valueEpisodesEpisode["EndTime"].asString(); + if(!valueEpisodesEpisode["StartTime"].isNull()) + episodesObject.startTime = valueEpisodesEpisode["StartTime"].asString(); + if(!valueEpisodesEpisode["EpisodeName"].isNull()) + episodesObject.episodeName = valueEpisodesEpisode["EpisodeName"].asString(); + if(!valueEpisodesEpisode["EpisodeType"].isNull()) + episodesObject.episodeType = valueEpisodesEpisode["EpisodeType"].asString(); + if(!valueEpisodesEpisode["EpisodeId"].isNull()) + episodesObject.episodeId = valueEpisodesEpisode["EpisodeId"].asString(); + if(!valueEpisodesEpisode["ResourceId"].isNull()) + episodesObject.resourceId = valueEpisodesEpisode["ResourceId"].asString(); + if(!valueEpisodesEpisode["SwitchType"].isNull()) + episodesObject.switchType = valueEpisodesEpisode["SwitchType"].asString(); auto allComponentIds = value["ComponentIds"]["ComponentId"]; for (auto value : allComponentIds) episodesObject.componentIds.push_back(value.asString()); episodes_.push_back(episodesObject); } - if(!value["CasterId"].isNull()) - casterId_ = value["CasterId"].asString(); if(!value["ProgramName"].isNull()) programName_ = value["ProgramName"].asString(); if(!value["ProgramEffect"].isNull()) programEffect_ = std::stoi(value["ProgramEffect"].asString()); + if(!value["CasterId"].isNull()) + casterId_ = value["CasterId"].asString(); if(!value["Total"].isNull()) total_ = std::stoi(value["Total"].asString()); @@ -90,13 +90,13 @@ std::vector DescribeCasterProgramResult::g return episodes_; } -std::string DescribeCasterProgramResult::getCasterId()const -{ - return casterId_; -} - std::string DescribeCasterProgramResult::getProgramName()const { return programName_; } +std::string DescribeCasterProgramResult::getCasterId()const +{ + return casterId_; +} + diff --git a/live/src/model/DescribeCasterSceneAudioRequest.cc b/live/src/model/DescribeCasterSceneAudioRequest.cc index 05c9aa72e..4a633c646 100644 --- a/live/src/model/DescribeCasterSceneAudioRequest.cc +++ b/live/src/model/DescribeCasterSceneAudioRequest.cc @@ -1,62 +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::DescribeCasterSceneAudioRequest; - -DescribeCasterSceneAudioRequest::DescribeCasterSceneAudioRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeCasterSceneAudio") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCasterSceneAudioRequest::~DescribeCasterSceneAudioRequest() -{} - -std::string DescribeCasterSceneAudioRequest::getCasterId()const -{ - return casterId_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeCasterSceneAudioRequest; + +DescribeCasterSceneAudioRequest::DescribeCasterSceneAudioRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeCasterSceneAudio") { + setMethod(HttpRequest::Method::Post); } -void DescribeCasterSceneAudioRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +DescribeCasterSceneAudioRequest::~DescribeCasterSceneAudioRequest() {} + +std::string DescribeCasterSceneAudioRequest::getCasterId() const { + return casterId_; } -long DescribeCasterSceneAudioRequest::getOwnerId()const -{ - return ownerId_; +void DescribeCasterSceneAudioRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void DescribeCasterSceneAudioRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeCasterSceneAudioRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeCasterSceneAudioRequest::getSceneId()const -{ - return sceneId_; +void DescribeCasterSceneAudioRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeCasterSceneAudioRequest::setSceneId(const std::string& sceneId) -{ - sceneId_ = sceneId; - setParameter("SceneId", sceneId); +std::string DescribeCasterSceneAudioRequest::getSceneId() const { + return sceneId_; +} + +void DescribeCasterSceneAudioRequest::setSceneId(const std::string &sceneId) { + sceneId_ = sceneId; + setParameter(std::string("SceneId"), sceneId); } diff --git a/live/src/model/DescribeCasterSceneAudioResult.cc b/live/src/model/DescribeCasterSceneAudioResult.cc index 3859bca0f..f56042e39 100644 --- a/live/src/model/DescribeCasterSceneAudioResult.cc +++ b/live/src/model/DescribeCasterSceneAudioResult.cc @@ -45,10 +45,10 @@ void DescribeCasterSceneAudioResult::parse(const std::string &payload) AudioLayer audioLayersObject; if(!valueAudioLayersAudioLayer["VolumeRate"].isNull()) audioLayersObject.volumeRate = std::stof(valueAudioLayersAudioLayer["VolumeRate"].asString()); - if(!valueAudioLayersAudioLayer["ValidChannel"].isNull()) - audioLayersObject.validChannel = valueAudioLayersAudioLayer["ValidChannel"].asString(); if(!valueAudioLayersAudioLayer["FixedDelayDuration"].isNull()) audioLayersObject.fixedDelayDuration = std::stoi(valueAudioLayersAudioLayer["FixedDelayDuration"].asString()); + if(!valueAudioLayersAudioLayer["ValidChannel"].isNull()) + audioLayersObject.validChannel = valueAudioLayersAudioLayer["ValidChannel"].asString(); audioLayers_.push_back(audioLayersObject); } auto allMixList = value["MixList"]["LocationId"]; diff --git a/live/src/model/DescribeCasterScenesRequest.cc b/live/src/model/DescribeCasterScenesRequest.cc index 88621deb5..78ea364c7 100644 --- a/live/src/model/DescribeCasterScenesRequest.cc +++ b/live/src/model/DescribeCasterScenesRequest.cc @@ -1,62 +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::DescribeCasterScenesRequest; - -DescribeCasterScenesRequest::DescribeCasterScenesRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeCasterScenes") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCasterScenesRequest::~DescribeCasterScenesRequest() -{} - -std::string DescribeCasterScenesRequest::getCasterId()const -{ - return casterId_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeCasterScenesRequest; + +DescribeCasterScenesRequest::DescribeCasterScenesRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeCasterScenes") { + setMethod(HttpRequest::Method::Post); } -void DescribeCasterScenesRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +DescribeCasterScenesRequest::~DescribeCasterScenesRequest() {} + +std::string DescribeCasterScenesRequest::getCasterId() const { + return casterId_; } -long DescribeCasterScenesRequest::getOwnerId()const -{ - return ownerId_; +void DescribeCasterScenesRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void DescribeCasterScenesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeCasterScenesRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeCasterScenesRequest::getSceneId()const -{ - return sceneId_; +void DescribeCasterScenesRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeCasterScenesRequest::setSceneId(const std::string& sceneId) -{ - sceneId_ = sceneId; - setParameter("SceneId", sceneId); +std::string DescribeCasterScenesRequest::getSceneId() const { + return sceneId_; +} + +void DescribeCasterScenesRequest::setSceneId(const std::string &sceneId) { + sceneId_ = sceneId; + setParameter(std::string("SceneId"), sceneId); } diff --git a/live/src/model/DescribeCasterScenesResult.cc b/live/src/model/DescribeCasterScenesResult.cc index c864086a6..0b125beda 100644 --- a/live/src/model/DescribeCasterScenesResult.cc +++ b/live/src/model/DescribeCasterScenesResult.cc @@ -43,30 +43,30 @@ void DescribeCasterScenesResult::parse(const std::string &payload) for (auto valueSceneListScene : allSceneListNode) { Scene sceneListObject; + if(!valueSceneListScene["Status"].isNull()) + sceneListObject.status = std::stoi(valueSceneListScene["Status"].asString()); + if(!valueSceneListScene["LayoutId"].isNull()) + sceneListObject.layoutId = valueSceneListScene["LayoutId"].asString(); + if(!valueSceneListScene["OutputType"].isNull()) + sceneListObject.outputType = valueSceneListScene["OutputType"].asString(); + if(!valueSceneListScene["RtsUrl"].isNull()) + sceneListObject.rtsUrl = valueSceneListScene["RtsUrl"].asString(); if(!valueSceneListScene["SceneId"].isNull()) sceneListObject.sceneId = valueSceneListScene["SceneId"].asString(); if(!valueSceneListScene["SceneName"].isNull()) sceneListObject.sceneName = valueSceneListScene["SceneName"].asString(); - if(!valueSceneListScene["OutputType"].isNull()) - sceneListObject.outputType = valueSceneListScene["OutputType"].asString(); - if(!valueSceneListScene["LayoutId"].isNull()) - sceneListObject.layoutId = valueSceneListScene["LayoutId"].asString(); if(!valueSceneListScene["StreamUrl"].isNull()) sceneListObject.streamUrl = valueSceneListScene["StreamUrl"].asString(); - if(!valueSceneListScene["RtsUrl"].isNull()) - sceneListObject.rtsUrl = valueSceneListScene["RtsUrl"].asString(); - if(!valueSceneListScene["Status"].isNull()) - sceneListObject.status = std::stoi(valueSceneListScene["Status"].asString()); auto allStreamInfosNode = valueSceneListScene["StreamInfos"]["StreamInfo"]; for (auto valueSceneListSceneStreamInfosStreamInfo : allStreamInfosNode) { Scene::StreamInfo streamInfosObject; - if(!valueSceneListSceneStreamInfosStreamInfo["TranscodeConfig"].isNull()) - streamInfosObject.transcodeConfig = valueSceneListSceneStreamInfosStreamInfo["TranscodeConfig"].asString(); if(!valueSceneListSceneStreamInfosStreamInfo["VideoFormat"].isNull()) streamInfosObject.videoFormat = valueSceneListSceneStreamInfosStreamInfo["VideoFormat"].asString(); if(!valueSceneListSceneStreamInfosStreamInfo["OutputStreamUrl"].isNull()) streamInfosObject.outputStreamUrl = valueSceneListSceneStreamInfosStreamInfo["OutputStreamUrl"].asString(); + if(!valueSceneListSceneStreamInfosStreamInfo["TranscodeConfig"].isNull()) + streamInfosObject.transcodeConfig = valueSceneListSceneStreamInfosStreamInfo["TranscodeConfig"].asString(); sceneListObject.streamInfos.push_back(streamInfosObject); } auto allComponentIds = value["ComponentIds"]["componentId"]; diff --git a/live/src/model/DescribeCasterStreamUrlRequest.cc b/live/src/model/DescribeCasterStreamUrlRequest.cc index 654a755ae..f9d3ee03a 100644 --- a/live/src/model/DescribeCasterStreamUrlRequest.cc +++ b/live/src/model/DescribeCasterStreamUrlRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeCasterStreamUrlRequest; - -DescribeCasterStreamUrlRequest::DescribeCasterStreamUrlRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeCasterStreamUrl") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCasterStreamUrlRequest::~DescribeCasterStreamUrlRequest() -{} - -std::string DescribeCasterStreamUrlRequest::getCasterId()const -{ - return casterId_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeCasterStreamUrlRequest; + +DescribeCasterStreamUrlRequest::DescribeCasterStreamUrlRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeCasterStreamUrl") { + setMethod(HttpRequest::Method::Post); } -void DescribeCasterStreamUrlRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +DescribeCasterStreamUrlRequest::~DescribeCasterStreamUrlRequest() {} + +std::string DescribeCasterStreamUrlRequest::getCasterId() const { + return casterId_; } -long DescribeCasterStreamUrlRequest::getOwnerId()const -{ - return ownerId_; +void DescribeCasterStreamUrlRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void DescribeCasterStreamUrlRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeCasterStreamUrlRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCasterStreamUrlRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeCasterStreamUrlResult.cc b/live/src/model/DescribeCasterStreamUrlResult.cc index 8bf7d4a41..895a205a6 100644 --- a/live/src/model/DescribeCasterStreamUrlResult.cc +++ b/live/src/model/DescribeCasterStreamUrlResult.cc @@ -43,26 +43,26 @@ void DescribeCasterStreamUrlResult::parse(const std::string &payload) for (auto valueCasterStreamsCasterStream : allCasterStreamsNode) { CasterStream casterStreamsObject; - if(!valueCasterStreamsCasterStream["SceneId"].isNull()) - casterStreamsObject.sceneId = valueCasterStreamsCasterStream["SceneId"].asString(); - if(!valueCasterStreamsCasterStream["StreamUrl"].isNull()) - casterStreamsObject.streamUrl = valueCasterStreamsCasterStream["StreamUrl"].asString(); - if(!valueCasterStreamsCasterStream["RtmpUrl"].isNull()) - casterStreamsObject.rtmpUrl = valueCasterStreamsCasterStream["RtmpUrl"].asString(); if(!valueCasterStreamsCasterStream["RtsUrl"].isNull()) casterStreamsObject.rtsUrl = valueCasterStreamsCasterStream["RtsUrl"].asString(); + if(!valueCasterStreamsCasterStream["RtmpUrl"].isNull()) + casterStreamsObject.rtmpUrl = valueCasterStreamsCasterStream["RtmpUrl"].asString(); + if(!valueCasterStreamsCasterStream["SceneId"].isNull()) + casterStreamsObject.sceneId = valueCasterStreamsCasterStream["SceneId"].asString(); if(!valueCasterStreamsCasterStream["OutputType"].isNull()) casterStreamsObject.outputType = std::stoi(valueCasterStreamsCasterStream["OutputType"].asString()); + if(!valueCasterStreamsCasterStream["StreamUrl"].isNull()) + casterStreamsObject.streamUrl = valueCasterStreamsCasterStream["StreamUrl"].asString(); auto allStreamInfosNode = valueCasterStreamsCasterStream["StreamInfos"]["StreamInfo"]; for (auto valueCasterStreamsCasterStreamStreamInfosStreamInfo : allStreamInfosNode) { CasterStream::StreamInfo streamInfosObject; - if(!valueCasterStreamsCasterStreamStreamInfosStreamInfo["TranscodeConfig"].isNull()) - streamInfosObject.transcodeConfig = valueCasterStreamsCasterStreamStreamInfosStreamInfo["TranscodeConfig"].asString(); if(!valueCasterStreamsCasterStreamStreamInfosStreamInfo["VideoFormat"].isNull()) streamInfosObject.videoFormat = valueCasterStreamsCasterStreamStreamInfosStreamInfo["VideoFormat"].asString(); if(!valueCasterStreamsCasterStreamStreamInfosStreamInfo["OutputStreamUrl"].isNull()) streamInfosObject.outputStreamUrl = valueCasterStreamsCasterStreamStreamInfosStreamInfo["OutputStreamUrl"].asString(); + if(!valueCasterStreamsCasterStreamStreamInfosStreamInfo["TranscodeConfig"].isNull()) + streamInfosObject.transcodeConfig = valueCasterStreamsCasterStreamStreamInfosStreamInfo["TranscodeConfig"].asString(); casterStreamsObject.streamInfos.push_back(streamInfosObject); } casterStreams_.push_back(casterStreamsObject); diff --git a/live/src/model/DescribeCasterSyncGroupRequest.cc b/live/src/model/DescribeCasterSyncGroupRequest.cc index eb9e6eab9..f991038ad 100644 --- a/live/src/model/DescribeCasterSyncGroupRequest.cc +++ b/live/src/model/DescribeCasterSyncGroupRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -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_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeCasterSyncGroupRequest; + +DescribeCasterSyncGroupRequest::DescribeCasterSyncGroupRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeCasterSyncGroup") { + setMethod(HttpRequest::Method::Post); } -void DescribeCasterSyncGroupRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +DescribeCasterSyncGroupRequest::~DescribeCasterSyncGroupRequest() {} + +std::string DescribeCasterSyncGroupRequest::getCasterId() const { + return casterId_; } -long DescribeCasterSyncGroupRequest::getOwnerId()const -{ - return ownerId_; +void DescribeCasterSyncGroupRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void DescribeCasterSyncGroupRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +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 index 64c577883..734452ec6 100644 --- a/live/src/model/DescribeCasterSyncGroupResult.cc +++ b/live/src/model/DescribeCasterSyncGroupResult.cc @@ -43,10 +43,10 @@ void DescribeCasterSyncGroupResult::parse(const std::string &payload) for (auto valueSyncGroupsSyncGroup : allSyncGroupsNode) { SyncGroup syncGroupsObject; - if(!valueSyncGroupsSyncGroup["Mode"].isNull()) - syncGroupsObject.mode = std::stoi(valueSyncGroupsSyncGroup["Mode"].asString()); 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()); diff --git a/live/src/model/DescribeCasterVideoResourcesRequest.cc b/live/src/model/DescribeCasterVideoResourcesRequest.cc index 8d6e8f7d6..f05d4c06f 100644 --- a/live/src/model/DescribeCasterVideoResourcesRequest.cc +++ b/live/src/model/DescribeCasterVideoResourcesRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeCasterVideoResourcesRequest; - -DescribeCasterVideoResourcesRequest::DescribeCasterVideoResourcesRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeCasterVideoResources") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCasterVideoResourcesRequest::~DescribeCasterVideoResourcesRequest() -{} - -std::string DescribeCasterVideoResourcesRequest::getCasterId()const -{ - return casterId_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeCasterVideoResourcesRequest; + +DescribeCasterVideoResourcesRequest::DescribeCasterVideoResourcesRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeCasterVideoResources") { + setMethod(HttpRequest::Method::Post); } -void DescribeCasterVideoResourcesRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +DescribeCasterVideoResourcesRequest::~DescribeCasterVideoResourcesRequest() {} + +std::string DescribeCasterVideoResourcesRequest::getCasterId() const { + return casterId_; } -long DescribeCasterVideoResourcesRequest::getOwnerId()const -{ - return ownerId_; +void DescribeCasterVideoResourcesRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void DescribeCasterVideoResourcesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeCasterVideoResourcesRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeCasterVideoResourcesRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeCasterVideoResourcesResult.cc b/live/src/model/DescribeCasterVideoResourcesResult.cc index 44b34219b..84b4cddec 100644 --- a/live/src/model/DescribeCasterVideoResourcesResult.cc +++ b/live/src/model/DescribeCasterVideoResourcesResult.cc @@ -43,28 +43,28 @@ void DescribeCasterVideoResourcesResult::parse(const std::string &payload) for (auto valueVideoResourcesVideoResource : allVideoResourcesNode) { VideoResource videoResourcesObject; + if(!valueVideoResourcesVideoResource["EndOffset"].isNull()) + videoResourcesObject.endOffset = std::stoi(valueVideoResourcesVideoResource["EndOffset"].asString()); + if(!valueVideoResourcesVideoResource["FlvUrl"].isNull()) + videoResourcesObject.flvUrl = valueVideoResourcesVideoResource["FlvUrl"].asString(); + if(!valueVideoResourcesVideoResource["BeginOffset"].isNull()) + videoResourcesObject.beginOffset = std::stoi(valueVideoResourcesVideoResource["BeginOffset"].asString()); + if(!valueVideoResourcesVideoResource["PtsCallbackInterval"].isNull()) + videoResourcesObject.ptsCallbackInterval = std::stoi(valueVideoResourcesVideoResource["PtsCallbackInterval"].asString()); if(!valueVideoResourcesVideoResource["MaterialId"].isNull()) videoResourcesObject.materialId = valueVideoResourcesVideoResource["MaterialId"].asString(); - if(!valueVideoResourcesVideoResource["ResourceId"].isNull()) - videoResourcesObject.resourceId = valueVideoResourcesVideoResource["ResourceId"].asString(); - if(!valueVideoResourcesVideoResource["ResourceName"].isNull()) - videoResourcesObject.resourceName = valueVideoResourcesVideoResource["ResourceName"].asString(); if(!valueVideoResourcesVideoResource["LocationId"].isNull()) videoResourcesObject.locationId = valueVideoResourcesVideoResource["LocationId"].asString(); if(!valueVideoResourcesVideoResource["LiveStreamUrl"].isNull()) videoResourcesObject.liveStreamUrl = valueVideoResourcesVideoResource["LiveStreamUrl"].asString(); - if(!valueVideoResourcesVideoResource["FlvUrl"].isNull()) - videoResourcesObject.flvUrl = valueVideoResourcesVideoResource["FlvUrl"].asString(); - if(!valueVideoResourcesVideoResource["RepeatNum"].isNull()) - videoResourcesObject.repeatNum = std::stoi(valueVideoResourcesVideoResource["RepeatNum"].asString()); if(!valueVideoResourcesVideoResource["VodUrl"].isNull()) videoResourcesObject.vodUrl = valueVideoResourcesVideoResource["VodUrl"].asString(); - if(!valueVideoResourcesVideoResource["BeginOffset"].isNull()) - videoResourcesObject.beginOffset = std::stoi(valueVideoResourcesVideoResource["BeginOffset"].asString()); - if(!valueVideoResourcesVideoResource["EndOffset"].isNull()) - videoResourcesObject.endOffset = std::stoi(valueVideoResourcesVideoResource["EndOffset"].asString()); - if(!valueVideoResourcesVideoResource["PtsCallbackInterval"].isNull()) - videoResourcesObject.ptsCallbackInterval = std::stoi(valueVideoResourcesVideoResource["PtsCallbackInterval"].asString()); + if(!valueVideoResourcesVideoResource["ResourceId"].isNull()) + videoResourcesObject.resourceId = valueVideoResourcesVideoResource["ResourceId"].asString(); + if(!valueVideoResourcesVideoResource["RepeatNum"].isNull()) + videoResourcesObject.repeatNum = std::stoi(valueVideoResourcesVideoResource["RepeatNum"].asString()); + if(!valueVideoResourcesVideoResource["ResourceName"].isNull()) + videoResourcesObject.resourceName = valueVideoResourcesVideoResource["ResourceName"].asString(); videoResources_.push_back(videoResourcesObject); } if(!value["Total"].isNull()) diff --git a/live/src/model/DescribeCastersRequest.cc b/live/src/model/DescribeCastersRequest.cc index 97332136f..e603d005c 100644 --- a/live/src/model/DescribeCastersRequest.cc +++ b/live/src/model/DescribeCastersRequest.cc @@ -1,139 +1,126 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeCastersRequest; - -DescribeCastersRequest::DescribeCastersRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeCasters") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCastersRequest::~DescribeCastersRequest() -{} - -std::string DescribeCastersRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeCastersRequest; + +DescribeCastersRequest::DescribeCastersRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeCasters") { + setMethod(HttpRequest::Method::Post); } -void DescribeCastersRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeCastersRequest::~DescribeCastersRequest() {} + +std::string DescribeCastersRequest::getStartTime() const { + return startTime_; } -int DescribeCastersRequest::getPageNum()const -{ - return pageNum_; +void DescribeCastersRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeCastersRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); +int DescribeCastersRequest::getPageNum() const { + return pageNum_; } -std::string DescribeCastersRequest::getCasterName()const -{ - return casterName_; +void DescribeCastersRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setParameter(std::string("PageNum"), std::to_string(pageNum)); } -void DescribeCastersRequest::setCasterName(const std::string& casterName) -{ - casterName_ = casterName; - setParameter("CasterName", casterName); +std::string DescribeCastersRequest::getCasterName() const { + return casterName_; } -int DescribeCastersRequest::getPageSize()const -{ - return pageSize_; +void DescribeCastersRequest::setCasterName(const std::string &casterName) { + casterName_ = casterName; + setParameter(std::string("CasterName"), casterName); } -void DescribeCastersRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int DescribeCastersRequest::getPageSize() const { + return pageSize_; } -std::string DescribeCastersRequest::getCasterId()const -{ - return casterId_; +void DescribeCastersRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeCastersRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string DescribeCastersRequest::getNormType() const { + return normType_; } -std::string DescribeCastersRequest::getEndTime()const -{ - return endTime_; +void DescribeCastersRequest::setNormType(const std::string &normType) { + normType_ = normType; + setParameter(std::string("NormType"), normType); } -void DescribeCastersRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeCastersRequest::getCasterId() const { + return casterId_; } -long DescribeCastersRequest::getOwnerId()const -{ - return ownerId_; +void DescribeCastersRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void DescribeCastersRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeCastersRequest::getEndTime() const { + return endTime_; } -std::string DescribeCastersRequest::getOrderByModifyAsc()const -{ - return orderByModifyAsc_; +void DescribeCastersRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeCastersRequest::setOrderByModifyAsc(const std::string& orderByModifyAsc) -{ - orderByModifyAsc_ = orderByModifyAsc; - setParameter("OrderByModifyAsc", orderByModifyAsc); +long DescribeCastersRequest::getOwnerId() const { + return ownerId_; } -int DescribeCastersRequest::getChargeType()const -{ - return chargeType_; +void DescribeCastersRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeCastersRequest::setChargeType(int chargeType) -{ - chargeType_ = chargeType; - setParameter("ChargeType", std::to_string(chargeType)); +std::string DescribeCastersRequest::getOrderByModifyAsc() const { + return orderByModifyAsc_; } -int DescribeCastersRequest::getStatus()const -{ - return status_; +void DescribeCastersRequest::setOrderByModifyAsc(const std::string &orderByModifyAsc) { + orderByModifyAsc_ = orderByModifyAsc; + setParameter(std::string("OrderByModifyAsc"), orderByModifyAsc); } -void DescribeCastersRequest::setStatus(int status) -{ - status_ = status; - setParameter("Status", std::to_string(status)); +int DescribeCastersRequest::getChargeType() const { + return chargeType_; +} + +void DescribeCastersRequest::setChargeType(int chargeType) { + chargeType_ = chargeType; + setParameter(std::string("ChargeType"), std::to_string(chargeType)); +} + +int DescribeCastersRequest::getStatus() const { + return status_; +} + +void DescribeCastersRequest::setStatus(int status) { + status_ = status; + setParameter(std::string("Status"), std::to_string(status)); } diff --git a/live/src/model/DescribeCastersResult.cc b/live/src/model/DescribeCastersResult.cc index dbed47e8a..6964120e0 100644 --- a/live/src/model/DescribeCastersResult.cc +++ b/live/src/model/DescribeCastersResult.cc @@ -45,32 +45,32 @@ void DescribeCastersResult::parse(const std::string &payload) Caster casterListObject; if(!valueCasterListCaster["Status"].isNull()) casterListObject.status = std::stoi(valueCasterListCaster["Status"].asString()); - if(!valueCasterListCaster["NormType"].isNull()) - casterListObject.normType = std::stoi(valueCasterListCaster["NormType"].asString()); - if(!valueCasterListCaster["CasterId"].isNull()) - casterListObject.casterId = valueCasterListCaster["CasterId"].asString(); - if(!valueCasterListCaster["CasterName"].isNull()) - casterListObject.casterName = valueCasterListCaster["CasterName"].asString(); - if(!valueCasterListCaster["CreateTime"].isNull()) - casterListObject.createTime = valueCasterListCaster["CreateTime"].asString(); - if(!valueCasterListCaster["StartTime"].isNull()) - casterListObject.startTime = valueCasterListCaster["StartTime"].asString(); if(!valueCasterListCaster["PurchaseTime"].isNull()) casterListObject.purchaseTime = valueCasterListCaster["PurchaseTime"].asString(); if(!valueCasterListCaster["ExpireTime"].isNull()) casterListObject.expireTime = valueCasterListCaster["ExpireTime"].asString(); + if(!valueCasterListCaster["CreateTime"].isNull()) + casterListObject.createTime = valueCasterListCaster["CreateTime"].asString(); + if(!valueCasterListCaster["CasterName"].isNull()) + casterListObject.casterName = valueCasterListCaster["CasterName"].asString(); if(!valueCasterListCaster["ChargeType"].isNull()) casterListObject.chargeType = valueCasterListCaster["ChargeType"].asString(); if(!valueCasterListCaster["CasterTemplate"].isNull()) casterListObject.casterTemplate = valueCasterListCaster["CasterTemplate"].asString(); + if(!valueCasterListCaster["RoomId"].isNull()) + casterListObject.roomId = std::stoi(valueCasterListCaster["RoomId"].asString()); + if(!valueCasterListCaster["CasterId"].isNull()) + casterListObject.casterId = valueCasterListCaster["CasterId"].asString(); if(!valueCasterListCaster["ChannelEnable"].isNull()) casterListObject.channelEnable = std::stoi(valueCasterListCaster["ChannelEnable"].asString()); if(!valueCasterListCaster["LastModified"].isNull()) casterListObject.lastModified = valueCasterListCaster["LastModified"].asString(); + if(!valueCasterListCaster["StartTime"].isNull()) + casterListObject.startTime = valueCasterListCaster["StartTime"].asString(); + if(!valueCasterListCaster["NormType"].isNull()) + casterListObject.normType = std::stoi(valueCasterListCaster["NormType"].asString()); if(!valueCasterListCaster["Duration"].isNull()) casterListObject.duration = valueCasterListCaster["Duration"].asString(); - if(!valueCasterListCaster["RoomId"].isNull()) - casterListObject.roomId = std::stoi(valueCasterListCaster["RoomId"].asString()); casterList_.push_back(casterListObject); } if(!value["Total"].isNull()) diff --git a/live/src/model/DescribeDomainUsageDataRequest.cc b/live/src/model/DescribeDomainUsageDataRequest.cc index 22a36ca24..fd61f939e 100644 --- a/live/src/model/DescribeDomainUsageDataRequest.cc +++ b/live/src/model/DescribeDomainUsageDataRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeDomainUsageDataRequest; - -DescribeDomainUsageDataRequest::DescribeDomainUsageDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeDomainUsageData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDomainUsageDataRequest::~DescribeDomainUsageDataRequest() -{} - -std::string DescribeDomainUsageDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeDomainUsageDataRequest; + +DescribeDomainUsageDataRequest::DescribeDomainUsageDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeDomainUsageData") { + setMethod(HttpRequest::Method::Post); } -void DescribeDomainUsageDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDomainUsageDataRequest::~DescribeDomainUsageDataRequest() {} + +std::string DescribeDomainUsageDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeDomainUsageDataRequest::getType()const -{ - return type_; +void DescribeDomainUsageDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDomainUsageDataRequest::setType(const std::string& type) -{ - type_ = type; - setParameter("Type", type); +std::string DescribeDomainUsageDataRequest::getType() const { + return type_; } -std::string DescribeDomainUsageDataRequest::getArea()const -{ - return area_; +void DescribeDomainUsageDataRequest::setType(const std::string &type) { + type_ = type; + setParameter(std::string("Type"), type); } -void DescribeDomainUsageDataRequest::setArea(const std::string& area) -{ - area_ = area; - setParameter("Area", area); +std::string DescribeDomainUsageDataRequest::getArea() const { + return area_; } -std::string DescribeDomainUsageDataRequest::getDomainName()const -{ - return domainName_; +void DescribeDomainUsageDataRequest::setArea(const std::string &area) { + area_ = area; + setParameter(std::string("Area"), area); } -void DescribeDomainUsageDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeDomainUsageDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeDomainUsageDataRequest::getEndTime()const -{ - return endTime_; +void DescribeDomainUsageDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeDomainUsageDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDomainUsageDataRequest::getEndTime() const { + return endTime_; } -long DescribeDomainUsageDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDomainUsageDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDomainUsageDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeDomainUsageDataRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeDomainUsageDataRequest::getField()const -{ - return field_; +void DescribeDomainUsageDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeDomainUsageDataRequest::setField(const std::string& field) -{ - field_ = field; - setParameter("Field", field); +std::string DescribeDomainUsageDataRequest::getField() const { + return field_; } -std::string DescribeDomainUsageDataRequest::getInterval()const -{ - return interval_; +void DescribeDomainUsageDataRequest::setField(const std::string &field) { + field_ = field; + setParameter(std::string("Field"), field); } -void DescribeDomainUsageDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +std::string DescribeDomainUsageDataRequest::getInterval() const { + return interval_; +} + +void DescribeDomainUsageDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } diff --git a/live/src/model/DescribeDomainUsageDataResult.cc b/live/src/model/DescribeDomainUsageDataResult.cc index 808669e31..4c19713d0 100644 --- a/live/src/model/DescribeDomainUsageDataResult.cc +++ b/live/src/model/DescribeDomainUsageDataResult.cc @@ -43,22 +43,22 @@ void DescribeDomainUsageDataResult::parse(const std::string &payload) for (auto valueUsageDataPerIntervalDataModule : allUsageDataPerIntervalNode) { DataModule usageDataPerIntervalObject; - if(!valueUsageDataPerIntervalDataModule["TimeStamp"].isNull()) - usageDataPerIntervalObject.timeStamp = valueUsageDataPerIntervalDataModule["TimeStamp"].asString(); if(!valueUsageDataPerIntervalDataModule["Value"].isNull()) usageDataPerIntervalObject.value = valueUsageDataPerIntervalDataModule["Value"].asString(); + if(!valueUsageDataPerIntervalDataModule["TimeStamp"].isNull()) + usageDataPerIntervalObject.timeStamp = valueUsageDataPerIntervalDataModule["TimeStamp"].asString(); usageDataPerInterval_.push_back(usageDataPerIntervalObject); } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); if(!value["EndTime"].isNull()) endTime_ = value["EndTime"].asString(); - if(!value["Field"].isNull()) - field_ = value["Field"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); if(!value["Area"].isNull()) area_ = value["Area"].asString(); + if(!value["Field"].isNull()) + field_ = value["Field"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/live/src/model/DescribeDomainWithIntegrityRequest.cc b/live/src/model/DescribeDomainWithIntegrityRequest.cc index 5dd9c9cad..ec4483027 100644 --- a/live/src/model/DescribeDomainWithIntegrityRequest.cc +++ b/live/src/model/DescribeDomainWithIntegrityRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeDomainWithIntegrityRequest; - -DescribeDomainWithIntegrityRequest::DescribeDomainWithIntegrityRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeDomainWithIntegrity") -{ - setMethod(HttpRequest::Method::Get); -} - -DescribeDomainWithIntegrityRequest::~DescribeDomainWithIntegrityRequest() -{} - -std::string DescribeDomainWithIntegrityRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeDomainWithIntegrityRequest; + +DescribeDomainWithIntegrityRequest::DescribeDomainWithIntegrityRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeDomainWithIntegrity") { + setMethod(HttpRequest::Method::Get); } -void DescribeDomainWithIntegrityRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeDomainWithIntegrityRequest::~DescribeDomainWithIntegrityRequest() {} + +std::string DescribeDomainWithIntegrityRequest::getStartTime() const { + return startTime_; } -float DescribeDomainWithIntegrityRequest::getIntegrity()const -{ - return integrity_; +void DescribeDomainWithIntegrityRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeDomainWithIntegrityRequest::setIntegrity(float integrity) -{ - integrity_ = integrity; - setParameter("Integrity", std::to_string(integrity)); +float DescribeDomainWithIntegrityRequest::getIntegrity() const { + return integrity_; } -std::string DescribeDomainWithIntegrityRequest::getEndTime()const -{ - return endTime_; +void DescribeDomainWithIntegrityRequest::setIntegrity(float integrity) { + integrity_ = integrity; + setParameter(std::string("Integrity"), std::to_string(integrity)); } -void DescribeDomainWithIntegrityRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeDomainWithIntegrityRequest::getEndTime() const { + return endTime_; } -long DescribeDomainWithIntegrityRequest::getOwnerId()const -{ - return ownerId_; +void DescribeDomainWithIntegrityRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeDomainWithIntegrityRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeDomainWithIntegrityRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeDomainWithIntegrityRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeDomainWithIntegrityResult.cc b/live/src/model/DescribeDomainWithIntegrityResult.cc index 2d245ef84..d6e6ec7d8 100644 --- a/live/src/model/DescribeDomainWithIntegrityResult.cc +++ b/live/src/model/DescribeDomainWithIntegrityResult.cc @@ -45,12 +45,12 @@ void DescribeDomainWithIntegrityResult::parse(const std::string &payload) ContentItem contentObject; if(!valueContentcontentItem["Name"].isNull()) contentObject.name = valueContentcontentItem["Name"].asString(); - auto allColumns = value["Columns"]["columns"]; - for (auto value : allColumns) - contentObject.columns.push_back(value.asString()); auto allPoints = value["Points"]["points"]; for (auto value : allPoints) contentObject.points.push_back(value.asString()); + auto allColumns = value["Columns"]["columns"]; + for (auto value : allColumns) + contentObject.columns.push_back(value.asString()); content_.push_back(contentObject); } diff --git a/live/src/model/DescribeForbidPushStreamRoomListRequest.cc b/live/src/model/DescribeForbidPushStreamRoomListRequest.cc index ddcd378e8..be80312b0 100644 --- a/live/src/model/DescribeForbidPushStreamRoomListRequest.cc +++ b/live/src/model/DescribeForbidPushStreamRoomListRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeForbidPushStreamRoomListRequest; - -DescribeForbidPushStreamRoomListRequest::DescribeForbidPushStreamRoomListRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeForbidPushStreamRoomList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeForbidPushStreamRoomListRequest::~DescribeForbidPushStreamRoomListRequest() -{} - -int DescribeForbidPushStreamRoomListRequest::getPageNum()const -{ - return pageNum_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeForbidPushStreamRoomListRequest; + +DescribeForbidPushStreamRoomListRequest::DescribeForbidPushStreamRoomListRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeForbidPushStreamRoomList") { + setMethod(HttpRequest::Method::Post); } -void DescribeForbidPushStreamRoomListRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); +DescribeForbidPushStreamRoomListRequest::~DescribeForbidPushStreamRoomListRequest() {} + +int DescribeForbidPushStreamRoomListRequest::getPageNum() const { + return pageNum_; } -int DescribeForbidPushStreamRoomListRequest::getPageSize()const -{ - return pageSize_; +void DescribeForbidPushStreamRoomListRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setParameter(std::string("PageNum"), std::to_string(pageNum)); } -void DescribeForbidPushStreamRoomListRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int DescribeForbidPushStreamRoomListRequest::getPageSize() const { + return pageSize_; } -std::string DescribeForbidPushStreamRoomListRequest::getOrder()const -{ - return order_; +void DescribeForbidPushStreamRoomListRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeForbidPushStreamRoomListRequest::setOrder(const std::string& order) -{ - order_ = order; - setParameter("Order", order); +std::string DescribeForbidPushStreamRoomListRequest::getOrder() const { + return order_; } -long DescribeForbidPushStreamRoomListRequest::getOwnerId()const -{ - return ownerId_; +void DescribeForbidPushStreamRoomListRequest::setOrder(const std::string &order) { + order_ = order; + setParameter(std::string("Order"), order); } -void DescribeForbidPushStreamRoomListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeForbidPushStreamRoomListRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeForbidPushStreamRoomListRequest::getAppId()const -{ - return appId_; +void DescribeForbidPushStreamRoomListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeForbidPushStreamRoomListRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string DescribeForbidPushStreamRoomListRequest::getAppId() const { + return appId_; +} + +void DescribeForbidPushStreamRoomListRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/live/src/model/DescribeForbidPushStreamRoomListResult.cc b/live/src/model/DescribeForbidPushStreamRoomListResult.cc index 932b50c0e..8b3fc8521 100644 --- a/live/src/model/DescribeForbidPushStreamRoomListResult.cc +++ b/live/src/model/DescribeForbidPushStreamRoomListResult.cc @@ -43,20 +43,20 @@ void DescribeForbidPushStreamRoomListResult::parse(const std::string &payload) for (auto valueRoomListRoom : allRoomListNode) { Room roomListObject; - if(!valueRoomListRoom["RoomId"].isNull()) - roomListObject.roomId = valueRoomListRoom["RoomId"].asString(); + if(!valueRoomListRoom["OpEndTime"].isNull()) + roomListObject.opEndTime = valueRoomListRoom["OpEndTime"].asString(); if(!valueRoomListRoom["AnchorId"].isNull()) roomListObject.anchorId = valueRoomListRoom["AnchorId"].asString(); if(!valueRoomListRoom["OpStartTime"].isNull()) roomListObject.opStartTime = valueRoomListRoom["OpStartTime"].asString(); - if(!valueRoomListRoom["OpEndTime"].isNull()) - roomListObject.opEndTime = valueRoomListRoom["OpEndTime"].asString(); + if(!valueRoomListRoom["RoomId"].isNull()) + roomListObject.roomId = valueRoomListRoom["RoomId"].asString(); roomList_.push_back(roomListObject); } - if(!value["TotalNum"].isNull()) - totalNum_ = std::stoi(value["TotalNum"].asString()); if(!value["TotalPage"].isNull()) totalPage_ = std::stoi(value["TotalPage"].asString()); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); } diff --git a/live/src/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.cc b/live/src/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.cc index 79d35e966..382953319 100644 --- a/live/src/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.cc +++ b/live/src/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.cc @@ -1,62 +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::DescribeHlsLiveStreamRealTimeBpsDataRequest; - -DescribeHlsLiveStreamRealTimeBpsDataRequest::DescribeHlsLiveStreamRealTimeBpsDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeHlsLiveStreamRealTimeBpsData") -{ - setMethod(HttpRequest::Method::Get); -} - -DescribeHlsLiveStreamRealTimeBpsDataRequest::~DescribeHlsLiveStreamRealTimeBpsDataRequest() -{} - -std::string DescribeHlsLiveStreamRealTimeBpsDataRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeHlsLiveStreamRealTimeBpsDataRequest; + +DescribeHlsLiveStreamRealTimeBpsDataRequest::DescribeHlsLiveStreamRealTimeBpsDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeHlsLiveStreamRealTimeBpsData") { + setMethod(HttpRequest::Method::Get); } -void DescribeHlsLiveStreamRealTimeBpsDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DescribeHlsLiveStreamRealTimeBpsDataRequest::~DescribeHlsLiveStreamRealTimeBpsDataRequest() {} + +std::string DescribeHlsLiveStreamRealTimeBpsDataRequest::getDomainName() const { + return domainName_; } -long DescribeHlsLiveStreamRealTimeBpsDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeHlsLiveStreamRealTimeBpsDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeHlsLiveStreamRealTimeBpsDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeHlsLiveStreamRealTimeBpsDataRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeHlsLiveStreamRealTimeBpsDataRequest::getTime()const -{ - return time_; +void DescribeHlsLiveStreamRealTimeBpsDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeHlsLiveStreamRealTimeBpsDataRequest::setTime(const std::string& time) -{ - time_ = time; - setParameter("Time", time); +std::string DescribeHlsLiveStreamRealTimeBpsDataRequest::getTime() const { + return time_; +} + +void DescribeHlsLiveStreamRealTimeBpsDataRequest::setTime(const std::string &time) { + time_ = time; + setParameter(std::string("Time"), time); } diff --git a/live/src/model/DescribeLiveAudioAuditConfigRequest.cc b/live/src/model/DescribeLiveAudioAuditConfigRequest.cc index be028b06f..3c23e9865 100644 --- a/live/src/model/DescribeLiveAudioAuditConfigRequest.cc +++ b/live/src/model/DescribeLiveAudioAuditConfigRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveAudioAuditConfigRequest; - -DescribeLiveAudioAuditConfigRequest::DescribeLiveAudioAuditConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveAudioAuditConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveAudioAuditConfigRequest::~DescribeLiveAudioAuditConfigRequest() -{} - -std::string DescribeLiveAudioAuditConfigRequest::getAppName()const -{ - return appName_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveAudioAuditConfigRequest; + +DescribeLiveAudioAuditConfigRequest::DescribeLiveAudioAuditConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveAudioAuditConfig") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveAudioAuditConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +DescribeLiveAudioAuditConfigRequest::~DescribeLiveAudioAuditConfigRequest() {} + +std::string DescribeLiveAudioAuditConfigRequest::getAppName() const { + return appName_; } -std::string DescribeLiveAudioAuditConfigRequest::getStreamName()const -{ - return streamName_; +void DescribeLiveAudioAuditConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DescribeLiveAudioAuditConfigRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string DescribeLiveAudioAuditConfigRequest::getStreamName() const { + return streamName_; } -std::string DescribeLiveAudioAuditConfigRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveAudioAuditConfigRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void DescribeLiveAudioAuditConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveAudioAuditConfigRequest::getDomainName() const { + return domainName_; } -long DescribeLiveAudioAuditConfigRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveAudioAuditConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveAudioAuditConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveAudioAuditConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveAudioAuditConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveAudioAuditConfigResult.cc b/live/src/model/DescribeLiveAudioAuditConfigResult.cc index 733de7215..d31227ea5 100644 --- a/live/src/model/DescribeLiveAudioAuditConfigResult.cc +++ b/live/src/model/DescribeLiveAudioAuditConfigResult.cc @@ -43,10 +43,10 @@ void DescribeLiveAudioAuditConfigResult::parse(const std::string &payload) for (auto valueLiveAudioAuditConfigListLiveAudioAuditConfig : allLiveAudioAuditConfigListNode) { LiveAudioAuditConfig liveAudioAuditConfigListObject; - if(!valueLiveAudioAuditConfigListLiveAudioAuditConfig["DomainName"].isNull()) - liveAudioAuditConfigListObject.domainName = valueLiveAudioAuditConfigListLiveAudioAuditConfig["DomainName"].asString(); if(!valueLiveAudioAuditConfigListLiveAudioAuditConfig["AppName"].isNull()) liveAudioAuditConfigListObject.appName = valueLiveAudioAuditConfigListLiveAudioAuditConfig["AppName"].asString(); + if(!valueLiveAudioAuditConfigListLiveAudioAuditConfig["DomainName"].isNull()) + liveAudioAuditConfigListObject.domainName = valueLiveAudioAuditConfigListLiveAudioAuditConfig["DomainName"].asString(); if(!valueLiveAudioAuditConfigListLiveAudioAuditConfig["StreamName"].isNull()) liveAudioAuditConfigListObject.streamName = valueLiveAudioAuditConfigListLiveAudioAuditConfig["StreamName"].asString(); if(!valueLiveAudioAuditConfigListLiveAudioAuditConfig["BizType"].isNull()) diff --git a/live/src/model/DescribeLiveAudioAuditNotifyConfigRequest.cc b/live/src/model/DescribeLiveAudioAuditNotifyConfigRequest.cc index 88a1a6622..a48b41cec 100644 --- a/live/src/model/DescribeLiveAudioAuditNotifyConfigRequest.cc +++ b/live/src/model/DescribeLiveAudioAuditNotifyConfigRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveAudioAuditNotifyConfigRequest; - -DescribeLiveAudioAuditNotifyConfigRequest::DescribeLiveAudioAuditNotifyConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveAudioAuditNotifyConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveAudioAuditNotifyConfigRequest::~DescribeLiveAudioAuditNotifyConfigRequest() -{} - -std::string DescribeLiveAudioAuditNotifyConfigRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveAudioAuditNotifyConfigRequest; + +DescribeLiveAudioAuditNotifyConfigRequest::DescribeLiveAudioAuditNotifyConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveAudioAuditNotifyConfig") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveAudioAuditNotifyConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DescribeLiveAudioAuditNotifyConfigRequest::~DescribeLiveAudioAuditNotifyConfigRequest() {} + +std::string DescribeLiveAudioAuditNotifyConfigRequest::getDomainName() const { + return domainName_; } -long DescribeLiveAudioAuditNotifyConfigRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveAudioAuditNotifyConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveAudioAuditNotifyConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveAudioAuditNotifyConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveAudioAuditNotifyConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveAudioAuditNotifyConfigResult.cc b/live/src/model/DescribeLiveAudioAuditNotifyConfigResult.cc index ec7cdc1d5..8e1118b2d 100644 --- a/live/src/model/DescribeLiveAudioAuditNotifyConfigResult.cc +++ b/live/src/model/DescribeLiveAudioAuditNotifyConfigResult.cc @@ -43,12 +43,12 @@ void DescribeLiveAudioAuditNotifyConfigResult::parse(const std::string &payload) for (auto valueLiveAudioAuditNotifyConfigListLiveAudioAuditNotifyConfig : allLiveAudioAuditNotifyConfigListNode) { LiveAudioAuditNotifyConfig liveAudioAuditNotifyConfigListObject; + if(!valueLiveAudioAuditNotifyConfigListLiveAudioAuditNotifyConfig["CallbackTemplate"].isNull()) + liveAudioAuditNotifyConfigListObject.callbackTemplate = valueLiveAudioAuditNotifyConfigListLiveAudioAuditNotifyConfig["CallbackTemplate"].asString(); if(!valueLiveAudioAuditNotifyConfigListLiveAudioAuditNotifyConfig["DomainName"].isNull()) liveAudioAuditNotifyConfigListObject.domainName = valueLiveAudioAuditNotifyConfigListLiveAudioAuditNotifyConfig["DomainName"].asString(); if(!valueLiveAudioAuditNotifyConfigListLiveAudioAuditNotifyConfig["Callback"].isNull()) liveAudioAuditNotifyConfigListObject.callback = valueLiveAudioAuditNotifyConfigListLiveAudioAuditNotifyConfig["Callback"].asString(); - if(!valueLiveAudioAuditNotifyConfigListLiveAudioAuditNotifyConfig["CallbackTemplate"].isNull()) - liveAudioAuditNotifyConfigListObject.callbackTemplate = valueLiveAudioAuditNotifyConfigListLiveAudioAuditNotifyConfig["CallbackTemplate"].asString(); liveAudioAuditNotifyConfigList_.push_back(liveAudioAuditNotifyConfigListObject); } diff --git a/live/src/model/DescribeLiveCertificateDetailRequest.cc b/live/src/model/DescribeLiveCertificateDetailRequest.cc index cec62872c..319fc462a 100644 --- a/live/src/model/DescribeLiveCertificateDetailRequest.cc +++ b/live/src/model/DescribeLiveCertificateDetailRequest.cc @@ -1,62 +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::DescribeLiveCertificateDetailRequest; - -DescribeLiveCertificateDetailRequest::DescribeLiveCertificateDetailRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveCertificateDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveCertificateDetailRequest::~DescribeLiveCertificateDetailRequest() -{} - -std::string DescribeLiveCertificateDetailRequest::getCertName()const -{ - return certName_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveCertificateDetailRequest; + +DescribeLiveCertificateDetailRequest::DescribeLiveCertificateDetailRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveCertificateDetail") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveCertificateDetailRequest::setCertName(const std::string& certName) -{ - certName_ = certName; - setParameter("CertName", certName); +DescribeLiveCertificateDetailRequest::~DescribeLiveCertificateDetailRequest() {} + +std::string DescribeLiveCertificateDetailRequest::getCertName() const { + return certName_; } -long DescribeLiveCertificateDetailRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveCertificateDetailRequest::setCertName(const std::string &certName) { + certName_ = certName; + setParameter(std::string("CertName"), certName); } -void DescribeLiveCertificateDetailRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveCertificateDetailRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeLiveCertificateDetailRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeLiveCertificateDetailRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeLiveCertificateDetailRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeLiveCertificateDetailRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeLiveCertificateDetailRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/live/src/model/DescribeLiveCertificateDetailResult.cc b/live/src/model/DescribeLiveCertificateDetailResult.cc index 98742cbd5..3ba293ad9 100644 --- a/live/src/model/DescribeLiveCertificateDetailResult.cc +++ b/live/src/model/DescribeLiveCertificateDetailResult.cc @@ -39,12 +39,12 @@ void DescribeLiveCertificateDetailResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); + if(!value["CertName"].isNull()) + certName_ = value["CertName"].asString(); if(!value["Cert"].isNull()) cert_ = value["Cert"].asString(); if(!value["CertId"].isNull()) certId_ = std::stol(value["CertId"].asString()); - if(!value["CertName"].isNull()) - certName_ = value["CertName"].asString(); } @@ -53,13 +53,13 @@ long DescribeLiveCertificateDetailResult::getCertId()const return certId_; } -std::string DescribeLiveCertificateDetailResult::getCert()const -{ - return cert_; -} - std::string DescribeLiveCertificateDetailResult::getCertName()const { return certName_; } +std::string DescribeLiveCertificateDetailResult::getCert()const +{ + return cert_; +} + diff --git a/live/src/model/DescribeLiveCertificateListRequest.cc b/live/src/model/DescribeLiveCertificateListRequest.cc index 8cb72cd79..f92d8c447 100644 --- a/live/src/model/DescribeLiveCertificateListRequest.cc +++ b/live/src/model/DescribeLiveCertificateListRequest.cc @@ -1,62 +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::DescribeLiveCertificateListRequest; - -DescribeLiveCertificateListRequest::DescribeLiveCertificateListRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveCertificateList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveCertificateListRequest::~DescribeLiveCertificateListRequest() -{} - -std::string DescribeLiveCertificateListRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveCertificateListRequest; + +DescribeLiveCertificateListRequest::DescribeLiveCertificateListRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveCertificateList") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveCertificateListRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DescribeLiveCertificateListRequest::~DescribeLiveCertificateListRequest() {} + +std::string DescribeLiveCertificateListRequest::getDomainName() const { + return domainName_; } -long DescribeLiveCertificateListRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveCertificateListRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveCertificateListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveCertificateListRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeLiveCertificateListRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeLiveCertificateListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeLiveCertificateListRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeLiveCertificateListRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeLiveCertificateListRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/live/src/model/DescribeLiveCertificateListResult.cc b/live/src/model/DescribeLiveCertificateListResult.cc index 437832bbe..e5291b886 100644 --- a/live/src/model/DescribeLiveCertificateListResult.cc +++ b/live/src/model/DescribeLiveCertificateListResult.cc @@ -46,18 +46,18 @@ void DescribeLiveCertificateListResult::parse(const std::string &payload) for (auto certificateListModelNodeCertListCert : allCertListNode) { CertificateListModel::Cert certObject; - if(!certificateListModelNodeCertListCert["CertName"].isNull()) - certObject.certName = certificateListModelNodeCertListCert["CertName"].asString(); - if(!certificateListModelNodeCertListCert["CertId"].isNull()) - certObject.certId = std::stol(certificateListModelNodeCertListCert["CertId"].asString()); - if(!certificateListModelNodeCertListCert["Fingerprint"].isNull()) - certObject.fingerprint = certificateListModelNodeCertListCert["Fingerprint"].asString(); - if(!certificateListModelNodeCertListCert["Common"].isNull()) - certObject.common = certificateListModelNodeCertListCert["Common"].asString(); - if(!certificateListModelNodeCertListCert["Issuer"].isNull()) - certObject.issuer = certificateListModelNodeCertListCert["Issuer"].asString(); if(!certificateListModelNodeCertListCert["LastTime"].isNull()) certObject.lastTime = std::stol(certificateListModelNodeCertListCert["LastTime"].asString()); + if(!certificateListModelNodeCertListCert["Fingerprint"].isNull()) + certObject.fingerprint = certificateListModelNodeCertListCert["Fingerprint"].asString(); + if(!certificateListModelNodeCertListCert["CertName"].isNull()) + certObject.certName = certificateListModelNodeCertListCert["CertName"].asString(); + if(!certificateListModelNodeCertListCert["Issuer"].isNull()) + certObject.issuer = certificateListModelNodeCertListCert["Issuer"].asString(); + if(!certificateListModelNodeCertListCert["CertId"].isNull()) + certObject.certId = std::stol(certificateListModelNodeCertListCert["CertId"].asString()); + if(!certificateListModelNodeCertListCert["Common"].isNull()) + certObject.common = certificateListModelNodeCertListCert["Common"].asString(); certificateListModel_.certList.push_back(certObject); } diff --git a/live/src/model/DescribeLiveDetectNotifyConfigRequest.cc b/live/src/model/DescribeLiveDetectNotifyConfigRequest.cc index ed6377a21..9ddd0757a 100644 --- a/live/src/model/DescribeLiveDetectNotifyConfigRequest.cc +++ b/live/src/model/DescribeLiveDetectNotifyConfigRequest.cc @@ -1,62 +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::DescribeLiveDetectNotifyConfigRequest; - -DescribeLiveDetectNotifyConfigRequest::DescribeLiveDetectNotifyConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDetectNotifyConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDetectNotifyConfigRequest::~DescribeLiveDetectNotifyConfigRequest() -{} - -std::string DescribeLiveDetectNotifyConfigRequest::getSecurityToken()const -{ - return securityToken_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDetectNotifyConfigRequest; + +DescribeLiveDetectNotifyConfigRequest::DescribeLiveDetectNotifyConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDetectNotifyConfig") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDetectNotifyConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +DescribeLiveDetectNotifyConfigRequest::~DescribeLiveDetectNotifyConfigRequest() {} + +std::string DescribeLiveDetectNotifyConfigRequest::getSecurityToken() const { + return securityToken_; } -std::string DescribeLiveDetectNotifyConfigRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDetectNotifyConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeLiveDetectNotifyConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDetectNotifyConfigRequest::getDomainName() const { + return domainName_; } -long DescribeLiveDetectNotifyConfigRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDetectNotifyConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDetectNotifyConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDetectNotifyConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveDetectNotifyConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDetectPornDataRequest.cc b/live/src/model/DescribeLiveDetectPornDataRequest.cc index cdf85e298..84b750c9d 100644 --- a/live/src/model/DescribeLiveDetectPornDataRequest.cc +++ b/live/src/model/DescribeLiveDetectPornDataRequest.cc @@ -1,139 +1,117 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDetectPornDataRequest; - -DescribeLiveDetectPornDataRequest::DescribeLiveDetectPornDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDetectPornData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDetectPornDataRequest::~DescribeLiveDetectPornDataRequest() -{} - -std::string DescribeLiveDetectPornDataRequest::getFee()const -{ - return fee_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDetectPornDataRequest; + +DescribeLiveDetectPornDataRequest::DescribeLiveDetectPornDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDetectPornData") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDetectPornDataRequest::setFee(const std::string& fee) -{ - fee_ = fee; - setParameter("Fee", fee); +DescribeLiveDetectPornDataRequest::~DescribeLiveDetectPornDataRequest() {} + +std::string DescribeLiveDetectPornDataRequest::getFee() const { + return fee_; } -std::string DescribeLiveDetectPornDataRequest::getStartTime()const -{ - return startTime_; +void DescribeLiveDetectPornDataRequest::setFee(const std::string &fee) { + fee_ = fee; + setParameter(std::string("Fee"), fee); } -void DescribeLiveDetectPornDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeLiveDetectPornDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveDetectPornDataRequest::getScene()const -{ - return scene_; +void DescribeLiveDetectPornDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveDetectPornDataRequest::setScene(const std::string& scene) -{ - scene_ = scene; - setParameter("Scene", scene); +std::string DescribeLiveDetectPornDataRequest::getScene() const { + return scene_; } -std::string DescribeLiveDetectPornDataRequest::getStream()const -{ - return stream_; +void DescribeLiveDetectPornDataRequest::setScene(const std::string &scene) { + scene_ = scene; + setParameter(std::string("Scene"), scene); } -void DescribeLiveDetectPornDataRequest::setStream(const std::string& stream) -{ - stream_ = stream; - setParameter("Stream", stream); +std::string DescribeLiveDetectPornDataRequest::getStream() const { + return stream_; } -std::string DescribeLiveDetectPornDataRequest::getSplitBy()const -{ - return splitBy_; +void DescribeLiveDetectPornDataRequest::setStream(const std::string &stream) { + stream_ = stream; + setParameter(std::string("Stream"), stream); } -void DescribeLiveDetectPornDataRequest::setSplitBy(const std::string& splitBy) -{ - splitBy_ = splitBy; - setParameter("SplitBy", splitBy); +std::string DescribeLiveDetectPornDataRequest::getSplitBy() const { + return splitBy_; } -std::string DescribeLiveDetectPornDataRequest::getApp()const -{ - return app_; +void DescribeLiveDetectPornDataRequest::setSplitBy(const std::string &splitBy) { + splitBy_ = splitBy; + setParameter(std::string("SplitBy"), splitBy); } -void DescribeLiveDetectPornDataRequest::setApp(const std::string& app) -{ - app_ = app; - setParameter("App", app); +std::string DescribeLiveDetectPornDataRequest::getApp() const { + return app_; } -std::string DescribeLiveDetectPornDataRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDetectPornDataRequest::setApp(const std::string &app) { + app_ = app; + setParameter(std::string("App"), app); } -void DescribeLiveDetectPornDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDetectPornDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveDetectPornDataRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveDetectPornDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDetectPornDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveDetectPornDataRequest::getEndTime() const { + return endTime_; } -long DescribeLiveDetectPornDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDetectPornDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveDetectPornDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDetectPornDataRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeLiveDetectPornDataRequest::getRegion()const -{ - return region_; +void DescribeLiveDetectPornDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeLiveDetectPornDataRequest::setRegion(const std::string& region) -{ - region_ = region; - setParameter("Region", region); +std::string DescribeLiveDetectPornDataRequest::getRegion() const { + return region_; +} + +void DescribeLiveDetectPornDataRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); } diff --git a/live/src/model/DescribeLiveDetectPornDataResult.cc b/live/src/model/DescribeLiveDetectPornDataResult.cc index 202048c5d..4f3be494e 100644 --- a/live/src/model/DescribeLiveDetectPornDataResult.cc +++ b/live/src/model/DescribeLiveDetectPornDataResult.cc @@ -43,22 +43,22 @@ void DescribeLiveDetectPornDataResult::parse(const std::string &payload) for (auto valueDetectPornDataDataModule : allDetectPornDataNode) { DataModule detectPornDataObject; - if(!valueDetectPornDataDataModule["TimeStamp"].isNull()) - detectPornDataObject.timeStamp = valueDetectPornDataDataModule["TimeStamp"].asString(); - if(!valueDetectPornDataDataModule["App"].isNull()) - detectPornDataObject.app = valueDetectPornDataDataModule["App"].asString(); if(!valueDetectPornDataDataModule["Domain"].isNull()) detectPornDataObject.domain = valueDetectPornDataDataModule["Domain"].asString(); - if(!valueDetectPornDataDataModule["Stream"].isNull()) - detectPornDataObject.stream = valueDetectPornDataDataModule["Stream"].asString(); - if(!valueDetectPornDataDataModule["Fee"].isNull()) - detectPornDataObject.fee = valueDetectPornDataDataModule["Fee"].asString(); - if(!valueDetectPornDataDataModule["Scene"].isNull()) - detectPornDataObject.scene = valueDetectPornDataDataModule["Scene"].asString(); if(!valueDetectPornDataDataModule["Region"].isNull()) detectPornDataObject.region = valueDetectPornDataDataModule["Region"].asString(); + if(!valueDetectPornDataDataModule["App"].isNull()) + detectPornDataObject.app = valueDetectPornDataDataModule["App"].asString(); + if(!valueDetectPornDataDataModule["Stream"].isNull()) + detectPornDataObject.stream = valueDetectPornDataDataModule["Stream"].asString(); + if(!valueDetectPornDataDataModule["TimeStamp"].isNull()) + detectPornDataObject.timeStamp = valueDetectPornDataDataModule["TimeStamp"].asString(); if(!valueDetectPornDataDataModule["Count"].isNull()) detectPornDataObject.count = std::stol(valueDetectPornDataDataModule["Count"].asString()); + if(!valueDetectPornDataDataModule["Scene"].isNull()) + detectPornDataObject.scene = valueDetectPornDataDataModule["Scene"].asString(); + if(!valueDetectPornDataDataModule["Fee"].isNull()) + detectPornDataObject.fee = valueDetectPornDataDataModule["Fee"].asString(); detectPornData_.push_back(detectPornDataObject); } diff --git a/live/src/model/DescribeLiveDomainBpsDataByLayerRequest.cc b/live/src/model/DescribeLiveDomainBpsDataByLayerRequest.cc index f17fdb416..fe83ee12c 100644 --- a/live/src/model/DescribeLiveDomainBpsDataByLayerRequest.cc +++ b/live/src/model/DescribeLiveDomainBpsDataByLayerRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainBpsDataByLayerRequest; - -DescribeLiveDomainBpsDataByLayerRequest::DescribeLiveDomainBpsDataByLayerRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainBpsDataByLayer") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainBpsDataByLayerRequest::~DescribeLiveDomainBpsDataByLayerRequest() -{} - -std::string DescribeLiveDomainBpsDataByLayerRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainBpsDataByLayerRequest; + +DescribeLiveDomainBpsDataByLayerRequest::DescribeLiveDomainBpsDataByLayerRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainBpsDataByLayer") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDomainBpsDataByLayerRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeLiveDomainBpsDataByLayerRequest::~DescribeLiveDomainBpsDataByLayerRequest() {} + +std::string DescribeLiveDomainBpsDataByLayerRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeLiveDomainBpsDataByLayerRequest::getStartTime()const -{ - return startTime_; +void DescribeLiveDomainBpsDataByLayerRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeLiveDomainBpsDataByLayerRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeLiveDomainBpsDataByLayerRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveDomainBpsDataByLayerRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeLiveDomainBpsDataByLayerRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveDomainBpsDataByLayerRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeLiveDomainBpsDataByLayerRequest::getIspNameEn() const { + return ispNameEn_; } -std::string DescribeLiveDomainBpsDataByLayerRequest::getLayer()const -{ - return layer_; +void DescribeLiveDomainBpsDataByLayerRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } -void DescribeLiveDomainBpsDataByLayerRequest::setLayer(const std::string& layer) -{ - layer_ = layer; - setParameter("Layer", layer); +std::string DescribeLiveDomainBpsDataByLayerRequest::getLayer() const { + return layer_; } -std::string DescribeLiveDomainBpsDataByLayerRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDomainBpsDataByLayerRequest::setLayer(const std::string &layer) { + layer_ = layer; + setParameter(std::string("Layer"), layer); } -void DescribeLiveDomainBpsDataByLayerRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDomainBpsDataByLayerRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveDomainBpsDataByLayerRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveDomainBpsDataByLayerRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainBpsDataByLayerRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveDomainBpsDataByLayerRequest::getEndTime() const { + return endTime_; } -long DescribeLiveDomainBpsDataByLayerRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainBpsDataByLayerRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveDomainBpsDataByLayerRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainBpsDataByLayerRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeLiveDomainBpsDataByLayerRequest::getInterval()const -{ - return interval_; +void DescribeLiveDomainBpsDataByLayerRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeLiveDomainBpsDataByLayerRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +std::string DescribeLiveDomainBpsDataByLayerRequest::getInterval() const { + return interval_; +} + +void DescribeLiveDomainBpsDataByLayerRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } diff --git a/live/src/model/DescribeLiveDomainBpsDataByLayerResult.cc b/live/src/model/DescribeLiveDomainBpsDataByLayerResult.cc index 9a3299542..6d6077ce0 100644 --- a/live/src/model/DescribeLiveDomainBpsDataByLayerResult.cc +++ b/live/src/model/DescribeLiveDomainBpsDataByLayerResult.cc @@ -43,12 +43,12 @@ void DescribeLiveDomainBpsDataByLayerResult::parse(const std::string &payload) for (auto valueBpsDataIntervalDataModule : allBpsDataIntervalNode) { DataModule bpsDataIntervalObject; - if(!valueBpsDataIntervalDataModule["TimeStamp"].isNull()) - bpsDataIntervalObject.timeStamp = valueBpsDataIntervalDataModule["TimeStamp"].asString(); if(!valueBpsDataIntervalDataModule["Value"].isNull()) bpsDataIntervalObject.value = valueBpsDataIntervalDataModule["Value"].asString(); if(!valueBpsDataIntervalDataModule["TrafficValue"].isNull()) bpsDataIntervalObject.trafficValue = valueBpsDataIntervalDataModule["TrafficValue"].asString(); + if(!valueBpsDataIntervalDataModule["TimeStamp"].isNull()) + bpsDataIntervalObject.timeStamp = valueBpsDataIntervalDataModule["TimeStamp"].asString(); bpsDataInterval_.push_back(bpsDataIntervalObject); } if(!value["DataInterval"].isNull()) diff --git a/live/src/model/DescribeLiveDomainBpsDataByTimeStampRequest.cc b/live/src/model/DescribeLiveDomainBpsDataByTimeStampRequest.cc index a1956ccc0..ac8ece54e 100644 --- a/live/src/model/DescribeLiveDomainBpsDataByTimeStampRequest.cc +++ b/live/src/model/DescribeLiveDomainBpsDataByTimeStampRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainBpsDataByTimeStampRequest; - -DescribeLiveDomainBpsDataByTimeStampRequest::DescribeLiveDomainBpsDataByTimeStampRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainBpsDataByTimeStamp") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainBpsDataByTimeStampRequest::~DescribeLiveDomainBpsDataByTimeStampRequest() -{} - -std::string DescribeLiveDomainBpsDataByTimeStampRequest::getLocationNames()const -{ - return locationNames_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainBpsDataByTimeStampRequest; + +DescribeLiveDomainBpsDataByTimeStampRequest::DescribeLiveDomainBpsDataByTimeStampRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainBpsDataByTimeStamp") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDomainBpsDataByTimeStampRequest::setLocationNames(const std::string& locationNames) -{ - locationNames_ = locationNames; - setParameter("LocationNames", locationNames); +DescribeLiveDomainBpsDataByTimeStampRequest::~DescribeLiveDomainBpsDataByTimeStampRequest() {} + +std::string DescribeLiveDomainBpsDataByTimeStampRequest::getLocationNames() const { + return locationNames_; } -std::string DescribeLiveDomainBpsDataByTimeStampRequest::getIspNames()const -{ - return ispNames_; +void DescribeLiveDomainBpsDataByTimeStampRequest::setLocationNames(const std::string &locationNames) { + locationNames_ = locationNames; + setParameter(std::string("LocationNames"), locationNames); } -void DescribeLiveDomainBpsDataByTimeStampRequest::setIspNames(const std::string& ispNames) -{ - ispNames_ = ispNames; - setParameter("IspNames", ispNames); +std::string DescribeLiveDomainBpsDataByTimeStampRequest::getIspNames() const { + return ispNames_; } -std::string DescribeLiveDomainBpsDataByTimeStampRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDomainBpsDataByTimeStampRequest::setIspNames(const std::string &ispNames) { + ispNames_ = ispNames; + setParameter(std::string("IspNames"), ispNames); } -void DescribeLiveDomainBpsDataByTimeStampRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDomainBpsDataByTimeStampRequest::getDomainName() const { + return domainName_; } -long DescribeLiveDomainBpsDataByTimeStampRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainBpsDataByTimeStampRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainBpsDataByTimeStampRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainBpsDataByTimeStampRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeLiveDomainBpsDataByTimeStampRequest::getTimePoint()const -{ - return timePoint_; +void DescribeLiveDomainBpsDataByTimeStampRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeLiveDomainBpsDataByTimeStampRequest::setTimePoint(const std::string& timePoint) -{ - timePoint_ = timePoint; - setParameter("TimePoint", timePoint); +std::string DescribeLiveDomainBpsDataByTimeStampRequest::getTimePoint() const { + return timePoint_; +} + +void DescribeLiveDomainBpsDataByTimeStampRequest::setTimePoint(const std::string &timePoint) { + timePoint_ = timePoint; + setParameter(std::string("TimePoint"), timePoint); } diff --git a/live/src/model/DescribeLiveDomainBpsDataByTimeStampResult.cc b/live/src/model/DescribeLiveDomainBpsDataByTimeStampResult.cc index 406aa253e..473aa1e74 100644 --- a/live/src/model/DescribeLiveDomainBpsDataByTimeStampResult.cc +++ b/live/src/model/DescribeLiveDomainBpsDataByTimeStampResult.cc @@ -43,20 +43,20 @@ void DescribeLiveDomainBpsDataByTimeStampResult::parse(const std::string &payloa for (auto valueBpsDataListBpsDataModel : allBpsDataListNode) { BpsDataModel bpsDataListObject; - if(!valueBpsDataListBpsDataModel["TimeStamp"].isNull()) - bpsDataListObject.timeStamp = valueBpsDataListBpsDataModel["TimeStamp"].asString(); if(!valueBpsDataListBpsDataModel["LocationName"].isNull()) bpsDataListObject.locationName = valueBpsDataListBpsDataModel["LocationName"].asString(); + if(!valueBpsDataListBpsDataModel["TimeStamp"].isNull()) + bpsDataListObject.timeStamp = valueBpsDataListBpsDataModel["TimeStamp"].asString(); if(!valueBpsDataListBpsDataModel["IspName"].isNull()) bpsDataListObject.ispName = valueBpsDataListBpsDataModel["IspName"].asString(); if(!valueBpsDataListBpsDataModel["Bps"].isNull()) bpsDataListObject.bps = std::stol(valueBpsDataListBpsDataModel["Bps"].asString()); bpsDataList_.push_back(bpsDataListObject); } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); if(!value["TimeStamp"].isNull()) timeStamp_ = value["TimeStamp"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); } diff --git a/live/src/model/DescribeLiveDomainBpsDataRequest.cc b/live/src/model/DescribeLiveDomainBpsDataRequest.cc index 5b063e9f3..abdb2d6e4 100644 --- a/live/src/model/DescribeLiveDomainBpsDataRequest.cc +++ b/live/src/model/DescribeLiveDomainBpsDataRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainBpsDataRequest; - -DescribeLiveDomainBpsDataRequest::DescribeLiveDomainBpsDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainBpsData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainBpsDataRequest::~DescribeLiveDomainBpsDataRequest() -{} - -std::string DescribeLiveDomainBpsDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainBpsDataRequest; + +DescribeLiveDomainBpsDataRequest::DescribeLiveDomainBpsDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainBpsData") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDomainBpsDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeLiveDomainBpsDataRequest::~DescribeLiveDomainBpsDataRequest() {} + +std::string DescribeLiveDomainBpsDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeLiveDomainBpsDataRequest::getStartTime()const -{ - return startTime_; +void DescribeLiveDomainBpsDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeLiveDomainBpsDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeLiveDomainBpsDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveDomainBpsDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeLiveDomainBpsDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveDomainBpsDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeLiveDomainBpsDataRequest::getIspNameEn() const { + return ispNameEn_; } -std::string DescribeLiveDomainBpsDataRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDomainBpsDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } -void DescribeLiveDomainBpsDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDomainBpsDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveDomainBpsDataRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveDomainBpsDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainBpsDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveDomainBpsDataRequest::getEndTime() const { + return endTime_; } -long DescribeLiveDomainBpsDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainBpsDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveDomainBpsDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainBpsDataRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeLiveDomainBpsDataRequest::getInterval()const -{ - return interval_; +void DescribeLiveDomainBpsDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeLiveDomainBpsDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +std::string DescribeLiveDomainBpsDataRequest::getInterval() const { + return interval_; +} + +void DescribeLiveDomainBpsDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } diff --git a/live/src/model/DescribeLiveDomainBpsDataResult.cc b/live/src/model/DescribeLiveDomainBpsDataResult.cc index affe84f8e..7f9b85613 100644 --- a/live/src/model/DescribeLiveDomainBpsDataResult.cc +++ b/live/src/model/DescribeLiveDomainBpsDataResult.cc @@ -43,22 +43,22 @@ void DescribeLiveDomainBpsDataResult::parse(const std::string &payload) for (auto valueBpsDataPerIntervalDataModule : allBpsDataPerIntervalNode) { DataModule bpsDataPerIntervalObject; - if(!valueBpsDataPerIntervalDataModule["TimeStamp"].isNull()) - bpsDataPerIntervalObject.timeStamp = valueBpsDataPerIntervalDataModule["TimeStamp"].asString(); if(!valueBpsDataPerIntervalDataModule["BpsValue"].isNull()) bpsDataPerIntervalObject.bpsValue = valueBpsDataPerIntervalDataModule["BpsValue"].asString(); - if(!valueBpsDataPerIntervalDataModule["HttpBpsValue"].isNull()) - bpsDataPerIntervalObject.httpBpsValue = valueBpsDataPerIntervalDataModule["HttpBpsValue"].asString(); + if(!valueBpsDataPerIntervalDataModule["TimeStamp"].isNull()) + bpsDataPerIntervalObject.timeStamp = valueBpsDataPerIntervalDataModule["TimeStamp"].asString(); if(!valueBpsDataPerIntervalDataModule["HttpsBpsValue"].isNull()) bpsDataPerIntervalObject.httpsBpsValue = valueBpsDataPerIntervalDataModule["HttpsBpsValue"].asString(); + if(!valueBpsDataPerIntervalDataModule["HttpBpsValue"].isNull()) + bpsDataPerIntervalObject.httpBpsValue = valueBpsDataPerIntervalDataModule["HttpBpsValue"].asString(); bpsDataPerInterval_.push_back(bpsDataPerIntervalObject); } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); if(!value["EndTime"].isNull()) endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/live/src/model/DescribeLiveDomainCertificateInfoRequest.cc b/live/src/model/DescribeLiveDomainCertificateInfoRequest.cc index bbffb785f..b9728d3d6 100644 --- a/live/src/model/DescribeLiveDomainCertificateInfoRequest.cc +++ b/live/src/model/DescribeLiveDomainCertificateInfoRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainCertificateInfoRequest; - -DescribeLiveDomainCertificateInfoRequest::DescribeLiveDomainCertificateInfoRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainCertificateInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainCertificateInfoRequest::~DescribeLiveDomainCertificateInfoRequest() -{} - -std::string DescribeLiveDomainCertificateInfoRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainCertificateInfoRequest; + +DescribeLiveDomainCertificateInfoRequest::DescribeLiveDomainCertificateInfoRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainCertificateInfo") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDomainCertificateInfoRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DescribeLiveDomainCertificateInfoRequest::~DescribeLiveDomainCertificateInfoRequest() {} + +std::string DescribeLiveDomainCertificateInfoRequest::getDomainName() const { + return domainName_; } -long DescribeLiveDomainCertificateInfoRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainCertificateInfoRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainCertificateInfoRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainCertificateInfoRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveDomainCertificateInfoRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainCertificateInfoResult.cc b/live/src/model/DescribeLiveDomainCertificateInfoResult.cc index 3ebe45529..638f1d5c9 100644 --- a/live/src/model/DescribeLiveDomainCertificateInfoResult.cc +++ b/live/src/model/DescribeLiveDomainCertificateInfoResult.cc @@ -43,26 +43,26 @@ void DescribeLiveDomainCertificateInfoResult::parse(const std::string &payload) for (auto valueCertInfosCertInfo : allCertInfosNode) { CertInfo certInfosObject; - if(!valueCertInfosCertInfo["DomainName"].isNull()) - certInfosObject.domainName = valueCertInfosCertInfo["DomainName"].asString(); - if(!valueCertInfosCertInfo["CertName"].isNull()) - certInfosObject.certName = valueCertInfosCertInfo["CertName"].asString(); - if(!valueCertInfosCertInfo["CertDomainName"].isNull()) - certInfosObject.certDomainName = valueCertInfosCertInfo["CertDomainName"].asString(); - if(!valueCertInfosCertInfo["CertExpireTime"].isNull()) - certInfosObject.certExpireTime = valueCertInfosCertInfo["CertExpireTime"].asString(); - if(!valueCertInfosCertInfo["CertLife"].isNull()) - certInfosObject.certLife = valueCertInfosCertInfo["CertLife"].asString(); - if(!valueCertInfosCertInfo["CertOrg"].isNull()) - certInfosObject.certOrg = valueCertInfosCertInfo["CertOrg"].asString(); - if(!valueCertInfosCertInfo["CertType"].isNull()) - certInfosObject.certType = valueCertInfosCertInfo["CertType"].asString(); - if(!valueCertInfosCertInfo["SSLProtocol"].isNull()) - certInfosObject.sSLProtocol = valueCertInfosCertInfo["SSLProtocol"].asString(); if(!valueCertInfosCertInfo["Status"].isNull()) certInfosObject.status = valueCertInfosCertInfo["Status"].asString(); + if(!valueCertInfosCertInfo["CertLife"].isNull()) + certInfosObject.certLife = valueCertInfosCertInfo["CertLife"].asString(); + if(!valueCertInfosCertInfo["CertExpireTime"].isNull()) + certInfosObject.certExpireTime = valueCertInfosCertInfo["CertExpireTime"].asString(); if(!valueCertInfosCertInfo["SSLPub"].isNull()) certInfosObject.sSLPub = valueCertInfosCertInfo["SSLPub"].asString(); + if(!valueCertInfosCertInfo["SSLProtocol"].isNull()) + certInfosObject.sSLProtocol = valueCertInfosCertInfo["SSLProtocol"].asString(); + if(!valueCertInfosCertInfo["CertType"].isNull()) + certInfosObject.certType = valueCertInfosCertInfo["CertType"].asString(); + if(!valueCertInfosCertInfo["CertDomainName"].isNull()) + certInfosObject.certDomainName = valueCertInfosCertInfo["CertDomainName"].asString(); + if(!valueCertInfosCertInfo["CertName"].isNull()) + certInfosObject.certName = valueCertInfosCertInfo["CertName"].asString(); + if(!valueCertInfosCertInfo["CertOrg"].isNull()) + certInfosObject.certOrg = valueCertInfosCertInfo["CertOrg"].asString(); + if(!valueCertInfosCertInfo["DomainName"].isNull()) + certInfosObject.domainName = valueCertInfosCertInfo["DomainName"].asString(); certInfos_.push_back(certInfosObject); } diff --git a/live/src/model/DescribeLiveDomainConfigsRequest.cc b/live/src/model/DescribeLiveDomainConfigsRequest.cc index f9370822b..5c2678f73 100644 --- a/live/src/model/DescribeLiveDomainConfigsRequest.cc +++ b/live/src/model/DescribeLiveDomainConfigsRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainConfigsRequest; - -DescribeLiveDomainConfigsRequest::DescribeLiveDomainConfigsRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainConfigs") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainConfigsRequest::~DescribeLiveDomainConfigsRequest() -{} - -std::string DescribeLiveDomainConfigsRequest::getFunctionNames()const -{ - return functionNames_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainConfigsRequest; + +DescribeLiveDomainConfigsRequest::DescribeLiveDomainConfigsRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainConfigs") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDomainConfigsRequest::setFunctionNames(const std::string& functionNames) -{ - functionNames_ = functionNames; - setParameter("FunctionNames", functionNames); +DescribeLiveDomainConfigsRequest::~DescribeLiveDomainConfigsRequest() {} + +std::string DescribeLiveDomainConfigsRequest::getFunctionNames() const { + return functionNames_; } -std::string DescribeLiveDomainConfigsRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDomainConfigsRequest::setFunctionNames(const std::string &functionNames) { + functionNames_ = functionNames; + setParameter(std::string("FunctionNames"), functionNames); } -void DescribeLiveDomainConfigsRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDomainConfigsRequest::getDomainName() const { + return domainName_; } -long DescribeLiveDomainConfigsRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainConfigsRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainConfigsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainConfigsRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeLiveDomainConfigsRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeLiveDomainConfigsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeLiveDomainConfigsRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeLiveDomainConfigsRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeLiveDomainConfigsRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/live/src/model/DescribeLiveDomainConfigsResult.cc b/live/src/model/DescribeLiveDomainConfigsResult.cc index deb6163a7..7aa6d082f 100644 --- a/live/src/model/DescribeLiveDomainConfigsResult.cc +++ b/live/src/model/DescribeLiveDomainConfigsResult.cc @@ -43,12 +43,12 @@ void DescribeLiveDomainConfigsResult::parse(const std::string &payload) for (auto valueDomainConfigsDomainConfig : allDomainConfigsNode) { DomainConfig domainConfigsObject; - if(!valueDomainConfigsDomainConfig["FunctionName"].isNull()) - domainConfigsObject.functionName = valueDomainConfigsDomainConfig["FunctionName"].asString(); - if(!valueDomainConfigsDomainConfig["ConfigId"].isNull()) - domainConfigsObject.configId = valueDomainConfigsDomainConfig["ConfigId"].asString(); if(!valueDomainConfigsDomainConfig["Status"].isNull()) domainConfigsObject.status = valueDomainConfigsDomainConfig["Status"].asString(); + if(!valueDomainConfigsDomainConfig["ConfigId"].isNull()) + domainConfigsObject.configId = valueDomainConfigsDomainConfig["ConfigId"].asString(); + if(!valueDomainConfigsDomainConfig["FunctionName"].isNull()) + domainConfigsObject.functionName = valueDomainConfigsDomainConfig["FunctionName"].asString(); auto allFunctionArgsNode = valueDomainConfigsDomainConfig["FunctionArgs"]["FunctionArg"]; for (auto valueDomainConfigsDomainConfigFunctionArgsFunctionArg : allFunctionArgsNode) { diff --git a/live/src/model/DescribeLiveDomainDetailRequest.cc b/live/src/model/DescribeLiveDomainDetailRequest.cc index d6483667d..2de706267 100644 --- a/live/src/model/DescribeLiveDomainDetailRequest.cc +++ b/live/src/model/DescribeLiveDomainDetailRequest.cc @@ -1,62 +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::DescribeLiveDomainDetailRequest; - -DescribeLiveDomainDetailRequest::DescribeLiveDomainDetailRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainDetailRequest::~DescribeLiveDomainDetailRequest() -{} - -std::string DescribeLiveDomainDetailRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainDetailRequest; + +DescribeLiveDomainDetailRequest::DescribeLiveDomainDetailRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainDetail") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDomainDetailRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DescribeLiveDomainDetailRequest::~DescribeLiveDomainDetailRequest() {} + +std::string DescribeLiveDomainDetailRequest::getDomainName() const { + return domainName_; } -long DescribeLiveDomainDetailRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainDetailRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainDetailRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainDetailRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeLiveDomainDetailRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeLiveDomainDetailRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeLiveDomainDetailRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeLiveDomainDetailRequest::getSecurityToken() const { + return securityToken_; +} + +void DescribeLiveDomainDetailRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/live/src/model/DescribeLiveDomainDetailResult.cc b/live/src/model/DescribeLiveDomainDetailResult.cc index fb4877ce3..ae7f90f09 100644 --- a/live/src/model/DescribeLiveDomainDetailResult.cc +++ b/live/src/model/DescribeLiveDomainDetailResult.cc @@ -40,30 +40,30 @@ void DescribeLiveDomainDetailResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto domainDetailNode = value["DomainDetail"]; - if(!domainDetailNode["GmtCreated"].isNull()) - domainDetail_.gmtCreated = domainDetailNode["GmtCreated"].asString(); + if(!domainDetailNode["SSLPub"].isNull()) + domainDetail_.sSLPub = domainDetailNode["SSLPub"].asString(); if(!domainDetailNode["GmtModified"].isNull()) domainDetail_.gmtModified = domainDetailNode["GmtModified"].asString(); + if(!domainDetailNode["DomainName"].isNull()) + domainDetail_.domainName = domainDetailNode["DomainName"].asString(); + if(!domainDetailNode["GmtCreated"].isNull()) + domainDetail_.gmtCreated = domainDetailNode["GmtCreated"].asString(); + if(!domainDetailNode["LiveDomainType"].isNull()) + domainDetail_.liveDomainType = domainDetailNode["LiveDomainType"].asString(); + if(!domainDetailNode["Description"].isNull()) + domainDetail_.description = domainDetailNode["Description"].asString(); + if(!domainDetailNode["Region"].isNull()) + domainDetail_.region = domainDetailNode["Region"].asString(); + if(!domainDetailNode["SSLProtocol"].isNull()) + domainDetail_.sSLProtocol = domainDetailNode["SSLProtocol"].asString(); + if(!domainDetailNode["CertName"].isNull()) + domainDetail_.certName = domainDetailNode["CertName"].asString(); if(!domainDetailNode["DomainStatus"].isNull()) domainDetail_.domainStatus = domainDetailNode["DomainStatus"].asString(); if(!domainDetailNode["Cname"].isNull()) domainDetail_.cname = domainDetailNode["Cname"].asString(); - if(!domainDetailNode["DomainName"].isNull()) - domainDetail_.domainName = domainDetailNode["DomainName"].asString(); - if(!domainDetailNode["LiveDomainType"].isNull()) - domainDetail_.liveDomainType = domainDetailNode["LiveDomainType"].asString(); - if(!domainDetailNode["Region"].isNull()) - domainDetail_.region = domainDetailNode["Region"].asString(); - if(!domainDetailNode["Description"].isNull()) - domainDetail_.description = domainDetailNode["Description"].asString(); - if(!domainDetailNode["SSLProtocol"].isNull()) - domainDetail_.sSLProtocol = domainDetailNode["SSLProtocol"].asString(); - if(!domainDetailNode["SSLPub"].isNull()) - domainDetail_.sSLPub = domainDetailNode["SSLPub"].asString(); if(!domainDetailNode["Scope"].isNull()) domainDetail_.scope = domainDetailNode["Scope"].asString(); - if(!domainDetailNode["CertName"].isNull()) - domainDetail_.certName = domainDetailNode["CertName"].asString(); } diff --git a/live/src/model/DescribeLiveDomainFrameRateAndBitRateDataRequest.cc b/live/src/model/DescribeLiveDomainFrameRateAndBitRateDataRequest.cc index 4efcb4323..0dd56d3e7 100644 --- a/live/src/model/DescribeLiveDomainFrameRateAndBitRateDataRequest.cc +++ b/live/src/model/DescribeLiveDomainFrameRateAndBitRateDataRequest.cc @@ -1,62 +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::DescribeLiveDomainFrameRateAndBitRateDataRequest; - -DescribeLiveDomainFrameRateAndBitRateDataRequest::DescribeLiveDomainFrameRateAndBitRateDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainFrameRateAndBitRateData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainFrameRateAndBitRateDataRequest::~DescribeLiveDomainFrameRateAndBitRateDataRequest() -{} - -std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getQueryTime()const -{ - return queryTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainFrameRateAndBitRateDataRequest; + +DescribeLiveDomainFrameRateAndBitRateDataRequest::DescribeLiveDomainFrameRateAndBitRateDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainFrameRateAndBitRateData") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDomainFrameRateAndBitRateDataRequest::setQueryTime(const std::string& queryTime) -{ - queryTime_ = queryTime; - setParameter("QueryTime", queryTime); +DescribeLiveDomainFrameRateAndBitRateDataRequest::~DescribeLiveDomainFrameRateAndBitRateDataRequest() {} + +std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getQueryTime() const { + return queryTime_; } -std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDomainFrameRateAndBitRateDataRequest::setQueryTime(const std::string &queryTime) { + queryTime_ = queryTime; + setParameter(std::string("QueryTime"), queryTime); } -void DescribeLiveDomainFrameRateAndBitRateDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getDomainName() const { + return domainName_; } -long DescribeLiveDomainFrameRateAndBitRateDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainFrameRateAndBitRateDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainFrameRateAndBitRateDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainFrameRateAndBitRateDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveDomainFrameRateAndBitRateDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainFrameRateAndBitRateDataResult.cc b/live/src/model/DescribeLiveDomainFrameRateAndBitRateDataResult.cc index 192508407..122397ab6 100644 --- a/live/src/model/DescribeLiveDomainFrameRateAndBitRateDataResult.cc +++ b/live/src/model/DescribeLiveDomainFrameRateAndBitRateDataResult.cc @@ -43,14 +43,14 @@ void DescribeLiveDomainFrameRateAndBitRateDataResult::parse(const std::string &p for (auto valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo : allFrameRateAndBitRateInfosNode) { FrameRateAndBitRateInfo frameRateAndBitRateInfosObject; - if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["AudioFrameRate"].isNull()) - frameRateAndBitRateInfosObject.audioFrameRate = std::stof(valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["AudioFrameRate"].asString()); - if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["BitRate"].isNull()) - frameRateAndBitRateInfosObject.bitRate = std::stof(valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["BitRate"].asString()); if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["VideoFrameRate"].isNull()) frameRateAndBitRateInfosObject.videoFrameRate = std::stof(valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["VideoFrameRate"].asString()); if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["StreamUrl"].isNull()) frameRateAndBitRateInfosObject.streamUrl = valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["StreamUrl"].asString(); + if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["AudioFrameRate"].isNull()) + frameRateAndBitRateInfosObject.audioFrameRate = std::stof(valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["AudioFrameRate"].asString()); + if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["BitRate"].isNull()) + frameRateAndBitRateInfosObject.bitRate = std::stof(valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["BitRate"].asString()); frameRateAndBitRateInfos_.push_back(frameRateAndBitRateInfosObject); } diff --git a/live/src/model/DescribeLiveDomainLimitRequest.cc b/live/src/model/DescribeLiveDomainLimitRequest.cc index 849777e40..ff93235ce 100644 --- a/live/src/model/DescribeLiveDomainLimitRequest.cc +++ b/live/src/model/DescribeLiveDomainLimitRequest.cc @@ -1,62 +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::DescribeLiveDomainLimitRequest; - -DescribeLiveDomainLimitRequest::DescribeLiveDomainLimitRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainLimit") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainLimitRequest::~DescribeLiveDomainLimitRequest() -{} - -std::string DescribeLiveDomainLimitRequest::getLiveapiRequestFrom()const -{ - return liveapiRequestFrom_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainLimitRequest; + +DescribeLiveDomainLimitRequest::DescribeLiveDomainLimitRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainLimit") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDomainLimitRequest::setLiveapiRequestFrom(const std::string& liveapiRequestFrom) -{ - liveapiRequestFrom_ = liveapiRequestFrom; - setParameter("LiveapiRequestFrom", liveapiRequestFrom); +DescribeLiveDomainLimitRequest::~DescribeLiveDomainLimitRequest() {} + +std::string DescribeLiveDomainLimitRequest::getLiveapiRequestFrom() const { + return liveapiRequestFrom_; } -std::string DescribeLiveDomainLimitRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDomainLimitRequest::setLiveapiRequestFrom(const std::string &liveapiRequestFrom) { + liveapiRequestFrom_ = liveapiRequestFrom; + setParameter(std::string("LiveapiRequestFrom"), liveapiRequestFrom); } -void DescribeLiveDomainLimitRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDomainLimitRequest::getDomainName() const { + return domainName_; } -long DescribeLiveDomainLimitRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainLimitRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainLimitRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainLimitRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveDomainLimitRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainLimitResult.cc b/live/src/model/DescribeLiveDomainLimitResult.cc index 1a74d9adf..5572398c0 100644 --- a/live/src/model/DescribeLiveDomainLimitResult.cc +++ b/live/src/model/DescribeLiveDomainLimitResult.cc @@ -43,12 +43,20 @@ void DescribeLiveDomainLimitResult::parse(const std::string &payload) for (auto valueLiveDomainLimitListLiveDomainLimit : allLiveDomainLimitListNode) { LiveDomainLimit liveDomainLimitListObject; - if(!valueLiveDomainLimitListLiveDomainLimit["DomainName"].isNull()) - liveDomainLimitListObject.domainName = valueLiveDomainLimitListLiveDomainLimit["DomainName"].asString(); - if(!valueLiveDomainLimitListLiveDomainLimit["LimitNum"].isNull()) - liveDomainLimitListObject.limitNum = std::stoi(valueLiveDomainLimitListLiveDomainLimit["LimitNum"].asString()); if(!valueLiveDomainLimitListLiveDomainLimit["LimitTranscodeNum"].isNull()) liveDomainLimitListObject.limitTranscodeNum = std::stoi(valueLiveDomainLimitListLiveDomainLimit["LimitTranscodeNum"].asString()); + if(!valueLiveDomainLimitListLiveDomainLimit["CurrentTranscodeNum"].isNull()) + liveDomainLimitListObject.currentTranscodeNum = std::stoi(valueLiveDomainLimitListLiveDomainLimit["CurrentTranscodeNum"].asString()); + if(!valueLiveDomainLimitListLiveDomainLimit["LimitNum"].isNull()) + liveDomainLimitListObject.limitNum = std::stoi(valueLiveDomainLimitListLiveDomainLimit["LimitNum"].asString()); + if(!valueLiveDomainLimitListLiveDomainLimit["LimitTransferNum"].isNull()) + liveDomainLimitListObject.limitTransferNum = std::stoi(valueLiveDomainLimitListLiveDomainLimit["LimitTransferNum"].asString()); + if(!valueLiveDomainLimitListLiveDomainLimit["CurrentNum"].isNull()) + liveDomainLimitListObject.currentNum = std::stoi(valueLiveDomainLimitListLiveDomainLimit["CurrentNum"].asString()); + if(!valueLiveDomainLimitListLiveDomainLimit["CurrentTransferNum"].isNull()) + liveDomainLimitListObject.currentTransferNum = std::stoi(valueLiveDomainLimitListLiveDomainLimit["CurrentTransferNum"].asString()); + if(!valueLiveDomainLimitListLiveDomainLimit["DomainName"].isNull()) + liveDomainLimitListObject.domainName = valueLiveDomainLimitListLiveDomainLimit["DomainName"].asString(); liveDomainLimitList_.push_back(liveDomainLimitListObject); } diff --git a/live/src/model/DescribeLiveDomainLogRequest.cc b/live/src/model/DescribeLiveDomainLogRequest.cc index 3b57e0784..de28fc0c5 100644 --- a/live/src/model/DescribeLiveDomainLogRequest.cc +++ b/live/src/model/DescribeLiveDomainLogRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainLogRequest; - -DescribeLiveDomainLogRequest::DescribeLiveDomainLogRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainLog") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainLogRequest::~DescribeLiveDomainLogRequest() -{} - -std::string DescribeLiveDomainLogRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainLogRequest; + +DescribeLiveDomainLogRequest::DescribeLiveDomainLogRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainLog") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDomainLogRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeLiveDomainLogRequest::~DescribeLiveDomainLogRequest() {} + +std::string DescribeLiveDomainLogRequest::getStartTime() const { + return startTime_; } -long DescribeLiveDomainLogRequest::getPageNumber()const -{ - return pageNumber_; +void DescribeLiveDomainLogRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveDomainLogRequest::setPageNumber(long pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +long DescribeLiveDomainLogRequest::getPageNumber() const { + return pageNumber_; } -long DescribeLiveDomainLogRequest::getPageSize()const -{ - return pageSize_; +void DescribeLiveDomainLogRequest::setPageNumber(long pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void DescribeLiveDomainLogRequest::setPageSize(long pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +long DescribeLiveDomainLogRequest::getPageSize() const { + return pageSize_; } -std::string DescribeLiveDomainLogRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDomainLogRequest::setPageSize(long pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeLiveDomainLogRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDomainLogRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveDomainLogRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveDomainLogRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainLogRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveDomainLogRequest::getEndTime() const { + return endTime_; } -long DescribeLiveDomainLogRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainLogRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveDomainLogRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainLogRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveDomainLogRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainLogResult.cc b/live/src/model/DescribeLiveDomainLogResult.cc index 4a839ffd4..377e933cd 100644 --- a/live/src/model/DescribeLiveDomainLogResult.cc +++ b/live/src/model/DescribeLiveDomainLogResult.cc @@ -49,16 +49,16 @@ void DescribeLiveDomainLogResult::parse(const std::string &payload) for (auto valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail : allLogInfosNode) { DomainLogDetail::LogInfoDetail logInfosObject; - if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogName"].isNull()) - logInfosObject.logName = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogName"].asString(); - if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogPath"].isNull()) - logInfosObject.logPath = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogPath"].asString(); + if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["EndTime"].isNull()) + logInfosObject.endTime = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["EndTime"].asString(); if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogSize"].isNull()) logInfosObject.logSize = std::stol(valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogSize"].asString()); if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["StartTime"].isNull()) logInfosObject.startTime = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["StartTime"].asString(); - if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["EndTime"].isNull()) - logInfosObject.endTime = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["EndTime"].asString(); + if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogName"].isNull()) + logInfosObject.logName = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogName"].asString(); + if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogPath"].isNull()) + logInfosObject.logPath = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogPath"].asString(); domainLogDetailsObject.logInfos.push_back(logInfosObject); } auto pageInfosNode = value["PageInfos"]; diff --git a/live/src/model/DescribeLiveDomainMappingRequest.cc b/live/src/model/DescribeLiveDomainMappingRequest.cc index 872fc2c36..a7f07af80 100644 --- a/live/src/model/DescribeLiveDomainMappingRequest.cc +++ b/live/src/model/DescribeLiveDomainMappingRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainMappingRequest; - -DescribeLiveDomainMappingRequest::DescribeLiveDomainMappingRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainMapping") -{ - setMethod(HttpRequest::Method::Get); -} - -DescribeLiveDomainMappingRequest::~DescribeLiveDomainMappingRequest() -{} - -std::string DescribeLiveDomainMappingRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainMappingRequest; + +DescribeLiveDomainMappingRequest::DescribeLiveDomainMappingRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainMapping") { + setMethod(HttpRequest::Method::Get); } -void DescribeLiveDomainMappingRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DescribeLiveDomainMappingRequest::~DescribeLiveDomainMappingRequest() {} + +std::string DescribeLiveDomainMappingRequest::getDomainName() const { + return domainName_; } -long DescribeLiveDomainMappingRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainMappingRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainMappingRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainMappingRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveDomainMappingRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainMappingResult.cc b/live/src/model/DescribeLiveDomainMappingResult.cc index ae9c6a75a..374b1cf42 100644 --- a/live/src/model/DescribeLiveDomainMappingResult.cc +++ b/live/src/model/DescribeLiveDomainMappingResult.cc @@ -43,10 +43,10 @@ void DescribeLiveDomainMappingResult::parse(const std::string &payload) for (auto valueLiveDomainModelsLiveDomainModel : allLiveDomainModelsNode) { LiveDomainModel liveDomainModelsObject; - if(!valueLiveDomainModelsLiveDomainModel["DomainName"].isNull()) - liveDomainModelsObject.domainName = valueLiveDomainModelsLiveDomainModel["DomainName"].asString(); if(!valueLiveDomainModelsLiveDomainModel["Type"].isNull()) liveDomainModelsObject.type = valueLiveDomainModelsLiveDomainModel["Type"].asString(); + if(!valueLiveDomainModelsLiveDomainModel["DomainName"].isNull()) + liveDomainModelsObject.domainName = valueLiveDomainModelsLiveDomainModel["DomainName"].asString(); liveDomainModels_.push_back(liveDomainModelsObject); } diff --git a/live/src/model/DescribeLiveDomainOnlineUserNumRequest.cc b/live/src/model/DescribeLiveDomainOnlineUserNumRequest.cc index 673497a3f..7c5309b0b 100644 --- a/live/src/model/DescribeLiveDomainOnlineUserNumRequest.cc +++ b/live/src/model/DescribeLiveDomainOnlineUserNumRequest.cc @@ -1,62 +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::DescribeLiveDomainOnlineUserNumRequest; - -DescribeLiveDomainOnlineUserNumRequest::DescribeLiveDomainOnlineUserNumRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainOnlineUserNum") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainOnlineUserNumRequest::~DescribeLiveDomainOnlineUserNumRequest() -{} - -std::string DescribeLiveDomainOnlineUserNumRequest::getQueryTime()const -{ - return queryTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainOnlineUserNumRequest; + +DescribeLiveDomainOnlineUserNumRequest::DescribeLiveDomainOnlineUserNumRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainOnlineUserNum") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDomainOnlineUserNumRequest::setQueryTime(const std::string& queryTime) -{ - queryTime_ = queryTime; - setParameter("QueryTime", queryTime); +DescribeLiveDomainOnlineUserNumRequest::~DescribeLiveDomainOnlineUserNumRequest() {} + +std::string DescribeLiveDomainOnlineUserNumRequest::getQueryTime() const { + return queryTime_; } -std::string DescribeLiveDomainOnlineUserNumRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDomainOnlineUserNumRequest::setQueryTime(const std::string &queryTime) { + queryTime_ = queryTime; + setParameter(std::string("QueryTime"), queryTime); } -void DescribeLiveDomainOnlineUserNumRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDomainOnlineUserNumRequest::getDomainName() const { + return domainName_; } -long DescribeLiveDomainOnlineUserNumRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainOnlineUserNumRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainOnlineUserNumRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainOnlineUserNumRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveDomainOnlineUserNumRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainOnlineUserNumResult.cc b/live/src/model/DescribeLiveDomainOnlineUserNumResult.cc index c83065076..d08696592 100644 --- a/live/src/model/DescribeLiveDomainOnlineUserNumResult.cc +++ b/live/src/model/DescribeLiveDomainOnlineUserNumResult.cc @@ -49,18 +49,18 @@ void DescribeLiveDomainOnlineUserNumResult::parse(const std::string &payload) for (auto valueOnlineUserInfoLiveStreamOnlineUserNumInfoInfosInfo : allInfosNode) { LiveStreamOnlineUserNumInfo::Info infosObject; - if(!valueOnlineUserInfoLiveStreamOnlineUserNumInfoInfosInfo["TranscodeTemplate"].isNull()) - infosObject.transcodeTemplate = valueOnlineUserInfoLiveStreamOnlineUserNumInfoInfosInfo["TranscodeTemplate"].asString(); if(!valueOnlineUserInfoLiveStreamOnlineUserNumInfoInfosInfo["UserNumber"].isNull()) infosObject.userNumber = std::stol(valueOnlineUserInfoLiveStreamOnlineUserNumInfoInfosInfo["UserNumber"].asString()); + if(!valueOnlineUserInfoLiveStreamOnlineUserNumInfoInfosInfo["TranscodeTemplate"].isNull()) + infosObject.transcodeTemplate = valueOnlineUserInfoLiveStreamOnlineUserNumInfoInfosInfo["TranscodeTemplate"].asString(); onlineUserInfoObject.infos.push_back(infosObject); } onlineUserInfo_.push_back(onlineUserInfoObject); } - if(!value["StreamCount"].isNull()) - streamCount_ = std::stoi(value["StreamCount"].asString()); if(!value["UserCount"].isNull()) userCount_ = std::stoi(value["UserCount"].asString()); + if(!value["StreamCount"].isNull()) + streamCount_ = std::stoi(value["StreamCount"].asString()); } diff --git a/live/src/model/DescribeLiveDomainPushBpsDataRequest.cc b/live/src/model/DescribeLiveDomainPushBpsDataRequest.cc index f8da06878..6d81152d5 100644 --- a/live/src/model/DescribeLiveDomainPushBpsDataRequest.cc +++ b/live/src/model/DescribeLiveDomainPushBpsDataRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainPushBpsDataRequest; - -DescribeLiveDomainPushBpsDataRequest::DescribeLiveDomainPushBpsDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainPushBpsData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainPushBpsDataRequest::~DescribeLiveDomainPushBpsDataRequest() -{} - -std::string DescribeLiveDomainPushBpsDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainPushBpsDataRequest; + +DescribeLiveDomainPushBpsDataRequest::DescribeLiveDomainPushBpsDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainPushBpsData") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDomainPushBpsDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeLiveDomainPushBpsDataRequest::~DescribeLiveDomainPushBpsDataRequest() {} + +std::string DescribeLiveDomainPushBpsDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeLiveDomainPushBpsDataRequest::getStartTime()const -{ - return startTime_; +void DescribeLiveDomainPushBpsDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeLiveDomainPushBpsDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeLiveDomainPushBpsDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveDomainPushBpsDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeLiveDomainPushBpsDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveDomainPushBpsDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeLiveDomainPushBpsDataRequest::getIspNameEn() const { + return ispNameEn_; } -std::string DescribeLiveDomainPushBpsDataRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDomainPushBpsDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } -void DescribeLiveDomainPushBpsDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDomainPushBpsDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveDomainPushBpsDataRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveDomainPushBpsDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainPushBpsDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveDomainPushBpsDataRequest::getEndTime() const { + return endTime_; } -long DescribeLiveDomainPushBpsDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainPushBpsDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveDomainPushBpsDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainPushBpsDataRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeLiveDomainPushBpsDataRequest::getInterval()const -{ - return interval_; +void DescribeLiveDomainPushBpsDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeLiveDomainPushBpsDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +std::string DescribeLiveDomainPushBpsDataRequest::getInterval() const { + return interval_; +} + +void DescribeLiveDomainPushBpsDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } diff --git a/live/src/model/DescribeLiveDomainPushBpsDataResult.cc b/live/src/model/DescribeLiveDomainPushBpsDataResult.cc index 724ea5b30..97426a533 100644 --- a/live/src/model/DescribeLiveDomainPushBpsDataResult.cc +++ b/live/src/model/DescribeLiveDomainPushBpsDataResult.cc @@ -43,18 +43,18 @@ void DescribeLiveDomainPushBpsDataResult::parse(const std::string &payload) for (auto valueBpsDataPerIntervalDataModule : allBpsDataPerIntervalNode) { DataModule bpsDataPerIntervalObject; - if(!valueBpsDataPerIntervalDataModule["TimeStamp"].isNull()) - bpsDataPerIntervalObject.timeStamp = valueBpsDataPerIntervalDataModule["TimeStamp"].asString(); if(!valueBpsDataPerIntervalDataModule["BpsValue"].isNull()) bpsDataPerIntervalObject.bpsValue = valueBpsDataPerIntervalDataModule["BpsValue"].asString(); + if(!valueBpsDataPerIntervalDataModule["TimeStamp"].isNull()) + bpsDataPerIntervalObject.timeStamp = valueBpsDataPerIntervalDataModule["TimeStamp"].asString(); bpsDataPerInterval_.push_back(bpsDataPerIntervalObject); } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); if(!value["EndTime"].isNull()) endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/live/src/model/DescribeLiveDomainPushTrafficDataRequest.cc b/live/src/model/DescribeLiveDomainPushTrafficDataRequest.cc index 70059d470..771707571 100644 --- a/live/src/model/DescribeLiveDomainPushTrafficDataRequest.cc +++ b/live/src/model/DescribeLiveDomainPushTrafficDataRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainPushTrafficDataRequest; - -DescribeLiveDomainPushTrafficDataRequest::DescribeLiveDomainPushTrafficDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainPushTrafficData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainPushTrafficDataRequest::~DescribeLiveDomainPushTrafficDataRequest() -{} - -std::string DescribeLiveDomainPushTrafficDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainPushTrafficDataRequest; + +DescribeLiveDomainPushTrafficDataRequest::DescribeLiveDomainPushTrafficDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainPushTrafficData") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDomainPushTrafficDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeLiveDomainPushTrafficDataRequest::~DescribeLiveDomainPushTrafficDataRequest() {} + +std::string DescribeLiveDomainPushTrafficDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeLiveDomainPushTrafficDataRequest::getStartTime()const -{ - return startTime_; +void DescribeLiveDomainPushTrafficDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeLiveDomainPushTrafficDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeLiveDomainPushTrafficDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveDomainPushTrafficDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeLiveDomainPushTrafficDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveDomainPushTrafficDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeLiveDomainPushTrafficDataRequest::getIspNameEn() const { + return ispNameEn_; } -std::string DescribeLiveDomainPushTrafficDataRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDomainPushTrafficDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } -void DescribeLiveDomainPushTrafficDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDomainPushTrafficDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveDomainPushTrafficDataRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveDomainPushTrafficDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainPushTrafficDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveDomainPushTrafficDataRequest::getEndTime() const { + return endTime_; } -long DescribeLiveDomainPushTrafficDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainPushTrafficDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveDomainPushTrafficDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainPushTrafficDataRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeLiveDomainPushTrafficDataRequest::getInterval()const -{ - return interval_; +void DescribeLiveDomainPushTrafficDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeLiveDomainPushTrafficDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +std::string DescribeLiveDomainPushTrafficDataRequest::getInterval() const { + return interval_; +} + +void DescribeLiveDomainPushTrafficDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } diff --git a/live/src/model/DescribeLiveDomainPushTrafficDataResult.cc b/live/src/model/DescribeLiveDomainPushTrafficDataResult.cc index 0b4094ab2..3aae3f816 100644 --- a/live/src/model/DescribeLiveDomainPushTrafficDataResult.cc +++ b/live/src/model/DescribeLiveDomainPushTrafficDataResult.cc @@ -43,18 +43,18 @@ void DescribeLiveDomainPushTrafficDataResult::parse(const std::string &payload) for (auto valueTrafficDataPerIntervalDataModule : allTrafficDataPerIntervalNode) { DataModule trafficDataPerIntervalObject; - if(!valueTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) - trafficDataPerIntervalObject.timeStamp = valueTrafficDataPerIntervalDataModule["TimeStamp"].asString(); if(!valueTrafficDataPerIntervalDataModule["TrafficValue"].isNull()) trafficDataPerIntervalObject.trafficValue = valueTrafficDataPerIntervalDataModule["TrafficValue"].asString(); + if(!valueTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) + trafficDataPerIntervalObject.timeStamp = valueTrafficDataPerIntervalDataModule["TimeStamp"].asString(); trafficDataPerInterval_.push_back(trafficDataPerIntervalObject); } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); if(!value["EndTime"].isNull()) endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/live/src/model/DescribeLiveDomainPvUvDataRequest.cc b/live/src/model/DescribeLiveDomainPvUvDataRequest.cc index ae12c31b5..c289056b4 100644 --- a/live/src/model/DescribeLiveDomainPvUvDataRequest.cc +++ b/live/src/model/DescribeLiveDomainPvUvDataRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainPvUvDataRequest; - -DescribeLiveDomainPvUvDataRequest::DescribeLiveDomainPvUvDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainPvUvData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainPvUvDataRequest::~DescribeLiveDomainPvUvDataRequest() -{} - -std::string DescribeLiveDomainPvUvDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainPvUvDataRequest; + +DescribeLiveDomainPvUvDataRequest::DescribeLiveDomainPvUvDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainPvUvData") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDomainPvUvDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeLiveDomainPvUvDataRequest::~DescribeLiveDomainPvUvDataRequest() {} + +std::string DescribeLiveDomainPvUvDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveDomainPvUvDataRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDomainPvUvDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveDomainPvUvDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDomainPvUvDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveDomainPvUvDataRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveDomainPvUvDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainPvUvDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveDomainPvUvDataRequest::getEndTime() const { + return endTime_; } -long DescribeLiveDomainPvUvDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainPvUvDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveDomainPvUvDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainPvUvDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveDomainPvUvDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainPvUvDataResult.cc b/live/src/model/DescribeLiveDomainPvUvDataResult.cc index fafc65297..6dc239fd3 100644 --- a/live/src/model/DescribeLiveDomainPvUvDataResult.cc +++ b/live/src/model/DescribeLiveDomainPvUvDataResult.cc @@ -45,18 +45,18 @@ void DescribeLiveDomainPvUvDataResult::parse(const std::string &payload) PvUvDataInfo pvUvDataInfosObject; if(!valuePvUvDataInfosPvUvDataInfo["PV"].isNull()) pvUvDataInfosObject.pV = valuePvUvDataInfosPvUvDataInfo["PV"].asString(); - if(!valuePvUvDataInfosPvUvDataInfo["UV"].isNull()) - pvUvDataInfosObject.uV = valuePvUvDataInfosPvUvDataInfo["UV"].asString(); if(!valuePvUvDataInfosPvUvDataInfo["TimeStamp"].isNull()) pvUvDataInfosObject.timeStamp = valuePvUvDataInfosPvUvDataInfo["TimeStamp"].asString(); + if(!valuePvUvDataInfosPvUvDataInfo["UV"].isNull()) + pvUvDataInfosObject.uV = valuePvUvDataInfosPvUvDataInfo["UV"].asString(); pvUvDataInfos_.push_back(pvUvDataInfosObject); } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); if(!value["EndTime"].isNull()) endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/live/src/model/DescribeLiveDomainRealTimeBpsDataRequest.cc b/live/src/model/DescribeLiveDomainRealTimeBpsDataRequest.cc index f56650730..974c168b0 100644 --- a/live/src/model/DescribeLiveDomainRealTimeBpsDataRequest.cc +++ b/live/src/model/DescribeLiveDomainRealTimeBpsDataRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainRealTimeBpsDataRequest; - -DescribeLiveDomainRealTimeBpsDataRequest::DescribeLiveDomainRealTimeBpsDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRealTimeBpsData") -{ - setMethod(HttpRequest::Method::Get); -} - -DescribeLiveDomainRealTimeBpsDataRequest::~DescribeLiveDomainRealTimeBpsDataRequest() -{} - -std::string DescribeLiveDomainRealTimeBpsDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainRealTimeBpsDataRequest; + +DescribeLiveDomainRealTimeBpsDataRequest::DescribeLiveDomainRealTimeBpsDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRealTimeBpsData") { + setMethod(HttpRequest::Method::Get); } -void DescribeLiveDomainRealTimeBpsDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeLiveDomainRealTimeBpsDataRequest::~DescribeLiveDomainRealTimeBpsDataRequest() {} + +std::string DescribeLiveDomainRealTimeBpsDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeLiveDomainRealTimeBpsDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeLiveDomainRealTimeBpsDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeLiveDomainRealTimeBpsDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeLiveDomainRealTimeBpsDataRequest::getIspNameEn() const { + return ispNameEn_; } -std::string DescribeLiveDomainRealTimeBpsDataRequest::getStartTime()const -{ - return startTime_; +void DescribeLiveDomainRealTimeBpsDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } -void DescribeLiveDomainRealTimeBpsDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeLiveDomainRealTimeBpsDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveDomainRealTimeBpsDataRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDomainRealTimeBpsDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveDomainRealTimeBpsDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDomainRealTimeBpsDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveDomainRealTimeBpsDataRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveDomainRealTimeBpsDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainRealTimeBpsDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveDomainRealTimeBpsDataRequest::getEndTime() const { + return endTime_; } -long DescribeLiveDomainRealTimeBpsDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainRealTimeBpsDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveDomainRealTimeBpsDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainRealTimeBpsDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveDomainRealTimeBpsDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainRealTimeBpsDataResult.cc b/live/src/model/DescribeLiveDomainRealTimeBpsDataResult.cc index d595be380..9bbf0d8f3 100644 --- a/live/src/model/DescribeLiveDomainRealTimeBpsDataResult.cc +++ b/live/src/model/DescribeLiveDomainRealTimeBpsDataResult.cc @@ -43,18 +43,18 @@ void DescribeLiveDomainRealTimeBpsDataResult::parse(const std::string &payload) for (auto valueRealTimeBpsDataPerIntervalDataModule : allRealTimeBpsDataPerIntervalNode) { DataModule realTimeBpsDataPerIntervalObject; - if(!valueRealTimeBpsDataPerIntervalDataModule["TimeStamp"].isNull()) - realTimeBpsDataPerIntervalObject.timeStamp = valueRealTimeBpsDataPerIntervalDataModule["TimeStamp"].asString(); if(!valueRealTimeBpsDataPerIntervalDataModule["Value"].isNull()) realTimeBpsDataPerIntervalObject.value = valueRealTimeBpsDataPerIntervalDataModule["Value"].asString(); + if(!valueRealTimeBpsDataPerIntervalDataModule["TimeStamp"].isNull()) + realTimeBpsDataPerIntervalObject.timeStamp = valueRealTimeBpsDataPerIntervalDataModule["TimeStamp"].asString(); realTimeBpsDataPerInterval_.push_back(realTimeBpsDataPerIntervalObject); } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); if(!value["EndTime"].isNull()) endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/live/src/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.cc b/live/src/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.cc index b7cb20d65..afa0628b4 100644 --- a/live/src/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.cc +++ b/live/src/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainRealTimeHttpCodeDataRequest; - -DescribeLiveDomainRealTimeHttpCodeDataRequest::DescribeLiveDomainRealTimeHttpCodeDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRealTimeHttpCodeData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainRealTimeHttpCodeDataRequest::~DescribeLiveDomainRealTimeHttpCodeDataRequest() -{} - -std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainRealTimeHttpCodeDataRequest; + +DescribeLiveDomainRealTimeHttpCodeDataRequest::DescribeLiveDomainRealTimeHttpCodeDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRealTimeHttpCodeData") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDomainRealTimeHttpCodeDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeLiveDomainRealTimeHttpCodeDataRequest::~DescribeLiveDomainRealTimeHttpCodeDataRequest() {} + +std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getStartTime()const -{ - return startTime_; +void DescribeLiveDomainRealTimeHttpCodeDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeLiveDomainRealTimeHttpCodeDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeLiveDomainRealTimeHttpCodeDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveDomainRealTimeHttpCodeDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getIspNameEn() const { + return ispNameEn_; } -std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDomainRealTimeHttpCodeDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } -void DescribeLiveDomainRealTimeHttpCodeDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveDomainRealTimeHttpCodeDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainRealTimeHttpCodeDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getEndTime() const { + return endTime_; } -long DescribeLiveDomainRealTimeHttpCodeDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainRealTimeHttpCodeDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveDomainRealTimeHttpCodeDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainRealTimeHttpCodeDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveDomainRealTimeHttpCodeDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainRealTimeHttpCodeDataResult.cc b/live/src/model/DescribeLiveDomainRealTimeHttpCodeDataResult.cc index 49cb2da98..16b08073f 100644 --- a/live/src/model/DescribeLiveDomainRealTimeHttpCodeDataResult.cc +++ b/live/src/model/DescribeLiveDomainRealTimeHttpCodeDataResult.cc @@ -59,12 +59,12 @@ void DescribeLiveDomainRealTimeHttpCodeDataResult::parse(const std::string &payl } realTimeHttpCodeData_.push_back(realTimeHttpCodeDataObject); } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); if(!value["EndTime"].isNull()) endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/live/src/model/DescribeLiveDomainRealTimeTrafficDataRequest.cc b/live/src/model/DescribeLiveDomainRealTimeTrafficDataRequest.cc index 25d3cc86a..f1aa8f121 100644 --- a/live/src/model/DescribeLiveDomainRealTimeTrafficDataRequest.cc +++ b/live/src/model/DescribeLiveDomainRealTimeTrafficDataRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainRealTimeTrafficDataRequest; - -DescribeLiveDomainRealTimeTrafficDataRequest::DescribeLiveDomainRealTimeTrafficDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRealTimeTrafficData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainRealTimeTrafficDataRequest::~DescribeLiveDomainRealTimeTrafficDataRequest() -{} - -std::string DescribeLiveDomainRealTimeTrafficDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainRealTimeTrafficDataRequest; + +DescribeLiveDomainRealTimeTrafficDataRequest::DescribeLiveDomainRealTimeTrafficDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRealTimeTrafficData") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDomainRealTimeTrafficDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeLiveDomainRealTimeTrafficDataRequest::~DescribeLiveDomainRealTimeTrafficDataRequest() {} + +std::string DescribeLiveDomainRealTimeTrafficDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeLiveDomainRealTimeTrafficDataRequest::getStartTime()const -{ - return startTime_; +void DescribeLiveDomainRealTimeTrafficDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeLiveDomainRealTimeTrafficDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeLiveDomainRealTimeTrafficDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveDomainRealTimeTrafficDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeLiveDomainRealTimeTrafficDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveDomainRealTimeTrafficDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeLiveDomainRealTimeTrafficDataRequest::getIspNameEn() const { + return ispNameEn_; } -std::string DescribeLiveDomainRealTimeTrafficDataRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDomainRealTimeTrafficDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } -void DescribeLiveDomainRealTimeTrafficDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDomainRealTimeTrafficDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveDomainRealTimeTrafficDataRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveDomainRealTimeTrafficDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainRealTimeTrafficDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveDomainRealTimeTrafficDataRequest::getEndTime() const { + return endTime_; } -long DescribeLiveDomainRealTimeTrafficDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainRealTimeTrafficDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveDomainRealTimeTrafficDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainRealTimeTrafficDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveDomainRealTimeTrafficDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainRealTimeTrafficDataResult.cc b/live/src/model/DescribeLiveDomainRealTimeTrafficDataResult.cc index bef5d8606..3c8caec91 100644 --- a/live/src/model/DescribeLiveDomainRealTimeTrafficDataResult.cc +++ b/live/src/model/DescribeLiveDomainRealTimeTrafficDataResult.cc @@ -43,18 +43,18 @@ void DescribeLiveDomainRealTimeTrafficDataResult::parse(const std::string &paylo for (auto valueRealTimeTrafficDataPerIntervalDataModule : allRealTimeTrafficDataPerIntervalNode) { DataModule realTimeTrafficDataPerIntervalObject; - if(!valueRealTimeTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) - realTimeTrafficDataPerIntervalObject.timeStamp = valueRealTimeTrafficDataPerIntervalDataModule["TimeStamp"].asString(); if(!valueRealTimeTrafficDataPerIntervalDataModule["Value"].isNull()) realTimeTrafficDataPerIntervalObject.value = valueRealTimeTrafficDataPerIntervalDataModule["Value"].asString(); + if(!valueRealTimeTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) + realTimeTrafficDataPerIntervalObject.timeStamp = valueRealTimeTrafficDataPerIntervalDataModule["TimeStamp"].asString(); realTimeTrafficDataPerInterval_.push_back(realTimeTrafficDataPerIntervalObject); } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); if(!value["EndTime"].isNull()) endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/live/src/model/DescribeLiveDomainRealtimeLogDeliveryRequest.cc b/live/src/model/DescribeLiveDomainRealtimeLogDeliveryRequest.cc index bd62e0045..caa44c0e1 100644 --- a/live/src/model/DescribeLiveDomainRealtimeLogDeliveryRequest.cc +++ b/live/src/model/DescribeLiveDomainRealtimeLogDeliveryRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainRealtimeLogDeliveryRequest; - -DescribeLiveDomainRealtimeLogDeliveryRequest::DescribeLiveDomainRealtimeLogDeliveryRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRealtimeLogDelivery") -{ - setMethod(HttpRequest::Method::Get); -} - -DescribeLiveDomainRealtimeLogDeliveryRequest::~DescribeLiveDomainRealtimeLogDeliveryRequest() -{} - -std::string DescribeLiveDomainRealtimeLogDeliveryRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainRealtimeLogDeliveryRequest; + +DescribeLiveDomainRealtimeLogDeliveryRequest::DescribeLiveDomainRealtimeLogDeliveryRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRealtimeLogDelivery") { + setMethod(HttpRequest::Method::Get); } -void DescribeLiveDomainRealtimeLogDeliveryRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DescribeLiveDomainRealtimeLogDeliveryRequest::~DescribeLiveDomainRealtimeLogDeliveryRequest() {} + +std::string DescribeLiveDomainRealtimeLogDeliveryRequest::getDomainName() const { + return domainName_; } -long DescribeLiveDomainRealtimeLogDeliveryRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainRealtimeLogDeliveryRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainRealtimeLogDeliveryRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainRealtimeLogDeliveryRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveDomainRealtimeLogDeliveryRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainRealtimeLogDeliveryResult.cc b/live/src/model/DescribeLiveDomainRealtimeLogDeliveryResult.cc index 8c2e225f6..6714a65d0 100644 --- a/live/src/model/DescribeLiveDomainRealtimeLogDeliveryResult.cc +++ b/live/src/model/DescribeLiveDomainRealtimeLogDeliveryResult.cc @@ -39,14 +39,14 @@ void DescribeLiveDomainRealtimeLogDeliveryResult::parse(const std::string &paylo Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); + if(!value["Status"].isNull()) + status_ = value["Status"].asString(); + if(!value["Logstore"].isNull()) + logstore_ = value["Logstore"].asString(); if(!value["Project"].isNull()) project_ = value["Project"].asString(); if(!value["Region"].isNull()) region_ = value["Region"].asString(); - if(!value["Logstore"].isNull()) - logstore_ = value["Logstore"].asString(); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); } diff --git a/live/src/model/DescribeLiveDomainRecordDataRequest.cc b/live/src/model/DescribeLiveDomainRecordDataRequest.cc index 3bba82b04..8b1c06ea8 100644 --- a/live/src/model/DescribeLiveDomainRecordDataRequest.cc +++ b/live/src/model/DescribeLiveDomainRecordDataRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainRecordDataRequest; - -DescribeLiveDomainRecordDataRequest::DescribeLiveDomainRecordDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRecordData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainRecordDataRequest::~DescribeLiveDomainRecordDataRequest() -{} - -std::string DescribeLiveDomainRecordDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainRecordDataRequest; + +DescribeLiveDomainRecordDataRequest::DescribeLiveDomainRecordDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRecordData") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDomainRecordDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeLiveDomainRecordDataRequest::~DescribeLiveDomainRecordDataRequest() {} + +std::string DescribeLiveDomainRecordDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveDomainRecordDataRequest::getRecordType()const -{ - return recordType_; +void DescribeLiveDomainRecordDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveDomainRecordDataRequest::setRecordType(const std::string& recordType) -{ - recordType_ = recordType; - setParameter("RecordType", recordType); +std::string DescribeLiveDomainRecordDataRequest::getRecordType() const { + return recordType_; } -std::string DescribeLiveDomainRecordDataRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDomainRecordDataRequest::setRecordType(const std::string &recordType) { + recordType_ = recordType; + setParameter(std::string("RecordType"), recordType); } -void DescribeLiveDomainRecordDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDomainRecordDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveDomainRecordDataRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveDomainRecordDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainRecordDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveDomainRecordDataRequest::getEndTime() const { + return endTime_; } -long DescribeLiveDomainRecordDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainRecordDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveDomainRecordDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +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 index ce0e2e040..dc8733b77 100644 --- a/live/src/model/DescribeLiveDomainRecordDataResult.cc +++ b/live/src/model/DescribeLiveDomainRecordDataResult.cc @@ -48,12 +48,12 @@ void DescribeLiveDomainRecordDataResult::parse(const std::string &payload) if(!valueRecordDataInfosRecordDataInfo["Total"].isNull()) recordDataInfosObject.total = std::stoi(valueRecordDataInfosRecordDataInfo["Total"].asString()); auto detailNode = value["Detail"]; - if(!detailNode["MP4"].isNull()) - recordDataInfosObject.detail.mP4 = std::stoi(detailNode["MP4"].asString()); if(!detailNode["FLV"].isNull()) recordDataInfosObject.detail.fLV = std::stoi(detailNode["FLV"].asString()); if(!detailNode["TS"].isNull()) recordDataInfosObject.detail.tS = std::stoi(detailNode["TS"].asString()); + if(!detailNode["MP4"].isNull()) + recordDataInfosObject.detail.mP4 = std::stoi(detailNode["MP4"].asString()); recordDataInfos_.push_back(recordDataInfosObject); } diff --git a/live/src/model/DescribeLiveDomainRecordUsageDataRequest.cc b/live/src/model/DescribeLiveDomainRecordUsageDataRequest.cc index 75fcc225d..d75fdeb19 100644 --- a/live/src/model/DescribeLiveDomainRecordUsageDataRequest.cc +++ b/live/src/model/DescribeLiveDomainRecordUsageDataRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainRecordUsageDataRequest; - -DescribeLiveDomainRecordUsageDataRequest::DescribeLiveDomainRecordUsageDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRecordUsageData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainRecordUsageDataRequest::~DescribeLiveDomainRecordUsageDataRequest() -{} - -std::string DescribeLiveDomainRecordUsageDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainRecordUsageDataRequest; + +DescribeLiveDomainRecordUsageDataRequest::DescribeLiveDomainRecordUsageDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRecordUsageData") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDomainRecordUsageDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeLiveDomainRecordUsageDataRequest::~DescribeLiveDomainRecordUsageDataRequest() {} + +std::string DescribeLiveDomainRecordUsageDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveDomainRecordUsageDataRequest::getSplitBy()const -{ - return splitBy_; +void DescribeLiveDomainRecordUsageDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveDomainRecordUsageDataRequest::setSplitBy(const std::string& splitBy) -{ - splitBy_ = splitBy; - setParameter("SplitBy", splitBy); +std::string DescribeLiveDomainRecordUsageDataRequest::getSplitBy() const { + return splitBy_; } -std::string DescribeLiveDomainRecordUsageDataRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDomainRecordUsageDataRequest::setSplitBy(const std::string &splitBy) { + splitBy_ = splitBy; + setParameter(std::string("SplitBy"), splitBy); } -void DescribeLiveDomainRecordUsageDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDomainRecordUsageDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveDomainRecordUsageDataRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveDomainRecordUsageDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainRecordUsageDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveDomainRecordUsageDataRequest::getEndTime() const { + return endTime_; } -long DescribeLiveDomainRecordUsageDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainRecordUsageDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveDomainRecordUsageDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainRecordUsageDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveDomainRecordUsageDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainRecordUsageDataResult.cc b/live/src/model/DescribeLiveDomainRecordUsageDataResult.cc index 34ed998e8..119423517 100644 --- a/live/src/model/DescribeLiveDomainRecordUsageDataResult.cc +++ b/live/src/model/DescribeLiveDomainRecordUsageDataResult.cc @@ -43,14 +43,14 @@ void DescribeLiveDomainRecordUsageDataResult::parse(const std::string &payload) for (auto valueRecordUsageDataDataModule : allRecordUsageDataNode) { DataModule recordUsageDataObject; - if(!valueRecordUsageDataDataModule["TimeStamp"].isNull()) - recordUsageDataObject.timeStamp = valueRecordUsageDataDataModule["TimeStamp"].asString(); - if(!valueRecordUsageDataDataModule["Domain"].isNull()) - recordUsageDataObject.domain = valueRecordUsageDataDataModule["Domain"].asString(); if(!valueRecordUsageDataDataModule["Type"].isNull()) recordUsageDataObject.type = valueRecordUsageDataDataModule["Type"].asString(); if(!valueRecordUsageDataDataModule["Duration"].isNull()) recordUsageDataObject.duration = std::stol(valueRecordUsageDataDataModule["Duration"].asString()); + if(!valueRecordUsageDataDataModule["Domain"].isNull()) + recordUsageDataObject.domain = valueRecordUsageDataDataModule["Domain"].asString(); + if(!valueRecordUsageDataDataModule["TimeStamp"].isNull()) + recordUsageDataObject.timeStamp = valueRecordUsageDataDataModule["TimeStamp"].asString(); if(!valueRecordUsageDataDataModule["Count"].isNull()) recordUsageDataObject.count = std::stol(valueRecordUsageDataDataModule["Count"].asString()); recordUsageData_.push_back(recordUsageDataObject); diff --git a/live/src/model/DescribeLiveDomainSnapshotDataRequest.cc b/live/src/model/DescribeLiveDomainSnapshotDataRequest.cc index 7def1b180..b5539091d 100644 --- a/live/src/model/DescribeLiveDomainSnapshotDataRequest.cc +++ b/live/src/model/DescribeLiveDomainSnapshotDataRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainSnapshotDataRequest; - -DescribeLiveDomainSnapshotDataRequest::DescribeLiveDomainSnapshotDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainSnapshotData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainSnapshotDataRequest::~DescribeLiveDomainSnapshotDataRequest() -{} - -std::string DescribeLiveDomainSnapshotDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainSnapshotDataRequest; + +DescribeLiveDomainSnapshotDataRequest::DescribeLiveDomainSnapshotDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainSnapshotData") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDomainSnapshotDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeLiveDomainSnapshotDataRequest::~DescribeLiveDomainSnapshotDataRequest() {} + +std::string DescribeLiveDomainSnapshotDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveDomainSnapshotDataRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDomainSnapshotDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveDomainSnapshotDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDomainSnapshotDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveDomainSnapshotDataRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveDomainSnapshotDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainSnapshotDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveDomainSnapshotDataRequest::getEndTime() const { + return endTime_; } -long DescribeLiveDomainSnapshotDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainSnapshotDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveDomainSnapshotDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainSnapshotDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveDomainSnapshotDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainSpecialConfigRequest.cc b/live/src/model/DescribeLiveDomainSpecialConfigRequest.cc deleted file mode 100644 index d49f86eaa..000000000 --- a/live/src/model/DescribeLiveDomainSpecialConfigRequest.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainSpecialConfigRequest; - -DescribeLiveDomainSpecialConfigRequest::DescribeLiveDomainSpecialConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainSpecialConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainSpecialConfigRequest::~DescribeLiveDomainSpecialConfigRequest() -{} - -std::string DescribeLiveDomainSpecialConfigRequest::getDomainName()const -{ - return domainName_; -} - -void DescribeLiveDomainSpecialConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long DescribeLiveDomainSpecialConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeLiveDomainSpecialConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeLiveDomainSpecialConfigRequest::getName()const -{ - return name_; -} - -void DescribeLiveDomainSpecialConfigRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - diff --git a/live/src/model/DescribeLiveDomainSpecialConfigResult.cc b/live/src/model/DescribeLiveDomainSpecialConfigResult.cc deleted file mode 100644 index 8c52a72dd..000000000 --- a/live/src/model/DescribeLiveDomainSpecialConfigResult.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; - -DescribeLiveDomainSpecialConfigResult::DescribeLiveDomainSpecialConfigResult() : - ServiceResult() -{} - -DescribeLiveDomainSpecialConfigResult::DescribeLiveDomainSpecialConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveDomainSpecialConfigResult::~DescribeLiveDomainSpecialConfigResult() -{} - -void DescribeLiveDomainSpecialConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allConfigsNode = value["Configs"]["Config"]; - for (auto valueConfigsConfig : allConfigsNode) - { - Config configsObject; - if(!valueConfigsConfig["Name"].isNull()) - configsObject.name = valueConfigsConfig["Name"].asString(); - if(!valueConfigsConfig["ConfigId"].isNull()) - configsObject.configId = std::stol(valueConfigsConfig["ConfigId"].asString()); - if(!valueConfigsConfig["Value"].isNull()) - configsObject.value = valueConfigsConfig["Value"].asString(); - configs_.push_back(configsObject); - } - -} - -std::vector DescribeLiveDomainSpecialConfigResult::getConfigs()const -{ - return configs_; -} - diff --git a/live/src/model/DescribeLiveDomainStagingConfigRequest.cc b/live/src/model/DescribeLiveDomainStagingConfigRequest.cc index c667dca28..0cacbfc68 100644 --- a/live/src/model/DescribeLiveDomainStagingConfigRequest.cc +++ b/live/src/model/DescribeLiveDomainStagingConfigRequest.cc @@ -1,62 +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::DescribeLiveDomainStagingConfigRequest; - -DescribeLiveDomainStagingConfigRequest::DescribeLiveDomainStagingConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainStagingConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainStagingConfigRequest::~DescribeLiveDomainStagingConfigRequest() -{} - -std::string DescribeLiveDomainStagingConfigRequest::getFunctionNames()const -{ - return functionNames_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainStagingConfigRequest; + +DescribeLiveDomainStagingConfigRequest::DescribeLiveDomainStagingConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainStagingConfig") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDomainStagingConfigRequest::setFunctionNames(const std::string& functionNames) -{ - functionNames_ = functionNames; - setParameter("FunctionNames", functionNames); +DescribeLiveDomainStagingConfigRequest::~DescribeLiveDomainStagingConfigRequest() {} + +std::string DescribeLiveDomainStagingConfigRequest::getFunctionNames() const { + return functionNames_; } -std::string DescribeLiveDomainStagingConfigRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDomainStagingConfigRequest::setFunctionNames(const std::string &functionNames) { + functionNames_ = functionNames; + setParameter(std::string("FunctionNames"), functionNames); } -void DescribeLiveDomainStagingConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDomainStagingConfigRequest::getDomainName() const { + return domainName_; } -long DescribeLiveDomainStagingConfigRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainStagingConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainStagingConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainStagingConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveDomainStagingConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainStreamTranscodeDataRequest.cc b/live/src/model/DescribeLiveDomainStreamTranscodeDataRequest.cc index 34292d0a0..749d10093 100644 --- a/live/src/model/DescribeLiveDomainStreamTranscodeDataRequest.cc +++ b/live/src/model/DescribeLiveDomainStreamTranscodeDataRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainStreamTranscodeDataRequest; - -DescribeLiveDomainStreamTranscodeDataRequest::DescribeLiveDomainStreamTranscodeDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainStreamTranscodeData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainStreamTranscodeDataRequest::~DescribeLiveDomainStreamTranscodeDataRequest() -{} - -std::string DescribeLiveDomainStreamTranscodeDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainStreamTranscodeDataRequest; + +DescribeLiveDomainStreamTranscodeDataRequest::DescribeLiveDomainStreamTranscodeDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainStreamTranscodeData") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDomainStreamTranscodeDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeLiveDomainStreamTranscodeDataRequest::~DescribeLiveDomainStreamTranscodeDataRequest() {} + +std::string DescribeLiveDomainStreamTranscodeDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveDomainStreamTranscodeDataRequest::getSplit()const -{ - return split_; +void DescribeLiveDomainStreamTranscodeDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveDomainStreamTranscodeDataRequest::setSplit(const std::string& split) -{ - split_ = split; - setParameter("Split", split); +std::string DescribeLiveDomainStreamTranscodeDataRequest::getSplit() const { + return split_; } -std::string DescribeLiveDomainStreamTranscodeDataRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDomainStreamTranscodeDataRequest::setSplit(const std::string &split) { + split_ = split; + setParameter(std::string("Split"), split); } -void DescribeLiveDomainStreamTranscodeDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDomainStreamTranscodeDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveDomainStreamTranscodeDataRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveDomainStreamTranscodeDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainStreamTranscodeDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveDomainStreamTranscodeDataRequest::getEndTime() const { + return endTime_; } -long DescribeLiveDomainStreamTranscodeDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainStreamTranscodeDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveDomainStreamTranscodeDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainStreamTranscodeDataRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeLiveDomainStreamTranscodeDataRequest::getInterval()const -{ - return interval_; +void DescribeLiveDomainStreamTranscodeDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeLiveDomainStreamTranscodeDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +std::string DescribeLiveDomainStreamTranscodeDataRequest::getInterval() const { + return interval_; +} + +void DescribeLiveDomainStreamTranscodeDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } diff --git a/live/src/model/DescribeLiveDomainStreamTranscodeDataResult.cc b/live/src/model/DescribeLiveDomainStreamTranscodeDataResult.cc index 64df717fb..cc135bccd 100644 --- a/live/src/model/DescribeLiveDomainStreamTranscodeDataResult.cc +++ b/live/src/model/DescribeLiveDomainStreamTranscodeDataResult.cc @@ -43,20 +43,20 @@ void DescribeLiveDomainStreamTranscodeDataResult::parse(const std::string &paylo for (auto valueTranscodeDataListTranscodeData : allTranscodeDataListNode) { TranscodeData transcodeDataListObject; - if(!valueTranscodeDataListTranscodeData["TimeStamp"].isNull()) - transcodeDataListObject.timeStamp = valueTranscodeDataListTranscodeData["TimeStamp"].asString(); + if(!valueTranscodeDataListTranscodeData["TanscodeType"].isNull()) + transcodeDataListObject.tanscodeType = valueTranscodeDataListTranscodeData["TanscodeType"].asString(); if(!valueTranscodeDataListTranscodeData["Domain"].isNull()) transcodeDataListObject.domain = valueTranscodeDataListTranscodeData["Domain"].asString(); if(!valueTranscodeDataListTranscodeData["Region"].isNull()) transcodeDataListObject.region = valueTranscodeDataListTranscodeData["Region"].asString(); - if(!valueTranscodeDataListTranscodeData["TanscodeType"].isNull()) - transcodeDataListObject.tanscodeType = valueTranscodeDataListTranscodeData["TanscodeType"].asString(); - if(!valueTranscodeDataListTranscodeData["Resolution"].isNull()) - transcodeDataListObject.resolution = valueTranscodeDataListTranscodeData["Resolution"].asString(); - if(!valueTranscodeDataListTranscodeData["Fps"].isNull()) - transcodeDataListObject.fps = valueTranscodeDataListTranscodeData["Fps"].asString(); if(!valueTranscodeDataListTranscodeData["Duration"].isNull()) transcodeDataListObject.duration = std::stoi(valueTranscodeDataListTranscodeData["Duration"].asString()); + if(!valueTranscodeDataListTranscodeData["TimeStamp"].isNull()) + transcodeDataListObject.timeStamp = valueTranscodeDataListTranscodeData["TimeStamp"].asString(); + if(!valueTranscodeDataListTranscodeData["Fps"].isNull()) + transcodeDataListObject.fps = valueTranscodeDataListTranscodeData["Fps"].asString(); + if(!valueTranscodeDataListTranscodeData["Resolution"].isNull()) + transcodeDataListObject.resolution = valueTranscodeDataListTranscodeData["Resolution"].asString(); transcodeDataList_.push_back(transcodeDataListObject); } diff --git a/live/src/model/DescribeLiveDomainTimeShiftDataRequest.cc b/live/src/model/DescribeLiveDomainTimeShiftDataRequest.cc index bf192ad6b..eae7b62d8 100644 --- a/live/src/model/DescribeLiveDomainTimeShiftDataRequest.cc +++ b/live/src/model/DescribeLiveDomainTimeShiftDataRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainTimeShiftDataRequest; - -DescribeLiveDomainTimeShiftDataRequest::DescribeLiveDomainTimeShiftDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainTimeShiftData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainTimeShiftDataRequest::~DescribeLiveDomainTimeShiftDataRequest() -{} - -std::string DescribeLiveDomainTimeShiftDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainTimeShiftDataRequest; + +DescribeLiveDomainTimeShiftDataRequest::DescribeLiveDomainTimeShiftDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainTimeShiftData") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDomainTimeShiftDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeLiveDomainTimeShiftDataRequest::~DescribeLiveDomainTimeShiftDataRequest() {} + +std::string DescribeLiveDomainTimeShiftDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveDomainTimeShiftDataRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDomainTimeShiftDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveDomainTimeShiftDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDomainTimeShiftDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveDomainTimeShiftDataRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveDomainTimeShiftDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainTimeShiftDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveDomainTimeShiftDataRequest::getEndTime() const { + return endTime_; } -long DescribeLiveDomainTimeShiftDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainTimeShiftDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveDomainTimeShiftDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainTimeShiftDataRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeLiveDomainTimeShiftDataRequest::getInterval()const -{ - return interval_; +void DescribeLiveDomainTimeShiftDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeLiveDomainTimeShiftDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +std::string DescribeLiveDomainTimeShiftDataRequest::getInterval() const { + return interval_; +} + +void DescribeLiveDomainTimeShiftDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } diff --git a/live/src/model/DescribeLiveDomainTimeShiftDataResult.cc b/live/src/model/DescribeLiveDomainTimeShiftDataResult.cc index 68ea85899..9c0d964c2 100644 --- a/live/src/model/DescribeLiveDomainTimeShiftDataResult.cc +++ b/live/src/model/DescribeLiveDomainTimeShiftDataResult.cc @@ -43,12 +43,12 @@ void DescribeLiveDomainTimeShiftDataResult::parse(const std::string &payload) for (auto valueTimeShiftDataDataModule : allTimeShiftDataNode) { DataModule timeShiftDataObject; + if(!valueTimeShiftDataDataModule["Type"].isNull()) + timeShiftDataObject.type = valueTimeShiftDataDataModule["Type"].asString(); if(!valueTimeShiftDataDataModule["TimeStamp"].isNull()) timeShiftDataObject.timeStamp = valueTimeShiftDataDataModule["TimeStamp"].asString(); if(!valueTimeShiftDataDataModule["Size"].isNull()) timeShiftDataObject.size = valueTimeShiftDataDataModule["Size"].asString(); - if(!valueTimeShiftDataDataModule["Type"].isNull()) - timeShiftDataObject.type = valueTimeShiftDataDataModule["Type"].asString(); timeShiftData_.push_back(timeShiftDataObject); } diff --git a/live/src/model/DescribeLiveDomainTrafficDataRequest.cc b/live/src/model/DescribeLiveDomainTrafficDataRequest.cc index 54e09b162..b6e785300 100644 --- a/live/src/model/DescribeLiveDomainTrafficDataRequest.cc +++ b/live/src/model/DescribeLiveDomainTrafficDataRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainTrafficDataRequest; - -DescribeLiveDomainTrafficDataRequest::DescribeLiveDomainTrafficDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainTrafficData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainTrafficDataRequest::~DescribeLiveDomainTrafficDataRequest() -{} - -std::string DescribeLiveDomainTrafficDataRequest::getLocationNameEn()const -{ - return locationNameEn_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainTrafficDataRequest; + +DescribeLiveDomainTrafficDataRequest::DescribeLiveDomainTrafficDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainTrafficData") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDomainTrafficDataRequest::setLocationNameEn(const std::string& locationNameEn) -{ - locationNameEn_ = locationNameEn; - setParameter("LocationNameEn", locationNameEn); +DescribeLiveDomainTrafficDataRequest::~DescribeLiveDomainTrafficDataRequest() {} + +std::string DescribeLiveDomainTrafficDataRequest::getLocationNameEn() const { + return locationNameEn_; } -std::string DescribeLiveDomainTrafficDataRequest::getStartTime()const -{ - return startTime_; +void DescribeLiveDomainTrafficDataRequest::setLocationNameEn(const std::string &locationNameEn) { + locationNameEn_ = locationNameEn; + setParameter(std::string("LocationNameEn"), locationNameEn); } -void DescribeLiveDomainTrafficDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeLiveDomainTrafficDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveDomainTrafficDataRequest::getIspNameEn()const -{ - return ispNameEn_; +void DescribeLiveDomainTrafficDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveDomainTrafficDataRequest::setIspNameEn(const std::string& ispNameEn) -{ - ispNameEn_ = ispNameEn; - setParameter("IspNameEn", ispNameEn); +std::string DescribeLiveDomainTrafficDataRequest::getIspNameEn() const { + return ispNameEn_; } -std::string DescribeLiveDomainTrafficDataRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDomainTrafficDataRequest::setIspNameEn(const std::string &ispNameEn) { + ispNameEn_ = ispNameEn; + setParameter(std::string("IspNameEn"), ispNameEn); } -void DescribeLiveDomainTrafficDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDomainTrafficDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveDomainTrafficDataRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveDomainTrafficDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainTrafficDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveDomainTrafficDataRequest::getEndTime() const { + return endTime_; } -long DescribeLiveDomainTrafficDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainTrafficDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveDomainTrafficDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDomainTrafficDataRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeLiveDomainTrafficDataRequest::getInterval()const -{ - return interval_; +void DescribeLiveDomainTrafficDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeLiveDomainTrafficDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +std::string DescribeLiveDomainTrafficDataRequest::getInterval() const { + return interval_; +} + +void DescribeLiveDomainTrafficDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } diff --git a/live/src/model/DescribeLiveDomainTrafficDataResult.cc b/live/src/model/DescribeLiveDomainTrafficDataResult.cc index 991a3fd2e..3138f4d1a 100644 --- a/live/src/model/DescribeLiveDomainTrafficDataResult.cc +++ b/live/src/model/DescribeLiveDomainTrafficDataResult.cc @@ -43,22 +43,22 @@ void DescribeLiveDomainTrafficDataResult::parse(const std::string &payload) for (auto valueTrafficDataPerIntervalDataModule : allTrafficDataPerIntervalNode) { DataModule trafficDataPerIntervalObject; - if(!valueTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) - trafficDataPerIntervalObject.timeStamp = valueTrafficDataPerIntervalDataModule["TimeStamp"].asString(); if(!valueTrafficDataPerIntervalDataModule["TrafficValue"].isNull()) trafficDataPerIntervalObject.trafficValue = valueTrafficDataPerIntervalDataModule["TrafficValue"].asString(); if(!valueTrafficDataPerIntervalDataModule["HttpTrafficValue"].isNull()) trafficDataPerIntervalObject.httpTrafficValue = valueTrafficDataPerIntervalDataModule["HttpTrafficValue"].asString(); + if(!valueTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) + trafficDataPerIntervalObject.timeStamp = valueTrafficDataPerIntervalDataModule["TimeStamp"].asString(); if(!valueTrafficDataPerIntervalDataModule["HttpsTrafficValue"].isNull()) trafficDataPerIntervalObject.httpsTrafficValue = valueTrafficDataPerIntervalDataModule["HttpsTrafficValue"].asString(); trafficDataPerInterval_.push_back(trafficDataPerIntervalObject); } - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); if(!value["EndTime"].isNull()) endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/live/src/model/DescribeLiveDomainTranscodeDataRequest.cc b/live/src/model/DescribeLiveDomainTranscodeDataRequest.cc index 4ae5cfb94..e035d7793 100644 --- a/live/src/model/DescribeLiveDomainTranscodeDataRequest.cc +++ b/live/src/model/DescribeLiveDomainTranscodeDataRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#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_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainTranscodeDataRequest; + +DescribeLiveDomainTranscodeDataRequest::DescribeLiveDomainTranscodeDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainTranscodeData") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDomainTranscodeDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeLiveDomainTranscodeDataRequest::~DescribeLiveDomainTranscodeDataRequest() {} + +std::string DescribeLiveDomainTranscodeDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveDomainTranscodeDataRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDomainTranscodeDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveDomainTranscodeDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDomainTranscodeDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveDomainTranscodeDataRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveDomainTranscodeDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDomainTranscodeDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveDomainTranscodeDataRequest::getEndTime() const { + return endTime_; } -long DescribeLiveDomainTranscodeDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDomainTranscodeDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveDomainTranscodeDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +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/DescribeLiveDrmUsageDataRequest.cc b/live/src/model/DescribeLiveDrmUsageDataRequest.cc index 24d1ccb47..6edcb4648 100644 --- a/live/src/model/DescribeLiveDrmUsageDataRequest.cc +++ b/live/src/model/DescribeLiveDrmUsageDataRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDrmUsageDataRequest; - -DescribeLiveDrmUsageDataRequest::DescribeLiveDrmUsageDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveDrmUsageData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDrmUsageDataRequest::~DescribeLiveDrmUsageDataRequest() -{} - -std::string DescribeLiveDrmUsageDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDrmUsageDataRequest; + +DescribeLiveDrmUsageDataRequest::DescribeLiveDrmUsageDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDrmUsageData") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveDrmUsageDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeLiveDrmUsageDataRequest::~DescribeLiveDrmUsageDataRequest() {} + +std::string DescribeLiveDrmUsageDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveDrmUsageDataRequest::getSplitBy()const -{ - return splitBy_; +void DescribeLiveDrmUsageDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveDrmUsageDataRequest::setSplitBy(const std::string& splitBy) -{ - splitBy_ = splitBy; - setParameter("SplitBy", splitBy); +std::string DescribeLiveDrmUsageDataRequest::getSplitBy() const { + return splitBy_; } -std::string DescribeLiveDrmUsageDataRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveDrmUsageDataRequest::setSplitBy(const std::string &splitBy) { + splitBy_ = splitBy; + setParameter(std::string("SplitBy"), splitBy); } -void DescribeLiveDrmUsageDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveDrmUsageDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveDrmUsageDataRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveDrmUsageDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveDrmUsageDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveDrmUsageDataRequest::getEndTime() const { + return endTime_; } -long DescribeLiveDrmUsageDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveDrmUsageDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveDrmUsageDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveDrmUsageDataRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeLiveDrmUsageDataRequest::getInterval()const -{ - return interval_; +void DescribeLiveDrmUsageDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeLiveDrmUsageDataRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +std::string DescribeLiveDrmUsageDataRequest::getInterval() const { + return interval_; +} + +void DescribeLiveDrmUsageDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } diff --git a/live/src/model/DescribeLiveDrmUsageDataResult.cc b/live/src/model/DescribeLiveDrmUsageDataResult.cc index 06b203dca..65063182d 100644 --- a/live/src/model/DescribeLiveDrmUsageDataResult.cc +++ b/live/src/model/DescribeLiveDrmUsageDataResult.cc @@ -43,16 +43,16 @@ void DescribeLiveDrmUsageDataResult::parse(const std::string &payload) for (auto valueDrmUsageDataDataModule : allDrmUsageDataNode) { DataModule drmUsageDataObject; - if(!valueDrmUsageDataDataModule["TimeStamp"].isNull()) - drmUsageDataObject.timeStamp = valueDrmUsageDataDataModule["TimeStamp"].asString(); if(!valueDrmUsageDataDataModule["Domain"].isNull()) drmUsageDataObject.domain = valueDrmUsageDataDataModule["Domain"].asString(); - if(!valueDrmUsageDataDataModule["Region"].isNull()) - drmUsageDataObject.region = valueDrmUsageDataDataModule["Region"].asString(); - if(!valueDrmUsageDataDataModule["DrmType"].isNull()) - drmUsageDataObject.drmType = valueDrmUsageDataDataModule["DrmType"].asString(); + if(!valueDrmUsageDataDataModule["TimeStamp"].isNull()) + drmUsageDataObject.timeStamp = valueDrmUsageDataDataModule["TimeStamp"].asString(); if(!valueDrmUsageDataDataModule["Count"].isNull()) drmUsageDataObject.count = std::stol(valueDrmUsageDataDataModule["Count"].asString()); + if(!valueDrmUsageDataDataModule["DrmType"].isNull()) + drmUsageDataObject.drmType = valueDrmUsageDataDataModule["DrmType"].asString(); + if(!valueDrmUsageDataDataModule["Region"].isNull()) + drmUsageDataObject.region = valueDrmUsageDataDataModule["Region"].asString(); drmUsageData_.push_back(drmUsageDataObject); } diff --git a/live/src/model/DescribeLiveEdgeTransferRequest.cc b/live/src/model/DescribeLiveEdgeTransferRequest.cc index 20914589b..0366837bc 100644 --- a/live/src/model/DescribeLiveEdgeTransferRequest.cc +++ b/live/src/model/DescribeLiveEdgeTransferRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveEdgeTransferRequest; - -DescribeLiveEdgeTransferRequest::DescribeLiveEdgeTransferRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveEdgeTransfer") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveEdgeTransferRequest::~DescribeLiveEdgeTransferRequest() -{} - -std::string DescribeLiveEdgeTransferRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveEdgeTransferRequest; + +DescribeLiveEdgeTransferRequest::DescribeLiveEdgeTransferRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveEdgeTransfer") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveEdgeTransferRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DescribeLiveEdgeTransferRequest::~DescribeLiveEdgeTransferRequest() {} + +std::string DescribeLiveEdgeTransferRequest::getDomainName() const { + return domainName_; } -long DescribeLiveEdgeTransferRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveEdgeTransferRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveEdgeTransferRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveEdgeTransferRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveEdgeTransferRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveEdgeTransferResult.cc b/live/src/model/DescribeLiveEdgeTransferResult.cc index 71a945c1c..8946db955 100644 --- a/live/src/model/DescribeLiveEdgeTransferResult.cc +++ b/live/src/model/DescribeLiveEdgeTransferResult.cc @@ -39,18 +39,18 @@ void DescribeLiveEdgeTransferResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); + if(!value["HttpDns"].isNull()) + httpDns_ = value["HttpDns"].asString(); if(!value["AppName"].isNull()) appName_ = value["AppName"].asString(); + if(!value["TransferArgs"].isNull()) + transferArgs_ = value["TransferArgs"].asString(); if(!value["StreamName"].isNull()) streamName_ = value["StreamName"].asString(); if(!value["TargetDomainList"].isNull()) targetDomainList_ = value["TargetDomainList"].asString(); - if(!value["TransferArgs"].isNull()) - transferArgs_ = value["TransferArgs"].asString(); - if(!value["HttpDns"].isNull()) - httpDns_ = value["HttpDns"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); } diff --git a/live/src/model/DescribeLiveLazyPullStreamConfigRequest.cc b/live/src/model/DescribeLiveLazyPullStreamConfigRequest.cc index fc2eab163..2c8509123 100644 --- a/live/src/model/DescribeLiveLazyPullStreamConfigRequest.cc +++ b/live/src/model/DescribeLiveLazyPullStreamConfigRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveLazyPullStreamConfigRequest; - -DescribeLiveLazyPullStreamConfigRequest::DescribeLiveLazyPullStreamConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveLazyPullStreamConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveLazyPullStreamConfigRequest::~DescribeLiveLazyPullStreamConfigRequest() -{} - -std::string DescribeLiveLazyPullStreamConfigRequest::getAppName()const -{ - return appName_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveLazyPullStreamConfigRequest; + +DescribeLiveLazyPullStreamConfigRequest::DescribeLiveLazyPullStreamConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveLazyPullStreamConfig") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveLazyPullStreamConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +DescribeLiveLazyPullStreamConfigRequest::~DescribeLiveLazyPullStreamConfigRequest() {} + +std::string DescribeLiveLazyPullStreamConfigRequest::getAppName() const { + return appName_; } -std::string DescribeLiveLazyPullStreamConfigRequest::getLiveapiRequestFrom()const -{ - return liveapiRequestFrom_; +void DescribeLiveLazyPullStreamConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DescribeLiveLazyPullStreamConfigRequest::setLiveapiRequestFrom(const std::string& liveapiRequestFrom) -{ - liveapiRequestFrom_ = liveapiRequestFrom; - setParameter("LiveapiRequestFrom", liveapiRequestFrom); +std::string DescribeLiveLazyPullStreamConfigRequest::getLiveapiRequestFrom() const { + return liveapiRequestFrom_; } -std::string DescribeLiveLazyPullStreamConfigRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveLazyPullStreamConfigRequest::setLiveapiRequestFrom(const std::string &liveapiRequestFrom) { + liveapiRequestFrom_ = liveapiRequestFrom; + setParameter(std::string("LiveapiRequestFrom"), liveapiRequestFrom); } -void DescribeLiveLazyPullStreamConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveLazyPullStreamConfigRequest::getDomainName() const { + return domainName_; } -long DescribeLiveLazyPullStreamConfigRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveLazyPullStreamConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveLazyPullStreamConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveLazyPullStreamConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveLazyPullStreamConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveLazyPullStreamConfigResult.cc b/live/src/model/DescribeLiveLazyPullStreamConfigResult.cc index 99f76374d..70ce58e26 100644 --- a/live/src/model/DescribeLiveLazyPullStreamConfigResult.cc +++ b/live/src/model/DescribeLiveLazyPullStreamConfigResult.cc @@ -43,22 +43,22 @@ void DescribeLiveLazyPullStreamConfigResult::parse(const std::string &payload) for (auto valueLiveLazyPullConfigListLiveLazyPullConfig : allLiveLazyPullConfigListNode) { LiveLazyPullConfig liveLazyPullConfigListObject; - if(!valueLiveLazyPullConfigListLiveLazyPullConfig["DomainName"].isNull()) - liveLazyPullConfigListObject.domainName = valueLiveLazyPullConfigListLiveLazyPullConfig["DomainName"].asString(); if(!valueLiveLazyPullConfigListLiveLazyPullConfig["AppName"].isNull()) liveLazyPullConfigListObject.appName = valueLiveLazyPullConfigListLiveLazyPullConfig["AppName"].asString(); - if(!valueLiveLazyPullConfigListLiveLazyPullConfig["PullDomainName"].isNull()) - liveLazyPullConfigListObject.pullDomainName = valueLiveLazyPullConfigListLiveLazyPullConfig["PullDomainName"].asString(); + if(!valueLiveLazyPullConfigListLiveLazyPullConfig["PullArgs"].isNull()) + liveLazyPullConfigListObject.pullArgs = valueLiveLazyPullConfigListLiveLazyPullConfig["PullArgs"].asString(); if(!valueLiveLazyPullConfigListLiveLazyPullConfig["PullAppName"].isNull()) liveLazyPullConfigListObject.pullAppName = valueLiveLazyPullConfigListLiveLazyPullConfig["PullAppName"].asString(); if(!valueLiveLazyPullConfigListLiveLazyPullConfig["PullProtocol"].isNull()) liveLazyPullConfigListObject.pullProtocol = valueLiveLazyPullConfigListLiveLazyPullConfig["PullProtocol"].asString(); - if(!valueLiveLazyPullConfigListLiveLazyPullConfig["PullAuthType"].isNull()) - liveLazyPullConfigListObject.pullAuthType = valueLiveLazyPullConfigListLiveLazyPullConfig["PullAuthType"].asString(); if(!valueLiveLazyPullConfigListLiveLazyPullConfig["PullAuthKey"].isNull()) liveLazyPullConfigListObject.pullAuthKey = valueLiveLazyPullConfigListLiveLazyPullConfig["PullAuthKey"].asString(); - if(!valueLiveLazyPullConfigListLiveLazyPullConfig["PullArgs"].isNull()) - liveLazyPullConfigListObject.pullArgs = valueLiveLazyPullConfigListLiveLazyPullConfig["PullArgs"].asString(); + if(!valueLiveLazyPullConfigListLiveLazyPullConfig["PullDomainName"].isNull()) + liveLazyPullConfigListObject.pullDomainName = valueLiveLazyPullConfigListLiveLazyPullConfig["PullDomainName"].asString(); + if(!valueLiveLazyPullConfigListLiveLazyPullConfig["DomainName"].isNull()) + liveLazyPullConfigListObject.domainName = valueLiveLazyPullConfigListLiveLazyPullConfig["DomainName"].asString(); + if(!valueLiveLazyPullConfigListLiveLazyPullConfig["PullAuthType"].isNull()) + liveLazyPullConfigListObject.pullAuthType = valueLiveLazyPullConfigListLiveLazyPullConfig["PullAuthType"].asString(); liveLazyPullConfigList_.push_back(liveLazyPullConfigListObject); } diff --git a/live/src/model/DescribeLiveProducerUsageDataRequest.cc b/live/src/model/DescribeLiveProducerUsageDataRequest.cc new file mode 100644 index 000000000..352b22bcd --- /dev/null +++ b/live/src/model/DescribeLiveProducerUsageDataRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveProducerUsageDataRequest; + +DescribeLiveProducerUsageDataRequest::DescribeLiveProducerUsageDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveProducerUsageData") { + setMethod(HttpRequest::Method::Post); +} + +DescribeLiveProducerUsageDataRequest::~DescribeLiveProducerUsageDataRequest() {} + +std::string DescribeLiveProducerUsageDataRequest::getInstance() const { + return instance_; +} + +void DescribeLiveProducerUsageDataRequest::setInstance(const std::string &instance) { + instance_ = instance; + setParameter(std::string("Instance"), instance); +} + +std::string DescribeLiveProducerUsageDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeLiveProducerUsageDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeLiveProducerUsageDataRequest::getType() const { + return type_; +} + +void DescribeLiveProducerUsageDataRequest::setType(const std::string &type) { + type_ = type; + setParameter(std::string("Type"), type); +} + +std::string DescribeLiveProducerUsageDataRequest::getSplitBy() const { + return splitBy_; +} + +void DescribeLiveProducerUsageDataRequest::setSplitBy(const std::string &splitBy) { + splitBy_ = splitBy; + setParameter(std::string("SplitBy"), splitBy); +} + +std::string DescribeLiveProducerUsageDataRequest::getApp() const { + return app_; +} + +void DescribeLiveProducerUsageDataRequest::setApp(const std::string &app) { + app_ = app; + setParameter(std::string("app"), app); +} + +std::string DescribeLiveProducerUsageDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeLiveProducerUsageDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeLiveProducerUsageDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeLiveProducerUsageDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeLiveProducerUsageDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveProducerUsageDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeLiveProducerUsageDataRequest::getInterval() const { + return interval_; +} + +void DescribeLiveProducerUsageDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); +} + +std::string DescribeLiveProducerUsageDataRequest::getRegion() const { + return region_; +} + +void DescribeLiveProducerUsageDataRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); +} + diff --git a/live/src/model/DescribeLiveProducerUsageDataResult.cc b/live/src/model/DescribeLiveProducerUsageDataResult.cc new file mode 100644 index 000000000..6453c15a5 --- /dev/null +++ b/live/src/model/DescribeLiveProducerUsageDataResult.cc @@ -0,0 +1,91 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveProducerUsageDataResult::DescribeLiveProducerUsageDataResult() : + ServiceResult() +{} + +DescribeLiveProducerUsageDataResult::DescribeLiveProducerUsageDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveProducerUsageDataResult::~DescribeLiveProducerUsageDataResult() +{} + +void DescribeLiveProducerUsageDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allBillProducerDataNode = value["BillProducerData"]["BillProducerDataItem"]; + for (auto valueBillProducerDataBillProducerDataItem : allBillProducerDataNode) + { + BillProducerDataItem billProducerDataObject; + if(!valueBillProducerDataBillProducerDataItem["TranSdDuration"].isNull()) + billProducerDataObject.tranSdDuration = std::stol(valueBillProducerDataBillProducerDataItem["TranSdDuration"].asString()); + if(!valueBillProducerDataBillProducerDataItem["Type"].isNull()) + billProducerDataObject.type = valueBillProducerDataBillProducerDataItem["Type"].asString(); + if(!valueBillProducerDataBillProducerDataItem["TranLdDuration"].isNull()) + billProducerDataObject.tranLdDuration = std::stol(valueBillProducerDataBillProducerDataItem["TranLdDuration"].asString()); + if(!valueBillProducerDataBillProducerDataItem["Instance"].isNull()) + billProducerDataObject.instance = valueBillProducerDataBillProducerDataItem["Instance"].asString(); + if(!valueBillProducerDataBillProducerDataItem["TranHdDuration"].isNull()) + billProducerDataObject.tranHdDuration = std::stol(valueBillProducerDataBillProducerDataItem["TranHdDuration"].asString()); + if(!valueBillProducerDataBillProducerDataItem["Region"].isNull()) + billProducerDataObject.region = valueBillProducerDataBillProducerDataItem["Region"].asString(); + if(!valueBillProducerDataBillProducerDataItem["TimeStamp"].isNull()) + billProducerDataObject.timeStamp = valueBillProducerDataBillProducerDataItem["TimeStamp"].asString(); + if(!valueBillProducerDataBillProducerDataItem["OutputHdDuration"].isNull()) + billProducerDataObject.outputHdDuration = std::stol(valueBillProducerDataBillProducerDataItem["OutputHdDuration"].asString()); + if(!valueBillProducerDataBillProducerDataItem["OutputSdDuration"].isNull()) + billProducerDataObject.outputSdDuration = std::stol(valueBillProducerDataBillProducerDataItem["OutputSdDuration"].asString()); + if(!valueBillProducerDataBillProducerDataItem["DomainName"].isNull()) + billProducerDataObject.domainName = valueBillProducerDataBillProducerDataItem["DomainName"].asString(); + if(!valueBillProducerDataBillProducerDataItem["OutputLdDuration"].isNull()) + billProducerDataObject.outputLdDuration = std::stol(valueBillProducerDataBillProducerDataItem["OutputLdDuration"].asString()); + billProducerData_.push_back(billProducerDataObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + +} + +std::vector DescribeLiveProducerUsageDataResult::getBillProducerData()const +{ + return billProducerData_; +} + +std::string DescribeLiveProducerUsageDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeLiveProducerUsageDataResult::getStartTime()const +{ + return startTime_; +} + diff --git a/live/src/model/DescribeLivePullStreamConfigRequest.cc b/live/src/model/DescribeLivePullStreamConfigRequest.cc index 496179194..f110207e7 100644 --- a/live/src/model/DescribeLivePullStreamConfigRequest.cc +++ b/live/src/model/DescribeLivePullStreamConfigRequest.cc @@ -1,62 +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::DescribeLivePullStreamConfigRequest; - -DescribeLivePullStreamConfigRequest::DescribeLivePullStreamConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLivePullStreamConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLivePullStreamConfigRequest::~DescribeLivePullStreamConfigRequest() -{} - -std::string DescribeLivePullStreamConfigRequest::getLiveapiRequestFrom()const -{ - return liveapiRequestFrom_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLivePullStreamConfigRequest; + +DescribeLivePullStreamConfigRequest::DescribeLivePullStreamConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLivePullStreamConfig") { + setMethod(HttpRequest::Method::Post); } -void DescribeLivePullStreamConfigRequest::setLiveapiRequestFrom(const std::string& liveapiRequestFrom) -{ - liveapiRequestFrom_ = liveapiRequestFrom; - setParameter("LiveapiRequestFrom", liveapiRequestFrom); +DescribeLivePullStreamConfigRequest::~DescribeLivePullStreamConfigRequest() {} + +std::string DescribeLivePullStreamConfigRequest::getLiveapiRequestFrom() const { + return liveapiRequestFrom_; } -std::string DescribeLivePullStreamConfigRequest::getDomainName()const -{ - return domainName_; +void DescribeLivePullStreamConfigRequest::setLiveapiRequestFrom(const std::string &liveapiRequestFrom) { + liveapiRequestFrom_ = liveapiRequestFrom; + setParameter(std::string("LiveapiRequestFrom"), liveapiRequestFrom); } -void DescribeLivePullStreamConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLivePullStreamConfigRequest::getDomainName() const { + return domainName_; } -long DescribeLivePullStreamConfigRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLivePullStreamConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLivePullStreamConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLivePullStreamConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLivePullStreamConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLivePullStreamConfigResult.cc b/live/src/model/DescribeLivePullStreamConfigResult.cc index fc7b30cd9..7617219eb 100644 --- a/live/src/model/DescribeLivePullStreamConfigResult.cc +++ b/live/src/model/DescribeLivePullStreamConfigResult.cc @@ -43,22 +43,22 @@ void DescribeLivePullStreamConfigResult::parse(const std::string &payload) for (auto valueLiveAppRecordListLiveAppRecord : allLiveAppRecordListNode) { LiveAppRecord liveAppRecordListObject; - if(!valueLiveAppRecordListLiveAppRecord["DomainName"].isNull()) - liveAppRecordListObject.domainName = valueLiveAppRecordListLiveAppRecord["DomainName"].asString(); - if(!valueLiveAppRecordListLiveAppRecord["AppName"].isNull()) - liveAppRecordListObject.appName = valueLiveAppRecordListLiveAppRecord["AppName"].asString(); - if(!valueLiveAppRecordListLiveAppRecord["StreamName"].isNull()) - liveAppRecordListObject.streamName = valueLiveAppRecordListLiveAppRecord["StreamName"].asString(); - if(!valueLiveAppRecordListLiveAppRecord["SourceUrl"].isNull()) - liveAppRecordListObject.sourceUrl = valueLiveAppRecordListLiveAppRecord["SourceUrl"].asString(); - if(!valueLiveAppRecordListLiveAppRecord["SourceUsing"].isNull()) - liveAppRecordListObject.sourceUsing = valueLiveAppRecordListLiveAppRecord["SourceUsing"].asString(); - if(!valueLiveAppRecordListLiveAppRecord["StartTime"].isNull()) - liveAppRecordListObject.startTime = valueLiveAppRecordListLiveAppRecord["StartTime"].asString(); if(!valueLiveAppRecordListLiveAppRecord["EndTime"].isNull()) liveAppRecordListObject.endTime = valueLiveAppRecordListLiveAppRecord["EndTime"].asString(); + if(!valueLiveAppRecordListLiveAppRecord["AppName"].isNull()) + liveAppRecordListObject.appName = valueLiveAppRecordListLiveAppRecord["AppName"].asString(); + if(!valueLiveAppRecordListLiveAppRecord["SourceUrl"].isNull()) + liveAppRecordListObject.sourceUrl = valueLiveAppRecordListLiveAppRecord["SourceUrl"].asString(); + if(!valueLiveAppRecordListLiveAppRecord["StartTime"].isNull()) + liveAppRecordListObject.startTime = valueLiveAppRecordListLiveAppRecord["StartTime"].asString(); if(!valueLiveAppRecordListLiveAppRecord["Always"].isNull()) liveAppRecordListObject.always = valueLiveAppRecordListLiveAppRecord["Always"].asString(); + if(!valueLiveAppRecordListLiveAppRecord["StreamName"].isNull()) + liveAppRecordListObject.streamName = valueLiveAppRecordListLiveAppRecord["StreamName"].asString(); + if(!valueLiveAppRecordListLiveAppRecord["SourceUsing"].isNull()) + liveAppRecordListObject.sourceUsing = valueLiveAppRecordListLiveAppRecord["SourceUsing"].asString(); + if(!valueLiveAppRecordListLiveAppRecord["DomainName"].isNull()) + liveAppRecordListObject.domainName = valueLiveAppRecordListLiveAppRecord["DomainName"].asString(); liveAppRecordList_.push_back(liveAppRecordListObject); } diff --git a/live/src/model/DescribeLiveRealtimeDeliveryAccRequest.cc b/live/src/model/DescribeLiveRealtimeDeliveryAccRequest.cc index 30585bd14..df0542dbc 100644 --- a/live/src/model/DescribeLiveRealtimeDeliveryAccRequest.cc +++ b/live/src/model/DescribeLiveRealtimeDeliveryAccRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveRealtimeDeliveryAccRequest; - -DescribeLiveRealtimeDeliveryAccRequest::DescribeLiveRealtimeDeliveryAccRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveRealtimeDeliveryAcc") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveRealtimeDeliveryAccRequest::~DescribeLiveRealtimeDeliveryAccRequest() -{} - -std::string DescribeLiveRealtimeDeliveryAccRequest::getProject()const -{ - return project_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveRealtimeDeliveryAccRequest; + +DescribeLiveRealtimeDeliveryAccRequest::DescribeLiveRealtimeDeliveryAccRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveRealtimeDeliveryAcc") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveRealtimeDeliveryAccRequest::setProject(const std::string& project) -{ - project_ = project; - setParameter("Project", project); +DescribeLiveRealtimeDeliveryAccRequest::~DescribeLiveRealtimeDeliveryAccRequest() {} + +std::string DescribeLiveRealtimeDeliveryAccRequest::getProject() const { + return project_; } -std::string DescribeLiveRealtimeDeliveryAccRequest::getStartTime()const -{ - return startTime_; +void DescribeLiveRealtimeDeliveryAccRequest::setProject(const std::string &project) { + project_ = project; + setParameter(std::string("Project"), project); } -void DescribeLiveRealtimeDeliveryAccRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeLiveRealtimeDeliveryAccRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveRealtimeDeliveryAccRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveRealtimeDeliveryAccRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveRealtimeDeliveryAccRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveRealtimeDeliveryAccRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveRealtimeDeliveryAccRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveRealtimeDeliveryAccRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveRealtimeDeliveryAccRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveRealtimeDeliveryAccRequest::getEndTime() const { + return endTime_; } -long DescribeLiveRealtimeDeliveryAccRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveRealtimeDeliveryAccRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveRealtimeDeliveryAccRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveRealtimeDeliveryAccRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeLiveRealtimeDeliveryAccRequest::getInterval()const -{ - return interval_; +void DescribeLiveRealtimeDeliveryAccRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeLiveRealtimeDeliveryAccRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +std::string DescribeLiveRealtimeDeliveryAccRequest::getInterval() const { + return interval_; } -std::string DescribeLiveRealtimeDeliveryAccRequest::getLogStore()const -{ - return logStore_; +void DescribeLiveRealtimeDeliveryAccRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } -void DescribeLiveRealtimeDeliveryAccRequest::setLogStore(const std::string& logStore) -{ - logStore_ = logStore; - setParameter("LogStore", logStore); +std::string DescribeLiveRealtimeDeliveryAccRequest::getLogStore() const { + return logStore_; +} + +void DescribeLiveRealtimeDeliveryAccRequest::setLogStore(const std::string &logStore) { + logStore_ = logStore; + setParameter(std::string("LogStore"), logStore); } diff --git a/live/src/model/DescribeLiveRealtimeDeliveryAccResult.cc b/live/src/model/DescribeLiveRealtimeDeliveryAccResult.cc index 932e05060..824c381e3 100644 --- a/live/src/model/DescribeLiveRealtimeDeliveryAccResult.cc +++ b/live/src/model/DescribeLiveRealtimeDeliveryAccResult.cc @@ -45,10 +45,10 @@ void DescribeLiveRealtimeDeliveryAccResult::parse(const std::string &payload) AccData realTimeDeliveryAccDataObject; if(!valueRealTimeDeliveryAccDataAccData["TimeStamp"].isNull()) realTimeDeliveryAccDataObject.timeStamp = valueRealTimeDeliveryAccDataAccData["TimeStamp"].asString(); - if(!valueRealTimeDeliveryAccDataAccData["SuccessNum"].isNull()) - realTimeDeliveryAccDataObject.successNum = std::stoi(valueRealTimeDeliveryAccDataAccData["SuccessNum"].asString()); if(!valueRealTimeDeliveryAccDataAccData["FailedNum"].isNull()) realTimeDeliveryAccDataObject.failedNum = std::stoi(valueRealTimeDeliveryAccDataAccData["FailedNum"].asString()); + if(!valueRealTimeDeliveryAccDataAccData["SuccessNum"].isNull()) + realTimeDeliveryAccDataObject.successNum = std::stoi(valueRealTimeDeliveryAccDataAccData["SuccessNum"].asString()); realTimeDeliveryAccData_.push_back(realTimeDeliveryAccDataObject); } diff --git a/live/src/model/DescribeLiveRealtimeLogAuthorizedRequest.cc b/live/src/model/DescribeLiveRealtimeLogAuthorizedRequest.cc index 9b72ff4db..149f4dc00 100644 --- a/live/src/model/DescribeLiveRealtimeLogAuthorizedRequest.cc +++ b/live/src/model/DescribeLiveRealtimeLogAuthorizedRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveRealtimeLogAuthorizedRequest; - -DescribeLiveRealtimeLogAuthorizedRequest::DescribeLiveRealtimeLogAuthorizedRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveRealtimeLogAuthorized") -{ - setMethod(HttpRequest::Method::Get); -} - -DescribeLiveRealtimeLogAuthorizedRequest::~DescribeLiveRealtimeLogAuthorizedRequest() -{} - -long DescribeLiveRealtimeLogAuthorizedRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveRealtimeLogAuthorizedRequest; + +DescribeLiveRealtimeLogAuthorizedRequest::DescribeLiveRealtimeLogAuthorizedRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveRealtimeLogAuthorized") { + setMethod(HttpRequest::Method::Get); } -void DescribeLiveRealtimeLogAuthorizedRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +DescribeLiveRealtimeLogAuthorizedRequest::~DescribeLiveRealtimeLogAuthorizedRequest() {} + +long DescribeLiveRealtimeLogAuthorizedRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeLiveRealtimeLogAuthorizedRequest::getLiveOpenapiReserve()const -{ - return liveOpenapiReserve_; +void DescribeLiveRealtimeLogAuthorizedRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeLiveRealtimeLogAuthorizedRequest::setLiveOpenapiReserve(const std::string& liveOpenapiReserve) -{ - liveOpenapiReserve_ = liveOpenapiReserve; - setParameter("LiveOpenapiReserve", liveOpenapiReserve); +std::string DescribeLiveRealtimeLogAuthorizedRequest::getLiveOpenapiReserve() const { + return liveOpenapiReserve_; +} + +void DescribeLiveRealtimeLogAuthorizedRequest::setLiveOpenapiReserve(const std::string &liveOpenapiReserve) { + liveOpenapiReserve_ = liveOpenapiReserve; + setParameter(std::string("LiveOpenapiReserve"), liveOpenapiReserve); } diff --git a/live/src/model/DescribeLiveRecordConfigRequest.cc b/live/src/model/DescribeLiveRecordConfigRequest.cc index 5519962e9..86a5ddbbb 100644 --- a/live/src/model/DescribeLiveRecordConfigRequest.cc +++ b/live/src/model/DescribeLiveRecordConfigRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveRecordConfigRequest; - -DescribeLiveRecordConfigRequest::DescribeLiveRecordConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveRecordConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveRecordConfigRequest::~DescribeLiveRecordConfigRequest() -{} - -int DescribeLiveRecordConfigRequest::getPageNum()const -{ - return pageNum_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveRecordConfigRequest; + +DescribeLiveRecordConfigRequest::DescribeLiveRecordConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveRecordConfig") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveRecordConfigRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); +DescribeLiveRecordConfigRequest::~DescribeLiveRecordConfigRequest() {} + +int DescribeLiveRecordConfigRequest::getPageNum() const { + return pageNum_; } -std::string DescribeLiveRecordConfigRequest::getAppName()const -{ - return appName_; +void DescribeLiveRecordConfigRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setParameter(std::string("PageNum"), std::to_string(pageNum)); } -void DescribeLiveRecordConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string DescribeLiveRecordConfigRequest::getAppName() const { + return appName_; } -std::string DescribeLiveRecordConfigRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeLiveRecordConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DescribeLiveRecordConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeLiveRecordConfigRequest::getSecurityToken() const { + return securityToken_; } -int DescribeLiveRecordConfigRequest::getPageSize()const -{ - return pageSize_; +void DescribeLiveRecordConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeLiveRecordConfigRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int DescribeLiveRecordConfigRequest::getPageSize() const { + return pageSize_; } -std::string DescribeLiveRecordConfigRequest::getStreamName()const -{ - return streamName_; +void DescribeLiveRecordConfigRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeLiveRecordConfigRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string DescribeLiveRecordConfigRequest::getStreamName() const { + return streamName_; } -std::string DescribeLiveRecordConfigRequest::getOrder()const -{ - return order_; +void DescribeLiveRecordConfigRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void DescribeLiveRecordConfigRequest::setOrder(const std::string& order) -{ - order_ = order; - setParameter("Order", order); +std::string DescribeLiveRecordConfigRequest::getOrder() const { + return order_; } -std::string DescribeLiveRecordConfigRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveRecordConfigRequest::setOrder(const std::string &order) { + order_ = order; + setParameter(std::string("Order"), order); } -void DescribeLiveRecordConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveRecordConfigRequest::getDomainName() const { + return domainName_; } -long DescribeLiveRecordConfigRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveRecordConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveRecordConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveRecordConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveRecordConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveRecordConfigResult.cc b/live/src/model/DescribeLiveRecordConfigResult.cc index ead6726e4..5f4ede875 100644 --- a/live/src/model/DescribeLiveRecordConfigResult.cc +++ b/live/src/model/DescribeLiveRecordConfigResult.cc @@ -43,54 +43,54 @@ void DescribeLiveRecordConfigResult::parse(const std::string &payload) for (auto valueLiveAppRecordListLiveAppRecord : allLiveAppRecordListNode) { LiveAppRecord liveAppRecordListObject; - if(!valueLiveAppRecordListLiveAppRecord["DomainName"].isNull()) - liveAppRecordListObject.domainName = valueLiveAppRecordListLiveAppRecord["DomainName"].asString(); + if(!valueLiveAppRecordListLiveAppRecord["EndTime"].isNull()) + liveAppRecordListObject.endTime = valueLiveAppRecordListLiveAppRecord["EndTime"].asString(); + if(!valueLiveAppRecordListLiveAppRecord["StartTime"].isNull()) + liveAppRecordListObject.startTime = valueLiveAppRecordListLiveAppRecord["StartTime"].asString(); if(!valueLiveAppRecordListLiveAppRecord["AppName"].isNull()) liveAppRecordListObject.appName = valueLiveAppRecordListLiveAppRecord["AppName"].asString(); if(!valueLiveAppRecordListLiveAppRecord["StreamName"].isNull()) liveAppRecordListObject.streamName = valueLiveAppRecordListLiveAppRecord["StreamName"].asString(); - if(!valueLiveAppRecordListLiveAppRecord["OssEndpoint"].isNull()) - liveAppRecordListObject.ossEndpoint = valueLiveAppRecordListLiveAppRecord["OssEndpoint"].asString(); - if(!valueLiveAppRecordListLiveAppRecord["OssBucket"].isNull()) - liveAppRecordListObject.ossBucket = valueLiveAppRecordListLiveAppRecord["OssBucket"].asString(); if(!valueLiveAppRecordListLiveAppRecord["CreateTime"].isNull()) liveAppRecordListObject.createTime = valueLiveAppRecordListLiveAppRecord["CreateTime"].asString(); - if(!valueLiveAppRecordListLiveAppRecord["StartTime"].isNull()) - liveAppRecordListObject.startTime = valueLiveAppRecordListLiveAppRecord["StartTime"].asString(); - if(!valueLiveAppRecordListLiveAppRecord["EndTime"].isNull()) - liveAppRecordListObject.endTime = valueLiveAppRecordListLiveAppRecord["EndTime"].asString(); if(!valueLiveAppRecordListLiveAppRecord["OnDemond"].isNull()) liveAppRecordListObject.onDemond = std::stoi(valueLiveAppRecordListLiveAppRecord["OnDemond"].asString()); + if(!valueLiveAppRecordListLiveAppRecord["OssBucket"].isNull()) + liveAppRecordListObject.ossBucket = valueLiveAppRecordListLiveAppRecord["OssBucket"].asString(); + if(!valueLiveAppRecordListLiveAppRecord["DomainName"].isNull()) + liveAppRecordListObject.domainName = valueLiveAppRecordListLiveAppRecord["DomainName"].asString(); + if(!valueLiveAppRecordListLiveAppRecord["OssEndpoint"].isNull()) + liveAppRecordListObject.ossEndpoint = valueLiveAppRecordListLiveAppRecord["OssEndpoint"].asString(); auto allRecordFormatListNode = valueLiveAppRecordListLiveAppRecord["RecordFormatList"]["RecordFormat"]; for (auto valueLiveAppRecordListLiveAppRecordRecordFormatListRecordFormat : allRecordFormatListNode) { LiveAppRecord::RecordFormat recordFormatListObject; - if(!valueLiveAppRecordListLiveAppRecordRecordFormatListRecordFormat["Format"].isNull()) - recordFormatListObject.format = valueLiveAppRecordListLiveAppRecordRecordFormatListRecordFormat["Format"].asString(); - if(!valueLiveAppRecordListLiveAppRecordRecordFormatListRecordFormat["OssObjectPrefix"].isNull()) - recordFormatListObject.ossObjectPrefix = valueLiveAppRecordListLiveAppRecordRecordFormatListRecordFormat["OssObjectPrefix"].asString(); - if(!valueLiveAppRecordListLiveAppRecordRecordFormatListRecordFormat["SliceOssObjectPrefix"].isNull()) - recordFormatListObject.sliceOssObjectPrefix = valueLiveAppRecordListLiveAppRecordRecordFormatListRecordFormat["SliceOssObjectPrefix"].asString(); - if(!valueLiveAppRecordListLiveAppRecordRecordFormatListRecordFormat["CycleDuration"].isNull()) - recordFormatListObject.cycleDuration = std::stoi(valueLiveAppRecordListLiveAppRecordRecordFormatListRecordFormat["CycleDuration"].asString()); if(!valueLiveAppRecordListLiveAppRecordRecordFormatListRecordFormat["SliceDuration"].isNull()) recordFormatListObject.sliceDuration = std::stoi(valueLiveAppRecordListLiveAppRecordRecordFormatListRecordFormat["SliceDuration"].asString()); + if(!valueLiveAppRecordListLiveAppRecordRecordFormatListRecordFormat["CycleDuration"].isNull()) + recordFormatListObject.cycleDuration = std::stoi(valueLiveAppRecordListLiveAppRecordRecordFormatListRecordFormat["CycleDuration"].asString()); + if(!valueLiveAppRecordListLiveAppRecordRecordFormatListRecordFormat["SliceOssObjectPrefix"].isNull()) + recordFormatListObject.sliceOssObjectPrefix = valueLiveAppRecordListLiveAppRecordRecordFormatListRecordFormat["SliceOssObjectPrefix"].asString(); + if(!valueLiveAppRecordListLiveAppRecordRecordFormatListRecordFormat["OssObjectPrefix"].isNull()) + recordFormatListObject.ossObjectPrefix = valueLiveAppRecordListLiveAppRecordRecordFormatListRecordFormat["OssObjectPrefix"].asString(); + if(!valueLiveAppRecordListLiveAppRecordRecordFormatListRecordFormat["Format"].isNull()) + recordFormatListObject.format = valueLiveAppRecordListLiveAppRecordRecordFormatListRecordFormat["Format"].asString(); liveAppRecordListObject.recordFormatList.push_back(recordFormatListObject); } auto allTranscodeRecordFormatListNode = valueLiveAppRecordListLiveAppRecord["TranscodeRecordFormatList"]["RecordFormat"]; for (auto valueLiveAppRecordListLiveAppRecordTranscodeRecordFormatListRecordFormat : allTranscodeRecordFormatListNode) { LiveAppRecord::RecordFormat transcodeRecordFormatListObject; - if(!valueLiveAppRecordListLiveAppRecordTranscodeRecordFormatListRecordFormat["Format"].isNull()) - transcodeRecordFormatListObject.format = valueLiveAppRecordListLiveAppRecordTranscodeRecordFormatListRecordFormat["Format"].asString(); - if(!valueLiveAppRecordListLiveAppRecordTranscodeRecordFormatListRecordFormat["OssObjectPrefix"].isNull()) - transcodeRecordFormatListObject.ossObjectPrefix = valueLiveAppRecordListLiveAppRecordTranscodeRecordFormatListRecordFormat["OssObjectPrefix"].asString(); - if(!valueLiveAppRecordListLiveAppRecordTranscodeRecordFormatListRecordFormat["SliceOssObjectPrefix"].isNull()) - transcodeRecordFormatListObject.sliceOssObjectPrefix = valueLiveAppRecordListLiveAppRecordTranscodeRecordFormatListRecordFormat["SliceOssObjectPrefix"].asString(); - if(!valueLiveAppRecordListLiveAppRecordTranscodeRecordFormatListRecordFormat["CycleDuration"].isNull()) - transcodeRecordFormatListObject.cycleDuration = std::stoi(valueLiveAppRecordListLiveAppRecordTranscodeRecordFormatListRecordFormat["CycleDuration"].asString()); if(!valueLiveAppRecordListLiveAppRecordTranscodeRecordFormatListRecordFormat["SliceDuration"].isNull()) transcodeRecordFormatListObject.sliceDuration = std::stoi(valueLiveAppRecordListLiveAppRecordTranscodeRecordFormatListRecordFormat["SliceDuration"].asString()); + if(!valueLiveAppRecordListLiveAppRecordTranscodeRecordFormatListRecordFormat["CycleDuration"].isNull()) + transcodeRecordFormatListObject.cycleDuration = std::stoi(valueLiveAppRecordListLiveAppRecordTranscodeRecordFormatListRecordFormat["CycleDuration"].asString()); + if(!valueLiveAppRecordListLiveAppRecordTranscodeRecordFormatListRecordFormat["SliceOssObjectPrefix"].isNull()) + transcodeRecordFormatListObject.sliceOssObjectPrefix = valueLiveAppRecordListLiveAppRecordTranscodeRecordFormatListRecordFormat["SliceOssObjectPrefix"].asString(); + if(!valueLiveAppRecordListLiveAppRecordTranscodeRecordFormatListRecordFormat["OssObjectPrefix"].isNull()) + transcodeRecordFormatListObject.ossObjectPrefix = valueLiveAppRecordListLiveAppRecordTranscodeRecordFormatListRecordFormat["OssObjectPrefix"].asString(); + if(!valueLiveAppRecordListLiveAppRecordTranscodeRecordFormatListRecordFormat["Format"].isNull()) + transcodeRecordFormatListObject.format = valueLiveAppRecordListLiveAppRecordTranscodeRecordFormatListRecordFormat["Format"].asString(); liveAppRecordListObject.transcodeRecordFormatList.push_back(transcodeRecordFormatListObject); } auto allTranscodeTemplates = value["TranscodeTemplates"]["Templates"]; @@ -100,14 +100,14 @@ void DescribeLiveRecordConfigResult::parse(const std::string &payload) } if(!value["PageNum"].isNull()) pageNum_ = std::stoi(value["PageNum"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); if(!value["Order"].isNull()) order_ = value["Order"].asString(); - if(!value["TotalNum"].isNull()) - totalNum_ = std::stoi(value["TotalNum"].asString()); if(!value["TotalPage"].isNull()) totalPage_ = std::stoi(value["TotalPage"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); } @@ -126,16 +126,16 @@ int DescribeLiveRecordConfigResult::getPageNum()const return pageNum_; } -int DescribeLiveRecordConfigResult::getPageSize()const -{ - return pageSize_; -} - int DescribeLiveRecordConfigResult::getTotalPage()const { return totalPage_; } +int DescribeLiveRecordConfigResult::getPageSize()const +{ + return pageSize_; +} + std::vector DescribeLiveRecordConfigResult::getLiveAppRecordList()const { return liveAppRecordList_; diff --git a/live/src/model/DescribeLiveRecordNotifyConfigRequest.cc b/live/src/model/DescribeLiveRecordNotifyConfigRequest.cc index 76c7a5f7d..050629c89 100644 --- a/live/src/model/DescribeLiveRecordNotifyConfigRequest.cc +++ b/live/src/model/DescribeLiveRecordNotifyConfigRequest.cc @@ -1,62 +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::DescribeLiveRecordNotifyConfigRequest; - -DescribeLiveRecordNotifyConfigRequest::DescribeLiveRecordNotifyConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveRecordNotifyConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveRecordNotifyConfigRequest::~DescribeLiveRecordNotifyConfigRequest() -{} - -std::string DescribeLiveRecordNotifyConfigRequest::getSecurityToken()const -{ - return securityToken_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveRecordNotifyConfigRequest; + +DescribeLiveRecordNotifyConfigRequest::DescribeLiveRecordNotifyConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveRecordNotifyConfig") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveRecordNotifyConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +DescribeLiveRecordNotifyConfigRequest::~DescribeLiveRecordNotifyConfigRequest() {} + +std::string DescribeLiveRecordNotifyConfigRequest::getSecurityToken() const { + return securityToken_; } -std::string DescribeLiveRecordNotifyConfigRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveRecordNotifyConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeLiveRecordNotifyConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveRecordNotifyConfigRequest::getDomainName() const { + return domainName_; } -long DescribeLiveRecordNotifyConfigRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveRecordNotifyConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveRecordNotifyConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveRecordNotifyConfigResult.cc b/live/src/model/DescribeLiveRecordNotifyConfigResult.cc index bd4637422..a4d8d3250 100644 --- a/live/src/model/DescribeLiveRecordNotifyConfigResult.cc +++ b/live/src/model/DescribeLiveRecordNotifyConfigResult.cc @@ -40,14 +40,14 @@ void DescribeLiveRecordNotifyConfigResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto liveRecordNotifyConfigNode = value["LiveRecordNotifyConfig"]; + if(!liveRecordNotifyConfigNode["NeedStatusNotify"].isNull()) + liveRecordNotifyConfig_.needStatusNotify = liveRecordNotifyConfigNode["NeedStatusNotify"].asString() == "true"; + if(!liveRecordNotifyConfigNode["OnDemandUrl"].isNull()) + liveRecordNotifyConfig_.onDemandUrl = liveRecordNotifyConfigNode["OnDemandUrl"].asString(); if(!liveRecordNotifyConfigNode["DomainName"].isNull()) liveRecordNotifyConfig_.domainName = liveRecordNotifyConfigNode["DomainName"].asString(); if(!liveRecordNotifyConfigNode["NotifyUrl"].isNull()) liveRecordNotifyConfig_.notifyUrl = liveRecordNotifyConfigNode["NotifyUrl"].asString(); - if(!liveRecordNotifyConfigNode["OnDemandUrl"].isNull()) - liveRecordNotifyConfig_.onDemandUrl = liveRecordNotifyConfigNode["OnDemandUrl"].asString(); - if(!liveRecordNotifyConfigNode["NeedStatusNotify"].isNull()) - liveRecordNotifyConfig_.needStatusNotify = liveRecordNotifyConfigNode["NeedStatusNotify"].asString() == "true"; } diff --git a/live/src/model/DescribeLiveRecordVodConfigsRequest.cc b/live/src/model/DescribeLiveRecordVodConfigsRequest.cc index 39fd6a6cf..9a4aa04eb 100644 --- a/live/src/model/DescribeLiveRecordVodConfigsRequest.cc +++ b/live/src/model/DescribeLiveRecordVodConfigsRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveRecordVodConfigsRequest; - -DescribeLiveRecordVodConfigsRequest::DescribeLiveRecordVodConfigsRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveRecordVodConfigs") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveRecordVodConfigsRequest::~DescribeLiveRecordVodConfigsRequest() -{} - -long DescribeLiveRecordVodConfigsRequest::getPageNum()const -{ - return pageNum_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveRecordVodConfigsRequest; + +DescribeLiveRecordVodConfigsRequest::DescribeLiveRecordVodConfigsRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveRecordVodConfigs") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveRecordVodConfigsRequest::setPageNum(long pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); +DescribeLiveRecordVodConfigsRequest::~DescribeLiveRecordVodConfigsRequest() {} + +long DescribeLiveRecordVodConfigsRequest::getPageNum() const { + return pageNum_; } -std::string DescribeLiveRecordVodConfigsRequest::getAppName()const -{ - return appName_; +void DescribeLiveRecordVodConfigsRequest::setPageNum(long pageNum) { + pageNum_ = pageNum; + setParameter(std::string("PageNum"), std::to_string(pageNum)); } -void DescribeLiveRecordVodConfigsRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string DescribeLiveRecordVodConfigsRequest::getAppName() const { + return appName_; } -long DescribeLiveRecordVodConfigsRequest::getPageSize()const -{ - return pageSize_; +void DescribeLiveRecordVodConfigsRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DescribeLiveRecordVodConfigsRequest::setPageSize(long pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +long DescribeLiveRecordVodConfigsRequest::getPageSize() const { + return pageSize_; } -std::string DescribeLiveRecordVodConfigsRequest::getStreamName()const -{ - return streamName_; +void DescribeLiveRecordVodConfigsRequest::setPageSize(long pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeLiveRecordVodConfigsRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string DescribeLiveRecordVodConfigsRequest::getStreamName() const { + return streamName_; } -std::string DescribeLiveRecordVodConfigsRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveRecordVodConfigsRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void DescribeLiveRecordVodConfigsRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveRecordVodConfigsRequest::getDomainName() const { + return domainName_; } -long DescribeLiveRecordVodConfigsRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveRecordVodConfigsRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveRecordVodConfigsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveRecordVodConfigsRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveRecordVodConfigsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveRecordVodConfigsResult.cc b/live/src/model/DescribeLiveRecordVodConfigsResult.cc index 8045e710c..3dccc201f 100644 --- a/live/src/model/DescribeLiveRecordVodConfigsResult.cc +++ b/live/src/model/DescribeLiveRecordVodConfigsResult.cc @@ -43,20 +43,20 @@ void DescribeLiveRecordVodConfigsResult::parse(const std::string &payload) for (auto valueLiveRecordVodConfigsLiveRecordVodConfig : allLiveRecordVodConfigsNode) { LiveRecordVodConfig liveRecordVodConfigsObject; - if(!valueLiveRecordVodConfigsLiveRecordVodConfig["CreateTime"].isNull()) - liveRecordVodConfigsObject.createTime = valueLiveRecordVodConfigsLiveRecordVodConfig["CreateTime"].asString(); - if(!valueLiveRecordVodConfigsLiveRecordVodConfig["DomainName"].isNull()) - liveRecordVodConfigsObject.domainName = valueLiveRecordVodConfigsLiveRecordVodConfig["DomainName"].asString(); if(!valueLiveRecordVodConfigsLiveRecordVodConfig["AppName"].isNull()) liveRecordVodConfigsObject.appName = valueLiveRecordVodConfigsLiveRecordVodConfig["AppName"].asString(); + if(!valueLiveRecordVodConfigsLiveRecordVodConfig["AutoCompose"].isNull()) + liveRecordVodConfigsObject.autoCompose = valueLiveRecordVodConfigsLiveRecordVodConfig["AutoCompose"].asString(); if(!valueLiveRecordVodConfigsLiveRecordVodConfig["StreamName"].isNull()) liveRecordVodConfigsObject.streamName = valueLiveRecordVodConfigsLiveRecordVodConfig["StreamName"].asString(); + if(!valueLiveRecordVodConfigsLiveRecordVodConfig["CreateTime"].isNull()) + liveRecordVodConfigsObject.createTime = valueLiveRecordVodConfigsLiveRecordVodConfig["CreateTime"].asString(); if(!valueLiveRecordVodConfigsLiveRecordVodConfig["VodTranscodeGroupId"].isNull()) liveRecordVodConfigsObject.vodTranscodeGroupId = valueLiveRecordVodConfigsLiveRecordVodConfig["VodTranscodeGroupId"].asString(); if(!valueLiveRecordVodConfigsLiveRecordVodConfig["CycleDuration"].isNull()) liveRecordVodConfigsObject.cycleDuration = std::stoi(valueLiveRecordVodConfigsLiveRecordVodConfig["CycleDuration"].asString()); - if(!valueLiveRecordVodConfigsLiveRecordVodConfig["AutoCompose"].isNull()) - liveRecordVodConfigsObject.autoCompose = valueLiveRecordVodConfigsLiveRecordVodConfig["AutoCompose"].asString(); + if(!valueLiveRecordVodConfigsLiveRecordVodConfig["DomainName"].isNull()) + liveRecordVodConfigsObject.domainName = valueLiveRecordVodConfigsLiveRecordVodConfig["DomainName"].asString(); if(!valueLiveRecordVodConfigsLiveRecordVodConfig["ComposeVodTranscodeGroupId"].isNull()) liveRecordVodConfigsObject.composeVodTranscodeGroupId = valueLiveRecordVodConfigsLiveRecordVodConfig["ComposeVodTranscodeGroupId"].asString(); liveRecordVodConfigs_.push_back(liveRecordVodConfigsObject); diff --git a/live/src/model/DescribeLiveShiftConfigsRequest.cc b/live/src/model/DescribeLiveShiftConfigsRequest.cc index 896e3322d..e27e95739 100644 --- a/live/src/model/DescribeLiveShiftConfigsRequest.cc +++ b/live/src/model/DescribeLiveShiftConfigsRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveShiftConfigsRequest; - -DescribeLiveShiftConfigsRequest::DescribeLiveShiftConfigsRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveShiftConfigs") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveShiftConfigsRequest::~DescribeLiveShiftConfigsRequest() -{} - -std::string DescribeLiveShiftConfigsRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveShiftConfigsRequest; + +DescribeLiveShiftConfigsRequest::DescribeLiveShiftConfigsRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveShiftConfigs") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveShiftConfigsRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DescribeLiveShiftConfigsRequest::~DescribeLiveShiftConfigsRequest() {} + +std::string DescribeLiveShiftConfigsRequest::getDomainName() const { + return domainName_; } -long DescribeLiveShiftConfigsRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveShiftConfigsRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveShiftConfigsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveShiftConfigsRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveShiftConfigsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveSnapshotConfigRequest.cc b/live/src/model/DescribeLiveSnapshotConfigRequest.cc index a4d317990..4f920ffde 100644 --- a/live/src/model/DescribeLiveSnapshotConfigRequest.cc +++ b/live/src/model/DescribeLiveSnapshotConfigRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveSnapshotConfigRequest; - -DescribeLiveSnapshotConfigRequest::DescribeLiveSnapshotConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveSnapshotConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveSnapshotConfigRequest::~DescribeLiveSnapshotConfigRequest() -{} - -int DescribeLiveSnapshotConfigRequest::getPageNum()const -{ - return pageNum_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveSnapshotConfigRequest; + +DescribeLiveSnapshotConfigRequest::DescribeLiveSnapshotConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveSnapshotConfig") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveSnapshotConfigRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); +DescribeLiveSnapshotConfigRequest::~DescribeLiveSnapshotConfigRequest() {} + +int DescribeLiveSnapshotConfigRequest::getPageNum() const { + return pageNum_; } -std::string DescribeLiveSnapshotConfigRequest::getAppName()const -{ - return appName_; +void DescribeLiveSnapshotConfigRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setParameter(std::string("PageNum"), std::to_string(pageNum)); } -void DescribeLiveSnapshotConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string DescribeLiveSnapshotConfigRequest::getAppName() const { + return appName_; } -std::string DescribeLiveSnapshotConfigRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeLiveSnapshotConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DescribeLiveSnapshotConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeLiveSnapshotConfigRequest::getSecurityToken() const { + return securityToken_; } -int DescribeLiveSnapshotConfigRequest::getPageSize()const -{ - return pageSize_; +void DescribeLiveSnapshotConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeLiveSnapshotConfigRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int DescribeLiveSnapshotConfigRequest::getPageSize() const { + return pageSize_; } -std::string DescribeLiveSnapshotConfigRequest::getOrder()const -{ - return order_; +void DescribeLiveSnapshotConfigRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeLiveSnapshotConfigRequest::setOrder(const std::string& order) -{ - order_ = order; - setParameter("Order", order); +std::string DescribeLiveSnapshotConfigRequest::getOrder() const { + return order_; } -std::string DescribeLiveSnapshotConfigRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveSnapshotConfigRequest::setOrder(const std::string &order) { + order_ = order; + setParameter(std::string("Order"), order); } -void DescribeLiveSnapshotConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveSnapshotConfigRequest::getDomainName() const { + return domainName_; } -long DescribeLiveSnapshotConfigRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveSnapshotConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveSnapshotConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveSnapshotConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveSnapshotConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveSnapshotConfigResult.cc b/live/src/model/DescribeLiveSnapshotConfigResult.cc index e05e7e0b5..a6d93237e 100644 --- a/live/src/model/DescribeLiveSnapshotConfigResult.cc +++ b/live/src/model/DescribeLiveSnapshotConfigResult.cc @@ -43,36 +43,36 @@ void DescribeLiveSnapshotConfigResult::parse(const std::string &payload) for (auto valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig : allLiveStreamSnapshotConfigListNode) { LiveStreamSnapshotConfig liveStreamSnapshotConfigListObject; - if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["DomainName"].isNull()) - liveStreamSnapshotConfigListObject.domainName = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["DomainName"].asString(); - if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["AppName"].isNull()) - liveStreamSnapshotConfigListObject.appName = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["AppName"].asString(); - if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["TimeInterval"].isNull()) - liveStreamSnapshotConfigListObject.timeInterval = std::stoi(valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["TimeInterval"].asString()); - if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OssEndpoint"].isNull()) - liveStreamSnapshotConfigListObject.ossEndpoint = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OssEndpoint"].asString(); - if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OssBucket"].isNull()) - liveStreamSnapshotConfigListObject.ossBucket = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OssBucket"].asString(); if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OverwriteOssObject"].isNull()) liveStreamSnapshotConfigListObject.overwriteOssObject = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OverwriteOssObject"].asString(); - if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["SequenceOssObject"].isNull()) - liveStreamSnapshotConfigListObject.sequenceOssObject = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["SequenceOssObject"].asString(); + if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["TimeInterval"].isNull()) + liveStreamSnapshotConfigListObject.timeInterval = std::stoi(valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["TimeInterval"].asString()); + if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["AppName"].isNull()) + liveStreamSnapshotConfigListObject.appName = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["AppName"].asString(); if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["CreateTime"].isNull()) liveStreamSnapshotConfigListObject.createTime = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["CreateTime"].asString(); + if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OssBucket"].isNull()) + liveStreamSnapshotConfigListObject.ossBucket = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OssBucket"].asString(); + if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["DomainName"].isNull()) + liveStreamSnapshotConfigListObject.domainName = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["DomainName"].asString(); if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["Callback"].isNull()) liveStreamSnapshotConfigListObject.callback = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["Callback"].asString(); + if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["SequenceOssObject"].isNull()) + liveStreamSnapshotConfigListObject.sequenceOssObject = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["SequenceOssObject"].asString(); + if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OssEndpoint"].isNull()) + liveStreamSnapshotConfigListObject.ossEndpoint = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OssEndpoint"].asString(); liveStreamSnapshotConfigList_.push_back(liveStreamSnapshotConfigListObject); } if(!value["PageNum"].isNull()) pageNum_ = std::stoi(value["PageNum"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); if(!value["Order"].isNull()) order_ = value["Order"].asString(); - if(!value["TotalNum"].isNull()) - totalNum_ = std::stoi(value["TotalNum"].asString()); if(!value["TotalPage"].isNull()) totalPage_ = std::stoi(value["TotalPage"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); } @@ -91,16 +91,16 @@ int DescribeLiveSnapshotConfigResult::getPageNum()const return pageNum_; } -int DescribeLiveSnapshotConfigResult::getPageSize()const -{ - return pageSize_; -} - int DescribeLiveSnapshotConfigResult::getTotalPage()const { return totalPage_; } +int DescribeLiveSnapshotConfigResult::getPageSize()const +{ + return pageSize_; +} + std::vector DescribeLiveSnapshotConfigResult::getLiveStreamSnapshotConfigList()const { return liveStreamSnapshotConfigList_; diff --git a/live/src/model/DescribeLiveSnapshotDetectPornConfigRequest.cc b/live/src/model/DescribeLiveSnapshotDetectPornConfigRequest.cc index 2c3500d8c..ab27a905a 100644 --- a/live/src/model/DescribeLiveSnapshotDetectPornConfigRequest.cc +++ b/live/src/model/DescribeLiveSnapshotDetectPornConfigRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveSnapshotDetectPornConfigRequest; - -DescribeLiveSnapshotDetectPornConfigRequest::DescribeLiveSnapshotDetectPornConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveSnapshotDetectPornConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveSnapshotDetectPornConfigRequest::~DescribeLiveSnapshotDetectPornConfigRequest() -{} - -int DescribeLiveSnapshotDetectPornConfigRequest::getPageNum()const -{ - return pageNum_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveSnapshotDetectPornConfigRequest; + +DescribeLiveSnapshotDetectPornConfigRequest::DescribeLiveSnapshotDetectPornConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveSnapshotDetectPornConfig") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveSnapshotDetectPornConfigRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); +DescribeLiveSnapshotDetectPornConfigRequest::~DescribeLiveSnapshotDetectPornConfigRequest() {} + +int DescribeLiveSnapshotDetectPornConfigRequest::getPageNum() const { + return pageNum_; } -std::string DescribeLiveSnapshotDetectPornConfigRequest::getAppName()const -{ - return appName_; +void DescribeLiveSnapshotDetectPornConfigRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setParameter(std::string("PageNum"), std::to_string(pageNum)); } -void DescribeLiveSnapshotDetectPornConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string DescribeLiveSnapshotDetectPornConfigRequest::getAppName() const { + return appName_; } -std::string DescribeLiveSnapshotDetectPornConfigRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeLiveSnapshotDetectPornConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DescribeLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeLiveSnapshotDetectPornConfigRequest::getSecurityToken() const { + return securityToken_; } -int DescribeLiveSnapshotDetectPornConfigRequest::getPageSize()const -{ - return pageSize_; +void DescribeLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeLiveSnapshotDetectPornConfigRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int DescribeLiveSnapshotDetectPornConfigRequest::getPageSize() const { + return pageSize_; } -std::string DescribeLiveSnapshotDetectPornConfigRequest::getOrder()const -{ - return order_; +void DescribeLiveSnapshotDetectPornConfigRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeLiveSnapshotDetectPornConfigRequest::setOrder(const std::string& order) -{ - order_ = order; - setParameter("Order", order); +std::string DescribeLiveSnapshotDetectPornConfigRequest::getOrder() const { + return order_; } -std::string DescribeLiveSnapshotDetectPornConfigRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveSnapshotDetectPornConfigRequest::setOrder(const std::string &order) { + order_ = order; + setParameter(std::string("Order"), order); } -void DescribeLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveSnapshotDetectPornConfigRequest::getDomainName() const { + return domainName_; } -long DescribeLiveSnapshotDetectPornConfigRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveSnapshotDetectPornConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveSnapshotDetectPornConfigResult.cc b/live/src/model/DescribeLiveSnapshotDetectPornConfigResult.cc index 0b4280861..654580e98 100644 --- a/live/src/model/DescribeLiveSnapshotDetectPornConfigResult.cc +++ b/live/src/model/DescribeLiveSnapshotDetectPornConfigResult.cc @@ -43,18 +43,18 @@ void DescribeLiveSnapshotDetectPornConfigResult::parse(const std::string &payloa for (auto valueLiveSnapshotDetectPornConfigListLiveSnapshotDetectPornConfig : allLiveSnapshotDetectPornConfigListNode) { LiveSnapshotDetectPornConfig liveSnapshotDetectPornConfigListObject; - if(!valueLiveSnapshotDetectPornConfigListLiveSnapshotDetectPornConfig["DomainName"].isNull()) - liveSnapshotDetectPornConfigListObject.domainName = valueLiveSnapshotDetectPornConfigListLiveSnapshotDetectPornConfig["DomainName"].asString(); - if(!valueLiveSnapshotDetectPornConfigListLiveSnapshotDetectPornConfig["AppName"].isNull()) - liveSnapshotDetectPornConfigListObject.appName = valueLiveSnapshotDetectPornConfigListLiveSnapshotDetectPornConfig["AppName"].asString(); - if(!valueLiveSnapshotDetectPornConfigListLiveSnapshotDetectPornConfig["OssEndpoint"].isNull()) - liveSnapshotDetectPornConfigListObject.ossEndpoint = valueLiveSnapshotDetectPornConfigListLiveSnapshotDetectPornConfig["OssEndpoint"].asString(); - if(!valueLiveSnapshotDetectPornConfigListLiveSnapshotDetectPornConfig["OssBucket"].isNull()) - liveSnapshotDetectPornConfigListObject.ossBucket = valueLiveSnapshotDetectPornConfigListLiveSnapshotDetectPornConfig["OssBucket"].asString(); if(!valueLiveSnapshotDetectPornConfigListLiveSnapshotDetectPornConfig["OssObject"].isNull()) liveSnapshotDetectPornConfigListObject.ossObject = valueLiveSnapshotDetectPornConfigListLiveSnapshotDetectPornConfig["OssObject"].asString(); + if(!valueLiveSnapshotDetectPornConfigListLiveSnapshotDetectPornConfig["AppName"].isNull()) + liveSnapshotDetectPornConfigListObject.appName = valueLiveSnapshotDetectPornConfigListLiveSnapshotDetectPornConfig["AppName"].asString(); if(!valueLiveSnapshotDetectPornConfigListLiveSnapshotDetectPornConfig["Interval"].isNull()) liveSnapshotDetectPornConfigListObject.interval = std::stoi(valueLiveSnapshotDetectPornConfigListLiveSnapshotDetectPornConfig["Interval"].asString()); + if(!valueLiveSnapshotDetectPornConfigListLiveSnapshotDetectPornConfig["OssBucket"].isNull()) + liveSnapshotDetectPornConfigListObject.ossBucket = valueLiveSnapshotDetectPornConfigListLiveSnapshotDetectPornConfig["OssBucket"].asString(); + if(!valueLiveSnapshotDetectPornConfigListLiveSnapshotDetectPornConfig["DomainName"].isNull()) + liveSnapshotDetectPornConfigListObject.domainName = valueLiveSnapshotDetectPornConfigListLiveSnapshotDetectPornConfig["DomainName"].asString(); + if(!valueLiveSnapshotDetectPornConfigListLiveSnapshotDetectPornConfig["OssEndpoint"].isNull()) + liveSnapshotDetectPornConfigListObject.ossEndpoint = valueLiveSnapshotDetectPornConfigListLiveSnapshotDetectPornConfig["OssEndpoint"].asString(); auto allScenes = value["Scenes"]["scene"]; for (auto value : allScenes) liveSnapshotDetectPornConfigListObject.scenes.push_back(value.asString()); @@ -62,14 +62,14 @@ void DescribeLiveSnapshotDetectPornConfigResult::parse(const std::string &payloa } if(!value["PageNum"].isNull()) pageNum_ = std::stoi(value["PageNum"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); if(!value["Order"].isNull()) order_ = value["Order"].asString(); - if(!value["TotalNum"].isNull()) - totalNum_ = std::stoi(value["TotalNum"].asString()); if(!value["TotalPage"].isNull()) totalPage_ = std::stoi(value["TotalPage"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); } @@ -88,16 +88,16 @@ int DescribeLiveSnapshotDetectPornConfigResult::getPageNum()const return pageNum_; } -int DescribeLiveSnapshotDetectPornConfigResult::getPageSize()const -{ - return pageSize_; -} - int DescribeLiveSnapshotDetectPornConfigResult::getTotalPage()const { return totalPage_; } +int DescribeLiveSnapshotDetectPornConfigResult::getPageSize()const +{ + return pageSize_; +} + std::vector DescribeLiveSnapshotDetectPornConfigResult::getLiveSnapshotDetectPornConfigList()const { return liveSnapshotDetectPornConfigList_; diff --git a/live/src/model/DescribeLiveStreamBitRateDataRequest.cc b/live/src/model/DescribeLiveStreamBitRateDataRequest.cc index ef7a1e6ef..c49dfd8c3 100644 --- a/live/src/model/DescribeLiveStreamBitRateDataRequest.cc +++ b/live/src/model/DescribeLiveStreamBitRateDataRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamBitRateDataRequest; - -DescribeLiveStreamBitRateDataRequest::DescribeLiveStreamBitRateDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamBitRateData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamBitRateDataRequest::~DescribeLiveStreamBitRateDataRequest() -{} - -std::string DescribeLiveStreamBitRateDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamBitRateDataRequest; + +DescribeLiveStreamBitRateDataRequest::DescribeLiveStreamBitRateDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamBitRateData") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveStreamBitRateDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeLiveStreamBitRateDataRequest::~DescribeLiveStreamBitRateDataRequest() {} + +std::string DescribeLiveStreamBitRateDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveStreamBitRateDataRequest::getAppName()const -{ - return appName_; +void DescribeLiveStreamBitRateDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveStreamBitRateDataRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string DescribeLiveStreamBitRateDataRequest::getAppName() const { + return appName_; } -std::string DescribeLiveStreamBitRateDataRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeLiveStreamBitRateDataRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DescribeLiveStreamBitRateDataRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeLiveStreamBitRateDataRequest::getSecurityToken() const { + return securityToken_; } -std::string DescribeLiveStreamBitRateDataRequest::getStreamName()const -{ - return streamName_; +void DescribeLiveStreamBitRateDataRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeLiveStreamBitRateDataRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string DescribeLiveStreamBitRateDataRequest::getStreamName() const { + return streamName_; } -std::string DescribeLiveStreamBitRateDataRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveStreamBitRateDataRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void DescribeLiveStreamBitRateDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveStreamBitRateDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveStreamBitRateDataRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveStreamBitRateDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveStreamBitRateDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveStreamBitRateDataRequest::getEndTime() const { + return endTime_; } -long DescribeLiveStreamBitRateDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveStreamBitRateDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveStreamBitRateDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveStreamBitRateDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveStreamBitRateDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamBitRateDataResult.cc b/live/src/model/DescribeLiveStreamBitRateDataResult.cc index 650edf39d..1214bcfbe 100644 --- a/live/src/model/DescribeLiveStreamBitRateDataResult.cc +++ b/live/src/model/DescribeLiveStreamBitRateDataResult.cc @@ -43,16 +43,16 @@ void DescribeLiveStreamBitRateDataResult::parse(const std::string &payload) for (auto valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo : allFrameRateAndBitRateInfosNode) { FrameRateAndBitRateInfo frameRateAndBitRateInfosObject; - if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["StreamUrl"].isNull()) - frameRateAndBitRateInfosObject.streamUrl = valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["StreamUrl"].asString(); + if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["Time"].isNull()) + frameRateAndBitRateInfosObject.time = valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["Time"].asString(); if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["VideoFrameRate"].isNull()) frameRateAndBitRateInfosObject.videoFrameRate = std::stof(valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["VideoFrameRate"].asString()); if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["AudioFrameRate"].isNull()) frameRateAndBitRateInfosObject.audioFrameRate = std::stof(valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["AudioFrameRate"].asString()); + if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["StreamUrl"].isNull()) + frameRateAndBitRateInfosObject.streamUrl = valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["StreamUrl"].asString(); if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["BitRate"].isNull()) frameRateAndBitRateInfosObject.bitRate = std::stof(valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["BitRate"].asString()); - if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["Time"].isNull()) - frameRateAndBitRateInfosObject.time = valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["Time"].asString(); frameRateAndBitRateInfos_.push_back(frameRateAndBitRateInfosObject); } diff --git a/live/src/model/DescribeLiveStreamCountRequest.cc b/live/src/model/DescribeLiveStreamCountRequest.cc index 0c2e87092..2fe7b23e7 100644 --- a/live/src/model/DescribeLiveStreamCountRequest.cc +++ b/live/src/model/DescribeLiveStreamCountRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamCountRequest; - -DescribeLiveStreamCountRequest::DescribeLiveStreamCountRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamCount") -{ - setMethod(HttpRequest::Method::Get); -} - -DescribeLiveStreamCountRequest::~DescribeLiveStreamCountRequest() -{} - -std::string DescribeLiveStreamCountRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamCountRequest; + +DescribeLiveStreamCountRequest::DescribeLiveStreamCountRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamCount") { + setMethod(HttpRequest::Method::Get); } -void DescribeLiveStreamCountRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DescribeLiveStreamCountRequest::~DescribeLiveStreamCountRequest() {} + +std::string DescribeLiveStreamCountRequest::getDomainName() const { + return domainName_; } -long DescribeLiveStreamCountRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveStreamCountRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveStreamCountRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveStreamCountRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveStreamCountRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamCountResult.cc b/live/src/model/DescribeLiveStreamCountResult.cc index ec5743d5b..d32f354ee 100644 --- a/live/src/model/DescribeLiveStreamCountResult.cc +++ b/live/src/model/DescribeLiveStreamCountResult.cc @@ -43,20 +43,20 @@ void DescribeLiveStreamCountResult::parse(const std::string &payload) for (auto valueStreamCountInfosStreamCountInfo : allStreamCountInfosNode) { StreamCountInfo streamCountInfosObject; + if(!valueStreamCountInfosStreamCountInfo["Type"].isNull()) + streamCountInfosObject.type = valueStreamCountInfosStreamCountInfo["Type"].asString(); if(!valueStreamCountInfosStreamCountInfo["Count"].isNull()) streamCountInfosObject.count = std::stol(valueStreamCountInfosStreamCountInfo["Count"].asString()); if(!valueStreamCountInfosStreamCountInfo["Limit"].isNull()) streamCountInfosObject.limit = std::stol(valueStreamCountInfosStreamCountInfo["Limit"].asString()); - if(!valueStreamCountInfosStreamCountInfo["Type"].isNull()) - streamCountInfosObject.type = valueStreamCountInfosStreamCountInfo["Type"].asString(); auto allStreamCountDetailsNode = valueStreamCountInfosStreamCountInfo["StreamCountDetails"]["StreamCountDetail"]; for (auto valueStreamCountInfosStreamCountInfoStreamCountDetailsStreamCountDetail : allStreamCountDetailsNode) { StreamCountInfo::StreamCountDetail streamCountDetailsObject; - if(!valueStreamCountInfosStreamCountInfoStreamCountDetailsStreamCountDetail["Format"].isNull()) - streamCountDetailsObject.format = valueStreamCountInfosStreamCountInfoStreamCountDetailsStreamCountDetail["Format"].asString(); if(!valueStreamCountInfosStreamCountInfoStreamCountDetailsStreamCountDetail["VideoDataRate"].isNull()) streamCountDetailsObject.videoDataRate = std::stol(valueStreamCountInfosStreamCountInfoStreamCountDetailsStreamCountDetail["VideoDataRate"].asString()); + if(!valueStreamCountInfosStreamCountInfoStreamCountDetailsStreamCountDetail["Format"].isNull()) + streamCountDetailsObject.format = valueStreamCountInfosStreamCountInfoStreamCountDetailsStreamCountDetail["Format"].asString(); if(!valueStreamCountInfosStreamCountInfoStreamCountDetailsStreamCountDetail["Count"].isNull()) streamCountDetailsObject.count = std::stol(valueStreamCountInfosStreamCountInfoStreamCountDetailsStreamCountDetail["Count"].asString()); streamCountInfosObject.streamCountDetails.push_back(streamCountDetailsObject); diff --git a/live/src/model/DescribeLiveStreamDelayConfigRequest.cc b/live/src/model/DescribeLiveStreamDelayConfigRequest.cc index 7ec80ab11..4097fb251 100644 --- a/live/src/model/DescribeLiveStreamDelayConfigRequest.cc +++ b/live/src/model/DescribeLiveStreamDelayConfigRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamDelayConfigRequest; - -DescribeLiveStreamDelayConfigRequest::DescribeLiveStreamDelayConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamDelayConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamDelayConfigRequest::~DescribeLiveStreamDelayConfigRequest() -{} - -std::string DescribeLiveStreamDelayConfigRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamDelayConfigRequest; + +DescribeLiveStreamDelayConfigRequest::DescribeLiveStreamDelayConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamDelayConfig") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveStreamDelayConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DescribeLiveStreamDelayConfigRequest::~DescribeLiveStreamDelayConfigRequest() {} + +std::string DescribeLiveStreamDelayConfigRequest::getDomainName() const { + return domainName_; } -long DescribeLiveStreamDelayConfigRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveStreamDelayConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveStreamDelayConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveStreamDelayConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveStreamDelayConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamDelayConfigResult.cc b/live/src/model/DescribeLiveStreamDelayConfigResult.cc index 926838f5e..f59d446cb 100644 --- a/live/src/model/DescribeLiveStreamDelayConfigResult.cc +++ b/live/src/model/DescribeLiveStreamDelayConfigResult.cc @@ -40,20 +40,20 @@ void DescribeLiveStreamDelayConfigResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto liveStreamHlsDelayConfigNode = value["LiveStreamHlsDelayConfig"]; - if(!liveStreamHlsDelayConfigNode["Level"].isNull()) - liveStreamHlsDelayConfig_.level = liveStreamHlsDelayConfigNode["Level"].asString(); if(!liveStreamHlsDelayConfigNode["Delay"].isNull()) liveStreamHlsDelayConfig_.delay = std::stoi(liveStreamHlsDelayConfigNode["Delay"].asString()); + if(!liveStreamHlsDelayConfigNode["Level"].isNull()) + liveStreamHlsDelayConfig_.level = liveStreamHlsDelayConfigNode["Level"].asString(); auto liveStreamFlvDelayConfigNode = value["LiveStreamFlvDelayConfig"]; - if(!liveStreamFlvDelayConfigNode["Level"].isNull()) - liveStreamFlvDelayConfig_.level = liveStreamFlvDelayConfigNode["Level"].asString(); if(!liveStreamFlvDelayConfigNode["Delay"].isNull()) liveStreamFlvDelayConfig_.delay = std::stoi(liveStreamFlvDelayConfigNode["Delay"].asString()); + if(!liveStreamFlvDelayConfigNode["Level"].isNull()) + liveStreamFlvDelayConfig_.level = liveStreamFlvDelayConfigNode["Level"].asString(); auto liveStreamRtmpDelayConfigNode = value["LiveStreamRtmpDelayConfig"]; - if(!liveStreamRtmpDelayConfigNode["Level"].isNull()) - liveStreamRtmpDelayConfig_.level = liveStreamRtmpDelayConfigNode["Level"].asString(); if(!liveStreamRtmpDelayConfigNode["Delay"].isNull()) liveStreamRtmpDelayConfig_.delay = std::stoi(liveStreamRtmpDelayConfigNode["Delay"].asString()); + if(!liveStreamRtmpDelayConfigNode["Level"].isNull()) + liveStreamRtmpDelayConfig_.level = liveStreamRtmpDelayConfigNode["Level"].asString(); } diff --git a/live/src/model/DescribeLiveStreamHistoryUserNumRequest.cc b/live/src/model/DescribeLiveStreamHistoryUserNumRequest.cc index 8b9764568..37d99f80b 100644 --- a/live/src/model/DescribeLiveStreamHistoryUserNumRequest.cc +++ b/live/src/model/DescribeLiveStreamHistoryUserNumRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamHistoryUserNumRequest; - -DescribeLiveStreamHistoryUserNumRequest::DescribeLiveStreamHistoryUserNumRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamHistoryUserNum") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamHistoryUserNumRequest::~DescribeLiveStreamHistoryUserNumRequest() -{} - -std::string DescribeLiveStreamHistoryUserNumRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamHistoryUserNumRequest; + +DescribeLiveStreamHistoryUserNumRequest::DescribeLiveStreamHistoryUserNumRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamHistoryUserNum") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveStreamHistoryUserNumRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeLiveStreamHistoryUserNumRequest::~DescribeLiveStreamHistoryUserNumRequest() {} + +std::string DescribeLiveStreamHistoryUserNumRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveStreamHistoryUserNumRequest::getAppName()const -{ - return appName_; +void DescribeLiveStreamHistoryUserNumRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveStreamHistoryUserNumRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string DescribeLiveStreamHistoryUserNumRequest::getAppName() const { + return appName_; } -std::string DescribeLiveStreamHistoryUserNumRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeLiveStreamHistoryUserNumRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DescribeLiveStreamHistoryUserNumRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeLiveStreamHistoryUserNumRequest::getSecurityToken() const { + return securityToken_; } -std::string DescribeLiveStreamHistoryUserNumRequest::getStreamName()const -{ - return streamName_; +void DescribeLiveStreamHistoryUserNumRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeLiveStreamHistoryUserNumRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string DescribeLiveStreamHistoryUserNumRequest::getStreamName() const { + return streamName_; } -std::string DescribeLiveStreamHistoryUserNumRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveStreamHistoryUserNumRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void DescribeLiveStreamHistoryUserNumRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveStreamHistoryUserNumRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveStreamHistoryUserNumRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveStreamHistoryUserNumRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveStreamHistoryUserNumRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveStreamHistoryUserNumRequest::getEndTime() const { + return endTime_; } -long DescribeLiveStreamHistoryUserNumRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveStreamHistoryUserNumRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveStreamHistoryUserNumRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveStreamHistoryUserNumRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveStreamHistoryUserNumRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamHistoryUserNumResult.cc b/live/src/model/DescribeLiveStreamHistoryUserNumResult.cc index a29f50ae3..48e7cb232 100644 --- a/live/src/model/DescribeLiveStreamHistoryUserNumResult.cc +++ b/live/src/model/DescribeLiveStreamHistoryUserNumResult.cc @@ -43,10 +43,10 @@ void DescribeLiveStreamHistoryUserNumResult::parse(const std::string &payload) for (auto valueLiveStreamUserNumInfosLiveStreamUserNumInfo : allLiveStreamUserNumInfosNode) { LiveStreamUserNumInfo liveStreamUserNumInfosObject; - if(!valueLiveStreamUserNumInfosLiveStreamUserNumInfo["StreamTime"].isNull()) - liveStreamUserNumInfosObject.streamTime = valueLiveStreamUserNumInfosLiveStreamUserNumInfo["StreamTime"].asString(); if(!valueLiveStreamUserNumInfosLiveStreamUserNumInfo["UserNum"].isNull()) liveStreamUserNumInfosObject.userNum = valueLiveStreamUserNumInfosLiveStreamUserNumInfo["UserNum"].asString(); + if(!valueLiveStreamUserNumInfosLiveStreamUserNumInfo["StreamTime"].isNull()) + liveStreamUserNumInfosObject.streamTime = valueLiveStreamUserNumInfosLiveStreamUserNumInfo["StreamTime"].asString(); liveStreamUserNumInfos_.push_back(liveStreamUserNumInfosObject); } diff --git a/live/src/model/DescribeLiveStreamMonitorListRequest.cc b/live/src/model/DescribeLiveStreamMonitorListRequest.cc index cf64ea3cd..1f0dd20b2 100644 --- a/live/src/model/DescribeLiveStreamMonitorListRequest.cc +++ b/live/src/model/DescribeLiveStreamMonitorListRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamMonitorListRequest; - -DescribeLiveStreamMonitorListRequest::DescribeLiveStreamMonitorListRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamMonitorList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamMonitorListRequest::~DescribeLiveStreamMonitorListRequest() -{} - -std::string DescribeLiveStreamMonitorListRequest::getMonitorId()const -{ - return monitorId_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamMonitorListRequest; + +DescribeLiveStreamMonitorListRequest::DescribeLiveStreamMonitorListRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamMonitorList") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveStreamMonitorListRequest::setMonitorId(const std::string& monitorId) -{ - monitorId_ = monitorId; - setParameter("MonitorId", monitorId); +DescribeLiveStreamMonitorListRequest::~DescribeLiveStreamMonitorListRequest() {} + +std::string DescribeLiveStreamMonitorListRequest::getMonitorId() const { + return monitorId_; } -int DescribeLiveStreamMonitorListRequest::getPageNum()const -{ - return pageNum_; +void DescribeLiveStreamMonitorListRequest::setMonitorId(const std::string &monitorId) { + monitorId_ = monitorId; + setParameter(std::string("MonitorId"), monitorId); } -void DescribeLiveStreamMonitorListRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); +int DescribeLiveStreamMonitorListRequest::getPageNum() const { + return pageNum_; } -int DescribeLiveStreamMonitorListRequest::getPageSize()const -{ - return pageSize_; +void DescribeLiveStreamMonitorListRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setParameter(std::string("PageNum"), std::to_string(pageNum)); } -void DescribeLiveStreamMonitorListRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int DescribeLiveStreamMonitorListRequest::getPageSize() const { + return pageSize_; } -long DescribeLiveStreamMonitorListRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveStreamMonitorListRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeLiveStreamMonitorListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveStreamMonitorListRequest::getOwnerId() const { + return ownerId_; } -int DescribeLiveStreamMonitorListRequest::getOrderRule()const -{ - return orderRule_; +void DescribeLiveStreamMonitorListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeLiveStreamMonitorListRequest::setOrderRule(int orderRule) -{ - orderRule_ = orderRule; - setParameter("OrderRule", std::to_string(orderRule)); +int DescribeLiveStreamMonitorListRequest::getOrderRule() const { + return orderRule_; } -int DescribeLiveStreamMonitorListRequest::getStatus()const -{ - return status_; +void DescribeLiveStreamMonitorListRequest::setOrderRule(int orderRule) { + orderRule_ = orderRule; + setParameter(std::string("OrderRule"), std::to_string(orderRule)); } -void DescribeLiveStreamMonitorListRequest::setStatus(int status) -{ - status_ = status; - setParameter("Status", std::to_string(status)); +int DescribeLiveStreamMonitorListRequest::getStatus() const { + return status_; +} + +void DescribeLiveStreamMonitorListRequest::setStatus(int status) { + status_ = status; + setParameter(std::string("Status"), std::to_string(status)); } diff --git a/live/src/model/DescribeLiveStreamMonitorListResult.cc b/live/src/model/DescribeLiveStreamMonitorListResult.cc index a35873533..e61363609 100644 --- a/live/src/model/DescribeLiveStreamMonitorListResult.cc +++ b/live/src/model/DescribeLiveStreamMonitorListResult.cc @@ -43,22 +43,22 @@ void DescribeLiveStreamMonitorListResult::parse(const std::string &payload) for (auto valueLiveStreamMonitorListLiveStreamMonitorInfo : allLiveStreamMonitorListNode) { LiveStreamMonitorInfo liveStreamMonitorListObject; + if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["Status"].isNull()) + liveStreamMonitorListObject.status = std::stoi(valueLiveStreamMonitorListLiveStreamMonitorInfo["Status"].asString()); + if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["StartTime"].isNull()) + liveStreamMonitorListObject.startTime = valueLiveStreamMonitorListLiveStreamMonitorInfo["StartTime"].asString(); if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["MonitorId"].isNull()) liveStreamMonitorListObject.monitorId = valueLiveStreamMonitorListLiveStreamMonitorInfo["MonitorId"].asString(); - if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["MonitorName"].isNull()) - liveStreamMonitorListObject.monitorName = valueLiveStreamMonitorListLiveStreamMonitorInfo["MonitorName"].asString(); if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["Domain"].isNull()) liveStreamMonitorListObject.domain = valueLiveStreamMonitorListLiveStreamMonitorInfo["Domain"].asString(); if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["OutputTemplate"].isNull()) liveStreamMonitorListObject.outputTemplate = valueLiveStreamMonitorListLiveStreamMonitorInfo["OutputTemplate"].asString(); - if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["Status"].isNull()) - liveStreamMonitorListObject.status = std::stoi(valueLiveStreamMonitorListLiveStreamMonitorInfo["Status"].asString()); if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["Region"].isNull()) liveStreamMonitorListObject.region = valueLiveStreamMonitorListLiveStreamMonitorInfo["Region"].asString(); if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["AudioFrom"].isNull()) liveStreamMonitorListObject.audioFrom = std::stoi(valueLiveStreamMonitorListLiveStreamMonitorInfo["AudioFrom"].asString()); - if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["StartTime"].isNull()) - liveStreamMonitorListObject.startTime = valueLiveStreamMonitorListLiveStreamMonitorInfo["StartTime"].asString(); + if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["MonitorName"].isNull()) + liveStreamMonitorListObject.monitorName = valueLiveStreamMonitorListLiveStreamMonitorInfo["MonitorName"].asString(); if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["StopTime"].isNull()) liveStreamMonitorListObject.stopTime = valueLiveStreamMonitorListLiveStreamMonitorInfo["StopTime"].asString(); auto allInputListNode = valueLiveStreamMonitorListLiveStreamMonitorInfo["InputList"]["InputConfig"]; @@ -67,12 +67,12 @@ void DescribeLiveStreamMonitorListResult::parse(const std::string &payload) LiveStreamMonitorInfo::InputConfig inputListObject; if(!valueLiveStreamMonitorListLiveStreamMonitorInfoInputListInputConfig["Index"].isNull()) inputListObject.index = std::stoi(valueLiveStreamMonitorListLiveStreamMonitorInfoInputListInputConfig["Index"].asString()); + if(!valueLiveStreamMonitorListLiveStreamMonitorInfoInputListInputConfig["InputUrl"].isNull()) + inputListObject.inputUrl = valueLiveStreamMonitorListLiveStreamMonitorInfoInputListInputConfig["InputUrl"].asString(); if(!valueLiveStreamMonitorListLiveStreamMonitorInfoInputListInputConfig["LayoutId"].isNull()) inputListObject.layoutId = std::stoi(valueLiveStreamMonitorListLiveStreamMonitorInfoInputListInputConfig["LayoutId"].asString()); if(!valueLiveStreamMonitorListLiveStreamMonitorInfoInputListInputConfig["StreamName"].isNull()) inputListObject.streamName = valueLiveStreamMonitorListLiveStreamMonitorInfoInputListInputConfig["StreamName"].asString(); - if(!valueLiveStreamMonitorListLiveStreamMonitorInfoInputListInputConfig["InputUrl"].isNull()) - inputListObject.inputUrl = valueLiveStreamMonitorListLiveStreamMonitorInfoInputListInputConfig["InputUrl"].asString(); auto layoutConfigNode = value["LayoutConfig"]; if(!layoutConfigNode["FillMode"].isNull()) inputListObject.layoutConfig.fillMode = layoutConfigNode["FillMode"].asString(); @@ -90,10 +90,10 @@ void DescribeLiveStreamMonitorListResult::parse(const std::string &payload) liveStreamMonitorListObject.inputList.push_back(inputListObject); } auto outputUrlsNode = value["OutputUrls"]; - if(!outputUrlsNode["RtmpUrl"].isNull()) - liveStreamMonitorListObject.outputUrls.rtmpUrl = outputUrlsNode["RtmpUrl"].asString(); if(!outputUrlsNode["FlvUrl"].isNull()) liveStreamMonitorListObject.outputUrls.flvUrl = outputUrlsNode["FlvUrl"].asString(); + if(!outputUrlsNode["RtmpUrl"].isNull()) + liveStreamMonitorListObject.outputUrls.rtmpUrl = outputUrlsNode["RtmpUrl"].asString(); liveStreamMonitorList_.push_back(liveStreamMonitorListObject); } if(!value["Total"].isNull()) diff --git a/live/src/model/DescribeLiveStreamOptimizedFeatureConfigRequest.cc b/live/src/model/DescribeLiveStreamOptimizedFeatureConfigRequest.cc index d3220bfed..5a080b13e 100644 --- a/live/src/model/DescribeLiveStreamOptimizedFeatureConfigRequest.cc +++ b/live/src/model/DescribeLiveStreamOptimizedFeatureConfigRequest.cc @@ -1,62 +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::DescribeLiveStreamOptimizedFeatureConfigRequest; - -DescribeLiveStreamOptimizedFeatureConfigRequest::DescribeLiveStreamOptimizedFeatureConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamOptimizedFeatureConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamOptimizedFeatureConfigRequest::~DescribeLiveStreamOptimizedFeatureConfigRequest() -{} - -std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getConfigName()const -{ - return configName_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamOptimizedFeatureConfigRequest; + +DescribeLiveStreamOptimizedFeatureConfigRequest::DescribeLiveStreamOptimizedFeatureConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamOptimizedFeatureConfig") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveStreamOptimizedFeatureConfigRequest::setConfigName(const std::string& configName) -{ - configName_ = configName; - setParameter("ConfigName", configName); +DescribeLiveStreamOptimizedFeatureConfigRequest::~DescribeLiveStreamOptimizedFeatureConfigRequest() {} + +std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getConfigName() const { + return configName_; } -std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveStreamOptimizedFeatureConfigRequest::setConfigName(const std::string &configName) { + configName_ = configName; + setParameter(std::string("ConfigName"), configName); } -void DescribeLiveStreamOptimizedFeatureConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getDomainName() const { + return domainName_; } -long DescribeLiveStreamOptimizedFeatureConfigRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveStreamOptimizedFeatureConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveStreamOptimizedFeatureConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveStreamOptimizedFeatureConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveStreamOptimizedFeatureConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamOptimizedFeatureConfigResult.cc b/live/src/model/DescribeLiveStreamOptimizedFeatureConfigResult.cc index 9bdfbdfd8..094376845 100644 --- a/live/src/model/DescribeLiveStreamOptimizedFeatureConfigResult.cc +++ b/live/src/model/DescribeLiveStreamOptimizedFeatureConfigResult.cc @@ -43,12 +43,12 @@ void DescribeLiveStreamOptimizedFeatureConfigResult::parse(const std::string &pa for (auto valueLiveStreamOptimizedFeatureConfigListLiveStreamOptimizedFeatureConfig : allLiveStreamOptimizedFeatureConfigListNode) { LiveStreamOptimizedFeatureConfig liveStreamOptimizedFeatureConfigListObject; - if(!valueLiveStreamOptimizedFeatureConfigListLiveStreamOptimizedFeatureConfig["DomainName"].isNull()) - liveStreamOptimizedFeatureConfigListObject.domainName = valueLiveStreamOptimizedFeatureConfigListLiveStreamOptimizedFeatureConfig["DomainName"].asString(); if(!valueLiveStreamOptimizedFeatureConfigListLiveStreamOptimizedFeatureConfig["ConfigName"].isNull()) liveStreamOptimizedFeatureConfigListObject.configName = valueLiveStreamOptimizedFeatureConfigListLiveStreamOptimizedFeatureConfig["ConfigName"].asString(); if(!valueLiveStreamOptimizedFeatureConfigListLiveStreamOptimizedFeatureConfig["ConfigStatus"].isNull()) liveStreamOptimizedFeatureConfigListObject.configStatus = valueLiveStreamOptimizedFeatureConfigListLiveStreamOptimizedFeatureConfig["ConfigStatus"].asString(); + if(!valueLiveStreamOptimizedFeatureConfigListLiveStreamOptimizedFeatureConfig["DomainName"].isNull()) + liveStreamOptimizedFeatureConfigListObject.domainName = valueLiveStreamOptimizedFeatureConfigListLiveStreamOptimizedFeatureConfig["DomainName"].asString(); if(!valueLiveStreamOptimizedFeatureConfigListLiveStreamOptimizedFeatureConfig["ConfigValue"].isNull()) liveStreamOptimizedFeatureConfigListObject.configValue = valueLiveStreamOptimizedFeatureConfigListLiveStreamOptimizedFeatureConfig["ConfigValue"].asString(); liveStreamOptimizedFeatureConfigList_.push_back(liveStreamOptimizedFeatureConfigListObject); diff --git a/live/src/model/DescribeLiveStreamRecordContentRequest.cc b/live/src/model/DescribeLiveStreamRecordContentRequest.cc index 2ef4789dd..4f35f8bae 100644 --- a/live/src/model/DescribeLiveStreamRecordContentRequest.cc +++ b/live/src/model/DescribeLiveStreamRecordContentRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamRecordContentRequest; - -DescribeLiveStreamRecordContentRequest::DescribeLiveStreamRecordContentRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamRecordContent") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamRecordContentRequest::~DescribeLiveStreamRecordContentRequest() -{} - -std::string DescribeLiveStreamRecordContentRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamRecordContentRequest; + +DescribeLiveStreamRecordContentRequest::DescribeLiveStreamRecordContentRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamRecordContent") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveStreamRecordContentRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeLiveStreamRecordContentRequest::~DescribeLiveStreamRecordContentRequest() {} + +std::string DescribeLiveStreamRecordContentRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveStreamRecordContentRequest::getAppName()const -{ - return appName_; +void DescribeLiveStreamRecordContentRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveStreamRecordContentRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string DescribeLiveStreamRecordContentRequest::getAppName() const { + return appName_; } -std::string DescribeLiveStreamRecordContentRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeLiveStreamRecordContentRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DescribeLiveStreamRecordContentRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeLiveStreamRecordContentRequest::getSecurityToken() const { + return securityToken_; } -std::string DescribeLiveStreamRecordContentRequest::getStreamName()const -{ - return streamName_; +void DescribeLiveStreamRecordContentRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeLiveStreamRecordContentRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string DescribeLiveStreamRecordContentRequest::getStreamName() const { + return streamName_; } -std::string DescribeLiveStreamRecordContentRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveStreamRecordContentRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void DescribeLiveStreamRecordContentRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveStreamRecordContentRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveStreamRecordContentRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveStreamRecordContentRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveStreamRecordContentRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveStreamRecordContentRequest::getEndTime() const { + return endTime_; } -long DescribeLiveStreamRecordContentRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveStreamRecordContentRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveStreamRecordContentRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveStreamRecordContentRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveStreamRecordContentRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamRecordContentResult.cc b/live/src/model/DescribeLiveStreamRecordContentResult.cc index 5b595b282..2550a07de 100644 --- a/live/src/model/DescribeLiveStreamRecordContentResult.cc +++ b/live/src/model/DescribeLiveStreamRecordContentResult.cc @@ -43,18 +43,18 @@ void DescribeLiveStreamRecordContentResult::parse(const std::string &payload) for (auto valueRecordContentInfoListRecordContentInfo : allRecordContentInfoListNode) { RecordContentInfo recordContentInfoListObject; - if(!valueRecordContentInfoListRecordContentInfo["OssEndpoint"].isNull()) - recordContentInfoListObject.ossEndpoint = valueRecordContentInfoListRecordContentInfo["OssEndpoint"].asString(); + if(!valueRecordContentInfoListRecordContentInfo["EndTime"].isNull()) + recordContentInfoListObject.endTime = valueRecordContentInfoListRecordContentInfo["EndTime"].asString(); + if(!valueRecordContentInfoListRecordContentInfo["StartTime"].isNull()) + recordContentInfoListObject.startTime = valueRecordContentInfoListRecordContentInfo["StartTime"].asString(); + if(!valueRecordContentInfoListRecordContentInfo["Duration"].isNull()) + recordContentInfoListObject.duration = std::stof(valueRecordContentInfoListRecordContentInfo["Duration"].asString()); if(!valueRecordContentInfoListRecordContentInfo["OssBucket"].isNull()) recordContentInfoListObject.ossBucket = valueRecordContentInfoListRecordContentInfo["OssBucket"].asString(); if(!valueRecordContentInfoListRecordContentInfo["OssObjectPrefix"].isNull()) recordContentInfoListObject.ossObjectPrefix = valueRecordContentInfoListRecordContentInfo["OssObjectPrefix"].asString(); - if(!valueRecordContentInfoListRecordContentInfo["StartTime"].isNull()) - recordContentInfoListObject.startTime = valueRecordContentInfoListRecordContentInfo["StartTime"].asString(); - if(!valueRecordContentInfoListRecordContentInfo["EndTime"].isNull()) - recordContentInfoListObject.endTime = valueRecordContentInfoListRecordContentInfo["EndTime"].asString(); - if(!valueRecordContentInfoListRecordContentInfo["Duration"].isNull()) - recordContentInfoListObject.duration = std::stof(valueRecordContentInfoListRecordContentInfo["Duration"].asString()); + if(!valueRecordContentInfoListRecordContentInfo["OssEndpoint"].isNull()) + recordContentInfoListObject.ossEndpoint = valueRecordContentInfoListRecordContentInfo["OssEndpoint"].asString(); recordContentInfoList_.push_back(recordContentInfoListObject); } diff --git a/live/src/model/DescribeLiveStreamRecordIndexFileRequest.cc b/live/src/model/DescribeLiveStreamRecordIndexFileRequest.cc index fe6b8972c..fd19420e9 100644 --- a/live/src/model/DescribeLiveStreamRecordIndexFileRequest.cc +++ b/live/src/model/DescribeLiveStreamRecordIndexFileRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamRecordIndexFileRequest; - -DescribeLiveStreamRecordIndexFileRequest::DescribeLiveStreamRecordIndexFileRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamRecordIndexFile") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamRecordIndexFileRequest::~DescribeLiveStreamRecordIndexFileRequest() -{} - -std::string DescribeLiveStreamRecordIndexFileRequest::getAppName()const -{ - return appName_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamRecordIndexFileRequest; + +DescribeLiveStreamRecordIndexFileRequest::DescribeLiveStreamRecordIndexFileRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamRecordIndexFile") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveStreamRecordIndexFileRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +DescribeLiveStreamRecordIndexFileRequest::~DescribeLiveStreamRecordIndexFileRequest() {} + +std::string DescribeLiveStreamRecordIndexFileRequest::getAppName() const { + return appName_; } -std::string DescribeLiveStreamRecordIndexFileRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeLiveStreamRecordIndexFileRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DescribeLiveStreamRecordIndexFileRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeLiveStreamRecordIndexFileRequest::getSecurityToken() const { + return securityToken_; } -std::string DescribeLiveStreamRecordIndexFileRequest::getStreamName()const -{ - return streamName_; +void DescribeLiveStreamRecordIndexFileRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeLiveStreamRecordIndexFileRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string DescribeLiveStreamRecordIndexFileRequest::getStreamName() const { + return streamName_; } -std::string DescribeLiveStreamRecordIndexFileRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveStreamRecordIndexFileRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void DescribeLiveStreamRecordIndexFileRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveStreamRecordIndexFileRequest::getDomainName() const { + return domainName_; } -long DescribeLiveStreamRecordIndexFileRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveStreamRecordIndexFileRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveStreamRecordIndexFileRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveStreamRecordIndexFileRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeLiveStreamRecordIndexFileRequest::getRecordId()const -{ - return recordId_; +void DescribeLiveStreamRecordIndexFileRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeLiveStreamRecordIndexFileRequest::setRecordId(const std::string& recordId) -{ - recordId_ = recordId; - setParameter("RecordId", recordId); +std::string DescribeLiveStreamRecordIndexFileRequest::getRecordId() const { + return recordId_; +} + +void DescribeLiveStreamRecordIndexFileRequest::setRecordId(const std::string &recordId) { + recordId_ = recordId; + setParameter(std::string("RecordId"), recordId); } diff --git a/live/src/model/DescribeLiveStreamRecordIndexFileResult.cc b/live/src/model/DescribeLiveStreamRecordIndexFileResult.cc index d6f4575e2..1393d9cd9 100644 --- a/live/src/model/DescribeLiveStreamRecordIndexFileResult.cc +++ b/live/src/model/DescribeLiveStreamRecordIndexFileResult.cc @@ -40,34 +40,34 @@ void DescribeLiveStreamRecordIndexFileResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto recordIndexInfoNode = value["RecordIndexInfo"]; - if(!recordIndexInfoNode["RecordId"].isNull()) - recordIndexInfo_.recordId = recordIndexInfoNode["RecordId"].asString(); if(!recordIndexInfoNode["RecordUrl"].isNull()) recordIndexInfo_.recordUrl = recordIndexInfoNode["RecordUrl"].asString(); - if(!recordIndexInfoNode["DomainName"].isNull()) - recordIndexInfo_.domainName = recordIndexInfoNode["DomainName"].asString(); - if(!recordIndexInfoNode["AppName"].isNull()) - recordIndexInfo_.appName = recordIndexInfoNode["AppName"].asString(); if(!recordIndexInfoNode["StreamName"].isNull()) recordIndexInfo_.streamName = recordIndexInfoNode["StreamName"].asString(); - if(!recordIndexInfoNode["OssBucket"].isNull()) - recordIndexInfo_.ossBucket = recordIndexInfoNode["OssBucket"].asString(); - if(!recordIndexInfoNode["OssEndpoint"].isNull()) - recordIndexInfo_.ossEndpoint = recordIndexInfoNode["OssEndpoint"].asString(); - if(!recordIndexInfoNode["OssObject"].isNull()) - recordIndexInfo_.ossObject = recordIndexInfoNode["OssObject"].asString(); - if(!recordIndexInfoNode["StartTime"].isNull()) - recordIndexInfo_.startTime = recordIndexInfoNode["StartTime"].asString(); - if(!recordIndexInfoNode["EndTime"].isNull()) - recordIndexInfo_.endTime = recordIndexInfoNode["EndTime"].asString(); - if(!recordIndexInfoNode["Duration"].isNull()) - recordIndexInfo_.duration = std::stof(recordIndexInfoNode["Duration"].asString()); - if(!recordIndexInfoNode["Height"].isNull()) - recordIndexInfo_.height = std::stoi(recordIndexInfoNode["Height"].asString()); - if(!recordIndexInfoNode["Width"].isNull()) - recordIndexInfo_.width = std::stoi(recordIndexInfoNode["Width"].asString()); if(!recordIndexInfoNode["CreateTime"].isNull()) recordIndexInfo_.createTime = recordIndexInfoNode["CreateTime"].asString(); + if(!recordIndexInfoNode["RecordId"].isNull()) + recordIndexInfo_.recordId = recordIndexInfoNode["RecordId"].asString(); + if(!recordIndexInfoNode["Height"].isNull()) + recordIndexInfo_.height = std::stoi(recordIndexInfoNode["Height"].asString()); + if(!recordIndexInfoNode["OssBucket"].isNull()) + recordIndexInfo_.ossBucket = recordIndexInfoNode["OssBucket"].asString(); + if(!recordIndexInfoNode["DomainName"].isNull()) + recordIndexInfo_.domainName = recordIndexInfoNode["DomainName"].asString(); + if(!recordIndexInfoNode["OssObject"].isNull()) + recordIndexInfo_.ossObject = recordIndexInfoNode["OssObject"].asString(); + if(!recordIndexInfoNode["EndTime"].isNull()) + recordIndexInfo_.endTime = recordIndexInfoNode["EndTime"].asString(); + if(!recordIndexInfoNode["AppName"].isNull()) + recordIndexInfo_.appName = recordIndexInfoNode["AppName"].asString(); + if(!recordIndexInfoNode["StartTime"].isNull()) + recordIndexInfo_.startTime = recordIndexInfoNode["StartTime"].asString(); + if(!recordIndexInfoNode["Width"].isNull()) + recordIndexInfo_.width = std::stoi(recordIndexInfoNode["Width"].asString()); + if(!recordIndexInfoNode["Duration"].isNull()) + recordIndexInfo_.duration = std::stof(recordIndexInfoNode["Duration"].asString()); + if(!recordIndexInfoNode["OssEndpoint"].isNull()) + recordIndexInfo_.ossEndpoint = recordIndexInfoNode["OssEndpoint"].asString(); } diff --git a/live/src/model/DescribeLiveStreamRecordIndexFilesRequest.cc b/live/src/model/DescribeLiveStreamRecordIndexFilesRequest.cc index 6772dfe67..9ed4511f3 100644 --- a/live/src/model/DescribeLiveStreamRecordIndexFilesRequest.cc +++ b/live/src/model/DescribeLiveStreamRecordIndexFilesRequest.cc @@ -1,139 +1,117 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamRecordIndexFilesRequest; - -DescribeLiveStreamRecordIndexFilesRequest::DescribeLiveStreamRecordIndexFilesRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamRecordIndexFiles") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamRecordIndexFilesRequest::~DescribeLiveStreamRecordIndexFilesRequest() -{} - -std::string DescribeLiveStreamRecordIndexFilesRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamRecordIndexFilesRequest; + +DescribeLiveStreamRecordIndexFilesRequest::DescribeLiveStreamRecordIndexFilesRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamRecordIndexFiles") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveStreamRecordIndexFilesRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeLiveStreamRecordIndexFilesRequest::~DescribeLiveStreamRecordIndexFilesRequest() {} + +std::string DescribeLiveStreamRecordIndexFilesRequest::getStartTime() const { + return startTime_; } -int DescribeLiveStreamRecordIndexFilesRequest::getPageNum()const -{ - return pageNum_; +void DescribeLiveStreamRecordIndexFilesRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveStreamRecordIndexFilesRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); +int DescribeLiveStreamRecordIndexFilesRequest::getPageNum() const { + return pageNum_; } -std::string DescribeLiveStreamRecordIndexFilesRequest::getAppName()const -{ - return appName_; +void DescribeLiveStreamRecordIndexFilesRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setParameter(std::string("PageNum"), std::to_string(pageNum)); } -void DescribeLiveStreamRecordIndexFilesRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string DescribeLiveStreamRecordIndexFilesRequest::getAppName() const { + return appName_; } -std::string DescribeLiveStreamRecordIndexFilesRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeLiveStreamRecordIndexFilesRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DescribeLiveStreamRecordIndexFilesRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeLiveStreamRecordIndexFilesRequest::getSecurityToken() const { + return securityToken_; } -int DescribeLiveStreamRecordIndexFilesRequest::getPageSize()const -{ - return pageSize_; +void DescribeLiveStreamRecordIndexFilesRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeLiveStreamRecordIndexFilesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int DescribeLiveStreamRecordIndexFilesRequest::getPageSize() const { + return pageSize_; } -std::string DescribeLiveStreamRecordIndexFilesRequest::getStreamName()const -{ - return streamName_; +void DescribeLiveStreamRecordIndexFilesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeLiveStreamRecordIndexFilesRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string DescribeLiveStreamRecordIndexFilesRequest::getStreamName() const { + return streamName_; } -std::string DescribeLiveStreamRecordIndexFilesRequest::getOrder()const -{ - return order_; +void DescribeLiveStreamRecordIndexFilesRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void DescribeLiveStreamRecordIndexFilesRequest::setOrder(const std::string& order) -{ - order_ = order; - setParameter("Order", order); +std::string DescribeLiveStreamRecordIndexFilesRequest::getOrder() const { + return order_; } -std::string DescribeLiveStreamRecordIndexFilesRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveStreamRecordIndexFilesRequest::setOrder(const std::string &order) { + order_ = order; + setParameter(std::string("Order"), order); } -void DescribeLiveStreamRecordIndexFilesRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveStreamRecordIndexFilesRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveStreamRecordIndexFilesRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveStreamRecordIndexFilesRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveStreamRecordIndexFilesRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveStreamRecordIndexFilesRequest::getEndTime() const { + return endTime_; } -long DescribeLiveStreamRecordIndexFilesRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveStreamRecordIndexFilesRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveStreamRecordIndexFilesRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamRecordIndexFilesResult.cc b/live/src/model/DescribeLiveStreamRecordIndexFilesResult.cc index 68de1cc3f..26030793b 100644 --- a/live/src/model/DescribeLiveStreamRecordIndexFilesResult.cc +++ b/live/src/model/DescribeLiveStreamRecordIndexFilesResult.cc @@ -43,46 +43,46 @@ void DescribeLiveStreamRecordIndexFilesResult::parse(const std::string &payload) for (auto valueRecordIndexInfoListRecordIndexInfo : allRecordIndexInfoListNode) { RecordIndexInfo recordIndexInfoListObject; - if(!valueRecordIndexInfoListRecordIndexInfo["RecordId"].isNull()) - recordIndexInfoListObject.recordId = valueRecordIndexInfoListRecordIndexInfo["RecordId"].asString(); if(!valueRecordIndexInfoListRecordIndexInfo["RecordUrl"].isNull()) recordIndexInfoListObject.recordUrl = valueRecordIndexInfoListRecordIndexInfo["RecordUrl"].asString(); - if(!valueRecordIndexInfoListRecordIndexInfo["DomainName"].isNull()) - recordIndexInfoListObject.domainName = valueRecordIndexInfoListRecordIndexInfo["DomainName"].asString(); - if(!valueRecordIndexInfoListRecordIndexInfo["AppName"].isNull()) - recordIndexInfoListObject.appName = valueRecordIndexInfoListRecordIndexInfo["AppName"].asString(); if(!valueRecordIndexInfoListRecordIndexInfo["StreamName"].isNull()) recordIndexInfoListObject.streamName = valueRecordIndexInfoListRecordIndexInfo["StreamName"].asString(); - if(!valueRecordIndexInfoListRecordIndexInfo["OssBucket"].isNull()) - recordIndexInfoListObject.ossBucket = valueRecordIndexInfoListRecordIndexInfo["OssBucket"].asString(); - if(!valueRecordIndexInfoListRecordIndexInfo["OssEndpoint"].isNull()) - recordIndexInfoListObject.ossEndpoint = valueRecordIndexInfoListRecordIndexInfo["OssEndpoint"].asString(); - if(!valueRecordIndexInfoListRecordIndexInfo["OssObject"].isNull()) - recordIndexInfoListObject.ossObject = valueRecordIndexInfoListRecordIndexInfo["OssObject"].asString(); - if(!valueRecordIndexInfoListRecordIndexInfo["StartTime"].isNull()) - recordIndexInfoListObject.startTime = valueRecordIndexInfoListRecordIndexInfo["StartTime"].asString(); - if(!valueRecordIndexInfoListRecordIndexInfo["EndTime"].isNull()) - recordIndexInfoListObject.endTime = valueRecordIndexInfoListRecordIndexInfo["EndTime"].asString(); - if(!valueRecordIndexInfoListRecordIndexInfo["Duration"].isNull()) - recordIndexInfoListObject.duration = std::stof(valueRecordIndexInfoListRecordIndexInfo["Duration"].asString()); - if(!valueRecordIndexInfoListRecordIndexInfo["Height"].isNull()) - recordIndexInfoListObject.height = std::stoi(valueRecordIndexInfoListRecordIndexInfo["Height"].asString()); - if(!valueRecordIndexInfoListRecordIndexInfo["Width"].isNull()) - recordIndexInfoListObject.width = std::stoi(valueRecordIndexInfoListRecordIndexInfo["Width"].asString()); if(!valueRecordIndexInfoListRecordIndexInfo["CreateTime"].isNull()) recordIndexInfoListObject.createTime = valueRecordIndexInfoListRecordIndexInfo["CreateTime"].asString(); + if(!valueRecordIndexInfoListRecordIndexInfo["RecordId"].isNull()) + recordIndexInfoListObject.recordId = valueRecordIndexInfoListRecordIndexInfo["RecordId"].asString(); + if(!valueRecordIndexInfoListRecordIndexInfo["Height"].isNull()) + recordIndexInfoListObject.height = std::stoi(valueRecordIndexInfoListRecordIndexInfo["Height"].asString()); + if(!valueRecordIndexInfoListRecordIndexInfo["OssBucket"].isNull()) + recordIndexInfoListObject.ossBucket = valueRecordIndexInfoListRecordIndexInfo["OssBucket"].asString(); + if(!valueRecordIndexInfoListRecordIndexInfo["DomainName"].isNull()) + recordIndexInfoListObject.domainName = valueRecordIndexInfoListRecordIndexInfo["DomainName"].asString(); + if(!valueRecordIndexInfoListRecordIndexInfo["OssObject"].isNull()) + recordIndexInfoListObject.ossObject = valueRecordIndexInfoListRecordIndexInfo["OssObject"].asString(); + if(!valueRecordIndexInfoListRecordIndexInfo["EndTime"].isNull()) + recordIndexInfoListObject.endTime = valueRecordIndexInfoListRecordIndexInfo["EndTime"].asString(); + if(!valueRecordIndexInfoListRecordIndexInfo["AppName"].isNull()) + recordIndexInfoListObject.appName = valueRecordIndexInfoListRecordIndexInfo["AppName"].asString(); + if(!valueRecordIndexInfoListRecordIndexInfo["StartTime"].isNull()) + recordIndexInfoListObject.startTime = valueRecordIndexInfoListRecordIndexInfo["StartTime"].asString(); + if(!valueRecordIndexInfoListRecordIndexInfo["Width"].isNull()) + recordIndexInfoListObject.width = std::stoi(valueRecordIndexInfoListRecordIndexInfo["Width"].asString()); + if(!valueRecordIndexInfoListRecordIndexInfo["Duration"].isNull()) + recordIndexInfoListObject.duration = std::stof(valueRecordIndexInfoListRecordIndexInfo["Duration"].asString()); + if(!valueRecordIndexInfoListRecordIndexInfo["OssEndpoint"].isNull()) + recordIndexInfoListObject.ossEndpoint = valueRecordIndexInfoListRecordIndexInfo["OssEndpoint"].asString(); recordIndexInfoList_.push_back(recordIndexInfoListObject); } if(!value["PageNum"].isNull()) pageNum_ = std::stoi(value["PageNum"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); if(!value["Order"].isNull()) order_ = value["Order"].asString(); - if(!value["TotalNum"].isNull()) - totalNum_ = std::stoi(value["TotalNum"].asString()); if(!value["TotalPage"].isNull()) totalPage_ = std::stoi(value["TotalPage"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); } @@ -101,16 +101,16 @@ int DescribeLiveStreamRecordIndexFilesResult::getPageNum()const return pageNum_; } -int DescribeLiveStreamRecordIndexFilesResult::getPageSize()const -{ - return pageSize_; -} - int DescribeLiveStreamRecordIndexFilesResult::getTotalPage()const { return totalPage_; } +int DescribeLiveStreamRecordIndexFilesResult::getPageSize()const +{ + return pageSize_; +} + std::vector DescribeLiveStreamRecordIndexFilesResult::getRecordIndexInfoList()const { return recordIndexInfoList_; diff --git a/live/src/model/DescribeLiveStreamSnapshotInfoRequest.cc b/live/src/model/DescribeLiveStreamSnapshotInfoRequest.cc index cd6df2957..97f25abbe 100644 --- a/live/src/model/DescribeLiveStreamSnapshotInfoRequest.cc +++ b/live/src/model/DescribeLiveStreamSnapshotInfoRequest.cc @@ -1,128 +1,108 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamSnapshotInfoRequest; - -DescribeLiveStreamSnapshotInfoRequest::DescribeLiveStreamSnapshotInfoRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamSnapshotInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamSnapshotInfoRequest::~DescribeLiveStreamSnapshotInfoRequest() -{} - -std::string DescribeLiveStreamSnapshotInfoRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamSnapshotInfoRequest; + +DescribeLiveStreamSnapshotInfoRequest::DescribeLiveStreamSnapshotInfoRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamSnapshotInfo") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveStreamSnapshotInfoRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeLiveStreamSnapshotInfoRequest::~DescribeLiveStreamSnapshotInfoRequest() {} + +std::string DescribeLiveStreamSnapshotInfoRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveStreamSnapshotInfoRequest::getAppName()const -{ - return appName_; +void DescribeLiveStreamSnapshotInfoRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveStreamSnapshotInfoRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string DescribeLiveStreamSnapshotInfoRequest::getAppName() const { + return appName_; } -std::string DescribeLiveStreamSnapshotInfoRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeLiveStreamSnapshotInfoRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DescribeLiveStreamSnapshotInfoRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeLiveStreamSnapshotInfoRequest::getSecurityToken() const { + return securityToken_; } -int DescribeLiveStreamSnapshotInfoRequest::getLimit()const -{ - return limit_; +void DescribeLiveStreamSnapshotInfoRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeLiveStreamSnapshotInfoRequest::setLimit(int limit) -{ - limit_ = limit; - setParameter("Limit", std::to_string(limit)); +int DescribeLiveStreamSnapshotInfoRequest::getLimit() const { + return limit_; } -std::string DescribeLiveStreamSnapshotInfoRequest::getStreamName()const -{ - return streamName_; +void DescribeLiveStreamSnapshotInfoRequest::setLimit(int limit) { + limit_ = limit; + setParameter(std::string("Limit"), std::to_string(limit)); } -void DescribeLiveStreamSnapshotInfoRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string DescribeLiveStreamSnapshotInfoRequest::getStreamName() const { + return streamName_; } -std::string DescribeLiveStreamSnapshotInfoRequest::getOrder()const -{ - return order_; +void DescribeLiveStreamSnapshotInfoRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void DescribeLiveStreamSnapshotInfoRequest::setOrder(const std::string& order) -{ - order_ = order; - setParameter("Order", order); +std::string DescribeLiveStreamSnapshotInfoRequest::getOrder() const { + return order_; } -std::string DescribeLiveStreamSnapshotInfoRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveStreamSnapshotInfoRequest::setOrder(const std::string &order) { + order_ = order; + setParameter(std::string("Order"), order); } -void DescribeLiveStreamSnapshotInfoRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveStreamSnapshotInfoRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveStreamSnapshotInfoRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveStreamSnapshotInfoRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveStreamSnapshotInfoRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveStreamSnapshotInfoRequest::getEndTime() const { + return endTime_; } -long DescribeLiveStreamSnapshotInfoRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveStreamSnapshotInfoRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveStreamSnapshotInfoRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveStreamSnapshotInfoRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveStreamSnapshotInfoRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamSnapshotInfoResult.cc b/live/src/model/DescribeLiveStreamSnapshotInfoResult.cc index 751897a3d..b7800be79 100644 --- a/live/src/model/DescribeLiveStreamSnapshotInfoResult.cc +++ b/live/src/model/DescribeLiveStreamSnapshotInfoResult.cc @@ -43,14 +43,18 @@ void DescribeLiveStreamSnapshotInfoResult::parse(const std::string &payload) for (auto valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo : allLiveStreamSnapshotInfoListNode) { LiveStreamSnapshotInfo liveStreamSnapshotInfoListObject; - if(!valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["OssEndpoint"].isNull()) - liveStreamSnapshotInfoListObject.ossEndpoint = valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["OssEndpoint"].asString(); - if(!valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["OssBucket"].isNull()) - liveStreamSnapshotInfoListObject.ossBucket = valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["OssBucket"].asString(); if(!valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["OssObject"].isNull()) liveStreamSnapshotInfoListObject.ossObject = valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["OssObject"].asString(); + if(!valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["OssBucket"].isNull()) + liveStreamSnapshotInfoListObject.ossBucket = valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["OssBucket"].asString(); if(!valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["CreateTime"].isNull()) liveStreamSnapshotInfoListObject.createTime = valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["CreateTime"].asString(); + if(!valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["OssEndpoint"].isNull()) + liveStreamSnapshotInfoListObject.ossEndpoint = valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["OssEndpoint"].asString(); + if(!valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["IsOverlay"].isNull()) + liveStreamSnapshotInfoListObject.isOverlay = valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["IsOverlay"].asString() == "true"; + if(!valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["CreateTimestamp"].isNull()) + liveStreamSnapshotInfoListObject.createTimestamp = std::stol(valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["CreateTimestamp"].asString()); liveStreamSnapshotInfoList_.push_back(liveStreamSnapshotInfoListObject); } if(!value["NextStartTime"].isNull()) diff --git a/live/src/model/DescribeLiveStreamStateRequest.cc b/live/src/model/DescribeLiveStreamStateRequest.cc index ba7593d9f..01a3de7fc 100644 --- a/live/src/model/DescribeLiveStreamStateRequest.cc +++ b/live/src/model/DescribeLiveStreamStateRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamStateRequest; - -DescribeLiveStreamStateRequest::DescribeLiveStreamStateRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamState") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamStateRequest::~DescribeLiveStreamStateRequest() -{} - -std::string DescribeLiveStreamStateRequest::getAppName()const -{ - return appName_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamStateRequest; + +DescribeLiveStreamStateRequest::DescribeLiveStreamStateRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamState") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveStreamStateRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +DescribeLiveStreamStateRequest::~DescribeLiveStreamStateRequest() {} + +std::string DescribeLiveStreamStateRequest::getAppName() const { + return appName_; } -std::string DescribeLiveStreamStateRequest::getStreamName()const -{ - return streamName_; +void DescribeLiveStreamStateRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DescribeLiveStreamStateRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string DescribeLiveStreamStateRequest::getStreamName() const { + return streamName_; } -std::string DescribeLiveStreamStateRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveStreamStateRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void DescribeLiveStreamStateRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveStreamStateRequest::getDomainName() const { + return domainName_; } -long DescribeLiveStreamStateRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveStreamStateRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveStreamStateRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveStreamStateRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveStreamStateRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamStateResult.cc b/live/src/model/DescribeLiveStreamStateResult.cc index ef8cf1f2b..aa254c995 100644 --- a/live/src/model/DescribeLiveStreamStateResult.cc +++ b/live/src/model/DescribeLiveStreamStateResult.cc @@ -39,10 +39,10 @@ void DescribeLiveStreamStateResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["StreamState"].isNull()) - streamState_ = value["StreamState"].asString(); if(!value["Type"].isNull()) type_ = value["Type"].asString(); + if(!value["StreamState"].isNull()) + streamState_ = value["StreamState"].asString(); } diff --git a/live/src/model/DescribeLiveStreamTranscodeInfoRequest.cc b/live/src/model/DescribeLiveStreamTranscodeInfoRequest.cc index 33c68c8d3..dd55d3496 100644 --- a/live/src/model/DescribeLiveStreamTranscodeInfoRequest.cc +++ b/live/src/model/DescribeLiveStreamTranscodeInfoRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamTranscodeInfoRequest; - -DescribeLiveStreamTranscodeInfoRequest::DescribeLiveStreamTranscodeInfoRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamTranscodeInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamTranscodeInfoRequest::~DescribeLiveStreamTranscodeInfoRequest() -{} - -long DescribeLiveStreamTranscodeInfoRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamTranscodeInfoRequest; + +DescribeLiveStreamTranscodeInfoRequest::DescribeLiveStreamTranscodeInfoRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamTranscodeInfo") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveStreamTranscodeInfoRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +DescribeLiveStreamTranscodeInfoRequest::~DescribeLiveStreamTranscodeInfoRequest() {} + +long DescribeLiveStreamTranscodeInfoRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeLiveStreamTranscodeInfoRequest::getDomainTranscodeName()const -{ - return domainTranscodeName_; +void DescribeLiveStreamTranscodeInfoRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeLiveStreamTranscodeInfoRequest::setDomainTranscodeName(const std::string& domainTranscodeName) -{ - domainTranscodeName_ = domainTranscodeName; - setParameter("DomainTranscodeName", domainTranscodeName); +std::string DescribeLiveStreamTranscodeInfoRequest::getDomainTranscodeName() const { + return domainTranscodeName_; +} + +void DescribeLiveStreamTranscodeInfoRequest::setDomainTranscodeName(const std::string &domainTranscodeName) { + domainTranscodeName_ = domainTranscodeName; + setParameter(std::string("DomainTranscodeName"), domainTranscodeName); } diff --git a/live/src/model/DescribeLiveStreamTranscodeInfoResult.cc b/live/src/model/DescribeLiveStreamTranscodeInfoResult.cc index 2c475a70d..8d2b579b3 100644 --- a/live/src/model/DescribeLiveStreamTranscodeInfoResult.cc +++ b/live/src/model/DescribeLiveStreamTranscodeInfoResult.cc @@ -45,46 +45,48 @@ void DescribeLiveStreamTranscodeInfoResult::parse(const std::string &payload) DomainTranscodeInfo domainTranscodeListObject; if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeApp"].isNull()) domainTranscodeListObject.transcodeApp = valueDomainTranscodeListDomainTranscodeInfo["TranscodeApp"].asString(); - if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeName"].isNull()) - domainTranscodeListObject.transcodeName = valueDomainTranscodeListDomainTranscodeInfo["TranscodeName"].asString(); if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeTemplate"].isNull()) domainTranscodeListObject.transcodeTemplate = valueDomainTranscodeListDomainTranscodeInfo["TranscodeTemplate"].asString(); + if(!valueDomainTranscodeListDomainTranscodeInfo["IsLazy"].isNull()) + domainTranscodeListObject.isLazy = valueDomainTranscodeListDomainTranscodeInfo["IsLazy"].asString() == "true"; + if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeName"].isNull()) + domainTranscodeListObject.transcodeName = valueDomainTranscodeListDomainTranscodeInfo["TranscodeName"].asString(); auto customTranscodeParametersNode = value["CustomTranscodeParameters"]; - if(!customTranscodeParametersNode["RtsFlag"].isNull()) - domainTranscodeListObject.customTranscodeParameters.rtsFlag = customTranscodeParametersNode["RtsFlag"].asString(); - if(!customTranscodeParametersNode["Bframes"].isNull()) - domainTranscodeListObject.customTranscodeParameters.bframes = customTranscodeParametersNode["Bframes"].asString(); - if(!customTranscodeParametersNode["VideoBitrate"].isNull()) - domainTranscodeListObject.customTranscodeParameters.videoBitrate = std::stoi(customTranscodeParametersNode["VideoBitrate"].asString()); - if(!customTranscodeParametersNode["FPS"].isNull()) - domainTranscodeListObject.customTranscodeParameters.fPS = std::stoi(customTranscodeParametersNode["FPS"].asString()); - if(!customTranscodeParametersNode["Height"].isNull()) - domainTranscodeListObject.customTranscodeParameters.height = std::stoi(customTranscodeParametersNode["Height"].asString()); - if(!customTranscodeParametersNode["Width"].isNull()) - domainTranscodeListObject.customTranscodeParameters.width = std::stoi(customTranscodeParametersNode["Width"].asString()); - if(!customTranscodeParametersNode["TemplateType"].isNull()) - domainTranscodeListObject.customTranscodeParameters.templateType = customTranscodeParametersNode["TemplateType"].asString(); if(!customTranscodeParametersNode["VideoProfile"].isNull()) domainTranscodeListObject.customTranscodeParameters.videoProfile = customTranscodeParametersNode["VideoProfile"].asString(); - if(!customTranscodeParametersNode["Gop"].isNull()) - domainTranscodeListObject.customTranscodeParameters.gop = customTranscodeParametersNode["Gop"].asString(); if(!customTranscodeParametersNode["AudioBitrate"].isNull()) domainTranscodeListObject.customTranscodeParameters.audioBitrate = std::stoi(customTranscodeParametersNode["AudioBitrate"].asString()); - if(!customTranscodeParametersNode["AudioProfile"].isNull()) - domainTranscodeListObject.customTranscodeParameters.audioProfile = customTranscodeParametersNode["AudioProfile"].asString(); - if(!customTranscodeParametersNode["AudioCodec"].isNull()) - domainTranscodeListObject.customTranscodeParameters.audioCodec = customTranscodeParametersNode["AudioCodec"].asString(); + if(!customTranscodeParametersNode["RtsFlag"].isNull()) + domainTranscodeListObject.customTranscodeParameters.rtsFlag = customTranscodeParametersNode["RtsFlag"].asString(); + if(!customTranscodeParametersNode["Height"].isNull()) + domainTranscodeListObject.customTranscodeParameters.height = std::stoi(customTranscodeParametersNode["Height"].asString()); + if(!customTranscodeParametersNode["TemplateType"].isNull()) + domainTranscodeListObject.customTranscodeParameters.templateType = customTranscodeParametersNode["TemplateType"].asString(); + if(!customTranscodeParametersNode["Bframes"].isNull()) + domainTranscodeListObject.customTranscodeParameters.bframes = customTranscodeParametersNode["Bframes"].asString(); if(!customTranscodeParametersNode["AudioRate"].isNull()) domainTranscodeListObject.customTranscodeParameters.audioRate = std::stoi(customTranscodeParametersNode["AudioRate"].asString()); + if(!customTranscodeParametersNode["FPS"].isNull()) + domainTranscodeListObject.customTranscodeParameters.fPS = std::stoi(customTranscodeParametersNode["FPS"].asString()); + if(!customTranscodeParametersNode["AudioCodec"].isNull()) + domainTranscodeListObject.customTranscodeParameters.audioCodec = customTranscodeParametersNode["AudioCodec"].asString(); + if(!customTranscodeParametersNode["Gop"].isNull()) + domainTranscodeListObject.customTranscodeParameters.gop = customTranscodeParametersNode["Gop"].asString(); + if(!customTranscodeParametersNode["VideoBitrate"].isNull()) + domainTranscodeListObject.customTranscodeParameters.videoBitrate = std::stoi(customTranscodeParametersNode["VideoBitrate"].asString()); + if(!customTranscodeParametersNode["Width"].isNull()) + domainTranscodeListObject.customTranscodeParameters.width = std::stoi(customTranscodeParametersNode["Width"].asString()); if(!customTranscodeParametersNode["AudioChannelNum"].isNull()) domainTranscodeListObject.customTranscodeParameters.audioChannelNum = std::stoi(customTranscodeParametersNode["AudioChannelNum"].asString()); + if(!customTranscodeParametersNode["AudioProfile"].isNull()) + domainTranscodeListObject.customTranscodeParameters.audioProfile = customTranscodeParametersNode["AudioProfile"].asString(); auto encryptParametersNode = value["EncryptParameters"]; if(!encryptParametersNode["EncryptType"].isNull()) domainTranscodeListObject.encryptParameters.encryptType = encryptParametersNode["EncryptType"].asString(); - if(!encryptParametersNode["KmsKeyExpireInterval"].isNull()) - domainTranscodeListObject.encryptParameters.kmsKeyExpireInterval = encryptParametersNode["KmsKeyExpireInterval"].asString(); if(!encryptParametersNode["KmsKeyID"].isNull()) domainTranscodeListObject.encryptParameters.kmsKeyID = encryptParametersNode["KmsKeyID"].asString(); + if(!encryptParametersNode["KmsKeyExpireInterval"].isNull()) + domainTranscodeListObject.encryptParameters.kmsKeyExpireInterval = encryptParametersNode["KmsKeyExpireInterval"].asString(); domainTranscodeList_.push_back(domainTranscodeListObject); } diff --git a/live/src/model/DescribeLiveStreamTranscodeStreamNumRequest.cc b/live/src/model/DescribeLiveStreamTranscodeStreamNumRequest.cc index 3cdb436b3..9d992cced 100644 --- a/live/src/model/DescribeLiveStreamTranscodeStreamNumRequest.cc +++ b/live/src/model/DescribeLiveStreamTranscodeStreamNumRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamTranscodeStreamNumRequest; - -DescribeLiveStreamTranscodeStreamNumRequest::DescribeLiveStreamTranscodeStreamNumRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamTranscodeStreamNum") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamTranscodeStreamNumRequest::~DescribeLiveStreamTranscodeStreamNumRequest() -{} - -std::string DescribeLiveStreamTranscodeStreamNumRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamTranscodeStreamNumRequest; + +DescribeLiveStreamTranscodeStreamNumRequest::DescribeLiveStreamTranscodeStreamNumRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamTranscodeStreamNum") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveStreamTranscodeStreamNumRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DescribeLiveStreamTranscodeStreamNumRequest::~DescribeLiveStreamTranscodeStreamNumRequest() {} + +std::string DescribeLiveStreamTranscodeStreamNumRequest::getDomainName() const { + return domainName_; } -long DescribeLiveStreamTranscodeStreamNumRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveStreamTranscodeStreamNumRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveStreamTranscodeStreamNumRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveStreamTranscodeStreamNumRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveStreamTranscodeStreamNumRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamTranscodeStreamNumResult.cc b/live/src/model/DescribeLiveStreamTranscodeStreamNumResult.cc index da7f134cf..5048e9423 100644 --- a/live/src/model/DescribeLiveStreamTranscodeStreamNumResult.cc +++ b/live/src/model/DescribeLiveStreamTranscodeStreamNumResult.cc @@ -39,14 +39,14 @@ void DescribeLiveStreamTranscodeStreamNumResult::parse(const std::string &payloa Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Total"].isNull()) - total_ = std::stol(value["Total"].asString()); - if(!value["TranscodedNumber"].isNull()) - transcodedNumber_ = std::stol(value["TranscodedNumber"].asString()); if(!value["UntranscodeNumber"].isNull()) untranscodeNumber_ = std::stol(value["UntranscodeNumber"].asString()); if(!value["LazyTranscodedNumber"].isNull()) lazyTranscodedNumber_ = std::stol(value["LazyTranscodedNumber"].asString()); + if(!value["TranscodedNumber"].isNull()) + transcodedNumber_ = std::stol(value["TranscodedNumber"].asString()); + if(!value["Total"].isNull()) + total_ = std::stol(value["Total"].asString()); } diff --git a/live/src/model/DescribeLiveStreamWatermarkRulesRequest.cc b/live/src/model/DescribeLiveStreamWatermarkRulesRequest.cc index 5cde7ad04..1df76798f 100644 --- a/live/src/model/DescribeLiveStreamWatermarkRulesRequest.cc +++ b/live/src/model/DescribeLiveStreamWatermarkRulesRequest.cc @@ -1,62 +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::DescribeLiveStreamWatermarkRulesRequest; - -DescribeLiveStreamWatermarkRulesRequest::DescribeLiveStreamWatermarkRulesRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamWatermarkRules") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamWatermarkRulesRequest::~DescribeLiveStreamWatermarkRulesRequest() -{} - -int DescribeLiveStreamWatermarkRulesRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamWatermarkRulesRequest; + +DescribeLiveStreamWatermarkRulesRequest::DescribeLiveStreamWatermarkRulesRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamWatermarkRules") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveStreamWatermarkRulesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +DescribeLiveStreamWatermarkRulesRequest::~DescribeLiveStreamWatermarkRulesRequest() {} + +int DescribeLiveStreamWatermarkRulesRequest::getPageNumber() const { + return pageNumber_; } -int DescribeLiveStreamWatermarkRulesRequest::getPageSize()const -{ - return pageSize_; +void DescribeLiveStreamWatermarkRulesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void DescribeLiveStreamWatermarkRulesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int DescribeLiveStreamWatermarkRulesRequest::getPageSize() const { + return pageSize_; } -long DescribeLiveStreamWatermarkRulesRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveStreamWatermarkRulesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeLiveStreamWatermarkRulesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveStreamWatermarkRulesRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveStreamWatermarkRulesRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamWatermarkRulesResult.cc b/live/src/model/DescribeLiveStreamWatermarkRulesResult.cc index f1442412d..4643fea64 100644 --- a/live/src/model/DescribeLiveStreamWatermarkRulesResult.cc +++ b/live/src/model/DescribeLiveStreamWatermarkRulesResult.cc @@ -43,20 +43,20 @@ void DescribeLiveStreamWatermarkRulesResult::parse(const std::string &payload) for (auto valueRuleInfoListRuleInfo : allRuleInfoListNode) { RuleInfo ruleInfoListObject; - if(!valueRuleInfoListRuleInfo["RuleId"].isNull()) - ruleInfoListObject.ruleId = valueRuleInfoListRuleInfo["RuleId"].asString(); - if(!valueRuleInfoListRuleInfo["Name"].isNull()) - ruleInfoListObject.name = valueRuleInfoListRuleInfo["Name"].asString(); if(!valueRuleInfoListRuleInfo["Domain"].isNull()) ruleInfoListObject.domain = valueRuleInfoListRuleInfo["Domain"].asString(); + if(!valueRuleInfoListRuleInfo["Description"].isNull()) + ruleInfoListObject.description = valueRuleInfoListRuleInfo["Description"].asString(); if(!valueRuleInfoListRuleInfo["App"].isNull()) ruleInfoListObject.app = valueRuleInfoListRuleInfo["App"].asString(); if(!valueRuleInfoListRuleInfo["Stream"].isNull()) ruleInfoListObject.stream = valueRuleInfoListRuleInfo["Stream"].asString(); + if(!valueRuleInfoListRuleInfo["Name"].isNull()) + ruleInfoListObject.name = valueRuleInfoListRuleInfo["Name"].asString(); if(!valueRuleInfoListRuleInfo["TemplateId"].isNull()) ruleInfoListObject.templateId = valueRuleInfoListRuleInfo["TemplateId"].asString(); - if(!valueRuleInfoListRuleInfo["Description"].isNull()) - ruleInfoListObject.description = valueRuleInfoListRuleInfo["Description"].asString(); + if(!valueRuleInfoListRuleInfo["RuleId"].isNull()) + ruleInfoListObject.ruleId = valueRuleInfoListRuleInfo["RuleId"].asString(); ruleInfoList_.push_back(ruleInfoListObject); } diff --git a/live/src/model/DescribeLiveStreamWatermarksRequest.cc b/live/src/model/DescribeLiveStreamWatermarksRequest.cc index daa79c3af..765929665 100644 --- a/live/src/model/DescribeLiveStreamWatermarksRequest.cc +++ b/live/src/model/DescribeLiveStreamWatermarksRequest.cc @@ -1,62 +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::DescribeLiveStreamWatermarksRequest; - -DescribeLiveStreamWatermarksRequest::DescribeLiveStreamWatermarksRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamWatermarks") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamWatermarksRequest::~DescribeLiveStreamWatermarksRequest() -{} - -int DescribeLiveStreamWatermarksRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamWatermarksRequest; + +DescribeLiveStreamWatermarksRequest::DescribeLiveStreamWatermarksRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamWatermarks") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveStreamWatermarksRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +DescribeLiveStreamWatermarksRequest::~DescribeLiveStreamWatermarksRequest() {} + +int DescribeLiveStreamWatermarksRequest::getPageNumber() const { + return pageNumber_; } -int DescribeLiveStreamWatermarksRequest::getPageSize()const -{ - return pageSize_; +void DescribeLiveStreamWatermarksRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void DescribeLiveStreamWatermarksRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int DescribeLiveStreamWatermarksRequest::getPageSize() const { + return pageSize_; } -long DescribeLiveStreamWatermarksRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveStreamWatermarksRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeLiveStreamWatermarksRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveStreamWatermarksRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveStreamWatermarksRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamWatermarksResult.cc b/live/src/model/DescribeLiveStreamWatermarksResult.cc index 4fde6972e..0127c95ba 100644 --- a/live/src/model/DescribeLiveStreamWatermarksResult.cc +++ b/live/src/model/DescribeLiveStreamWatermarksResult.cc @@ -43,30 +43,30 @@ void DescribeLiveStreamWatermarksResult::parse(const std::string &payload) for (auto valueWatermarkListWatermark : allWatermarkListNode) { Watermark watermarkListObject; - if(!valueWatermarkListWatermark["TemplateId"].isNull()) - watermarkListObject.templateId = valueWatermarkListWatermark["TemplateId"].asString(); - if(!valueWatermarkListWatermark["Name"].isNull()) - watermarkListObject.name = valueWatermarkListWatermark["Name"].asString(); if(!valueWatermarkListWatermark["Type"].isNull()) watermarkListObject.type = std::stoi(valueWatermarkListWatermark["Type"].asString()); - if(!valueWatermarkListWatermark["Description"].isNull()) - watermarkListObject.description = valueWatermarkListWatermark["Description"].asString(); - if(!valueWatermarkListWatermark["RefWidth"].isNull()) - watermarkListObject.refWidth = std::stoi(valueWatermarkListWatermark["RefWidth"].asString()); - if(!valueWatermarkListWatermark["RefHeight"].isNull()) - watermarkListObject.refHeight = std::stoi(valueWatermarkListWatermark["RefHeight"].asString()); if(!valueWatermarkListWatermark["XOffset"].isNull()) watermarkListObject.xOffset = std::stof(valueWatermarkListWatermark["XOffset"].asString()); + if(!valueWatermarkListWatermark["RefWidth"].isNull()) + watermarkListObject.refWidth = std::stoi(valueWatermarkListWatermark["RefWidth"].asString()); if(!valueWatermarkListWatermark["YOffset"].isNull()) watermarkListObject.yOffset = std::stof(valueWatermarkListWatermark["YOffset"].asString()); if(!valueWatermarkListWatermark["Height"].isNull()) watermarkListObject.height = std::stoi(valueWatermarkListWatermark["Height"].asString()); - if(!valueWatermarkListWatermark["Transparency"].isNull()) - watermarkListObject.transparency = std::stoi(valueWatermarkListWatermark["Transparency"].asString()); - if(!valueWatermarkListWatermark["OffsetCorner"].isNull()) - watermarkListObject.offsetCorner = valueWatermarkListWatermark["OffsetCorner"].asString(); + if(!valueWatermarkListWatermark["RefHeight"].isNull()) + watermarkListObject.refHeight = std::stoi(valueWatermarkListWatermark["RefHeight"].asString()); if(!valueWatermarkListWatermark["PictureUrl"].isNull()) watermarkListObject.pictureUrl = valueWatermarkListWatermark["PictureUrl"].asString(); + if(!valueWatermarkListWatermark["Transparency"].isNull()) + watermarkListObject.transparency = std::stoi(valueWatermarkListWatermark["Transparency"].asString()); + if(!valueWatermarkListWatermark["Description"].isNull()) + watermarkListObject.description = valueWatermarkListWatermark["Description"].asString(); + if(!valueWatermarkListWatermark["OffsetCorner"].isNull()) + watermarkListObject.offsetCorner = valueWatermarkListWatermark["OffsetCorner"].asString(); + if(!valueWatermarkListWatermark["Name"].isNull()) + watermarkListObject.name = valueWatermarkListWatermark["Name"].asString(); + if(!valueWatermarkListWatermark["TemplateId"].isNull()) + watermarkListObject.templateId = valueWatermarkListWatermark["TemplateId"].asString(); watermarkList_.push_back(watermarkListObject); } diff --git a/live/src/model/DescribeLiveStreamsBlockListRequest.cc b/live/src/model/DescribeLiveStreamsBlockListRequest.cc index fe86933b5..0de767ae8 100644 --- a/live/src/model/DescribeLiveStreamsBlockListRequest.cc +++ b/live/src/model/DescribeLiveStreamsBlockListRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamsBlockListRequest; - -DescribeLiveStreamsBlockListRequest::DescribeLiveStreamsBlockListRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamsBlockList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamsBlockListRequest::~DescribeLiveStreamsBlockListRequest() -{} - -int DescribeLiveStreamsBlockListRequest::getPageNum()const -{ - return pageNum_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamsBlockListRequest; + +DescribeLiveStreamsBlockListRequest::DescribeLiveStreamsBlockListRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamsBlockList") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveStreamsBlockListRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); +DescribeLiveStreamsBlockListRequest::~DescribeLiveStreamsBlockListRequest() {} + +int DescribeLiveStreamsBlockListRequest::getPageNum() const { + return pageNum_; } -std::string DescribeLiveStreamsBlockListRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeLiveStreamsBlockListRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setParameter(std::string("PageNum"), std::to_string(pageNum)); } -void DescribeLiveStreamsBlockListRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeLiveStreamsBlockListRequest::getSecurityToken() const { + return securityToken_; } -int DescribeLiveStreamsBlockListRequest::getPageSize()const -{ - return pageSize_; +void DescribeLiveStreamsBlockListRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeLiveStreamsBlockListRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int DescribeLiveStreamsBlockListRequest::getPageSize() const { + return pageSize_; } -std::string DescribeLiveStreamsBlockListRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveStreamsBlockListRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeLiveStreamsBlockListRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveStreamsBlockListRequest::getDomainName() const { + return domainName_; } -long DescribeLiveStreamsBlockListRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveStreamsBlockListRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveStreamsBlockListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveStreamsBlockListRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveStreamsBlockListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamsBlockListResult.cc b/live/src/model/DescribeLiveStreamsBlockListResult.cc index 3bd7bcd4e..bfc54769f 100644 --- a/live/src/model/DescribeLiveStreamsBlockListResult.cc +++ b/live/src/model/DescribeLiveStreamsBlockListResult.cc @@ -42,16 +42,16 @@ void DescribeLiveStreamsBlockListResult::parse(const std::string &payload) auto allStreamUrls = value["StreamUrls"]["StreamUrl"]; for (const auto &item : allStreamUrls) streamUrls_.push_back(item.asString()); - if(!value["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); if(!value["PageNum"].isNull()) pageNum_ = std::stoi(value["PageNum"].asString()); + if(!value["TotalPage"].isNull()) + totalPage_ = std::stoi(value["TotalPage"].asString()); if(!value["PageSize"].isNull()) pageSize_ = std::stoi(value["PageSize"].asString()); if(!value["TotalNum"].isNull()) totalNum_ = std::stoi(value["TotalNum"].asString()); - if(!value["TotalPage"].isNull()) - totalPage_ = std::stoi(value["TotalPage"].asString()); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); } @@ -65,16 +65,16 @@ int DescribeLiveStreamsBlockListResult::getPageNum()const return pageNum_; } -int DescribeLiveStreamsBlockListResult::getPageSize()const -{ - return pageSize_; -} - int DescribeLiveStreamsBlockListResult::getTotalPage()const { return totalPage_; } +int DescribeLiveStreamsBlockListResult::getPageSize()const +{ + return pageSize_; +} + std::string DescribeLiveStreamsBlockListResult::getDomainName()const { return domainName_; diff --git a/live/src/model/DescribeLiveStreamsControlHistoryRequest.cc b/live/src/model/DescribeLiveStreamsControlHistoryRequest.cc index fe73f9ce7..fb44fdb7b 100644 --- a/live/src/model/DescribeLiveStreamsControlHistoryRequest.cc +++ b/live/src/model/DescribeLiveStreamsControlHistoryRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamsControlHistoryRequest; - -DescribeLiveStreamsControlHistoryRequest::DescribeLiveStreamsControlHistoryRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamsControlHistory") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamsControlHistoryRequest::~DescribeLiveStreamsControlHistoryRequest() -{} - -std::string DescribeLiveStreamsControlHistoryRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamsControlHistoryRequest; + +DescribeLiveStreamsControlHistoryRequest::DescribeLiveStreamsControlHistoryRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamsControlHistory") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveStreamsControlHistoryRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeLiveStreamsControlHistoryRequest::~DescribeLiveStreamsControlHistoryRequest() {} + +std::string DescribeLiveStreamsControlHistoryRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveStreamsControlHistoryRequest::getAppName()const -{ - return appName_; +void DescribeLiveStreamsControlHistoryRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveStreamsControlHistoryRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string DescribeLiveStreamsControlHistoryRequest::getAppName() const { + return appName_; } -std::string DescribeLiveStreamsControlHistoryRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveStreamsControlHistoryRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DescribeLiveStreamsControlHistoryRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveStreamsControlHistoryRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveStreamsControlHistoryRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveStreamsControlHistoryRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveStreamsControlHistoryRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveStreamsControlHistoryRequest::getEndTime() const { + return endTime_; } -long DescribeLiveStreamsControlHistoryRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveStreamsControlHistoryRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveStreamsControlHistoryRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveStreamsControlHistoryRequest::getOwnerId() const { + return ownerId_; } -int DescribeLiveStreamsControlHistoryRequest::getRows()const -{ - return rows_; +void DescribeLiveStreamsControlHistoryRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeLiveStreamsControlHistoryRequest::setRows(int rows) -{ - rows_ = rows; - setParameter("Rows", std::to_string(rows)); +int DescribeLiveStreamsControlHistoryRequest::getRows() const { + return rows_; } -int DescribeLiveStreamsControlHistoryRequest::getPage()const -{ - return page_; +void DescribeLiveStreamsControlHistoryRequest::setRows(int rows) { + rows_ = rows; + setParameter(std::string("Rows"), std::to_string(rows)); } -void DescribeLiveStreamsControlHistoryRequest::setPage(int page) -{ - page_ = page; - setParameter("Page", std::to_string(page)); +int DescribeLiveStreamsControlHistoryRequest::getPage() const { + return page_; +} + +void DescribeLiveStreamsControlHistoryRequest::setPage(int page) { + page_ = page; + setParameter(std::string("Page"), std::to_string(page)); } diff --git a/live/src/model/DescribeLiveStreamsControlHistoryResult.cc b/live/src/model/DescribeLiveStreamsControlHistoryResult.cc index db8273d27..d2f1d42c9 100644 --- a/live/src/model/DescribeLiveStreamsControlHistoryResult.cc +++ b/live/src/model/DescribeLiveStreamsControlHistoryResult.cc @@ -43,14 +43,14 @@ void DescribeLiveStreamsControlHistoryResult::parse(const std::string &payload) for (auto valueControlInfoLiveStreamControlInfo : allControlInfoNode) { LiveStreamControlInfo controlInfoObject; - if(!valueControlInfoLiveStreamControlInfo["StreamName"].isNull()) - controlInfoObject.streamName = valueControlInfoLiveStreamControlInfo["StreamName"].asString(); if(!valueControlInfoLiveStreamControlInfo["ClientIP"].isNull()) controlInfoObject.clientIP = valueControlInfoLiveStreamControlInfo["ClientIP"].asString(); - if(!valueControlInfoLiveStreamControlInfo["Action"].isNull()) - controlInfoObject.action = valueControlInfoLiveStreamControlInfo["Action"].asString(); if(!valueControlInfoLiveStreamControlInfo["TimeStamp"].isNull()) controlInfoObject.timeStamp = valueControlInfoLiveStreamControlInfo["TimeStamp"].asString(); + if(!valueControlInfoLiveStreamControlInfo["Action"].isNull()) + controlInfoObject.action = valueControlInfoLiveStreamControlInfo["Action"].asString(); + if(!valueControlInfoLiveStreamControlInfo["StreamName"].isNull()) + controlInfoObject.streamName = valueControlInfoLiveStreamControlInfo["StreamName"].asString(); controlInfo_.push_back(controlInfoObject); } diff --git a/live/src/model/DescribeLiveStreamsNotifyUrlConfigRequest.cc b/live/src/model/DescribeLiveStreamsNotifyUrlConfigRequest.cc index 810631fa7..506287c84 100644 --- a/live/src/model/DescribeLiveStreamsNotifyUrlConfigRequest.cc +++ b/live/src/model/DescribeLiveStreamsNotifyUrlConfigRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamsNotifyUrlConfigRequest; - -DescribeLiveStreamsNotifyUrlConfigRequest::DescribeLiveStreamsNotifyUrlConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamsNotifyUrlConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamsNotifyUrlConfigRequest::~DescribeLiveStreamsNotifyUrlConfigRequest() -{} - -std::string DescribeLiveStreamsNotifyUrlConfigRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamsNotifyUrlConfigRequest; + +DescribeLiveStreamsNotifyUrlConfigRequest::DescribeLiveStreamsNotifyUrlConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamsNotifyUrlConfig") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DescribeLiveStreamsNotifyUrlConfigRequest::~DescribeLiveStreamsNotifyUrlConfigRequest() {} + +std::string DescribeLiveStreamsNotifyUrlConfigRequest::getDomainName() const { + return domainName_; } -long DescribeLiveStreamsNotifyUrlConfigRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveStreamsNotifyUrlConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamsNotifyUrlConfigResult.cc b/live/src/model/DescribeLiveStreamsNotifyUrlConfigResult.cc index 6eaa176ac..4809172bb 100644 --- a/live/src/model/DescribeLiveStreamsNotifyUrlConfigResult.cc +++ b/live/src/model/DescribeLiveStreamsNotifyUrlConfigResult.cc @@ -40,18 +40,18 @@ void DescribeLiveStreamsNotifyUrlConfigResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto liveStreamsNotifyConfigNode = value["LiveStreamsNotifyConfig"]; - if(!liveStreamsNotifyConfigNode["DomainName"].isNull()) - liveStreamsNotifyConfig_.domainName = liveStreamsNotifyConfigNode["DomainName"].asString(); - if(!liveStreamsNotifyConfigNode["NotifyUrl"].isNull()) - liveStreamsNotifyConfig_.notifyUrl = liveStreamsNotifyConfigNode["NotifyUrl"].asString(); if(!liveStreamsNotifyConfigNode["NotifyReqAuth"].isNull()) liveStreamsNotifyConfig_.notifyReqAuth = liveStreamsNotifyConfigNode["NotifyReqAuth"].asString(); - if(!liveStreamsNotifyConfigNode["NotifyAuthKey"].isNull()) - liveStreamsNotifyConfig_.notifyAuthKey = liveStreamsNotifyConfigNode["NotifyAuthKey"].asString(); if(!liveStreamsNotifyConfigNode["AuthType"].isNull()) liveStreamsNotifyConfig_.authType = liveStreamsNotifyConfigNode["AuthType"].asString(); + if(!liveStreamsNotifyConfigNode["NotifyUrl"].isNull()) + liveStreamsNotifyConfig_.notifyUrl = liveStreamsNotifyConfigNode["NotifyUrl"].asString(); + if(!liveStreamsNotifyConfigNode["NotifyAuthKey"].isNull()) + liveStreamsNotifyConfig_.notifyAuthKey = liveStreamsNotifyConfigNode["NotifyAuthKey"].asString(); if(!liveStreamsNotifyConfigNode["AuthKey"].isNull()) liveStreamsNotifyConfig_.authKey = liveStreamsNotifyConfigNode["AuthKey"].asString(); + if(!liveStreamsNotifyConfigNode["DomainName"].isNull()) + liveStreamsNotifyConfig_.domainName = liveStreamsNotifyConfigNode["DomainName"].asString(); } diff --git a/live/src/model/DescribeLiveStreamsOnlineListRequest.cc b/live/src/model/DescribeLiveStreamsOnlineListRequest.cc index 69018810d..3c5b05aa2 100644 --- a/live/src/model/DescribeLiveStreamsOnlineListRequest.cc +++ b/live/src/model/DescribeLiveStreamsOnlineListRequest.cc @@ -1,150 +1,135 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamsOnlineListRequest; - -DescribeLiveStreamsOnlineListRequest::DescribeLiveStreamsOnlineListRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamsOnlineList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamsOnlineListRequest::~DescribeLiveStreamsOnlineListRequest() -{} - -std::string DescribeLiveStreamsOnlineListRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamsOnlineListRequest; + +DescribeLiveStreamsOnlineListRequest::DescribeLiveStreamsOnlineListRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamsOnlineList") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveStreamsOnlineListRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeLiveStreamsOnlineListRequest::~DescribeLiveStreamsOnlineListRequest() {} + +std::string DescribeLiveStreamsOnlineListRequest::getOnlyStream() const { + return onlyStream_; } -int DescribeLiveStreamsOnlineListRequest::getPageNum()const -{ - return pageNum_; +void DescribeLiveStreamsOnlineListRequest::setOnlyStream(const std::string &onlyStream) { + onlyStream_ = onlyStream; + setParameter(std::string("OnlyStream"), onlyStream); } -void DescribeLiveStreamsOnlineListRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); +std::string DescribeLiveStreamsOnlineListRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveStreamsOnlineListRequest::getAppName()const -{ - return appName_; +void DescribeLiveStreamsOnlineListRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveStreamsOnlineListRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +int DescribeLiveStreamsOnlineListRequest::getPageNum() const { + return pageNum_; } -int DescribeLiveStreamsOnlineListRequest::getPageSize()const -{ - return pageSize_; +void DescribeLiveStreamsOnlineListRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setParameter(std::string("PageNum"), std::to_string(pageNum)); } -void DescribeLiveStreamsOnlineListRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +std::string DescribeLiveStreamsOnlineListRequest::getAppName() const { + return appName_; } -std::string DescribeLiveStreamsOnlineListRequest::getStreamName()const -{ - return streamName_; +void DescribeLiveStreamsOnlineListRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DescribeLiveStreamsOnlineListRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +int DescribeLiveStreamsOnlineListRequest::getPageSize() const { + return pageSize_; } -std::string DescribeLiveStreamsOnlineListRequest::getQueryType()const -{ - return queryType_; +void DescribeLiveStreamsOnlineListRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeLiveStreamsOnlineListRequest::setQueryType(const std::string& queryType) -{ - queryType_ = queryType; - setParameter("QueryType", queryType); +std::string DescribeLiveStreamsOnlineListRequest::getStreamName() const { + return streamName_; } -std::string DescribeLiveStreamsOnlineListRequest::getStreamType()const -{ - return streamType_; +void DescribeLiveStreamsOnlineListRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void DescribeLiveStreamsOnlineListRequest::setStreamType(const std::string& streamType) -{ - streamType_ = streamType; - setParameter("StreamType", streamType); +std::string DescribeLiveStreamsOnlineListRequest::getQueryType() const { + return queryType_; } -std::string DescribeLiveStreamsOnlineListRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveStreamsOnlineListRequest::setQueryType(const std::string &queryType) { + queryType_ = queryType; + setParameter(std::string("QueryType"), queryType); } -void DescribeLiveStreamsOnlineListRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveStreamsOnlineListRequest::getStreamType() const { + return streamType_; } -std::string DescribeLiveStreamsOnlineListRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveStreamsOnlineListRequest::setStreamType(const std::string &streamType) { + streamType_ = streamType; + setParameter(std::string("StreamType"), streamType); } -void DescribeLiveStreamsOnlineListRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveStreamsOnlineListRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveStreamsOnlineListRequest::getOrderBy()const -{ - return orderBy_; +void DescribeLiveStreamsOnlineListRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveStreamsOnlineListRequest::setOrderBy(const std::string& orderBy) -{ - orderBy_ = orderBy; - setParameter("OrderBy", orderBy); +std::string DescribeLiveStreamsOnlineListRequest::getEndTime() const { + return endTime_; } -long DescribeLiveStreamsOnlineListRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveStreamsOnlineListRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveStreamsOnlineListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string DescribeLiveStreamsOnlineListRequest::getOrderBy() const { + return orderBy_; +} + +void DescribeLiveStreamsOnlineListRequest::setOrderBy(const std::string &orderBy) { + orderBy_ = orderBy; + setParameter(std::string("OrderBy"), orderBy); +} + +long DescribeLiveStreamsOnlineListRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveStreamsOnlineListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamsOnlineListResult.cc b/live/src/model/DescribeLiveStreamsOnlineListResult.cc index 835295074..466ebff85 100644 --- a/live/src/model/DescribeLiveStreamsOnlineListResult.cc +++ b/live/src/model/DescribeLiveStreamsOnlineListResult.cc @@ -43,56 +43,56 @@ void DescribeLiveStreamsOnlineListResult::parse(const std::string &payload) for (auto valueOnlineInfoLiveStreamOnlineInfo : allOnlineInfoNode) { LiveStreamOnlineInfo onlineInfoObject; - if(!valueOnlineInfoLiveStreamOnlineInfo["DomainName"].isNull()) - onlineInfoObject.domainName = valueOnlineInfoLiveStreamOnlineInfo["DomainName"].asString(); - if(!valueOnlineInfoLiveStreamOnlineInfo["AppName"].isNull()) - onlineInfoObject.appName = valueOnlineInfoLiveStreamOnlineInfo["AppName"].asString(); - if(!valueOnlineInfoLiveStreamOnlineInfo["StreamName"].isNull()) - onlineInfoObject.streamName = valueOnlineInfoLiveStreamOnlineInfo["StreamName"].asString(); - if(!valueOnlineInfoLiveStreamOnlineInfo["PublishTime"].isNull()) - onlineInfoObject.publishTime = valueOnlineInfoLiveStreamOnlineInfo["PublishTime"].asString(); + if(!valueOnlineInfoLiveStreamOnlineInfo["AudioDataRate"].isNull()) + onlineInfoObject.audioDataRate = std::stoi(valueOnlineInfoLiveStreamOnlineInfo["AudioDataRate"].asString()); + if(!valueOnlineInfoLiveStreamOnlineInfo["FrameRate"].isNull()) + onlineInfoObject.frameRate = std::stoi(valueOnlineInfoLiveStreamOnlineInfo["FrameRate"].asString()); if(!valueOnlineInfoLiveStreamOnlineInfo["PublishUrl"].isNull()) onlineInfoObject.publishUrl = valueOnlineInfoLiveStreamOnlineInfo["PublishUrl"].asString(); - if(!valueOnlineInfoLiveStreamOnlineInfo["PublishDomain"].isNull()) - onlineInfoObject.publishDomain = valueOnlineInfoLiveStreamOnlineInfo["PublishDomain"].asString(); - if(!valueOnlineInfoLiveStreamOnlineInfo["StreamUrlArgs"].isNull()) - onlineInfoObject.streamUrlArgs = valueOnlineInfoLiveStreamOnlineInfo["StreamUrlArgs"].asString(); - if(!valueOnlineInfoLiveStreamOnlineInfo["PublishType"].isNull()) - onlineInfoObject.publishType = valueOnlineInfoLiveStreamOnlineInfo["PublishType"].asString(); - if(!valueOnlineInfoLiveStreamOnlineInfo["Transcoded"].isNull()) - onlineInfoObject.transcoded = valueOnlineInfoLiveStreamOnlineInfo["Transcoded"].asString(); + if(!valueOnlineInfoLiveStreamOnlineInfo["StreamName"].isNull()) + onlineInfoObject.streamName = valueOnlineInfoLiveStreamOnlineInfo["StreamName"].asString(); + if(!valueOnlineInfoLiveStreamOnlineInfo["AudioCodecId"].isNull()) + onlineInfoObject.audioCodecId = std::stoi(valueOnlineInfoLiveStreamOnlineInfo["AudioCodecId"].asString()); + if(!valueOnlineInfoLiveStreamOnlineInfo["Height"].isNull()) + onlineInfoObject.height = std::stoi(valueOnlineInfoLiveStreamOnlineInfo["Height"].asString()); + if(!valueOnlineInfoLiveStreamOnlineInfo["VideoDataRate"].isNull()) + onlineInfoObject.videoDataRate = std::stoi(valueOnlineInfoLiveStreamOnlineInfo["VideoDataRate"].asString()); + if(!valueOnlineInfoLiveStreamOnlineInfo["DomainName"].isNull()) + onlineInfoObject.domainName = valueOnlineInfoLiveStreamOnlineInfo["DomainName"].asString(); if(!valueOnlineInfoLiveStreamOnlineInfo["TranscodeId"].isNull()) onlineInfoObject.transcodeId = valueOnlineInfoLiveStreamOnlineInfo["TranscodeId"].asString(); if(!valueOnlineInfoLiveStreamOnlineInfo["TranscodeDrm"].isNull()) onlineInfoObject.transcodeDrm = valueOnlineInfoLiveStreamOnlineInfo["TranscodeDrm"].asString(); - if(!valueOnlineInfoLiveStreamOnlineInfo["ServerIp"].isNull()) - onlineInfoObject.serverIp = valueOnlineInfoLiveStreamOnlineInfo["ServerIp"].asString(); - if(!valueOnlineInfoLiveStreamOnlineInfo["ClientIp"].isNull()) - onlineInfoObject.clientIp = valueOnlineInfoLiveStreamOnlineInfo["ClientIp"].asString(); + if(!valueOnlineInfoLiveStreamOnlineInfo["PublishDomain"].isNull()) + onlineInfoObject.publishDomain = valueOnlineInfoLiveStreamOnlineInfo["PublishDomain"].asString(); + if(!valueOnlineInfoLiveStreamOnlineInfo["PublishTime"].isNull()) + onlineInfoObject.publishTime = valueOnlineInfoLiveStreamOnlineInfo["PublishTime"].asString(); + if(!valueOnlineInfoLiveStreamOnlineInfo["AppName"].isNull()) + onlineInfoObject.appName = valueOnlineInfoLiveStreamOnlineInfo["AppName"].asString(); + if(!valueOnlineInfoLiveStreamOnlineInfo["PublishType"].isNull()) + onlineInfoObject.publishType = valueOnlineInfoLiveStreamOnlineInfo["PublishType"].asString(); if(!valueOnlineInfoLiveStreamOnlineInfo["VideoCodecId"].isNull()) onlineInfoObject.videoCodecId = std::stoi(valueOnlineInfoLiveStreamOnlineInfo["VideoCodecId"].asString()); - if(!valueOnlineInfoLiveStreamOnlineInfo["VideoDataRate"].isNull()) - onlineInfoObject.videoDataRate = std::stoi(valueOnlineInfoLiveStreamOnlineInfo["VideoDataRate"].asString()); - if(!valueOnlineInfoLiveStreamOnlineInfo["FrameRate"].isNull()) - onlineInfoObject.frameRate = std::stoi(valueOnlineInfoLiveStreamOnlineInfo["FrameRate"].asString()); + if(!valueOnlineInfoLiveStreamOnlineInfo["Transcoded"].isNull()) + onlineInfoObject.transcoded = valueOnlineInfoLiveStreamOnlineInfo["Transcoded"].asString(); if(!valueOnlineInfoLiveStreamOnlineInfo["Width"].isNull()) onlineInfoObject.width = std::stoi(valueOnlineInfoLiveStreamOnlineInfo["Width"].asString()); - if(!valueOnlineInfoLiveStreamOnlineInfo["Height"].isNull()) - onlineInfoObject.height = std::stoi(valueOnlineInfoLiveStreamOnlineInfo["Height"].asString()); - if(!valueOnlineInfoLiveStreamOnlineInfo["AudioCodecId"].isNull()) - onlineInfoObject.audioCodecId = std::stoi(valueOnlineInfoLiveStreamOnlineInfo["AudioCodecId"].asString()); - if(!valueOnlineInfoLiveStreamOnlineInfo["AudioDataRate"].isNull()) - onlineInfoObject.audioDataRate = std::stoi(valueOnlineInfoLiveStreamOnlineInfo["AudioDataRate"].asString()); + if(!valueOnlineInfoLiveStreamOnlineInfo["ClientIp"].isNull()) + onlineInfoObject.clientIp = valueOnlineInfoLiveStreamOnlineInfo["ClientIp"].asString(); + if(!valueOnlineInfoLiveStreamOnlineInfo["ServerIp"].isNull()) + onlineInfoObject.serverIp = valueOnlineInfoLiveStreamOnlineInfo["ServerIp"].asString(); + if(!valueOnlineInfoLiveStreamOnlineInfo["StreamUrlArgs"].isNull()) + onlineInfoObject.streamUrlArgs = valueOnlineInfoLiveStreamOnlineInfo["StreamUrlArgs"].asString(); onlineInfo_.push_back(onlineInfoObject); } + if(!value["TotalPage"].isNull()) + totalPage_ = std::stoi(value["TotalPage"].asString()); if(!value["PageNum"].isNull()) pageNum_ = std::stoi(value["PageNum"].asString()); if(!value["PageSize"].isNull()) pageSize_ = std::stoi(value["PageSize"].asString()); if(!value["TotalNum"].isNull()) totalNum_ = std::stoi(value["TotalNum"].asString()); - if(!value["TotalPage"].isNull()) - totalPage_ = std::stoi(value["TotalPage"].asString()); } @@ -101,6 +101,11 @@ int DescribeLiveStreamsOnlineListResult::getTotalNum()const return totalNum_; } +int DescribeLiveStreamsOnlineListResult::getTotalPage()const +{ + return totalPage_; +} + int DescribeLiveStreamsOnlineListResult::getPageNum()const { return pageNum_; @@ -111,11 +116,6 @@ int DescribeLiveStreamsOnlineListResult::getPageSize()const return pageSize_; } -int DescribeLiveStreamsOnlineListResult::getTotalPage()const -{ - return totalPage_; -} - std::vector DescribeLiveStreamsOnlineListResult::getOnlineInfo()const { return onlineInfo_; diff --git a/live/src/model/DescribeLiveStreamsPublishListRequest.cc b/live/src/model/DescribeLiveStreamsPublishListRequest.cc index 9fd6590d7..9178db116 100644 --- a/live/src/model/DescribeLiveStreamsPublishListRequest.cc +++ b/live/src/model/DescribeLiveStreamsPublishListRequest.cc @@ -1,150 +1,126 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamsPublishListRequest; - -DescribeLiveStreamsPublishListRequest::DescribeLiveStreamsPublishListRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamsPublishList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveStreamsPublishListRequest::~DescribeLiveStreamsPublishListRequest() -{} - -std::string DescribeLiveStreamsPublishListRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamsPublishListRequest; + +DescribeLiveStreamsPublishListRequest::DescribeLiveStreamsPublishListRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamsPublishList") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveStreamsPublishListRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeLiveStreamsPublishListRequest::~DescribeLiveStreamsPublishListRequest() {} + +std::string DescribeLiveStreamsPublishListRequest::getStartTime() const { + return startTime_; } -int DescribeLiveStreamsPublishListRequest::getPageNumber()const -{ - return pageNumber_; +void DescribeLiveStreamsPublishListRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveStreamsPublishListRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int DescribeLiveStreamsPublishListRequest::getPageNumber() const { + return pageNumber_; } -std::string DescribeLiveStreamsPublishListRequest::getAppName()const -{ - return appName_; +void DescribeLiveStreamsPublishListRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void DescribeLiveStreamsPublishListRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string DescribeLiveStreamsPublishListRequest::getAppName() const { + return appName_; } -int DescribeLiveStreamsPublishListRequest::getPageSize()const -{ - return pageSize_; +void DescribeLiveStreamsPublishListRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DescribeLiveStreamsPublishListRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int DescribeLiveStreamsPublishListRequest::getPageSize() const { + return pageSize_; } -std::string DescribeLiveStreamsPublishListRequest::getStreamName()const -{ - return streamName_; +void DescribeLiveStreamsPublishListRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeLiveStreamsPublishListRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string DescribeLiveStreamsPublishListRequest::getStreamName() const { + return streamName_; } -std::string DescribeLiveStreamsPublishListRequest::getQueryType()const -{ - return queryType_; +void DescribeLiveStreamsPublishListRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void DescribeLiveStreamsPublishListRequest::setQueryType(const std::string& queryType) -{ - queryType_ = queryType; - setParameter("QueryType", queryType); +std::string DescribeLiveStreamsPublishListRequest::getQueryType() const { + return queryType_; } -std::string DescribeLiveStreamsPublishListRequest::getStreamType()const -{ - return streamType_; +void DescribeLiveStreamsPublishListRequest::setQueryType(const std::string &queryType) { + queryType_ = queryType; + setParameter(std::string("QueryType"), queryType); } -void DescribeLiveStreamsPublishListRequest::setStreamType(const std::string& streamType) -{ - streamType_ = streamType; - setParameter("StreamType", streamType); +std::string DescribeLiveStreamsPublishListRequest::getStreamType() const { + return streamType_; } -std::string DescribeLiveStreamsPublishListRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveStreamsPublishListRequest::setStreamType(const std::string &streamType) { + streamType_ = streamType; + setParameter(std::string("StreamType"), streamType); } -void DescribeLiveStreamsPublishListRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveStreamsPublishListRequest::getDomainName() const { + return domainName_; } -std::string DescribeLiveStreamsPublishListRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveStreamsPublishListRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveStreamsPublishListRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveStreamsPublishListRequest::getEndTime() const { + return endTime_; } -std::string DescribeLiveStreamsPublishListRequest::getOrderBy()const -{ - return orderBy_; +void DescribeLiveStreamsPublishListRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveStreamsPublishListRequest::setOrderBy(const std::string& orderBy) -{ - orderBy_ = orderBy; - setParameter("OrderBy", orderBy); +std::string DescribeLiveStreamsPublishListRequest::getOrderBy() const { + return orderBy_; } -long DescribeLiveStreamsPublishListRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveStreamsPublishListRequest::setOrderBy(const std::string &orderBy) { + orderBy_ = orderBy; + setParameter(std::string("OrderBy"), orderBy); } -void DescribeLiveStreamsPublishListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveStreamsPublishListRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveStreamsPublishListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamsPublishListResult.cc b/live/src/model/DescribeLiveStreamsPublishListResult.cc index e570cf71d..2f9013ac0 100644 --- a/live/src/model/DescribeLiveStreamsPublishListResult.cc +++ b/live/src/model/DescribeLiveStreamsPublishListResult.cc @@ -43,42 +43,42 @@ void DescribeLiveStreamsPublishListResult::parse(const std::string &payload) for (auto valuePublishInfoLiveStreamPublishInfo : allPublishInfoNode) { LiveStreamPublishInfo publishInfoObject; - if(!valuePublishInfoLiveStreamPublishInfo["DomainName"].isNull()) - publishInfoObject.domainName = valuePublishInfoLiveStreamPublishInfo["DomainName"].asString(); - if(!valuePublishInfoLiveStreamPublishInfo["AppName"].isNull()) - publishInfoObject.appName = valuePublishInfoLiveStreamPublishInfo["AppName"].asString(); - if(!valuePublishInfoLiveStreamPublishInfo["StreamName"].isNull()) - publishInfoObject.streamName = valuePublishInfoLiveStreamPublishInfo["StreamName"].asString(); - if(!valuePublishInfoLiveStreamPublishInfo["StreamUrl"].isNull()) - publishInfoObject.streamUrl = valuePublishInfoLiveStreamPublishInfo["StreamUrl"].asString(); - if(!valuePublishInfoLiveStreamPublishInfo["PublishTime"].isNull()) - publishInfoObject.publishTime = valuePublishInfoLiveStreamPublishInfo["PublishTime"].asString(); - if(!valuePublishInfoLiveStreamPublishInfo["StopTime"].isNull()) - publishInfoObject.stopTime = valuePublishInfoLiveStreamPublishInfo["StopTime"].asString(); - if(!valuePublishInfoLiveStreamPublishInfo["PublishUrl"].isNull()) - publishInfoObject.publishUrl = valuePublishInfoLiveStreamPublishInfo["PublishUrl"].asString(); - if(!valuePublishInfoLiveStreamPublishInfo["ClientAddr"].isNull()) - publishInfoObject.clientAddr = valuePublishInfoLiveStreamPublishInfo["ClientAddr"].asString(); if(!valuePublishInfoLiveStreamPublishInfo["EdgeNodeAddr"].isNull()) publishInfoObject.edgeNodeAddr = valuePublishInfoLiveStreamPublishInfo["EdgeNodeAddr"].asString(); + if(!valuePublishInfoLiveStreamPublishInfo["PublishUrl"].isNull()) + publishInfoObject.publishUrl = valuePublishInfoLiveStreamPublishInfo["PublishUrl"].asString(); + if(!valuePublishInfoLiveStreamPublishInfo["StreamName"].isNull()) + publishInfoObject.streamName = valuePublishInfoLiveStreamPublishInfo["StreamName"].asString(); + if(!valuePublishInfoLiveStreamPublishInfo["DomainName"].isNull()) + publishInfoObject.domainName = valuePublishInfoLiveStreamPublishInfo["DomainName"].asString(); + if(!valuePublishInfoLiveStreamPublishInfo["StopTime"].isNull()) + publishInfoObject.stopTime = valuePublishInfoLiveStreamPublishInfo["StopTime"].asString(); + if(!valuePublishInfoLiveStreamPublishInfo["TranscodeId"].isNull()) + publishInfoObject.transcodeId = valuePublishInfoLiveStreamPublishInfo["TranscodeId"].asString(); if(!valuePublishInfoLiveStreamPublishInfo["PublishDomain"].isNull()) publishInfoObject.publishDomain = valuePublishInfoLiveStreamPublishInfo["PublishDomain"].asString(); + if(!valuePublishInfoLiveStreamPublishInfo["AppName"].isNull()) + publishInfoObject.appName = valuePublishInfoLiveStreamPublishInfo["AppName"].asString(); + if(!valuePublishInfoLiveStreamPublishInfo["PublishTime"].isNull()) + publishInfoObject.publishTime = valuePublishInfoLiveStreamPublishInfo["PublishTime"].asString(); if(!valuePublishInfoLiveStreamPublishInfo["PublishType"].isNull()) publishInfoObject.publishType = valuePublishInfoLiveStreamPublishInfo["PublishType"].asString(); if(!valuePublishInfoLiveStreamPublishInfo["Transcoded"].isNull()) publishInfoObject.transcoded = valuePublishInfoLiveStreamPublishInfo["Transcoded"].asString(); - if(!valuePublishInfoLiveStreamPublishInfo["TranscodeId"].isNull()) - publishInfoObject.transcodeId = valuePublishInfoLiveStreamPublishInfo["TranscodeId"].asString(); + if(!valuePublishInfoLiveStreamPublishInfo["ClientAddr"].isNull()) + publishInfoObject.clientAddr = valuePublishInfoLiveStreamPublishInfo["ClientAddr"].asString(); + if(!valuePublishInfoLiveStreamPublishInfo["StreamUrl"].isNull()) + publishInfoObject.streamUrl = valuePublishInfoLiveStreamPublishInfo["StreamUrl"].asString(); publishInfo_.push_back(publishInfoObject); } + if(!value["TotalPage"].isNull()) + totalPage_ = std::stoi(value["TotalPage"].asString()); if(!value["PageNum"].isNull()) pageNum_ = std::stoi(value["PageNum"].asString()); if(!value["PageSize"].isNull()) pageSize_ = std::stoi(value["PageSize"].asString()); if(!value["TotalNum"].isNull()) totalNum_ = std::stoi(value["TotalNum"].asString()); - if(!value["TotalPage"].isNull()) - totalPage_ = std::stoi(value["TotalPage"].asString()); } @@ -87,6 +87,11 @@ int DescribeLiveStreamsPublishListResult::getTotalNum()const return totalNum_; } +int DescribeLiveStreamsPublishListResult::getTotalPage()const +{ + return totalPage_; +} + int DescribeLiveStreamsPublishListResult::getPageNum()const { return pageNum_; @@ -97,11 +102,6 @@ int DescribeLiveStreamsPublishListResult::getPageSize()const return pageSize_; } -int DescribeLiveStreamsPublishListResult::getTotalPage()const -{ - return totalPage_; -} - std::vector DescribeLiveStreamsPublishListResult::getPublishInfo()const { return publishInfo_; diff --git a/live/src/model/DescribeLiveTagResourcesRequest.cc b/live/src/model/DescribeLiveTagResourcesRequest.cc index dcee4e371..7db2e607a 100644 --- a/live/src/model/DescribeLiveTagResourcesRequest.cc +++ b/live/src/model/DescribeLiveTagResourcesRequest.cc @@ -1,91 +1,76 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -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_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveTagResourcesRequest; + +DescribeLiveTagResourcesRequest::DescribeLiveTagResourcesRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveTagResources") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveTagResourcesRequest::setScope(const std::string& scope) -{ - scope_ = scope; - setParameter("Scope", scope); +DescribeLiveTagResourcesRequest::~DescribeLiveTagResourcesRequest() {} + +std::string DescribeLiveTagResourcesRequest::getScope() const { + return scope_; } -std::vector DescribeLiveTagResourcesRequest::getTag()const -{ - return tag_; +void DescribeLiveTagResourcesRequest::setScope(const std::string &scope) { + scope_ = scope; + setParameter(std::string("Scope"), scope); } -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 = "Tag." + std::to_string(dep1 + 1); - setParameter(tagObjStr + ".Key", tagObj.key); - setParameter(tagObjStr + ".Value", tagObj.value); - } +std::vector DescribeLiveTagResourcesRequest::getTag() const { + return tag_; } -std::vector DescribeLiveTagResourcesRequest::getResourceId()const -{ - return resourceId_; +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); + } } -void DescribeLiveTagResourcesRequest::setResourceId(const std::vector& resourceId) -{ - resourceId_ = resourceId; - for(int dep1 = 0; dep1!= resourceId.size(); dep1++) { - setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1)); - } +std::vector DescribeLiveTagResourcesRequest::getResourceId() const { + return resourceId_; } -long DescribeLiveTagResourcesRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveTagResourcesRequest::setResourceId(const std::vector &resourceId) { + resourceId_ = resourceId; } -void DescribeLiveTagResourcesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveTagResourcesRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeLiveTagResourcesRequest::getResourceType()const -{ - return resourceType_; +void DescribeLiveTagResourcesRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeLiveTagResourcesRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); +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/DescribeLiveTopDomainsByFlowRequest.cc b/live/src/model/DescribeLiveTopDomainsByFlowRequest.cc index ddee3b5f4..f120c0ce3 100644 --- a/live/src/model/DescribeLiveTopDomainsByFlowRequest.cc +++ b/live/src/model/DescribeLiveTopDomainsByFlowRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveTopDomainsByFlowRequest; - -DescribeLiveTopDomainsByFlowRequest::DescribeLiveTopDomainsByFlowRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveTopDomainsByFlow") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveTopDomainsByFlowRequest::~DescribeLiveTopDomainsByFlowRequest() -{} - -std::string DescribeLiveTopDomainsByFlowRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveTopDomainsByFlowRequest; + +DescribeLiveTopDomainsByFlowRequest::DescribeLiveTopDomainsByFlowRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveTopDomainsByFlow") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveTopDomainsByFlowRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeLiveTopDomainsByFlowRequest::~DescribeLiveTopDomainsByFlowRequest() {} + +std::string DescribeLiveTopDomainsByFlowRequest::getStartTime() const { + return startTime_; } -long DescribeLiveTopDomainsByFlowRequest::getLimit()const -{ - return limit_; +void DescribeLiveTopDomainsByFlowRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveTopDomainsByFlowRequest::setLimit(long limit) -{ - limit_ = limit; - setParameter("Limit", std::to_string(limit)); +long DescribeLiveTopDomainsByFlowRequest::getLimit() const { + return limit_; } -std::string DescribeLiveTopDomainsByFlowRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveTopDomainsByFlowRequest::setLimit(long limit) { + limit_ = limit; + setParameter(std::string("Limit"), std::to_string(limit)); } -void DescribeLiveTopDomainsByFlowRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveTopDomainsByFlowRequest::getEndTime() const { + return endTime_; } -long DescribeLiveTopDomainsByFlowRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveTopDomainsByFlowRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveTopDomainsByFlowRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveTopDomainsByFlowRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveTopDomainsByFlowRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveTopDomainsByFlowResult.cc b/live/src/model/DescribeLiveTopDomainsByFlowResult.cc index 18f3c793b..389d461fe 100644 --- a/live/src/model/DescribeLiveTopDomainsByFlowResult.cc +++ b/live/src/model/DescribeLiveTopDomainsByFlowResult.cc @@ -43,30 +43,30 @@ void DescribeLiveTopDomainsByFlowResult::parse(const std::string &payload) for (auto valueTopDomainsTopDomain : allTopDomainsNode) { TopDomain topDomainsObject; - if(!valueTopDomainsTopDomain["DomainName"].isNull()) - topDomainsObject.domainName = valueTopDomainsTopDomain["DomainName"].asString(); - if(!valueTopDomainsTopDomain["Rank"].isNull()) - topDomainsObject.rank = std::stol(valueTopDomainsTopDomain["Rank"].asString()); - if(!valueTopDomainsTopDomain["TotalTraffic"].isNull()) - topDomainsObject.totalTraffic = valueTopDomainsTopDomain["TotalTraffic"].asString(); - if(!valueTopDomainsTopDomain["TrafficPercent"].isNull()) - topDomainsObject.trafficPercent = valueTopDomainsTopDomain["TrafficPercent"].asString(); if(!valueTopDomainsTopDomain["MaxBps"].isNull()) topDomainsObject.maxBps = std::stol(valueTopDomainsTopDomain["MaxBps"].asString()); - if(!valueTopDomainsTopDomain["MaxBpsTime"].isNull()) - topDomainsObject.maxBpsTime = valueTopDomainsTopDomain["MaxBpsTime"].asString(); + if(!valueTopDomainsTopDomain["Rank"].isNull()) + topDomainsObject.rank = std::stol(valueTopDomainsTopDomain["Rank"].asString()); if(!valueTopDomainsTopDomain["TotalAccess"].isNull()) topDomainsObject.totalAccess = std::stol(valueTopDomainsTopDomain["TotalAccess"].asString()); + if(!valueTopDomainsTopDomain["TrafficPercent"].isNull()) + topDomainsObject.trafficPercent = valueTopDomainsTopDomain["TrafficPercent"].asString(); + if(!valueTopDomainsTopDomain["DomainName"].isNull()) + topDomainsObject.domainName = valueTopDomainsTopDomain["DomainName"].asString(); + if(!valueTopDomainsTopDomain["TotalTraffic"].isNull()) + topDomainsObject.totalTraffic = valueTopDomainsTopDomain["TotalTraffic"].asString(); + if(!valueTopDomainsTopDomain["MaxBpsTime"].isNull()) + topDomainsObject.maxBpsTime = valueTopDomainsTopDomain["MaxBpsTime"].asString(); topDomains_.push_back(topDomainsObject); } - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); - if(!value["DomainCount"].isNull()) - domainCount_ = std::stol(value["DomainCount"].asString()); if(!value["DomainOnlineCount"].isNull()) domainOnlineCount_ = std::stol(value["DomainOnlineCount"].asString()); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["DomainCount"].isNull()) + domainCount_ = std::stol(value["DomainCount"].asString()); } diff --git a/live/src/model/DescribeLiveUserBillPredictionRequest.cc b/live/src/model/DescribeLiveUserBillPredictionRequest.cc index 6b18c2be7..40a550adf 100644 --- a/live/src/model/DescribeLiveUserBillPredictionRequest.cc +++ b/live/src/model/DescribeLiveUserBillPredictionRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveUserBillPredictionRequest; - -DescribeLiveUserBillPredictionRequest::DescribeLiveUserBillPredictionRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveUserBillPrediction") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveUserBillPredictionRequest::~DescribeLiveUserBillPredictionRequest() -{} - -std::string DescribeLiveUserBillPredictionRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveUserBillPredictionRequest; + +DescribeLiveUserBillPredictionRequest::DescribeLiveUserBillPredictionRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveUserBillPrediction") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveUserBillPredictionRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeLiveUserBillPredictionRequest::~DescribeLiveUserBillPredictionRequest() {} + +std::string DescribeLiveUserBillPredictionRequest::getStartTime() const { + return startTime_; } -std::string DescribeLiveUserBillPredictionRequest::getDimension()const -{ - return dimension_; +void DescribeLiveUserBillPredictionRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeLiveUserBillPredictionRequest::setDimension(const std::string& dimension) -{ - dimension_ = dimension; - setParameter("Dimension", dimension); +std::string DescribeLiveUserBillPredictionRequest::getDimension() const { + return dimension_; } -std::string DescribeLiveUserBillPredictionRequest::getArea()const -{ - return area_; +void DescribeLiveUserBillPredictionRequest::setDimension(const std::string &dimension) { + dimension_ = dimension; + setParameter(std::string("Dimension"), dimension); } -void DescribeLiveUserBillPredictionRequest::setArea(const std::string& area) -{ - area_ = area; - setParameter("Area", area); +std::string DescribeLiveUserBillPredictionRequest::getArea() const { + return area_; } -std::string DescribeLiveUserBillPredictionRequest::getEndTime()const -{ - return endTime_; +void DescribeLiveUserBillPredictionRequest::setArea(const std::string &area) { + area_ = area; + setParameter(std::string("Area"), area); } -void DescribeLiveUserBillPredictionRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeLiveUserBillPredictionRequest::getEndTime() const { + return endTime_; } -long DescribeLiveUserBillPredictionRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveUserBillPredictionRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeLiveUserBillPredictionRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveUserBillPredictionRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveUserBillPredictionRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveUserBillPredictionResult.cc b/live/src/model/DescribeLiveUserBillPredictionResult.cc index e4018c055..7f9540474 100644 --- a/live/src/model/DescribeLiveUserBillPredictionResult.cc +++ b/live/src/model/DescribeLiveUserBillPredictionResult.cc @@ -45,16 +45,16 @@ void DescribeLiveUserBillPredictionResult::parse(const std::string &payload) BillPredictionDataItem billPredictionDataObject; if(!valueBillPredictionDataBillPredictionDataItem["Value"].isNull()) billPredictionDataObject.value = std::stof(valueBillPredictionDataBillPredictionDataItem["Value"].asString()); - if(!valueBillPredictionDataBillPredictionDataItem["Area"].isNull()) - billPredictionDataObject.area = valueBillPredictionDataBillPredictionDataItem["Area"].asString(); if(!valueBillPredictionDataBillPredictionDataItem["TimeStp"].isNull()) billPredictionDataObject.timeStp = valueBillPredictionDataBillPredictionDataItem["TimeStp"].asString(); + if(!valueBillPredictionDataBillPredictionDataItem["Area"].isNull()) + billPredictionDataObject.area = valueBillPredictionDataBillPredictionDataItem["Area"].asString(); billPredictionData_.push_back(billPredictionDataObject); } - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); if(!value["EndTime"].isNull()) endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); if(!value["BillType"].isNull()) billType_ = value["BillType"].asString(); diff --git a/live/src/model/DescribeLiveUserDomainsRequest.cc b/live/src/model/DescribeLiveUserDomainsRequest.cc index 2751ab89a..784ad49bf 100644 --- a/live/src/model/DescribeLiveUserDomainsRequest.cc +++ b/live/src/model/DescribeLiveUserDomainsRequest.cc @@ -1,144 +1,122 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveUserDomainsRequest; - -DescribeLiveUserDomainsRequest::DescribeLiveUserDomainsRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveUserDomains") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveUserDomainsRequest::~DescribeLiveUserDomainsRequest() -{} - -int DescribeLiveUserDomainsRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveUserDomainsRequest; + +DescribeLiveUserDomainsRequest::DescribeLiveUserDomainsRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveUserDomains") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveUserDomainsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +DescribeLiveUserDomainsRequest::~DescribeLiveUserDomainsRequest() {} + +int DescribeLiveUserDomainsRequest::getPageNumber() const { + return pageNumber_; } -std::string DescribeLiveUserDomainsRequest::getSecurityToken()const -{ - return securityToken_; +void DescribeLiveUserDomainsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void DescribeLiveUserDomainsRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string DescribeLiveUserDomainsRequest::getSecurityToken() const { + return securityToken_; } -int DescribeLiveUserDomainsRequest::getPageSize()const -{ - return pageSize_; +void DescribeLiveUserDomainsRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void DescribeLiveUserDomainsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int DescribeLiveUserDomainsRequest::getPageSize() const { + return pageSize_; } -std::string DescribeLiveUserDomainsRequest::getRegionName()const -{ - return regionName_; +void DescribeLiveUserDomainsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeLiveUserDomainsRequest::setRegionName(const std::string& regionName) -{ - regionName_ = regionName; - setParameter("RegionName", regionName); +std::string DescribeLiveUserDomainsRequest::getRegionName() const { + return regionName_; } -std::vector DescribeLiveUserDomainsRequest::getTag()const -{ - return tag_; +void DescribeLiveUserDomainsRequest::setRegionName(const std::string ®ionName) { + regionName_ = regionName; + setParameter(std::string("RegionName"), regionName); } -void DescribeLiveUserDomainsRequest::setTag(const std::vector& tag) -{ - tag_ = tag; - for(int dep1 = 0; dep1!= tag.size(); dep1++) { - auto tagObj = tag.at(dep1); - std::string tagObjStr = "Tag." + std::to_string(dep1 + 1); - setParameter(tagObjStr + ".Value", tagObj.value); - setParameter(tagObjStr + ".Key", tagObj.key); - } +std::vector DescribeLiveUserDomainsRequest::getTag() const { + return tag_; } -std::string DescribeLiveUserDomainsRequest::getDomainName()const -{ - return domainName_; +void DescribeLiveUserDomainsRequest::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 + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } } -void DescribeLiveUserDomainsRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeLiveUserDomainsRequest::getDomainName() const { + return domainName_; } -long DescribeLiveUserDomainsRequest::getOwnerId()const -{ - return ownerId_; +void DescribeLiveUserDomainsRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeLiveUserDomainsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeLiveUserDomainsRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeLiveUserDomainsRequest::getDomainStatus()const -{ - return domainStatus_; +void DescribeLiveUserDomainsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeLiveUserDomainsRequest::setDomainStatus(const std::string& domainStatus) -{ - domainStatus_ = domainStatus; - setParameter("DomainStatus", domainStatus); +std::string DescribeLiveUserDomainsRequest::getDomainStatus() const { + return domainStatus_; } -std::string DescribeLiveUserDomainsRequest::getDomainSearchType()const -{ - return domainSearchType_; +void DescribeLiveUserDomainsRequest::setDomainStatus(const std::string &domainStatus) { + domainStatus_ = domainStatus; + setParameter(std::string("DomainStatus"), domainStatus); } -void DescribeLiveUserDomainsRequest::setDomainSearchType(const std::string& domainSearchType) -{ - domainSearchType_ = domainSearchType; - setParameter("DomainSearchType", domainSearchType); +std::string DescribeLiveUserDomainsRequest::getDomainSearchType() const { + return domainSearchType_; } -std::string DescribeLiveUserDomainsRequest::getLiveDomainType()const -{ - return liveDomainType_; +void DescribeLiveUserDomainsRequest::setDomainSearchType(const std::string &domainSearchType) { + domainSearchType_ = domainSearchType; + setParameter(std::string("DomainSearchType"), domainSearchType); } -void DescribeLiveUserDomainsRequest::setLiveDomainType(const std::string& liveDomainType) -{ - liveDomainType_ = liveDomainType; - setParameter("LiveDomainType", liveDomainType); +std::string DescribeLiveUserDomainsRequest::getLiveDomainType() const { + return liveDomainType_; +} + +void DescribeLiveUserDomainsRequest::setLiveDomainType(const std::string &liveDomainType) { + liveDomainType_ = liveDomainType; + setParameter(std::string("LiveDomainType"), liveDomainType); } diff --git a/live/src/model/DescribeLiveUserDomainsResult.cc b/live/src/model/DescribeLiveUserDomainsResult.cc index 961ae35ec..fcf320eae 100644 --- a/live/src/model/DescribeLiveUserDomainsResult.cc +++ b/live/src/model/DescribeLiveUserDomainsResult.cc @@ -43,22 +43,22 @@ void DescribeLiveUserDomainsResult::parse(const std::string &payload) for (auto valueDomainsPageData : allDomainsNode) { PageData domainsObject; - if(!valueDomainsPageData["DomainName"].isNull()) - domainsObject.domainName = valueDomainsPageData["DomainName"].asString(); - if(!valueDomainsPageData["Cname"].isNull()) - domainsObject.cname = valueDomainsPageData["Cname"].asString(); - if(!valueDomainsPageData["LiveDomainType"].isNull()) - domainsObject.liveDomainType = valueDomainsPageData["LiveDomainType"].asString(); if(!valueDomainsPageData["GmtCreated"].isNull()) domainsObject.gmtCreated = valueDomainsPageData["GmtCreated"].asString(); - if(!valueDomainsPageData["GmtModified"].isNull()) - domainsObject.gmtModified = valueDomainsPageData["GmtModified"].asString(); - if(!valueDomainsPageData["Description"].isNull()) - domainsObject.description = valueDomainsPageData["Description"].asString(); + if(!valueDomainsPageData["LiveDomainType"].isNull()) + domainsObject.liveDomainType = valueDomainsPageData["LiveDomainType"].asString(); if(!valueDomainsPageData["LiveDomainStatus"].isNull()) domainsObject.liveDomainStatus = valueDomainsPageData["LiveDomainStatus"].asString(); if(!valueDomainsPageData["RegionName"].isNull()) domainsObject.regionName = valueDomainsPageData["RegionName"].asString(); + if(!valueDomainsPageData["Description"].isNull()) + domainsObject.description = valueDomainsPageData["Description"].asString(); + if(!valueDomainsPageData["Cname"].isNull()) + domainsObject.cname = valueDomainsPageData["Cname"].asString(); + if(!valueDomainsPageData["GmtModified"].isNull()) + domainsObject.gmtModified = valueDomainsPageData["GmtModified"].asString(); + if(!valueDomainsPageData["DomainName"].isNull()) + domainsObject.domainName = valueDomainsPageData["DomainName"].asString(); domains_.push_back(domainsObject); } if(!value["PageNumber"].isNull()) diff --git a/live/src/model/DescribeLiveUserQuotaRequest.cc b/live/src/model/DescribeLiveUserQuotaRequest.cc deleted file mode 100644 index c463225aa..000000000 --- a/live/src/model/DescribeLiveUserQuotaRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveUserQuotaRequest; - -DescribeLiveUserQuotaRequest::DescribeLiveUserQuotaRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveUserQuota") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveUserQuotaRequest::~DescribeLiveUserQuotaRequest() -{} - -long DescribeLiveUserQuotaRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeLiveUserQuotaRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeLiveUserQuotaRequest::getSecurityToken()const -{ - return securityToken_; -} - -void DescribeLiveUserQuotaRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); -} - diff --git a/live/src/model/DescribeLiveUserTagsRequest.cc b/live/src/model/DescribeLiveUserTagsRequest.cc index 35fffe40a..560b3a55d 100644 --- a/live/src/model/DescribeLiveUserTagsRequest.cc +++ b/live/src/model/DescribeLiveUserTagsRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveUserTagsRequest; - -DescribeLiveUserTagsRequest::DescribeLiveUserTagsRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeLiveUserTags") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveUserTagsRequest::~DescribeLiveUserTagsRequest() -{} - -long DescribeLiveUserTagsRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveUserTagsRequest; + +DescribeLiveUserTagsRequest::DescribeLiveUserTagsRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveUserTags") { + setMethod(HttpRequest::Method::Post); } -void DescribeLiveUserTagsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +DescribeLiveUserTagsRequest::~DescribeLiveUserTagsRequest() {} + +long DescribeLiveUserTagsRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveUserTagsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeMeterLiveRtcDurationRequest.cc b/live/src/model/DescribeMeterLiveRtcDurationRequest.cc new file mode 100644 index 000000000..dac0edd5b --- /dev/null +++ b/live/src/model/DescribeMeterLiveRtcDurationRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::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 new file mode 100644 index 000000000..5986f2ca7 --- /dev/null +++ b/live/src/model/DescribeMeterLiveRtcDurationResult.cc @@ -0,0 +1,102 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +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["Timestamp"].isNull()) + dataObject.timestamp = valueDataDataItem["Timestamp"].asString(); + if(!valueDataDataItem["TotalDuration"].isNull()) + dataObject.totalDuration = std::stol(valueDataDataItem["TotalDuration"].asString()); + if(!valueDataDataItem["AudioDuration"].isNull()) + dataObject.audioDuration = std::stol(valueDataDataItem["AudioDuration"].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["TotalSummaryDuration"].isNull()) + totalSummaryDuration_ = std::stol(value["TotalSummaryDuration"].asString()); + if(!value["AudioSummaryDuration"].isNull()) + audioSummaryDuration_ = std::stol(value["AudioSummaryDuration"].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::getTotalSummaryDuration()const +{ + return totalSummaryDuration_; +} + +long DescribeMeterLiveRtcDurationResult::getAudioSummaryDuration()const +{ + return audioSummaryDuration_; +} + diff --git a/live/src/model/DescribeMixStreamListRequest.cc b/live/src/model/DescribeMixStreamListRequest.cc index 194527e9b..2ca8b8961 100644 --- a/live/src/model/DescribeMixStreamListRequest.cc +++ b/live/src/model/DescribeMixStreamListRequest.cc @@ -1,128 +1,108 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeMixStreamListRequest; - -DescribeMixStreamListRequest::DescribeMixStreamListRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeMixStreamList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeMixStreamListRequest::~DescribeMixStreamListRequest() -{} - -std::string DescribeMixStreamListRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeMixStreamListRequest; + +DescribeMixStreamListRequest::DescribeMixStreamListRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeMixStreamList") { + setMethod(HttpRequest::Method::Post); } -void DescribeMixStreamListRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeMixStreamListRequest::~DescribeMixStreamListRequest() {} + +std::string DescribeMixStreamListRequest::getStartTime() const { + return startTime_; } -std::string DescribeMixStreamListRequest::getAppName()const -{ - return appName_; +void DescribeMixStreamListRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeMixStreamListRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string DescribeMixStreamListRequest::getAppName() const { + return appName_; } -int DescribeMixStreamListRequest::getPageSize()const -{ - return pageSize_; +void DescribeMixStreamListRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void DescribeMixStreamListRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int DescribeMixStreamListRequest::getPageSize() const { + return pageSize_; } -std::string DescribeMixStreamListRequest::getStreamName()const -{ - return streamName_; +void DescribeMixStreamListRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeMixStreamListRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string DescribeMixStreamListRequest::getStreamName() const { + return streamName_; } -std::string DescribeMixStreamListRequest::getMixStreamId()const -{ - return mixStreamId_; +void DescribeMixStreamListRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void DescribeMixStreamListRequest::setMixStreamId(const std::string& mixStreamId) -{ - mixStreamId_ = mixStreamId; - setParameter("MixStreamId", mixStreamId); +std::string DescribeMixStreamListRequest::getMixStreamId() const { + return mixStreamId_; } -std::string DescribeMixStreamListRequest::getDomainName()const -{ - return domainName_; +void DescribeMixStreamListRequest::setMixStreamId(const std::string &mixStreamId) { + mixStreamId_ = mixStreamId; + setParameter(std::string("MixStreamId"), mixStreamId); } -void DescribeMixStreamListRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeMixStreamListRequest::getDomainName() const { + return domainName_; } -std::string DescribeMixStreamListRequest::getEndTime()const -{ - return endTime_; +void DescribeMixStreamListRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeMixStreamListRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeMixStreamListRequest::getEndTime() const { + return endTime_; } -long DescribeMixStreamListRequest::getOwnerId()const -{ - return ownerId_; +void DescribeMixStreamListRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeMixStreamListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeMixStreamListRequest::getOwnerId() const { + return ownerId_; } -int DescribeMixStreamListRequest::getPageNo()const -{ - return pageNo_; +void DescribeMixStreamListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeMixStreamListRequest::setPageNo(int pageNo) -{ - pageNo_ = pageNo; - setParameter("PageNo", std::to_string(pageNo)); +int DescribeMixStreamListRequest::getPageNo() const { + return pageNo_; +} + +void DescribeMixStreamListRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setParameter(std::string("PageNo"), std::to_string(pageNo)); } diff --git a/live/src/model/DescribeMixStreamListResult.cc b/live/src/model/DescribeMixStreamListResult.cc index 2564b9c38..c2d2ab6dd 100644 --- a/live/src/model/DescribeMixStreamListResult.cc +++ b/live/src/model/DescribeMixStreamListResult.cc @@ -43,24 +43,24 @@ void DescribeMixStreamListResult::parse(const std::string &payload) for (auto valueMixStreamListMixStreamInfo : allMixStreamListNode) { MixStreamInfo mixStreamListObject; - if(!valueMixStreamListMixStreamInfo["MixstreamId"].isNull()) - mixStreamListObject.mixstreamId = valueMixStreamListMixStreamInfo["MixstreamId"].asString(); - if(!valueMixStreamListMixStreamInfo["DomainName"].isNull()) - mixStreamListObject.domainName = valueMixStreamListMixStreamInfo["DomainName"].asString(); - if(!valueMixStreamListMixStreamInfo["AppName"].isNull()) - mixStreamListObject.appName = valueMixStreamListMixStreamInfo["AppName"].asString(); - if(!valueMixStreamListMixStreamInfo["StreamName"].isNull()) - mixStreamListObject.streamName = valueMixStreamListMixStreamInfo["StreamName"].asString(); - if(!valueMixStreamListMixStreamInfo["LayoutId"].isNull()) - mixStreamListObject.layoutId = valueMixStreamListMixStreamInfo["LayoutId"].asString(); - if(!valueMixStreamListMixStreamInfo["InputStreamNumber"].isNull()) - mixStreamListObject.inputStreamNumber = std::stoi(valueMixStreamListMixStreamInfo["InputStreamNumber"].asString()); if(!valueMixStreamListMixStreamInfo["MixStreamTemplate"].isNull()) mixStreamListObject.mixStreamTemplate = valueMixStreamListMixStreamInfo["MixStreamTemplate"].asString(); + if(!valueMixStreamListMixStreamInfo["AppName"].isNull()) + mixStreamListObject.appName = valueMixStreamListMixStreamInfo["AppName"].asString(); + if(!valueMixStreamListMixStreamInfo["LayoutId"].isNull()) + mixStreamListObject.layoutId = valueMixStreamListMixStreamInfo["LayoutId"].asString(); + if(!valueMixStreamListMixStreamInfo["StreamName"].isNull()) + mixStreamListObject.streamName = valueMixStreamListMixStreamInfo["StreamName"].asString(); if(!valueMixStreamListMixStreamInfo["GmtCreate"].isNull()) mixStreamListObject.gmtCreate = valueMixStreamListMixStreamInfo["GmtCreate"].asString(); + if(!valueMixStreamListMixStreamInfo["MixstreamId"].isNull()) + mixStreamListObject.mixstreamId = valueMixStreamListMixStreamInfo["MixstreamId"].asString(); if(!valueMixStreamListMixStreamInfo["GmtModified"].isNull()) mixStreamListObject.gmtModified = valueMixStreamListMixStreamInfo["GmtModified"].asString(); + if(!valueMixStreamListMixStreamInfo["InputStreamNumber"].isNull()) + mixStreamListObject.inputStreamNumber = std::stoi(valueMixStreamListMixStreamInfo["InputStreamNumber"].asString()); + if(!valueMixStreamListMixStreamInfo["DomainName"].isNull()) + mixStreamListObject.domainName = valueMixStreamListMixStreamInfo["DomainName"].asString(); mixStreamList_.push_back(mixStreamListObject); } if(!value["Total"].isNull()) diff --git a/live/src/model/DescribeRoomKickoutUserListRequest.cc b/live/src/model/DescribeRoomKickoutUserListRequest.cc index 12d34ec28..a9962c523 100644 --- a/live/src/model/DescribeRoomKickoutUserListRequest.cc +++ b/live/src/model/DescribeRoomKickoutUserListRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeRoomKickoutUserListRequest; - -DescribeRoomKickoutUserListRequest::DescribeRoomKickoutUserListRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeRoomKickoutUserList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeRoomKickoutUserListRequest::~DescribeRoomKickoutUserListRequest() -{} - -int DescribeRoomKickoutUserListRequest::getPageNum()const -{ - return pageNum_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeRoomKickoutUserListRequest; + +DescribeRoomKickoutUserListRequest::DescribeRoomKickoutUserListRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeRoomKickoutUserList") { + setMethod(HttpRequest::Method::Post); } -void DescribeRoomKickoutUserListRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); +DescribeRoomKickoutUserListRequest::~DescribeRoomKickoutUserListRequest() {} + +int DescribeRoomKickoutUserListRequest::getPageNum() const { + return pageNum_; } -int DescribeRoomKickoutUserListRequest::getPageSize()const -{ - return pageSize_; +void DescribeRoomKickoutUserListRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setParameter(std::string("PageNum"), std::to_string(pageNum)); } -void DescribeRoomKickoutUserListRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int DescribeRoomKickoutUserListRequest::getPageSize() const { + return pageSize_; } -std::string DescribeRoomKickoutUserListRequest::getOrder()const -{ - return order_; +void DescribeRoomKickoutUserListRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeRoomKickoutUserListRequest::setOrder(const std::string& order) -{ - order_ = order; - setParameter("Order", order); +std::string DescribeRoomKickoutUserListRequest::getOrder() const { + return order_; } -long DescribeRoomKickoutUserListRequest::getOwnerId()const -{ - return ownerId_; +void DescribeRoomKickoutUserListRequest::setOrder(const std::string &order) { + order_ = order; + setParameter(std::string("Order"), order); } -void DescribeRoomKickoutUserListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeRoomKickoutUserListRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeRoomKickoutUserListRequest::getRoomId()const -{ - return roomId_; +void DescribeRoomKickoutUserListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeRoomKickoutUserListRequest::setRoomId(const std::string& roomId) -{ - roomId_ = roomId; - setParameter("RoomId", roomId); +std::string DescribeRoomKickoutUserListRequest::getRoomId() const { + return roomId_; } -std::string DescribeRoomKickoutUserListRequest::getAppId()const -{ - return appId_; +void DescribeRoomKickoutUserListRequest::setRoomId(const std::string &roomId) { + roomId_ = roomId; + setParameter(std::string("RoomId"), roomId); } -void DescribeRoomKickoutUserListRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string DescribeRoomKickoutUserListRequest::getAppId() const { + return appId_; +} + +void DescribeRoomKickoutUserListRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/live/src/model/DescribeRoomKickoutUserListResult.cc b/live/src/model/DescribeRoomKickoutUserListResult.cc index f715c1080..dad460278 100644 --- a/live/src/model/DescribeRoomKickoutUserListResult.cc +++ b/live/src/model/DescribeRoomKickoutUserListResult.cc @@ -43,18 +43,18 @@ void DescribeRoomKickoutUserListResult::parse(const std::string &payload) for (auto valueUserListUser : allUserListNode) { User userListObject; - if(!valueUserListUser["AppUid"].isNull()) - userListObject.appUid = valueUserListUser["AppUid"].asString(); if(!valueUserListUser["OpStartTime"].isNull()) userListObject.opStartTime = valueUserListUser["OpStartTime"].asString(); if(!valueUserListUser["OpEndTime"].isNull()) userListObject.opEndTime = valueUserListUser["OpEndTime"].asString(); + if(!valueUserListUser["AppUid"].isNull()) + userListObject.appUid = valueUserListUser["AppUid"].asString(); userList_.push_back(userListObject); } - if(!value["TotalNum"].isNull()) - totalNum_ = std::stoi(value["TotalNum"].asString()); if(!value["TotalPage"].isNull()) totalPage_ = std::stoi(value["TotalPage"].asString()); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); } diff --git a/live/src/model/DescribeRoomListRequest.cc b/live/src/model/DescribeRoomListRequest.cc index e36d426c0..e04f052db 100644 --- a/live/src/model/DescribeRoomListRequest.cc +++ b/live/src/model/DescribeRoomListRequest.cc @@ -1,139 +1,117 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeRoomListRequest; - -DescribeRoomListRequest::DescribeRoomListRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeRoomList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeRoomListRequest::~DescribeRoomListRequest() -{} - -std::string DescribeRoomListRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeRoomListRequest; + +DescribeRoomListRequest::DescribeRoomListRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeRoomList") { + setMethod(HttpRequest::Method::Post); } -void DescribeRoomListRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeRoomListRequest::~DescribeRoomListRequest() {} + +std::string DescribeRoomListRequest::getStartTime() const { + return startTime_; } -std::string DescribeRoomListRequest::getAnchorId()const -{ - return anchorId_; +void DescribeRoomListRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeRoomListRequest::setAnchorId(const std::string& anchorId) -{ - anchorId_ = anchorId; - setParameter("AnchorId", anchorId); +std::string DescribeRoomListRequest::getAnchorId() const { + return anchorId_; } -int DescribeRoomListRequest::getPageNum()const -{ - return pageNum_; +void DescribeRoomListRequest::setAnchorId(const std::string &anchorId) { + anchorId_ = anchorId; + setParameter(std::string("AnchorId"), anchorId); } -void DescribeRoomListRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); +int DescribeRoomListRequest::getPageNum() const { + return pageNum_; } -int DescribeRoomListRequest::getRoomStatus()const -{ - return roomStatus_; +void DescribeRoomListRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setParameter(std::string("PageNum"), std::to_string(pageNum)); } -void DescribeRoomListRequest::setRoomStatus(int roomStatus) -{ - roomStatus_ = roomStatus; - setParameter("RoomStatus", std::to_string(roomStatus)); +int DescribeRoomListRequest::getRoomStatus() const { + return roomStatus_; } -int DescribeRoomListRequest::getPageSize()const -{ - return pageSize_; +void DescribeRoomListRequest::setRoomStatus(int roomStatus) { + roomStatus_ = roomStatus; + setParameter(std::string("RoomStatus"), std::to_string(roomStatus)); } -void DescribeRoomListRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int DescribeRoomListRequest::getPageSize() const { + return pageSize_; } -std::string DescribeRoomListRequest::getOrder()const -{ - return order_; +void DescribeRoomListRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeRoomListRequest::setOrder(const std::string& order) -{ - order_ = order; - setParameter("Order", order); +std::string DescribeRoomListRequest::getOrder() const { + return order_; } -std::string DescribeRoomListRequest::getEndTime()const -{ - return endTime_; +void DescribeRoomListRequest::setOrder(const std::string &order) { + order_ = order; + setParameter(std::string("Order"), order); } -void DescribeRoomListRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeRoomListRequest::getEndTime() const { + return endTime_; } -long DescribeRoomListRequest::getOwnerId()const -{ - return ownerId_; +void DescribeRoomListRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeRoomListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeRoomListRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeRoomListRequest::getRoomId()const -{ - return roomId_; +void DescribeRoomListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeRoomListRequest::setRoomId(const std::string& roomId) -{ - roomId_ = roomId; - setParameter("RoomId", roomId); +std::string DescribeRoomListRequest::getRoomId() const { + return roomId_; } -std::string DescribeRoomListRequest::getAppId()const -{ - return appId_; +void DescribeRoomListRequest::setRoomId(const std::string &roomId) { + roomId_ = roomId; + setParameter(std::string("RoomId"), roomId); } -void DescribeRoomListRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string DescribeRoomListRequest::getAppId() const { + return appId_; +} + +void DescribeRoomListRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/live/src/model/DescribeRoomListResult.cc b/live/src/model/DescribeRoomListResult.cc index b859a7816..8a001b5d6 100644 --- a/live/src/model/DescribeRoomListResult.cc +++ b/live/src/model/DescribeRoomListResult.cc @@ -43,22 +43,22 @@ void DescribeRoomListResult::parse(const std::string &payload) for (auto valueRoomListRoom : allRoomListNode) { Room roomListObject; - if(!valueRoomListRoom["RoomId"].isNull()) - roomListObject.roomId = valueRoomListRoom["RoomId"].asString(); - if(!valueRoomListRoom["AnchorId"].isNull()) - roomListObject.anchorId = valueRoomListRoom["AnchorId"].asString(); - if(!valueRoomListRoom["RoomStatus"].isNull()) - roomListObject.roomStatus = std::stoi(valueRoomListRoom["RoomStatus"].asString()); if(!valueRoomListRoom["ForbidStream"].isNull()) roomListObject.forbidStream = valueRoomListRoom["ForbidStream"].asString(); + if(!valueRoomListRoom["AnchorId"].isNull()) + roomListObject.anchorId = valueRoomListRoom["AnchorId"].asString(); + if(!valueRoomListRoom["RoomId"].isNull()) + roomListObject.roomId = valueRoomListRoom["RoomId"].asString(); if(!valueRoomListRoom["CreateTime"].isNull()) roomListObject.createTime = valueRoomListRoom["CreateTime"].asString(); + if(!valueRoomListRoom["RoomStatus"].isNull()) + roomListObject.roomStatus = std::stoi(valueRoomListRoom["RoomStatus"].asString()); roomList_.push_back(roomListObject); } - if(!value["TotalNum"].isNull()) - totalNum_ = std::stoi(value["TotalNum"].asString()); if(!value["TotalPage"].isNull()) totalPage_ = std::stoi(value["TotalPage"].asString()); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); } diff --git a/live/src/model/DescribeRoomStatusRequest.cc b/live/src/model/DescribeRoomStatusRequest.cc index a943e74bc..0fb5a5a91 100644 --- a/live/src/model/DescribeRoomStatusRequest.cc +++ b/live/src/model/DescribeRoomStatusRequest.cc @@ -1,62 +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::DescribeRoomStatusRequest; - -DescribeRoomStatusRequest::DescribeRoomStatusRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeRoomStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeRoomStatusRequest::~DescribeRoomStatusRequest() -{} - -long DescribeRoomStatusRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeRoomStatusRequest; + +DescribeRoomStatusRequest::DescribeRoomStatusRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeRoomStatus") { + setMethod(HttpRequest::Method::Post); } -void DescribeRoomStatusRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +DescribeRoomStatusRequest::~DescribeRoomStatusRequest() {} + +long DescribeRoomStatusRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeRoomStatusRequest::getRoomId()const -{ - return roomId_; +void DescribeRoomStatusRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeRoomStatusRequest::setRoomId(const std::string& roomId) -{ - roomId_ = roomId; - setParameter("RoomId", roomId); +std::string DescribeRoomStatusRequest::getRoomId() const { + return roomId_; } -std::string DescribeRoomStatusRequest::getAppId()const -{ - return appId_; +void DescribeRoomStatusRequest::setRoomId(const std::string &roomId) { + roomId_ = roomId; + setParameter(std::string("RoomId"), roomId); } -void DescribeRoomStatusRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string DescribeRoomStatusRequest::getAppId() const { + return appId_; +} + +void DescribeRoomStatusRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/live/src/model/DescribeShowListRequest.cc b/live/src/model/DescribeShowListRequest.cc index 200581b08..e8c68b389 100644 --- a/live/src/model/DescribeShowListRequest.cc +++ b/live/src/model/DescribeShowListRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeShowListRequest; - -DescribeShowListRequest::DescribeShowListRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeShowList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeShowListRequest::~DescribeShowListRequest() -{} - -std::string DescribeShowListRequest::getCasterId()const -{ - return casterId_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeShowListRequest; + +DescribeShowListRequest::DescribeShowListRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeShowList") { + setMethod(HttpRequest::Method::Post); } -void DescribeShowListRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +DescribeShowListRequest::~DescribeShowListRequest() {} + +std::string DescribeShowListRequest::getCasterId() const { + return casterId_; } -long DescribeShowListRequest::getOwnerId()const -{ - return ownerId_; +void DescribeShowListRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void DescribeShowListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeShowListRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeShowListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeShowListResult.cc b/live/src/model/DescribeShowListResult.cc index 883221115..85dd50ee5 100644 --- a/live/src/model/DescribeShowListResult.cc +++ b/live/src/model/DescribeShowListResult.cc @@ -40,37 +40,37 @@ void DescribeShowListResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto showListInfoNode = value["ShowListInfo"]; - if(!showListInfoNode["ShowListRepeatTimes"].isNull()) - showListInfo_.showListRepeatTimes = std::stoi(showListInfoNode["ShowListRepeatTimes"].asString()); - if(!showListInfoNode["TotalShowListRepeatTimes"].isNull()) - showListInfo_.totalShowListRepeatTimes = std::stoi(showListInfoNode["TotalShowListRepeatTimes"].asString()); - if(!showListInfoNode["HighPriorityShowId"].isNull()) - showListInfo_.highPriorityShowId = showListInfoNode["HighPriorityShowId"].asString(); if(!showListInfoNode["HighPriorityShowStartTime"].isNull()) showListInfo_.highPriorityShowStartTime = showListInfoNode["HighPriorityShowStartTime"].asString(); + if(!showListInfoNode["TotalShowListRepeatTimes"].isNull()) + showListInfo_.totalShowListRepeatTimes = std::stoi(showListInfoNode["TotalShowListRepeatTimes"].asString()); + if(!showListInfoNode["ShowListRepeatTimes"].isNull()) + showListInfo_.showListRepeatTimes = std::stoi(showListInfoNode["ShowListRepeatTimes"].asString()); if(!showListInfoNode["CurrentShowId"].isNull()) showListInfo_.currentShowId = showListInfoNode["CurrentShowId"].asString(); + if(!showListInfoNode["HighPriorityShowId"].isNull()) + showListInfo_.highPriorityShowId = showListInfoNode["HighPriorityShowId"].asString(); auto allShowListNode = showListInfoNode["ShowList"]["Show"]; for (auto showListInfoNodeShowListShow : allShowListNode) { ShowListInfo::Show showObject; - if(!showListInfoNodeShowListShow["ShowId"].isNull()) - showObject.showId = showListInfoNodeShowListShow["ShowId"].asString(); if(!showListInfoNodeShowListShow["ShowName"].isNull()) showObject.showName = showListInfoNodeShowListShow["ShowName"].asString(); if(!showListInfoNodeShowListShow["Duration"].isNull()) showObject.duration = std::stol(showListInfoNodeShowListShow["Duration"].asString()); if(!showListInfoNodeShowListShow["RepeatTimes"].isNull()) showObject.repeatTimes = std::stoi(showListInfoNodeShowListShow["RepeatTimes"].asString()); + if(!showListInfoNodeShowListShow["ShowId"].isNull()) + showObject.showId = showListInfoNodeShowListShow["ShowId"].asString(); auto resourceInfoNode = value["ResourceInfo"]; - if(!resourceInfoNode["ResourceId"].isNull()) - showObject.resourceInfo.resourceId = resourceInfoNode["ResourceId"].asString(); + if(!resourceInfoNode["LiveInputType"].isNull()) + showObject.resourceInfo.liveInputType = std::stoi(resourceInfoNode["LiveInputType"].asString()); if(!resourceInfoNode["ResourceUrl"].isNull()) showObject.resourceInfo.resourceUrl = resourceInfoNode["ResourceUrl"].asString(); if(!resourceInfoNode["ResourceType"].isNull()) showObject.resourceInfo.resourceType = resourceInfoNode["ResourceType"].asString(); - if(!resourceInfoNode["LiveInputType"].isNull()) - showObject.resourceInfo.liveInputType = std::stoi(resourceInfoNode["LiveInputType"].asString()); + if(!resourceInfoNode["ResourceId"].isNull()) + showObject.resourceInfo.resourceId = resourceInfoNode["ResourceId"].asString(); showListInfo_.showList.push_back(showObject); } if(!value["ShowList"].isNull()) diff --git a/live/src/model/DescribeStudioLayoutsRequest.cc b/live/src/model/DescribeStudioLayoutsRequest.cc index 228276cbd..f73fad30b 100644 --- a/live/src/model/DescribeStudioLayoutsRequest.cc +++ b/live/src/model/DescribeStudioLayoutsRequest.cc @@ -1,62 +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::DescribeStudioLayoutsRequest; - -DescribeStudioLayoutsRequest::DescribeStudioLayoutsRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeStudioLayouts") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeStudioLayoutsRequest::~DescribeStudioLayoutsRequest() -{} - -std::string DescribeStudioLayoutsRequest::getLayoutId()const -{ - return layoutId_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeStudioLayoutsRequest; + +DescribeStudioLayoutsRequest::DescribeStudioLayoutsRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeStudioLayouts") { + setMethod(HttpRequest::Method::Post); } -void DescribeStudioLayoutsRequest::setLayoutId(const std::string& layoutId) -{ - layoutId_ = layoutId; - setParameter("LayoutId", layoutId); +DescribeStudioLayoutsRequest::~DescribeStudioLayoutsRequest() {} + +std::string DescribeStudioLayoutsRequest::getLayoutId() const { + return layoutId_; } -std::string DescribeStudioLayoutsRequest::getCasterId()const -{ - return casterId_; +void DescribeStudioLayoutsRequest::setLayoutId(const std::string &layoutId) { + layoutId_ = layoutId; + setParameter(std::string("LayoutId"), layoutId); } -void DescribeStudioLayoutsRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string DescribeStudioLayoutsRequest::getCasterId() const { + return casterId_; } -long DescribeStudioLayoutsRequest::getOwnerId()const -{ - return ownerId_; +void DescribeStudioLayoutsRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void DescribeStudioLayoutsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeStudioLayoutsRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeStudioLayoutsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DescribeStudioLayoutsResult.cc b/live/src/model/DescribeStudioLayoutsResult.cc index 4f746e061..ea8a0c075 100644 --- a/live/src/model/DescribeStudioLayoutsResult.cc +++ b/live/src/model/DescribeStudioLayoutsResult.cc @@ -43,36 +43,36 @@ void DescribeStudioLayoutsResult::parse(const std::string &payload) for (auto valueStudioLayoutsStudioLayout : allStudioLayoutsNode) { StudioLayout studioLayoutsObject; + if(!valueStudioLayoutsStudioLayout["LayoutType"].isNull()) + studioLayoutsObject.layoutType = valueStudioLayoutsStudioLayout["LayoutType"].asString(); if(!valueStudioLayoutsStudioLayout["LayoutId"].isNull()) studioLayoutsObject.layoutId = valueStudioLayoutsStudioLayout["LayoutId"].asString(); if(!valueStudioLayoutsStudioLayout["LayoutName"].isNull()) studioLayoutsObject.layoutName = valueStudioLayoutsStudioLayout["LayoutName"].asString(); - if(!valueStudioLayoutsStudioLayout["LayoutType"].isNull()) - studioLayoutsObject.layoutType = valueStudioLayoutsStudioLayout["LayoutType"].asString(); auto allScreenInputConfigListNode = valueStudioLayoutsStudioLayout["ScreenInputConfigList"]["ScreenInputConfig"]; for (auto valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig : allScreenInputConfigListNode) { StudioLayout::ScreenInputConfig screenInputConfigListObject; - if(!valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["Id"].isNull()) - screenInputConfigListObject.id = valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["Id"].asString(); + if(!valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["PortraitType"].isNull()) + screenInputConfigListObject.portraitType = std::stoi(valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["PortraitType"].asString()); if(!valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["Index"].isNull()) screenInputConfigListObject.index = std::stoi(valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["Index"].asString()); + if(!valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["PositionX"].isNull()) + screenInputConfigListObject.positionX = valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["PositionX"].asString(); + if(!valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["Color"].isNull()) + screenInputConfigListObject.color = valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["Color"].asString(); + if(!valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["OnlyAudio"].isNull()) + screenInputConfigListObject.onlyAudio = valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["OnlyAudio"].asString() == "true"; + if(!valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["HeightNormalized"].isNull()) + screenInputConfigListObject.heightNormalized = std::stof(valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["HeightNormalized"].asString()); + if(!valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["PositionY"].isNull()) + screenInputConfigListObject.positionY = valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["PositionY"].asString(); if(!valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["ChannelId"].isNull()) screenInputConfigListObject.channelId = valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["ChannelId"].asString(); if(!valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["VideoResourceId"].isNull()) screenInputConfigListObject.videoResourceId = valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["VideoResourceId"].asString(); - if(!valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["Color"].isNull()) - screenInputConfigListObject.color = valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["Color"].asString(); - if(!valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["PositionX"].isNull()) - screenInputConfigListObject.positionX = valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["PositionX"].asString(); - if(!valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["PositionY"].isNull()) - screenInputConfigListObject.positionY = valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["PositionY"].asString(); - if(!valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["HeightNormalized"].isNull()) - screenInputConfigListObject.heightNormalized = std::stof(valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["HeightNormalized"].asString()); - if(!valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["PortraitType"].isNull()) - screenInputConfigListObject.portraitType = std::stoi(valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["PortraitType"].asString()); - if(!valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["OnlyAudio"].isNull()) - screenInputConfigListObject.onlyAudio = valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["OnlyAudio"].asString() == "true"; + if(!valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["Id"].isNull()) + screenInputConfigListObject.id = valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["Id"].asString(); auto audioConfigNode = value["AudioConfig"]; if(!audioConfigNode["VolumeRate"].isNull()) screenInputConfigListObject.audioConfig.volumeRate = std::stof(audioConfigNode["VolumeRate"].asString()); @@ -84,24 +84,24 @@ void DescribeStudioLayoutsResult::parse(const std::string &payload) for (auto valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig : allMediaInputConfigListNode) { StudioLayout::MediaInputConfig mediaInputConfigListObject; - if(!valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["Id"].isNull()) - mediaInputConfigListObject.id = valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["Id"].asString(); if(!valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["Index"].isNull()) mediaInputConfigListObject.index = std::stoi(valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["Index"].asString()); - if(!valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["ChannelId"].isNull()) - mediaInputConfigListObject.channelId = valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["ChannelId"].asString(); - if(!valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["VideoResourceId"].isNull()) - mediaInputConfigListObject.videoResourceId = valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["VideoResourceId"].asString(); - if(!valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["ImageMaterialId"].isNull()) - mediaInputConfigListObject.imageMaterialId = valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["ImageMaterialId"].asString(); + if(!valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["HeightNormalized"].isNull()) + mediaInputConfigListObject.heightNormalized = std::stof(valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["HeightNormalized"].asString()); if(!valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["FillMode"].isNull()) mediaInputConfigListObject.fillMode = valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["FillMode"].asString(); if(!valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["PositionRefer"].isNull()) mediaInputConfigListObject.positionRefer = valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["PositionRefer"].asString(); + if(!valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["ChannelId"].isNull()) + mediaInputConfigListObject.channelId = valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["ChannelId"].asString(); + if(!valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["VideoResourceId"].isNull()) + mediaInputConfigListObject.videoResourceId = valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["VideoResourceId"].asString(); if(!valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["WidthNormalized"].isNull()) mediaInputConfigListObject.widthNormalized = std::stof(valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["WidthNormalized"].asString()); - if(!valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["HeightNormalized"].isNull()) - mediaInputConfigListObject.heightNormalized = std::stof(valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["HeightNormalized"].asString()); + if(!valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["ImageMaterialId"].isNull()) + mediaInputConfigListObject.imageMaterialId = valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["ImageMaterialId"].asString(); + if(!valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["Id"].isNull()) + mediaInputConfigListObject.id = valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["Id"].asString(); auto allPositionNormalized = value["PositionNormalized"]["Position"]; for (auto value : allPositionNormalized) mediaInputConfigListObject.positionNormalized.push_back(value.asString()); @@ -111,24 +111,24 @@ void DescribeStudioLayoutsResult::parse(const std::string &payload) for (auto valueStudioLayoutsStudioLayoutLayerOrderConfigListLayerOrderConfig : allLayerOrderConfigListNode) { StudioLayout::LayerOrderConfig layerOrderConfigListObject; - if(!valueStudioLayoutsStudioLayoutLayerOrderConfigListLayerOrderConfig["Id"].isNull()) - layerOrderConfigListObject.id = valueStudioLayoutsStudioLayoutLayerOrderConfigListLayerOrderConfig["Id"].asString(); if(!valueStudioLayoutsStudioLayoutLayerOrderConfigListLayerOrderConfig["Type"].isNull()) layerOrderConfigListObject.type = valueStudioLayoutsStudioLayoutLayerOrderConfigListLayerOrderConfig["Type"].asString(); + if(!valueStudioLayoutsStudioLayoutLayerOrderConfigListLayerOrderConfig["Id"].isNull()) + layerOrderConfigListObject.id = valueStudioLayoutsStudioLayoutLayerOrderConfigListLayerOrderConfig["Id"].asString(); studioLayoutsObject.layerOrderConfigList.push_back(layerOrderConfigListObject); } auto commonConfigNode = value["CommonConfig"]; - if(!commonConfigNode["VideoResourceId"].isNull()) - studioLayoutsObject.commonConfig.videoResourceId = commonConfigNode["VideoResourceId"].asString(); if(!commonConfigNode["ChannelId"].isNull()) studioLayoutsObject.commonConfig.channelId = commonConfigNode["ChannelId"].asString(); + if(!commonConfigNode["VideoResourceId"].isNull()) + studioLayoutsObject.commonConfig.videoResourceId = commonConfigNode["VideoResourceId"].asString(); auto bgImageConfigNode = value["BgImageConfig"]; - if(!bgImageConfigNode["Id"].isNull()) - studioLayoutsObject.bgImageConfig.id = bgImageConfigNode["Id"].asString(); if(!bgImageConfigNode["MaterialId"].isNull()) studioLayoutsObject.bgImageConfig.materialId = bgImageConfigNode["MaterialId"].asString(); if(!bgImageConfigNode["ImageUrl"].isNull()) studioLayoutsObject.bgImageConfig.imageUrl = bgImageConfigNode["ImageUrl"].asString(); + if(!bgImageConfigNode["Id"].isNull()) + studioLayoutsObject.bgImageConfig.id = bgImageConfigNode["Id"].asString(); if(!bgImageConfigNode["LocationId"].isNull()) studioLayoutsObject.bgImageConfig.locationId = bgImageConfigNode["LocationId"].asString(); studioLayouts_.push_back(studioLayoutsObject); diff --git a/live/src/model/DescribeToutiaoLivePlayRequest.cc b/live/src/model/DescribeToutiaoLivePlayRequest.cc index f9a8d74d2..663c0ee64 100644 --- a/live/src/model/DescribeToutiaoLivePlayRequest.cc +++ b/live/src/model/DescribeToutiaoLivePlayRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeToutiaoLivePlayRequest; - -DescribeToutiaoLivePlayRequest::DescribeToutiaoLivePlayRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeToutiaoLivePlay") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeToutiaoLivePlayRequest::~DescribeToutiaoLivePlayRequest() -{} - -std::string DescribeToutiaoLivePlayRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeToutiaoLivePlayRequest; + +DescribeToutiaoLivePlayRequest::DescribeToutiaoLivePlayRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeToutiaoLivePlay") { + setMethod(HttpRequest::Method::Post); } -void DescribeToutiaoLivePlayRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeToutiaoLivePlayRequest::~DescribeToutiaoLivePlayRequest() {} + +std::string DescribeToutiaoLivePlayRequest::getStartTime() const { + return startTime_; } -std::string DescribeToutiaoLivePlayRequest::getStream()const -{ - return stream_; +void DescribeToutiaoLivePlayRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeToutiaoLivePlayRequest::setStream(const std::string& stream) -{ - stream_ = stream; - setParameter("Stream", stream); +std::string DescribeToutiaoLivePlayRequest::getStream() const { + return stream_; } -std::string DescribeToutiaoLivePlayRequest::getApp()const -{ - return app_; +void DescribeToutiaoLivePlayRequest::setStream(const std::string &stream) { + stream_ = stream; + setParameter(std::string("Stream"), stream); } -void DescribeToutiaoLivePlayRequest::setApp(const std::string& app) -{ - app_ = app; - setParameter("App", app); +std::string DescribeToutiaoLivePlayRequest::getApp() const { + return app_; } -std::string DescribeToutiaoLivePlayRequest::getEndTime()const -{ - return endTime_; +void DescribeToutiaoLivePlayRequest::setApp(const std::string &app) { + app_ = app; + setParameter(std::string("App"), app); } -void DescribeToutiaoLivePlayRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeToutiaoLivePlayRequest::getEndTime() const { + return endTime_; } -long DescribeToutiaoLivePlayRequest::getOwnerId()const -{ - return ownerId_; +void DescribeToutiaoLivePlayRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeToutiaoLivePlayRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeToutiaoLivePlayRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeToutiaoLivePlayRequest::getDomain()const -{ - return domain_; +void DescribeToutiaoLivePlayRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeToutiaoLivePlayRequest::setDomain(const std::string& domain) -{ - domain_ = domain; - setParameter("Domain", domain); +std::string DescribeToutiaoLivePlayRequest::getDomain() const { + return domain_; +} + +void DescribeToutiaoLivePlayRequest::setDomain(const std::string &domain) { + domain_ = domain; + setParameter(std::string("Domain"), domain); } diff --git a/live/src/model/DescribeToutiaoLivePlayResult.cc b/live/src/model/DescribeToutiaoLivePlayResult.cc index 1c95753df..d611b2d8c 100644 --- a/live/src/model/DescribeToutiaoLivePlayResult.cc +++ b/live/src/model/DescribeToutiaoLivePlayResult.cc @@ -43,20 +43,20 @@ void DescribeToutiaoLivePlayResult::parse(const std::string &payload) for (auto valueContentContentItem : allContentNode) { ContentItem contentObject; - if(!valueContentContentItem["App"].isNull()) - contentObject.app = valueContentContentItem["App"].asString(); - if(!valueContentContentItem["Bandwidth"].isNull()) - contentObject.bandwidth = std::stof(valueContentContentItem["Bandwidth"].asString()); - if(!valueContentContentItem["CdnName"].isNull()) - contentObject.cdnName = valueContentContentItem["CdnName"].asString(); if(!valueContentContentItem["Domain"].isNull()) contentObject.domain = valueContentContentItem["Domain"].asString(); - if(!valueContentContentItem["PlayNum"].isNull()) - contentObject.playNum = std::stol(valueContentContentItem["PlayNum"].asString()); + if(!valueContentContentItem["Bandwidth"].isNull()) + contentObject.bandwidth = std::stof(valueContentContentItem["Bandwidth"].asString()); if(!valueContentContentItem["StreamName"].isNull()) contentObject.streamName = valueContentContentItem["StreamName"].asString(); + if(!valueContentContentItem["App"].isNull()) + contentObject.app = valueContentContentItem["App"].asString(); + if(!valueContentContentItem["PlayNum"].isNull()) + contentObject.playNum = std::stol(valueContentContentItem["PlayNum"].asString()); if(!valueContentContentItem["Timestamp"].isNull()) contentObject.timestamp = std::stol(valueContentContentItem["Timestamp"].asString()); + if(!valueContentContentItem["CdnName"].isNull()) + contentObject.cdnName = valueContentContentItem["CdnName"].asString(); content_.push_back(contentObject); } if(!value["Description"].isNull()) diff --git a/live/src/model/DescribeToutiaoLivePublishRequest.cc b/live/src/model/DescribeToutiaoLivePublishRequest.cc index 32725ddab..5fb749ddd 100644 --- a/live/src/model/DescribeToutiaoLivePublishRequest.cc +++ b/live/src/model/DescribeToutiaoLivePublishRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeToutiaoLivePublishRequest; - -DescribeToutiaoLivePublishRequest::DescribeToutiaoLivePublishRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeToutiaoLivePublish") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeToutiaoLivePublishRequest::~DescribeToutiaoLivePublishRequest() -{} - -std::string DescribeToutiaoLivePublishRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeToutiaoLivePublishRequest; + +DescribeToutiaoLivePublishRequest::DescribeToutiaoLivePublishRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeToutiaoLivePublish") { + setMethod(HttpRequest::Method::Post); } -void DescribeToutiaoLivePublishRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeToutiaoLivePublishRequest::~DescribeToutiaoLivePublishRequest() {} + +std::string DescribeToutiaoLivePublishRequest::getStartTime() const { + return startTime_; } -std::string DescribeToutiaoLivePublishRequest::getStream()const -{ - return stream_; +void DescribeToutiaoLivePublishRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeToutiaoLivePublishRequest::setStream(const std::string& stream) -{ - stream_ = stream; - setParameter("Stream", stream); +std::string DescribeToutiaoLivePublishRequest::getStream() const { + return stream_; } -std::string DescribeToutiaoLivePublishRequest::getApp()const -{ - return app_; +void DescribeToutiaoLivePublishRequest::setStream(const std::string &stream) { + stream_ = stream; + setParameter(std::string("Stream"), stream); } -void DescribeToutiaoLivePublishRequest::setApp(const std::string& app) -{ - app_ = app; - setParameter("App", app); +std::string DescribeToutiaoLivePublishRequest::getApp() const { + return app_; } -std::string DescribeToutiaoLivePublishRequest::getEndTime()const -{ - return endTime_; +void DescribeToutiaoLivePublishRequest::setApp(const std::string &app) { + app_ = app; + setParameter(std::string("App"), app); } -void DescribeToutiaoLivePublishRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeToutiaoLivePublishRequest::getEndTime() const { + return endTime_; } -long DescribeToutiaoLivePublishRequest::getOwnerId()const -{ - return ownerId_; +void DescribeToutiaoLivePublishRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeToutiaoLivePublishRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeToutiaoLivePublishRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeToutiaoLivePublishRequest::getDomain()const -{ - return domain_; +void DescribeToutiaoLivePublishRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeToutiaoLivePublishRequest::setDomain(const std::string& domain) -{ - domain_ = domain; - setParameter("Domain", domain); +std::string DescribeToutiaoLivePublishRequest::getDomain() const { + return domain_; +} + +void DescribeToutiaoLivePublishRequest::setDomain(const std::string &domain) { + domain_ = domain; + setParameter(std::string("Domain"), domain); } diff --git a/live/src/model/DescribeToutiaoLivePublishResult.cc b/live/src/model/DescribeToutiaoLivePublishResult.cc index 30124d9e7..287352dd8 100644 --- a/live/src/model/DescribeToutiaoLivePublishResult.cc +++ b/live/src/model/DescribeToutiaoLivePublishResult.cc @@ -43,24 +43,24 @@ void DescribeToutiaoLivePublishResult::parse(const std::string &payload) for (auto valueContentContentItem : allContentNode) { ContentItem contentObject; + if(!valueContentContentItem["Domain"].isNull()) + contentObject.domain = valueContentContentItem["Domain"].asString(); + if(!valueContentContentItem["StreamName"].isNull()) + contentObject.streamName = valueContentContentItem["StreamName"].asString(); if(!valueContentContentItem["App"].isNull()) contentObject.app = valueContentContentItem["App"].asString(); + if(!valueContentContentItem["Fps"].isNull()) + contentObject.fps = std::stof(valueContentContentItem["Fps"].asString()); + if(!valueContentContentItem["Flr"].isNull()) + contentObject.flr = std::stof(valueContentContentItem["Flr"].asString()); + if(!valueContentContentItem["Timestamp"].isNull()) + contentObject.timestamp = std::stol(valueContentContentItem["Timestamp"].asString()); if(!valueContentContentItem["Bitrate"].isNull()) contentObject.bitrate = std::stof(valueContentContentItem["Bitrate"].asString()); if(!valueContentContentItem["BwDiff"].isNull()) contentObject.bwDiff = std::stof(valueContentContentItem["BwDiff"].asString()); if(!valueContentContentItem["CdnName"].isNull()) contentObject.cdnName = valueContentContentItem["CdnName"].asString(); - if(!valueContentContentItem["Domain"].isNull()) - contentObject.domain = valueContentContentItem["Domain"].asString(); - if(!valueContentContentItem["Flr"].isNull()) - contentObject.flr = std::stof(valueContentContentItem["Flr"].asString()); - if(!valueContentContentItem["Fps"].isNull()) - contentObject.fps = std::stof(valueContentContentItem["Fps"].asString()); - if(!valueContentContentItem["StreamName"].isNull()) - contentObject.streamName = valueContentContentItem["StreamName"].asString(); - if(!valueContentContentItem["Timestamp"].isNull()) - contentObject.timestamp = std::stol(valueContentContentItem["Timestamp"].asString()); content_.push_back(contentObject); } if(!value["Description"].isNull()) diff --git a/live/src/model/DescribeUpBpsPeakDataRequest.cc b/live/src/model/DescribeUpBpsPeakDataRequest.cc index 5066b87d5..076c57672 100644 --- a/live/src/model/DescribeUpBpsPeakDataRequest.cc +++ b/live/src/model/DescribeUpBpsPeakDataRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeUpBpsPeakDataRequest; - -DescribeUpBpsPeakDataRequest::DescribeUpBpsPeakDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeUpBpsPeakData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeUpBpsPeakDataRequest::~DescribeUpBpsPeakDataRequest() -{} - -std::string DescribeUpBpsPeakDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeUpBpsPeakDataRequest; + +DescribeUpBpsPeakDataRequest::DescribeUpBpsPeakDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeUpBpsPeakData") { + setMethod(HttpRequest::Method::Post); } -void DescribeUpBpsPeakDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeUpBpsPeakDataRequest::~DescribeUpBpsPeakDataRequest() {} + +std::string DescribeUpBpsPeakDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeUpBpsPeakDataRequest::getDomainName()const -{ - return domainName_; +void DescribeUpBpsPeakDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeUpBpsPeakDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeUpBpsPeakDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeUpBpsPeakDataRequest::getEndTime()const -{ - return endTime_; +void DescribeUpBpsPeakDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeUpBpsPeakDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeUpBpsPeakDataRequest::getEndTime() const { + return endTime_; } -long DescribeUpBpsPeakDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeUpBpsPeakDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeUpBpsPeakDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeUpBpsPeakDataRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeUpBpsPeakDataRequest::getDomainSwitch()const -{ - return domainSwitch_; +void DescribeUpBpsPeakDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeUpBpsPeakDataRequest::setDomainSwitch(const std::string& domainSwitch) -{ - domainSwitch_ = domainSwitch; - setParameter("DomainSwitch", domainSwitch); +std::string DescribeUpBpsPeakDataRequest::getDomainSwitch() const { + return domainSwitch_; +} + +void DescribeUpBpsPeakDataRequest::setDomainSwitch(const std::string &domainSwitch) { + domainSwitch_ = domainSwitch; + setParameter(std::string("DomainSwitch"), domainSwitch); } diff --git a/live/src/model/DescribeUpBpsPeakDataResult.cc b/live/src/model/DescribeUpBpsPeakDataResult.cc index c99d1696d..31f728ec7 100644 --- a/live/src/model/DescribeUpBpsPeakDataResult.cc +++ b/live/src/model/DescribeUpBpsPeakDataResult.cc @@ -43,14 +43,14 @@ void DescribeUpBpsPeakDataResult::parse(const std::string &payload) for (auto valueDescribeUpPeakTrafficsDescribeUpPeakTraffic : allDescribeUpPeakTrafficsNode) { DescribeUpPeakTraffic describeUpPeakTrafficsObject; - if(!valueDescribeUpPeakTrafficsDescribeUpPeakTraffic["PeakTime"].isNull()) - describeUpPeakTrafficsObject.peakTime = valueDescribeUpPeakTrafficsDescribeUpPeakTraffic["PeakTime"].asString(); if(!valueDescribeUpPeakTrafficsDescribeUpPeakTraffic["QueryTime"].isNull()) describeUpPeakTrafficsObject.queryTime = valueDescribeUpPeakTrafficsDescribeUpPeakTraffic["QueryTime"].asString(); - if(!valueDescribeUpPeakTrafficsDescribeUpPeakTraffic["StatName"].isNull()) - describeUpPeakTrafficsObject.statName = valueDescribeUpPeakTrafficsDescribeUpPeakTraffic["StatName"].asString(); if(!valueDescribeUpPeakTrafficsDescribeUpPeakTraffic["BandWidth"].isNull()) describeUpPeakTrafficsObject.bandWidth = valueDescribeUpPeakTrafficsDescribeUpPeakTraffic["BandWidth"].asString(); + if(!valueDescribeUpPeakTrafficsDescribeUpPeakTraffic["StatName"].isNull()) + describeUpPeakTrafficsObject.statName = valueDescribeUpPeakTrafficsDescribeUpPeakTraffic["StatName"].asString(); + if(!valueDescribeUpPeakTrafficsDescribeUpPeakTraffic["PeakTime"].isNull()) + describeUpPeakTrafficsObject.peakTime = valueDescribeUpPeakTrafficsDescribeUpPeakTraffic["PeakTime"].asString(); describeUpPeakTraffics_.push_back(describeUpPeakTrafficsObject); } diff --git a/live/src/model/DescribeUpBpsPeakOfLineRequest.cc b/live/src/model/DescribeUpBpsPeakOfLineRequest.cc index e09dc2be1..d8b5e847a 100644 --- a/live/src/model/DescribeUpBpsPeakOfLineRequest.cc +++ b/live/src/model/DescribeUpBpsPeakOfLineRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeUpBpsPeakOfLineRequest; - -DescribeUpBpsPeakOfLineRequest::DescribeUpBpsPeakOfLineRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeUpBpsPeakOfLine") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeUpBpsPeakOfLineRequest::~DescribeUpBpsPeakOfLineRequest() -{} - -std::string DescribeUpBpsPeakOfLineRequest::getLine()const -{ - return line_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeUpBpsPeakOfLineRequest; + +DescribeUpBpsPeakOfLineRequest::DescribeUpBpsPeakOfLineRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeUpBpsPeakOfLine") { + setMethod(HttpRequest::Method::Post); } -void DescribeUpBpsPeakOfLineRequest::setLine(const std::string& line) -{ - line_ = line; - setParameter("Line", line); +DescribeUpBpsPeakOfLineRequest::~DescribeUpBpsPeakOfLineRequest() {} + +std::string DescribeUpBpsPeakOfLineRequest::getLine() const { + return line_; } -std::string DescribeUpBpsPeakOfLineRequest::getStartTime()const -{ - return startTime_; +void DescribeUpBpsPeakOfLineRequest::setLine(const std::string &line) { + line_ = line; + setParameter(std::string("Line"), line); } -void DescribeUpBpsPeakOfLineRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string DescribeUpBpsPeakOfLineRequest::getStartTime() const { + return startTime_; } -std::string DescribeUpBpsPeakOfLineRequest::getDomainName()const -{ - return domainName_; +void DescribeUpBpsPeakOfLineRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeUpBpsPeakOfLineRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeUpBpsPeakOfLineRequest::getDomainName() const { + return domainName_; } -std::string DescribeUpBpsPeakOfLineRequest::getEndTime()const -{ - return endTime_; +void DescribeUpBpsPeakOfLineRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeUpBpsPeakOfLineRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeUpBpsPeakOfLineRequest::getEndTime() const { + return endTime_; } -long DescribeUpBpsPeakOfLineRequest::getOwnerId()const -{ - return ownerId_; +void DescribeUpBpsPeakOfLineRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeUpBpsPeakOfLineRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeUpBpsPeakOfLineRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeUpBpsPeakOfLineRequest::getDomainSwitch()const -{ - return domainSwitch_; +void DescribeUpBpsPeakOfLineRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeUpBpsPeakOfLineRequest::setDomainSwitch(const std::string& domainSwitch) -{ - domainSwitch_ = domainSwitch; - setParameter("DomainSwitch", domainSwitch); +std::string DescribeUpBpsPeakOfLineRequest::getDomainSwitch() const { + return domainSwitch_; +} + +void DescribeUpBpsPeakOfLineRequest::setDomainSwitch(const std::string &domainSwitch) { + domainSwitch_ = domainSwitch; + setParameter(std::string("DomainSwitch"), domainSwitch); } diff --git a/live/src/model/DescribeUpBpsPeakOfLineResult.cc b/live/src/model/DescribeUpBpsPeakOfLineResult.cc index 6e0075b18..565e2cde3 100644 --- a/live/src/model/DescribeUpBpsPeakOfLineResult.cc +++ b/live/src/model/DescribeUpBpsPeakOfLineResult.cc @@ -43,14 +43,14 @@ void DescribeUpBpsPeakOfLineResult::parse(const std::string &payload) for (auto valueDescribeUpBpsPeakOfLinesDescribeUpBpsPeakOfLine : allDescribeUpBpsPeakOfLinesNode) { DescribeUpBpsPeakOfLine describeUpBpsPeakOfLinesObject; - if(!valueDescribeUpBpsPeakOfLinesDescribeUpBpsPeakOfLine["BandWidth"].isNull()) - describeUpBpsPeakOfLinesObject.bandWidth = std::stof(valueDescribeUpBpsPeakOfLinesDescribeUpBpsPeakOfLine["BandWidth"].asString()); - if(!valueDescribeUpBpsPeakOfLinesDescribeUpBpsPeakOfLine["PeakTime"].isNull()) - describeUpBpsPeakOfLinesObject.peakTime = valueDescribeUpBpsPeakOfLinesDescribeUpBpsPeakOfLine["PeakTime"].asString(); if(!valueDescribeUpBpsPeakOfLinesDescribeUpBpsPeakOfLine["QueryTime"].isNull()) describeUpBpsPeakOfLinesObject.queryTime = valueDescribeUpBpsPeakOfLinesDescribeUpBpsPeakOfLine["QueryTime"].asString(); if(!valueDescribeUpBpsPeakOfLinesDescribeUpBpsPeakOfLine["StatName"].isNull()) describeUpBpsPeakOfLinesObject.statName = valueDescribeUpBpsPeakOfLinesDescribeUpBpsPeakOfLine["StatName"].asString(); + if(!valueDescribeUpBpsPeakOfLinesDescribeUpBpsPeakOfLine["BandWidth"].isNull()) + describeUpBpsPeakOfLinesObject.bandWidth = std::stof(valueDescribeUpBpsPeakOfLinesDescribeUpBpsPeakOfLine["BandWidth"].asString()); + if(!valueDescribeUpBpsPeakOfLinesDescribeUpBpsPeakOfLine["PeakTime"].isNull()) + describeUpBpsPeakOfLinesObject.peakTime = valueDescribeUpBpsPeakOfLinesDescribeUpBpsPeakOfLine["PeakTime"].asString(); describeUpBpsPeakOfLines_.push_back(describeUpBpsPeakOfLinesObject); } diff --git a/live/src/model/DescribeUpPeakPublishStreamDataRequest.cc b/live/src/model/DescribeUpPeakPublishStreamDataRequest.cc index ffe7a2f34..ead566541 100644 --- a/live/src/model/DescribeUpPeakPublishStreamDataRequest.cc +++ b/live/src/model/DescribeUpPeakPublishStreamDataRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeUpPeakPublishStreamDataRequest; - -DescribeUpPeakPublishStreamDataRequest::DescribeUpPeakPublishStreamDataRequest() : - RpcServiceRequest("live", "2016-11-01", "DescribeUpPeakPublishStreamData") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeUpPeakPublishStreamDataRequest::~DescribeUpPeakPublishStreamDataRequest() -{} - -std::string DescribeUpPeakPublishStreamDataRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::DescribeUpPeakPublishStreamDataRequest; + +DescribeUpPeakPublishStreamDataRequest::DescribeUpPeakPublishStreamDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeUpPeakPublishStreamData") { + setMethod(HttpRequest::Method::Post); } -void DescribeUpPeakPublishStreamDataRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +DescribeUpPeakPublishStreamDataRequest::~DescribeUpPeakPublishStreamDataRequest() {} + +std::string DescribeUpPeakPublishStreamDataRequest::getStartTime() const { + return startTime_; } -std::string DescribeUpPeakPublishStreamDataRequest::getDomainName()const -{ - return domainName_; +void DescribeUpPeakPublishStreamDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void DescribeUpPeakPublishStreamDataRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string DescribeUpPeakPublishStreamDataRequest::getDomainName() const { + return domainName_; } -std::string DescribeUpPeakPublishStreamDataRequest::getEndTime()const -{ - return endTime_; +void DescribeUpPeakPublishStreamDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DescribeUpPeakPublishStreamDataRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string DescribeUpPeakPublishStreamDataRequest::getEndTime() const { + return endTime_; } -long DescribeUpPeakPublishStreamDataRequest::getOwnerId()const -{ - return ownerId_; +void DescribeUpPeakPublishStreamDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void DescribeUpPeakPublishStreamDataRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DescribeUpPeakPublishStreamDataRequest::getOwnerId() const { + return ownerId_; } -std::string DescribeUpPeakPublishStreamDataRequest::getDomainSwitch()const -{ - return domainSwitch_; +void DescribeUpPeakPublishStreamDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DescribeUpPeakPublishStreamDataRequest::setDomainSwitch(const std::string& domainSwitch) -{ - domainSwitch_ = domainSwitch; - setParameter("DomainSwitch", domainSwitch); +std::string DescribeUpPeakPublishStreamDataRequest::getDomainSwitch() const { + return domainSwitch_; +} + +void DescribeUpPeakPublishStreamDataRequest::setDomainSwitch(const std::string &domainSwitch) { + domainSwitch_ = domainSwitch; + setParameter(std::string("DomainSwitch"), domainSwitch); } diff --git a/live/src/model/DescribeUpPeakPublishStreamDataResult.cc b/live/src/model/DescribeUpPeakPublishStreamDataResult.cc index 5ee46229c..72dd6f64c 100644 --- a/live/src/model/DescribeUpPeakPublishStreamDataResult.cc +++ b/live/src/model/DescribeUpPeakPublishStreamDataResult.cc @@ -43,16 +43,16 @@ void DescribeUpPeakPublishStreamDataResult::parse(const std::string &payload) for (auto valueDescribeUpPeakPublishStreamDatasDescribeUpPeakPublishStreamData : allDescribeUpPeakPublishStreamDatasNode) { DescribeUpPeakPublishStreamData describeUpPeakPublishStreamDatasObject; - if(!valueDescribeUpPeakPublishStreamDatasDescribeUpPeakPublishStreamData["PublishStreamNum"].isNull()) - describeUpPeakPublishStreamDatasObject.publishStreamNum = std::stoi(valueDescribeUpPeakPublishStreamDatasDescribeUpPeakPublishStreamData["PublishStreamNum"].asString()); - if(!valueDescribeUpPeakPublishStreamDatasDescribeUpPeakPublishStreamData["PeakTime"].isNull()) - describeUpPeakPublishStreamDatasObject.peakTime = valueDescribeUpPeakPublishStreamDatasDescribeUpPeakPublishStreamData["PeakTime"].asString(); if(!valueDescribeUpPeakPublishStreamDatasDescribeUpPeakPublishStreamData["QueryTime"].isNull()) describeUpPeakPublishStreamDatasObject.queryTime = valueDescribeUpPeakPublishStreamDatasDescribeUpPeakPublishStreamData["QueryTime"].asString(); - if(!valueDescribeUpPeakPublishStreamDatasDescribeUpPeakPublishStreamData["StatName"].isNull()) - describeUpPeakPublishStreamDatasObject.statName = valueDescribeUpPeakPublishStreamDatasDescribeUpPeakPublishStreamData["StatName"].asString(); if(!valueDescribeUpPeakPublishStreamDatasDescribeUpPeakPublishStreamData["BandWidth"].isNull()) describeUpPeakPublishStreamDatasObject.bandWidth = valueDescribeUpPeakPublishStreamDatasDescribeUpPeakPublishStreamData["BandWidth"].asString(); + if(!valueDescribeUpPeakPublishStreamDatasDescribeUpPeakPublishStreamData["StatName"].isNull()) + describeUpPeakPublishStreamDatasObject.statName = valueDescribeUpPeakPublishStreamDatasDescribeUpPeakPublishStreamData["StatName"].asString(); + if(!valueDescribeUpPeakPublishStreamDatasDescribeUpPeakPublishStreamData["PeakTime"].isNull()) + describeUpPeakPublishStreamDatasObject.peakTime = valueDescribeUpPeakPublishStreamDatasDescribeUpPeakPublishStreamData["PeakTime"].asString(); + if(!valueDescribeUpPeakPublishStreamDatasDescribeUpPeakPublishStreamData["PublishStreamNum"].isNull()) + describeUpPeakPublishStreamDatasObject.publishStreamNum = std::stoi(valueDescribeUpPeakPublishStreamDatasDescribeUpPeakPublishStreamData["PublishStreamNum"].asString()); describeUpPeakPublishStreamDatas_.push_back(describeUpPeakPublishStreamDatasObject); } diff --git a/live/src/model/DisableLiveRealtimeLogDeliveryRequest.cc b/live/src/model/DisableLiveRealtimeLogDeliveryRequest.cc index 5b9523050..4e0b6bf42 100644 --- a/live/src/model/DisableLiveRealtimeLogDeliveryRequest.cc +++ b/live/src/model/DisableLiveRealtimeLogDeliveryRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DisableLiveRealtimeLogDeliveryRequest; - -DisableLiveRealtimeLogDeliveryRequest::DisableLiveRealtimeLogDeliveryRequest() : - RpcServiceRequest("live", "2016-11-01", "DisableLiveRealtimeLogDelivery") -{ - setMethod(HttpRequest::Method::Get); -} - -DisableLiveRealtimeLogDeliveryRequest::~DisableLiveRealtimeLogDeliveryRequest() -{} - -std::string DisableLiveRealtimeLogDeliveryRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::DisableLiveRealtimeLogDeliveryRequest; + +DisableLiveRealtimeLogDeliveryRequest::DisableLiveRealtimeLogDeliveryRequest() + : RpcServiceRequest("live", "2016-11-01", "DisableLiveRealtimeLogDelivery") { + setMethod(HttpRequest::Method::Get); } -void DisableLiveRealtimeLogDeliveryRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +DisableLiveRealtimeLogDeliveryRequest::~DisableLiveRealtimeLogDeliveryRequest() {} + +std::string DisableLiveRealtimeLogDeliveryRequest::getDomainName() const { + return domainName_; } -long DisableLiveRealtimeLogDeliveryRequest::getOwnerId()const -{ - return ownerId_; +void DisableLiveRealtimeLogDeliveryRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void DisableLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DisableLiveRealtimeLogDeliveryRequest::getOwnerId() const { + return ownerId_; +} + +void DisableLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/DynamicUpdateWaterMarkStreamRuleRequest.cc b/live/src/model/DynamicUpdateWaterMarkStreamRuleRequest.cc index c6b022237..f02ff51ca 100644 --- a/live/src/model/DynamicUpdateWaterMarkStreamRuleRequest.cc +++ b/live/src/model/DynamicUpdateWaterMarkStreamRuleRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DynamicUpdateWaterMarkStreamRuleRequest; - -DynamicUpdateWaterMarkStreamRuleRequest::DynamicUpdateWaterMarkStreamRuleRequest() : - RpcServiceRequest("live", "2016-11-01", "DynamicUpdateWaterMarkStreamRule") -{ - setMethod(HttpRequest::Method::Post); -} - -DynamicUpdateWaterMarkStreamRuleRequest::~DynamicUpdateWaterMarkStreamRuleRequest() -{} - -std::string DynamicUpdateWaterMarkStreamRuleRequest::getStream()const -{ - return stream_; + */ + +#include + +using AlibabaCloud::Live::Model::DynamicUpdateWaterMarkStreamRuleRequest; + +DynamicUpdateWaterMarkStreamRuleRequest::DynamicUpdateWaterMarkStreamRuleRequest() + : RpcServiceRequest("live", "2016-11-01", "DynamicUpdateWaterMarkStreamRule") { + setMethod(HttpRequest::Method::Post); } -void DynamicUpdateWaterMarkStreamRuleRequest::setStream(const std::string& stream) -{ - stream_ = stream; - setParameter("Stream", stream); +DynamicUpdateWaterMarkStreamRuleRequest::~DynamicUpdateWaterMarkStreamRuleRequest() {} + +std::string DynamicUpdateWaterMarkStreamRuleRequest::getStream() const { + return stream_; } -std::string DynamicUpdateWaterMarkStreamRuleRequest::getApp()const -{ - return app_; +void DynamicUpdateWaterMarkStreamRuleRequest::setStream(const std::string &stream) { + stream_ = stream; + setParameter(std::string("Stream"), stream); } -void DynamicUpdateWaterMarkStreamRuleRequest::setApp(const std::string& app) -{ - app_ = app; - setParameter("App", app); +std::string DynamicUpdateWaterMarkStreamRuleRequest::getApp() const { + return app_; } -long DynamicUpdateWaterMarkStreamRuleRequest::getOwnerId()const -{ - return ownerId_; +void DynamicUpdateWaterMarkStreamRuleRequest::setApp(const std::string &app) { + app_ = app; + setParameter(std::string("App"), app); } -void DynamicUpdateWaterMarkStreamRuleRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long DynamicUpdateWaterMarkStreamRuleRequest::getOwnerId() const { + return ownerId_; } -std::string DynamicUpdateWaterMarkStreamRuleRequest::getTemplateId()const -{ - return templateId_; +void DynamicUpdateWaterMarkStreamRuleRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void DynamicUpdateWaterMarkStreamRuleRequest::setTemplateId(const std::string& templateId) -{ - templateId_ = templateId; - setParameter("TemplateId", templateId); +std::string DynamicUpdateWaterMarkStreamRuleRequest::getTemplateId() const { + return templateId_; } -std::string DynamicUpdateWaterMarkStreamRuleRequest::getDomain()const -{ - return domain_; +void DynamicUpdateWaterMarkStreamRuleRequest::setTemplateId(const std::string &templateId) { + templateId_ = templateId; + setParameter(std::string("TemplateId"), templateId); } -void DynamicUpdateWaterMarkStreamRuleRequest::setDomain(const std::string& domain) -{ - domain_ = domain; - setParameter("Domain", domain); +std::string DynamicUpdateWaterMarkStreamRuleRequest::getDomain() const { + return domain_; +} + +void DynamicUpdateWaterMarkStreamRuleRequest::setDomain(const std::string &domain) { + domain_ = domain; + setParameter(std::string("Domain"), domain); } diff --git a/live/src/model/EditPlaylistRequest.cc b/live/src/model/EditPlaylistRequest.cc index 9092d17db..5f0d41f69 100644 --- a/live/src/model/EditPlaylistRequest.cc +++ b/live/src/model/EditPlaylistRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::EditPlaylistRequest; - -EditPlaylistRequest::EditPlaylistRequest() : - RpcServiceRequest("live", "2016-11-01", "EditPlaylist") -{ - setMethod(HttpRequest::Method::Post); -} - -EditPlaylistRequest::~EditPlaylistRequest() -{} - -std::string EditPlaylistRequest::getProgramItems()const -{ - return programItems_; + */ + +#include + +using AlibabaCloud::Live::Model::EditPlaylistRequest; + +EditPlaylistRequest::EditPlaylistRequest() + : RpcServiceRequest("live", "2016-11-01", "EditPlaylist") { + setMethod(HttpRequest::Method::Post); } -void EditPlaylistRequest::setProgramItems(const std::string& programItems) -{ - programItems_ = programItems; - setParameter("ProgramItems", programItems); +EditPlaylistRequest::~EditPlaylistRequest() {} + +std::string EditPlaylistRequest::getProgramItems() const { + return programItems_; } -std::string EditPlaylistRequest::getProgramId()const -{ - return programId_; +void EditPlaylistRequest::setProgramItems(const std::string &programItems) { + programItems_ = programItems; + setParameter(std::string("ProgramItems"), programItems); } -void EditPlaylistRequest::setProgramId(const std::string& programId) -{ - programId_ = programId; - setParameter("ProgramId", programId); +std::string EditPlaylistRequest::getProgramId() const { + return programId_; } -long EditPlaylistRequest::getOwnerId()const -{ - return ownerId_; +void EditPlaylistRequest::setProgramId(const std::string &programId) { + programId_ = programId; + setParameter(std::string("ProgramId"), programId); } -void EditPlaylistRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long EditPlaylistRequest::getOwnerId() const { + return ownerId_; } -std::string EditPlaylistRequest::getProgramConfig()const -{ - return programConfig_; +void EditPlaylistRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void EditPlaylistRequest::setProgramConfig(const std::string& programConfig) -{ - programConfig_ = programConfig; - setParameter("ProgramConfig", programConfig); +std::string EditPlaylistRequest::getProgramConfig() const { + return programConfig_; +} + +void EditPlaylistRequest::setProgramConfig(const std::string &programConfig) { + programConfig_ = programConfig; + setParameter(std::string("ProgramConfig"), programConfig); } diff --git a/live/src/model/EditPlaylistResult.cc b/live/src/model/EditPlaylistResult.cc index ea6999ba3..e9e862368 100644 --- a/live/src/model/EditPlaylistResult.cc +++ b/live/src/model/EditPlaylistResult.cc @@ -44,26 +44,26 @@ void EditPlaylistResult::parse(const std::string &payload) for (auto itemsNodeSuccessItemsSuccessItem : allSuccessItemsNode) { Items::SuccessItem successItemObject; - if(!itemsNodeSuccessItemsSuccessItem["ItemId"].isNull()) - successItemObject.itemId = itemsNodeSuccessItemsSuccessItem["ItemId"].asString(); if(!itemsNodeSuccessItemsSuccessItem["ItemName"].isNull()) successItemObject.itemName = itemsNodeSuccessItemsSuccessItem["ItemName"].asString(); + if(!itemsNodeSuccessItemsSuccessItem["ItemId"].isNull()) + successItemObject.itemId = itemsNodeSuccessItemsSuccessItem["ItemId"].asString(); items_.successItems.push_back(successItemObject); } auto allFailedItemsNode = itemsNode["FailedItems"]["FailedItem"]; for (auto itemsNodeFailedItemsFailedItem : allFailedItemsNode) { Items::FailedItem failedItemObject; - if(!itemsNodeFailedItemsFailedItem["ItemId"].isNull()) - failedItemObject.itemId = itemsNodeFailedItemsFailedItem["ItemId"].asString(); if(!itemsNodeFailedItemsFailedItem["ItemName"].isNull()) failedItemObject.itemName = itemsNodeFailedItemsFailedItem["ItemName"].asString(); + if(!itemsNodeFailedItemsFailedItem["ItemId"].isNull()) + failedItemObject.itemId = itemsNodeFailedItemsFailedItem["ItemId"].asString(); items_.failedItems.push_back(failedItemObject); } - if(!value["ProgramId"].isNull()) - programId_ = value["ProgramId"].asString(); if(!value["CasterId"].isNull()) casterId_ = value["CasterId"].asString(); + if(!value["ProgramId"].isNull()) + programId_ = value["ProgramId"].asString(); } diff --git a/live/src/model/EditShowAndReplaceRequest.cc b/live/src/model/EditShowAndReplaceRequest.cc index c822debf8..33adb9544 100644 --- a/live/src/model/EditShowAndReplaceRequest.cc +++ b/live/src/model/EditShowAndReplaceRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::EditShowAndReplaceRequest; - -EditShowAndReplaceRequest::EditShowAndReplaceRequest() : - RpcServiceRequest("live", "2016-11-01", "EditShowAndReplace") -{ - setMethod(HttpRequest::Method::Post); -} - -EditShowAndReplaceRequest::~EditShowAndReplaceRequest() -{} - -float EditShowAndReplaceRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::EditShowAndReplaceRequest; + +EditShowAndReplaceRequest::EditShowAndReplaceRequest() + : RpcServiceRequest("live", "2016-11-01", "EditShowAndReplace") { + setMethod(HttpRequest::Method::Post); } -void EditShowAndReplaceRequest::setStartTime(float startTime) -{ - startTime_ = startTime; - setParameter("StartTime", std::to_string(startTime)); +EditShowAndReplaceRequest::~EditShowAndReplaceRequest() {} + +float EditShowAndReplaceRequest::getStartTime() const { + return startTime_; } -std::string EditShowAndReplaceRequest::getUserData()const -{ - return userData_; +void EditShowAndReplaceRequest::setStartTime(float startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), std::to_string(startTime)); } -void EditShowAndReplaceRequest::setUserData(const std::string& userData) -{ - userData_ = userData; - setParameter("UserData", userData); +std::string EditShowAndReplaceRequest::getUserData() const { + return userData_; } -std::string EditShowAndReplaceRequest::getStorageInfo()const -{ - return storageInfo_; +void EditShowAndReplaceRequest::setUserData(const std::string &userData) { + userData_ = userData; + setParameter(std::string("UserData"), userData); } -void EditShowAndReplaceRequest::setStorageInfo(const std::string& storageInfo) -{ - storageInfo_ = storageInfo; - setParameter("StorageInfo", storageInfo); +std::string EditShowAndReplaceRequest::getStorageInfo() const { + return storageInfo_; } -std::string EditShowAndReplaceRequest::getCasterId()const -{ - return casterId_; +void EditShowAndReplaceRequest::setStorageInfo(const std::string &storageInfo) { + storageInfo_ = storageInfo; + setParameter(std::string("StorageInfo"), storageInfo); } -void EditShowAndReplaceRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string EditShowAndReplaceRequest::getCasterId() const { + return casterId_; } -float EditShowAndReplaceRequest::getEndTime()const -{ - return endTime_; +void EditShowAndReplaceRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void EditShowAndReplaceRequest::setEndTime(float endTime) -{ - endTime_ = endTime; - setParameter("EndTime", std::to_string(endTime)); +float EditShowAndReplaceRequest::getEndTime() const { + return endTime_; } -long EditShowAndReplaceRequest::getOwnerId()const -{ - return ownerId_; +void EditShowAndReplaceRequest::setEndTime(float endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), std::to_string(endTime)); } -void EditShowAndReplaceRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long EditShowAndReplaceRequest::getOwnerId() const { + return ownerId_; } -std::string EditShowAndReplaceRequest::getShowId()const -{ - return showId_; +void EditShowAndReplaceRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void EditShowAndReplaceRequest::setShowId(const std::string& showId) -{ - showId_ = showId; - setParameter("ShowId", showId); +std::string EditShowAndReplaceRequest::getShowId() const { + return showId_; +} + +void EditShowAndReplaceRequest::setShowId(const std::string &showId) { + showId_ = showId; + setParameter(std::string("ShowId"), showId); } diff --git a/live/src/model/EffectCasterUrgentRequest.cc b/live/src/model/EffectCasterUrgentRequest.cc index f79b6adf6..60cf3f532 100644 --- a/live/src/model/EffectCasterUrgentRequest.cc +++ b/live/src/model/EffectCasterUrgentRequest.cc @@ -1,62 +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::EffectCasterUrgentRequest; - -EffectCasterUrgentRequest::EffectCasterUrgentRequest() : - RpcServiceRequest("live", "2016-11-01", "EffectCasterUrgent") -{ - setMethod(HttpRequest::Method::Post); -} - -EffectCasterUrgentRequest::~EffectCasterUrgentRequest() -{} - -std::string EffectCasterUrgentRequest::getCasterId()const -{ - return casterId_; + */ + +#include + +using AlibabaCloud::Live::Model::EffectCasterUrgentRequest; + +EffectCasterUrgentRequest::EffectCasterUrgentRequest() + : RpcServiceRequest("live", "2016-11-01", "EffectCasterUrgent") { + setMethod(HttpRequest::Method::Post); } -void EffectCasterUrgentRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +EffectCasterUrgentRequest::~EffectCasterUrgentRequest() {} + +std::string EffectCasterUrgentRequest::getCasterId() const { + return casterId_; } -long EffectCasterUrgentRequest::getOwnerId()const -{ - return ownerId_; +void EffectCasterUrgentRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void EffectCasterUrgentRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long EffectCasterUrgentRequest::getOwnerId() const { + return ownerId_; } -std::string EffectCasterUrgentRequest::getSceneId()const -{ - return sceneId_; +void EffectCasterUrgentRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void EffectCasterUrgentRequest::setSceneId(const std::string& sceneId) -{ - sceneId_ = sceneId; - setParameter("SceneId", sceneId); +std::string EffectCasterUrgentRequest::getSceneId() const { + return sceneId_; +} + +void EffectCasterUrgentRequest::setSceneId(const std::string &sceneId) { + sceneId_ = sceneId; + setParameter(std::string("SceneId"), sceneId); } diff --git a/live/src/model/EffectCasterVideoResourceRequest.cc b/live/src/model/EffectCasterVideoResourceRequest.cc index 9618a96b5..a88fab4dc 100644 --- a/live/src/model/EffectCasterVideoResourceRequest.cc +++ b/live/src/model/EffectCasterVideoResourceRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::EffectCasterVideoResourceRequest; - -EffectCasterVideoResourceRequest::EffectCasterVideoResourceRequest() : - RpcServiceRequest("live", "2016-11-01", "EffectCasterVideoResource") -{ - setMethod(HttpRequest::Method::Post); -} - -EffectCasterVideoResourceRequest::~EffectCasterVideoResourceRequest() -{} - -std::string EffectCasterVideoResourceRequest::getResourceId()const -{ - return resourceId_; + */ + +#include + +using AlibabaCloud::Live::Model::EffectCasterVideoResourceRequest; + +EffectCasterVideoResourceRequest::EffectCasterVideoResourceRequest() + : RpcServiceRequest("live", "2016-11-01", "EffectCasterVideoResource") { + setMethod(HttpRequest::Method::Post); } -void EffectCasterVideoResourceRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setParameter("ResourceId", resourceId); +EffectCasterVideoResourceRequest::~EffectCasterVideoResourceRequest() {} + +std::string EffectCasterVideoResourceRequest::getResourceId() const { + return resourceId_; } -std::string EffectCasterVideoResourceRequest::getCasterId()const -{ - return casterId_; +void EffectCasterVideoResourceRequest::setResourceId(const std::string &resourceId) { + resourceId_ = resourceId; + setParameter(std::string("ResourceId"), resourceId); } -void EffectCasterVideoResourceRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string EffectCasterVideoResourceRequest::getCasterId() const { + return casterId_; } -long EffectCasterVideoResourceRequest::getOwnerId()const -{ - return ownerId_; +void EffectCasterVideoResourceRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void EffectCasterVideoResourceRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long EffectCasterVideoResourceRequest::getOwnerId() const { + return ownerId_; } -std::string EffectCasterVideoResourceRequest::getSceneId()const -{ - return sceneId_; +void EffectCasterVideoResourceRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void EffectCasterVideoResourceRequest::setSceneId(const std::string& sceneId) -{ - sceneId_ = sceneId; - setParameter("SceneId", sceneId); +std::string EffectCasterVideoResourceRequest::getSceneId() const { + return sceneId_; +} + +void EffectCasterVideoResourceRequest::setSceneId(const std::string &sceneId) { + sceneId_ = sceneId; + setParameter(std::string("SceneId"), sceneId); } diff --git a/live/src/model/EnableLiveRealtimeLogDeliveryRequest.cc b/live/src/model/EnableLiveRealtimeLogDeliveryRequest.cc index d55948e01..11b4cbb84 100644 --- a/live/src/model/EnableLiveRealtimeLogDeliveryRequest.cc +++ b/live/src/model/EnableLiveRealtimeLogDeliveryRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::EnableLiveRealtimeLogDeliveryRequest; - -EnableLiveRealtimeLogDeliveryRequest::EnableLiveRealtimeLogDeliveryRequest() : - RpcServiceRequest("live", "2016-11-01", "EnableLiveRealtimeLogDelivery") -{ - setMethod(HttpRequest::Method::Get); -} - -EnableLiveRealtimeLogDeliveryRequest::~EnableLiveRealtimeLogDeliveryRequest() -{} - -std::string EnableLiveRealtimeLogDeliveryRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::EnableLiveRealtimeLogDeliveryRequest; + +EnableLiveRealtimeLogDeliveryRequest::EnableLiveRealtimeLogDeliveryRequest() + : RpcServiceRequest("live", "2016-11-01", "EnableLiveRealtimeLogDelivery") { + setMethod(HttpRequest::Method::Get); } -void EnableLiveRealtimeLogDeliveryRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +EnableLiveRealtimeLogDeliveryRequest::~EnableLiveRealtimeLogDeliveryRequest() {} + +std::string EnableLiveRealtimeLogDeliveryRequest::getDomainName() const { + return domainName_; } -long EnableLiveRealtimeLogDeliveryRequest::getOwnerId()const -{ - return ownerId_; +void EnableLiveRealtimeLogDeliveryRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void EnableLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long EnableLiveRealtimeLogDeliveryRequest::getOwnerId() const { + return ownerId_; +} + +void EnableLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/ForbidLiveStreamRequest.cc b/live/src/model/ForbidLiveStreamRequest.cc index 993f49d79..d56fc9322 100644 --- a/live/src/model/ForbidLiveStreamRequest.cc +++ b/live/src/model/ForbidLiveStreamRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ForbidLiveStreamRequest; - -ForbidLiveStreamRequest::ForbidLiveStreamRequest() : - RpcServiceRequest("live", "2016-11-01", "ForbidLiveStream") -{ - setMethod(HttpRequest::Method::Post); -} - -ForbidLiveStreamRequest::~ForbidLiveStreamRequest() -{} - -std::string ForbidLiveStreamRequest::getAppName()const -{ - return appName_; + */ + +#include + +using AlibabaCloud::Live::Model::ForbidLiveStreamRequest; + +ForbidLiveStreamRequest::ForbidLiveStreamRequest() + : RpcServiceRequest("live", "2016-11-01", "ForbidLiveStream") { + setMethod(HttpRequest::Method::Post); } -void ForbidLiveStreamRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +ForbidLiveStreamRequest::~ForbidLiveStreamRequest() {} + +std::string ForbidLiveStreamRequest::getAppName() const { + return appName_; } -std::string ForbidLiveStreamRequest::getStreamName()const -{ - return streamName_; +void ForbidLiveStreamRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void ForbidLiveStreamRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string ForbidLiveStreamRequest::getStreamName() const { + return streamName_; } -std::string ForbidLiveStreamRequest::getControlStreamAction()const -{ - return controlStreamAction_; +void ForbidLiveStreamRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void ForbidLiveStreamRequest::setControlStreamAction(const std::string& controlStreamAction) -{ - controlStreamAction_ = controlStreamAction; - setParameter("ControlStreamAction", controlStreamAction); +std::string ForbidLiveStreamRequest::getControlStreamAction() const { + return controlStreamAction_; } -std::string ForbidLiveStreamRequest::getResumeTime()const -{ - return resumeTime_; +void ForbidLiveStreamRequest::setControlStreamAction(const std::string &controlStreamAction) { + controlStreamAction_ = controlStreamAction; + setParameter(std::string("ControlStreamAction"), controlStreamAction); } -void ForbidLiveStreamRequest::setResumeTime(const std::string& resumeTime) -{ - resumeTime_ = resumeTime; - setParameter("ResumeTime", resumeTime); +std::string ForbidLiveStreamRequest::getResumeTime() const { + return resumeTime_; } -std::string ForbidLiveStreamRequest::getLiveStreamType()const -{ - return liveStreamType_; +void ForbidLiveStreamRequest::setResumeTime(const std::string &resumeTime) { + resumeTime_ = resumeTime; + setParameter(std::string("ResumeTime"), resumeTime); } -void ForbidLiveStreamRequest::setLiveStreamType(const std::string& liveStreamType) -{ - liveStreamType_ = liveStreamType; - setParameter("LiveStreamType", liveStreamType); +std::string ForbidLiveStreamRequest::getLiveStreamType() const { + return liveStreamType_; } -std::string ForbidLiveStreamRequest::getDomainName()const -{ - return domainName_; +void ForbidLiveStreamRequest::setLiveStreamType(const std::string &liveStreamType) { + liveStreamType_ = liveStreamType; + setParameter(std::string("LiveStreamType"), liveStreamType); } -void ForbidLiveStreamRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string ForbidLiveStreamRequest::getDomainName() const { + return domainName_; } -long ForbidLiveStreamRequest::getOwnerId()const -{ - return ownerId_; +void ForbidLiveStreamRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void ForbidLiveStreamRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long ForbidLiveStreamRequest::getOwnerId() const { + return ownerId_; } -std::string ForbidLiveStreamRequest::getOneshot()const -{ - return oneshot_; +void ForbidLiveStreamRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void ForbidLiveStreamRequest::setOneshot(const std::string& oneshot) -{ - oneshot_ = oneshot; - setParameter("Oneshot", oneshot); +std::string ForbidLiveStreamRequest::getOneshot() const { + return oneshot_; +} + +void ForbidLiveStreamRequest::setOneshot(const std::string &oneshot) { + oneshot_ = oneshot; + setParameter(std::string("Oneshot"), oneshot); } diff --git a/live/src/model/ForbidPushStreamRequest.cc b/live/src/model/ForbidPushStreamRequest.cc index 83d7d5bfa..5108393c1 100644 --- a/live/src/model/ForbidPushStreamRequest.cc +++ b/live/src/model/ForbidPushStreamRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ForbidPushStreamRequest; - -ForbidPushStreamRequest::ForbidPushStreamRequest() : - RpcServiceRequest("live", "2016-11-01", "ForbidPushStream") -{ - setMethod(HttpRequest::Method::Post); -} - -ForbidPushStreamRequest::~ForbidPushStreamRequest() -{} - -std::string ForbidPushStreamRequest::getUserData()const -{ - return userData_; + */ + +#include + +using AlibabaCloud::Live::Model::ForbidPushStreamRequest; + +ForbidPushStreamRequest::ForbidPushStreamRequest() + : RpcServiceRequest("live", "2016-11-01", "ForbidPushStream") { + setMethod(HttpRequest::Method::Post); } -void ForbidPushStreamRequest::setUserData(const std::string& userData) -{ - userData_ = userData; - setParameter("UserData", userData); +ForbidPushStreamRequest::~ForbidPushStreamRequest() {} + +std::string ForbidPushStreamRequest::getUserData() const { + return userData_; } -std::string ForbidPushStreamRequest::getEndTime()const -{ - return endTime_; +void ForbidPushStreamRequest::setUserData(const std::string &userData) { + userData_ = userData; + setParameter(std::string("UserData"), userData); } -void ForbidPushStreamRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string ForbidPushStreamRequest::getEndTime() const { + return endTime_; } -long ForbidPushStreamRequest::getOwnerId()const -{ - return ownerId_; +void ForbidPushStreamRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void ForbidPushStreamRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long ForbidPushStreamRequest::getOwnerId() const { + return ownerId_; } -std::string ForbidPushStreamRequest::getRoomId()const -{ - return roomId_; +void ForbidPushStreamRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void ForbidPushStreamRequest::setRoomId(const std::string& roomId) -{ - roomId_ = roomId; - setParameter("RoomId", roomId); +std::string ForbidPushStreamRequest::getRoomId() const { + return roomId_; } -std::string ForbidPushStreamRequest::getAppId()const -{ - return appId_; +void ForbidPushStreamRequest::setRoomId(const std::string &roomId) { + roomId_ = roomId; + setParameter(std::string("RoomId"), roomId); } -void ForbidPushStreamRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string ForbidPushStreamRequest::getAppId() const { + return appId_; +} + +void ForbidPushStreamRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/live/src/model/GetAllCustomTemplatesRequest.cc b/live/src/model/GetAllCustomTemplatesRequest.cc index 0da168655..5d3201185 100644 --- a/live/src/model/GetAllCustomTemplatesRequest.cc +++ b/live/src/model/GetAllCustomTemplatesRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::GetAllCustomTemplatesRequest; - -GetAllCustomTemplatesRequest::GetAllCustomTemplatesRequest() : - RpcServiceRequest("live", "2016-11-01", "GetAllCustomTemplates") -{ - setMethod(HttpRequest::Method::Post); -} - -GetAllCustomTemplatesRequest::~GetAllCustomTemplatesRequest() -{} - -std::string GetAllCustomTemplatesRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::Live::Model::GetAllCustomTemplatesRequest; + +GetAllCustomTemplatesRequest::GetAllCustomTemplatesRequest() + : RpcServiceRequest("live", "2016-11-01", "GetAllCustomTemplates") { + setMethod(HttpRequest::Method::Post); } -void GetAllCustomTemplatesRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +GetAllCustomTemplatesRequest::~GetAllCustomTemplatesRequest() {} + +std::string GetAllCustomTemplatesRequest::getUserId() const { + return userId_; } -long GetAllCustomTemplatesRequest::getOwnerId()const -{ - return ownerId_; +void GetAllCustomTemplatesRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void GetAllCustomTemplatesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long GetAllCustomTemplatesRequest::getOwnerId() const { + return ownerId_; +} + +void GetAllCustomTemplatesRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/GetCustomTemplateRequest.cc b/live/src/model/GetCustomTemplateRequest.cc index 5eaf002db..255d9ef1e 100644 --- a/live/src/model/GetCustomTemplateRequest.cc +++ b/live/src/model/GetCustomTemplateRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::GetCustomTemplateRequest; - -GetCustomTemplateRequest::GetCustomTemplateRequest() : - RpcServiceRequest("live", "2016-11-01", "GetCustomTemplate") -{ - setMethod(HttpRequest::Method::Post); -} - -GetCustomTemplateRequest::~GetCustomTemplateRequest() -{} - -std::string GetCustomTemplateRequest::get_Template()const -{ - return _template_; + */ + +#include + +using AlibabaCloud::Live::Model::GetCustomTemplateRequest; + +GetCustomTemplateRequest::GetCustomTemplateRequest() + : RpcServiceRequest("live", "2016-11-01", "GetCustomTemplate") { + setMethod(HttpRequest::Method::Post); } -void GetCustomTemplateRequest::set_Template(const std::string& _template) -{ - _template_ = _template; - setParameter("_Template", _template); +GetCustomTemplateRequest::~GetCustomTemplateRequest() {} + +std::string GetCustomTemplateRequest::get_Template() const { + return _template_; } -long GetCustomTemplateRequest::getOwnerId()const -{ - return ownerId_; +void GetCustomTemplateRequest::set_Template(const std::string &_template) { + _template_ = _template; + setParameter(std::string("Template"), _template); } -void GetCustomTemplateRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long GetCustomTemplateRequest::getOwnerId() const { + return ownerId_; +} + +void GetCustomTemplateRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/GetCustomTemplateResult.cc b/live/src/model/GetCustomTemplateResult.cc index f488736e6..3fa57e7fb 100644 --- a/live/src/model/GetCustomTemplateResult.cc +++ b/live/src/model/GetCustomTemplateResult.cc @@ -39,10 +39,10 @@ void GetCustomTemplateResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Template"].isNull()) - _template_ = value["Template"].asString(); if(!value["CustomTemplate"].isNull()) customTemplate_ = value["CustomTemplate"].asString(); + if(!value["Template"].isNull()) + _template_ = value["Template"].asString(); } diff --git a/live/src/model/GetEditingJobInfoRequest.cc b/live/src/model/GetEditingJobInfoRequest.cc index 568a979ef..f27e0ec85 100644 --- a/live/src/model/GetEditingJobInfoRequest.cc +++ b/live/src/model/GetEditingJobInfoRequest.cc @@ -1,62 +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::GetEditingJobInfoRequest; - -GetEditingJobInfoRequest::GetEditingJobInfoRequest() : - RpcServiceRequest("live", "2016-11-01", "GetEditingJobInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -GetEditingJobInfoRequest::~GetEditingJobInfoRequest() -{} - -std::string GetEditingJobInfoRequest::getCasterId()const -{ - return casterId_; + */ + +#include + +using AlibabaCloud::Live::Model::GetEditingJobInfoRequest; + +GetEditingJobInfoRequest::GetEditingJobInfoRequest() + : RpcServiceRequest("live", "2016-11-01", "GetEditingJobInfo") { + setMethod(HttpRequest::Method::Post); } -void GetEditingJobInfoRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +GetEditingJobInfoRequest::~GetEditingJobInfoRequest() {} + +std::string GetEditingJobInfoRequest::getCasterId() const { + return casterId_; } -long GetEditingJobInfoRequest::getOwnerId()const -{ - return ownerId_; +void GetEditingJobInfoRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void GetEditingJobInfoRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long GetEditingJobInfoRequest::getOwnerId() const { + return ownerId_; } -std::string GetEditingJobInfoRequest::getShowId()const -{ - return showId_; +void GetEditingJobInfoRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void GetEditingJobInfoRequest::setShowId(const std::string& showId) -{ - showId_ = showId; - setParameter("ShowId", showId); +std::string GetEditingJobInfoRequest::getShowId() const { + return showId_; +} + +void GetEditingJobInfoRequest::setShowId(const std::string &showId) { + showId_ = showId; + setParameter(std::string("ShowId"), showId); } diff --git a/live/src/model/GetMessageAppRequest.cc b/live/src/model/GetMessageAppRequest.cc new file mode 100644 index 000000000..35fc081b7 --- /dev/null +++ b/live/src/model/GetMessageAppRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::GetMessageAppRequest; + +GetMessageAppRequest::GetMessageAppRequest() + : RpcServiceRequest("live", "2016-11-01", "GetMessageApp") { + setMethod(HttpRequest::Method::Post); +} + +GetMessageAppRequest::~GetMessageAppRequest() {} + +std::string GetMessageAppRequest::getAppId() const { + return appId_; +} + +void GetMessageAppRequest::setAppId(const std::string &appId) { + appId_ = appId; + setBodyParameter(std::string("AppId"), appId); +} + diff --git a/live/src/model/GetMessageAppResult.cc b/live/src/model/GetMessageAppResult.cc new file mode 100644 index 000000000..760cbe9d2 --- /dev/null +++ b/live/src/model/GetMessageAppResult.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +GetMessageAppResult::GetMessageAppResult() : + ServiceResult() +{} + +GetMessageAppResult::GetMessageAppResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetMessageAppResult::~GetMessageAppResult() +{} + +void GetMessageAppResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["AppId"].isNull()) + result_.appId = resultNode["AppId"].asString(); + if(!resultNode["CreateTime"].isNull()) + result_.createTime = std::stol(resultNode["CreateTime"].asString()); + if(!resultNode["Status"].isNull()) + result_.status = std::stoi(resultNode["Status"].asString()); + if(!resultNode["AppConfig"].isNull()) + result_.appConfig = resultNode["AppConfig"].asString(); + if(!resultNode["Extension"].isNull()) + result_.extension = resultNode["Extension"].asString(); + +} + +GetMessageAppResult::Result GetMessageAppResult::getResult()const +{ + return result_; +} + diff --git a/live/src/model/GetMessageGroupRequest.cc b/live/src/model/GetMessageGroupRequest.cc new file mode 100644 index 000000000..5ecc16df9 --- /dev/null +++ b/live/src/model/GetMessageGroupRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::GetMessageGroupRequest; + +GetMessageGroupRequest::GetMessageGroupRequest() + : RpcServiceRequest("live", "2016-11-01", "GetMessageGroup") { + setMethod(HttpRequest::Method::Post); +} + +GetMessageGroupRequest::~GetMessageGroupRequest() {} + +std::string GetMessageGroupRequest::getGroupId() const { + return groupId_; +} + +void GetMessageGroupRequest::setGroupId(const std::string &groupId) { + groupId_ = groupId; + setBodyParameter(std::string("GroupId"), groupId); +} + +std::string GetMessageGroupRequest::getAppId() const { + return appId_; +} + +void GetMessageGroupRequest::setAppId(const std::string &appId) { + appId_ = appId; + setBodyParameter(std::string("AppId"), appId); +} + diff --git a/live/src/model/GetMessageGroupResult.cc b/live/src/model/GetMessageGroupResult.cc new file mode 100644 index 000000000..4ebadf827 --- /dev/null +++ b/live/src/model/GetMessageGroupResult.cc @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +GetMessageGroupResult::GetMessageGroupResult() : + ServiceResult() +{} + +GetMessageGroupResult::GetMessageGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetMessageGroupResult::~GetMessageGroupResult() +{} + +void GetMessageGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["GroupId"].isNull()) + result_.groupId = resultNode["GroupId"].asString(); + if(!resultNode["CreateTime"].isNull()) + result_.createTime = std::stol(resultNode["CreateTime"].asString()); + if(!resultNode["Status"].isNull()) + result_.status = std::stoi(resultNode["Status"].asString()); + if(!resultNode["CreatorId"].isNull()) + result_.creatorId = resultNode["CreatorId"].asString(); + if(!resultNode["Extension"].isNull()) + result_.extension = resultNode["Extension"].asString(); + +} + +GetMessageGroupResult::Result GetMessageGroupResult::getResult()const +{ + return result_; +} + diff --git a/live/src/model/GetMessageTokenRequest.cc b/live/src/model/GetMessageTokenRequest.cc new file mode 100644 index 000000000..50e56e5a1 --- /dev/null +++ b/live/src/model/GetMessageTokenRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::GetMessageTokenRequest; + +GetMessageTokenRequest::GetMessageTokenRequest() + : RpcServiceRequest("live", "2016-11-01", "GetMessageToken") { + setMethod(HttpRequest::Method::Post); +} + +GetMessageTokenRequest::~GetMessageTokenRequest() {} + +std::string GetMessageTokenRequest::getDeviceId() const { + return deviceId_; +} + +void GetMessageTokenRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setBodyParameter(std::string("DeviceId"), deviceId); +} + +std::string GetMessageTokenRequest::getUserId() const { + return userId_; +} + +void GetMessageTokenRequest::setUserId(const std::string &userId) { + userId_ = userId; + setBodyParameter(std::string("UserId"), userId); +} + +std::string GetMessageTokenRequest::getDeviceType() const { + return deviceType_; +} + +void GetMessageTokenRequest::setDeviceType(const std::string &deviceType) { + deviceType_ = deviceType; + setBodyParameter(std::string("DeviceType"), deviceType); +} + +std::string GetMessageTokenRequest::getAppId() const { + return appId_; +} + +void GetMessageTokenRequest::setAppId(const std::string &appId) { + appId_ = appId; + setBodyParameter(std::string("AppId"), appId); +} + diff --git a/live/src/model/GetMessageTokenResult.cc b/live/src/model/GetMessageTokenResult.cc new file mode 100644 index 000000000..008f4e060 --- /dev/null +++ b/live/src/model/GetMessageTokenResult.cc @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +GetMessageTokenResult::GetMessageTokenResult() : + ServiceResult() +{} + +GetMessageTokenResult::GetMessageTokenResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetMessageTokenResult::~GetMessageTokenResult() +{} + +void GetMessageTokenResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["AccessToken"].isNull()) + result_.accessToken = resultNode["AccessToken"].asString(); + if(!resultNode["RefreshToken"].isNull()) + result_.refreshToken = resultNode["RefreshToken"].asString(); + if(!resultNode["AccessTokenExpiredTime"].isNull()) + result_.accessTokenExpiredTime = std::stol(resultNode["AccessTokenExpiredTime"].asString()); + +} + +GetMessageTokenResult::Result GetMessageTokenResult::getResult()const +{ + return result_; +} + diff --git a/live/src/model/GetMultiRateConfigListRequest.cc b/live/src/model/GetMultiRateConfigListRequest.cc index 6dd41f390..e1cf65829 100644 --- a/live/src/model/GetMultiRateConfigListRequest.cc +++ b/live/src/model/GetMultiRateConfigListRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::GetMultiRateConfigListRequest; - -GetMultiRateConfigListRequest::GetMultiRateConfigListRequest() : - RpcServiceRequest("live", "2016-11-01", "GetMultiRateConfigList") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMultiRateConfigListRequest::~GetMultiRateConfigListRequest() -{} - -std::string GetMultiRateConfigListRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::GetMultiRateConfigListRequest; + +GetMultiRateConfigListRequest::GetMultiRateConfigListRequest() + : RpcServiceRequest("live", "2016-11-01", "GetMultiRateConfigList") { + setMethod(HttpRequest::Method::Post); } -void GetMultiRateConfigListRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +GetMultiRateConfigListRequest::~GetMultiRateConfigListRequest() {} + +std::string GetMultiRateConfigListRequest::getDomainName() const { + return domainName_; } -long GetMultiRateConfigListRequest::getOwnerId()const -{ - return ownerId_; +void GetMultiRateConfigListRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void GetMultiRateConfigListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long GetMultiRateConfigListRequest::getOwnerId() const { + return ownerId_; +} + +void GetMultiRateConfigListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/GetMultiRateConfigListResult.cc b/live/src/model/GetMultiRateConfigListResult.cc index 3ce434337..fa4aae307 100644 --- a/live/src/model/GetMultiRateConfigListResult.cc +++ b/live/src/model/GetMultiRateConfigListResult.cc @@ -43,20 +43,20 @@ void GetMultiRateConfigListResult::parse(const std::string &payload) for (auto valueGroupInfoInfo : allGroupInfoNode) { Info groupInfoObject; - if(!valueGroupInfoInfo["App"].isNull()) - groupInfoObject.app = valueGroupInfoInfo["App"].asString(); - if(!valueGroupInfoInfo["AvFormat"].isNull()) - groupInfoObject.avFormat = valueGroupInfoInfo["AvFormat"].asString(); if(!valueGroupInfoInfo["GroupId"].isNull()) groupInfoObject.groupId = valueGroupInfoInfo["GroupId"].asString(); if(!valueGroupInfoInfo["Count"].isNull()) groupInfoObject.count = std::stoi(valueGroupInfoInfo["Count"].asString()); + if(!valueGroupInfoInfo["App"].isNull()) + groupInfoObject.app = valueGroupInfoInfo["App"].asString(); + if(!valueGroupInfoInfo["AvFormat"].isNull()) + groupInfoObject.avFormat = valueGroupInfoInfo["AvFormat"].asString(); groupInfo_.push_back(groupInfoObject); } - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); if(!value["Code"].isNull()) code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); } diff --git a/live/src/model/GetMultiRateConfigRequest.cc b/live/src/model/GetMultiRateConfigRequest.cc index 6f6367d0e..8e9f3d2b8 100644 --- a/live/src/model/GetMultiRateConfigRequest.cc +++ b/live/src/model/GetMultiRateConfigRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::GetMultiRateConfigRequest; - -GetMultiRateConfigRequest::GetMultiRateConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "GetMultiRateConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMultiRateConfigRequest::~GetMultiRateConfigRequest() -{} - -std::string GetMultiRateConfigRequest::getApp()const -{ - return app_; + */ + +#include + +using AlibabaCloud::Live::Model::GetMultiRateConfigRequest; + +GetMultiRateConfigRequest::GetMultiRateConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "GetMultiRateConfig") { + setMethod(HttpRequest::Method::Post); } -void GetMultiRateConfigRequest::setApp(const std::string& app) -{ - app_ = app; - setParameter("App", app); +GetMultiRateConfigRequest::~GetMultiRateConfigRequest() {} + +std::string GetMultiRateConfigRequest::getApp() const { + return app_; } -std::string GetMultiRateConfigRequest::getGroupId()const -{ - return groupId_; +void GetMultiRateConfigRequest::setApp(const std::string &app) { + app_ = app; + setParameter(std::string("App"), app); } -void GetMultiRateConfigRequest::setGroupId(const std::string& groupId) -{ - groupId_ = groupId; - setParameter("GroupId", groupId); +std::string GetMultiRateConfigRequest::getGroupId() const { + return groupId_; } -std::string GetMultiRateConfigRequest::getDomainName()const -{ - return domainName_; +void GetMultiRateConfigRequest::setGroupId(const std::string &groupId) { + groupId_ = groupId; + setParameter(std::string("GroupId"), groupId); } -void GetMultiRateConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string GetMultiRateConfigRequest::getDomainName() const { + return domainName_; } -long GetMultiRateConfigRequest::getOwnerId()const -{ - return ownerId_; +void GetMultiRateConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void GetMultiRateConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long GetMultiRateConfigRequest::getOwnerId() const { + return ownerId_; +} + +void GetMultiRateConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/GetMultiRateConfigResult.cc b/live/src/model/GetMultiRateConfigResult.cc index 1ff14f2f4..f7fb7a772 100644 --- a/live/src/model/GetMultiRateConfigResult.cc +++ b/live/src/model/GetMultiRateConfigResult.cc @@ -43,50 +43,50 @@ void GetMultiRateConfigResult::parse(const std::string &payload) for (auto valueTemplatesInfoDetail : allTemplatesInfoNode) { Detail templatesInfoObject; - if(!valueTemplatesInfoDetail["Template"].isNull()) - templatesInfoObject._template = valueTemplatesInfoDetail["Template"].asString(); - if(!valueTemplatesInfoDetail["TemplateType"].isNull()) - templatesInfoObject.templateType = valueTemplatesInfoDetail["TemplateType"].asString(); - if(!valueTemplatesInfoDetail["Height"].isNull()) - templatesInfoObject.height = std::stoi(valueTemplatesInfoDetail["Height"].asString()); - if(!valueTemplatesInfoDetail["Width"].isNull()) - templatesInfoObject.width = std::stoi(valueTemplatesInfoDetail["Width"].asString()); - if(!valueTemplatesInfoDetail["Fps"].isNull()) - templatesInfoObject.fps = std::stoi(valueTemplatesInfoDetail["Fps"].asString()); - if(!valueTemplatesInfoDetail["Gop"].isNull()) - templatesInfoObject.gop = valueTemplatesInfoDetail["Gop"].asString(); - if(!valueTemplatesInfoDetail["VideoBitrate"].isNull()) - templatesInfoObject.videoBitrate = std::stoi(valueTemplatesInfoDetail["VideoBitrate"].asString()); - if(!valueTemplatesInfoDetail["Profile"].isNull()) - templatesInfoObject.profile = std::stoi(valueTemplatesInfoDetail["Profile"].asString()); - if(!valueTemplatesInfoDetail["AudioProfile"].isNull()) - templatesInfoObject.audioProfile = valueTemplatesInfoDetail["AudioProfile"].asString(); - if(!valueTemplatesInfoDetail["AudioCodec"].isNull()) - templatesInfoObject.audioCodec = valueTemplatesInfoDetail["AudioCodec"].asString(); - if(!valueTemplatesInfoDetail["AudioRate"].isNull()) - templatesInfoObject.audioRate = std::stoi(valueTemplatesInfoDetail["AudioRate"].asString()); if(!valueTemplatesInfoDetail["AudioBitrate"].isNull()) templatesInfoObject.audioBitrate = std::stoi(valueTemplatesInfoDetail["AudioBitrate"].asString()); - if(!valueTemplatesInfoDetail["AudioChannelNum"].isNull()) - templatesInfoObject.audioChannelNum = std::stoi(valueTemplatesInfoDetail["AudioChannelNum"].asString()); + if(!valueTemplatesInfoDetail["Template"].isNull()) + templatesInfoObject._template = valueTemplatesInfoDetail["Template"].asString(); + if(!valueTemplatesInfoDetail["Height"].isNull()) + templatesInfoObject.height = std::stoi(valueTemplatesInfoDetail["Height"].asString()); + if(!valueTemplatesInfoDetail["TemplateType"].isNull()) + templatesInfoObject.templateType = valueTemplatesInfoDetail["TemplateType"].asString(); if(!valueTemplatesInfoDetail["BandWidth"].isNull()) templatesInfoObject.bandWidth = std::stoi(valueTemplatesInfoDetail["BandWidth"].asString()); + if(!valueTemplatesInfoDetail["Profile"].isNull()) + templatesInfoObject.profile = std::stoi(valueTemplatesInfoDetail["Profile"].asString()); + if(!valueTemplatesInfoDetail["AudioRate"].isNull()) + templatesInfoObject.audioRate = std::stoi(valueTemplatesInfoDetail["AudioRate"].asString()); + if(!valueTemplatesInfoDetail["AudioCodec"].isNull()) + templatesInfoObject.audioCodec = valueTemplatesInfoDetail["AudioCodec"].asString(); + if(!valueTemplatesInfoDetail["Gop"].isNull()) + templatesInfoObject.gop = valueTemplatesInfoDetail["Gop"].asString(); + if(!valueTemplatesInfoDetail["Width"].isNull()) + templatesInfoObject.width = std::stoi(valueTemplatesInfoDetail["Width"].asString()); + if(!valueTemplatesInfoDetail["VideoBitrate"].isNull()) + templatesInfoObject.videoBitrate = std::stoi(valueTemplatesInfoDetail["VideoBitrate"].asString()); + if(!valueTemplatesInfoDetail["AudioChannelNum"].isNull()) + templatesInfoObject.audioChannelNum = std::stoi(valueTemplatesInfoDetail["AudioChannelNum"].asString()); + if(!valueTemplatesInfoDetail["Fps"].isNull()) + templatesInfoObject.fps = std::stoi(valueTemplatesInfoDetail["Fps"].asString()); + if(!valueTemplatesInfoDetail["AudioProfile"].isNull()) + templatesInfoObject.audioProfile = valueTemplatesInfoDetail["AudioProfile"].asString(); templatesInfo_.push_back(templatesInfoObject); } - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Code"].isNull()) - code_ = std::stoi(value["Code"].asString()); if(!value["Domain"].isNull()) domain_ = value["Domain"].asString(); - if(!value["App"].isNull()) - app_ = value["App"].asString(); - if(!value["Stream"].isNull()) - stream_ = value["Stream"].asString(); - if(!value["AvFormat"].isNull()) - avFormat_ = value["AvFormat"].asString(); if(!value["GroupId"].isNull()) groupId_ = value["GroupId"].asString(); + if(!value["App"].isNull()) + app_ = value["App"].asString(); + if(!value["AvFormat"].isNull()) + avFormat_ = value["AvFormat"].asString(); + if(!value["Stream"].isNull()) + stream_ = value["Stream"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); if(!value["IsLazy"].isNull()) isLazy_ = value["IsLazy"].asString(); if(!value["IsTimeAlign"].isNull()) diff --git a/live/src/model/HotLiveRtcStreamRequest.cc b/live/src/model/HotLiveRtcStreamRequest.cc index be664b712..9c51098c5 100644 --- a/live/src/model/HotLiveRtcStreamRequest.cc +++ b/live/src/model/HotLiveRtcStreamRequest.cc @@ -1,128 +1,108 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::HotLiveRtcStreamRequest; - -HotLiveRtcStreamRequest::HotLiveRtcStreamRequest() : - RpcServiceRequest("live", "2016-11-01", "HotLiveRtcStream") -{ - setMethod(HttpRequest::Method::Post); -} - -HotLiveRtcStreamRequest::~HotLiveRtcStreamRequest() -{} - -std::string HotLiveRtcStreamRequest::getVideoMsid()const -{ - return videoMsid_; + */ + +#include + +using AlibabaCloud::Live::Model::HotLiveRtcStreamRequest; + +HotLiveRtcStreamRequest::HotLiveRtcStreamRequest() + : RpcServiceRequest("live", "2016-11-01", "HotLiveRtcStream") { + setMethod(HttpRequest::Method::Post); } -void HotLiveRtcStreamRequest::setVideoMsid(const std::string& videoMsid) -{ - videoMsid_ = videoMsid; - setParameter("VideoMsid", videoMsid); +HotLiveRtcStreamRequest::~HotLiveRtcStreamRequest() {} + +std::string HotLiveRtcStreamRequest::getVideoMsid() const { + return videoMsid_; } -std::string HotLiveRtcStreamRequest::getRegionCode()const -{ - return regionCode_; +void HotLiveRtcStreamRequest::setVideoMsid(const std::string &videoMsid) { + videoMsid_ = videoMsid; + setParameter(std::string("VideoMsid"), videoMsid); } -void HotLiveRtcStreamRequest::setRegionCode(const std::string& regionCode) -{ - regionCode_ = regionCode; - setParameter("RegionCode", regionCode); +std::string HotLiveRtcStreamRequest::getRegionCode() const { + return regionCode_; } -std::string HotLiveRtcStreamRequest::getConnectionTimeout()const -{ - return connectionTimeout_; +void HotLiveRtcStreamRequest::setRegionCode(const std::string ®ionCode) { + regionCode_ = regionCode; + setParameter(std::string("RegionCode"), regionCode); } -void HotLiveRtcStreamRequest::setConnectionTimeout(const std::string& connectionTimeout) -{ - connectionTimeout_ = connectionTimeout; - setParameter("ConnectionTimeout", connectionTimeout); +std::string HotLiveRtcStreamRequest::getConnectionTimeout() const { + return connectionTimeout_; } -std::string HotLiveRtcStreamRequest::getAppName()const -{ - return appName_; +void HotLiveRtcStreamRequest::setConnectionTimeout(const std::string &connectionTimeout) { + connectionTimeout_ = connectionTimeout; + setParameter(std::string("ConnectionTimeout"), connectionTimeout); } -void HotLiveRtcStreamRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string HotLiveRtcStreamRequest::getAppName() const { + return appName_; } -std::string HotLiveRtcStreamRequest::getAudioMsid()const -{ - return audioMsid_; +void HotLiveRtcStreamRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void HotLiveRtcStreamRequest::setAudioMsid(const std::string& audioMsid) -{ - audioMsid_ = audioMsid; - setParameter("AudioMsid", audioMsid); +std::string HotLiveRtcStreamRequest::getAudioMsid() const { + return audioMsid_; } -std::string HotLiveRtcStreamRequest::getMediaTimeout()const -{ - return mediaTimeout_; +void HotLiveRtcStreamRequest::setAudioMsid(const std::string &audioMsid) { + audioMsid_ = audioMsid; + setParameter(std::string("AudioMsid"), audioMsid); } -void HotLiveRtcStreamRequest::setMediaTimeout(const std::string& mediaTimeout) -{ - mediaTimeout_ = mediaTimeout; - setParameter("MediaTimeout", mediaTimeout); +std::string HotLiveRtcStreamRequest::getMediaTimeout() const { + return mediaTimeout_; } -std::string HotLiveRtcStreamRequest::getStreamName()const -{ - return streamName_; +void HotLiveRtcStreamRequest::setMediaTimeout(const std::string &mediaTimeout) { + mediaTimeout_ = mediaTimeout; + setParameter(std::string("MediaTimeout"), mediaTimeout); } -void HotLiveRtcStreamRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string HotLiveRtcStreamRequest::getStreamName() const { + return streamName_; } -std::string HotLiveRtcStreamRequest::getDomainName()const -{ - return domainName_; +void HotLiveRtcStreamRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void HotLiveRtcStreamRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string HotLiveRtcStreamRequest::getDomainName() const { + return domainName_; } -long HotLiveRtcStreamRequest::getOwnerId()const -{ - return ownerId_; +void HotLiveRtcStreamRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void HotLiveRtcStreamRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long HotLiveRtcStreamRequest::getOwnerId() const { + return ownerId_; +} + +void HotLiveRtcStreamRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/InitializeAutoShowListTaskRequest.cc b/live/src/model/InitializeAutoShowListTaskRequest.cc index 842193150..39dc629d6 100644 --- a/live/src/model/InitializeAutoShowListTaskRequest.cc +++ b/live/src/model/InitializeAutoShowListTaskRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::InitializeAutoShowListTaskRequest; - -InitializeAutoShowListTaskRequest::InitializeAutoShowListTaskRequest() : - RpcServiceRequest("live", "2016-11-01", "InitializeAutoShowListTask") -{ - setMethod(HttpRequest::Method::Post); -} - -InitializeAutoShowListTaskRequest::~InitializeAutoShowListTaskRequest() -{} - -long InitializeAutoShowListTaskRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::InitializeAutoShowListTaskRequest; + +InitializeAutoShowListTaskRequest::InitializeAutoShowListTaskRequest() + : RpcServiceRequest("live", "2016-11-01", "InitializeAutoShowListTask") { + setMethod(HttpRequest::Method::Post); } -void InitializeAutoShowListTaskRequest::setStartTime(long startTime) -{ - startTime_ = startTime; - setParameter("StartTime", std::to_string(startTime)); +InitializeAutoShowListTaskRequest::~InitializeAutoShowListTaskRequest() {} + +long InitializeAutoShowListTaskRequest::getStartTime() const { + return startTime_; } -std::string InitializeAutoShowListTaskRequest::getCasterConfig()const -{ - return casterConfig_; +void InitializeAutoShowListTaskRequest::setStartTime(long startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), std::to_string(startTime)); } -void InitializeAutoShowListTaskRequest::setCasterConfig(const std::string& casterConfig) -{ - casterConfig_ = casterConfig; - setParameter("CasterConfig", casterConfig); +std::string InitializeAutoShowListTaskRequest::getCasterConfig() const { + return casterConfig_; } -std::string InitializeAutoShowListTaskRequest::getDomainName()const -{ - return domainName_; +void InitializeAutoShowListTaskRequest::setCasterConfig(const std::string &casterConfig) { + casterConfig_ = casterConfig; + setParameter(std::string("CasterConfig"), casterConfig); } -void InitializeAutoShowListTaskRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string InitializeAutoShowListTaskRequest::getDomainName() const { + return domainName_; } -long InitializeAutoShowListTaskRequest::getEndTime()const -{ - return endTime_; +void InitializeAutoShowListTaskRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void InitializeAutoShowListTaskRequest::setEndTime(long endTime) -{ - endTime_ = endTime; - setParameter("EndTime", std::to_string(endTime)); +long InitializeAutoShowListTaskRequest::getEndTime() const { + return endTime_; } -long InitializeAutoShowListTaskRequest::getOwnerId()const -{ - return ownerId_; +void InitializeAutoShowListTaskRequest::setEndTime(long endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), std::to_string(endTime)); } -void InitializeAutoShowListTaskRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long InitializeAutoShowListTaskRequest::getOwnerId() const { + return ownerId_; } -std::string InitializeAutoShowListTaskRequest::getCallBackUrl()const -{ - return callBackUrl_; +void InitializeAutoShowListTaskRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void InitializeAutoShowListTaskRequest::setCallBackUrl(const std::string& callBackUrl) -{ - callBackUrl_ = callBackUrl; - setParameter("CallBackUrl", callBackUrl); +std::string InitializeAutoShowListTaskRequest::getCallBackUrl() const { + return callBackUrl_; } -std::string InitializeAutoShowListTaskRequest::getResourceIds()const -{ - return resourceIds_; +void InitializeAutoShowListTaskRequest::setCallBackUrl(const std::string &callBackUrl) { + callBackUrl_ = callBackUrl; + setParameter(std::string("CallBackUrl"), callBackUrl); } -void InitializeAutoShowListTaskRequest::setResourceIds(const std::string& resourceIds) -{ - resourceIds_ = resourceIds; - setParameter("ResourceIds", resourceIds); +std::string InitializeAutoShowListTaskRequest::getResourceIds() const { + return resourceIds_; +} + +void InitializeAutoShowListTaskRequest::setResourceIds(const std::string &resourceIds) { + resourceIds_ = resourceIds; + setParameter(std::string("ResourceIds"), resourceIds); } diff --git a/live/src/model/InitializeAutoShowListTaskResult.cc b/live/src/model/InitializeAutoShowListTaskResult.cc index 3ec365c3c..126ec9880 100644 --- a/live/src/model/InitializeAutoShowListTaskResult.cc +++ b/live/src/model/InitializeAutoShowListTaskResult.cc @@ -39,10 +39,10 @@ void InitializeAutoShowListTaskResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["CasterId"].isNull()) - casterId_ = value["CasterId"].asString(); if(!value["StreamList"].isNull()) streamList_ = value["StreamList"].asString(); + if(!value["CasterId"].isNull()) + casterId_ = value["CasterId"].asString(); } diff --git a/live/src/model/JoinMessageGroupRequest.cc b/live/src/model/JoinMessageGroupRequest.cc new file mode 100644 index 000000000..a389f8542 --- /dev/null +++ b/live/src/model/JoinMessageGroupRequest.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::JoinMessageGroupRequest; + +JoinMessageGroupRequest::JoinMessageGroupRequest() + : RpcServiceRequest("live", "2016-11-01", "JoinMessageGroup") { + setMethod(HttpRequest::Method::Post); +} + +JoinMessageGroupRequest::~JoinMessageGroupRequest() {} + +std::string JoinMessageGroupRequest::getGroupId() const { + return groupId_; +} + +void JoinMessageGroupRequest::setGroupId(const std::string &groupId) { + groupId_ = groupId; + setBodyParameter(std::string("GroupId"), groupId); +} + +std::string JoinMessageGroupRequest::getUserId() const { + return userId_; +} + +void JoinMessageGroupRequest::setUserId(const std::string &userId) { + userId_ = userId; + setBodyParameter(std::string("UserId"), userId); +} + +std::string JoinMessageGroupRequest::getAppId() const { + return appId_; +} + +void JoinMessageGroupRequest::setAppId(const std::string &appId) { + appId_ = appId; + setBodyParameter(std::string("AppId"), appId); +} + diff --git a/live/src/model/JoinMessageGroupResult.cc b/live/src/model/JoinMessageGroupResult.cc new file mode 100644 index 000000000..8319d9350 --- /dev/null +++ b/live/src/model/JoinMessageGroupResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +JoinMessageGroupResult::JoinMessageGroupResult() : + ServiceResult() +{} + +JoinMessageGroupResult::JoinMessageGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +JoinMessageGroupResult::~JoinMessageGroupResult() +{} + +void JoinMessageGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["Success"].isNull()) + result_.success = resultNode["Success"].asString() == "true"; + +} + +JoinMessageGroupResult::Result JoinMessageGroupResult::getResult()const +{ + return result_; +} + diff --git a/live/src/model/LeaveMessageGroupRequest.cc b/live/src/model/LeaveMessageGroupRequest.cc new file mode 100644 index 000000000..c3bcd9cba --- /dev/null +++ b/live/src/model/LeaveMessageGroupRequest.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::LeaveMessageGroupRequest; + +LeaveMessageGroupRequest::LeaveMessageGroupRequest() + : RpcServiceRequest("live", "2016-11-01", "LeaveMessageGroup") { + setMethod(HttpRequest::Method::Post); +} + +LeaveMessageGroupRequest::~LeaveMessageGroupRequest() {} + +std::string LeaveMessageGroupRequest::getGroupId() const { + return groupId_; +} + +void LeaveMessageGroupRequest::setGroupId(const std::string &groupId) { + groupId_ = groupId; + setBodyParameter(std::string("GroupId"), groupId); +} + +std::string LeaveMessageGroupRequest::getUserId() const { + return userId_; +} + +void LeaveMessageGroupRequest::setUserId(const std::string &userId) { + userId_ = userId; + setBodyParameter(std::string("UserId"), userId); +} + +std::string LeaveMessageGroupRequest::getAppId() const { + return appId_; +} + +void LeaveMessageGroupRequest::setAppId(const std::string &appId) { + appId_ = appId; + setBodyParameter(std::string("AppId"), appId); +} + diff --git a/live/src/model/LeaveMessageGroupResult.cc b/live/src/model/LeaveMessageGroupResult.cc new file mode 100644 index 000000000..9df711bba --- /dev/null +++ b/live/src/model/LeaveMessageGroupResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +LeaveMessageGroupResult::LeaveMessageGroupResult() : + ServiceResult() +{} + +LeaveMessageGroupResult::LeaveMessageGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +LeaveMessageGroupResult::~LeaveMessageGroupResult() +{} + +void LeaveMessageGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["Success"].isNull()) + result_.success = resultNode["Success"].asString() == "true"; + +} + +LeaveMessageGroupResult::Result LeaveMessageGroupResult::getResult()const +{ + return result_; +} + diff --git a/live/src/model/ListLiveRealtimeLogDeliveryDomainsRequest.cc b/live/src/model/ListLiveRealtimeLogDeliveryDomainsRequest.cc index 9956cb105..889896307 100644 --- a/live/src/model/ListLiveRealtimeLogDeliveryDomainsRequest.cc +++ b/live/src/model/ListLiveRealtimeLogDeliveryDomainsRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ListLiveRealtimeLogDeliveryDomainsRequest; - -ListLiveRealtimeLogDeliveryDomainsRequest::ListLiveRealtimeLogDeliveryDomainsRequest() : - RpcServiceRequest("live", "2016-11-01", "ListLiveRealtimeLogDeliveryDomains") -{ - setMethod(HttpRequest::Method::Get); -} - -ListLiveRealtimeLogDeliveryDomainsRequest::~ListLiveRealtimeLogDeliveryDomainsRequest() -{} - -std::string ListLiveRealtimeLogDeliveryDomainsRequest::getProject()const -{ - return project_; + */ + +#include + +using AlibabaCloud::Live::Model::ListLiveRealtimeLogDeliveryDomainsRequest; + +ListLiveRealtimeLogDeliveryDomainsRequest::ListLiveRealtimeLogDeliveryDomainsRequest() + : RpcServiceRequest("live", "2016-11-01", "ListLiveRealtimeLogDeliveryDomains") { + setMethod(HttpRequest::Method::Get); } -void ListLiveRealtimeLogDeliveryDomainsRequest::setProject(const std::string& project) -{ - project_ = project; - setParameter("Project", project); +ListLiveRealtimeLogDeliveryDomainsRequest::~ListLiveRealtimeLogDeliveryDomainsRequest() {} + +std::string ListLiveRealtimeLogDeliveryDomainsRequest::getProject() const { + return project_; } -long ListLiveRealtimeLogDeliveryDomainsRequest::getOwnerId()const -{ - return ownerId_; +void ListLiveRealtimeLogDeliveryDomainsRequest::setProject(const std::string &project) { + project_ = project; + setParameter(std::string("Project"), project); } -void ListLiveRealtimeLogDeliveryDomainsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long ListLiveRealtimeLogDeliveryDomainsRequest::getOwnerId() const { + return ownerId_; } -std::string ListLiveRealtimeLogDeliveryDomainsRequest::getRegion()const -{ - return region_; +void ListLiveRealtimeLogDeliveryDomainsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void ListLiveRealtimeLogDeliveryDomainsRequest::setRegion(const std::string& region) -{ - region_ = region; - setParameter("Region", region); +std::string ListLiveRealtimeLogDeliveryDomainsRequest::getRegion() const { + return region_; } -std::string ListLiveRealtimeLogDeliveryDomainsRequest::getLogstore()const -{ - return logstore_; +void ListLiveRealtimeLogDeliveryDomainsRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); } -void ListLiveRealtimeLogDeliveryDomainsRequest::setLogstore(const std::string& logstore) -{ - logstore_ = logstore; - setParameter("Logstore", logstore); +std::string ListLiveRealtimeLogDeliveryDomainsRequest::getLogstore() const { + return logstore_; +} + +void ListLiveRealtimeLogDeliveryDomainsRequest::setLogstore(const std::string &logstore) { + logstore_ = logstore; + setParameter(std::string("Logstore"), logstore); } diff --git a/live/src/model/ListLiveRealtimeLogDeliveryDomainsResult.cc b/live/src/model/ListLiveRealtimeLogDeliveryDomainsResult.cc index 2c079f05a..c8908aa73 100644 --- a/live/src/model/ListLiveRealtimeLogDeliveryDomainsResult.cc +++ b/live/src/model/ListLiveRealtimeLogDeliveryDomainsResult.cc @@ -43,10 +43,10 @@ void ListLiveRealtimeLogDeliveryDomainsResult::parse(const std::string &payload) for (auto valueContentDomains : allContentNode) { Domains contentObject; - if(!valueContentDomains["DomainName"].isNull()) - contentObject.domainName = valueContentDomains["DomainName"].asString(); if(!valueContentDomains["Status"].isNull()) contentObject.status = valueContentDomains["Status"].asString(); + if(!valueContentDomains["DomainName"].isNull()) + contentObject.domainName = valueContentDomains["DomainName"].asString(); content_.push_back(contentObject); } diff --git a/live/src/model/ListLiveRealtimeLogDeliveryInfosRequest.cc b/live/src/model/ListLiveRealtimeLogDeliveryInfosRequest.cc index db218a7e5..a5620bd4d 100644 --- a/live/src/model/ListLiveRealtimeLogDeliveryInfosRequest.cc +++ b/live/src/model/ListLiveRealtimeLogDeliveryInfosRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ListLiveRealtimeLogDeliveryInfosRequest; - -ListLiveRealtimeLogDeliveryInfosRequest::ListLiveRealtimeLogDeliveryInfosRequest() : - RpcServiceRequest("live", "2016-11-01", "ListLiveRealtimeLogDeliveryInfos") -{ - setMethod(HttpRequest::Method::Get); -} - -ListLiveRealtimeLogDeliveryInfosRequest::~ListLiveRealtimeLogDeliveryInfosRequest() -{} - -long ListLiveRealtimeLogDeliveryInfosRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Live::Model::ListLiveRealtimeLogDeliveryInfosRequest; + +ListLiveRealtimeLogDeliveryInfosRequest::ListLiveRealtimeLogDeliveryInfosRequest() + : RpcServiceRequest("live", "2016-11-01", "ListLiveRealtimeLogDeliveryInfos") { + setMethod(HttpRequest::Method::Get); } -void ListLiveRealtimeLogDeliveryInfosRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +ListLiveRealtimeLogDeliveryInfosRequest::~ListLiveRealtimeLogDeliveryInfosRequest() {} + +long ListLiveRealtimeLogDeliveryInfosRequest::getOwnerId() const { + return ownerId_; } -std::string ListLiveRealtimeLogDeliveryInfosRequest::getLiveOpenapiReserve()const -{ - return liveOpenapiReserve_; +void ListLiveRealtimeLogDeliveryInfosRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void ListLiveRealtimeLogDeliveryInfosRequest::setLiveOpenapiReserve(const std::string& liveOpenapiReserve) -{ - liveOpenapiReserve_ = liveOpenapiReserve; - setParameter("LiveOpenapiReserve", liveOpenapiReserve); +std::string ListLiveRealtimeLogDeliveryInfosRequest::getLiveOpenapiReserve() const { + return liveOpenapiReserve_; +} + +void ListLiveRealtimeLogDeliveryInfosRequest::setLiveOpenapiReserve(const std::string &liveOpenapiReserve) { + liveOpenapiReserve_ = liveOpenapiReserve; + setParameter(std::string("LiveOpenapiReserve"), liveOpenapiReserve); } diff --git a/live/src/model/ListLiveRealtimeLogDeliveryInfosResult.cc b/live/src/model/ListLiveRealtimeLogDeliveryInfosResult.cc index 22368aeb4..7798b0337 100644 --- a/live/src/model/ListLiveRealtimeLogDeliveryInfosResult.cc +++ b/live/src/model/ListLiveRealtimeLogDeliveryInfosResult.cc @@ -43,10 +43,10 @@ void ListLiveRealtimeLogDeliveryInfosResult::parse(const std::string &payload) for (auto valueContentRealtimeLogDeliveryInfos : allContentNode) { RealtimeLogDeliveryInfos contentObject; - if(!valueContentRealtimeLogDeliveryInfos["Project"].isNull()) - contentObject.project = valueContentRealtimeLogDeliveryInfos["Project"].asString(); if(!valueContentRealtimeLogDeliveryInfos["Logstore"].isNull()) contentObject.logstore = valueContentRealtimeLogDeliveryInfos["Logstore"].asString(); + if(!valueContentRealtimeLogDeliveryInfos["Project"].isNull()) + contentObject.project = valueContentRealtimeLogDeliveryInfos["Project"].asString(); if(!valueContentRealtimeLogDeliveryInfos["Region"].isNull()) contentObject.region = valueContentRealtimeLogDeliveryInfos["Region"].asString(); content_.push_back(contentObject); diff --git a/live/src/model/ListLiveRealtimeLogDeliveryRequest.cc b/live/src/model/ListLiveRealtimeLogDeliveryRequest.cc index 3750a0b99..6617e53a3 100644 --- a/live/src/model/ListLiveRealtimeLogDeliveryRequest.cc +++ b/live/src/model/ListLiveRealtimeLogDeliveryRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ListLiveRealtimeLogDeliveryRequest; - -ListLiveRealtimeLogDeliveryRequest::ListLiveRealtimeLogDeliveryRequest() : - RpcServiceRequest("live", "2016-11-01", "ListLiveRealtimeLogDelivery") -{ - setMethod(HttpRequest::Method::Get); -} - -ListLiveRealtimeLogDeliveryRequest::~ListLiveRealtimeLogDeliveryRequest() -{} - -long ListLiveRealtimeLogDeliveryRequest::getOwnerId()const -{ - return ownerId_; + */ + +#include + +using AlibabaCloud::Live::Model::ListLiveRealtimeLogDeliveryRequest; + +ListLiveRealtimeLogDeliveryRequest::ListLiveRealtimeLogDeliveryRequest() + : RpcServiceRequest("live", "2016-11-01", "ListLiveRealtimeLogDelivery") { + setMethod(HttpRequest::Method::Get); } -void ListLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +ListLiveRealtimeLogDeliveryRequest::~ListLiveRealtimeLogDeliveryRequest() {} + +long ListLiveRealtimeLogDeliveryRequest::getOwnerId() const { + return ownerId_; } -std::string ListLiveRealtimeLogDeliveryRequest::getLiveOpenapiReserve()const -{ - return liveOpenapiReserve_; +void ListLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void ListLiveRealtimeLogDeliveryRequest::setLiveOpenapiReserve(const std::string& liveOpenapiReserve) -{ - liveOpenapiReserve_ = liveOpenapiReserve; - setParameter("LiveOpenapiReserve", liveOpenapiReserve); +std::string ListLiveRealtimeLogDeliveryRequest::getLiveOpenapiReserve() const { + return liveOpenapiReserve_; +} + +void ListLiveRealtimeLogDeliveryRequest::setLiveOpenapiReserve(const std::string &liveOpenapiReserve) { + liveOpenapiReserve_ = liveOpenapiReserve; + setParameter(std::string("LiveOpenapiReserve"), liveOpenapiReserve); } diff --git a/live/src/model/ListLiveRealtimeLogDeliveryResult.cc b/live/src/model/ListLiveRealtimeLogDeliveryResult.cc index 29243b8f8..d7961dbdb 100644 --- a/live/src/model/ListLiveRealtimeLogDeliveryResult.cc +++ b/live/src/model/ListLiveRealtimeLogDeliveryResult.cc @@ -43,18 +43,18 @@ void ListLiveRealtimeLogDeliveryResult::parse(const std::string &payload) for (auto valueContentRealtimeLogDeliveryInfo : allContentNode) { RealtimeLogDeliveryInfo contentObject; - if(!valueContentRealtimeLogDeliveryInfo["Project"].isNull()) - contentObject.project = valueContentRealtimeLogDeliveryInfo["Project"].asString(); - if(!valueContentRealtimeLogDeliveryInfo["Logstore"].isNull()) - contentObject.logstore = valueContentRealtimeLogDeliveryInfo["Logstore"].asString(); - if(!valueContentRealtimeLogDeliveryInfo["Region"].isNull()) - contentObject.region = valueContentRealtimeLogDeliveryInfo["Region"].asString(); - if(!valueContentRealtimeLogDeliveryInfo["DomainName"].isNull()) - contentObject.domainName = valueContentRealtimeLogDeliveryInfo["DomainName"].asString(); - if(!valueContentRealtimeLogDeliveryInfo["DmId"].isNull()) - contentObject.dmId = std::stoi(valueContentRealtimeLogDeliveryInfo["DmId"].asString()); if(!valueContentRealtimeLogDeliveryInfo["Status"].isNull()) contentObject.status = valueContentRealtimeLogDeliveryInfo["Status"].asString(); + if(!valueContentRealtimeLogDeliveryInfo["DmId"].isNull()) + contentObject.dmId = std::stoi(valueContentRealtimeLogDeliveryInfo["DmId"].asString()); + if(!valueContentRealtimeLogDeliveryInfo["Region"].isNull()) + contentObject.region = valueContentRealtimeLogDeliveryInfo["Region"].asString(); + if(!valueContentRealtimeLogDeliveryInfo["Logstore"].isNull()) + contentObject.logstore = valueContentRealtimeLogDeliveryInfo["Logstore"].asString(); + if(!valueContentRealtimeLogDeliveryInfo["Project"].isNull()) + contentObject.project = valueContentRealtimeLogDeliveryInfo["Project"].asString(); + if(!valueContentRealtimeLogDeliveryInfo["DomainName"].isNull()) + contentObject.domainName = valueContentRealtimeLogDeliveryInfo["DomainName"].asString(); content_.push_back(contentObject); } diff --git a/live/src/model/ListMessageAppRequest.cc b/live/src/model/ListMessageAppRequest.cc new file mode 100644 index 000000000..bec948606 --- /dev/null +++ b/live/src/model/ListMessageAppRequest.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::ListMessageAppRequest; + +ListMessageAppRequest::ListMessageAppRequest() + : RpcServiceRequest("live", "2016-11-01", "ListMessageApp") { + setMethod(HttpRequest::Method::Post); +} + +ListMessageAppRequest::~ListMessageAppRequest() {} + +int ListMessageAppRequest::getSortType() const { + return sortType_; +} + +void ListMessageAppRequest::setSortType(int sortType) { + sortType_ = sortType; + setBodyParameter(std::string("SortType"), std::to_string(sortType)); +} + +int ListMessageAppRequest::getPageNum() const { + return pageNum_; +} + +void ListMessageAppRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setBodyParameter(std::string("PageNum"), std::to_string(pageNum)); +} + +int ListMessageAppRequest::getPageSize() const { + return pageSize_; +} + +void ListMessageAppRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + diff --git a/live/src/model/ListMessageAppResult.cc b/live/src/model/ListMessageAppResult.cc new file mode 100644 index 000000000..66debde60 --- /dev/null +++ b/live/src/model/ListMessageAppResult.cc @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +ListMessageAppResult::ListMessageAppResult() : + ServiceResult() +{} + +ListMessageAppResult::ListMessageAppResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListMessageAppResult::~ListMessageAppResult() +{} + +void ListMessageAppResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["Total"].isNull()) + result_.total = std::stoi(resultNode["Total"].asString()); + if(!resultNode["HasMore"].isNull()) + result_.hasMore = resultNode["HasMore"].asString() == "true"; + auto allAppListNode = resultNode["AppList"]["appListItem"]; + for (auto resultNodeAppListappListItem : allAppListNode) + { + Result::AppListItem appListItemObject; + if(!resultNodeAppListappListItem["AppId"].isNull()) + appListItemObject.appId = resultNodeAppListappListItem["AppId"].asString(); + if(!resultNodeAppListappListItem["CreateTime"].isNull()) + appListItemObject.createTime = std::stol(resultNodeAppListappListItem["CreateTime"].asString()); + if(!resultNodeAppListappListItem["Status"].isNull()) + appListItemObject.status = std::stoi(resultNodeAppListappListItem["Status"].asString()); + if(!resultNodeAppListappListItem["AppConfig"].isNull()) + appListItemObject.appConfig = resultNodeAppListappListItem["AppConfig"].asString(); + if(!resultNodeAppListappListItem["Extension"].isNull()) + appListItemObject.extension = resultNodeAppListappListItem["Extension"].asString(); + result_.appList.push_back(appListItemObject); + } + +} + +ListMessageAppResult::Result ListMessageAppResult::getResult()const +{ + return result_; +} + diff --git a/live/src/model/ListMessageGroupRequest.cc b/live/src/model/ListMessageGroupRequest.cc new file mode 100644 index 000000000..025e05ef4 --- /dev/null +++ b/live/src/model/ListMessageGroupRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::ListMessageGroupRequest; + +ListMessageGroupRequest::ListMessageGroupRequest() + : RpcServiceRequest("live", "2016-11-01", "ListMessageGroup") { + setMethod(HttpRequest::Method::Post); +} + +ListMessageGroupRequest::~ListMessageGroupRequest() {} + +int ListMessageGroupRequest::getSortType() const { + return sortType_; +} + +void ListMessageGroupRequest::setSortType(int sortType) { + sortType_ = sortType; + setBodyParameter(std::string("SortType"), std::to_string(sortType)); +} + +int ListMessageGroupRequest::getPageNum() const { + return pageNum_; +} + +void ListMessageGroupRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setBodyParameter(std::string("PageNum"), std::to_string(pageNum)); +} + +std::string ListMessageGroupRequest::getUserId() const { + return userId_; +} + +void ListMessageGroupRequest::setUserId(const std::string &userId) { + userId_ = userId; + setBodyParameter(std::string("UserId"), userId); +} + +int ListMessageGroupRequest::getPageSize() const { + return pageSize_; +} + +void ListMessageGroupRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + diff --git a/live/src/model/ListMessageGroupResult.cc b/live/src/model/ListMessageGroupResult.cc new file mode 100644 index 000000000..a624772ed --- /dev/null +++ b/live/src/model/ListMessageGroupResult.cc @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +ListMessageGroupResult::ListMessageGroupResult() : + ServiceResult() +{} + +ListMessageGroupResult::ListMessageGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListMessageGroupResult::~ListMessageGroupResult() +{} + +void ListMessageGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["Total"].isNull()) + result_.total = std::stoi(resultNode["Total"].asString()); + if(!resultNode["HasMore"].isNull()) + result_.hasMore = resultNode["HasMore"].asString() == "true"; + auto allGroupListNode = resultNode["GroupList"]["groupListItem"]; + for (auto resultNodeGroupListgroupListItem : allGroupListNode) + { + Result::GroupListItem groupListItemObject; + if(!resultNodeGroupListgroupListItem["GroupId"].isNull()) + groupListItemObject.groupId = resultNodeGroupListgroupListItem["GroupId"].asString(); + if(!resultNodeGroupListgroupListItem["CreateTime"].isNull()) + groupListItemObject.createTime = std::stol(resultNodeGroupListgroupListItem["CreateTime"].asString()); + if(!resultNodeGroupListgroupListItem["Status"].isNull()) + groupListItemObject.status = std::stoi(resultNodeGroupListgroupListItem["Status"].asString()); + if(!resultNodeGroupListgroupListItem["CreatorId"].isNull()) + groupListItemObject.creatorId = resultNodeGroupListgroupListItem["CreatorId"].asString(); + if(!resultNodeGroupListgroupListItem["Extension"].isNull()) + groupListItemObject.extension = resultNodeGroupListgroupListItem["Extension"].asString(); + result_.groupList.push_back(groupListItemObject); + } + +} + +ListMessageGroupResult::Result ListMessageGroupResult::getResult()const +{ + return result_; +} + diff --git a/live/src/model/ListMessageGroupUserRequest.cc b/live/src/model/ListMessageGroupUserRequest.cc new file mode 100644 index 000000000..eaf095a73 --- /dev/null +++ b/live/src/model/ListMessageGroupUserRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::ListMessageGroupUserRequest; + +ListMessageGroupUserRequest::ListMessageGroupUserRequest() + : RpcServiceRequest("live", "2016-11-01", "ListMessageGroupUser") { + setMethod(HttpRequest::Method::Post); +} + +ListMessageGroupUserRequest::~ListMessageGroupUserRequest() {} + +int ListMessageGroupUserRequest::getSortType() const { + return sortType_; +} + +void ListMessageGroupUserRequest::setSortType(int sortType) { + sortType_ = sortType; + setBodyParameter(std::string("SortType"), std::to_string(sortType)); +} + +std::string ListMessageGroupUserRequest::getGroupId() const { + return groupId_; +} + +void ListMessageGroupUserRequest::setGroupId(const std::string &groupId) { + groupId_ = groupId; + setBodyParameter(std::string("GroupId"), groupId); +} + +int ListMessageGroupUserRequest::getType() const { + return type_; +} + +void ListMessageGroupUserRequest::setType(int type) { + type_ = type; + setBodyParameter(std::string("Type"), std::to_string(type)); +} + +int ListMessageGroupUserRequest::getPageNum() const { + return pageNum_; +} + +void ListMessageGroupUserRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setBodyParameter(std::string("PageNum"), std::to_string(pageNum)); +} + +std::string ListMessageGroupUserRequest::getAppId() const { + return appId_; +} + +void ListMessageGroupUserRequest::setAppId(const std::string &appId) { + appId_ = appId; + setBodyParameter(std::string("AppId"), appId); +} + +int ListMessageGroupUserRequest::getPageSize() const { + return pageSize_; +} + +void ListMessageGroupUserRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + diff --git a/live/src/model/ListMessageGroupUserResult.cc b/live/src/model/ListMessageGroupUserResult.cc new file mode 100644 index 000000000..b2d627127 --- /dev/null +++ b/live/src/model/ListMessageGroupUserResult.cc @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +ListMessageGroupUserResult::ListMessageGroupUserResult() : + ServiceResult() +{} + +ListMessageGroupUserResult::ListMessageGroupUserResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListMessageGroupUserResult::~ListMessageGroupUserResult() +{} + +void ListMessageGroupUserResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["Total"].isNull()) + result_.total = std::stoi(resultNode["Total"].asString()); + if(!resultNode["HasMore"].isNull()) + result_.hasMore = resultNode["HasMore"].asString() == "true"; + auto allUserListNode = resultNode["UserList"]["userListItem"]; + for (auto resultNodeUserListuserListItem : allUserListNode) + { + Result::UserListItem userListItemObject; + if(!resultNodeUserListuserListItem["UserId"].isNull()) + userListItemObject.userId = resultNodeUserListuserListItem["UserId"].asString(); + if(!resultNodeUserListuserListItem["JoinTime"].isNull()) + userListItemObject.joinTime = std::stol(resultNodeUserListuserListItem["JoinTime"].asString()); + result_.userList.push_back(userListItemObject); + } + +} + +ListMessageGroupUserResult::Result ListMessageGroupUserResult::getResult()const +{ + return result_; +} + diff --git a/live/src/model/ListMessageRequest.cc b/live/src/model/ListMessageRequest.cc new file mode 100644 index 000000000..e0fa28ef8 --- /dev/null +++ b/live/src/model/ListMessageRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::ListMessageRequest; + +ListMessageRequest::ListMessageRequest() + : RpcServiceRequest("live", "2016-11-01", "ListMessage") { + setMethod(HttpRequest::Method::Post); +} + +ListMessageRequest::~ListMessageRequest() {} + +int ListMessageRequest::getSortType() const { + return sortType_; +} + +void ListMessageRequest::setSortType(int sortType) { + sortType_ = sortType; + setBodyParameter(std::string("SortType"), std::to_string(sortType)); +} + +std::string ListMessageRequest::getGroupId() const { + return groupId_; +} + +void ListMessageRequest::setGroupId(const std::string &groupId) { + groupId_ = groupId; + setBodyParameter(std::string("GroupId"), groupId); +} + +int ListMessageRequest::getType() const { + return type_; +} + +void ListMessageRequest::setType(int type) { + type_ = type; + setBodyParameter(std::string("Type"), std::to_string(type)); +} + +int ListMessageRequest::getPageNum() const { + return pageNum_; +} + +void ListMessageRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setBodyParameter(std::string("PageNum"), std::to_string(pageNum)); +} + +int ListMessageRequest::getPageSize() const { + return pageSize_; +} + +void ListMessageRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + diff --git a/live/src/model/ListMessageResult.cc b/live/src/model/ListMessageResult.cc new file mode 100644 index 000000000..5ab274b6b --- /dev/null +++ b/live/src/model/ListMessageResult.cc @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +ListMessageResult::ListMessageResult() : + ServiceResult() +{} + +ListMessageResult::ListMessageResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListMessageResult::~ListMessageResult() +{} + +void ListMessageResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["HasMore"].isNull()) + result_.hasMore = resultNode["HasMore"].asString() == "true"; + auto allMessageListNode = resultNode["MessageList"]["messageListItem"]; + for (auto resultNodeMessageListmessageListItem : allMessageListNode) + { + Result::MessageListItem messageListItemObject; + if(!resultNodeMessageListmessageListItem["GroupId"].isNull()) + messageListItemObject.groupId = resultNodeMessageListmessageListItem["GroupId"].asString(); + if(!resultNodeMessageListmessageListItem["MessageId"].isNull()) + messageListItemObject.messageId = resultNodeMessageListmessageListItem["MessageId"].asString(); + if(!resultNodeMessageListmessageListItem["Type"].isNull()) + messageListItemObject.type = std::stoi(resultNodeMessageListmessageListItem["Type"].asString()); + if(!resultNodeMessageListmessageListItem["SenderId"].isNull()) + messageListItemObject.senderId = resultNodeMessageListmessageListItem["SenderId"].asString(); + if(!resultNodeMessageListmessageListItem["Data"].isNull()) + messageListItemObject.data = resultNodeMessageListmessageListItem["Data"].asString(); + result_.messageList.push_back(messageListItemObject); + } + +} + +ListMessageResult::Result ListMessageResult::getResult()const +{ + return result_; +} + diff --git a/live/src/model/ListPlaylistItemsRequest.cc b/live/src/model/ListPlaylistItemsRequest.cc index 545427c30..1eec9e0f4 100644 --- a/live/src/model/ListPlaylistItemsRequest.cc +++ b/live/src/model/ListPlaylistItemsRequest.cc @@ -1,62 +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::ListPlaylistItemsRequest; - -ListPlaylistItemsRequest::ListPlaylistItemsRequest() : - RpcServiceRequest("live", "2016-11-01", "ListPlaylistItems") -{ - setMethod(HttpRequest::Method::Post); -} - -ListPlaylistItemsRequest::~ListPlaylistItemsRequest() -{} - -std::string ListPlaylistItemsRequest::getProgramItemIds()const -{ - return programItemIds_; + */ + +#include + +using AlibabaCloud::Live::Model::ListPlaylistItemsRequest; + +ListPlaylistItemsRequest::ListPlaylistItemsRequest() + : RpcServiceRequest("live", "2016-11-01", "ListPlaylistItems") { + setMethod(HttpRequest::Method::Post); } -void ListPlaylistItemsRequest::setProgramItemIds(const std::string& programItemIds) -{ - programItemIds_ = programItemIds; - setParameter("ProgramItemIds", programItemIds); +ListPlaylistItemsRequest::~ListPlaylistItemsRequest() {} + +std::string ListPlaylistItemsRequest::getProgramItemIds() const { + return programItemIds_; } -std::string ListPlaylistItemsRequest::getProgramId()const -{ - return programId_; +void ListPlaylistItemsRequest::setProgramItemIds(const std::string &programItemIds) { + programItemIds_ = programItemIds; + setParameter(std::string("ProgramItemIds"), programItemIds); } -void ListPlaylistItemsRequest::setProgramId(const std::string& programId) -{ - programId_ = programId; - setParameter("ProgramId", programId); +std::string ListPlaylistItemsRequest::getProgramId() const { + return programId_; } -long ListPlaylistItemsRequest::getOwnerId()const -{ - return ownerId_; +void ListPlaylistItemsRequest::setProgramId(const std::string &programId) { + programId_ = programId; + setParameter(std::string("ProgramId"), programId); } -void ListPlaylistItemsRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long ListPlaylistItemsRequest::getOwnerId() const { + return ownerId_; +} + +void ListPlaylistItemsRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/ListPlaylistItemsResult.cc b/live/src/model/ListPlaylistItemsResult.cc index fd3fa790f..033ac24ca 100644 --- a/live/src/model/ListPlaylistItemsResult.cc +++ b/live/src/model/ListPlaylistItemsResult.cc @@ -43,18 +43,18 @@ void ListPlaylistItemsResult::parse(const std::string &payload) for (auto valueProgramItemsProgramItem : allProgramItemsNode) { ProgramItem programItemsObject; - if(!valueProgramItemsProgramItem["ProgramId"].isNull()) - programItemsObject.programId = valueProgramItemsProgramItem["ProgramId"].asString(); - if(!valueProgramItemsProgramItem["ProgramItemId"].isNull()) - programItemsObject.programItemId = valueProgramItemsProgramItem["ProgramItemId"].asString(); - if(!valueProgramItemsProgramItem["ProgramItemName"].isNull()) - programItemsObject.programItemName = valueProgramItemsProgramItem["ProgramItemName"].asString(); - if(!valueProgramItemsProgramItem["ResourceType"].isNull()) - programItemsObject.resourceType = valueProgramItemsProgramItem["ResourceType"].asString(); - if(!valueProgramItemsProgramItem["ResourceValue"].isNull()) - programItemsObject.resourceValue = valueProgramItemsProgramItem["ResourceValue"].asString(); if(!valueProgramItemsProgramItem["Index"].isNull()) programItemsObject.index = std::stoi(valueProgramItemsProgramItem["Index"].asString()); + if(!valueProgramItemsProgramItem["ResourceType"].isNull()) + programItemsObject.resourceType = valueProgramItemsProgramItem["ResourceType"].asString(); + if(!valueProgramItemsProgramItem["ProgramItemId"].isNull()) + programItemsObject.programItemId = valueProgramItemsProgramItem["ProgramItemId"].asString(); + if(!valueProgramItemsProgramItem["ProgramId"].isNull()) + programItemsObject.programId = valueProgramItemsProgramItem["ProgramId"].asString(); + if(!valueProgramItemsProgramItem["ProgramItemName"].isNull()) + programItemsObject.programItemName = valueProgramItemsProgramItem["ProgramItemName"].asString(); + if(!valueProgramItemsProgramItem["ResourceValue"].isNull()) + programItemsObject.resourceValue = valueProgramItemsProgramItem["ResourceValue"].asString(); programItems_.push_back(programItemsObject); } if(!value["Total"].isNull()) diff --git a/live/src/model/ListPlaylistRequest.cc b/live/src/model/ListPlaylistRequest.cc index c67557596..8b14308bd 100644 --- a/live/src/model/ListPlaylistRequest.cc +++ b/live/src/model/ListPlaylistRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ListPlaylistRequest; - -ListPlaylistRequest::ListPlaylistRequest() : - RpcServiceRequest("live", "2016-11-01", "ListPlaylist") -{ - setMethod(HttpRequest::Method::Post); -} - -ListPlaylistRequest::~ListPlaylistRequest() -{} - -int ListPlaylistRequest::getPageSize()const -{ - return pageSize_; + */ + +#include + +using AlibabaCloud::Live::Model::ListPlaylistRequest; + +ListPlaylistRequest::ListPlaylistRequest() + : RpcServiceRequest("live", "2016-11-01", "ListPlaylist") { + setMethod(HttpRequest::Method::Post); } -void ListPlaylistRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +ListPlaylistRequest::~ListPlaylistRequest() {} + +int ListPlaylistRequest::getPageSize() const { + return pageSize_; } -std::string ListPlaylistRequest::getProgramId()const -{ - return programId_; +void ListPlaylistRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListPlaylistRequest::setProgramId(const std::string& programId) -{ - programId_ = programId; - setParameter("ProgramId", programId); +std::string ListPlaylistRequest::getProgramId() const { + return programId_; } -long ListPlaylistRequest::getOwnerId()const -{ - return ownerId_; +void ListPlaylistRequest::setProgramId(const std::string &programId) { + programId_ = programId; + setParameter(std::string("ProgramId"), programId); } -void ListPlaylistRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long ListPlaylistRequest::getOwnerId() const { + return ownerId_; } -int ListPlaylistRequest::getPage()const -{ - return page_; +void ListPlaylistRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void ListPlaylistRequest::setPage(int page) -{ - page_ = page; - setParameter("Page", std::to_string(page)); +int ListPlaylistRequest::getPage() const { + return page_; +} + +void ListPlaylistRequest::setPage(int page) { + page_ = page; + setParameter(std::string("Page"), std::to_string(page)); } diff --git a/live/src/model/ListPlaylistResult.cc b/live/src/model/ListPlaylistResult.cc index d1d0e876c..5ca8d0ef8 100644 --- a/live/src/model/ListPlaylistResult.cc +++ b/live/src/model/ListPlaylistResult.cc @@ -43,18 +43,18 @@ void ListPlaylistResult::parse(const std::string &payload) for (auto valueProgramListProgramInfo : allProgramListNode) { ProgramInfo programListObject; - if(!valueProgramListProgramInfo["ProgramId"].isNull()) - programListObject.programId = valueProgramListProgramInfo["ProgramId"].asString(); + if(!valueProgramListProgramInfo["Status"].isNull()) + programListObject.status = std::stoi(valueProgramListProgramInfo["Status"].asString()); + if(!valueProgramListProgramInfo["RepeatNumber"].isNull()) + programListObject.repeatNumber = std::stoi(valueProgramListProgramInfo["RepeatNumber"].asString()); if(!valueProgramListProgramInfo["ProgramName"].isNull()) programListObject.programName = valueProgramListProgramInfo["ProgramName"].asString(); + if(!valueProgramListProgramInfo["ProgramId"].isNull()) + programListObject.programId = valueProgramListProgramInfo["ProgramId"].asString(); if(!valueProgramListProgramInfo["CasterId"].isNull()) programListObject.casterId = valueProgramListProgramInfo["CasterId"].asString(); if(!valueProgramListProgramInfo["DomainName"].isNull()) programListObject.domainName = valueProgramListProgramInfo["DomainName"].asString(); - if(!valueProgramListProgramInfo["RepeatNumber"].isNull()) - programListObject.repeatNumber = std::stoi(valueProgramListProgramInfo["RepeatNumber"].asString()); - if(!valueProgramListProgramInfo["Status"].isNull()) - programListObject.status = std::stoi(valueProgramListProgramInfo["Status"].asString()); programList_.push_back(programListObject); } if(!value["Total"].isNull()) diff --git a/live/src/model/ModifyCasterComponentRequest.cc b/live/src/model/ModifyCasterComponentRequest.cc index 5753f368d..f12db4cde 100644 --- a/live/src/model/ModifyCasterComponentRequest.cc +++ b/live/src/model/ModifyCasterComponentRequest.cc @@ -1,139 +1,117 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ModifyCasterComponentRequest; - -ModifyCasterComponentRequest::ModifyCasterComponentRequest() : - RpcServiceRequest("live", "2016-11-01", "ModifyCasterComponent") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyCasterComponentRequest::~ModifyCasterComponentRequest() -{} - -std::string ModifyCasterComponentRequest::getImageLayerContent()const -{ - return imageLayerContent_; + */ + +#include + +using AlibabaCloud::Live::Model::ModifyCasterComponentRequest; + +ModifyCasterComponentRequest::ModifyCasterComponentRequest() + : RpcServiceRequest("live", "2016-11-01", "ModifyCasterComponent") { + setMethod(HttpRequest::Method::Post); } -void ModifyCasterComponentRequest::setImageLayerContent(const std::string& imageLayerContent) -{ - imageLayerContent_ = imageLayerContent; - setParameter("ImageLayerContent", imageLayerContent); +ModifyCasterComponentRequest::~ModifyCasterComponentRequest() {} + +std::string ModifyCasterComponentRequest::getImageLayerContent() const { + return imageLayerContent_; } -std::string ModifyCasterComponentRequest::getComponentName()const -{ - return componentName_; +void ModifyCasterComponentRequest::setImageLayerContent(const std::string &imageLayerContent) { + imageLayerContent_ = imageLayerContent; + setParameter(std::string("ImageLayerContent"), imageLayerContent); } -void ModifyCasterComponentRequest::setComponentName(const std::string& componentName) -{ - componentName_ = componentName; - setParameter("ComponentName", componentName); +std::string ModifyCasterComponentRequest::getComponentName() const { + return componentName_; } -std::string ModifyCasterComponentRequest::getComponentId()const -{ - return componentId_; +void ModifyCasterComponentRequest::setComponentName(const std::string &componentName) { + componentName_ = componentName; + setParameter(std::string("ComponentName"), componentName); } -void ModifyCasterComponentRequest::setComponentId(const std::string& componentId) -{ - componentId_ = componentId; - setParameter("ComponentId", componentId); +std::string ModifyCasterComponentRequest::getComponentId() const { + return componentId_; } -std::string ModifyCasterComponentRequest::getCasterId()const -{ - return casterId_; +void ModifyCasterComponentRequest::setComponentId(const std::string &componentId) { + componentId_ = componentId; + setParameter(std::string("ComponentId"), componentId); } -void ModifyCasterComponentRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string ModifyCasterComponentRequest::getCasterId() const { + return casterId_; } -std::string ModifyCasterComponentRequest::getComponentLayer()const -{ - return componentLayer_; +void ModifyCasterComponentRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void ModifyCasterComponentRequest::setComponentLayer(const std::string& componentLayer) -{ - componentLayer_ = componentLayer; - setParameter("ComponentLayer", componentLayer); +std::string ModifyCasterComponentRequest::getComponentLayer() const { + return componentLayer_; } -long ModifyCasterComponentRequest::getOwnerId()const -{ - return ownerId_; +void ModifyCasterComponentRequest::setComponentLayer(const std::string &componentLayer) { + componentLayer_ = componentLayer; + setParameter(std::string("ComponentLayer"), componentLayer); } -void ModifyCasterComponentRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long ModifyCasterComponentRequest::getOwnerId() const { + return ownerId_; } -std::string ModifyCasterComponentRequest::getComponentType()const -{ - return componentType_; +void ModifyCasterComponentRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void ModifyCasterComponentRequest::setComponentType(const std::string& componentType) -{ - componentType_ = componentType; - setParameter("ComponentType", componentType); +std::string ModifyCasterComponentRequest::getComponentType() const { + return componentType_; } -std::string ModifyCasterComponentRequest::getEffect()const -{ - return effect_; +void ModifyCasterComponentRequest::setComponentType(const std::string &componentType) { + componentType_ = componentType; + setParameter(std::string("ComponentType"), componentType); } -void ModifyCasterComponentRequest::setEffect(const std::string& effect) -{ - effect_ = effect; - setParameter("Effect", effect); +std::string ModifyCasterComponentRequest::getEffect() const { + return effect_; } -std::string ModifyCasterComponentRequest::getCaptionLayerContent()const -{ - return captionLayerContent_; +void ModifyCasterComponentRequest::setEffect(const std::string &effect) { + effect_ = effect; + setParameter(std::string("Effect"), effect); } -void ModifyCasterComponentRequest::setCaptionLayerContent(const std::string& captionLayerContent) -{ - captionLayerContent_ = captionLayerContent; - setParameter("CaptionLayerContent", captionLayerContent); +std::string ModifyCasterComponentRequest::getCaptionLayerContent() const { + return captionLayerContent_; } -std::string ModifyCasterComponentRequest::getTextLayerContent()const -{ - return textLayerContent_; +void ModifyCasterComponentRequest::setCaptionLayerContent(const std::string &captionLayerContent) { + captionLayerContent_ = captionLayerContent; + setParameter(std::string("CaptionLayerContent"), captionLayerContent); } -void ModifyCasterComponentRequest::setTextLayerContent(const std::string& textLayerContent) -{ - textLayerContent_ = textLayerContent; - setParameter("TextLayerContent", textLayerContent); +std::string ModifyCasterComponentRequest::getTextLayerContent() const { + return textLayerContent_; +} + +void ModifyCasterComponentRequest::setTextLayerContent(const std::string &textLayerContent) { + textLayerContent_ = textLayerContent; + setParameter(std::string("TextLayerContent"), textLayerContent); } diff --git a/live/src/model/ModifyCasterEpisodeRequest.cc b/live/src/model/ModifyCasterEpisodeRequest.cc index a4cc81fd4..cf760a5a6 100644 --- a/live/src/model/ModifyCasterEpisodeRequest.cc +++ b/live/src/model/ModifyCasterEpisodeRequest.cc @@ -1,130 +1,107 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ModifyCasterEpisodeRequest; - -ModifyCasterEpisodeRequest::ModifyCasterEpisodeRequest() : - RpcServiceRequest("live", "2016-11-01", "ModifyCasterEpisode") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyCasterEpisodeRequest::~ModifyCasterEpisodeRequest() -{} - -std::string ModifyCasterEpisodeRequest::getEpisodeName()const -{ - return episodeName_; + */ + +#include + +using AlibabaCloud::Live::Model::ModifyCasterEpisodeRequest; + +ModifyCasterEpisodeRequest::ModifyCasterEpisodeRequest() + : RpcServiceRequest("live", "2016-11-01", "ModifyCasterEpisode") { + setMethod(HttpRequest::Method::Post); } -void ModifyCasterEpisodeRequest::setEpisodeName(const std::string& episodeName) -{ - episodeName_ = episodeName; - setParameter("EpisodeName", episodeName); +ModifyCasterEpisodeRequest::~ModifyCasterEpisodeRequest() {} + +std::string ModifyCasterEpisodeRequest::getEpisodeName() const { + return episodeName_; } -std::string ModifyCasterEpisodeRequest::getStartTime()const -{ - return startTime_; +void ModifyCasterEpisodeRequest::setEpisodeName(const std::string &episodeName) { + episodeName_ = episodeName; + setParameter(std::string("EpisodeName"), episodeName); } -void ModifyCasterEpisodeRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string ModifyCasterEpisodeRequest::getStartTime() const { + return startTime_; } -std::string ModifyCasterEpisodeRequest::getResourceId()const -{ - return resourceId_; +void ModifyCasterEpisodeRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void ModifyCasterEpisodeRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setParameter("ResourceId", resourceId); +std::string ModifyCasterEpisodeRequest::getResourceId() const { + return resourceId_; } -std::vector ModifyCasterEpisodeRequest::getComponentId()const -{ - return componentId_; +void ModifyCasterEpisodeRequest::setResourceId(const std::string &resourceId) { + resourceId_ = resourceId; + setParameter(std::string("ResourceId"), resourceId); } -void ModifyCasterEpisodeRequest::setComponentId(const std::vector& componentId) -{ - componentId_ = componentId; - for(int dep1 = 0; dep1!= componentId.size(); dep1++) { - setParameter("ComponentId."+ std::to_string(dep1), componentId.at(dep1)); - } +std::vector ModifyCasterEpisodeRequest::getComponentId() const { + return componentId_; } -std::string ModifyCasterEpisodeRequest::getCasterId()const -{ - return casterId_; +void ModifyCasterEpisodeRequest::setComponentId(const std::vector &componentId) { + componentId_ = componentId; } -void ModifyCasterEpisodeRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string ModifyCasterEpisodeRequest::getCasterId() const { + return casterId_; } -std::string ModifyCasterEpisodeRequest::getEndTime()const -{ - return endTime_; +void ModifyCasterEpisodeRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void ModifyCasterEpisodeRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string ModifyCasterEpisodeRequest::getEndTime() const { + return endTime_; } -long ModifyCasterEpisodeRequest::getOwnerId()const -{ - return ownerId_; +void ModifyCasterEpisodeRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void ModifyCasterEpisodeRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long ModifyCasterEpisodeRequest::getOwnerId() const { + return ownerId_; } -std::string ModifyCasterEpisodeRequest::getEpisodeId()const -{ - return episodeId_; +void ModifyCasterEpisodeRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void ModifyCasterEpisodeRequest::setEpisodeId(const std::string& episodeId) -{ - episodeId_ = episodeId; - setParameter("EpisodeId", episodeId); +std::string ModifyCasterEpisodeRequest::getEpisodeId() const { + return episodeId_; } -std::string ModifyCasterEpisodeRequest::getSwitchType()const -{ - return switchType_; +void ModifyCasterEpisodeRequest::setEpisodeId(const std::string &episodeId) { + episodeId_ = episodeId; + setParameter(std::string("EpisodeId"), episodeId); } -void ModifyCasterEpisodeRequest::setSwitchType(const std::string& switchType) -{ - switchType_ = switchType; - setParameter("SwitchType", switchType); +std::string ModifyCasterEpisodeRequest::getSwitchType() const { + return switchType_; +} + +void ModifyCasterEpisodeRequest::setSwitchType(const std::string &switchType) { + switchType_ = switchType; + setParameter(std::string("SwitchType"), switchType); } diff --git a/live/src/model/ModifyCasterEpisodeResult.cc b/live/src/model/ModifyCasterEpisodeResult.cc index 1ee786836..d2bb7a73a 100644 --- a/live/src/model/ModifyCasterEpisodeResult.cc +++ b/live/src/model/ModifyCasterEpisodeResult.cc @@ -39,10 +39,10 @@ void ModifyCasterEpisodeResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["CasterId"].isNull()) - casterId_ = value["CasterId"].asString(); if(!value["EpisodeId"].isNull()) episodeId_ = value["EpisodeId"].asString(); + if(!value["CasterId"].isNull()) + casterId_ = value["CasterId"].asString(); } diff --git a/live/src/model/ModifyCasterLayoutRequest.cc b/live/src/model/ModifyCasterLayoutRequest.cc index fb1b43b64..c555e0410 100644 --- a/live/src/model/ModifyCasterLayoutRequest.cc +++ b/live/src/model/ModifyCasterLayoutRequest.cc @@ -1,127 +1,102 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ModifyCasterLayoutRequest; - -ModifyCasterLayoutRequest::ModifyCasterLayoutRequest() : - RpcServiceRequest("live", "2016-11-01", "ModifyCasterLayout") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyCasterLayoutRequest::~ModifyCasterLayoutRequest() -{} - -std::vector ModifyCasterLayoutRequest::getBlendList()const -{ - return blendList_; + */ + +#include + +using AlibabaCloud::Live::Model::ModifyCasterLayoutRequest; + +ModifyCasterLayoutRequest::ModifyCasterLayoutRequest() + : RpcServiceRequest("live", "2016-11-01", "ModifyCasterLayout") { + setMethod(HttpRequest::Method::Post); } -void ModifyCasterLayoutRequest::setBlendList(const std::vector& blendList) -{ - blendList_ = blendList; - for(int dep1 = 0; dep1!= blendList.size(); dep1++) { - setParameter("BlendList."+ std::to_string(dep1), blendList.at(dep1)); - } +ModifyCasterLayoutRequest::~ModifyCasterLayoutRequest() {} + +std::vector ModifyCasterLayoutRequest::getBlendList() const { + return blendList_; } -std::string ModifyCasterLayoutRequest::getLayoutId()const -{ - return layoutId_; +void ModifyCasterLayoutRequest::setBlendList(const std::vector &blendList) { + blendList_ = blendList; } -void ModifyCasterLayoutRequest::setLayoutId(const std::string& layoutId) -{ - layoutId_ = layoutId; - setParameter("LayoutId", layoutId); +std::string ModifyCasterLayoutRequest::getLayoutId() const { + return layoutId_; } -std::string ModifyCasterLayoutRequest::getCasterId()const -{ - return casterId_; +void ModifyCasterLayoutRequest::setLayoutId(const std::string &layoutId) { + layoutId_ = layoutId; + setParameter(std::string("LayoutId"), layoutId); } -void ModifyCasterLayoutRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string ModifyCasterLayoutRequest::getCasterId() const { + return casterId_; } -long ModifyCasterLayoutRequest::getOwnerId()const -{ - return ownerId_; +void ModifyCasterLayoutRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void ModifyCasterLayoutRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long ModifyCasterLayoutRequest::getOwnerId() const { + return ownerId_; } -std::vector ModifyCasterLayoutRequest::getAudioLayer()const -{ - return audioLayer_; +void ModifyCasterLayoutRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void ModifyCasterLayoutRequest::setAudioLayer(const std::vector& audioLayer) -{ - audioLayer_ = audioLayer; - for(int dep1 = 0; dep1!= audioLayer.size(); dep1++) { - auto audioLayerObj = audioLayer.at(dep1); - std::string audioLayerObjStr = "AudioLayer." + std::to_string(dep1 + 1); - setParameter(audioLayerObjStr + ".VolumeRate", std::to_string(audioLayerObj.volumeRate)); - setParameter(audioLayerObjStr + ".ValidChannel", audioLayerObj.validChannel); - setParameter(audioLayerObjStr + ".FixedDelayDuration", std::to_string(audioLayerObj.fixedDelayDuration)); - } +std::vector ModifyCasterLayoutRequest::getAudioLayer() const { + return audioLayer_; } -std::vector ModifyCasterLayoutRequest::getVideoLayer()const -{ - return videoLayer_; +void ModifyCasterLayoutRequest::setAudioLayer(const std::vector &audioLayer) { + audioLayer_ = audioLayer; + for(int dep1 = 0; dep1 != audioLayer.size(); dep1++) { + auto audioLayerObj = audioLayer.at(dep1); + std::string audioLayerObjStr = std::string("AudioLayer") + "." + std::to_string(dep1 + 1); + setParameter(audioLayerObjStr + ".VolumeRate", std::to_string(audioLayerObj.volumeRate)); + setParameter(audioLayerObjStr + ".FixedDelayDuration", std::to_string(audioLayerObj.fixedDelayDuration)); + setParameter(audioLayerObjStr + ".ValidChannel", audioLayerObj.validChannel); + } } -void ModifyCasterLayoutRequest::setVideoLayer(const std::vector& videoLayer) -{ - videoLayer_ = videoLayer; - for(int dep1 = 0; dep1!= videoLayer.size(); dep1++) { - auto videoLayerObj = videoLayer.at(dep1); - std::string videoLayerObjStr = "VideoLayer." + std::to_string(dep1 + 1); - setParameter(videoLayerObjStr + ".FillMode", videoLayerObj.fillMode); - setParameter(videoLayerObjStr + ".HeightNormalized", std::to_string(videoLayerObj.heightNormalized)); - setParameter(videoLayerObjStr + ".WidthNormalized", std::to_string(videoLayerObj.widthNormalized)); - setParameter(videoLayerObjStr + ".PositionRefer", videoLayerObj.positionRefer); - for(int dep2 = 0; dep2!= videoLayerObj.positionNormalized.size(); dep2++) { - setParameter(videoLayerObjStr + ".PositionNormalized."+ std::to_string(dep2), std::to_string(videoLayerObj.positionNormalized.at(dep2))); - } - setParameter(videoLayerObjStr + ".FixedDelayDuration", std::to_string(videoLayerObj.fixedDelayDuration)); - } +std::vector ModifyCasterLayoutRequest::getVideoLayer() const { + return videoLayer_; } -std::vector ModifyCasterLayoutRequest::getMixList()const -{ - return mixList_; +void ModifyCasterLayoutRequest::setVideoLayer(const std::vector &videoLayer) { + videoLayer_ = videoLayer; + for(int dep1 = 0; dep1 != videoLayer.size(); dep1++) { + auto videoLayerObj = videoLayer.at(dep1); + std::string videoLayerObjStr = std::string("VideoLayer") + "." + std::to_string(dep1 + 1); + setParameter(videoLayerObjStr + ".FixedDelayDuration", std::to_string(videoLayerObj.fixedDelayDuration)); + setParameter(videoLayerObjStr + ".FillMode", videoLayerObj.fillMode); + setParameter(videoLayerObjStr + ".HeightNormalized", std::to_string(videoLayerObj.heightNormalized)); + setParameter(videoLayerObjStr + ".PositionRefer", videoLayerObj.positionRefer); + setParameter(videoLayerObjStr + ".WidthNormalized", std::to_string(videoLayerObj.widthNormalized)); + } } -void ModifyCasterLayoutRequest::setMixList(const std::vector& mixList) -{ - mixList_ = mixList; - for(int dep1 = 0; dep1!= mixList.size(); dep1++) { - setParameter("MixList."+ std::to_string(dep1), mixList.at(dep1)); - } +std::vector ModifyCasterLayoutRequest::getMixList() const { + return mixList_; +} + +void ModifyCasterLayoutRequest::setMixList(const std::vector &mixList) { + mixList_ = mixList; } diff --git a/live/src/model/ModifyCasterProgramRequest.cc b/live/src/model/ModifyCasterProgramRequest.cc index 1d2c3193f..389a678d4 100644 --- a/live/src/model/ModifyCasterProgramRequest.cc +++ b/live/src/model/ModifyCasterProgramRequest.cc @@ -1,75 +1,64 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ModifyCasterProgramRequest; - -ModifyCasterProgramRequest::ModifyCasterProgramRequest() : - RpcServiceRequest("live", "2016-11-01", "ModifyCasterProgram") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyCasterProgramRequest::~ModifyCasterProgramRequest() -{} - -std::vector ModifyCasterProgramRequest::getEpisode()const -{ - return episode_; + */ + +#include + +using AlibabaCloud::Live::Model::ModifyCasterProgramRequest; + +ModifyCasterProgramRequest::ModifyCasterProgramRequest() + : RpcServiceRequest("live", "2016-11-01", "ModifyCasterProgram") { + setMethod(HttpRequest::Method::Post); } -void ModifyCasterProgramRequest::setEpisode(const std::vector& episode) -{ - episode_ = episode; - for(int dep1 = 0; dep1!= episode.size(); dep1++) { - auto episodeObj = episode.at(dep1); - std::string episodeObjStr = "Episode." + std::to_string(dep1 + 1); - setParameter(episodeObjStr + ".EpisodeId", episodeObj.episodeId); - setParameter(episodeObjStr + ".EpisodeType", episodeObj.episodeType); - setParameter(episodeObjStr + ".EpisodeName", episodeObj.episodeName); - setParameter(episodeObjStr + ".ResourceId", episodeObj.resourceId); - for(int dep2 = 0; dep2!= episodeObj.componentId.size(); dep2++) { - setParameter(episodeObjStr + ".ComponentId."+ std::to_string(dep2), episodeObj.componentId.at(dep2)); - } - setParameter(episodeObjStr + ".StartTime", episodeObj.startTime); - setParameter(episodeObjStr + ".EndTime", episodeObj.endTime); - setParameter(episodeObjStr + ".SwitchType", episodeObj.switchType); - } +ModifyCasterProgramRequest::~ModifyCasterProgramRequest() {} + +std::vector ModifyCasterProgramRequest::getEpisode() const { + return episode_; } -std::string ModifyCasterProgramRequest::getCasterId()const -{ - return casterId_; +void ModifyCasterProgramRequest::setEpisode(const std::vector &episode) { + episode_ = episode; + for(int dep1 = 0; dep1 != episode.size(); dep1++) { + auto episodeObj = episode.at(dep1); + std::string episodeObjStr = std::string("Episode") + "." + std::to_string(dep1 + 1); + setParameter(episodeObjStr + ".EndTime", episodeObj.endTime); + setParameter(episodeObjStr + ".StartTime", episodeObj.startTime); + setParameter(episodeObjStr + ".EpisodeName", episodeObj.episodeName); + setParameter(episodeObjStr + ".EpisodeType", episodeObj.episodeType); + setParameter(episodeObjStr + ".EpisodeId", episodeObj.episodeId); + setParameter(episodeObjStr + ".ResourceId", episodeObj.resourceId); + setParameter(episodeObjStr + ".SwitchType", episodeObj.switchType); + } } -void ModifyCasterProgramRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string ModifyCasterProgramRequest::getCasterId() const { + return casterId_; } -long ModifyCasterProgramRequest::getOwnerId()const -{ - return ownerId_; +void ModifyCasterProgramRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void ModifyCasterProgramRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long ModifyCasterProgramRequest::getOwnerId() const { + return ownerId_; +} + +void ModifyCasterProgramRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/ModifyCasterVideoResourceRequest.cc b/live/src/model/ModifyCasterVideoResourceRequest.cc index 47f84ab83..fd4c864d9 100644 --- a/live/src/model/ModifyCasterVideoResourceRequest.cc +++ b/live/src/model/ModifyCasterVideoResourceRequest.cc @@ -1,150 +1,126 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ModifyCasterVideoResourceRequest; - -ModifyCasterVideoResourceRequest::ModifyCasterVideoResourceRequest() : - RpcServiceRequest("live", "2016-11-01", "ModifyCasterVideoResource") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyCasterVideoResourceRequest::~ModifyCasterVideoResourceRequest() -{} - -int ModifyCasterVideoResourceRequest::getEndOffset()const -{ - return endOffset_; + */ + +#include + +using AlibabaCloud::Live::Model::ModifyCasterVideoResourceRequest; + +ModifyCasterVideoResourceRequest::ModifyCasterVideoResourceRequest() + : RpcServiceRequest("live", "2016-11-01", "ModifyCasterVideoResource") { + setMethod(HttpRequest::Method::Post); } -void ModifyCasterVideoResourceRequest::setEndOffset(int endOffset) -{ - endOffset_ = endOffset; - setParameter("EndOffset", std::to_string(endOffset)); +ModifyCasterVideoResourceRequest::~ModifyCasterVideoResourceRequest() {} + +int ModifyCasterVideoResourceRequest::getEndOffset() const { + return endOffset_; } -std::string ModifyCasterVideoResourceRequest::getMaterialId()const -{ - return materialId_; +void ModifyCasterVideoResourceRequest::setEndOffset(int endOffset) { + endOffset_ = endOffset; + setParameter(std::string("EndOffset"), std::to_string(endOffset)); } -void ModifyCasterVideoResourceRequest::setMaterialId(const std::string& materialId) -{ - materialId_ = materialId; - setParameter("MaterialId", materialId); +std::string ModifyCasterVideoResourceRequest::getMaterialId() const { + return materialId_; } -std::string ModifyCasterVideoResourceRequest::getResourceId()const -{ - return resourceId_; +void ModifyCasterVideoResourceRequest::setMaterialId(const std::string &materialId) { + materialId_ = materialId; + setParameter(std::string("MaterialId"), materialId); } -void ModifyCasterVideoResourceRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setParameter("ResourceId", resourceId); +std::string ModifyCasterVideoResourceRequest::getResourceId() const { + return resourceId_; } -std::string ModifyCasterVideoResourceRequest::getVodUrl()const -{ - return vodUrl_; +void ModifyCasterVideoResourceRequest::setResourceId(const std::string &resourceId) { + resourceId_ = resourceId; + setParameter(std::string("ResourceId"), resourceId); } -void ModifyCasterVideoResourceRequest::setVodUrl(const std::string& vodUrl) -{ - vodUrl_ = vodUrl; - setParameter("VodUrl", vodUrl); +std::string ModifyCasterVideoResourceRequest::getVodUrl() const { + return vodUrl_; } -std::string ModifyCasterVideoResourceRequest::getCasterId()const -{ - return casterId_; +void ModifyCasterVideoResourceRequest::setVodUrl(const std::string &vodUrl) { + vodUrl_ = vodUrl; + setParameter(std::string("VodUrl"), vodUrl); } -void ModifyCasterVideoResourceRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string ModifyCasterVideoResourceRequest::getCasterId() const { + return casterId_; } -long ModifyCasterVideoResourceRequest::getOwnerId()const -{ - return ownerId_; +void ModifyCasterVideoResourceRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void ModifyCasterVideoResourceRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long ModifyCasterVideoResourceRequest::getOwnerId() const { + return ownerId_; } -int ModifyCasterVideoResourceRequest::getBeginOffset()const -{ - return beginOffset_; +void ModifyCasterVideoResourceRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void ModifyCasterVideoResourceRequest::setBeginOffset(int beginOffset) -{ - beginOffset_ = beginOffset; - setParameter("BeginOffset", std::to_string(beginOffset)); +int ModifyCasterVideoResourceRequest::getBeginOffset() const { + return beginOffset_; } -std::string ModifyCasterVideoResourceRequest::getLiveStreamUrl()const -{ - return liveStreamUrl_; +void ModifyCasterVideoResourceRequest::setBeginOffset(int beginOffset) { + beginOffset_ = beginOffset; + setParameter(std::string("BeginOffset"), std::to_string(beginOffset)); } -void ModifyCasterVideoResourceRequest::setLiveStreamUrl(const std::string& liveStreamUrl) -{ - liveStreamUrl_ = liveStreamUrl; - setParameter("LiveStreamUrl", liveStreamUrl); +std::string ModifyCasterVideoResourceRequest::getLiveStreamUrl() const { + return liveStreamUrl_; } -int ModifyCasterVideoResourceRequest::getPtsCallbackInterval()const -{ - return ptsCallbackInterval_; +void ModifyCasterVideoResourceRequest::setLiveStreamUrl(const std::string &liveStreamUrl) { + liveStreamUrl_ = liveStreamUrl; + setParameter(std::string("LiveStreamUrl"), liveStreamUrl); } -void ModifyCasterVideoResourceRequest::setPtsCallbackInterval(int ptsCallbackInterval) -{ - ptsCallbackInterval_ = ptsCallbackInterval; - setParameter("PtsCallbackInterval", std::to_string(ptsCallbackInterval)); +int ModifyCasterVideoResourceRequest::getPtsCallbackInterval() const { + return ptsCallbackInterval_; } -std::string ModifyCasterVideoResourceRequest::getResourceName()const -{ - return resourceName_; +void ModifyCasterVideoResourceRequest::setPtsCallbackInterval(int ptsCallbackInterval) { + ptsCallbackInterval_ = ptsCallbackInterval; + setParameter(std::string("PtsCallbackInterval"), std::to_string(ptsCallbackInterval)); } -void ModifyCasterVideoResourceRequest::setResourceName(const std::string& resourceName) -{ - resourceName_ = resourceName; - setParameter("ResourceName", resourceName); +std::string ModifyCasterVideoResourceRequest::getResourceName() const { + return resourceName_; } -int ModifyCasterVideoResourceRequest::getRepeatNum()const -{ - return repeatNum_; +void ModifyCasterVideoResourceRequest::setResourceName(const std::string &resourceName) { + resourceName_ = resourceName; + setParameter(std::string("ResourceName"), resourceName); } -void ModifyCasterVideoResourceRequest::setRepeatNum(int repeatNum) -{ - repeatNum_ = repeatNum; - setParameter("RepeatNum", std::to_string(repeatNum)); +int ModifyCasterVideoResourceRequest::getRepeatNum() const { + return repeatNum_; +} + +void ModifyCasterVideoResourceRequest::setRepeatNum(int repeatNum) { + repeatNum_ = repeatNum; + setParameter(std::string("RepeatNum"), std::to_string(repeatNum)); } diff --git a/live/src/model/ModifyLiveDomainSchdmByPropertyRequest.cc b/live/src/model/ModifyLiveDomainSchdmByPropertyRequest.cc index b2d71b3a9..770d7a407 100644 --- a/live/src/model/ModifyLiveDomainSchdmByPropertyRequest.cc +++ b/live/src/model/ModifyLiveDomainSchdmByPropertyRequest.cc @@ -1,62 +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::ModifyLiveDomainSchdmByPropertyRequest; - -ModifyLiveDomainSchdmByPropertyRequest::ModifyLiveDomainSchdmByPropertyRequest() : - RpcServiceRequest("live", "2016-11-01", "ModifyLiveDomainSchdmByProperty") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyLiveDomainSchdmByPropertyRequest::~ModifyLiveDomainSchdmByPropertyRequest() -{} - -std::string ModifyLiveDomainSchdmByPropertyRequest::getProperty()const -{ - return property_; + */ + +#include + +using AlibabaCloud::Live::Model::ModifyLiveDomainSchdmByPropertyRequest; + +ModifyLiveDomainSchdmByPropertyRequest::ModifyLiveDomainSchdmByPropertyRequest() + : RpcServiceRequest("live", "2016-11-01", "ModifyLiveDomainSchdmByProperty") { + setMethod(HttpRequest::Method::Post); } -void ModifyLiveDomainSchdmByPropertyRequest::setProperty(const std::string& property) -{ - property_ = property; - setParameter("Property", property); +ModifyLiveDomainSchdmByPropertyRequest::~ModifyLiveDomainSchdmByPropertyRequest() {} + +std::string ModifyLiveDomainSchdmByPropertyRequest::getProperty() const { + return property_; } -std::string ModifyLiveDomainSchdmByPropertyRequest::getDomainName()const -{ - return domainName_; +void ModifyLiveDomainSchdmByPropertyRequest::setProperty(const std::string &property) { + property_ = property; + setParameter(std::string("Property"), property); } -void ModifyLiveDomainSchdmByPropertyRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string ModifyLiveDomainSchdmByPropertyRequest::getDomainName() const { + return domainName_; } -long ModifyLiveDomainSchdmByPropertyRequest::getOwnerId()const -{ - return ownerId_; +void ModifyLiveDomainSchdmByPropertyRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void ModifyLiveDomainSchdmByPropertyRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long ModifyLiveDomainSchdmByPropertyRequest::getOwnerId() const { + return ownerId_; +} + +void ModifyLiveDomainSchdmByPropertyRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/ModifyLiveRealtimeLogDeliveryRequest.cc b/live/src/model/ModifyLiveRealtimeLogDeliveryRequest.cc index 59921fe93..2205dfb48 100644 --- a/live/src/model/ModifyLiveRealtimeLogDeliveryRequest.cc +++ b/live/src/model/ModifyLiveRealtimeLogDeliveryRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ModifyLiveRealtimeLogDeliveryRequest; - -ModifyLiveRealtimeLogDeliveryRequest::ModifyLiveRealtimeLogDeliveryRequest() : - RpcServiceRequest("live", "2016-11-01", "ModifyLiveRealtimeLogDelivery") -{ - setMethod(HttpRequest::Method::Get); -} - -ModifyLiveRealtimeLogDeliveryRequest::~ModifyLiveRealtimeLogDeliveryRequest() -{} - -std::string ModifyLiveRealtimeLogDeliveryRequest::getProject()const -{ - return project_; + */ + +#include + +using AlibabaCloud::Live::Model::ModifyLiveRealtimeLogDeliveryRequest; + +ModifyLiveRealtimeLogDeliveryRequest::ModifyLiveRealtimeLogDeliveryRequest() + : RpcServiceRequest("live", "2016-11-01", "ModifyLiveRealtimeLogDelivery") { + setMethod(HttpRequest::Method::Get); } -void ModifyLiveRealtimeLogDeliveryRequest::setProject(const std::string& project) -{ - project_ = project; - setParameter("Project", project); +ModifyLiveRealtimeLogDeliveryRequest::~ModifyLiveRealtimeLogDeliveryRequest() {} + +std::string ModifyLiveRealtimeLogDeliveryRequest::getProject() const { + return project_; } -std::string ModifyLiveRealtimeLogDeliveryRequest::getDomainName()const -{ - return domainName_; +void ModifyLiveRealtimeLogDeliveryRequest::setProject(const std::string &project) { + project_ = project; + setParameter(std::string("Project"), project); } -void ModifyLiveRealtimeLogDeliveryRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string ModifyLiveRealtimeLogDeliveryRequest::getDomainName() const { + return domainName_; } -long ModifyLiveRealtimeLogDeliveryRequest::getOwnerId()const -{ - return ownerId_; +void ModifyLiveRealtimeLogDeliveryRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void ModifyLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long ModifyLiveRealtimeLogDeliveryRequest::getOwnerId() const { + return ownerId_; } -std::string ModifyLiveRealtimeLogDeliveryRequest::getRegion()const -{ - return region_; +void ModifyLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void ModifyLiveRealtimeLogDeliveryRequest::setRegion(const std::string& region) -{ - region_ = region; - setParameter("Region", region); +std::string ModifyLiveRealtimeLogDeliveryRequest::getRegion() const { + return region_; } -std::string ModifyLiveRealtimeLogDeliveryRequest::getLogstore()const -{ - return logstore_; +void ModifyLiveRealtimeLogDeliveryRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); } -void ModifyLiveRealtimeLogDeliveryRequest::setLogstore(const std::string& logstore) -{ - logstore_ = logstore; - setParameter("Logstore", logstore); +std::string ModifyLiveRealtimeLogDeliveryRequest::getLogstore() const { + return logstore_; +} + +void ModifyLiveRealtimeLogDeliveryRequest::setLogstore(const std::string &logstore) { + logstore_ = logstore; + setParameter(std::string("Logstore"), logstore); } diff --git a/live/src/model/ModifyShowListRequest.cc b/live/src/model/ModifyShowListRequest.cc index b377023eb..610a797b1 100644 --- a/live/src/model/ModifyShowListRequest.cc +++ b/live/src/model/ModifyShowListRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ModifyShowListRequest; - -ModifyShowListRequest::ModifyShowListRequest() : - RpcServiceRequest("live", "2016-11-01", "ModifyShowList") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyShowListRequest::~ModifyShowListRequest() -{} - -int ModifyShowListRequest::getRepeatTimes()const -{ - return repeatTimes_; + */ + +#include + +using AlibabaCloud::Live::Model::ModifyShowListRequest; + +ModifyShowListRequest::ModifyShowListRequest() + : RpcServiceRequest("live", "2016-11-01", "ModifyShowList") { + setMethod(HttpRequest::Method::Post); } -void ModifyShowListRequest::setRepeatTimes(int repeatTimes) -{ - repeatTimes_ = repeatTimes; - setParameter("RepeatTimes", std::to_string(repeatTimes)); +ModifyShowListRequest::~ModifyShowListRequest() {} + +int ModifyShowListRequest::getRepeatTimes() const { + return repeatTimes_; } -std::string ModifyShowListRequest::getHighPriorityShowStartTime()const -{ - return highPriorityShowStartTime_; +void ModifyShowListRequest::setRepeatTimes(int repeatTimes) { + repeatTimes_ = repeatTimes; + setParameter(std::string("RepeatTimes"), std::to_string(repeatTimes)); } -void ModifyShowListRequest::setHighPriorityShowStartTime(const std::string& highPriorityShowStartTime) -{ - highPriorityShowStartTime_ = highPriorityShowStartTime; - setParameter("HighPriorityShowStartTime", highPriorityShowStartTime); +std::string ModifyShowListRequest::getHighPriorityShowStartTime() const { + return highPriorityShowStartTime_; } -std::string ModifyShowListRequest::getCasterId()const -{ - return casterId_; +void ModifyShowListRequest::setHighPriorityShowStartTime(const std::string &highPriorityShowStartTime) { + highPriorityShowStartTime_ = highPriorityShowStartTime; + setParameter(std::string("HighPriorityShowStartTime"), highPriorityShowStartTime); } -void ModifyShowListRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string ModifyShowListRequest::getCasterId() const { + return casterId_; } -std::string ModifyShowListRequest::getHighPriorityShowId()const -{ - return highPriorityShowId_; +void ModifyShowListRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void ModifyShowListRequest::setHighPriorityShowId(const std::string& highPriorityShowId) -{ - highPriorityShowId_ = highPriorityShowId; - setParameter("HighPriorityShowId", highPriorityShowId); +std::string ModifyShowListRequest::getHighPriorityShowId() const { + return highPriorityShowId_; } -long ModifyShowListRequest::getOwnerId()const -{ - return ownerId_; +void ModifyShowListRequest::setHighPriorityShowId(const std::string &highPriorityShowId) { + highPriorityShowId_ = highPriorityShowId; + setParameter(std::string("HighPriorityShowId"), highPriorityShowId); } -void ModifyShowListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long ModifyShowListRequest::getOwnerId() const { + return ownerId_; } -std::string ModifyShowListRequest::getShowId()const -{ - return showId_; +void ModifyShowListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void ModifyShowListRequest::setShowId(const std::string& showId) -{ - showId_ = showId; - setParameter("ShowId", showId); +std::string ModifyShowListRequest::getShowId() const { + return showId_; } -int ModifyShowListRequest::getSpot()const -{ - return spot_; +void ModifyShowListRequest::setShowId(const std::string &showId) { + showId_ = showId; + setParameter(std::string("ShowId"), showId); } -void ModifyShowListRequest::setSpot(int spot) -{ - spot_ = spot; - setParameter("Spot", std::to_string(spot)); +int ModifyShowListRequest::getSpot() const { + return spot_; +} + +void ModifyShowListRequest::setSpot(int spot) { + spot_ = spot; + setParameter(std::string("Spot"), std::to_string(spot)); } diff --git a/live/src/model/ModifyStudioLayoutRequest.cc b/live/src/model/ModifyStudioLayoutRequest.cc index 7f279f9ff..beff2e2c9 100644 --- a/live/src/model/ModifyStudioLayoutRequest.cc +++ b/live/src/model/ModifyStudioLayoutRequest.cc @@ -1,128 +1,108 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ModifyStudioLayoutRequest; - -ModifyStudioLayoutRequest::ModifyStudioLayoutRequest() : - RpcServiceRequest("live", "2016-11-01", "ModifyStudioLayout") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyStudioLayoutRequest::~ModifyStudioLayoutRequest() -{} - -std::string ModifyStudioLayoutRequest::getScreenInputConfigList()const -{ - return screenInputConfigList_; + */ + +#include + +using AlibabaCloud::Live::Model::ModifyStudioLayoutRequest; + +ModifyStudioLayoutRequest::ModifyStudioLayoutRequest() + : RpcServiceRequest("live", "2016-11-01", "ModifyStudioLayout") { + setMethod(HttpRequest::Method::Post); } -void ModifyStudioLayoutRequest::setScreenInputConfigList(const std::string& screenInputConfigList) -{ - screenInputConfigList_ = screenInputConfigList; - setParameter("ScreenInputConfigList", screenInputConfigList); +ModifyStudioLayoutRequest::~ModifyStudioLayoutRequest() {} + +std::string ModifyStudioLayoutRequest::getScreenInputConfigList() const { + return screenInputConfigList_; } -std::string ModifyStudioLayoutRequest::getLayoutId()const -{ - return layoutId_; +void ModifyStudioLayoutRequest::setScreenInputConfigList(const std::string &screenInputConfigList) { + screenInputConfigList_ = screenInputConfigList; + setParameter(std::string("ScreenInputConfigList"), screenInputConfigList); } -void ModifyStudioLayoutRequest::setLayoutId(const std::string& layoutId) -{ - layoutId_ = layoutId; - setParameter("LayoutId", layoutId); +std::string ModifyStudioLayoutRequest::getLayoutId() const { + return layoutId_; } -std::string ModifyStudioLayoutRequest::getLayoutName()const -{ - return layoutName_; +void ModifyStudioLayoutRequest::setLayoutId(const std::string &layoutId) { + layoutId_ = layoutId; + setParameter(std::string("LayoutId"), layoutId); } -void ModifyStudioLayoutRequest::setLayoutName(const std::string& layoutName) -{ - layoutName_ = layoutName; - setParameter("LayoutName", layoutName); +std::string ModifyStudioLayoutRequest::getLayoutName() const { + return layoutName_; } -std::string ModifyStudioLayoutRequest::getLayerOrderConfigList()const -{ - return layerOrderConfigList_; +void ModifyStudioLayoutRequest::setLayoutName(const std::string &layoutName) { + layoutName_ = layoutName; + setParameter(std::string("LayoutName"), layoutName); } -void ModifyStudioLayoutRequest::setLayerOrderConfigList(const std::string& layerOrderConfigList) -{ - layerOrderConfigList_ = layerOrderConfigList; - setParameter("LayerOrderConfigList", layerOrderConfigList); +std::string ModifyStudioLayoutRequest::getLayerOrderConfigList() const { + return layerOrderConfigList_; } -std::string ModifyStudioLayoutRequest::getMediaInputConfigList()const -{ - return mediaInputConfigList_; +void ModifyStudioLayoutRequest::setLayerOrderConfigList(const std::string &layerOrderConfigList) { + layerOrderConfigList_ = layerOrderConfigList; + setParameter(std::string("LayerOrderConfigList"), layerOrderConfigList); } -void ModifyStudioLayoutRequest::setMediaInputConfigList(const std::string& mediaInputConfigList) -{ - mediaInputConfigList_ = mediaInputConfigList; - setParameter("MediaInputConfigList", mediaInputConfigList); +std::string ModifyStudioLayoutRequest::getMediaInputConfigList() const { + return mediaInputConfigList_; } -std::string ModifyStudioLayoutRequest::getCasterId()const -{ - return casterId_; +void ModifyStudioLayoutRequest::setMediaInputConfigList(const std::string &mediaInputConfigList) { + mediaInputConfigList_ = mediaInputConfigList; + setParameter(std::string("MediaInputConfigList"), mediaInputConfigList); } -void ModifyStudioLayoutRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string ModifyStudioLayoutRequest::getCasterId() const { + return casterId_; } -std::string ModifyStudioLayoutRequest::getBgImageConfig()const -{ - return bgImageConfig_; +void ModifyStudioLayoutRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void ModifyStudioLayoutRequest::setBgImageConfig(const std::string& bgImageConfig) -{ - bgImageConfig_ = bgImageConfig; - setParameter("BgImageConfig", bgImageConfig); +std::string ModifyStudioLayoutRequest::getBgImageConfig() const { + return bgImageConfig_; } -long ModifyStudioLayoutRequest::getOwnerId()const -{ - return ownerId_; +void ModifyStudioLayoutRequest::setBgImageConfig(const std::string &bgImageConfig) { + bgImageConfig_ = bgImageConfig; + setParameter(std::string("BgImageConfig"), bgImageConfig); } -void ModifyStudioLayoutRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long ModifyStudioLayoutRequest::getOwnerId() const { + return ownerId_; } -std::string ModifyStudioLayoutRequest::getCommonConfig()const -{ - return commonConfig_; +void ModifyStudioLayoutRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void ModifyStudioLayoutRequest::setCommonConfig(const std::string& commonConfig) -{ - commonConfig_ = commonConfig; - setParameter("CommonConfig", commonConfig); +std::string ModifyStudioLayoutRequest::getCommonConfig() const { + return commonConfig_; +} + +void ModifyStudioLayoutRequest::setCommonConfig(const std::string &commonConfig) { + commonConfig_ = commonConfig; + setParameter(std::string("CommonConfig"), commonConfig); } diff --git a/live/src/model/OpenLiveShiftRequest.cc b/live/src/model/OpenLiveShiftRequest.cc index 31ae518eb..136a27131 100644 --- a/live/src/model/OpenLiveShiftRequest.cc +++ b/live/src/model/OpenLiveShiftRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::OpenLiveShiftRequest; - -OpenLiveShiftRequest::OpenLiveShiftRequest() : - RpcServiceRequest("live", "2016-11-01", "OpenLiveShift") -{ - setMethod(HttpRequest::Method::Post); -} - -OpenLiveShiftRequest::~OpenLiveShiftRequest() -{} - -int OpenLiveShiftRequest::getDuration()const -{ - return duration_; + */ + +#include + +using AlibabaCloud::Live::Model::OpenLiveShiftRequest; + +OpenLiveShiftRequest::OpenLiveShiftRequest() + : RpcServiceRequest("live", "2016-11-01", "OpenLiveShift") { + setMethod(HttpRequest::Method::Post); } -void OpenLiveShiftRequest::setDuration(int duration) -{ - duration_ = duration; - setParameter("Duration", std::to_string(duration)); +OpenLiveShiftRequest::~OpenLiveShiftRequest() {} + +int OpenLiveShiftRequest::getDuration() const { + return duration_; } -std::string OpenLiveShiftRequest::getAppName()const -{ - return appName_; +void OpenLiveShiftRequest::setDuration(int duration) { + duration_ = duration; + setParameter(std::string("Duration"), std::to_string(duration)); } -void OpenLiveShiftRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string OpenLiveShiftRequest::getAppName() const { + return appName_; } -std::string OpenLiveShiftRequest::getStreamName()const -{ - return streamName_; +void OpenLiveShiftRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void OpenLiveShiftRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string OpenLiveShiftRequest::getStreamName() const { + return streamName_; } -bool OpenLiveShiftRequest::getIgnoreTranscode()const -{ - return ignoreTranscode_; +void OpenLiveShiftRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void OpenLiveShiftRequest::setIgnoreTranscode(bool ignoreTranscode) -{ - ignoreTranscode_ = ignoreTranscode; - setParameter("IgnoreTranscode", ignoreTranscode ? "true" : "false"); +bool OpenLiveShiftRequest::getIgnoreTranscode() const { + return ignoreTranscode_; } -std::string OpenLiveShiftRequest::getDomainName()const -{ - return domainName_; +void OpenLiveShiftRequest::setIgnoreTranscode(bool ignoreTranscode) { + ignoreTranscode_ = ignoreTranscode; + setParameter(std::string("IgnoreTranscode"), ignoreTranscode ? "true" : "false"); } -void OpenLiveShiftRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string OpenLiveShiftRequest::getDomainName() const { + return domainName_; } -long OpenLiveShiftRequest::getOwnerId()const -{ - return ownerId_; +void OpenLiveShiftRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void OpenLiveShiftRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long OpenLiveShiftRequest::getOwnerId() const { + return ownerId_; } -int OpenLiveShiftRequest::getVision()const -{ - return vision_; +void OpenLiveShiftRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void OpenLiveShiftRequest::setVision(int vision) -{ - vision_ = vision; - setParameter("Vision", std::to_string(vision)); +int OpenLiveShiftRequest::getVision() const { + return vision_; +} + +void OpenLiveShiftRequest::setVision(int vision) { + vision_ = vision; + setParameter(std::string("Vision"), std::to_string(vision)); } diff --git a/live/src/model/PlayChoosenShowRequest.cc b/live/src/model/PlayChoosenShowRequest.cc index b36df46ff..5b1dcf423 100644 --- a/live/src/model/PlayChoosenShowRequest.cc +++ b/live/src/model/PlayChoosenShowRequest.cc @@ -1,62 +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::PlayChoosenShowRequest; - -PlayChoosenShowRequest::PlayChoosenShowRequest() : - RpcServiceRequest("live", "2016-11-01", "PlayChoosenShow") -{ - setMethod(HttpRequest::Method::Post); -} - -PlayChoosenShowRequest::~PlayChoosenShowRequest() -{} - -std::string PlayChoosenShowRequest::getCasterId()const -{ - return casterId_; + */ + +#include + +using AlibabaCloud::Live::Model::PlayChoosenShowRequest; + +PlayChoosenShowRequest::PlayChoosenShowRequest() + : RpcServiceRequest("live", "2016-11-01", "PlayChoosenShow") { + setMethod(HttpRequest::Method::Post); } -void PlayChoosenShowRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +PlayChoosenShowRequest::~PlayChoosenShowRequest() {} + +std::string PlayChoosenShowRequest::getCasterId() const { + return casterId_; } -long PlayChoosenShowRequest::getOwnerId()const -{ - return ownerId_; +void PlayChoosenShowRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void PlayChoosenShowRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long PlayChoosenShowRequest::getOwnerId() const { + return ownerId_; } -std::string PlayChoosenShowRequest::getShowId()const -{ - return showId_; +void PlayChoosenShowRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void PlayChoosenShowRequest::setShowId(const std::string& showId) -{ - showId_ = showId; - setParameter("ShowId", showId); +std::string PlayChoosenShowRequest::getShowId() const { + return showId_; +} + +void PlayChoosenShowRequest::setShowId(const std::string &showId) { + showId_ = showId; + setParameter(std::string("ShowId"), showId); } diff --git a/live/src/model/PublishLiveStagingConfigToProductionRequest.cc b/live/src/model/PublishLiveStagingConfigToProductionRequest.cc index 9c306fb45..a5fa00f18 100644 --- a/live/src/model/PublishLiveStagingConfigToProductionRequest.cc +++ b/live/src/model/PublishLiveStagingConfigToProductionRequest.cc @@ -1,62 +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::PublishLiveStagingConfigToProductionRequest; - -PublishLiveStagingConfigToProductionRequest::PublishLiveStagingConfigToProductionRequest() : - RpcServiceRequest("live", "2016-11-01", "PublishLiveStagingConfigToProduction") -{ - setMethod(HttpRequest::Method::Post); -} - -PublishLiveStagingConfigToProductionRequest::~PublishLiveStagingConfigToProductionRequest() -{} - -std::string PublishLiveStagingConfigToProductionRequest::getFunctionName()const -{ - return functionName_; + */ + +#include + +using AlibabaCloud::Live::Model::PublishLiveStagingConfigToProductionRequest; + +PublishLiveStagingConfigToProductionRequest::PublishLiveStagingConfigToProductionRequest() + : RpcServiceRequest("live", "2016-11-01", "PublishLiveStagingConfigToProduction") { + setMethod(HttpRequest::Method::Post); } -void PublishLiveStagingConfigToProductionRequest::setFunctionName(const std::string& functionName) -{ - functionName_ = functionName; - setParameter("FunctionName", functionName); +PublishLiveStagingConfigToProductionRequest::~PublishLiveStagingConfigToProductionRequest() {} + +std::string PublishLiveStagingConfigToProductionRequest::getFunctionName() const { + return functionName_; } -std::string PublishLiveStagingConfigToProductionRequest::getDomainName()const -{ - return domainName_; +void PublishLiveStagingConfigToProductionRequest::setFunctionName(const std::string &functionName) { + functionName_ = functionName; + setParameter(std::string("FunctionName"), functionName); } -void PublishLiveStagingConfigToProductionRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string PublishLiveStagingConfigToProductionRequest::getDomainName() const { + return domainName_; } -long PublishLiveStagingConfigToProductionRequest::getOwnerId()const -{ - return ownerId_; +void PublishLiveStagingConfigToProductionRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void PublishLiveStagingConfigToProductionRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long PublishLiveStagingConfigToProductionRequest::getOwnerId() const { + return ownerId_; +} + +void PublishLiveStagingConfigToProductionRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/QuerySnapshotCallbackAuthRequest.cc b/live/src/model/QuerySnapshotCallbackAuthRequest.cc index 98b09ad71..4b31c054b 100644 --- a/live/src/model/QuerySnapshotCallbackAuthRequest.cc +++ b/live/src/model/QuerySnapshotCallbackAuthRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::QuerySnapshotCallbackAuthRequest; - -QuerySnapshotCallbackAuthRequest::QuerySnapshotCallbackAuthRequest() : - RpcServiceRequest("live", "2016-11-01", "QuerySnapshotCallbackAuth") -{ - setMethod(HttpRequest::Method::Post); -} - -QuerySnapshotCallbackAuthRequest::~QuerySnapshotCallbackAuthRequest() -{} - -std::string QuerySnapshotCallbackAuthRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::QuerySnapshotCallbackAuthRequest; + +QuerySnapshotCallbackAuthRequest::QuerySnapshotCallbackAuthRequest() + : RpcServiceRequest("live", "2016-11-01", "QuerySnapshotCallbackAuth") { + setMethod(HttpRequest::Method::Post); } -void QuerySnapshotCallbackAuthRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +QuerySnapshotCallbackAuthRequest::~QuerySnapshotCallbackAuthRequest() {} + +std::string QuerySnapshotCallbackAuthRequest::getDomainName() const { + return domainName_; } -long QuerySnapshotCallbackAuthRequest::getOwnerId()const -{ - return ownerId_; +void QuerySnapshotCallbackAuthRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void QuerySnapshotCallbackAuthRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long QuerySnapshotCallbackAuthRequest::getOwnerId() const { + return ownerId_; +} + +void QuerySnapshotCallbackAuthRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/QuerySnapshotCallbackAuthResult.cc b/live/src/model/QuerySnapshotCallbackAuthResult.cc index 2dc696a20..a55989ed9 100644 --- a/live/src/model/QuerySnapshotCallbackAuthResult.cc +++ b/live/src/model/QuerySnapshotCallbackAuthResult.cc @@ -39,12 +39,12 @@ void QuerySnapshotCallbackAuthResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); + if(!value["CallbackAuthKey"].isNull()) + callbackAuthKey_ = value["CallbackAuthKey"].asString(); if(!value["DomainName"].isNull()) domainName_ = value["DomainName"].asString(); if(!value["CallbackReqAuth"].isNull()) callbackReqAuth_ = value["CallbackReqAuth"].asString(); - if(!value["CallbackAuthKey"].isNull()) - callbackAuthKey_ = value["CallbackAuthKey"].asString(); } diff --git a/live/src/model/RealTimeRecordCommandRequest.cc b/live/src/model/RealTimeRecordCommandRequest.cc index 3e11f0258..0d189ea7c 100644 --- a/live/src/model/RealTimeRecordCommandRequest.cc +++ b/live/src/model/RealTimeRecordCommandRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::RealTimeRecordCommandRequest; - -RealTimeRecordCommandRequest::RealTimeRecordCommandRequest() : - RpcServiceRequest("live", "2016-11-01", "RealTimeRecordCommand") -{ - setMethod(HttpRequest::Method::Post); -} - -RealTimeRecordCommandRequest::~RealTimeRecordCommandRequest() -{} - -std::string RealTimeRecordCommandRequest::getAppName()const -{ - return appName_; + */ + +#include + +using AlibabaCloud::Live::Model::RealTimeRecordCommandRequest; + +RealTimeRecordCommandRequest::RealTimeRecordCommandRequest() + : RpcServiceRequest("live", "2016-11-01", "RealTimeRecordCommand") { + setMethod(HttpRequest::Method::Post); } -void RealTimeRecordCommandRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +RealTimeRecordCommandRequest::~RealTimeRecordCommandRequest() {} + +std::string RealTimeRecordCommandRequest::getAppName() const { + return appName_; } -std::string RealTimeRecordCommandRequest::getStreamName()const -{ - return streamName_; +void RealTimeRecordCommandRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void RealTimeRecordCommandRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string RealTimeRecordCommandRequest::getStreamName() const { + return streamName_; } -std::string RealTimeRecordCommandRequest::getDomainName()const -{ - return domainName_; +void RealTimeRecordCommandRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void RealTimeRecordCommandRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string RealTimeRecordCommandRequest::getDomainName() const { + return domainName_; } -long RealTimeRecordCommandRequest::getOwnerId()const -{ - return ownerId_; +void RealTimeRecordCommandRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void RealTimeRecordCommandRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long RealTimeRecordCommandRequest::getOwnerId() const { + return ownerId_; } -std::string RealTimeRecordCommandRequest::getCommand()const -{ - return command_; +void RealTimeRecordCommandRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void RealTimeRecordCommandRequest::setCommand(const std::string& command) -{ - command_ = command; - setParameter("Command", command); +std::string RealTimeRecordCommandRequest::getCommand() const { + return command_; +} + +void RealTimeRecordCommandRequest::setCommand(const std::string &command) { + command_ = command; + setParameter(std::string("Command"), command); } diff --git a/live/src/model/RealTimeSnapshotCommandRequest.cc b/live/src/model/RealTimeSnapshotCommandRequest.cc index 699617616..879dd4098 100644 --- a/live/src/model/RealTimeSnapshotCommandRequest.cc +++ b/live/src/model/RealTimeSnapshotCommandRequest.cc @@ -1,106 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::RealTimeSnapshotCommandRequest; - -RealTimeSnapshotCommandRequest::RealTimeSnapshotCommandRequest() : - RpcServiceRequest("live", "2016-11-01", "RealTimeSnapshotCommand") -{ - setMethod(HttpRequest::Method::Post); -} - -RealTimeSnapshotCommandRequest::~RealTimeSnapshotCommandRequest() -{} - -int RealTimeSnapshotCommandRequest::getMode()const -{ - return mode_; + */ + +#include + +using AlibabaCloud::Live::Model::RealTimeSnapshotCommandRequest; + +RealTimeSnapshotCommandRequest::RealTimeSnapshotCommandRequest() + : RpcServiceRequest("live", "2016-11-01", "RealTimeSnapshotCommand") { + setMethod(HttpRequest::Method::Post); } -void RealTimeSnapshotCommandRequest::setMode(int mode) -{ - mode_ = mode; - setParameter("Mode", std::to_string(mode)); +RealTimeSnapshotCommandRequest::~RealTimeSnapshotCommandRequest() {} + +int RealTimeSnapshotCommandRequest::getSource() const { + return source_; } -std::string RealTimeSnapshotCommandRequest::getAppName()const -{ - return appName_; +void RealTimeSnapshotCommandRequest::setSource(int source) { + source_ = source; + setParameter(std::string("Source"), std::to_string(source)); } -void RealTimeSnapshotCommandRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +int RealTimeSnapshotCommandRequest::getMode() const { + return mode_; } -std::string RealTimeSnapshotCommandRequest::getStreamName()const -{ - return streamName_; +void RealTimeSnapshotCommandRequest::setMode(int mode) { + mode_ = mode; + setParameter(std::string("Mode"), std::to_string(mode)); } -void RealTimeSnapshotCommandRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string RealTimeSnapshotCommandRequest::getAppName() const { + return appName_; } -std::string RealTimeSnapshotCommandRequest::getDomainName()const -{ - return domainName_; +void RealTimeSnapshotCommandRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void RealTimeSnapshotCommandRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string RealTimeSnapshotCommandRequest::getStreamName() const { + return streamName_; } -long RealTimeSnapshotCommandRequest::getOwnerId()const -{ - return ownerId_; +void RealTimeSnapshotCommandRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void RealTimeSnapshotCommandRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string RealTimeSnapshotCommandRequest::getDomainName() const { + return domainName_; } -std::string RealTimeSnapshotCommandRequest::getCommand()const -{ - return command_; +void RealTimeSnapshotCommandRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void RealTimeSnapshotCommandRequest::setCommand(const std::string& command) -{ - command_ = command; - setParameter("Command", command); +long RealTimeSnapshotCommandRequest::getOwnerId() const { + return ownerId_; } -int RealTimeSnapshotCommandRequest::getInterval()const -{ - return interval_; +void RealTimeSnapshotCommandRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void RealTimeSnapshotCommandRequest::setInterval(int interval) -{ - interval_ = interval; - setParameter("Interval", std::to_string(interval)); +std::string RealTimeSnapshotCommandRequest::getCommand() const { + return command_; +} + +void RealTimeSnapshotCommandRequest::setCommand(const std::string &command) { + command_ = command; + setParameter(std::string("Command"), command); +} + +int RealTimeSnapshotCommandRequest::getInterval() const { + return interval_; +} + +void RealTimeSnapshotCommandRequest::setInterval(int interval) { + interval_ = interval; + setParameter(std::string("Interval"), std::to_string(interval)); } diff --git a/live/src/model/RemoveShowFromShowListRequest.cc b/live/src/model/RemoveShowFromShowListRequest.cc index 111ece17f..d113cb474 100644 --- a/live/src/model/RemoveShowFromShowListRequest.cc +++ b/live/src/model/RemoveShowFromShowListRequest.cc @@ -1,62 +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::RemoveShowFromShowListRequest; - -RemoveShowFromShowListRequest::RemoveShowFromShowListRequest() : - RpcServiceRequest("live", "2016-11-01", "RemoveShowFromShowList") -{ - setMethod(HttpRequest::Method::Post); -} - -RemoveShowFromShowListRequest::~RemoveShowFromShowListRequest() -{} - -std::string RemoveShowFromShowListRequest::getCasterId()const -{ - return casterId_; + */ + +#include + +using AlibabaCloud::Live::Model::RemoveShowFromShowListRequest; + +RemoveShowFromShowListRequest::RemoveShowFromShowListRequest() + : RpcServiceRequest("live", "2016-11-01", "RemoveShowFromShowList") { + setMethod(HttpRequest::Method::Post); } -void RemoveShowFromShowListRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +RemoveShowFromShowListRequest::~RemoveShowFromShowListRequest() {} + +std::string RemoveShowFromShowListRequest::getCasterId() const { + return casterId_; } -long RemoveShowFromShowListRequest::getOwnerId()const -{ - return ownerId_; +void RemoveShowFromShowListRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void RemoveShowFromShowListRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long RemoveShowFromShowListRequest::getOwnerId() const { + return ownerId_; } -std::string RemoveShowFromShowListRequest::getShowId()const -{ - return showId_; +void RemoveShowFromShowListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void RemoveShowFromShowListRequest::setShowId(const std::string& showId) -{ - showId_ = showId; - setParameter("ShowId", showId); +std::string RemoveShowFromShowListRequest::getShowId() const { + return showId_; +} + +void RemoveShowFromShowListRequest::setShowId(const std::string &showId) { + showId_ = showId; + setParameter(std::string("ShowId"), showId); } diff --git a/live/src/model/ResumeLiveStreamRequest.cc b/live/src/model/ResumeLiveStreamRequest.cc index 2d9cf800d..5ad4cf89b 100644 --- a/live/src/model/ResumeLiveStreamRequest.cc +++ b/live/src/model/ResumeLiveStreamRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ResumeLiveStreamRequest; - -ResumeLiveStreamRequest::ResumeLiveStreamRequest() : - RpcServiceRequest("live", "2016-11-01", "ResumeLiveStream") -{ - setMethod(HttpRequest::Method::Post); -} - -ResumeLiveStreamRequest::~ResumeLiveStreamRequest() -{} - -std::string ResumeLiveStreamRequest::getAppName()const -{ - return appName_; + */ + +#include + +using AlibabaCloud::Live::Model::ResumeLiveStreamRequest; + +ResumeLiveStreamRequest::ResumeLiveStreamRequest() + : RpcServiceRequest("live", "2016-11-01", "ResumeLiveStream") { + setMethod(HttpRequest::Method::Post); } -void ResumeLiveStreamRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +ResumeLiveStreamRequest::~ResumeLiveStreamRequest() {} + +std::string ResumeLiveStreamRequest::getAppName() const { + return appName_; } -std::string ResumeLiveStreamRequest::getSecurityToken()const -{ - return securityToken_; +void ResumeLiveStreamRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void ResumeLiveStreamRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string ResumeLiveStreamRequest::getSecurityToken() const { + return securityToken_; } -std::string ResumeLiveStreamRequest::getStreamName()const -{ - return streamName_; +void ResumeLiveStreamRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void ResumeLiveStreamRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string ResumeLiveStreamRequest::getStreamName() const { + return streamName_; } -std::string ResumeLiveStreamRequest::getLiveStreamType()const -{ - return liveStreamType_; +void ResumeLiveStreamRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void ResumeLiveStreamRequest::setLiveStreamType(const std::string& liveStreamType) -{ - liveStreamType_ = liveStreamType; - setParameter("LiveStreamType", liveStreamType); +std::string ResumeLiveStreamRequest::getLiveStreamType() const { + return liveStreamType_; } -std::string ResumeLiveStreamRequest::getDomainName()const -{ - return domainName_; +void ResumeLiveStreamRequest::setLiveStreamType(const std::string &liveStreamType) { + liveStreamType_ = liveStreamType; + setParameter(std::string("LiveStreamType"), liveStreamType); } -void ResumeLiveStreamRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string ResumeLiveStreamRequest::getDomainName() const { + return domainName_; } -long ResumeLiveStreamRequest::getOwnerId()const -{ - return ownerId_; +void ResumeLiveStreamRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void ResumeLiveStreamRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long ResumeLiveStreamRequest::getOwnerId() const { + return ownerId_; +} + +void ResumeLiveStreamRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/RollbackLiveStagingConfigRequest.cc b/live/src/model/RollbackLiveStagingConfigRequest.cc index 57bd609ee..cd87280b3 100644 --- a/live/src/model/RollbackLiveStagingConfigRequest.cc +++ b/live/src/model/RollbackLiveStagingConfigRequest.cc @@ -1,62 +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::RollbackLiveStagingConfigRequest; - -RollbackLiveStagingConfigRequest::RollbackLiveStagingConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "RollbackLiveStagingConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -RollbackLiveStagingConfigRequest::~RollbackLiveStagingConfigRequest() -{} - -std::string RollbackLiveStagingConfigRequest::getFunctionName()const -{ - return functionName_; + */ + +#include + +using AlibabaCloud::Live::Model::RollbackLiveStagingConfigRequest; + +RollbackLiveStagingConfigRequest::RollbackLiveStagingConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "RollbackLiveStagingConfig") { + setMethod(HttpRequest::Method::Post); } -void RollbackLiveStagingConfigRequest::setFunctionName(const std::string& functionName) -{ - functionName_ = functionName; - setParameter("FunctionName", functionName); +RollbackLiveStagingConfigRequest::~RollbackLiveStagingConfigRequest() {} + +std::string RollbackLiveStagingConfigRequest::getFunctionName() const { + return functionName_; } -std::string RollbackLiveStagingConfigRequest::getDomainName()const -{ - return domainName_; +void RollbackLiveStagingConfigRequest::setFunctionName(const std::string &functionName) { + functionName_ = functionName; + setParameter(std::string("FunctionName"), functionName); } -void RollbackLiveStagingConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string RollbackLiveStagingConfigRequest::getDomainName() const { + return domainName_; } -long RollbackLiveStagingConfigRequest::getOwnerId()const -{ - return ownerId_; +void RollbackLiveStagingConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void RollbackLiveStagingConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long RollbackLiveStagingConfigRequest::getOwnerId() const { + return ownerId_; +} + +void RollbackLiveStagingConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/SendMessageToGroupRequest.cc b/live/src/model/SendMessageToGroupRequest.cc new file mode 100644 index 000000000..d84aae4af --- /dev/null +++ b/live/src/model/SendMessageToGroupRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::SendMessageToGroupRequest; + +SendMessageToGroupRequest::SendMessageToGroupRequest() + : RpcServiceRequest("live", "2016-11-01", "SendMessageToGroup") { + setMethod(HttpRequest::Method::Post); +} + +SendMessageToGroupRequest::~SendMessageToGroupRequest() {} + +std::string SendMessageToGroupRequest::getData() const { + return data_; +} + +void SendMessageToGroupRequest::setData(const std::string &data) { + data_ = data; + setBodyParameter(std::string("Data"), data); +} + +std::string SendMessageToGroupRequest::getGroupId() const { + return groupId_; +} + +void SendMessageToGroupRequest::setGroupId(const std::string &groupId) { + groupId_ = groupId; + setBodyParameter(std::string("GroupId"), groupId); +} + +int SendMessageToGroupRequest::getType() const { + return type_; +} + +void SendMessageToGroupRequest::setType(int type) { + type_ = type; + setBodyParameter(std::string("Type"), std::to_string(type)); +} + +std::string SendMessageToGroupRequest::getAppId() const { + return appId_; +} + +void SendMessageToGroupRequest::setAppId(const std::string &appId) { + appId_ = appId; + setBodyParameter(std::string("AppId"), appId); +} + diff --git a/live/src/model/SendMessageToGroupResult.cc b/live/src/model/SendMessageToGroupResult.cc new file mode 100644 index 000000000..f4b28c251 --- /dev/null +++ b/live/src/model/SendMessageToGroupResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +SendMessageToGroupResult::SendMessageToGroupResult() : + ServiceResult() +{} + +SendMessageToGroupResult::SendMessageToGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SendMessageToGroupResult::~SendMessageToGroupResult() +{} + +void SendMessageToGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["MessageId"].isNull()) + result_.messageId = resultNode["MessageId"].asString(); + +} + +SendMessageToGroupResult::Result SendMessageToGroupResult::getResult()const +{ + return result_; +} + diff --git a/live/src/model/SendMessageToGroupUsersRequest.cc b/live/src/model/SendMessageToGroupUsersRequest.cc new file mode 100644 index 000000000..c3c64ef28 --- /dev/null +++ b/live/src/model/SendMessageToGroupUsersRequest.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::SendMessageToGroupUsersRequest; + +SendMessageToGroupUsersRequest::SendMessageToGroupUsersRequest() + : RpcServiceRequest("live", "2016-11-01", "SendMessageToGroupUsers") { + setMethod(HttpRequest::Method::Post); +} + +SendMessageToGroupUsersRequest::~SendMessageToGroupUsersRequest() {} + +std::vector SendMessageToGroupUsersRequest::getReceiverIdList() const { + return receiverIdList_; +} + +void SendMessageToGroupUsersRequest::setReceiverIdList(const std::vector &receiverIdList) { + receiverIdList_ = receiverIdList; + for(int dep1 = 0; dep1 != receiverIdList.size(); dep1++) { + setBodyParameter(std::string("ReceiverIdList") + "." + std::to_string(dep1 + 1), receiverIdList[dep1]); + } +} + +std::string SendMessageToGroupUsersRequest::getGroupIdcopy() const { + return groupIdcopy_; +} + +void SendMessageToGroupUsersRequest::setGroupIdcopy(const std::string &groupIdcopy) { + groupIdcopy_ = groupIdcopy; + setBodyParameter(std::string("GroupId-copy"), groupIdcopy); +} + +std::string SendMessageToGroupUsersRequest::getGroupId() const { + return groupId_; +} + +void SendMessageToGroupUsersRequest::setGroupId(const std::string &groupId) { + groupId_ = groupId; + setBodyParameter(std::string("GroupId"), groupId); +} + +int SendMessageToGroupUsersRequest::getType() const { + return type_; +} + +void SendMessageToGroupUsersRequest::setType(int type) { + type_ = type; + setBodyParameter(std::string("Type"), std::to_string(type)); +} + diff --git a/live/src/model/SendMessageToGroupUsersResult.cc b/live/src/model/SendMessageToGroupUsersResult.cc new file mode 100644 index 000000000..42c3f2cca --- /dev/null +++ b/live/src/model/SendMessageToGroupUsersResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +SendMessageToGroupUsersResult::SendMessageToGroupUsersResult() : + ServiceResult() +{} + +SendMessageToGroupUsersResult::SendMessageToGroupUsersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SendMessageToGroupUsersResult::~SendMessageToGroupUsersResult() +{} + +void SendMessageToGroupUsersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto resultNode = value["Result"]; + if(!resultNode["MessageId"].isNull()) + result_.messageId = resultNode["MessageId"].asString(); + +} + +SendMessageToGroupUsersResult::Result SendMessageToGroupUsersResult::getResult()const +{ + return result_; +} + diff --git a/live/src/model/SendRoomNotificationRequest.cc b/live/src/model/SendRoomNotificationRequest.cc index 1c56da31e..815aeb088 100644 --- a/live/src/model/SendRoomNotificationRequest.cc +++ b/live/src/model/SendRoomNotificationRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::SendRoomNotificationRequest; - -SendRoomNotificationRequest::SendRoomNotificationRequest() : - RpcServiceRequest("live", "2016-11-01", "SendRoomNotification") -{ - setMethod(HttpRequest::Method::Post); -} - -SendRoomNotificationRequest::~SendRoomNotificationRequest() -{} - -std::string SendRoomNotificationRequest::getData()const -{ - return data_; + */ + +#include + +using AlibabaCloud::Live::Model::SendRoomNotificationRequest; + +SendRoomNotificationRequest::SendRoomNotificationRequest() + : RpcServiceRequest("live", "2016-11-01", "SendRoomNotification") { + setMethod(HttpRequest::Method::Post); } -void SendRoomNotificationRequest::setData(const std::string& data) -{ - data_ = data; - setParameter("Data", data); +SendRoomNotificationRequest::~SendRoomNotificationRequest() {} + +std::string SendRoomNotificationRequest::getData() const { + return data_; } -std::string SendRoomNotificationRequest::getAppUid()const -{ - return appUid_; +void SendRoomNotificationRequest::setData(const std::string &data) { + data_ = data; + setParameter(std::string("Data"), data); } -void SendRoomNotificationRequest::setAppUid(const std::string& appUid) -{ - appUid_ = appUid; - setParameter("AppUid", appUid); +std::string SendRoomNotificationRequest::getAppUid() const { + return appUid_; } -long SendRoomNotificationRequest::getOwnerId()const -{ - return ownerId_; +void SendRoomNotificationRequest::setAppUid(const std::string &appUid) { + appUid_ = appUid; + setParameter(std::string("AppUid"), appUid); } -void SendRoomNotificationRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long SendRoomNotificationRequest::getOwnerId() const { + return ownerId_; } -int SendRoomNotificationRequest::getPriority()const -{ - return priority_; +void SendRoomNotificationRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void SendRoomNotificationRequest::setPriority(int priority) -{ - priority_ = priority; - setParameter("Priority", std::to_string(priority)); +int SendRoomNotificationRequest::getPriority() const { + return priority_; } -std::string SendRoomNotificationRequest::getRoomId()const -{ - return roomId_; +void SendRoomNotificationRequest::setPriority(int priority) { + priority_ = priority; + setParameter(std::string("Priority"), std::to_string(priority)); } -void SendRoomNotificationRequest::setRoomId(const std::string& roomId) -{ - roomId_ = roomId; - setParameter("RoomId", roomId); +std::string SendRoomNotificationRequest::getRoomId() const { + return roomId_; } -std::string SendRoomNotificationRequest::getAppId()const -{ - return appId_; +void SendRoomNotificationRequest::setRoomId(const std::string &roomId) { + roomId_ = roomId; + setParameter(std::string("RoomId"), roomId); } -void SendRoomNotificationRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string SendRoomNotificationRequest::getAppId() const { + return appId_; +} + +void SendRoomNotificationRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/live/src/model/SendRoomUserNotificationRequest.cc b/live/src/model/SendRoomUserNotificationRequest.cc index d0e9c0927..8fc40da4c 100644 --- a/live/src/model/SendRoomUserNotificationRequest.cc +++ b/live/src/model/SendRoomUserNotificationRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::SendRoomUserNotificationRequest; - -SendRoomUserNotificationRequest::SendRoomUserNotificationRequest() : - RpcServiceRequest("live", "2016-11-01", "SendRoomUserNotification") -{ - setMethod(HttpRequest::Method::Post); -} - -SendRoomUserNotificationRequest::~SendRoomUserNotificationRequest() -{} - -std::string SendRoomUserNotificationRequest::getData()const -{ - return data_; + */ + +#include + +using AlibabaCloud::Live::Model::SendRoomUserNotificationRequest; + +SendRoomUserNotificationRequest::SendRoomUserNotificationRequest() + : RpcServiceRequest("live", "2016-11-01", "SendRoomUserNotification") { + setMethod(HttpRequest::Method::Post); } -void SendRoomUserNotificationRequest::setData(const std::string& data) -{ - data_ = data; - setParameter("Data", data); +SendRoomUserNotificationRequest::~SendRoomUserNotificationRequest() {} + +std::string SendRoomUserNotificationRequest::getData() const { + return data_; } -std::string SendRoomUserNotificationRequest::getToAppUid()const -{ - return toAppUid_; +void SendRoomUserNotificationRequest::setData(const std::string &data) { + data_ = data; + setParameter(std::string("Data"), data); } -void SendRoomUserNotificationRequest::setToAppUid(const std::string& toAppUid) -{ - toAppUid_ = toAppUid; - setParameter("ToAppUid", toAppUid); +std::string SendRoomUserNotificationRequest::getToAppUid() const { + return toAppUid_; } -std::string SendRoomUserNotificationRequest::getAppUid()const -{ - return appUid_; +void SendRoomUserNotificationRequest::setToAppUid(const std::string &toAppUid) { + toAppUid_ = toAppUid; + setParameter(std::string("ToAppUid"), toAppUid); } -void SendRoomUserNotificationRequest::setAppUid(const std::string& appUid) -{ - appUid_ = appUid; - setParameter("AppUid", appUid); +std::string SendRoomUserNotificationRequest::getAppUid() const { + return appUid_; } -long SendRoomUserNotificationRequest::getOwnerId()const -{ - return ownerId_; +void SendRoomUserNotificationRequest::setAppUid(const std::string &appUid) { + appUid_ = appUid; + setParameter(std::string("AppUid"), appUid); } -void SendRoomUserNotificationRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long SendRoomUserNotificationRequest::getOwnerId() const { + return ownerId_; } -int SendRoomUserNotificationRequest::getPriority()const -{ - return priority_; +void SendRoomUserNotificationRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void SendRoomUserNotificationRequest::setPriority(int priority) -{ - priority_ = priority; - setParameter("Priority", std::to_string(priority)); +int SendRoomUserNotificationRequest::getPriority() const { + return priority_; } -std::string SendRoomUserNotificationRequest::getRoomId()const -{ - return roomId_; +void SendRoomUserNotificationRequest::setPriority(int priority) { + priority_ = priority; + setParameter(std::string("Priority"), std::to_string(priority)); } -void SendRoomUserNotificationRequest::setRoomId(const std::string& roomId) -{ - roomId_ = roomId; - setParameter("RoomId", roomId); +std::string SendRoomUserNotificationRequest::getRoomId() const { + return roomId_; } -std::string SendRoomUserNotificationRequest::getAppId()const -{ - return appId_; +void SendRoomUserNotificationRequest::setRoomId(const std::string &roomId) { + roomId_ = roomId; + setParameter(std::string("RoomId"), roomId); } -void SendRoomUserNotificationRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string SendRoomUserNotificationRequest::getAppId() const { + return appId_; +} + +void SendRoomUserNotificationRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/live/src/model/SetCasterChannelRequest.cc b/live/src/model/SetCasterChannelRequest.cc index 202f6e935..487d14557 100644 --- a/live/src/model/SetCasterChannelRequest.cc +++ b/live/src/model/SetCasterChannelRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::SetCasterChannelRequest; - -SetCasterChannelRequest::SetCasterChannelRequest() : - RpcServiceRequest("live", "2016-11-01", "SetCasterChannel") -{ - setMethod(HttpRequest::Method::Post); -} - -SetCasterChannelRequest::~SetCasterChannelRequest() -{} - -std::string SetCasterChannelRequest::getFaceBeauty()const -{ - return faceBeauty_; + */ + +#include + +using AlibabaCloud::Live::Model::SetCasterChannelRequest; + +SetCasterChannelRequest::SetCasterChannelRequest() + : RpcServiceRequest("live", "2016-11-01", "SetCasterChannel") { + setMethod(HttpRequest::Method::Post); } -void SetCasterChannelRequest::setFaceBeauty(const std::string& faceBeauty) -{ - faceBeauty_ = faceBeauty; - setParameter("FaceBeauty", faceBeauty); +SetCasterChannelRequest::~SetCasterChannelRequest() {} + +std::string SetCasterChannelRequest::getFaceBeauty() const { + return faceBeauty_; } -int SetCasterChannelRequest::getSeekOffset()const -{ - return seekOffset_; +void SetCasterChannelRequest::setFaceBeauty(const std::string &faceBeauty) { + faceBeauty_ = faceBeauty; + setParameter(std::string("FaceBeauty"), faceBeauty); } -void SetCasterChannelRequest::setSeekOffset(int seekOffset) -{ - seekOffset_ = seekOffset; - setParameter("SeekOffset", std::to_string(seekOffset)); +int SetCasterChannelRequest::getSeekOffset() const { + return seekOffset_; } -int SetCasterChannelRequest::getPlayStatus()const -{ - return playStatus_; +void SetCasterChannelRequest::setSeekOffset(int seekOffset) { + seekOffset_ = seekOffset; + setParameter(std::string("SeekOffset"), std::to_string(seekOffset)); } -void SetCasterChannelRequest::setPlayStatus(int playStatus) -{ - playStatus_ = playStatus; - setParameter("PlayStatus", std::to_string(playStatus)); +int SetCasterChannelRequest::getPlayStatus() const { + return playStatus_; } -std::string SetCasterChannelRequest::getResourceId()const -{ - return resourceId_; +void SetCasterChannelRequest::setPlayStatus(int playStatus) { + playStatus_ = playStatus; + setParameter(std::string("PlayStatus"), std::to_string(playStatus)); } -void SetCasterChannelRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setParameter("ResourceId", resourceId); +std::string SetCasterChannelRequest::getResourceId() const { + return resourceId_; } -std::string SetCasterChannelRequest::getCasterId()const -{ - return casterId_; +void SetCasterChannelRequest::setResourceId(const std::string &resourceId) { + resourceId_ = resourceId; + setParameter(std::string("ResourceId"), resourceId); } -void SetCasterChannelRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string SetCasterChannelRequest::getCasterId() const { + return casterId_; } -long SetCasterChannelRequest::getOwnerId()const -{ - return ownerId_; +void SetCasterChannelRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void SetCasterChannelRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long SetCasterChannelRequest::getOwnerId() const { + return ownerId_; } -int SetCasterChannelRequest::getReloadFlag()const -{ - return reloadFlag_; +void SetCasterChannelRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void SetCasterChannelRequest::setReloadFlag(int reloadFlag) -{ - reloadFlag_ = reloadFlag; - setParameter("ReloadFlag", std::to_string(reloadFlag)); +int SetCasterChannelRequest::getReloadFlag() const { + return reloadFlag_; } -std::string SetCasterChannelRequest::getChannelId()const -{ - return channelId_; +void SetCasterChannelRequest::setReloadFlag(int reloadFlag) { + reloadFlag_ = reloadFlag; + setParameter(std::string("ReloadFlag"), std::to_string(reloadFlag)); } -void SetCasterChannelRequest::setChannelId(const std::string& channelId) -{ - channelId_ = channelId; - setParameter("ChannelId", channelId); +std::string SetCasterChannelRequest::getChannelId() const { + return channelId_; +} + +void SetCasterChannelRequest::setChannelId(const std::string &channelId) { + channelId_ = channelId; + setParameter(std::string("ChannelId"), channelId); } diff --git a/live/src/model/SetCasterConfigRequest.cc b/live/src/model/SetCasterConfigRequest.cc index bc03a3c38..f62aeb285 100644 --- a/live/src/model/SetCasterConfigRequest.cc +++ b/live/src/model/SetCasterConfigRequest.cc @@ -1,194 +1,171 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::SetCasterConfigRequest; - -SetCasterConfigRequest::SetCasterConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "SetCasterConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetCasterConfigRequest::~SetCasterConfigRequest() -{} - -int SetCasterConfigRequest::getChannelEnable()const -{ - return channelEnable_; + */ + +#include + +using AlibabaCloud::Live::Model::SetCasterConfigRequest; + +SetCasterConfigRequest::SetCasterConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "SetCasterConfig") { + setMethod(HttpRequest::Method::Post); } -void SetCasterConfigRequest::setChannelEnable(int channelEnable) -{ - channelEnable_ = channelEnable; - setParameter("ChannelEnable", std::to_string(channelEnable)); +SetCasterConfigRequest::~SetCasterConfigRequest() {} + +int SetCasterConfigRequest::getChannelEnable() const { + return channelEnable_; } -int SetCasterConfigRequest::getProgramEffect()const -{ - return programEffect_; +void SetCasterConfigRequest::setChannelEnable(int channelEnable) { + channelEnable_ = channelEnable; + setParameter(std::string("ChannelEnable"), std::to_string(channelEnable)); } -void SetCasterConfigRequest::setProgramEffect(int programEffect) -{ - programEffect_ = programEffect; - setParameter("ProgramEffect", std::to_string(programEffect)); +int SetCasterConfigRequest::getProgramEffect() const { + return programEffect_; } -std::string SetCasterConfigRequest::getProgramName()const -{ - return programName_; +void SetCasterConfigRequest::setProgramEffect(int programEffect) { + programEffect_ = programEffect; + setParameter(std::string("ProgramEffect"), std::to_string(programEffect)); } -void SetCasterConfigRequest::setProgramName(const std::string& programName) -{ - programName_ = programName; - setParameter("ProgramName", programName); +std::string SetCasterConfigRequest::getProgramName() const { + return programName_; } -std::string SetCasterConfigRequest::getRecordConfig()const -{ - return recordConfig_; +void SetCasterConfigRequest::setProgramName(const std::string &programName) { + programName_ = programName; + setParameter(std::string("ProgramName"), programName); } -void SetCasterConfigRequest::setRecordConfig(const std::string& recordConfig) -{ - recordConfig_ = recordConfig; - setParameter("RecordConfig", recordConfig); +std::string SetCasterConfigRequest::getRecordConfig() const { + return recordConfig_; } -std::string SetCasterConfigRequest::getUrgentMaterialId()const -{ - return urgentMaterialId_; +void SetCasterConfigRequest::setRecordConfig(const std::string &recordConfig) { + recordConfig_ = recordConfig; + setParameter(std::string("RecordConfig"), recordConfig); } -void SetCasterConfigRequest::setUrgentMaterialId(const std::string& urgentMaterialId) -{ - urgentMaterialId_ = urgentMaterialId; - setParameter("UrgentMaterialId", urgentMaterialId); +std::string SetCasterConfigRequest::getUrgentMaterialId() const { + return urgentMaterialId_; } -std::string SetCasterConfigRequest::getTranscodeConfig()const -{ - return transcodeConfig_; +void SetCasterConfigRequest::setUrgentMaterialId(const std::string &urgentMaterialId) { + urgentMaterialId_ = urgentMaterialId; + setParameter(std::string("UrgentMaterialId"), urgentMaterialId); } -void SetCasterConfigRequest::setTranscodeConfig(const std::string& transcodeConfig) -{ - transcodeConfig_ = transcodeConfig; - setParameter("TranscodeConfig", transcodeConfig); +std::string SetCasterConfigRequest::getTranscodeConfig() const { + return transcodeConfig_; } -std::string SetCasterConfigRequest::getCasterName()const -{ - return casterName_; +void SetCasterConfigRequest::setTranscodeConfig(const std::string &transcodeConfig) { + transcodeConfig_ = transcodeConfig; + setParameter(std::string("TranscodeConfig"), transcodeConfig); } -void SetCasterConfigRequest::setCasterName(const std::string& casterName) -{ - casterName_ = casterName; - setParameter("CasterName", casterName); +std::string SetCasterConfigRequest::getCasterName() const { + return casterName_; } -std::string SetCasterConfigRequest::getSideOutputUrl()const -{ - return sideOutputUrl_; +void SetCasterConfigRequest::setCasterName(const std::string &casterName) { + casterName_ = casterName; + setParameter(std::string("CasterName"), casterName); } -void SetCasterConfigRequest::setSideOutputUrl(const std::string& sideOutputUrl) -{ - sideOutputUrl_ = sideOutputUrl; - setParameter("SideOutputUrl", sideOutputUrl); +std::string SetCasterConfigRequest::getUrgentLiveStreamUrl() const { + return urgentLiveStreamUrl_; } -std::string SetCasterConfigRequest::getSyncGroupsConfig()const -{ - return syncGroupsConfig_; +void SetCasterConfigRequest::setUrgentLiveStreamUrl(const std::string &urgentLiveStreamUrl) { + urgentLiveStreamUrl_ = urgentLiveStreamUrl; + setParameter(std::string("UrgentLiveStreamUrl"), urgentLiveStreamUrl); } -void SetCasterConfigRequest::setSyncGroupsConfig(const std::string& syncGroupsConfig) -{ - syncGroupsConfig_ = syncGroupsConfig; - setParameter("SyncGroupsConfig", syncGroupsConfig); +std::string SetCasterConfigRequest::getSideOutputUrl() const { + return sideOutputUrl_; } -std::string SetCasterConfigRequest::getSideOutputUrlList()const -{ - return sideOutputUrlList_; +void SetCasterConfigRequest::setSideOutputUrl(const std::string &sideOutputUrl) { + sideOutputUrl_ = sideOutputUrl; + setParameter(std::string("SideOutputUrl"), sideOutputUrl); } -void SetCasterConfigRequest::setSideOutputUrlList(const std::string& sideOutputUrlList) -{ - sideOutputUrlList_ = sideOutputUrlList; - setParameter("SideOutputUrlList", sideOutputUrlList); +std::string SetCasterConfigRequest::getSyncGroupsConfig() const { + return syncGroupsConfig_; } -std::string SetCasterConfigRequest::getCasterId()const -{ - return casterId_; +void SetCasterConfigRequest::setSyncGroupsConfig(const std::string &syncGroupsConfig) { + syncGroupsConfig_ = syncGroupsConfig; + setParameter(std::string("SyncGroupsConfig"), syncGroupsConfig); } -void SetCasterConfigRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string SetCasterConfigRequest::getSideOutputUrlList() const { + return sideOutputUrlList_; } -std::string SetCasterConfigRequest::getDomainName()const -{ - return domainName_; +void SetCasterConfigRequest::setSideOutputUrlList(const std::string &sideOutputUrlList) { + sideOutputUrlList_ = sideOutputUrlList; + setParameter(std::string("SideOutputUrlList"), sideOutputUrlList); } -void SetCasterConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string SetCasterConfigRequest::getCasterId() const { + return casterId_; } -long SetCasterConfigRequest::getOwnerId()const -{ - return ownerId_; +void SetCasterConfigRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void SetCasterConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +std::string SetCasterConfigRequest::getDomainName() const { + return domainName_; } -float SetCasterConfigRequest::getDelay()const -{ - return delay_; +void SetCasterConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void SetCasterConfigRequest::setDelay(float delay) -{ - delay_ = delay; - setParameter("Delay", std::to_string(delay)); +long SetCasterConfigRequest::getOwnerId() const { + return ownerId_; } -std::string SetCasterConfigRequest::getCallbackUrl()const -{ - return callbackUrl_; +void SetCasterConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void SetCasterConfigRequest::setCallbackUrl(const std::string& callbackUrl) -{ - callbackUrl_ = callbackUrl; - setParameter("CallbackUrl", callbackUrl); +float SetCasterConfigRequest::getDelay() const { + return delay_; +} + +void SetCasterConfigRequest::setDelay(float delay) { + delay_ = delay; + setParameter(std::string("Delay"), std::to_string(delay)); +} + +std::string SetCasterConfigRequest::getCallbackUrl() const { + return callbackUrl_; +} + +void SetCasterConfigRequest::setCallbackUrl(const std::string &callbackUrl) { + callbackUrl_ = callbackUrl; + setParameter(std::string("CallbackUrl"), callbackUrl); } diff --git a/live/src/model/SetCasterSceneConfigRequest.cc b/live/src/model/SetCasterSceneConfigRequest.cc index 2d6b33f14..8fdb75b4f 100644 --- a/live/src/model/SetCasterSceneConfigRequest.cc +++ b/live/src/model/SetCasterSceneConfigRequest.cc @@ -1,86 +1,71 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::SetCasterSceneConfigRequest; - -SetCasterSceneConfigRequest::SetCasterSceneConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "SetCasterSceneConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetCasterSceneConfigRequest::~SetCasterSceneConfigRequest() -{} - -std::string SetCasterSceneConfigRequest::getLayoutId()const -{ - return layoutId_; + */ + +#include + +using AlibabaCloud::Live::Model::SetCasterSceneConfigRequest; + +SetCasterSceneConfigRequest::SetCasterSceneConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "SetCasterSceneConfig") { + setMethod(HttpRequest::Method::Post); } -void SetCasterSceneConfigRequest::setLayoutId(const std::string& layoutId) -{ - layoutId_ = layoutId; - setParameter("LayoutId", layoutId); +SetCasterSceneConfigRequest::~SetCasterSceneConfigRequest() {} + +std::string SetCasterSceneConfigRequest::getLayoutId() const { + return layoutId_; } -std::vector SetCasterSceneConfigRequest::getComponentId()const -{ - return componentId_; +void SetCasterSceneConfigRequest::setLayoutId(const std::string &layoutId) { + layoutId_ = layoutId; + setParameter(std::string("LayoutId"), layoutId); } -void SetCasterSceneConfigRequest::setComponentId(const std::vector& componentId) -{ - componentId_ = componentId; - for(int dep1 = 0; dep1!= componentId.size(); dep1++) { - setParameter("ComponentId."+ std::to_string(dep1), componentId.at(dep1)); - } +std::vector SetCasterSceneConfigRequest::getComponentId() const { + return componentId_; } -std::string SetCasterSceneConfigRequest::getCasterId()const -{ - return casterId_; +void SetCasterSceneConfigRequest::setComponentId(const std::vector &componentId) { + componentId_ = componentId; } -void SetCasterSceneConfigRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string SetCasterSceneConfigRequest::getCasterId() const { + return casterId_; } -long SetCasterSceneConfigRequest::getOwnerId()const -{ - return ownerId_; +void SetCasterSceneConfigRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void SetCasterSceneConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long SetCasterSceneConfigRequest::getOwnerId() const { + return ownerId_; } -std::string SetCasterSceneConfigRequest::getSceneId()const -{ - return sceneId_; +void SetCasterSceneConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void SetCasterSceneConfigRequest::setSceneId(const std::string& sceneId) -{ - sceneId_ = sceneId; - setParameter("SceneId", sceneId); +std::string SetCasterSceneConfigRequest::getSceneId() const { + return sceneId_; +} + +void SetCasterSceneConfigRequest::setSceneId(const std::string &sceneId) { + sceneId_ = sceneId; + setParameter(std::string("SceneId"), sceneId); } diff --git a/live/src/model/SetCasterSyncGroupRequest.cc b/live/src/model/SetCasterSyncGroupRequest.cc index 4bedf30f3..e901bbb34 100644 --- a/live/src/model/SetCasterSyncGroupRequest.cc +++ b/live/src/model/SetCasterSyncGroupRequest.cc @@ -1,74 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::SetCasterSyncGroupRequest; - -SetCasterSyncGroupRequest::SetCasterSyncGroupRequest() : - RpcServiceRequest("live", "2016-11-01", "SetCasterSyncGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -SetCasterSyncGroupRequest::~SetCasterSyncGroupRequest() -{} - -std::string SetCasterSyncGroupRequest::getCasterId()const -{ - return casterId_; + */ + +#include + +using AlibabaCloud::Live::Model::SetCasterSyncGroupRequest; + +SetCasterSyncGroupRequest::SetCasterSyncGroupRequest() + : RpcServiceRequest("live", "2016-11-01", "SetCasterSyncGroup") { + setMethod(HttpRequest::Method::Post); } -void SetCasterSyncGroupRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +SetCasterSyncGroupRequest::~SetCasterSyncGroupRequest() {} + +std::string SetCasterSyncGroupRequest::getCasterId() const { + return casterId_; } -long SetCasterSyncGroupRequest::getOwnerId()const -{ - return ownerId_; +void SetCasterSyncGroupRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void SetCasterSyncGroupRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long SetCasterSyncGroupRequest::getOwnerId() const { + return ownerId_; } -std::vector SetCasterSyncGroupRequest::getSyncGroup()const -{ - return syncGroup_; +void SetCasterSyncGroupRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -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 = "SyncGroup." + std::to_string(dep1 + 1); - setParameter(syncGroupObjStr + ".Mode", std::to_string(syncGroupObj.mode)); - setParameter(syncGroupObjStr + ".SyncDelayThreshold", std::to_string(syncGroupObj.syncDelayThreshold)); - setParameter(syncGroupObjStr + ".HostResourceId", syncGroupObj.hostResourceId); - for(int dep2 = 0; dep2!= syncGroupObj.resourceIds.size(); dep2++) { - setParameter(syncGroupObjStr + ".ResourceIds."+ std::to_string(dep2), syncGroupObj.resourceIds.at(dep2)); - } - for(int dep2 = 0; dep2!= syncGroupObj.syncOffsets.size(); dep2++) { - setParameter(syncGroupObjStr + ".SyncOffsets."+ std::to_string(dep2), std::to_string(syncGroupObj.syncOffsets.at(dep2))); - } - } +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 + ".SyncDelayThreshold", std::to_string(syncGroupObj.syncDelayThreshold)); + setParameter(syncGroupObjStr + ".Mode", std::to_string(syncGroupObj.mode)); + } } diff --git a/live/src/model/SetCasterTimedEventRequest.cc b/live/src/model/SetCasterTimedEventRequest.cc new file mode 100644 index 000000000..8c4cd437d --- /dev/null +++ b/live/src/model/SetCasterTimedEventRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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/SetLiveDomainSpecialConfigResult.cc b/live/src/model/SetCasterTimedEventResult.cc similarity index 70% rename from live/src/model/SetLiveDomainSpecialConfigResult.cc rename to live/src/model/SetCasterTimedEventResult.cc index 3e5c9cf17..c24eac70b 100644 --- a/live/src/model/SetLiveDomainSpecialConfigResult.cc +++ b/live/src/model/SetCasterTimedEventResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Live; using namespace AlibabaCloud::Live::Model; -SetLiveDomainSpecialConfigResult::SetLiveDomainSpecialConfigResult() : +SetCasterTimedEventResult::SetCasterTimedEventResult() : ServiceResult() {} -SetLiveDomainSpecialConfigResult::SetLiveDomainSpecialConfigResult(const std::string &payload) : +SetCasterTimedEventResult::SetCasterTimedEventResult(const std::string &payload) : ServiceResult() { parse(payload); } -SetLiveDomainSpecialConfigResult::~SetLiveDomainSpecialConfigResult() +SetCasterTimedEventResult::~SetCasterTimedEventResult() {} -void SetLiveDomainSpecialConfigResult::parse(const std::string &payload) +void SetCasterTimedEventResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; diff --git a/live/src/model/SetLiveDomainCertificateRequest.cc b/live/src/model/SetLiveDomainCertificateRequest.cc index ec04a9c6b..f79982e36 100644 --- a/live/src/model/SetLiveDomainCertificateRequest.cc +++ b/live/src/model/SetLiveDomainCertificateRequest.cc @@ -1,128 +1,108 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::SetLiveDomainCertificateRequest; - -SetLiveDomainCertificateRequest::SetLiveDomainCertificateRequest() : - RpcServiceRequest("live", "2016-11-01", "SetLiveDomainCertificate") -{ - setMethod(HttpRequest::Method::Post); -} - -SetLiveDomainCertificateRequest::~SetLiveDomainCertificateRequest() -{} - -std::string SetLiveDomainCertificateRequest::getSSLProtocol()const -{ - return sSLProtocol_; + */ + +#include + +using AlibabaCloud::Live::Model::SetLiveDomainCertificateRequest; + +SetLiveDomainCertificateRequest::SetLiveDomainCertificateRequest() + : RpcServiceRequest("live", "2016-11-01", "SetLiveDomainCertificate") { + setMethod(HttpRequest::Method::Post); } -void SetLiveDomainCertificateRequest::setSSLProtocol(const std::string& sSLProtocol) -{ - sSLProtocol_ = sSLProtocol; - setParameter("SSLProtocol", sSLProtocol); +SetLiveDomainCertificateRequest::~SetLiveDomainCertificateRequest() {} + +std::string SetLiveDomainCertificateRequest::getSSLProtocol() const { + return sSLProtocol_; } -std::string SetLiveDomainCertificateRequest::getSecurityToken()const -{ - return securityToken_; +void SetLiveDomainCertificateRequest::setSSLProtocol(const std::string &sSLProtocol) { + sSLProtocol_ = sSLProtocol; + setParameter(std::string("SSLProtocol"), sSLProtocol); } -void SetLiveDomainCertificateRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string SetLiveDomainCertificateRequest::getSecurityToken() const { + return securityToken_; } -std::string SetLiveDomainCertificateRequest::getCertType()const -{ - return certType_; +void SetLiveDomainCertificateRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void SetLiveDomainCertificateRequest::setCertType(const std::string& certType) -{ - certType_ = certType; - setParameter("CertType", certType); +std::string SetLiveDomainCertificateRequest::getCertType() const { + return certType_; } -std::string SetLiveDomainCertificateRequest::getSSLPri()const -{ - return sSLPri_; +void SetLiveDomainCertificateRequest::setCertType(const std::string &certType) { + certType_ = certType; + setParameter(std::string("CertType"), certType); } -void SetLiveDomainCertificateRequest::setSSLPri(const std::string& sSLPri) -{ - sSLPri_ = sSLPri; - setParameter("SSLPri", sSLPri); +std::string SetLiveDomainCertificateRequest::getSSLPri() const { + return sSLPri_; } -std::string SetLiveDomainCertificateRequest::getForceSet()const -{ - return forceSet_; +void SetLiveDomainCertificateRequest::setSSLPri(const std::string &sSLPri) { + sSLPri_ = sSLPri; + setParameter(std::string("SSLPri"), sSLPri); } -void SetLiveDomainCertificateRequest::setForceSet(const std::string& forceSet) -{ - forceSet_ = forceSet; - setParameter("ForceSet", forceSet); +std::string SetLiveDomainCertificateRequest::getForceSet() const { + return forceSet_; } -std::string SetLiveDomainCertificateRequest::getCertName()const -{ - return certName_; +void SetLiveDomainCertificateRequest::setForceSet(const std::string &forceSet) { + forceSet_ = forceSet; + setParameter(std::string("ForceSet"), forceSet); } -void SetLiveDomainCertificateRequest::setCertName(const std::string& certName) -{ - certName_ = certName; - setParameter("CertName", certName); +std::string SetLiveDomainCertificateRequest::getCertName() const { + return certName_; } -std::string SetLiveDomainCertificateRequest::getDomainName()const -{ - return domainName_; +void SetLiveDomainCertificateRequest::setCertName(const std::string &certName) { + certName_ = certName; + setParameter(std::string("CertName"), certName); } -void SetLiveDomainCertificateRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string SetLiveDomainCertificateRequest::getDomainName() const { + return domainName_; } -long SetLiveDomainCertificateRequest::getOwnerId()const -{ - return ownerId_; +void SetLiveDomainCertificateRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void SetLiveDomainCertificateRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long SetLiveDomainCertificateRequest::getOwnerId() const { + return ownerId_; } -std::string SetLiveDomainCertificateRequest::getSSLPub()const -{ - return sSLPub_; +void SetLiveDomainCertificateRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void SetLiveDomainCertificateRequest::setSSLPub(const std::string& sSLPub) -{ - sSLPub_ = sSLPub; - setParameter("SSLPub", sSLPub); +std::string SetLiveDomainCertificateRequest::getSSLPub() const { + return sSLPub_; +} + +void SetLiveDomainCertificateRequest::setSSLPub(const std::string &sSLPub) { + sSLPub_ = sSLPub; + setParameter(std::string("SSLPub"), sSLPub); } diff --git a/live/src/model/SetLiveDomainSpecialConfigRequest.cc b/live/src/model/SetLiveDomainSpecialConfigRequest.cc deleted file mode 100644 index 215b15826..000000000 --- a/live/src/model/SetLiveDomainSpecialConfigRequest.cc +++ /dev/null @@ -1,73 +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::SetLiveDomainSpecialConfigRequest; - -SetLiveDomainSpecialConfigRequest::SetLiveDomainSpecialConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "SetLiveDomainSpecialConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetLiveDomainSpecialConfigRequest::~SetLiveDomainSpecialConfigRequest() -{} - -std::string SetLiveDomainSpecialConfigRequest::getValue()const -{ - return value_; -} - -void SetLiveDomainSpecialConfigRequest::setValue(const std::string& value) -{ - value_ = value; - setParameter("Value", value); -} - -std::string SetLiveDomainSpecialConfigRequest::getDomainName()const -{ - return domainName_; -} - -void SetLiveDomainSpecialConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); -} - -long SetLiveDomainSpecialConfigRequest::getOwnerId()const -{ - return ownerId_; -} - -void SetLiveDomainSpecialConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string SetLiveDomainSpecialConfigRequest::getName()const -{ - return name_; -} - -void SetLiveDomainSpecialConfigRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - diff --git a/live/src/model/SetLiveDomainStagingConfigRequest.cc b/live/src/model/SetLiveDomainStagingConfigRequest.cc index c89fc7667..b890a169b 100644 --- a/live/src/model/SetLiveDomainStagingConfigRequest.cc +++ b/live/src/model/SetLiveDomainStagingConfigRequest.cc @@ -1,62 +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::SetLiveDomainStagingConfigRequest; - -SetLiveDomainStagingConfigRequest::SetLiveDomainStagingConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "SetLiveDomainStagingConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetLiveDomainStagingConfigRequest::~SetLiveDomainStagingConfigRequest() -{} - -std::string SetLiveDomainStagingConfigRequest::getFunctions()const -{ - return functions_; + */ + +#include + +using AlibabaCloud::Live::Model::SetLiveDomainStagingConfigRequest; + +SetLiveDomainStagingConfigRequest::SetLiveDomainStagingConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "SetLiveDomainStagingConfig") { + setMethod(HttpRequest::Method::Post); } -void SetLiveDomainStagingConfigRequest::setFunctions(const std::string& functions) -{ - functions_ = functions; - setParameter("Functions", functions); +SetLiveDomainStagingConfigRequest::~SetLiveDomainStagingConfigRequest() {} + +std::string SetLiveDomainStagingConfigRequest::getFunctions() const { + return functions_; } -std::string SetLiveDomainStagingConfigRequest::getDomainName()const -{ - return domainName_; +void SetLiveDomainStagingConfigRequest::setFunctions(const std::string &functions) { + functions_ = functions; + setParameter(std::string("Functions"), functions); } -void SetLiveDomainStagingConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string SetLiveDomainStagingConfigRequest::getDomainName() const { + return domainName_; } -long SetLiveDomainStagingConfigRequest::getOwnerId()const -{ - return ownerId_; +void SetLiveDomainStagingConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void SetLiveDomainStagingConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long SetLiveDomainStagingConfigRequest::getOwnerId() const { + return ownerId_; +} + +void SetLiveDomainStagingConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/SetLiveEdgeTransferRequest.cc b/live/src/model/SetLiveEdgeTransferRequest.cc index 4137798a7..e24a37f94 100644 --- a/live/src/model/SetLiveEdgeTransferRequest.cc +++ b/live/src/model/SetLiveEdgeTransferRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::SetLiveEdgeTransferRequest; - -SetLiveEdgeTransferRequest::SetLiveEdgeTransferRequest() : - RpcServiceRequest("live", "2016-11-01", "SetLiveEdgeTransfer") -{ - setMethod(HttpRequest::Method::Post); -} - -SetLiveEdgeTransferRequest::~SetLiveEdgeTransferRequest() -{} - -std::string SetLiveEdgeTransferRequest::getTransferArgs()const -{ - return transferArgs_; + */ + +#include + +using AlibabaCloud::Live::Model::SetLiveEdgeTransferRequest; + +SetLiveEdgeTransferRequest::SetLiveEdgeTransferRequest() + : RpcServiceRequest("live", "2016-11-01", "SetLiveEdgeTransfer") { + setMethod(HttpRequest::Method::Post); } -void SetLiveEdgeTransferRequest::setTransferArgs(const std::string& transferArgs) -{ - transferArgs_ = transferArgs; - setParameter("TransferArgs", transferArgs); +SetLiveEdgeTransferRequest::~SetLiveEdgeTransferRequest() {} + +std::string SetLiveEdgeTransferRequest::getTransferArgs() const { + return transferArgs_; } -std::string SetLiveEdgeTransferRequest::getAppName()const -{ - return appName_; +void SetLiveEdgeTransferRequest::setTransferArgs(const std::string &transferArgs) { + transferArgs_ = transferArgs; + setParameter(std::string("TransferArgs"), transferArgs); } -void SetLiveEdgeTransferRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string SetLiveEdgeTransferRequest::getAppName() const { + return appName_; } -std::string SetLiveEdgeTransferRequest::getStreamName()const -{ - return streamName_; +void SetLiveEdgeTransferRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void SetLiveEdgeTransferRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string SetLiveEdgeTransferRequest::getStreamName() const { + return streamName_; } -std::string SetLiveEdgeTransferRequest::getTargetDomainList()const -{ - return targetDomainList_; +void SetLiveEdgeTransferRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void SetLiveEdgeTransferRequest::setTargetDomainList(const std::string& targetDomainList) -{ - targetDomainList_ = targetDomainList; - setParameter("TargetDomainList", targetDomainList); +std::string SetLiveEdgeTransferRequest::getTargetDomainList() const { + return targetDomainList_; } -std::string SetLiveEdgeTransferRequest::getDomainName()const -{ - return domainName_; +void SetLiveEdgeTransferRequest::setTargetDomainList(const std::string &targetDomainList) { + targetDomainList_ = targetDomainList; + setParameter(std::string("TargetDomainList"), targetDomainList); } -void SetLiveEdgeTransferRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string SetLiveEdgeTransferRequest::getDomainName() const { + return domainName_; } -long SetLiveEdgeTransferRequest::getOwnerId()const -{ - return ownerId_; +void SetLiveEdgeTransferRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void SetLiveEdgeTransferRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long SetLiveEdgeTransferRequest::getOwnerId() const { + return ownerId_; } -std::string SetLiveEdgeTransferRequest::getHttpDns()const -{ - return httpDns_; +void SetLiveEdgeTransferRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void SetLiveEdgeTransferRequest::setHttpDns(const std::string& httpDns) -{ - httpDns_ = httpDns; - setParameter("HttpDns", httpDns); +std::string SetLiveEdgeTransferRequest::getHttpDns() const { + return httpDns_; +} + +void SetLiveEdgeTransferRequest::setHttpDns(const std::string &httpDns) { + httpDns_ = httpDns; + setParameter(std::string("HttpDns"), httpDns); } diff --git a/live/src/model/SetLiveLazyPullStreamInfoConfigRequest.cc b/live/src/model/SetLiveLazyPullStreamInfoConfigRequest.cc index a3334393a..d68a8a156 100644 --- a/live/src/model/SetLiveLazyPullStreamInfoConfigRequest.cc +++ b/live/src/model/SetLiveLazyPullStreamInfoConfigRequest.cc @@ -1,139 +1,117 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::SetLiveLazyPullStreamInfoConfigRequest; - -SetLiveLazyPullStreamInfoConfigRequest::SetLiveLazyPullStreamInfoConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "SetLiveLazyPullStreamInfoConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetLiveLazyPullStreamInfoConfigRequest::~SetLiveLazyPullStreamInfoConfigRequest() -{} - -std::string SetLiveLazyPullStreamInfoConfigRequest::getPullArgs()const -{ - return pullArgs_; + */ + +#include + +using AlibabaCloud::Live::Model::SetLiveLazyPullStreamInfoConfigRequest; + +SetLiveLazyPullStreamInfoConfigRequest::SetLiveLazyPullStreamInfoConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "SetLiveLazyPullStreamInfoConfig") { + setMethod(HttpRequest::Method::Post); } -void SetLiveLazyPullStreamInfoConfigRequest::setPullArgs(const std::string& pullArgs) -{ - pullArgs_ = pullArgs; - setParameter("PullArgs", pullArgs); +SetLiveLazyPullStreamInfoConfigRequest::~SetLiveLazyPullStreamInfoConfigRequest() {} + +std::string SetLiveLazyPullStreamInfoConfigRequest::getPullArgs() const { + return pullArgs_; } -std::string SetLiveLazyPullStreamInfoConfigRequest::getAppName()const -{ - return appName_; +void SetLiveLazyPullStreamInfoConfigRequest::setPullArgs(const std::string &pullArgs) { + pullArgs_ = pullArgs; + setParameter(std::string("PullArgs"), pullArgs); } -void SetLiveLazyPullStreamInfoConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string SetLiveLazyPullStreamInfoConfigRequest::getAppName() const { + return appName_; } -std::string SetLiveLazyPullStreamInfoConfigRequest::getLiveapiRequestFrom()const -{ - return liveapiRequestFrom_; +void SetLiveLazyPullStreamInfoConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void SetLiveLazyPullStreamInfoConfigRequest::setLiveapiRequestFrom(const std::string& liveapiRequestFrom) -{ - liveapiRequestFrom_ = liveapiRequestFrom; - setParameter("LiveapiRequestFrom", liveapiRequestFrom); +std::string SetLiveLazyPullStreamInfoConfigRequest::getLiveapiRequestFrom() const { + return liveapiRequestFrom_; } -std::string SetLiveLazyPullStreamInfoConfigRequest::getPullAuthKey()const -{ - return pullAuthKey_; +void SetLiveLazyPullStreamInfoConfigRequest::setLiveapiRequestFrom(const std::string &liveapiRequestFrom) { + liveapiRequestFrom_ = liveapiRequestFrom; + setParameter(std::string("LiveapiRequestFrom"), liveapiRequestFrom); } -void SetLiveLazyPullStreamInfoConfigRequest::setPullAuthKey(const std::string& pullAuthKey) -{ - pullAuthKey_ = pullAuthKey; - setParameter("PullAuthKey", pullAuthKey); +std::string SetLiveLazyPullStreamInfoConfigRequest::getPullAuthKey() const { + return pullAuthKey_; } -std::string SetLiveLazyPullStreamInfoConfigRequest::getPullAuthType()const -{ - return pullAuthType_; +void SetLiveLazyPullStreamInfoConfigRequest::setPullAuthKey(const std::string &pullAuthKey) { + pullAuthKey_ = pullAuthKey; + setParameter(std::string("PullAuthKey"), pullAuthKey); } -void SetLiveLazyPullStreamInfoConfigRequest::setPullAuthType(const std::string& pullAuthType) -{ - pullAuthType_ = pullAuthType; - setParameter("PullAuthType", pullAuthType); +std::string SetLiveLazyPullStreamInfoConfigRequest::getPullAuthType() const { + return pullAuthType_; } -std::string SetLiveLazyPullStreamInfoConfigRequest::getDomainName()const -{ - return domainName_; +void SetLiveLazyPullStreamInfoConfigRequest::setPullAuthType(const std::string &pullAuthType) { + pullAuthType_ = pullAuthType; + setParameter(std::string("PullAuthType"), pullAuthType); } -void SetLiveLazyPullStreamInfoConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string SetLiveLazyPullStreamInfoConfigRequest::getDomainName() const { + return domainName_; } -std::string SetLiveLazyPullStreamInfoConfigRequest::getPullDomainName()const -{ - return pullDomainName_; +void SetLiveLazyPullStreamInfoConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void SetLiveLazyPullStreamInfoConfigRequest::setPullDomainName(const std::string& pullDomainName) -{ - pullDomainName_ = pullDomainName; - setParameter("PullDomainName", pullDomainName); +std::string SetLiveLazyPullStreamInfoConfigRequest::getPullDomainName() const { + return pullDomainName_; } -long SetLiveLazyPullStreamInfoConfigRequest::getOwnerId()const -{ - return ownerId_; +void SetLiveLazyPullStreamInfoConfigRequest::setPullDomainName(const std::string &pullDomainName) { + pullDomainName_ = pullDomainName; + setParameter(std::string("PullDomainName"), pullDomainName); } -void SetLiveLazyPullStreamInfoConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long SetLiveLazyPullStreamInfoConfigRequest::getOwnerId() const { + return ownerId_; } -std::string SetLiveLazyPullStreamInfoConfigRequest::getPullAppName()const -{ - return pullAppName_; +void SetLiveLazyPullStreamInfoConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void SetLiveLazyPullStreamInfoConfigRequest::setPullAppName(const std::string& pullAppName) -{ - pullAppName_ = pullAppName; - setParameter("PullAppName", pullAppName); +std::string SetLiveLazyPullStreamInfoConfigRequest::getPullAppName() const { + return pullAppName_; } -std::string SetLiveLazyPullStreamInfoConfigRequest::getPullProtocol()const -{ - return pullProtocol_; +void SetLiveLazyPullStreamInfoConfigRequest::setPullAppName(const std::string &pullAppName) { + pullAppName_ = pullAppName; + setParameter(std::string("PullAppName"), pullAppName); } -void SetLiveLazyPullStreamInfoConfigRequest::setPullProtocol(const std::string& pullProtocol) -{ - pullProtocol_ = pullProtocol; - setParameter("PullProtocol", pullProtocol); +std::string SetLiveLazyPullStreamInfoConfigRequest::getPullProtocol() const { + return pullProtocol_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setPullProtocol(const std::string &pullProtocol) { + pullProtocol_ = pullProtocol; + setParameter(std::string("PullProtocol"), pullProtocol); } diff --git a/live/src/model/SetLiveStreamDelayConfigRequest.cc b/live/src/model/SetLiveStreamDelayConfigRequest.cc index 347853b71..b43a4f2d7 100644 --- a/live/src/model/SetLiveStreamDelayConfigRequest.cc +++ b/live/src/model/SetLiveStreamDelayConfigRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::SetLiveStreamDelayConfigRequest; - -SetLiveStreamDelayConfigRequest::SetLiveStreamDelayConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "SetLiveStreamDelayConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetLiveStreamDelayConfigRequest::~SetLiveStreamDelayConfigRequest() -{} - -std::string SetLiveStreamDelayConfigRequest::getFlvLevel()const -{ - return flvLevel_; + */ + +#include + +using AlibabaCloud::Live::Model::SetLiveStreamDelayConfigRequest; + +SetLiveStreamDelayConfigRequest::SetLiveStreamDelayConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "SetLiveStreamDelayConfig") { + setMethod(HttpRequest::Method::Post); } -void SetLiveStreamDelayConfigRequest::setFlvLevel(const std::string& flvLevel) -{ - flvLevel_ = flvLevel; - setParameter("FlvLevel", flvLevel); +SetLiveStreamDelayConfigRequest::~SetLiveStreamDelayConfigRequest() {} + +std::string SetLiveStreamDelayConfigRequest::getFlvLevel() const { + return flvLevel_; } -std::string SetLiveStreamDelayConfigRequest::getHlsLevel()const -{ - return hlsLevel_; +void SetLiveStreamDelayConfigRequest::setFlvLevel(const std::string &flvLevel) { + flvLevel_ = flvLevel; + setParameter(std::string("FlvLevel"), flvLevel); } -void SetLiveStreamDelayConfigRequest::setHlsLevel(const std::string& hlsLevel) -{ - hlsLevel_ = hlsLevel; - setParameter("HlsLevel", hlsLevel); +std::string SetLiveStreamDelayConfigRequest::getHlsLevel() const { + return hlsLevel_; } -int SetLiveStreamDelayConfigRequest::getRtmpDelay()const -{ - return rtmpDelay_; +void SetLiveStreamDelayConfigRequest::setHlsLevel(const std::string &hlsLevel) { + hlsLevel_ = hlsLevel; + setParameter(std::string("HlsLevel"), hlsLevel); } -void SetLiveStreamDelayConfigRequest::setRtmpDelay(int rtmpDelay) -{ - rtmpDelay_ = rtmpDelay; - setParameter("RtmpDelay", std::to_string(rtmpDelay)); +int SetLiveStreamDelayConfigRequest::getRtmpDelay() const { + return rtmpDelay_; } -std::string SetLiveStreamDelayConfigRequest::getDomainName()const -{ - return domainName_; +void SetLiveStreamDelayConfigRequest::setRtmpDelay(int rtmpDelay) { + rtmpDelay_ = rtmpDelay; + setParameter(std::string("RtmpDelay"), std::to_string(rtmpDelay)); } -void SetLiveStreamDelayConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string SetLiveStreamDelayConfigRequest::getDomainName() const { + return domainName_; } -long SetLiveStreamDelayConfigRequest::getOwnerId()const -{ - return ownerId_; +void SetLiveStreamDelayConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void SetLiveStreamDelayConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long SetLiveStreamDelayConfigRequest::getOwnerId() const { + return ownerId_; } -int SetLiveStreamDelayConfigRequest::getFlvDelay()const -{ - return flvDelay_; +void SetLiveStreamDelayConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void SetLiveStreamDelayConfigRequest::setFlvDelay(int flvDelay) -{ - flvDelay_ = flvDelay; - setParameter("FlvDelay", std::to_string(flvDelay)); +int SetLiveStreamDelayConfigRequest::getFlvDelay() const { + return flvDelay_; } -std::string SetLiveStreamDelayConfigRequest::getRtmpLevel()const -{ - return rtmpLevel_; +void SetLiveStreamDelayConfigRequest::setFlvDelay(int flvDelay) { + flvDelay_ = flvDelay; + setParameter(std::string("FlvDelay"), std::to_string(flvDelay)); } -void SetLiveStreamDelayConfigRequest::setRtmpLevel(const std::string& rtmpLevel) -{ - rtmpLevel_ = rtmpLevel; - setParameter("RtmpLevel", rtmpLevel); +std::string SetLiveStreamDelayConfigRequest::getRtmpLevel() const { + return rtmpLevel_; } -int SetLiveStreamDelayConfigRequest::getHlsDelay()const -{ - return hlsDelay_; +void SetLiveStreamDelayConfigRequest::setRtmpLevel(const std::string &rtmpLevel) { + rtmpLevel_ = rtmpLevel; + setParameter(std::string("RtmpLevel"), rtmpLevel); } -void SetLiveStreamDelayConfigRequest::setHlsDelay(int hlsDelay) -{ - hlsDelay_ = hlsDelay; - setParameter("HlsDelay", std::to_string(hlsDelay)); +int SetLiveStreamDelayConfigRequest::getHlsDelay() const { + return hlsDelay_; +} + +void SetLiveStreamDelayConfigRequest::setHlsDelay(int hlsDelay) { + hlsDelay_ = hlsDelay; + setParameter(std::string("HlsDelay"), std::to_string(hlsDelay)); } diff --git a/live/src/model/SetLiveStreamOptimizedFeatureConfigRequest.cc b/live/src/model/SetLiveStreamOptimizedFeatureConfigRequest.cc index bcdce800e..ced249912 100644 --- a/live/src/model/SetLiveStreamOptimizedFeatureConfigRequest.cc +++ b/live/src/model/SetLiveStreamOptimizedFeatureConfigRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::SetLiveStreamOptimizedFeatureConfigRequest; - -SetLiveStreamOptimizedFeatureConfigRequest::SetLiveStreamOptimizedFeatureConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "SetLiveStreamOptimizedFeatureConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetLiveStreamOptimizedFeatureConfigRequest::~SetLiveStreamOptimizedFeatureConfigRequest() -{} - -std::string SetLiveStreamOptimizedFeatureConfigRequest::getConfigStatus()const -{ - return configStatus_; + */ + +#include + +using AlibabaCloud::Live::Model::SetLiveStreamOptimizedFeatureConfigRequest; + +SetLiveStreamOptimizedFeatureConfigRequest::SetLiveStreamOptimizedFeatureConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "SetLiveStreamOptimizedFeatureConfig") { + setMethod(HttpRequest::Method::Post); } -void SetLiveStreamOptimizedFeatureConfigRequest::setConfigStatus(const std::string& configStatus) -{ - configStatus_ = configStatus; - setParameter("ConfigStatus", configStatus); +SetLiveStreamOptimizedFeatureConfigRequest::~SetLiveStreamOptimizedFeatureConfigRequest() {} + +std::string SetLiveStreamOptimizedFeatureConfigRequest::getConfigStatus() const { + return configStatus_; } -std::string SetLiveStreamOptimizedFeatureConfigRequest::getConfigName()const -{ - return configName_; +void SetLiveStreamOptimizedFeatureConfigRequest::setConfigStatus(const std::string &configStatus) { + configStatus_ = configStatus; + setParameter(std::string("ConfigStatus"), configStatus); } -void SetLiveStreamOptimizedFeatureConfigRequest::setConfigName(const std::string& configName) -{ - configName_ = configName; - setParameter("ConfigName", configName); +std::string SetLiveStreamOptimizedFeatureConfigRequest::getConfigName() const { + return configName_; } -std::string SetLiveStreamOptimizedFeatureConfigRequest::getDomainName()const -{ - return domainName_; +void SetLiveStreamOptimizedFeatureConfigRequest::setConfigName(const std::string &configName) { + configName_ = configName; + setParameter(std::string("ConfigName"), configName); } -void SetLiveStreamOptimizedFeatureConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string SetLiveStreamOptimizedFeatureConfigRequest::getDomainName() const { + return domainName_; } -std::string SetLiveStreamOptimizedFeatureConfigRequest::getConfigValue()const -{ - return configValue_; +void SetLiveStreamOptimizedFeatureConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void SetLiveStreamOptimizedFeatureConfigRequest::setConfigValue(const std::string& configValue) -{ - configValue_ = configValue; - setParameter("ConfigValue", configValue); +std::string SetLiveStreamOptimizedFeatureConfigRequest::getConfigValue() const { + return configValue_; } -long SetLiveStreamOptimizedFeatureConfigRequest::getOwnerId()const -{ - return ownerId_; +void SetLiveStreamOptimizedFeatureConfigRequest::setConfigValue(const std::string &configValue) { + configValue_ = configValue; + setParameter(std::string("ConfigValue"), configValue); } -void SetLiveStreamOptimizedFeatureConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long SetLiveStreamOptimizedFeatureConfigRequest::getOwnerId() const { + return ownerId_; +} + +void SetLiveStreamOptimizedFeatureConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/SetLiveStreamsNotifyUrlConfigRequest.cc b/live/src/model/SetLiveStreamsNotifyUrlConfigRequest.cc index 0b0f347ee..cba90c35f 100644 --- a/live/src/model/SetLiveStreamsNotifyUrlConfigRequest.cc +++ b/live/src/model/SetLiveStreamsNotifyUrlConfigRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::SetLiveStreamsNotifyUrlConfigRequest; - -SetLiveStreamsNotifyUrlConfigRequest::SetLiveStreamsNotifyUrlConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "SetLiveStreamsNotifyUrlConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -SetLiveStreamsNotifyUrlConfigRequest::~SetLiveStreamsNotifyUrlConfigRequest() -{} - -std::string SetLiveStreamsNotifyUrlConfigRequest::getAuthKey()const -{ - return authKey_; + */ + +#include + +using AlibabaCloud::Live::Model::SetLiveStreamsNotifyUrlConfigRequest; + +SetLiveStreamsNotifyUrlConfigRequest::SetLiveStreamsNotifyUrlConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "SetLiveStreamsNotifyUrlConfig") { + setMethod(HttpRequest::Method::Post); } -void SetLiveStreamsNotifyUrlConfigRequest::setAuthKey(const std::string& authKey) -{ - authKey_ = authKey; - setParameter("AuthKey", authKey); +SetLiveStreamsNotifyUrlConfigRequest::~SetLiveStreamsNotifyUrlConfigRequest() {} + +std::string SetLiveStreamsNotifyUrlConfigRequest::getAuthKey() const { + return authKey_; } -std::string SetLiveStreamsNotifyUrlConfigRequest::getAuthType()const -{ - return authType_; +void SetLiveStreamsNotifyUrlConfigRequest::setAuthKey(const std::string &authKey) { + authKey_ = authKey; + setParameter(std::string("AuthKey"), authKey); } -void SetLiveStreamsNotifyUrlConfigRequest::setAuthType(const std::string& authType) -{ - authType_ = authType; - setParameter("AuthType", authType); +std::string SetLiveStreamsNotifyUrlConfigRequest::getAuthType() const { + return authType_; } -std::string SetLiveStreamsNotifyUrlConfigRequest::getNotifyReqAuth()const -{ - return notifyReqAuth_; +void SetLiveStreamsNotifyUrlConfigRequest::setAuthType(const std::string &authType) { + authType_ = authType; + setParameter(std::string("AuthType"), authType); } -void SetLiveStreamsNotifyUrlConfigRequest::setNotifyReqAuth(const std::string& notifyReqAuth) -{ - notifyReqAuth_ = notifyReqAuth; - setParameter("NotifyReqAuth", notifyReqAuth); +std::string SetLiveStreamsNotifyUrlConfigRequest::getNotifyReqAuth() const { + return notifyReqAuth_; } -std::string SetLiveStreamsNotifyUrlConfigRequest::getNotifyUrl()const -{ - return notifyUrl_; +void SetLiveStreamsNotifyUrlConfigRequest::setNotifyReqAuth(const std::string ¬ifyReqAuth) { + notifyReqAuth_ = notifyReqAuth; + setParameter(std::string("NotifyReqAuth"), notifyReqAuth); } -void SetLiveStreamsNotifyUrlConfigRequest::setNotifyUrl(const std::string& notifyUrl) -{ - notifyUrl_ = notifyUrl; - setParameter("NotifyUrl", notifyUrl); +std::string SetLiveStreamsNotifyUrlConfigRequest::getNotifyUrl() const { + return notifyUrl_; } -std::string SetLiveStreamsNotifyUrlConfigRequest::getNotifyType()const -{ - return notifyType_; +void SetLiveStreamsNotifyUrlConfigRequest::setNotifyUrl(const std::string ¬ifyUrl) { + notifyUrl_ = notifyUrl; + setParameter(std::string("NotifyUrl"), notifyUrl); } -void SetLiveStreamsNotifyUrlConfigRequest::setNotifyType(const std::string& notifyType) -{ - notifyType_ = notifyType; - setParameter("NotifyType", notifyType); +std::string SetLiveStreamsNotifyUrlConfigRequest::getNotifyType() const { + return notifyType_; } -std::string SetLiveStreamsNotifyUrlConfigRequest::getDomainName()const -{ - return domainName_; +void SetLiveStreamsNotifyUrlConfigRequest::setNotifyType(const std::string ¬ifyType) { + notifyType_ = notifyType; + setParameter(std::string("NotifyType"), notifyType); } -void SetLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string SetLiveStreamsNotifyUrlConfigRequest::getDomainName() const { + return domainName_; } -long SetLiveStreamsNotifyUrlConfigRequest::getOwnerId()const -{ - return ownerId_; +void SetLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void SetLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long SetLiveStreamsNotifyUrlConfigRequest::getOwnerId() const { + return ownerId_; } -std::string SetLiveStreamsNotifyUrlConfigRequest::getNotifyAuthKey()const -{ - return notifyAuthKey_; +void SetLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void SetLiveStreamsNotifyUrlConfigRequest::setNotifyAuthKey(const std::string& notifyAuthKey) -{ - notifyAuthKey_ = notifyAuthKey; - setParameter("NotifyAuthKey", notifyAuthKey); +std::string SetLiveStreamsNotifyUrlConfigRequest::getNotifyAuthKey() const { + return notifyAuthKey_; +} + +void SetLiveStreamsNotifyUrlConfigRequest::setNotifyAuthKey(const std::string ¬ifyAuthKey) { + notifyAuthKey_ = notifyAuthKey; + setParameter(std::string("NotifyAuthKey"), notifyAuthKey); } diff --git a/live/src/model/SetSnapshotCallbackAuthRequest.cc b/live/src/model/SetSnapshotCallbackAuthRequest.cc index b0a090044..02745a4dc 100644 --- a/live/src/model/SetSnapshotCallbackAuthRequest.cc +++ b/live/src/model/SetSnapshotCallbackAuthRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::SetSnapshotCallbackAuthRequest; - -SetSnapshotCallbackAuthRequest::SetSnapshotCallbackAuthRequest() : - RpcServiceRequest("live", "2016-11-01", "SetSnapshotCallbackAuth") -{ - setMethod(HttpRequest::Method::Post); -} - -SetSnapshotCallbackAuthRequest::~SetSnapshotCallbackAuthRequest() -{} - -std::string SetSnapshotCallbackAuthRequest::getCallbackAuthKey()const -{ - return callbackAuthKey_; + */ + +#include + +using AlibabaCloud::Live::Model::SetSnapshotCallbackAuthRequest; + +SetSnapshotCallbackAuthRequest::SetSnapshotCallbackAuthRequest() + : RpcServiceRequest("live", "2016-11-01", "SetSnapshotCallbackAuth") { + setMethod(HttpRequest::Method::Post); } -void SetSnapshotCallbackAuthRequest::setCallbackAuthKey(const std::string& callbackAuthKey) -{ - callbackAuthKey_ = callbackAuthKey; - setParameter("CallbackAuthKey", callbackAuthKey); +SetSnapshotCallbackAuthRequest::~SetSnapshotCallbackAuthRequest() {} + +std::string SetSnapshotCallbackAuthRequest::getCallbackAuthKey() const { + return callbackAuthKey_; } -std::string SetSnapshotCallbackAuthRequest::getDomainName()const -{ - return domainName_; +void SetSnapshotCallbackAuthRequest::setCallbackAuthKey(const std::string &callbackAuthKey) { + callbackAuthKey_ = callbackAuthKey; + setParameter(std::string("CallbackAuthKey"), callbackAuthKey); } -void SetSnapshotCallbackAuthRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string SetSnapshotCallbackAuthRequest::getDomainName() const { + return domainName_; } -long SetSnapshotCallbackAuthRequest::getOwnerId()const -{ - return ownerId_; +void SetSnapshotCallbackAuthRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void SetSnapshotCallbackAuthRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long SetSnapshotCallbackAuthRequest::getOwnerId() const { + return ownerId_; } -std::string SetSnapshotCallbackAuthRequest::getCallbackReqAuth()const -{ - return callbackReqAuth_; +void SetSnapshotCallbackAuthRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void SetSnapshotCallbackAuthRequest::setCallbackReqAuth(const std::string& callbackReqAuth) -{ - callbackReqAuth_ = callbackReqAuth; - setParameter("CallbackReqAuth", callbackReqAuth); +std::string SetSnapshotCallbackAuthRequest::getCallbackReqAuth() const { + return callbackReqAuth_; +} + +void SetSnapshotCallbackAuthRequest::setCallbackReqAuth(const std::string &callbackReqAuth) { + callbackReqAuth_ = callbackReqAuth; + setParameter(std::string("CallbackReqAuth"), callbackReqAuth); } diff --git a/live/src/model/StartCasterRequest.cc b/live/src/model/StartCasterRequest.cc index 019165a4b..feda74901 100644 --- a/live/src/model/StartCasterRequest.cc +++ b/live/src/model/StartCasterRequest.cc @@ -1,62 +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::StartCasterRequest; - -StartCasterRequest::StartCasterRequest() : - RpcServiceRequest("live", "2016-11-01", "StartCaster") -{ - setMethod(HttpRequest::Method::Post); -} - -StartCasterRequest::~StartCasterRequest() -{} - -int StartCasterRequest::getPlayerType()const -{ - return playerType_; + */ + +#include + +using AlibabaCloud::Live::Model::StartCasterRequest; + +StartCasterRequest::StartCasterRequest() + : RpcServiceRequest("live", "2016-11-01", "StartCaster") { + setMethod(HttpRequest::Method::Post); } -void StartCasterRequest::setPlayerType(int playerType) -{ - playerType_ = playerType; - setParameter("PlayerType", std::to_string(playerType)); +StartCasterRequest::~StartCasterRequest() {} + +int StartCasterRequest::getPlayerType() const { + return playerType_; } -std::string StartCasterRequest::getCasterId()const -{ - return casterId_; +void StartCasterRequest::setPlayerType(int playerType) { + playerType_ = playerType; + setParameter(std::string("PlayerType"), std::to_string(playerType)); } -void StartCasterRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string StartCasterRequest::getCasterId() const { + return casterId_; } -long StartCasterRequest::getOwnerId()const -{ - return ownerId_; +void StartCasterRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void StartCasterRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long StartCasterRequest::getOwnerId() const { + return ownerId_; +} + +void StartCasterRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/StartCasterResult.cc b/live/src/model/StartCasterResult.cc index ceaab57e1..e51ae5e21 100644 --- a/live/src/model/StartCasterResult.cc +++ b/live/src/model/StartCasterResult.cc @@ -43,34 +43,34 @@ void StartCasterResult::parse(const std::string &payload) for (auto valuePvwSceneInfosSceneInfo : allPvwSceneInfosNode) { SceneInfo pvwSceneInfosObject; + if(!valuePvwSceneInfosSceneInfo["RtsUrl"].isNull()) + pvwSceneInfosObject.rtsUrl = valuePvwSceneInfosSceneInfo["RtsUrl"].asString(); if(!valuePvwSceneInfosSceneInfo["SceneId"].isNull()) pvwSceneInfosObject.sceneId = valuePvwSceneInfosSceneInfo["SceneId"].asString(); if(!valuePvwSceneInfosSceneInfo["StreamUrl"].isNull()) pvwSceneInfosObject.streamUrl = valuePvwSceneInfosSceneInfo["StreamUrl"].asString(); - if(!valuePvwSceneInfosSceneInfo["RtsUrl"].isNull()) - pvwSceneInfosObject.rtsUrl = valuePvwSceneInfosSceneInfo["RtsUrl"].asString(); pvwSceneInfos_.push_back(pvwSceneInfosObject); } auto allPgmSceneInfosNode = value["PgmSceneInfos"]["SceneInfo"]; for (auto valuePgmSceneInfosSceneInfo : allPgmSceneInfosNode) { SceneInfo1 pgmSceneInfosObject; + if(!valuePgmSceneInfosSceneInfo["RtsUrl"].isNull()) + pgmSceneInfosObject.rtsUrl = valuePgmSceneInfosSceneInfo["RtsUrl"].asString(); if(!valuePgmSceneInfosSceneInfo["SceneId"].isNull()) pgmSceneInfosObject.sceneId = valuePgmSceneInfosSceneInfo["SceneId"].asString(); if(!valuePgmSceneInfosSceneInfo["StreamUrl"].isNull()) pgmSceneInfosObject.streamUrl = valuePgmSceneInfosSceneInfo["StreamUrl"].asString(); - if(!valuePgmSceneInfosSceneInfo["RtsUrl"].isNull()) - pgmSceneInfosObject.rtsUrl = valuePgmSceneInfosSceneInfo["RtsUrl"].asString(); auto allStreamInfosNode = valuePgmSceneInfosSceneInfo["StreamInfos"]["StreamInfo"]; for (auto valuePgmSceneInfosSceneInfoStreamInfosStreamInfo : allStreamInfosNode) { SceneInfo1::StreamInfo streamInfosObject; - if(!valuePgmSceneInfosSceneInfoStreamInfosStreamInfo["TranscodeConfig"].isNull()) - streamInfosObject.transcodeConfig = valuePgmSceneInfosSceneInfoStreamInfosStreamInfo["TranscodeConfig"].asString(); if(!valuePgmSceneInfosSceneInfoStreamInfosStreamInfo["VideoFormat"].isNull()) streamInfosObject.videoFormat = valuePgmSceneInfosSceneInfoStreamInfosStreamInfo["VideoFormat"].asString(); if(!valuePgmSceneInfosSceneInfoStreamInfosStreamInfo["OutputStreamUrl"].isNull()) streamInfosObject.outputStreamUrl = valuePgmSceneInfosSceneInfoStreamInfosStreamInfo["OutputStreamUrl"].asString(); + if(!valuePgmSceneInfosSceneInfoStreamInfosStreamInfo["TranscodeConfig"].isNull()) + streamInfosObject.transcodeConfig = valuePgmSceneInfosSceneInfoStreamInfosStreamInfo["TranscodeConfig"].asString(); pgmSceneInfosObject.streamInfos.push_back(streamInfosObject); } pgmSceneInfos_.push_back(pgmSceneInfosObject); diff --git a/live/src/model/StartCasterSceneRequest.cc b/live/src/model/StartCasterSceneRequest.cc index fe7275a6a..0bb003da2 100644 --- a/live/src/model/StartCasterSceneRequest.cc +++ b/live/src/model/StartCasterSceneRequest.cc @@ -1,62 +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::StartCasterSceneRequest; - -StartCasterSceneRequest::StartCasterSceneRequest() : - RpcServiceRequest("live", "2016-11-01", "StartCasterScene") -{ - setMethod(HttpRequest::Method::Post); -} - -StartCasterSceneRequest::~StartCasterSceneRequest() -{} - -std::string StartCasterSceneRequest::getCasterId()const -{ - return casterId_; + */ + +#include + +using AlibabaCloud::Live::Model::StartCasterSceneRequest; + +StartCasterSceneRequest::StartCasterSceneRequest() + : RpcServiceRequest("live", "2016-11-01", "StartCasterScene") { + setMethod(HttpRequest::Method::Post); } -void StartCasterSceneRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +StartCasterSceneRequest::~StartCasterSceneRequest() {} + +std::string StartCasterSceneRequest::getCasterId() const { + return casterId_; } -long StartCasterSceneRequest::getOwnerId()const -{ - return ownerId_; +void StartCasterSceneRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void StartCasterSceneRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long StartCasterSceneRequest::getOwnerId() const { + return ownerId_; } -std::string StartCasterSceneRequest::getSceneId()const -{ - return sceneId_; +void StartCasterSceneRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void StartCasterSceneRequest::setSceneId(const std::string& sceneId) -{ - sceneId_ = sceneId; - setParameter("SceneId", sceneId); +std::string StartCasterSceneRequest::getSceneId() const { + return sceneId_; +} + +void StartCasterSceneRequest::setSceneId(const std::string &sceneId) { + sceneId_ = sceneId; + setParameter(std::string("SceneId"), sceneId); } diff --git a/live/src/model/StartLiveDomainRequest.cc b/live/src/model/StartLiveDomainRequest.cc index 5a1b312b2..5fa0020e2 100644 --- a/live/src/model/StartLiveDomainRequest.cc +++ b/live/src/model/StartLiveDomainRequest.cc @@ -1,62 +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::StartLiveDomainRequest; - -StartLiveDomainRequest::StartLiveDomainRequest() : - RpcServiceRequest("live", "2016-11-01", "StartLiveDomain") -{ - setMethod(HttpRequest::Method::Post); -} - -StartLiveDomainRequest::~StartLiveDomainRequest() -{} - -std::string StartLiveDomainRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::StartLiveDomainRequest; + +StartLiveDomainRequest::StartLiveDomainRequest() + : RpcServiceRequest("live", "2016-11-01", "StartLiveDomain") { + setMethod(HttpRequest::Method::Post); } -void StartLiveDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +StartLiveDomainRequest::~StartLiveDomainRequest() {} + +std::string StartLiveDomainRequest::getDomainName() const { + return domainName_; } -long StartLiveDomainRequest::getOwnerId()const -{ - return ownerId_; +void StartLiveDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void StartLiveDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long StartLiveDomainRequest::getOwnerId() const { + return ownerId_; } -std::string StartLiveDomainRequest::getSecurityToken()const -{ - return securityToken_; +void StartLiveDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void StartLiveDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string StartLiveDomainRequest::getSecurityToken() const { + return securityToken_; +} + +void StartLiveDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/live/src/model/StartLiveStreamMonitorRequest.cc b/live/src/model/StartLiveStreamMonitorRequest.cc index 6bf614c06..1ba82fb03 100644 --- a/live/src/model/StartLiveStreamMonitorRequest.cc +++ b/live/src/model/StartLiveStreamMonitorRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::StartLiveStreamMonitorRequest; - -StartLiveStreamMonitorRequest::StartLiveStreamMonitorRequest() : - RpcServiceRequest("live", "2016-11-01", "StartLiveStreamMonitor") -{ - setMethod(HttpRequest::Method::Post); -} - -StartLiveStreamMonitorRequest::~StartLiveStreamMonitorRequest() -{} - -std::string StartLiveStreamMonitorRequest::getMonitorId()const -{ - return monitorId_; + */ + +#include + +using AlibabaCloud::Live::Model::StartLiveStreamMonitorRequest; + +StartLiveStreamMonitorRequest::StartLiveStreamMonitorRequest() + : RpcServiceRequest("live", "2016-11-01", "StartLiveStreamMonitor") { + setMethod(HttpRequest::Method::Post); } -void StartLiveStreamMonitorRequest::setMonitorId(const std::string& monitorId) -{ - monitorId_ = monitorId; - setParameter("MonitorId", monitorId); +StartLiveStreamMonitorRequest::~StartLiveStreamMonitorRequest() {} + +std::string StartLiveStreamMonitorRequest::getMonitorId() const { + return monitorId_; } -long StartLiveStreamMonitorRequest::getOwnerId()const -{ - return ownerId_; +void StartLiveStreamMonitorRequest::setMonitorId(const std::string &monitorId) { + monitorId_ = monitorId; + setParameter(std::string("MonitorId"), monitorId); } -void StartLiveStreamMonitorRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long StartLiveStreamMonitorRequest::getOwnerId() const { + return ownerId_; +} + +void StartLiveStreamMonitorRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/StartPlaylistRequest.cc b/live/src/model/StartPlaylistRequest.cc index 886f7b1a3..5ddb80959 100644 --- a/live/src/model/StartPlaylistRequest.cc +++ b/live/src/model/StartPlaylistRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::StartPlaylistRequest; - -StartPlaylistRequest::StartPlaylistRequest() : - RpcServiceRequest("live", "2016-11-01", "StartPlaylist") -{ - setMethod(HttpRequest::Method::Post); -} - -StartPlaylistRequest::~StartPlaylistRequest() -{} - -std::string StartPlaylistRequest::getResumeMode()const -{ - return resumeMode_; + */ + +#include + +using AlibabaCloud::Live::Model::StartPlaylistRequest; + +StartPlaylistRequest::StartPlaylistRequest() + : RpcServiceRequest("live", "2016-11-01", "StartPlaylist") { + setMethod(HttpRequest::Method::Post); } -void StartPlaylistRequest::setResumeMode(const std::string& resumeMode) -{ - resumeMode_ = resumeMode; - setParameter("ResumeMode", resumeMode); +StartPlaylistRequest::~StartPlaylistRequest() {} + +std::string StartPlaylistRequest::getResumeMode() const { + return resumeMode_; } -std::string StartPlaylistRequest::getStartItemId()const -{ - return startItemId_; +void StartPlaylistRequest::setResumeMode(const std::string &resumeMode) { + resumeMode_ = resumeMode; + setParameter(std::string("ResumeMode"), resumeMode); } -void StartPlaylistRequest::setStartItemId(const std::string& startItemId) -{ - startItemId_ = startItemId; - setParameter("StartItemId", startItemId); +std::string StartPlaylistRequest::getStartItemId() const { + return startItemId_; } -std::string StartPlaylistRequest::getProgramId()const -{ - return programId_; +void StartPlaylistRequest::setStartItemId(const std::string &startItemId) { + startItemId_ = startItemId; + setParameter(std::string("StartItemId"), startItemId); } -void StartPlaylistRequest::setProgramId(const std::string& programId) -{ - programId_ = programId; - setParameter("ProgramId", programId); +std::string StartPlaylistRequest::getProgramId() const { + return programId_; } -int StartPlaylistRequest::getOffset()const -{ - return offset_; +void StartPlaylistRequest::setProgramId(const std::string &programId) { + programId_ = programId; + setParameter(std::string("ProgramId"), programId); } -void StartPlaylistRequest::setOffset(int offset) -{ - offset_ = offset; - setParameter("Offset", std::to_string(offset)); +int StartPlaylistRequest::getOffset() const { + return offset_; } -long StartPlaylistRequest::getOwnerId()const -{ - return ownerId_; +void StartPlaylistRequest::setOffset(int offset) { + offset_ = offset; + setParameter(std::string("Offset"), std::to_string(offset)); } -void StartPlaylistRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long StartPlaylistRequest::getOwnerId() const { + return ownerId_; +} + +void StartPlaylistRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/StartPlaylistResult.cc b/live/src/model/StartPlaylistResult.cc index e19e89c37..40bddb21c 100644 --- a/live/src/model/StartPlaylistResult.cc +++ b/live/src/model/StartPlaylistResult.cc @@ -40,24 +40,24 @@ void StartPlaylistResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto streamInfoNode = value["StreamInfo"]; - if(!streamInfoNode["DomainName"].isNull()) - streamInfo_.domainName = streamInfoNode["DomainName"].asString(); if(!streamInfoNode["AppName"].isNull()) streamInfo_.appName = streamInfoNode["AppName"].asString(); + if(!streamInfoNode["DomainName"].isNull()) + streamInfo_.domainName = streamInfoNode["DomainName"].asString(); if(!streamInfoNode["StreamName"].isNull()) streamInfo_.streamName = streamInfoNode["StreamName"].asString(); auto allStreamsNode = streamInfoNode["Streams"]["Stream"]; for (auto streamInfoNodeStreamsStream : allStreamsNode) { StreamInfo::Stream streamObject; - if(!streamInfoNodeStreamsStream["PullFlvUrl"].isNull()) - streamObject.pullFlvUrl = streamInfoNodeStreamsStream["PullFlvUrl"].asString(); - if(!streamInfoNodeStreamsStream["PullRtmpUrl"].isNull()) - streamObject.pullRtmpUrl = streamInfoNodeStreamsStream["PullRtmpUrl"].asString(); - if(!streamInfoNodeStreamsStream["PullM3U8Url"].isNull()) - streamObject.pullM3U8Url = streamInfoNodeStreamsStream["PullM3U8Url"].asString(); if(!streamInfoNodeStreamsStream["Quality"].isNull()) streamObject.quality = streamInfoNodeStreamsStream["Quality"].asString(); + if(!streamInfoNodeStreamsStream["PullFlvUrl"].isNull()) + streamObject.pullFlvUrl = streamInfoNodeStreamsStream["PullFlvUrl"].asString(); + if(!streamInfoNodeStreamsStream["PullM3U8Url"].isNull()) + streamObject.pullM3U8Url = streamInfoNodeStreamsStream["PullM3U8Url"].asString(); + if(!streamInfoNodeStreamsStream["PullRtmpUrl"].isNull()) + streamObject.pullRtmpUrl = streamInfoNodeStreamsStream["PullRtmpUrl"].asString(); streamInfo_.streams.push_back(streamObject); } if(!value["ProgramId"].isNull()) diff --git a/live/src/model/StopCasterRequest.cc b/live/src/model/StopCasterRequest.cc index 484662880..78153323b 100644 --- a/live/src/model/StopCasterRequest.cc +++ b/live/src/model/StopCasterRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::StopCasterRequest; - -StopCasterRequest::StopCasterRequest() : - RpcServiceRequest("live", "2016-11-01", "StopCaster") -{ - setMethod(HttpRequest::Method::Post); -} - -StopCasterRequest::~StopCasterRequest() -{} - -std::string StopCasterRequest::getCasterId()const -{ - return casterId_; + */ + +#include + +using AlibabaCloud::Live::Model::StopCasterRequest; + +StopCasterRequest::StopCasterRequest() + : RpcServiceRequest("live", "2016-11-01", "StopCaster") { + setMethod(HttpRequest::Method::Post); } -void StopCasterRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +StopCasterRequest::~StopCasterRequest() {} + +std::string StopCasterRequest::getCasterId() const { + return casterId_; } -long StopCasterRequest::getOwnerId()const -{ - return ownerId_; +void StopCasterRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void StopCasterRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long StopCasterRequest::getOwnerId() const { + return ownerId_; +} + +void StopCasterRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/StopCasterSceneRequest.cc b/live/src/model/StopCasterSceneRequest.cc index 357c46190..46e5e39c5 100644 --- a/live/src/model/StopCasterSceneRequest.cc +++ b/live/src/model/StopCasterSceneRequest.cc @@ -1,62 +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::StopCasterSceneRequest; - -StopCasterSceneRequest::StopCasterSceneRequest() : - RpcServiceRequest("live", "2016-11-01", "StopCasterScene") -{ - setMethod(HttpRequest::Method::Post); -} - -StopCasterSceneRequest::~StopCasterSceneRequest() -{} - -std::string StopCasterSceneRequest::getCasterId()const -{ - return casterId_; + */ + +#include + +using AlibabaCloud::Live::Model::StopCasterSceneRequest; + +StopCasterSceneRequest::StopCasterSceneRequest() + : RpcServiceRequest("live", "2016-11-01", "StopCasterScene") { + setMethod(HttpRequest::Method::Post); } -void StopCasterSceneRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +StopCasterSceneRequest::~StopCasterSceneRequest() {} + +std::string StopCasterSceneRequest::getCasterId() const { + return casterId_; } -long StopCasterSceneRequest::getOwnerId()const -{ - return ownerId_; +void StopCasterSceneRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void StopCasterSceneRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long StopCasterSceneRequest::getOwnerId() const { + return ownerId_; } -std::string StopCasterSceneRequest::getSceneId()const -{ - return sceneId_; +void StopCasterSceneRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void StopCasterSceneRequest::setSceneId(const std::string& sceneId) -{ - sceneId_ = sceneId; - setParameter("SceneId", sceneId); +std::string StopCasterSceneRequest::getSceneId() const { + return sceneId_; +} + +void StopCasterSceneRequest::setSceneId(const std::string &sceneId) { + sceneId_ = sceneId; + setParameter(std::string("SceneId"), sceneId); } diff --git a/live/src/model/StopLiveDomainRequest.cc b/live/src/model/StopLiveDomainRequest.cc index 66c631e42..6588355d2 100644 --- a/live/src/model/StopLiveDomainRequest.cc +++ b/live/src/model/StopLiveDomainRequest.cc @@ -1,62 +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::StopLiveDomainRequest; - -StopLiveDomainRequest::StopLiveDomainRequest() : - RpcServiceRequest("live", "2016-11-01", "StopLiveDomain") -{ - setMethod(HttpRequest::Method::Post); -} - -StopLiveDomainRequest::~StopLiveDomainRequest() -{} - -std::string StopLiveDomainRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::StopLiveDomainRequest; + +StopLiveDomainRequest::StopLiveDomainRequest() + : RpcServiceRequest("live", "2016-11-01", "StopLiveDomain") { + setMethod(HttpRequest::Method::Post); } -void StopLiveDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +StopLiveDomainRequest::~StopLiveDomainRequest() {} + +std::string StopLiveDomainRequest::getDomainName() const { + return domainName_; } -long StopLiveDomainRequest::getOwnerId()const -{ - return ownerId_; +void StopLiveDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void StopLiveDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long StopLiveDomainRequest::getOwnerId() const { + return ownerId_; } -std::string StopLiveDomainRequest::getSecurityToken()const -{ - return securityToken_; +void StopLiveDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void StopLiveDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string StopLiveDomainRequest::getSecurityToken() const { + return securityToken_; +} + +void StopLiveDomainRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } diff --git a/live/src/model/StopLiveStreamMonitorRequest.cc b/live/src/model/StopLiveStreamMonitorRequest.cc index f92d20fec..eb388fe29 100644 --- a/live/src/model/StopLiveStreamMonitorRequest.cc +++ b/live/src/model/StopLiveStreamMonitorRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::StopLiveStreamMonitorRequest; - -StopLiveStreamMonitorRequest::StopLiveStreamMonitorRequest() : - RpcServiceRequest("live", "2016-11-01", "StopLiveStreamMonitor") -{ - setMethod(HttpRequest::Method::Post); -} - -StopLiveStreamMonitorRequest::~StopLiveStreamMonitorRequest() -{} - -std::string StopLiveStreamMonitorRequest::getMonitorId()const -{ - return monitorId_; + */ + +#include + +using AlibabaCloud::Live::Model::StopLiveStreamMonitorRequest; + +StopLiveStreamMonitorRequest::StopLiveStreamMonitorRequest() + : RpcServiceRequest("live", "2016-11-01", "StopLiveStreamMonitor") { + setMethod(HttpRequest::Method::Post); } -void StopLiveStreamMonitorRequest::setMonitorId(const std::string& monitorId) -{ - monitorId_ = monitorId; - setParameter("MonitorId", monitorId); +StopLiveStreamMonitorRequest::~StopLiveStreamMonitorRequest() {} + +std::string StopLiveStreamMonitorRequest::getMonitorId() const { + return monitorId_; } -long StopLiveStreamMonitorRequest::getOwnerId()const -{ - return ownerId_; +void StopLiveStreamMonitorRequest::setMonitorId(const std::string &monitorId) { + monitorId_ = monitorId; + setParameter(std::string("MonitorId"), monitorId); } -void StopLiveStreamMonitorRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long StopLiveStreamMonitorRequest::getOwnerId() const { + return ownerId_; +} + +void StopLiveStreamMonitorRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/StopPlaylistRequest.cc b/live/src/model/StopPlaylistRequest.cc index f09090e64..42d844ad1 100644 --- a/live/src/model/StopPlaylistRequest.cc +++ b/live/src/model/StopPlaylistRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::StopPlaylistRequest; - -StopPlaylistRequest::StopPlaylistRequest() : - RpcServiceRequest("live", "2016-11-01", "StopPlaylist") -{ - setMethod(HttpRequest::Method::Post); -} - -StopPlaylistRequest::~StopPlaylistRequest() -{} - -std::string StopPlaylistRequest::getProgramId()const -{ - return programId_; + */ + +#include + +using AlibabaCloud::Live::Model::StopPlaylistRequest; + +StopPlaylistRequest::StopPlaylistRequest() + : RpcServiceRequest("live", "2016-11-01", "StopPlaylist") { + setMethod(HttpRequest::Method::Post); } -void StopPlaylistRequest::setProgramId(const std::string& programId) -{ - programId_ = programId; - setParameter("ProgramId", programId); +StopPlaylistRequest::~StopPlaylistRequest() {} + +std::string StopPlaylistRequest::getProgramId() const { + return programId_; } -long StopPlaylistRequest::getOwnerId()const -{ - return ownerId_; +void StopPlaylistRequest::setProgramId(const std::string &programId) { + programId_ = programId; + setParameter(std::string("ProgramId"), programId); } -void StopPlaylistRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long StopPlaylistRequest::getOwnerId() const { + return ownerId_; +} + +void StopPlaylistRequest::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 index f688dc3f4..36da62ed5 100644 --- a/live/src/model/TagLiveResourcesRequest.cc +++ b/live/src/model/TagLiveResourcesRequest.cc @@ -1,80 +1,67 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -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_; + */ + +#include + +using AlibabaCloud::Live::Model::TagLiveResourcesRequest; + +TagLiveResourcesRequest::TagLiveResourcesRequest() + : RpcServiceRequest("live", "2016-11-01", "TagLiveResources") { + setMethod(HttpRequest::Method::Post); } -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 = "Tag." + std::to_string(dep1 + 1); - setParameter(tagObjStr + ".Key", tagObj.key); - setParameter(tagObjStr + ".Value", tagObj.value); - } +TagLiveResourcesRequest::~TagLiveResourcesRequest() {} + +std::vector TagLiveResourcesRequest::getTag() const { + return tag_; } -std::vector TagLiveResourcesRequest::getResourceId()const -{ - return resourceId_; +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); + } } -void TagLiveResourcesRequest::setResourceId(const std::vector& resourceId) -{ - resourceId_ = resourceId; - for(int dep1 = 0; dep1!= resourceId.size(); dep1++) { - setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1)); - } +std::vector TagLiveResourcesRequest::getResourceId() const { + return resourceId_; } -long TagLiveResourcesRequest::getOwnerId()const -{ - return ownerId_; +void TagLiveResourcesRequest::setResourceId(const std::vector &resourceId) { + resourceId_ = resourceId; } -void TagLiveResourcesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long TagLiveResourcesRequest::getOwnerId() const { + return ownerId_; } -std::string TagLiveResourcesRequest::getResourceType()const -{ - return resourceType_; +void TagLiveResourcesRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void TagLiveResourcesRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); +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 index 3a334c777..de5af7e1f 100644 --- a/live/src/model/UnTagLiveResourcesRequest.cc +++ b/live/src/model/UnTagLiveResourcesRequest.cc @@ -1,88 +1,70 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -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_; + */ + +#include + +using AlibabaCloud::Live::Model::UnTagLiveResourcesRequest; + +UnTagLiveResourcesRequest::UnTagLiveResourcesRequest() + : RpcServiceRequest("live", "2016-11-01", "UnTagLiveResources") { + setMethod(HttpRequest::Method::Post); } -void UnTagLiveResourcesRequest::setAll(bool all) -{ - all_ = all; - setParameter("All", all ? "true" : "false"); +UnTagLiveResourcesRequest::~UnTagLiveResourcesRequest() {} + +bool UnTagLiveResourcesRequest::getAll() const { + return all_; } -std::vector UnTagLiveResourcesRequest::getResourceId()const -{ - return resourceId_; +void UnTagLiveResourcesRequest::setAll(bool all) { + all_ = all; + setParameter(std::string("All"), all ? "true" : "false"); } -void UnTagLiveResourcesRequest::setResourceId(const std::vector& resourceId) -{ - resourceId_ = resourceId; - for(int dep1 = 0; dep1!= resourceId.size(); dep1++) { - setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1)); - } +std::vector UnTagLiveResourcesRequest::getResourceId() const { + return resourceId_; } -long UnTagLiveResourcesRequest::getOwnerId()const -{ - return ownerId_; +void UnTagLiveResourcesRequest::setResourceId(const std::vector &resourceId) { + resourceId_ = resourceId; } -void UnTagLiveResourcesRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UnTagLiveResourcesRequest::getOwnerId() const { + return ownerId_; } -std::string UnTagLiveResourcesRequest::getResourceType()const -{ - return resourceType_; +void UnTagLiveResourcesRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void UnTagLiveResourcesRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); +std::string UnTagLiveResourcesRequest::getResourceType() const { + return resourceType_; } -std::vector UnTagLiveResourcesRequest::getTagKey()const -{ - return tagKey_; +void UnTagLiveResourcesRequest::setResourceType(const std::string &resourceType) { + resourceType_ = resourceType; + setParameter(std::string("ResourceType"), resourceType); } -void UnTagLiveResourcesRequest::setTagKey(const std::vector& tagKey) -{ - tagKey_ = tagKey; - for(int dep1 = 0; dep1!= tagKey.size(); dep1++) { - setParameter("TagKey."+ std::to_string(dep1), tagKey.at(dep1)); - } +std::vector UnTagLiveResourcesRequest::getTagKey() const { + return tagKey_; +} + +void UnTagLiveResourcesRequest::setTagKey(const std::vector &tagKey) { + tagKey_ = tagKey; } diff --git a/live/src/model/UpdateCasterSceneAudioRequest.cc b/live/src/model/UpdateCasterSceneAudioRequest.cc index e2f93d12f..291c0bb8c 100644 --- a/live/src/model/UpdateCasterSceneAudioRequest.cc +++ b/live/src/model/UpdateCasterSceneAudioRequest.cc @@ -1,103 +1,86 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::UpdateCasterSceneAudioRequest; - -UpdateCasterSceneAudioRequest::UpdateCasterSceneAudioRequest() : - RpcServiceRequest("live", "2016-11-01", "UpdateCasterSceneAudio") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateCasterSceneAudioRequest::~UpdateCasterSceneAudioRequest() -{} - -std::string UpdateCasterSceneAudioRequest::getCasterId()const -{ - return casterId_; + */ + +#include + +using AlibabaCloud::Live::Model::UpdateCasterSceneAudioRequest; + +UpdateCasterSceneAudioRequest::UpdateCasterSceneAudioRequest() + : RpcServiceRequest("live", "2016-11-01", "UpdateCasterSceneAudio") { + setMethod(HttpRequest::Method::Post); } -void UpdateCasterSceneAudioRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +UpdateCasterSceneAudioRequest::~UpdateCasterSceneAudioRequest() {} + +std::string UpdateCasterSceneAudioRequest::getCasterId() const { + return casterId_; } -long UpdateCasterSceneAudioRequest::getOwnerId()const -{ - return ownerId_; +void UpdateCasterSceneAudioRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void UpdateCasterSceneAudioRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UpdateCasterSceneAudioRequest::getOwnerId() const { + return ownerId_; } -std::vector UpdateCasterSceneAudioRequest::getAudioLayer()const -{ - return audioLayer_; +void UpdateCasterSceneAudioRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void UpdateCasterSceneAudioRequest::setAudioLayer(const std::vector& audioLayer) -{ - audioLayer_ = audioLayer; - for(int dep1 = 0; dep1!= audioLayer.size(); dep1++) { - auto audioLayerObj = audioLayer.at(dep1); - std::string audioLayerObjStr = "AudioLayer." + std::to_string(dep1 + 1); - setParameter(audioLayerObjStr + ".VolumeRate", std::to_string(audioLayerObj.volumeRate)); - setParameter(audioLayerObjStr + ".ValidChannel", audioLayerObj.validChannel); - setParameter(audioLayerObjStr + ".FixedDelayDuration", std::to_string(audioLayerObj.fixedDelayDuration)); - } +std::vector UpdateCasterSceneAudioRequest::getAudioLayer() const { + return audioLayer_; } -std::string UpdateCasterSceneAudioRequest::getSceneId()const -{ - return sceneId_; +void UpdateCasterSceneAudioRequest::setAudioLayer(const std::vector &audioLayer) { + audioLayer_ = audioLayer; + for(int dep1 = 0; dep1 != audioLayer.size(); dep1++) { + auto audioLayerObj = audioLayer.at(dep1); + std::string audioLayerObjStr = std::string("AudioLayer") + "." + std::to_string(dep1 + 1); + setParameter(audioLayerObjStr + ".VolumeRate", std::to_string(audioLayerObj.volumeRate)); + setParameter(audioLayerObjStr + ".FixedDelayDuration", std::to_string(audioLayerObj.fixedDelayDuration)); + setParameter(audioLayerObjStr + ".ValidChannel", audioLayerObj.validChannel); + } } -void UpdateCasterSceneAudioRequest::setSceneId(const std::string& sceneId) -{ - sceneId_ = sceneId; - setParameter("SceneId", sceneId); +std::string UpdateCasterSceneAudioRequest::getSceneId() const { + return sceneId_; } -std::vector UpdateCasterSceneAudioRequest::getMixList()const -{ - return mixList_; +void UpdateCasterSceneAudioRequest::setSceneId(const std::string &sceneId) { + sceneId_ = sceneId; + setParameter(std::string("SceneId"), sceneId); } -void UpdateCasterSceneAudioRequest::setMixList(const std::vector& mixList) -{ - mixList_ = mixList; - for(int dep1 = 0; dep1!= mixList.size(); dep1++) { - setParameter("MixList."+ std::to_string(dep1), mixList.at(dep1)); - } +std::vector UpdateCasterSceneAudioRequest::getMixList() const { + return mixList_; } -int UpdateCasterSceneAudioRequest::getFollowEnable()const -{ - return followEnable_; +void UpdateCasterSceneAudioRequest::setMixList(const std::vector &mixList) { + mixList_ = mixList; } -void UpdateCasterSceneAudioRequest::setFollowEnable(int followEnable) -{ - followEnable_ = followEnable; - setParameter("FollowEnable", std::to_string(followEnable)); +int UpdateCasterSceneAudioRequest::getFollowEnable() const { + return followEnable_; +} + +void UpdateCasterSceneAudioRequest::setFollowEnable(int followEnable) { + followEnable_ = followEnable; + setParameter(std::string("FollowEnable"), std::to_string(followEnable)); } diff --git a/live/src/model/UpdateCasterSceneConfigRequest.cc b/live/src/model/UpdateCasterSceneConfigRequest.cc index 769aa4f55..b6dde58d4 100644 --- a/live/src/model/UpdateCasterSceneConfigRequest.cc +++ b/live/src/model/UpdateCasterSceneConfigRequest.cc @@ -1,86 +1,71 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::UpdateCasterSceneConfigRequest; - -UpdateCasterSceneConfigRequest::UpdateCasterSceneConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "UpdateCasterSceneConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateCasterSceneConfigRequest::~UpdateCasterSceneConfigRequest() -{} - -std::string UpdateCasterSceneConfigRequest::getLayoutId()const -{ - return layoutId_; + */ + +#include + +using AlibabaCloud::Live::Model::UpdateCasterSceneConfigRequest; + +UpdateCasterSceneConfigRequest::UpdateCasterSceneConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "UpdateCasterSceneConfig") { + setMethod(HttpRequest::Method::Post); } -void UpdateCasterSceneConfigRequest::setLayoutId(const std::string& layoutId) -{ - layoutId_ = layoutId; - setParameter("LayoutId", layoutId); +UpdateCasterSceneConfigRequest::~UpdateCasterSceneConfigRequest() {} + +std::string UpdateCasterSceneConfigRequest::getLayoutId() const { + return layoutId_; } -std::vector UpdateCasterSceneConfigRequest::getComponentId()const -{ - return componentId_; +void UpdateCasterSceneConfigRequest::setLayoutId(const std::string &layoutId) { + layoutId_ = layoutId; + setParameter(std::string("LayoutId"), layoutId); } -void UpdateCasterSceneConfigRequest::setComponentId(const std::vector& componentId) -{ - componentId_ = componentId; - for(int dep1 = 0; dep1!= componentId.size(); dep1++) { - setParameter("ComponentId."+ std::to_string(dep1), componentId.at(dep1)); - } +std::vector UpdateCasterSceneConfigRequest::getComponentId() const { + return componentId_; } -std::string UpdateCasterSceneConfigRequest::getCasterId()const -{ - return casterId_; +void UpdateCasterSceneConfigRequest::setComponentId(const std::vector &componentId) { + componentId_ = componentId; } -void UpdateCasterSceneConfigRequest::setCasterId(const std::string& casterId) -{ - casterId_ = casterId; - setParameter("CasterId", casterId); +std::string UpdateCasterSceneConfigRequest::getCasterId() const { + return casterId_; } -long UpdateCasterSceneConfigRequest::getOwnerId()const -{ - return ownerId_; +void UpdateCasterSceneConfigRequest::setCasterId(const std::string &casterId) { + casterId_ = casterId; + setParameter(std::string("CasterId"), casterId); } -void UpdateCasterSceneConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UpdateCasterSceneConfigRequest::getOwnerId() const { + return ownerId_; } -std::string UpdateCasterSceneConfigRequest::getSceneId()const -{ - return sceneId_; +void UpdateCasterSceneConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void UpdateCasterSceneConfigRequest::setSceneId(const std::string& sceneId) -{ - sceneId_ = sceneId; - setParameter("SceneId", sceneId); +std::string UpdateCasterSceneConfigRequest::getSceneId() const { + return sceneId_; +} + +void UpdateCasterSceneConfigRequest::setSceneId(const std::string &sceneId) { + sceneId_ = sceneId; + setParameter(std::string("SceneId"), sceneId); } diff --git a/live/src/model/UpdateLiveAppSnapshotConfigRequest.cc b/live/src/model/UpdateLiveAppSnapshotConfigRequest.cc index 4a670f4e6..105d71d05 100644 --- a/live/src/model/UpdateLiveAppSnapshotConfigRequest.cc +++ b/live/src/model/UpdateLiveAppSnapshotConfigRequest.cc @@ -1,139 +1,117 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::UpdateLiveAppSnapshotConfigRequest; - -UpdateLiveAppSnapshotConfigRequest::UpdateLiveAppSnapshotConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "UpdateLiveAppSnapshotConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateLiveAppSnapshotConfigRequest::~UpdateLiveAppSnapshotConfigRequest() -{} - -int UpdateLiveAppSnapshotConfigRequest::getTimeInterval()const -{ - return timeInterval_; + */ + +#include + +using AlibabaCloud::Live::Model::UpdateLiveAppSnapshotConfigRequest; + +UpdateLiveAppSnapshotConfigRequest::UpdateLiveAppSnapshotConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "UpdateLiveAppSnapshotConfig") { + setMethod(HttpRequest::Method::Post); } -void UpdateLiveAppSnapshotConfigRequest::setTimeInterval(int timeInterval) -{ - timeInterval_ = timeInterval; - setParameter("TimeInterval", std::to_string(timeInterval)); +UpdateLiveAppSnapshotConfigRequest::~UpdateLiveAppSnapshotConfigRequest() {} + +int UpdateLiveAppSnapshotConfigRequest::getTimeInterval() const { + return timeInterval_; } -std::string UpdateLiveAppSnapshotConfigRequest::getOssEndpoint()const -{ - return ossEndpoint_; +void UpdateLiveAppSnapshotConfigRequest::setTimeInterval(int timeInterval) { + timeInterval_ = timeInterval; + setParameter(std::string("TimeInterval"), std::to_string(timeInterval)); } -void UpdateLiveAppSnapshotConfigRequest::setOssEndpoint(const std::string& ossEndpoint) -{ - ossEndpoint_ = ossEndpoint; - setParameter("OssEndpoint", ossEndpoint); +std::string UpdateLiveAppSnapshotConfigRequest::getOssEndpoint() const { + return ossEndpoint_; } -std::string UpdateLiveAppSnapshotConfigRequest::getAppName()const -{ - return appName_; +void UpdateLiveAppSnapshotConfigRequest::setOssEndpoint(const std::string &ossEndpoint) { + ossEndpoint_ = ossEndpoint; + setParameter(std::string("OssEndpoint"), ossEndpoint); } -void UpdateLiveAppSnapshotConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string UpdateLiveAppSnapshotConfigRequest::getAppName() const { + return appName_; } -std::string UpdateLiveAppSnapshotConfigRequest::getSecurityToken()const -{ - return securityToken_; +void UpdateLiveAppSnapshotConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void UpdateLiveAppSnapshotConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string UpdateLiveAppSnapshotConfigRequest::getSecurityToken() const { + return securityToken_; } -std::string UpdateLiveAppSnapshotConfigRequest::getOverwriteOssObject()const -{ - return overwriteOssObject_; +void UpdateLiveAppSnapshotConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void UpdateLiveAppSnapshotConfigRequest::setOverwriteOssObject(const std::string& overwriteOssObject) -{ - overwriteOssObject_ = overwriteOssObject; - setParameter("OverwriteOssObject", overwriteOssObject); +std::string UpdateLiveAppSnapshotConfigRequest::getOverwriteOssObject() const { + return overwriteOssObject_; } -std::string UpdateLiveAppSnapshotConfigRequest::getOssBucket()const -{ - return ossBucket_; +void UpdateLiveAppSnapshotConfigRequest::setOverwriteOssObject(const std::string &overwriteOssObject) { + overwriteOssObject_ = overwriteOssObject; + setParameter(std::string("OverwriteOssObject"), overwriteOssObject); } -void UpdateLiveAppSnapshotConfigRequest::setOssBucket(const std::string& ossBucket) -{ - ossBucket_ = ossBucket; - setParameter("OssBucket", ossBucket); +std::string UpdateLiveAppSnapshotConfigRequest::getOssBucket() const { + return ossBucket_; } -std::string UpdateLiveAppSnapshotConfigRequest::getDomainName()const -{ - return domainName_; +void UpdateLiveAppSnapshotConfigRequest::setOssBucket(const std::string &ossBucket) { + ossBucket_ = ossBucket; + setParameter(std::string("OssBucket"), ossBucket); } -void UpdateLiveAppSnapshotConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string UpdateLiveAppSnapshotConfigRequest::getDomainName() const { + return domainName_; } -std::string UpdateLiveAppSnapshotConfigRequest::getSequenceOssObject()const -{ - return sequenceOssObject_; +void UpdateLiveAppSnapshotConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void UpdateLiveAppSnapshotConfigRequest::setSequenceOssObject(const std::string& sequenceOssObject) -{ - sequenceOssObject_ = sequenceOssObject; - setParameter("SequenceOssObject", sequenceOssObject); +std::string UpdateLiveAppSnapshotConfigRequest::getSequenceOssObject() const { + return sequenceOssObject_; } -long UpdateLiveAppSnapshotConfigRequest::getOwnerId()const -{ - return ownerId_; +void UpdateLiveAppSnapshotConfigRequest::setSequenceOssObject(const std::string &sequenceOssObject) { + sequenceOssObject_ = sequenceOssObject; + setParameter(std::string("SequenceOssObject"), sequenceOssObject); } -void UpdateLiveAppSnapshotConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UpdateLiveAppSnapshotConfigRequest::getOwnerId() const { + return ownerId_; } -std::string UpdateLiveAppSnapshotConfigRequest::getCallback()const -{ - return callback_; +void UpdateLiveAppSnapshotConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void UpdateLiveAppSnapshotConfigRequest::setCallback(const std::string& callback) -{ - callback_ = callback; - setParameter("Callback", callback); +std::string UpdateLiveAppSnapshotConfigRequest::getCallback() const { + return callback_; +} + +void UpdateLiveAppSnapshotConfigRequest::setCallback(const std::string &callback) { + callback_ = callback; + setParameter(std::string("Callback"), callback); } diff --git a/live/src/model/UpdateLiveAudioAuditConfigRequest.cc b/live/src/model/UpdateLiveAudioAuditConfigRequest.cc index 69819e035..b3bea4509 100644 --- a/live/src/model/UpdateLiveAudioAuditConfigRequest.cc +++ b/live/src/model/UpdateLiveAudioAuditConfigRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::UpdateLiveAudioAuditConfigRequest; - -UpdateLiveAudioAuditConfigRequest::UpdateLiveAudioAuditConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "UpdateLiveAudioAuditConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateLiveAudioAuditConfigRequest::~UpdateLiveAudioAuditConfigRequest() -{} - -std::string UpdateLiveAudioAuditConfigRequest::getOssEndpoint()const -{ - return ossEndpoint_; + */ + +#include + +using AlibabaCloud::Live::Model::UpdateLiveAudioAuditConfigRequest; + +UpdateLiveAudioAuditConfigRequest::UpdateLiveAudioAuditConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "UpdateLiveAudioAuditConfig") { + setMethod(HttpRequest::Method::Post); } -void UpdateLiveAudioAuditConfigRequest::setOssEndpoint(const std::string& ossEndpoint) -{ - ossEndpoint_ = ossEndpoint; - setParameter("OssEndpoint", ossEndpoint); +UpdateLiveAudioAuditConfigRequest::~UpdateLiveAudioAuditConfigRequest() {} + +std::string UpdateLiveAudioAuditConfigRequest::getOssEndpoint() const { + return ossEndpoint_; } -std::string UpdateLiveAudioAuditConfigRequest::getOssObject()const -{ - return ossObject_; +void UpdateLiveAudioAuditConfigRequest::setOssEndpoint(const std::string &ossEndpoint) { + ossEndpoint_ = ossEndpoint; + setParameter(std::string("OssEndpoint"), ossEndpoint); } -void UpdateLiveAudioAuditConfigRequest::setOssObject(const std::string& ossObject) -{ - ossObject_ = ossObject; - setParameter("OssObject", ossObject); +std::string UpdateLiveAudioAuditConfigRequest::getOssObject() const { + return ossObject_; } -std::string UpdateLiveAudioAuditConfigRequest::getAppName()const -{ - return appName_; +void UpdateLiveAudioAuditConfigRequest::setOssObject(const std::string &ossObject) { + ossObject_ = ossObject; + setParameter(std::string("OssObject"), ossObject); } -void UpdateLiveAudioAuditConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string UpdateLiveAudioAuditConfigRequest::getAppName() const { + return appName_; } -std::string UpdateLiveAudioAuditConfigRequest::getStreamName()const -{ - return streamName_; +void UpdateLiveAudioAuditConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void UpdateLiveAudioAuditConfigRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string UpdateLiveAudioAuditConfigRequest::getStreamName() const { + return streamName_; } -std::string UpdateLiveAudioAuditConfigRequest::getOssBucket()const -{ - return ossBucket_; +void UpdateLiveAudioAuditConfigRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void UpdateLiveAudioAuditConfigRequest::setOssBucket(const std::string& ossBucket) -{ - ossBucket_ = ossBucket; - setParameter("OssBucket", ossBucket); +std::string UpdateLiveAudioAuditConfigRequest::getOssBucket() const { + return ossBucket_; } -std::string UpdateLiveAudioAuditConfigRequest::getDomainName()const -{ - return domainName_; +void UpdateLiveAudioAuditConfigRequest::setOssBucket(const std::string &ossBucket) { + ossBucket_ = ossBucket; + setParameter(std::string("OssBucket"), ossBucket); } -void UpdateLiveAudioAuditConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string UpdateLiveAudioAuditConfigRequest::getDomainName() const { + return domainName_; } -long UpdateLiveAudioAuditConfigRequest::getOwnerId()const -{ - return ownerId_; +void UpdateLiveAudioAuditConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void UpdateLiveAudioAuditConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UpdateLiveAudioAuditConfigRequest::getOwnerId() const { + return ownerId_; } -std::string UpdateLiveAudioAuditConfigRequest::getBizType()const -{ - return bizType_; +void UpdateLiveAudioAuditConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void UpdateLiveAudioAuditConfigRequest::setBizType(const std::string& bizType) -{ - bizType_ = bizType; - setParameter("BizType", bizType); +std::string UpdateLiveAudioAuditConfigRequest::getBizType() const { + return bizType_; +} + +void UpdateLiveAudioAuditConfigRequest::setBizType(const std::string &bizType) { + bizType_ = bizType; + setParameter(std::string("BizType"), bizType); } diff --git a/live/src/model/UpdateLiveAudioAuditNotifyConfigRequest.cc b/live/src/model/UpdateLiveAudioAuditNotifyConfigRequest.cc index 68576165f..b9c38a5b4 100644 --- a/live/src/model/UpdateLiveAudioAuditNotifyConfigRequest.cc +++ b/live/src/model/UpdateLiveAudioAuditNotifyConfigRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::UpdateLiveAudioAuditNotifyConfigRequest; - -UpdateLiveAudioAuditNotifyConfigRequest::UpdateLiveAudioAuditNotifyConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "UpdateLiveAudioAuditNotifyConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateLiveAudioAuditNotifyConfigRequest::~UpdateLiveAudioAuditNotifyConfigRequest() -{} - -std::string UpdateLiveAudioAuditNotifyConfigRequest::getDomainName()const -{ - return domainName_; + */ + +#include + +using AlibabaCloud::Live::Model::UpdateLiveAudioAuditNotifyConfigRequest; + +UpdateLiveAudioAuditNotifyConfigRequest::UpdateLiveAudioAuditNotifyConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "UpdateLiveAudioAuditNotifyConfig") { + setMethod(HttpRequest::Method::Post); } -void UpdateLiveAudioAuditNotifyConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +UpdateLiveAudioAuditNotifyConfigRequest::~UpdateLiveAudioAuditNotifyConfigRequest() {} + +std::string UpdateLiveAudioAuditNotifyConfigRequest::getDomainName() const { + return domainName_; } -long UpdateLiveAudioAuditNotifyConfigRequest::getOwnerId()const -{ - return ownerId_; +void UpdateLiveAudioAuditNotifyConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void UpdateLiveAudioAuditNotifyConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UpdateLiveAudioAuditNotifyConfigRequest::getOwnerId() const { + return ownerId_; } -std::string UpdateLiveAudioAuditNotifyConfigRequest::getCallbackTemplate()const -{ - return callbackTemplate_; +void UpdateLiveAudioAuditNotifyConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void UpdateLiveAudioAuditNotifyConfigRequest::setCallbackTemplate(const std::string& callbackTemplate) -{ - callbackTemplate_ = callbackTemplate; - setParameter("CallbackTemplate", callbackTemplate); +std::string UpdateLiveAudioAuditNotifyConfigRequest::getCallbackTemplate() const { + return callbackTemplate_; } -std::string UpdateLiveAudioAuditNotifyConfigRequest::getCallback()const -{ - return callback_; +void UpdateLiveAudioAuditNotifyConfigRequest::setCallbackTemplate(const std::string &callbackTemplate) { + callbackTemplate_ = callbackTemplate; + setParameter(std::string("CallbackTemplate"), callbackTemplate); } -void UpdateLiveAudioAuditNotifyConfigRequest::setCallback(const std::string& callback) -{ - callback_ = callback; - setParameter("Callback", callback); +std::string UpdateLiveAudioAuditNotifyConfigRequest::getCallback() const { + return callback_; +} + +void UpdateLiveAudioAuditNotifyConfigRequest::setCallback(const std::string &callback) { + callback_ = callback; + setParameter(std::string("Callback"), callback); } diff --git a/live/src/model/UpdateLiveDetectNotifyConfigRequest.cc b/live/src/model/UpdateLiveDetectNotifyConfigRequest.cc index 95aab2fbe..242b9598f 100644 --- a/live/src/model/UpdateLiveDetectNotifyConfigRequest.cc +++ b/live/src/model/UpdateLiveDetectNotifyConfigRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::UpdateLiveDetectNotifyConfigRequest; - -UpdateLiveDetectNotifyConfigRequest::UpdateLiveDetectNotifyConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "UpdateLiveDetectNotifyConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateLiveDetectNotifyConfigRequest::~UpdateLiveDetectNotifyConfigRequest() -{} - -std::string UpdateLiveDetectNotifyConfigRequest::getSecurityToken()const -{ - return securityToken_; + */ + +#include + +using AlibabaCloud::Live::Model::UpdateLiveDetectNotifyConfigRequest; + +UpdateLiveDetectNotifyConfigRequest::UpdateLiveDetectNotifyConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "UpdateLiveDetectNotifyConfig") { + setMethod(HttpRequest::Method::Post); } -void UpdateLiveDetectNotifyConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +UpdateLiveDetectNotifyConfigRequest::~UpdateLiveDetectNotifyConfigRequest() {} + +std::string UpdateLiveDetectNotifyConfigRequest::getSecurityToken() const { + return securityToken_; } -std::string UpdateLiveDetectNotifyConfigRequest::getNotifyUrl()const -{ - return notifyUrl_; +void UpdateLiveDetectNotifyConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void UpdateLiveDetectNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl) -{ - notifyUrl_ = notifyUrl; - setParameter("NotifyUrl", notifyUrl); +std::string UpdateLiveDetectNotifyConfigRequest::getNotifyUrl() const { + return notifyUrl_; } -std::string UpdateLiveDetectNotifyConfigRequest::getDomainName()const -{ - return domainName_; +void UpdateLiveDetectNotifyConfigRequest::setNotifyUrl(const std::string ¬ifyUrl) { + notifyUrl_ = notifyUrl; + setParameter(std::string("NotifyUrl"), notifyUrl); } -void UpdateLiveDetectNotifyConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string UpdateLiveDetectNotifyConfigRequest::getDomainName() const { + return domainName_; } -long UpdateLiveDetectNotifyConfigRequest::getOwnerId()const -{ - return ownerId_; +void UpdateLiveDetectNotifyConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void UpdateLiveDetectNotifyConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UpdateLiveDetectNotifyConfigRequest::getOwnerId() const { + return ownerId_; +} + +void UpdateLiveDetectNotifyConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/UpdateLivePullStreamInfoConfigRequest.cc b/live/src/model/UpdateLivePullStreamInfoConfigRequest.cc index c20810f64..cbac134c4 100644 --- a/live/src/model/UpdateLivePullStreamInfoConfigRequest.cc +++ b/live/src/model/UpdateLivePullStreamInfoConfigRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::UpdateLivePullStreamInfoConfigRequest; - -UpdateLivePullStreamInfoConfigRequest::UpdateLivePullStreamInfoConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "UpdateLivePullStreamInfoConfig") -{ - setMethod(HttpRequest::Method::Get); -} - -UpdateLivePullStreamInfoConfigRequest::~UpdateLivePullStreamInfoConfigRequest() -{} - -std::string UpdateLivePullStreamInfoConfigRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::Live::Model::UpdateLivePullStreamInfoConfigRequest; + +UpdateLivePullStreamInfoConfigRequest::UpdateLivePullStreamInfoConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "UpdateLivePullStreamInfoConfig") { + setMethod(HttpRequest::Method::Get); } -void UpdateLivePullStreamInfoConfigRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +UpdateLivePullStreamInfoConfigRequest::~UpdateLivePullStreamInfoConfigRequest() {} + +std::string UpdateLivePullStreamInfoConfigRequest::getStartTime() const { + return startTime_; } -std::string UpdateLivePullStreamInfoConfigRequest::getAppName()const -{ - return appName_; +void UpdateLivePullStreamInfoConfigRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void UpdateLivePullStreamInfoConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string UpdateLivePullStreamInfoConfigRequest::getAppName() const { + return appName_; } -std::string UpdateLivePullStreamInfoConfigRequest::getStreamName()const -{ - return streamName_; +void UpdateLivePullStreamInfoConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void UpdateLivePullStreamInfoConfigRequest::setStreamName(const std::string& streamName) -{ - streamName_ = streamName; - setParameter("StreamName", streamName); +std::string UpdateLivePullStreamInfoConfigRequest::getStreamName() const { + return streamName_; } -std::string UpdateLivePullStreamInfoConfigRequest::getPullAlways()const -{ - return pullAlways_; +void UpdateLivePullStreamInfoConfigRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); } -void UpdateLivePullStreamInfoConfigRequest::setPullAlways(const std::string& pullAlways) -{ - pullAlways_ = pullAlways; - setParameter("PullAlways", pullAlways); +std::string UpdateLivePullStreamInfoConfigRequest::getPullAlways() const { + return pullAlways_; } -std::string UpdateLivePullStreamInfoConfigRequest::getDomainName()const -{ - return domainName_; +void UpdateLivePullStreamInfoConfigRequest::setPullAlways(const std::string &pullAlways) { + pullAlways_ = pullAlways; + setParameter(std::string("PullAlways"), pullAlways); } -void UpdateLivePullStreamInfoConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string UpdateLivePullStreamInfoConfigRequest::getDomainName() const { + return domainName_; } -std::string UpdateLivePullStreamInfoConfigRequest::getEndTime()const -{ - return endTime_; +void UpdateLivePullStreamInfoConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void UpdateLivePullStreamInfoConfigRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string UpdateLivePullStreamInfoConfigRequest::getEndTime() const { + return endTime_; } -long UpdateLivePullStreamInfoConfigRequest::getOwnerId()const -{ - return ownerId_; +void UpdateLivePullStreamInfoConfigRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void UpdateLivePullStreamInfoConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UpdateLivePullStreamInfoConfigRequest::getOwnerId() const { + return ownerId_; } -std::string UpdateLivePullStreamInfoConfigRequest::getSourceUrl()const -{ - return sourceUrl_; +void UpdateLivePullStreamInfoConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void UpdateLivePullStreamInfoConfigRequest::setSourceUrl(const std::string& sourceUrl) -{ - sourceUrl_ = sourceUrl; - setParameter("SourceUrl", sourceUrl); +std::string UpdateLivePullStreamInfoConfigRequest::getSourceUrl() const { + return sourceUrl_; +} + +void UpdateLivePullStreamInfoConfigRequest::setSourceUrl(const std::string &sourceUrl) { + sourceUrl_ = sourceUrl; + setParameter(std::string("SourceUrl"), sourceUrl); } diff --git a/live/src/model/UpdateLiveRecordNotifyConfigRequest.cc b/live/src/model/UpdateLiveRecordNotifyConfigRequest.cc index c9d73d331..639cef282 100644 --- a/live/src/model/UpdateLiveRecordNotifyConfigRequest.cc +++ b/live/src/model/UpdateLiveRecordNotifyConfigRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::UpdateLiveRecordNotifyConfigRequest; - -UpdateLiveRecordNotifyConfigRequest::UpdateLiveRecordNotifyConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "UpdateLiveRecordNotifyConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateLiveRecordNotifyConfigRequest::~UpdateLiveRecordNotifyConfigRequest() -{} - -std::string UpdateLiveRecordNotifyConfigRequest::getOnDemandUrl()const -{ - return onDemandUrl_; + */ + +#include + +using AlibabaCloud::Live::Model::UpdateLiveRecordNotifyConfigRequest; + +UpdateLiveRecordNotifyConfigRequest::UpdateLiveRecordNotifyConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "UpdateLiveRecordNotifyConfig") { + setMethod(HttpRequest::Method::Post); } -void UpdateLiveRecordNotifyConfigRequest::setOnDemandUrl(const std::string& onDemandUrl) -{ - onDemandUrl_ = onDemandUrl; - setParameter("OnDemandUrl", onDemandUrl); +UpdateLiveRecordNotifyConfigRequest::~UpdateLiveRecordNotifyConfigRequest() {} + +std::string UpdateLiveRecordNotifyConfigRequest::getOnDemandUrl() const { + return onDemandUrl_; } -std::string UpdateLiveRecordNotifyConfigRequest::getSecurityToken()const -{ - return securityToken_; +void UpdateLiveRecordNotifyConfigRequest::setOnDemandUrl(const std::string &onDemandUrl) { + onDemandUrl_ = onDemandUrl; + setParameter(std::string("OnDemandUrl"), onDemandUrl); } -void UpdateLiveRecordNotifyConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string UpdateLiveRecordNotifyConfigRequest::getSecurityToken() const { + return securityToken_; } -std::string UpdateLiveRecordNotifyConfigRequest::getNotifyUrl()const -{ - return notifyUrl_; +void UpdateLiveRecordNotifyConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void UpdateLiveRecordNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl) -{ - notifyUrl_ = notifyUrl; - setParameter("NotifyUrl", notifyUrl); +std::string UpdateLiveRecordNotifyConfigRequest::getNotifyUrl() const { + return notifyUrl_; } -bool UpdateLiveRecordNotifyConfigRequest::getNeedStatusNotify()const -{ - return needStatusNotify_; +void UpdateLiveRecordNotifyConfigRequest::setNotifyUrl(const std::string ¬ifyUrl) { + notifyUrl_ = notifyUrl; + setParameter(std::string("NotifyUrl"), notifyUrl); } -void UpdateLiveRecordNotifyConfigRequest::setNeedStatusNotify(bool needStatusNotify) -{ - needStatusNotify_ = needStatusNotify; - setParameter("NeedStatusNotify", needStatusNotify ? "true" : "false"); +bool UpdateLiveRecordNotifyConfigRequest::getNeedStatusNotify() const { + return needStatusNotify_; } -std::string UpdateLiveRecordNotifyConfigRequest::getDomainName()const -{ - return domainName_; +void UpdateLiveRecordNotifyConfigRequest::setNeedStatusNotify(bool needStatusNotify) { + needStatusNotify_ = needStatusNotify; + setParameter(std::string("NeedStatusNotify"), needStatusNotify ? "true" : "false"); } -void UpdateLiveRecordNotifyConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string UpdateLiveRecordNotifyConfigRequest::getDomainName() const { + return domainName_; } -long UpdateLiveRecordNotifyConfigRequest::getOwnerId()const -{ - return ownerId_; +void UpdateLiveRecordNotifyConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void UpdateLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UpdateLiveRecordNotifyConfigRequest::getOwnerId() const { + return ownerId_; +} + +void UpdateLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/UpdateLiveSnapshotDetectPornConfigRequest.cc b/live/src/model/UpdateLiveSnapshotDetectPornConfigRequest.cc index 483e52a3e..a0b9894e8 100644 --- a/live/src/model/UpdateLiveSnapshotDetectPornConfigRequest.cc +++ b/live/src/model/UpdateLiveSnapshotDetectPornConfigRequest.cc @@ -1,130 +1,107 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::UpdateLiveSnapshotDetectPornConfigRequest; - -UpdateLiveSnapshotDetectPornConfigRequest::UpdateLiveSnapshotDetectPornConfigRequest() : - RpcServiceRequest("live", "2016-11-01", "UpdateLiveSnapshotDetectPornConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateLiveSnapshotDetectPornConfigRequest::~UpdateLiveSnapshotDetectPornConfigRequest() -{} - -std::string UpdateLiveSnapshotDetectPornConfigRequest::getOssEndpoint()const -{ - return ossEndpoint_; + */ + +#include + +using AlibabaCloud::Live::Model::UpdateLiveSnapshotDetectPornConfigRequest; + +UpdateLiveSnapshotDetectPornConfigRequest::UpdateLiveSnapshotDetectPornConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "UpdateLiveSnapshotDetectPornConfig") { + setMethod(HttpRequest::Method::Post); } -void UpdateLiveSnapshotDetectPornConfigRequest::setOssEndpoint(const std::string& ossEndpoint) -{ - ossEndpoint_ = ossEndpoint; - setParameter("OssEndpoint", ossEndpoint); +UpdateLiveSnapshotDetectPornConfigRequest::~UpdateLiveSnapshotDetectPornConfigRequest() {} + +std::string UpdateLiveSnapshotDetectPornConfigRequest::getOssEndpoint() const { + return ossEndpoint_; } -std::string UpdateLiveSnapshotDetectPornConfigRequest::getOssObject()const -{ - return ossObject_; +void UpdateLiveSnapshotDetectPornConfigRequest::setOssEndpoint(const std::string &ossEndpoint) { + ossEndpoint_ = ossEndpoint; + setParameter(std::string("OssEndpoint"), ossEndpoint); } -void UpdateLiveSnapshotDetectPornConfigRequest::setOssObject(const std::string& ossObject) -{ - ossObject_ = ossObject; - setParameter("OssObject", ossObject); +std::string UpdateLiveSnapshotDetectPornConfigRequest::getOssObject() const { + return ossObject_; } -std::vector UpdateLiveSnapshotDetectPornConfigRequest::getScene()const -{ - return scene_; +void UpdateLiveSnapshotDetectPornConfigRequest::setOssObject(const std::string &ossObject) { + ossObject_ = ossObject; + setParameter(std::string("OssObject"), ossObject); } -void UpdateLiveSnapshotDetectPornConfigRequest::setScene(const std::vector& scene) -{ - scene_ = scene; - for(int dep1 = 0; dep1!= scene.size(); dep1++) { - setParameter("Scene."+ std::to_string(dep1), scene.at(dep1)); - } +std::vector UpdateLiveSnapshotDetectPornConfigRequest::getScene() const { + return scene_; } -std::string UpdateLiveSnapshotDetectPornConfigRequest::getAppName()const -{ - return appName_; +void UpdateLiveSnapshotDetectPornConfigRequest::setScene(const std::vector &scene) { + scene_ = scene; } -void UpdateLiveSnapshotDetectPornConfigRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string UpdateLiveSnapshotDetectPornConfigRequest::getAppName() const { + return appName_; } -std::string UpdateLiveSnapshotDetectPornConfigRequest::getSecurityToken()const -{ - return securityToken_; +void UpdateLiveSnapshotDetectPornConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void UpdateLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +std::string UpdateLiveSnapshotDetectPornConfigRequest::getSecurityToken() const { + return securityToken_; } -std::string UpdateLiveSnapshotDetectPornConfigRequest::getOssBucket()const -{ - return ossBucket_; +void UpdateLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string &securityToken) { + securityToken_ = securityToken; + setParameter(std::string("SecurityToken"), securityToken); } -void UpdateLiveSnapshotDetectPornConfigRequest::setOssBucket(const std::string& ossBucket) -{ - ossBucket_ = ossBucket; - setParameter("OssBucket", ossBucket); +std::string UpdateLiveSnapshotDetectPornConfigRequest::getOssBucket() const { + return ossBucket_; } -std::string UpdateLiveSnapshotDetectPornConfigRequest::getDomainName()const -{ - return domainName_; +void UpdateLiveSnapshotDetectPornConfigRequest::setOssBucket(const std::string &ossBucket) { + ossBucket_ = ossBucket; + setParameter(std::string("OssBucket"), ossBucket); } -void UpdateLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string UpdateLiveSnapshotDetectPornConfigRequest::getDomainName() const { + return domainName_; } -long UpdateLiveSnapshotDetectPornConfigRequest::getOwnerId()const -{ - return ownerId_; +void UpdateLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void UpdateLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UpdateLiveSnapshotDetectPornConfigRequest::getOwnerId() const { + return ownerId_; } -int UpdateLiveSnapshotDetectPornConfigRequest::getInterval()const -{ - return interval_; +void UpdateLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void UpdateLiveSnapshotDetectPornConfigRequest::setInterval(int interval) -{ - interval_ = interval; - setParameter("Interval", std::to_string(interval)); +int UpdateLiveSnapshotDetectPornConfigRequest::getInterval() const { + return interval_; +} + +void UpdateLiveSnapshotDetectPornConfigRequest::setInterval(int interval) { + interval_ = interval; + setParameter(std::string("Interval"), std::to_string(interval)); } diff --git a/live/src/model/UpdateLiveStreamMonitorRequest.cc b/live/src/model/UpdateLiveStreamMonitorRequest.cc index fd97ce077..d43a43f8b 100644 --- a/live/src/model/UpdateLiveStreamMonitorRequest.cc +++ b/live/src/model/UpdateLiveStreamMonitorRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::UpdateLiveStreamMonitorRequest; - -UpdateLiveStreamMonitorRequest::UpdateLiveStreamMonitorRequest() : - RpcServiceRequest("live", "2016-11-01", "UpdateLiveStreamMonitor") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateLiveStreamMonitorRequest::~UpdateLiveStreamMonitorRequest() -{} - -std::string UpdateLiveStreamMonitorRequest::getMonitorId()const -{ - return monitorId_; + */ + +#include + +using AlibabaCloud::Live::Model::UpdateLiveStreamMonitorRequest; + +UpdateLiveStreamMonitorRequest::UpdateLiveStreamMonitorRequest() + : RpcServiceRequest("live", "2016-11-01", "UpdateLiveStreamMonitor") { + setMethod(HttpRequest::Method::Post); } -void UpdateLiveStreamMonitorRequest::setMonitorId(const std::string& monitorId) -{ - monitorId_ = monitorId; - setParameter("MonitorId", monitorId); +UpdateLiveStreamMonitorRequest::~UpdateLiveStreamMonitorRequest() {} + +std::string UpdateLiveStreamMonitorRequest::getMonitorId() const { + return monitorId_; } -std::string UpdateLiveStreamMonitorRequest::getMonitorName()const -{ - return monitorName_; +void UpdateLiveStreamMonitorRequest::setMonitorId(const std::string &monitorId) { + monitorId_ = monitorId; + setParameter(std::string("MonitorId"), monitorId); } -void UpdateLiveStreamMonitorRequest::setMonitorName(const std::string& monitorName) -{ - monitorName_ = monitorName; - setParameter("MonitorName", monitorName); +std::string UpdateLiveStreamMonitorRequest::getMonitorName() const { + return monitorName_; } -std::string UpdateLiveStreamMonitorRequest::getStream()const -{ - return stream_; +void UpdateLiveStreamMonitorRequest::setMonitorName(const std::string &monitorName) { + monitorName_ = monitorName; + setParameter(std::string("MonitorName"), monitorName); } -void UpdateLiveStreamMonitorRequest::setStream(const std::string& stream) -{ - stream_ = stream; - setParameter("Stream", stream); +std::string UpdateLiveStreamMonitorRequest::getStream() const { + return stream_; } -std::string UpdateLiveStreamMonitorRequest::getOutputTemplate()const -{ - return outputTemplate_; +void UpdateLiveStreamMonitorRequest::setStream(const std::string &stream) { + stream_ = stream; + setParameter(std::string("Stream"), stream); } -void UpdateLiveStreamMonitorRequest::setOutputTemplate(const std::string& outputTemplate) -{ - outputTemplate_ = outputTemplate; - setParameter("OutputTemplate", outputTemplate); +std::string UpdateLiveStreamMonitorRequest::getOutputTemplate() const { + return outputTemplate_; } -std::string UpdateLiveStreamMonitorRequest::getApp()const -{ - return app_; +void UpdateLiveStreamMonitorRequest::setOutputTemplate(const std::string &outputTemplate) { + outputTemplate_ = outputTemplate; + setParameter(std::string("OutputTemplate"), outputTemplate); } -void UpdateLiveStreamMonitorRequest::setApp(const std::string& app) -{ - app_ = app; - setParameter("App", app); +std::string UpdateLiveStreamMonitorRequest::getApp() const { + return app_; } -std::string UpdateLiveStreamMonitorRequest::getInputList()const -{ - return inputList_; +void UpdateLiveStreamMonitorRequest::setApp(const std::string &app) { + app_ = app; + setParameter(std::string("App"), app); } -void UpdateLiveStreamMonitorRequest::setInputList(const std::string& inputList) -{ - inputList_ = inputList; - setParameter("InputList", inputList); +std::string UpdateLiveStreamMonitorRequest::getInputList() const { + return inputList_; } -long UpdateLiveStreamMonitorRequest::getOwnerId()const -{ - return ownerId_; +void UpdateLiveStreamMonitorRequest::setInputList(const std::string &inputList) { + inputList_ = inputList; + setParameter(std::string("InputList"), inputList); } -void UpdateLiveStreamMonitorRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UpdateLiveStreamMonitorRequest::getOwnerId() const { + return ownerId_; } -std::string UpdateLiveStreamMonitorRequest::getDomain()const -{ - return domain_; +void UpdateLiveStreamMonitorRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void UpdateLiveStreamMonitorRequest::setDomain(const std::string& domain) -{ - domain_ = domain; - setParameter("Domain", domain); +std::string UpdateLiveStreamMonitorRequest::getDomain() const { + return domain_; +} + +void UpdateLiveStreamMonitorRequest::setDomain(const std::string &domain) { + domain_ = domain; + setParameter(std::string("Domain"), domain); } diff --git a/live/src/model/UpdateLiveStreamWatermarkRequest.cc b/live/src/model/UpdateLiveStreamWatermarkRequest.cc index 703f327d7..ccb53ea80 100644 --- a/live/src/model/UpdateLiveStreamWatermarkRequest.cc +++ b/live/src/model/UpdateLiveStreamWatermarkRequest.cc @@ -1,161 +1,135 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::UpdateLiveStreamWatermarkRequest; - -UpdateLiveStreamWatermarkRequest::UpdateLiveStreamWatermarkRequest() : - RpcServiceRequest("live", "2016-11-01", "UpdateLiveStreamWatermark") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateLiveStreamWatermarkRequest::~UpdateLiveStreamWatermarkRequest() -{} - -float UpdateLiveStreamWatermarkRequest::getYOffset()const -{ - return yOffset_; + */ + +#include + +using AlibabaCloud::Live::Model::UpdateLiveStreamWatermarkRequest; + +UpdateLiveStreamWatermarkRequest::UpdateLiveStreamWatermarkRequest() + : RpcServiceRequest("live", "2016-11-01", "UpdateLiveStreamWatermark") { + setMethod(HttpRequest::Method::Post); } -void UpdateLiveStreamWatermarkRequest::setYOffset(float yOffset) -{ - yOffset_ = yOffset; - setParameter("YOffset", std::to_string(yOffset)); +UpdateLiveStreamWatermarkRequest::~UpdateLiveStreamWatermarkRequest() {} + +float UpdateLiveStreamWatermarkRequest::getYOffset() const { + return yOffset_; } -std::string UpdateLiveStreamWatermarkRequest::getPictureUrl()const -{ - return pictureUrl_; +void UpdateLiveStreamWatermarkRequest::setYOffset(float yOffset) { + yOffset_ = yOffset; + setParameter(std::string("YOffset"), std::to_string(yOffset)); } -void UpdateLiveStreamWatermarkRequest::setPictureUrl(const std::string& pictureUrl) -{ - pictureUrl_ = pictureUrl; - setParameter("PictureUrl", pictureUrl); +std::string UpdateLiveStreamWatermarkRequest::getPictureUrl() const { + return pictureUrl_; } -std::string UpdateLiveStreamWatermarkRequest::getDescription()const -{ - return description_; +void UpdateLiveStreamWatermarkRequest::setPictureUrl(const std::string &pictureUrl) { + pictureUrl_ = pictureUrl; + setParameter(std::string("PictureUrl"), pictureUrl); } -void UpdateLiveStreamWatermarkRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +std::string UpdateLiveStreamWatermarkRequest::getDescription() const { + return description_; } -int UpdateLiveStreamWatermarkRequest::getHeight()const -{ - return height_; +void UpdateLiveStreamWatermarkRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void UpdateLiveStreamWatermarkRequest::setHeight(int height) -{ - height_ = height; - setParameter("Height", std::to_string(height)); +int UpdateLiveStreamWatermarkRequest::getHeight() const { + return height_; } -float UpdateLiveStreamWatermarkRequest::getXOffset()const -{ - return xOffset_; +void UpdateLiveStreamWatermarkRequest::setHeight(int height) { + height_ = height; + setParameter(std::string("Height"), std::to_string(height)); } -void UpdateLiveStreamWatermarkRequest::setXOffset(float xOffset) -{ - xOffset_ = xOffset; - setParameter("XOffset", std::to_string(xOffset)); +float UpdateLiveStreamWatermarkRequest::getXOffset() const { + return xOffset_; } -long UpdateLiveStreamWatermarkRequest::getOwnerId()const -{ - return ownerId_; +void UpdateLiveStreamWatermarkRequest::setXOffset(float xOffset) { + xOffset_ = xOffset; + setParameter(std::string("XOffset"), std::to_string(xOffset)); } -void UpdateLiveStreamWatermarkRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UpdateLiveStreamWatermarkRequest::getOwnerId() const { + return ownerId_; } -std::string UpdateLiveStreamWatermarkRequest::getTemplateId()const -{ - return templateId_; +void UpdateLiveStreamWatermarkRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void UpdateLiveStreamWatermarkRequest::setTemplateId(const std::string& templateId) -{ - templateId_ = templateId; - setParameter("TemplateId", templateId); +std::string UpdateLiveStreamWatermarkRequest::getTemplateId() const { + return templateId_; } -int UpdateLiveStreamWatermarkRequest::getRefWidth()const -{ - return refWidth_; +void UpdateLiveStreamWatermarkRequest::setTemplateId(const std::string &templateId) { + templateId_ = templateId; + setParameter(std::string("TemplateId"), templateId); } -void UpdateLiveStreamWatermarkRequest::setRefWidth(int refWidth) -{ - refWidth_ = refWidth; - setParameter("RefWidth", std::to_string(refWidth)); +int UpdateLiveStreamWatermarkRequest::getRefWidth() const { + return refWidth_; } -int UpdateLiveStreamWatermarkRequest::getTransparency()const -{ - return transparency_; +void UpdateLiveStreamWatermarkRequest::setRefWidth(int refWidth) { + refWidth_ = refWidth; + setParameter(std::string("RefWidth"), std::to_string(refWidth)); } -void UpdateLiveStreamWatermarkRequest::setTransparency(int transparency) -{ - transparency_ = transparency; - setParameter("Transparency", std::to_string(transparency)); +int UpdateLiveStreamWatermarkRequest::getTransparency() const { + return transparency_; } -std::string UpdateLiveStreamWatermarkRequest::getName()const -{ - return name_; +void UpdateLiveStreamWatermarkRequest::setTransparency(int transparency) { + transparency_ = transparency; + setParameter(std::string("Transparency"), std::to_string(transparency)); } -void UpdateLiveStreamWatermarkRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string UpdateLiveStreamWatermarkRequest::getName() const { + return name_; } -std::string UpdateLiveStreamWatermarkRequest::getOffsetCorner()const -{ - return offsetCorner_; +void UpdateLiveStreamWatermarkRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } -void UpdateLiveStreamWatermarkRequest::setOffsetCorner(const std::string& offsetCorner) -{ - offsetCorner_ = offsetCorner; - setParameter("OffsetCorner", offsetCorner); +std::string UpdateLiveStreamWatermarkRequest::getOffsetCorner() const { + return offsetCorner_; } -int UpdateLiveStreamWatermarkRequest::getRefHeight()const -{ - return refHeight_; +void UpdateLiveStreamWatermarkRequest::setOffsetCorner(const std::string &offsetCorner) { + offsetCorner_ = offsetCorner; + setParameter(std::string("OffsetCorner"), offsetCorner); } -void UpdateLiveStreamWatermarkRequest::setRefHeight(int refHeight) -{ - refHeight_ = refHeight; - setParameter("RefHeight", std::to_string(refHeight)); +int UpdateLiveStreamWatermarkRequest::getRefHeight() const { + return refHeight_; +} + +void UpdateLiveStreamWatermarkRequest::setRefHeight(int refHeight) { + refHeight_ = refHeight; + setParameter(std::string("RefHeight"), std::to_string(refHeight)); } diff --git a/live/src/model/UpdateLiveStreamWatermarkRuleRequest.cc b/live/src/model/UpdateLiveStreamWatermarkRuleRequest.cc index 75367fe79..8b9b436d1 100644 --- a/live/src/model/UpdateLiveStreamWatermarkRuleRequest.cc +++ b/live/src/model/UpdateLiveStreamWatermarkRuleRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::UpdateLiveStreamWatermarkRuleRequest; - -UpdateLiveStreamWatermarkRuleRequest::UpdateLiveStreamWatermarkRuleRequest() : - RpcServiceRequest("live", "2016-11-01", "UpdateLiveStreamWatermarkRule") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateLiveStreamWatermarkRuleRequest::~UpdateLiveStreamWatermarkRuleRequest() -{} - -std::string UpdateLiveStreamWatermarkRuleRequest::getDescription()const -{ - return description_; + */ + +#include + +using AlibabaCloud::Live::Model::UpdateLiveStreamWatermarkRuleRequest; + +UpdateLiveStreamWatermarkRuleRequest::UpdateLiveStreamWatermarkRuleRequest() + : RpcServiceRequest("live", "2016-11-01", "UpdateLiveStreamWatermarkRule") { + setMethod(HttpRequest::Method::Post); } -void UpdateLiveStreamWatermarkRuleRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +UpdateLiveStreamWatermarkRuleRequest::~UpdateLiveStreamWatermarkRuleRequest() {} + +std::string UpdateLiveStreamWatermarkRuleRequest::getDescription() const { + return description_; } -long UpdateLiveStreamWatermarkRuleRequest::getOwnerId()const -{ - return ownerId_; +void UpdateLiveStreamWatermarkRuleRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void UpdateLiveStreamWatermarkRuleRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UpdateLiveStreamWatermarkRuleRequest::getOwnerId() const { + return ownerId_; } -std::string UpdateLiveStreamWatermarkRuleRequest::getTemplateId()const -{ - return templateId_; +void UpdateLiveStreamWatermarkRuleRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void UpdateLiveStreamWatermarkRuleRequest::setTemplateId(const std::string& templateId) -{ - templateId_ = templateId; - setParameter("TemplateId", templateId); +std::string UpdateLiveStreamWatermarkRuleRequest::getTemplateId() const { + return templateId_; } -std::string UpdateLiveStreamWatermarkRuleRequest::getName()const -{ - return name_; +void UpdateLiveStreamWatermarkRuleRequest::setTemplateId(const std::string &templateId) { + templateId_ = templateId; + setParameter(std::string("TemplateId"), templateId); } -void UpdateLiveStreamWatermarkRuleRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string UpdateLiveStreamWatermarkRuleRequest::getName() const { + return name_; } -std::string UpdateLiveStreamWatermarkRuleRequest::getRuleId()const -{ - return ruleId_; +void UpdateLiveStreamWatermarkRuleRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } -void UpdateLiveStreamWatermarkRuleRequest::setRuleId(const std::string& ruleId) -{ - ruleId_ = ruleId; - setParameter("RuleId", ruleId); +std::string UpdateLiveStreamWatermarkRuleRequest::getRuleId() const { + return ruleId_; +} + +void UpdateLiveStreamWatermarkRuleRequest::setRuleId(const std::string &ruleId) { + ruleId_ = ruleId; + setParameter(std::string("RuleId"), ruleId); } diff --git a/live/src/model/UpdateLiveTopLevelDomainRequest.cc b/live/src/model/UpdateLiveTopLevelDomainRequest.cc index 56dca9c21..fd36ea1b2 100644 --- a/live/src/model/UpdateLiveTopLevelDomainRequest.cc +++ b/live/src/model/UpdateLiveTopLevelDomainRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#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_; + */ + +#include + +using AlibabaCloud::Live::Model::UpdateLiveTopLevelDomainRequest; + +UpdateLiveTopLevelDomainRequest::UpdateLiveTopLevelDomainRequest() + : RpcServiceRequest("live", "2016-11-01", "UpdateLiveTopLevelDomain") { + setMethod(HttpRequest::Method::Post); } -void UpdateLiveTopLevelDomainRequest::setTopLevelDomain(const std::string& topLevelDomain) -{ - topLevelDomain_ = topLevelDomain; - setParameter("TopLevelDomain", topLevelDomain); +UpdateLiveTopLevelDomainRequest::~UpdateLiveTopLevelDomainRequest() {} + +std::string UpdateLiveTopLevelDomainRequest::getTopLevelDomain() const { + return topLevelDomain_; } -std::string UpdateLiveTopLevelDomainRequest::getDomainName()const -{ - return domainName_; +void UpdateLiveTopLevelDomainRequest::setTopLevelDomain(const std::string &topLevelDomain) { + topLevelDomain_ = topLevelDomain; + setParameter(std::string("TopLevelDomain"), topLevelDomain); } -void UpdateLiveTopLevelDomainRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string UpdateLiveTopLevelDomainRequest::getDomainName() const { + return domainName_; } -long UpdateLiveTopLevelDomainRequest::getOwnerId()const -{ - return ownerId_; +void UpdateLiveTopLevelDomainRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void UpdateLiveTopLevelDomainRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UpdateLiveTopLevelDomainRequest::getOwnerId() const { + return ownerId_; } -std::string UpdateLiveTopLevelDomainRequest::getSecurityToken()const -{ - return securityToken_; +void UpdateLiveTopLevelDomainRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } -void UpdateLiveTopLevelDomainRequest::setSecurityToken(const std::string& securityToken) -{ - securityToken_ = securityToken; - setParameter("SecurityToken", securityToken); +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/UpdateMixStreamRequest.cc b/live/src/model/UpdateMixStreamRequest.cc index a5ef635bf..ca87eb2fc 100644 --- a/live/src/model/UpdateMixStreamRequest.cc +++ b/live/src/model/UpdateMixStreamRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::UpdateMixStreamRequest; - -UpdateMixStreamRequest::UpdateMixStreamRequest() : - RpcServiceRequest("live", "2016-11-01", "UpdateMixStream") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateMixStreamRequest::~UpdateMixStreamRequest() -{} - -std::string UpdateMixStreamRequest::getLayoutId()const -{ - return layoutId_; + */ + +#include + +using AlibabaCloud::Live::Model::UpdateMixStreamRequest; + +UpdateMixStreamRequest::UpdateMixStreamRequest() + : RpcServiceRequest("live", "2016-11-01", "UpdateMixStream") { + setMethod(HttpRequest::Method::Post); } -void UpdateMixStreamRequest::setLayoutId(const std::string& layoutId) -{ - layoutId_ = layoutId; - setParameter("LayoutId", layoutId); +UpdateMixStreamRequest::~UpdateMixStreamRequest() {} + +std::string UpdateMixStreamRequest::getLayoutId() const { + return layoutId_; } -std::string UpdateMixStreamRequest::getMixStreamId()const -{ - return mixStreamId_; +void UpdateMixStreamRequest::setLayoutId(const std::string &layoutId) { + layoutId_ = layoutId; + setParameter(std::string("LayoutId"), layoutId); } -void UpdateMixStreamRequest::setMixStreamId(const std::string& mixStreamId) -{ - mixStreamId_ = mixStreamId; - setParameter("MixStreamId", mixStreamId); +std::string UpdateMixStreamRequest::getMixStreamId() const { + return mixStreamId_; } -std::string UpdateMixStreamRequest::getDomainName()const -{ - return domainName_; +void UpdateMixStreamRequest::setMixStreamId(const std::string &mixStreamId) { + mixStreamId_ = mixStreamId; + setParameter(std::string("MixStreamId"), mixStreamId); } -void UpdateMixStreamRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string UpdateMixStreamRequest::getDomainName() const { + return domainName_; } -std::string UpdateMixStreamRequest::getInputStreamList()const -{ - return inputStreamList_; +void UpdateMixStreamRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void UpdateMixStreamRequest::setInputStreamList(const std::string& inputStreamList) -{ - inputStreamList_ = inputStreamList; - setParameter("InputStreamList", inputStreamList); +std::string UpdateMixStreamRequest::getInputStreamList() const { + return inputStreamList_; } -long UpdateMixStreamRequest::getOwnerId()const -{ - return ownerId_; +void UpdateMixStreamRequest::setInputStreamList(const std::string &inputStreamList) { + inputStreamList_ = inputStreamList; + setParameter(std::string("InputStreamList"), inputStreamList); } -void UpdateMixStreamRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long UpdateMixStreamRequest::getOwnerId() const { + return ownerId_; +} + +void UpdateMixStreamRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); } diff --git a/live/src/model/VerifyLiveDomainOwnerRequest.cc b/live/src/model/VerifyLiveDomainOwnerRequest.cc index 7f780f452..5f1cc30cd 100644 --- a/live/src/model/VerifyLiveDomainOwnerRequest.cc +++ b/live/src/model/VerifyLiveDomainOwnerRequest.cc @@ -1,62 +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::VerifyLiveDomainOwnerRequest; - -VerifyLiveDomainOwnerRequest::VerifyLiveDomainOwnerRequest() : - RpcServiceRequest("live", "2016-11-01", "VerifyLiveDomainOwner") -{ - setMethod(HttpRequest::Method::Post); -} - -VerifyLiveDomainOwnerRequest::~VerifyLiveDomainOwnerRequest() -{} - -std::string VerifyLiveDomainOwnerRequest::getVerifyType()const -{ - return verifyType_; + */ + +#include + +using AlibabaCloud::Live::Model::VerifyLiveDomainOwnerRequest; + +VerifyLiveDomainOwnerRequest::VerifyLiveDomainOwnerRequest() + : RpcServiceRequest("live", "2016-11-01", "VerifyLiveDomainOwner") { + setMethod(HttpRequest::Method::Post); } -void VerifyLiveDomainOwnerRequest::setVerifyType(const std::string& verifyType) -{ - verifyType_ = verifyType; - setParameter("VerifyType", verifyType); +VerifyLiveDomainOwnerRequest::~VerifyLiveDomainOwnerRequest() {} + +std::string VerifyLiveDomainOwnerRequest::getVerifyType() const { + return verifyType_; } -std::string VerifyLiveDomainOwnerRequest::getDomainName()const -{ - return domainName_; +void VerifyLiveDomainOwnerRequest::setVerifyType(const std::string &verifyType) { + verifyType_ = verifyType; + setParameter(std::string("VerifyType"), verifyType); } -void VerifyLiveDomainOwnerRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string VerifyLiveDomainOwnerRequest::getDomainName() const { + return domainName_; } -long VerifyLiveDomainOwnerRequest::getOwnerId()const -{ - return ownerId_; +void VerifyLiveDomainOwnerRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void VerifyLiveDomainOwnerRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); +long VerifyLiveDomainOwnerRequest::getOwnerId() const { + return ownerId_; +} + +void VerifyLiveDomainOwnerRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); }