diff --git a/CHANGELOG b/CHANGELOG index 1a9b996db..ffe7f7266 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2022-06-21 Version: 1.36.1154 +- Generated 2016-11-01 for `live`. + 2022-06-21 Version: 1.36.1153 - Support Latest APIs. diff --git a/VERSION b/VERSION index 490ac66ea..fb1758a72 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1153 \ No newline at end of file +1.36.1154 \ No newline at end of file diff --git a/live/CMakeLists.txt b/live/CMakeLists.txt index f96a56c47..be46907ac 100644 --- a/live/CMakeLists.txt +++ b/live/CMakeLists.txt @@ -157,6 +157,8 @@ set(live_public_header_model include/alibabacloud/live/model/DeleteLiveSpecificStagingConfigResult.h include/alibabacloud/live/model/DeleteLiveStreamMonitorRequest.h include/alibabacloud/live/model/DeleteLiveStreamMonitorResult.h + include/alibabacloud/live/model/DeleteLiveStreamRecordIndexFilesRequest.h + include/alibabacloud/live/model/DeleteLiveStreamRecordIndexFilesResult.h include/alibabacloud/live/model/DeleteLiveStreamTranscodeRequest.h include/alibabacloud/live/model/DeleteLiveStreamTranscodeResult.h include/alibabacloud/live/model/DeleteLiveStreamWatermarkRequest.h @@ -177,6 +179,8 @@ set(live_public_header_model include/alibabacloud/live/model/DeleteRoomResult.h include/alibabacloud/live/model/DeleteSnapshotCallbackAuthRequest.h include/alibabacloud/live/model/DeleteSnapshotCallbackAuthResult.h + include/alibabacloud/live/model/DeleteSnapshotFilesRequest.h + include/alibabacloud/live/model/DeleteSnapshotFilesResult.h include/alibabacloud/live/model/DeleteStudioLayoutRequest.h include/alibabacloud/live/model/DeleteStudioLayoutResult.h include/alibabacloud/live/model/DescribeAutoShowListTasksRequest.h @@ -265,12 +269,12 @@ 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 include/alibabacloud/live/model/DescribeLiveDomainStreamTranscodeDataResult.h - include/alibabacloud/live/model/DescribeLiveDomainStreamWaterLevelRequest.h - include/alibabacloud/live/model/DescribeLiveDomainStreamWaterLevelResult.h include/alibabacloud/live/model/DescribeLiveDomainTimeShiftDataRequest.h include/alibabacloud/live/model/DescribeLiveDomainTimeShiftDataResult.h include/alibabacloud/live/model/DescribeLiveDomainTrafficDataRequest.h @@ -349,6 +353,8 @@ 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/DescribeMixStreamListRequest.h @@ -401,6 +407,8 @@ set(live_public_header_model include/alibabacloud/live/model/GetMultiRateConfigResult.h include/alibabacloud/live/model/GetMultiRateConfigListRequest.h include/alibabacloud/live/model/GetMultiRateConfigListResult.h + include/alibabacloud/live/model/HotLiveRtcStreamRequest.h + include/alibabacloud/live/model/HotLiveRtcStreamResult.h include/alibabacloud/live/model/InitializeAutoShowListTaskRequest.h include/alibabacloud/live/model/InitializeAutoShowListTaskResult.h include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryRequest.h @@ -463,6 +471,8 @@ set(live_public_header_model include/alibabacloud/live/model/SetCasterSyncGroupResult.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 @@ -670,6 +680,8 @@ set(live_src src/model/DeleteLiveSpecificStagingConfigResult.cc src/model/DeleteLiveStreamMonitorRequest.cc src/model/DeleteLiveStreamMonitorResult.cc + src/model/DeleteLiveStreamRecordIndexFilesRequest.cc + src/model/DeleteLiveStreamRecordIndexFilesResult.cc src/model/DeleteLiveStreamTranscodeRequest.cc src/model/DeleteLiveStreamTranscodeResult.cc src/model/DeleteLiveStreamWatermarkRequest.cc @@ -690,6 +702,8 @@ set(live_src src/model/DeleteRoomResult.cc src/model/DeleteSnapshotCallbackAuthRequest.cc src/model/DeleteSnapshotCallbackAuthResult.cc + src/model/DeleteSnapshotFilesRequest.cc + src/model/DeleteSnapshotFilesResult.cc src/model/DeleteStudioLayoutRequest.cc src/model/DeleteStudioLayoutResult.cc src/model/DescribeAutoShowListTasksRequest.cc @@ -778,12 +792,12 @@ 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 src/model/DescribeLiveDomainStreamTranscodeDataResult.cc - src/model/DescribeLiveDomainStreamWaterLevelRequest.cc - src/model/DescribeLiveDomainStreamWaterLevelResult.cc src/model/DescribeLiveDomainTimeShiftDataRequest.cc src/model/DescribeLiveDomainTimeShiftDataResult.cc src/model/DescribeLiveDomainTrafficDataRequest.cc @@ -862,6 +876,8 @@ 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/DescribeMixStreamListRequest.cc @@ -914,6 +930,8 @@ set(live_src src/model/GetMultiRateConfigResult.cc src/model/GetMultiRateConfigListRequest.cc src/model/GetMultiRateConfigListResult.cc + src/model/HotLiveRtcStreamRequest.cc + src/model/HotLiveRtcStreamResult.cc src/model/InitializeAutoShowListTaskRequest.cc src/model/InitializeAutoShowListTaskResult.cc src/model/ListLiveRealtimeLogDeliveryRequest.cc @@ -976,6 +994,8 @@ set(live_src src/model/SetCasterSyncGroupResult.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 c17b5e5c9..2beae020a 100644 --- a/live/include/alibabacloud/live/LiveClient.h +++ b/live/include/alibabacloud/live/LiveClient.h @@ -158,6 +158,8 @@ #include "model/DeleteLiveSpecificStagingConfigResult.h" #include "model/DeleteLiveStreamMonitorRequest.h" #include "model/DeleteLiveStreamMonitorResult.h" +#include "model/DeleteLiveStreamRecordIndexFilesRequest.h" +#include "model/DeleteLiveStreamRecordIndexFilesResult.h" #include "model/DeleteLiveStreamTranscodeRequest.h" #include "model/DeleteLiveStreamTranscodeResult.h" #include "model/DeleteLiveStreamWatermarkRequest.h" @@ -178,6 +180,8 @@ #include "model/DeleteRoomResult.h" #include "model/DeleteSnapshotCallbackAuthRequest.h" #include "model/DeleteSnapshotCallbackAuthResult.h" +#include "model/DeleteSnapshotFilesRequest.h" +#include "model/DeleteSnapshotFilesResult.h" #include "model/DeleteStudioLayoutRequest.h" #include "model/DeleteStudioLayoutResult.h" #include "model/DescribeAutoShowListTasksRequest.h" @@ -266,12 +270,12 @@ #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" #include "model/DescribeLiveDomainStreamTranscodeDataResult.h" -#include "model/DescribeLiveDomainStreamWaterLevelRequest.h" -#include "model/DescribeLiveDomainStreamWaterLevelResult.h" #include "model/DescribeLiveDomainTimeShiftDataRequest.h" #include "model/DescribeLiveDomainTimeShiftDataResult.h" #include "model/DescribeLiveDomainTrafficDataRequest.h" @@ -350,6 +354,8 @@ #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/DescribeMixStreamListRequest.h" @@ -402,6 +408,8 @@ #include "model/GetMultiRateConfigResult.h" #include "model/GetMultiRateConfigListRequest.h" #include "model/GetMultiRateConfigListResult.h" +#include "model/HotLiveRtcStreamRequest.h" +#include "model/HotLiveRtcStreamResult.h" #include "model/InitializeAutoShowListTaskRequest.h" #include "model/InitializeAutoShowListTaskResult.h" #include "model/ListLiveRealtimeLogDeliveryRequest.h" @@ -464,6 +472,8 @@ #include "model/SetCasterSyncGroupResult.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" @@ -745,6 +755,9 @@ namespace AlibabaCloud typedef Outcome DeleteLiveStreamMonitorOutcome; typedef std::future DeleteLiveStreamMonitorOutcomeCallable; typedef std::function&)> DeleteLiveStreamMonitorAsyncHandler; + typedef Outcome DeleteLiveStreamRecordIndexFilesOutcome; + typedef std::future DeleteLiveStreamRecordIndexFilesOutcomeCallable; + typedef std::function&)> DeleteLiveStreamRecordIndexFilesAsyncHandler; typedef Outcome DeleteLiveStreamTranscodeOutcome; typedef std::future DeleteLiveStreamTranscodeOutcomeCallable; typedef std::function&)> DeleteLiveStreamTranscodeAsyncHandler; @@ -775,6 +788,9 @@ namespace AlibabaCloud typedef Outcome DeleteSnapshotCallbackAuthOutcome; typedef std::future DeleteSnapshotCallbackAuthOutcomeCallable; typedef std::function&)> DeleteSnapshotCallbackAuthAsyncHandler; + typedef Outcome DeleteSnapshotFilesOutcome; + typedef std::future DeleteSnapshotFilesOutcomeCallable; + typedef std::function&)> DeleteSnapshotFilesAsyncHandler; typedef Outcome DeleteStudioLayoutOutcome; typedef std::future DeleteStudioLayoutOutcomeCallable; typedef std::function&)> DeleteStudioLayoutAsyncHandler; @@ -907,15 +923,15 @@ 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; typedef Outcome DescribeLiveDomainStreamTranscodeDataOutcome; typedef std::future DescribeLiveDomainStreamTranscodeDataOutcomeCallable; typedef std::function&)> DescribeLiveDomainStreamTranscodeDataAsyncHandler; - typedef Outcome DescribeLiveDomainStreamWaterLevelOutcome; - typedef std::future DescribeLiveDomainStreamWaterLevelOutcomeCallable; - typedef std::function&)> DescribeLiveDomainStreamWaterLevelAsyncHandler; typedef Outcome DescribeLiveDomainTimeShiftDataOutcome; typedef std::future DescribeLiveDomainTimeShiftDataOutcomeCallable; typedef std::function&)> DescribeLiveDomainTimeShiftDataAsyncHandler; @@ -1033,6 +1049,9 @@ 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; @@ -1111,6 +1130,9 @@ namespace AlibabaCloud typedef Outcome GetMultiRateConfigListOutcome; typedef std::future GetMultiRateConfigListOutcomeCallable; typedef std::function&)> GetMultiRateConfigListAsyncHandler; + typedef Outcome HotLiveRtcStreamOutcome; + typedef std::future HotLiveRtcStreamOutcomeCallable; + typedef std::function&)> HotLiveRtcStreamAsyncHandler; typedef Outcome InitializeAutoShowListTaskOutcome; typedef std::future InitializeAutoShowListTaskOutcomeCallable; typedef std::function&)> InitializeAutoShowListTaskAsyncHandler; @@ -1204,6 +1226,9 @@ namespace AlibabaCloud 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; @@ -1515,6 +1540,9 @@ namespace AlibabaCloud DeleteLiveStreamMonitorOutcome deleteLiveStreamMonitor(const Model::DeleteLiveStreamMonitorRequest &request)const; void deleteLiveStreamMonitorAsync(const Model::DeleteLiveStreamMonitorRequest& request, const DeleteLiveStreamMonitorAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteLiveStreamMonitorOutcomeCallable deleteLiveStreamMonitorCallable(const Model::DeleteLiveStreamMonitorRequest& request) const; + DeleteLiveStreamRecordIndexFilesOutcome deleteLiveStreamRecordIndexFiles(const Model::DeleteLiveStreamRecordIndexFilesRequest &request)const; + void deleteLiveStreamRecordIndexFilesAsync(const Model::DeleteLiveStreamRecordIndexFilesRequest& request, const DeleteLiveStreamRecordIndexFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteLiveStreamRecordIndexFilesOutcomeCallable deleteLiveStreamRecordIndexFilesCallable(const Model::DeleteLiveStreamRecordIndexFilesRequest& request) const; DeleteLiveStreamTranscodeOutcome deleteLiveStreamTranscode(const Model::DeleteLiveStreamTranscodeRequest &request)const; void deleteLiveStreamTranscodeAsync(const Model::DeleteLiveStreamTranscodeRequest& request, const DeleteLiveStreamTranscodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteLiveStreamTranscodeOutcomeCallable deleteLiveStreamTranscodeCallable(const Model::DeleteLiveStreamTranscodeRequest& request) const; @@ -1545,6 +1573,9 @@ namespace AlibabaCloud DeleteSnapshotCallbackAuthOutcome deleteSnapshotCallbackAuth(const Model::DeleteSnapshotCallbackAuthRequest &request)const; void deleteSnapshotCallbackAuthAsync(const Model::DeleteSnapshotCallbackAuthRequest& request, const DeleteSnapshotCallbackAuthAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteSnapshotCallbackAuthOutcomeCallable deleteSnapshotCallbackAuthCallable(const Model::DeleteSnapshotCallbackAuthRequest& request) const; + DeleteSnapshotFilesOutcome deleteSnapshotFiles(const Model::DeleteSnapshotFilesRequest &request)const; + void deleteSnapshotFilesAsync(const Model::DeleteSnapshotFilesRequest& request, const DeleteSnapshotFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteSnapshotFilesOutcomeCallable deleteSnapshotFilesCallable(const Model::DeleteSnapshotFilesRequest& request) const; DeleteStudioLayoutOutcome deleteStudioLayout(const Model::DeleteStudioLayoutRequest &request)const; void deleteStudioLayoutAsync(const Model::DeleteStudioLayoutRequest& request, const DeleteStudioLayoutAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteStudioLayoutOutcomeCallable deleteStudioLayoutCallable(const Model::DeleteStudioLayoutRequest& request) const; @@ -1677,15 +1708,15 @@ 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; DescribeLiveDomainStreamTranscodeDataOutcome describeLiveDomainStreamTranscodeData(const Model::DescribeLiveDomainStreamTranscodeDataRequest &request)const; void describeLiveDomainStreamTranscodeDataAsync(const Model::DescribeLiveDomainStreamTranscodeDataRequest& request, const DescribeLiveDomainStreamTranscodeDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveDomainStreamTranscodeDataOutcomeCallable describeLiveDomainStreamTranscodeDataCallable(const Model::DescribeLiveDomainStreamTranscodeDataRequest& request) const; - DescribeLiveDomainStreamWaterLevelOutcome describeLiveDomainStreamWaterLevel(const Model::DescribeLiveDomainStreamWaterLevelRequest &request)const; - void describeLiveDomainStreamWaterLevelAsync(const Model::DescribeLiveDomainStreamWaterLevelRequest& request, const DescribeLiveDomainStreamWaterLevelAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeLiveDomainStreamWaterLevelOutcomeCallable describeLiveDomainStreamWaterLevelCallable(const Model::DescribeLiveDomainStreamWaterLevelRequest& request) const; DescribeLiveDomainTimeShiftDataOutcome describeLiveDomainTimeShiftData(const Model::DescribeLiveDomainTimeShiftDataRequest &request)const; void describeLiveDomainTimeShiftDataAsync(const Model::DescribeLiveDomainTimeShiftDataRequest& request, const DescribeLiveDomainTimeShiftDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveDomainTimeShiftDataOutcomeCallable describeLiveDomainTimeShiftDataCallable(const Model::DescribeLiveDomainTimeShiftDataRequest& request) const; @@ -1803,6 +1834,9 @@ 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; @@ -1881,6 +1915,9 @@ namespace AlibabaCloud GetMultiRateConfigListOutcome getMultiRateConfigList(const Model::GetMultiRateConfigListRequest &request)const; void getMultiRateConfigListAsync(const Model::GetMultiRateConfigListRequest& request, const GetMultiRateConfigListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetMultiRateConfigListOutcomeCallable getMultiRateConfigListCallable(const Model::GetMultiRateConfigListRequest& request) const; + HotLiveRtcStreamOutcome hotLiveRtcStream(const Model::HotLiveRtcStreamRequest &request)const; + void hotLiveRtcStreamAsync(const Model::HotLiveRtcStreamRequest& request, const HotLiveRtcStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + HotLiveRtcStreamOutcomeCallable hotLiveRtcStreamCallable(const Model::HotLiveRtcStreamRequest& request) const; 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; @@ -1974,6 +2011,9 @@ namespace AlibabaCloud 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 274889680..599b5c21f 100644 --- a/live/include/alibabacloud/live/model/AddCasterComponentRequest.h +++ b/live/include/alibabacloud/live/model/AddCasterComponentRequest.h @@ -1,75 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddCasterEpisodeGroupContentRequest.h b/live/include/alibabacloud/live/model/AddCasterEpisodeGroupContentRequest.h index fb95694b8..e9e0cae33 100644 --- a/live/include/alibabacloud/live/model/AddCasterEpisodeGroupContentRequest.h +++ b/live/include/alibabacloud/live/model/AddCasterEpisodeGroupContentRequest.h @@ -1,48 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPCONTENTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPCONTENTREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddCasterEpisodeGroupRequest.h b/live/include/alibabacloud/live/model/AddCasterEpisodeGroupRequest.h index 5a6c433e6..1fe9ec9dc 100644 --- a/live/include/alibabacloud/live/model/AddCasterEpisodeGroupRequest.h +++ b/live/include/alibabacloud/live/model/AddCasterEpisodeGroupRequest.h @@ -1,67 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddCasterEpisodeRequest.h b/live/include/alibabacloud/live/model/AddCasterEpisodeRequest.h index a7009311b..4a3da22e8 100644 --- a/live/include/alibabacloud/live/model/AddCasterEpisodeRequest.h +++ b/live/include/alibabacloud/live/model/AddCasterEpisodeRequest.h @@ -1,66 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddCasterLayoutRequest.h b/live/include/alibabacloud/live/model/AddCasterLayoutRequest.h index 38e5114e1..32e14c155 100644 --- a/live/include/alibabacloud/live/model/AddCasterLayoutRequest.h +++ b/live/include/alibabacloud/live/model/AddCasterLayoutRequest.h @@ -1,69 +1,79 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddCasterProgramRequest.h b/live/include/alibabacloud/live/model/AddCasterProgramRequest.h index 55d79e539..1c2d42fe6 100644 --- a/live/include/alibabacloud/live/model/AddCasterProgramRequest.h +++ b/live/include/alibabacloud/live/model/AddCasterProgramRequest.h @@ -1,56 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddCasterVideoResourceRequest.h b/live/include/alibabacloud/live/model/AddCasterVideoResourceRequest.h index 97c22c6d9..a1474fcfb 100644 --- a/live/include/alibabacloud/live/model/AddCasterVideoResourceRequest.h +++ b/live/include/alibabacloud/live/model/AddCasterVideoResourceRequest.h @@ -1,84 +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. - */ - -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h b/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h index 33157d391..85341becf 100644 --- a/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h +++ b/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h @@ -1,102 +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. - */ - -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddLiveAppRecordConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveAppRecordConfigRequest.h index 861965736..2dfbe8d9f 100644 --- a/live/include/alibabacloud/live/model/AddLiveAppRecordConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveAppRecordConfigRequest.h @@ -1,92 +1,101 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF 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 -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddLiveAppSnapshotConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveAppSnapshotConfigRequest.h index 81f4a134b..bf25995e8 100644 --- a/live/include/alibabacloud/live/model/AddLiveAppSnapshotConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveAppSnapshotConfigRequest.h @@ -1,69 +1,75 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPSNAPSHOTCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPSNAPSHOTCONFIGREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddLiveAudioAuditConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveAudioAuditConfigRequest.h index f98911caa..f42ae9c3e 100644 --- a/live/include/alibabacloud/live/model/AddLiveAudioAuditConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveAudioAuditConfigRequest.h @@ -1,63 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddLiveAudioAuditNotifyConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveAudioAuditNotifyConfigRequest.h index ac75adb0b..f1ce80abe 100644 --- a/live/include/alibabacloud/live/model/AddLiveAudioAuditNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveAudioAuditNotifyConfigRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddLiveDetectNotifyConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveDetectNotifyConfigRequest.h index d4635abdf..71c6e0537 100644 --- a/live/include/alibabacloud/live/model/AddLiveDetectNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveDetectNotifyConfigRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddLiveDomainMappingRequest.h b/live/include/alibabacloud/live/model/AddLiveDomainMappingRequest.h index 80f35c684..8744cd740 100644 --- a/live/include/alibabacloud/live/model/AddLiveDomainMappingRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveDomainMappingRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddLiveDomainPlayMappingRequest.h b/live/include/alibabacloud/live/model/AddLiveDomainPlayMappingRequest.h index 27b51bdb7..d276dd57f 100644 --- a/live/include/alibabacloud/live/model/AddLiveDomainPlayMappingRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveDomainPlayMappingRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddLiveDomainRequest.h b/live/include/alibabacloud/live/model/AddLiveDomainRequest.h index f26a1063f..c03afa3cc 100644 --- a/live/include/alibabacloud/live/model/AddLiveDomainRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveDomainRequest.h @@ -1,66 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddLivePullStreamInfoConfigRequest.h b/live/include/alibabacloud/live/model/AddLivePullStreamInfoConfigRequest.h index 5472668b2..9a9ba2e8c 100644 --- a/live/include/alibabacloud/live/model/AddLivePullStreamInfoConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLivePullStreamInfoConfigRequest.h @@ -1,63 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddLiveRecordNotifyConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveRecordNotifyConfigRequest.h index c5a7a74b8..e92be63e7 100644 --- a/live/include/alibabacloud/live/model/AddLiveRecordNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveRecordNotifyConfigRequest.h @@ -1,57 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddLiveRecordVodConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveRecordVodConfigRequest.h index 9748b57af..ba39de67d 100644 --- a/live/include/alibabacloud/live/model/AddLiveRecordVodConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveRecordVodConfigRequest.h @@ -1,66 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddLiveSnapshotDetectPornConfigRequest.h b/live/include/alibabacloud/live/model/AddLiveSnapshotDetectPornConfigRequest.h index 590e24d33..3dc915413 100644 --- a/live/include/alibabacloud/live/model/AddLiveSnapshotDetectPornConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveSnapshotDetectPornConfigRequest.h @@ -1,66 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddLiveStreamTranscodeRequest.h b/live/include/alibabacloud/live/model/AddLiveStreamTranscodeRequest.h index 2ab1fa492..9434ceebd 100644 --- a/live/include/alibabacloud/live/model/AddLiveStreamTranscodeRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveStreamTranscodeRequest.h @@ -1,69 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddLiveStreamWatermarkRequest.h b/live/include/alibabacloud/live/model/AddLiveStreamWatermarkRequest.h index 6868f386c..44d0d1380 100644 --- a/live/include/alibabacloud/live/model/AddLiveStreamWatermarkRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveStreamWatermarkRequest.h @@ -1,75 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddLiveStreamWatermarkRuleRequest.h b/live/include/alibabacloud/live/model/AddLiveStreamWatermarkRuleRequest.h index a5206481e..60de7740b 100644 --- a/live/include/alibabacloud/live/model/AddLiveStreamWatermarkRuleRequest.h +++ b/live/include/alibabacloud/live/model/AddLiveStreamWatermarkRuleRequest.h @@ -1,60 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddMultiRateConfigRequest.h b/live/include/alibabacloud/live/model/AddMultiRateConfigRequest.h index 4ac4f58b4..61c90a00d 100644 --- a/live/include/alibabacloud/live/model/AddMultiRateConfigRequest.h +++ b/live/include/alibabacloud/live/model/AddMultiRateConfigRequest.h @@ -1,63 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddMultiRateConfigResult.h b/live/include/alibabacloud/live/model/AddMultiRateConfigResult.h index 733daee63..32eff7616 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; - int audioRate; std::string audioCodec; + int audioRate; int videoBitrate; }; diff --git a/live/include/alibabacloud/live/model/AddPlaylistItemsRequest.h b/live/include/alibabacloud/live/model/AddPlaylistItemsRequest.h index 8c9adbab6..cceed45e3 100644 --- a/live/include/alibabacloud/live/model/AddPlaylistItemsRequest.h +++ b/live/include/alibabacloud/live/model/AddPlaylistItemsRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddRtsLiveStreamTranscodeRequest.h b/live/include/alibabacloud/live/model/AddRtsLiveStreamTranscodeRequest.h index 1e83aef66..f515a1f53 100644 --- a/live/include/alibabacloud/live/model/AddRtsLiveStreamTranscodeRequest.h +++ b/live/include/alibabacloud/live/model/AddRtsLiveStreamTranscodeRequest.h @@ -1,96 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddShowIntoShowListRequest.h b/live/include/alibabacloud/live/model/AddShowIntoShowListRequest.h index 9acbc2601..7f56ad877 100644 --- a/live/include/alibabacloud/live/model/AddShowIntoShowListRequest.h +++ b/live/include/alibabacloud/live/model/AddShowIntoShowListRequest.h @@ -1,69 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddStudioLayoutRequest.h b/live/include/alibabacloud/live/model/AddStudioLayoutRequest.h index 3057b221b..71f25a705 100644 --- a/live/include/alibabacloud/live/model/AddStudioLayoutRequest.h +++ b/live/include/alibabacloud/live/model/AddStudioLayoutRequest.h @@ -1,66 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AddTrancodeSEIRequest.h b/live/include/alibabacloud/live/model/AddTrancodeSEIRequest.h index 77fb7faa0..d773f9290 100644 --- a/live/include/alibabacloud/live/model/AddTrancodeSEIRequest.h +++ b/live/include/alibabacloud/live/model/AddTrancodeSEIRequest.h @@ -1,63 +1,69 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_ADDTRANCODESEIREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_ADDTRANCODESEIREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/AllowPushStreamRequest.h b/live/include/alibabacloud/live/model/AllowPushStreamRequest.h index 9f0689847..ef35e7315 100644 --- a/live/include/alibabacloud/live/model/AllowPushStreamRequest.h +++ b/live/include/alibabacloud/live/model/AllowPushStreamRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsRequest.h b/live/include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsRequest.h index 7a8b59698..55958d791 100644 --- a/live/include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsRequest.h +++ b/live/include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/BatchSetLiveDomainConfigsRequest.h b/live/include/alibabacloud/live/model/BatchSetLiveDomainConfigsRequest.h index 3039c7831..2f45a7088 100644 --- a/live/include/alibabacloud/live/model/BatchSetLiveDomainConfigsRequest.h +++ b/live/include/alibabacloud/live/model/BatchSetLiveDomainConfigsRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/CloseLiveShiftRequest.h b/live/include/alibabacloud/live/model/CloseLiveShiftRequest.h index c5969fe13..0343850d8 100644 --- a/live/include/alibabacloud/live/model/CloseLiveShiftRequest.h +++ b/live/include/alibabacloud/live/model/CloseLiveShiftRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/CopyCasterRequest.h b/live/include/alibabacloud/live/model/CopyCasterRequest.h index 5d41b1559..f4d1bf18e 100644 --- a/live/include/alibabacloud/live/model/CopyCasterRequest.h +++ b/live/include/alibabacloud/live/model/CopyCasterRequest.h @@ -1,51 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_COPYCASTERREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_COPYCASTERREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/CopyCasterSceneConfigRequest.h b/live/include/alibabacloud/live/model/CopyCasterSceneConfigRequest.h index fa9a0f3b5..4102bf5ca 100644 --- a/live/include/alibabacloud/live/model/CopyCasterSceneConfigRequest.h +++ b/live/include/alibabacloud/live/model/CopyCasterSceneConfigRequest.h @@ -1,51 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_COPYCASTERSCENECONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_COPYCASTERSCENECONFIGREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/CreateCasterRequest.h b/live/include/alibabacloud/live/model/CreateCasterRequest.h index 0ea52f22b..49391221a 100644 --- a/live/include/alibabacloud/live/model/CreateCasterRequest.h +++ b/live/include/alibabacloud/live/model/CreateCasterRequest.h @@ -1,66 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/CreateCustomTemplateRequest.h b/live/include/alibabacloud/live/model/CreateCustomTemplateRequest.h index 748217929..2e0b24c89 100644 --- a/live/include/alibabacloud/live/model/CreateCustomTemplateRequest.h +++ b/live/include/alibabacloud/live/model/CreateCustomTemplateRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/CreateLiveRealTimeLogDeliveryRequest.h b/live/include/alibabacloud/live/model/CreateLiveRealTimeLogDeliveryRequest.h index cc741cfbd..4c9d10f17 100644 --- a/live/include/alibabacloud/live/model/CreateLiveRealTimeLogDeliveryRequest.h +++ b/live/include/alibabacloud/live/model/CreateLiveRealTimeLogDeliveryRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/CreateLiveStreamMonitorRequest.h b/live/include/alibabacloud/live/model/CreateLiveStreamMonitorRequest.h index 0846745cd..385d071e0 100644 --- a/live/include/alibabacloud/live/model/CreateLiveStreamMonitorRequest.h +++ b/live/include/alibabacloud/live/model/CreateLiveStreamMonitorRequest.h @@ -1,60 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesRequest.h b/live/include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesRequest.h index febfe78bd..584811ada 100644 --- a/live/include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesRequest.h +++ b/live/include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesRequest.h @@ -1,69 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/CreateMixStreamRequest.h b/live/include/alibabacloud/live/model/CreateMixStreamRequest.h index 39d0da3f0..a7c983658 100644 --- a/live/include/alibabacloud/live/model/CreateMixStreamRequest.h +++ b/live/include/alibabacloud/live/model/CreateMixStreamRequest.h @@ -1,57 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteCasterComponentRequest.h b/live/include/alibabacloud/live/model/DeleteCasterComponentRequest.h index d2095ba01..70789f723 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterComponentRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterComponentRequest.h @@ -1,48 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTERCOMPONENTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERCOMPONENTREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTERCOMPONENTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERCOMPONENTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteCasterComponentRequest : public RpcServiceRequest + { + + public: + DeleteCasterComponentRequest(); + ~DeleteCasterComponentRequest(); + + std::string getComponentId()const; + void setComponentId(const std::string& componentId); + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string componentId_; + std::string casterId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERCOMPONENTREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteCasterEpisodeGroupRequest.h b/live/include/alibabacloud/live/model/DeleteCasterEpisodeGroupRequest.h index ce1426d74..7d50b9ea2 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterEpisodeGroupRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterEpisodeGroupRequest.h @@ -1,45 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEGROUPREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEGROUPREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteCasterEpisodeRequest.h b/live/include/alibabacloud/live/model/DeleteCasterEpisodeRequest.h index 7fcea7979..f74e1dce6 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterEpisodeRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterEpisodeRequest.h @@ -1,48 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteCasterEpisodeRequest : public RpcServiceRequest + { + + public: + DeleteCasterEpisodeRequest(); + ~DeleteCasterEpisodeRequest(); + + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getEpisodeId()const; + void setEpisodeId(const std::string& episodeId); + + private: + std::string casterId_; + long ownerId_; + std::string episodeId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTEREPISODEREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteCasterLayoutRequest.h b/live/include/alibabacloud/live/model/DeleteCasterLayoutRequest.h index 5bd253710..54f37d516 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterLayoutRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterLayoutRequest.h @@ -1,48 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTERLAYOUTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERLAYOUTREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteCasterProgramRequest.h b/live/include/alibabacloud/live/model/DeleteCasterProgramRequest.h index f1c31284b..c31a83e89 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterProgramRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterProgramRequest.h @@ -1,45 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTERPROGRAMREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERPROGRAMREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTERPROGRAMREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERPROGRAMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteCasterProgramRequest : public RpcServiceRequest + { + + public: + DeleteCasterProgramRequest(); + ~DeleteCasterProgramRequest(); + + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string casterId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERPROGRAMREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteCasterRequest.h b/live/include/alibabacloud/live/model/DeleteCasterRequest.h index 2abca774d..cbe0af51f 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterRequest.h @@ -1,45 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTERREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTERREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteCasterRequest : public RpcServiceRequest + { + + public: + DeleteCasterRequest(); + ~DeleteCasterRequest(); + + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string casterId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteCasterSceneConfigRequest.h b/live/include/alibabacloud/live/model/DeleteCasterSceneConfigRequest.h index e194a9891..2835baa75 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterSceneConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterSceneConfigRequest.h @@ -1,51 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTERSCENECONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERSCENECONFIGREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteCasterVideoResourceRequest.h b/live/include/alibabacloud/live/model/DeleteCasterVideoResourceRequest.h index 5d6fa7966..9439d15dd 100644 --- a/live/include/alibabacloud/live/model/DeleteCasterVideoResourceRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCasterVideoResourceRequest.h @@ -1,48 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTERVIDEORESOURCEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERVIDEORESOURCEREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECASTERVIDEORESOURCEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECASTERVIDEORESOURCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteCasterVideoResourceRequest : public RpcServiceRequest + { + + public: + DeleteCasterVideoResourceRequest(); + ~DeleteCasterVideoResourceRequest(); + + std::string getResourceId()const; + void setResourceId(const std::string& resourceId); + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string resourceId_; + std::string casterId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECASTERVIDEORESOURCEREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteCustomTemplateRequest.h b/live/include/alibabacloud/live/model/DeleteCustomTemplateRequest.h index cba537939..190c41ab8 100644 --- a/live/include/alibabacloud/live/model/DeleteCustomTemplateRequest.h +++ b/live/include/alibabacloud/live/model/DeleteCustomTemplateRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteLiveAppRecordConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveAppRecordConfigRequest.h index b35a2467c..56d070648 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveAppRecordConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveAppRecordConfigRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigRequest.h index 7cb6c2522..1f84a61ce 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteLiveAudioAuditConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveAudioAuditConfigRequest.h index 0e483e1b8..7eeefb461 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveAudioAuditConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveAudioAuditConfigRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteLiveAudioAuditNotifyConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveAudioAuditNotifyConfigRequest.h index 333e402c8..2ff84d612 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveAudioAuditNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveAudioAuditNotifyConfigRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigRequest.h index 93533b1f1..6c4c71ed2 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigRequest.h @@ -1,48 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEDETECTNOTIFYCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEDETECTNOTIFYCONFIGREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteLiveDomainMappingRequest.h b/live/include/alibabacloud/live/model/DeleteLiveDomainMappingRequest.h index 8c6e35cf8..d938704c8 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveDomainMappingRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveDomainMappingRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteLiveDomainPlayMappingRequest.h b/live/include/alibabacloud/live/model/DeleteLiveDomainPlayMappingRequest.h index 6339a6535..6a8e6a7f7 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveDomainPlayMappingRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveDomainPlayMappingRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteLiveDomainRequest.h b/live/include/alibabacloud/live/model/DeleteLiveDomainRequest.h index 63904c46f..18cb7703d 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveDomainRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveDomainRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteLiveEdgeTransferRequest.h b/live/include/alibabacloud/live/model/DeleteLiveEdgeTransferRequest.h index 0fe381626..2c2b22142 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveEdgeTransferRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveEdgeTransferRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigRequest.h index 5c7c1db41..c13e03d20 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigRequest.h index 6c8a36e93..34299e361 100644 --- a/live/include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteLiveRealTimeLogLogstoreRequest.h b/live/include/alibabacloud/live/model/DeleteLiveRealTimeLogLogstoreRequest.h index c7f4e3ace..71a8f5d61 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveRealTimeLogLogstoreRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveRealTimeLogLogstoreRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteLiveRealtimeLogDeliveryRequest.h b/live/include/alibabacloud/live/model/DeleteLiveRealtimeLogDeliveryRequest.h index 2f1a9baa4..20ab8c92b 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveRealtimeLogDeliveryRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveRealtimeLogDeliveryRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigRequest.h index b74c3e873..1886d9de7 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigRequest.h @@ -1,48 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVERECORDNOTIFYCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DELETELIVERECORDNOTIFYCONFIGREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteLiveRecordVodConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveRecordVodConfigRequest.h index c055d9e6f..e6e41f74b 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveRecordVodConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveRecordVodConfigRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigRequest.h index 818160c8a..83a6803b5 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteLiveSpecificStagingConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveSpecificStagingConfigRequest.h index 2685487b1..cd8b73676 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveSpecificStagingConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveSpecificStagingConfigRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteLiveStreamMonitorRequest.h b/live/include/alibabacloud/live/model/DeleteLiveStreamMonitorRequest.h index 88394f61d..246a9291f 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveStreamMonitorRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamMonitorRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteLiveStreamRecordIndexFilesRequest.h b/live/include/alibabacloud/live/model/DeleteLiveStreamRecordIndexFilesRequest.h new file mode 100644 index 000000000..88d0131e4 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamRecordIndexFilesRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_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 diff --git a/live/include/alibabacloud/live/model/DeleteLiveStreamRecordIndexFilesResult.h b/live/include/alibabacloud/live/model/DeleteLiveStreamRecordIndexFilesResult.h new file mode 100644 index 000000000..60931c71d --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamRecordIndexFilesResult.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMRECORDINDEXFILESRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMRECORDINDEXFILESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveStreamRecordIndexFilesResult : public ServiceResult + { + public: + struct RecordDeleteInfo + { + std::string message; + std::string recordId; + }; + + + DeleteLiveStreamRecordIndexFilesResult(); + explicit DeleteLiveStreamRecordIndexFilesResult(const std::string &payload); + ~DeleteLiveStreamRecordIndexFilesResult(); + std::vector getRecordDeleteInfoList()const; + std::string getMessage()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::vector recordDeleteInfoList_; + std::string message_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMRECORDINDEXFILESRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveStreamTranscodeRequest.h b/live/include/alibabacloud/live/model/DeleteLiveStreamTranscodeRequest.h index b02ec5c59..f3b50574e 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveStreamTranscodeRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamTranscodeRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteLiveStreamWatermarkRequest.h b/live/include/alibabacloud/live/model/DeleteLiveStreamWatermarkRequest.h index b9fe686a1..9b485b1d0 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveStreamWatermarkRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamWatermarkRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteLiveStreamWatermarkRuleRequest.h b/live/include/alibabacloud/live/model/DeleteLiveStreamWatermarkRuleRequest.h index 9ab5ab73a..8b2ae9dac 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveStreamWatermarkRuleRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamWatermarkRuleRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.h index a1279394c..dd69e115e 100644 --- a/live/include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteMixStreamRequest.h b/live/include/alibabacloud/live/model/DeleteMixStreamRequest.h index ba1f5634d..462a6a364 100644 --- a/live/include/alibabacloud/live/model/DeleteMixStreamRequest.h +++ b/live/include/alibabacloud/live/model/DeleteMixStreamRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteMultiRateConfigRequest.h b/live/include/alibabacloud/live/model/DeleteMultiRateConfigRequest.h index 6958045e9..7a1e8b9b2 100644 --- a/live/include/alibabacloud/live/model/DeleteMultiRateConfigRequest.h +++ b/live/include/alibabacloud/live/model/DeleteMultiRateConfigRequest.h @@ -1,57 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeletePlaylistItemsRequest.h b/live/include/alibabacloud/live/model/DeletePlaylistItemsRequest.h index 2cb58963c..3a3c17630 100644 --- a/live/include/alibabacloud/live/model/DeletePlaylistItemsRequest.h +++ b/live/include/alibabacloud/live/model/DeletePlaylistItemsRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeletePlaylistRequest.h b/live/include/alibabacloud/live/model/DeletePlaylistRequest.h index d361a3df7..4008c90e3 100644 --- a/live/include/alibabacloud/live/model/DeletePlaylistRequest.h +++ b/live/include/alibabacloud/live/model/DeletePlaylistRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteRoomRequest.h b/live/include/alibabacloud/live/model/DeleteRoomRequest.h index 364f5744e..b8d9bd6dc 100644 --- a/live/include/alibabacloud/live/model/DeleteRoomRequest.h +++ b/live/include/alibabacloud/live/model/DeleteRoomRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteSnapshotCallbackAuthRequest.h b/live/include/alibabacloud/live/model/DeleteSnapshotCallbackAuthRequest.h index 0cb1e8481..edbbdab77 100644 --- a/live/include/alibabacloud/live/model/DeleteSnapshotCallbackAuthRequest.h +++ b/live/include/alibabacloud/live/model/DeleteSnapshotCallbackAuthRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DeleteSnapshotFilesRequest.h b/live/include/alibabacloud/live/model/DeleteSnapshotFilesRequest.h new file mode 100644 index 000000000..ca6a3959b --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteSnapshotFilesRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_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 diff --git a/live/include/alibabacloud/live/model/DeleteSnapshotFilesResult.h b/live/include/alibabacloud/live/model/DeleteSnapshotFilesResult.h new file mode 100644 index 000000000..5a5d154e9 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteSnapshotFilesResult.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETESNAPSHOTFILESRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETESNAPSHOTFILESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteSnapshotFilesResult : public ServiceResult + { + public: + struct SnapshotDeleteInfo + { + std::string message; + long createTimestamp; + }; + + + DeleteSnapshotFilesResult(); + explicit DeleteSnapshotFilesResult(const std::string &payload); + ~DeleteSnapshotFilesResult(); + std::vector getSnapshotDeleteInfoList()const; + int getFailureCount()const; + int getSuccessCount()const; + + protected: + void parse(const std::string &payload); + private: + std::vector snapshotDeleteInfoList_; + int failureCount_; + int successCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETESNAPSHOTFILESRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteStudioLayoutRequest.h b/live/include/alibabacloud/live/model/DeleteStudioLayoutRequest.h index 490211280..0713f020e 100644 --- a/live/include/alibabacloud/live/model/DeleteStudioLayoutRequest.h +++ b/live/include/alibabacloud/live/model/DeleteStudioLayoutRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeAutoShowListTasksRequest.h b/live/include/alibabacloud/live/model/DescribeAutoShowListTasksRequest.h index 0819d8f30..eaff89bd7 100644 --- a/live/include/alibabacloud/live/model/DescribeAutoShowListTasksRequest.h +++ b/live/include/alibabacloud/live/model/DescribeAutoShowListTasksRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeCasterChannelsRequest.h b/live/include/alibabacloud/live/model/DescribeCasterChannelsRequest.h index 54a793194..a1180cf5d 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterChannelsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterChannelsRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeCasterComponentsRequest.h b/live/include/alibabacloud/live/model/DescribeCasterComponentsRequest.h index a7b70e31d..df408ecd5 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterComponentsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterComponentsRequest.h @@ -1,48 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCOMPONENTSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCOMPONENTSREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCOMPONENTSREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCOMPONENTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterComponentsRequest : public RpcServiceRequest + { + + public: + DescribeCasterComponentsRequest(); + ~DescribeCasterComponentsRequest(); + + std::string getComponentId()const; + void setComponentId(const std::string& componentId); + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string componentId_; + std::string casterId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCOMPONENTSREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterComponentsResult.h b/live/include/alibabacloud/live/model/DescribeCasterComponentsResult.h index f432b6274..751450625 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 borderColor; std::string fontName; + std::string borderColor; std::string text; }; struct ImageLayerContent @@ -59,10 +59,10 @@ namespace AlibabaCloud { float borderWidthNormalized; std::string color; - std::string sourceLan; - std::string borderColor; std::string locationId; + std::string sourceLan; bool showSourceLan; + std::string borderColor; int wordCountPerLine; int ptsOffset; float sizeNormalized; @@ -77,8 +77,8 @@ namespace AlibabaCloud std::string componentType; ComponentLayer componentLayer; std::string locationId; - std::string effect; std::string componentName; + std::string effect; std::string componentId; ImageLayerContent imageLayerContent; }; diff --git a/live/include/alibabacloud/live/model/DescribeCasterConfigRequest.h b/live/include/alibabacloud/live/model/DescribeCasterConfigRequest.h index 967a9d20a..f033ad471 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterConfigRequest.h @@ -1,45 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCONFIGREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterConfigRequest : public RpcServiceRequest + { + + public: + DescribeCasterConfigRequest(); + ~DescribeCasterConfigRequest(); + + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string casterId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterConfigResult.h b/live/include/alibabacloud/live/model/DescribeCasterConfigResult.h index 067294a7b..0e2ca3351 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterConfigResult.h +++ b/live/include/alibabacloud/live/model/DescribeCasterConfigResult.h @@ -63,13 +63,13 @@ namespace AlibabaCloud ~DescribeCasterConfigResult(); int getChannelEnable()const; std::string getDomainName()const; - std::string getUrgentMaterialId()const; std::string getSideOutputUrlList()const; + std::string getUrgentMaterialId()const; TranscodeConfig getTranscodeConfig()const; std::string getProgramName()const; float getDelay()const; - std::string getCallbackUrl()const; std::string getSideOutputUrl()const; + std::string getCallbackUrl()const; std::string getCasterName()const; int getProgramEffect()const; std::vector getSyncGroupsConfig()const; @@ -81,13 +81,13 @@ namespace AlibabaCloud private: int channelEnable_; std::string domainName_; - std::string urgentMaterialId_; std::string sideOutputUrlList_; + std::string urgentMaterialId_; TranscodeConfig transcodeConfig_; std::string programName_; float delay_; - std::string callbackUrl_; std::string sideOutputUrl_; + std::string callbackUrl_; std::string casterName_; int programEffect_; std::vector syncGroupsConfig_; diff --git a/live/include/alibabacloud/live/model/DescribeCasterLayoutsRequest.h b/live/include/alibabacloud/live/model/DescribeCasterLayoutsRequest.h index d8ba00f7d..c6c5709d2 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterLayoutsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterLayoutsRequest.h @@ -1,48 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERLAYOUTSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERLAYOUTSREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeCasterProgramRequest.h b/live/include/alibabacloud/live/model/DescribeCasterProgramRequest.h index 6a5d8cbba..dc598bf18 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterProgramRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterProgramRequest.h @@ -1,66 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERPROGRAMREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERPROGRAMREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeCasterProgramResult.h b/live/include/alibabacloud/live/model/DescribeCasterProgramResult.h index c060a9498..04ca87b5d 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 { - int status; std::string switchType; + int status; std::vector componentIds; std::string endTime; std::string resourceId; - std::string startTime; std::string episodeType; + std::string startTime; std::string episodeId; std::string episodeName; }; @@ -52,8 +52,8 @@ namespace AlibabaCloud int getProgramEffect()const; int getTotal()const; std::vector getEpisodes()const; - std::string getProgramName()const; std::string getCasterId()const; + std::string getProgramName()const; protected: void parse(const std::string &payload); @@ -61,8 +61,8 @@ namespace AlibabaCloud int programEffect_; int total_; std::vector episodes_; - std::string programName_; std::string casterId_; + std::string programName_; }; } diff --git a/live/include/alibabacloud/live/model/DescribeCasterSceneAudioRequest.h b/live/include/alibabacloud/live/model/DescribeCasterSceneAudioRequest.h index 7e7406ff6..b512867a4 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterSceneAudioRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterSceneAudioRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeCasterScenesRequest.h b/live/include/alibabacloud/live/model/DescribeCasterScenesRequest.h index 8bd497f26..2255360f0 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterScenesRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterScenesRequest.h @@ -1,48 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENESREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSCENESREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeCasterScenesResult.h b/live/include/alibabacloud/live/model/DescribeCasterScenesResult.h index 1cbe2e975..0f0c7ce52 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 videoFormat; std::string transcodeConfig; + std::string videoFormat; }; - int status; std::string sceneId; + int status; 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 2a8fb24f1..b5c78986d 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterStreamUrlRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterStreamUrlRequest.h @@ -1,45 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSTREAMURLREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSTREAMURLREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSTREAMURLREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSTREAMURLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterStreamUrlRequest : public RpcServiceRequest + { + + public: + DescribeCasterStreamUrlRequest(); + ~DescribeCasterStreamUrlRequest(); + + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string casterId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSTREAMURLREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCasterStreamUrlResult.h b/live/include/alibabacloud/live/model/DescribeCasterStreamUrlResult.h index 60ad1d6b3..7de50a860 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 videoFormat; std::string transcodeConfig; + std::string videoFormat; }; 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 b74ecce64..30434c898 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterSyncGroupRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterSyncGroupRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesRequest.h b/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesRequest.h index 9b7a4dab2..d17e545b3 100644 --- a/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesRequest.h @@ -1,45 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERVIDEORESOURCESREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERVIDEORESOURCESREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERVIDEORESOURCESREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERVIDEORESOURCESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeCasterVideoResourcesRequest : public RpcServiceRequest + { + + public: + DescribeCasterVideoResourcesRequest(); + ~DescribeCasterVideoResourcesRequest(); + + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string casterId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERVIDEORESOURCESREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeCastersRequest.h b/live/include/alibabacloud/live/model/DescribeCastersRequest.h index 233479cce..4750f6ab6 100644 --- a/live/include/alibabacloud/live/model/DescribeCastersRequest.h +++ b/live/include/alibabacloud/live/model/DescribeCastersRequest.h @@ -1,69 +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_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 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_; -}; -} // namespace Model -} // namespace Live -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBECASTERSREQUEST_H_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeDomainUsageDataRequest.h b/live/include/alibabacloud/live/model/DescribeDomainUsageDataRequest.h index 582fe4419..0df1f7dc2 100644 --- a/live/include/alibabacloud/live/model/DescribeDomainUsageDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeDomainUsageDataRequest.h @@ -1,63 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeDomainWithIntegrityRequest.h b/live/include/alibabacloud/live/model/DescribeDomainWithIntegrityRequest.h index 68b72f277..d8adf3f47 100644 --- a/live/include/alibabacloud/live/model/DescribeDomainWithIntegrityRequest.h +++ b/live/include/alibabacloud/live/model/DescribeDomainWithIntegrityRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeForbidPushStreamRoomListRequest.h b/live/include/alibabacloud/live/model/DescribeForbidPushStreamRoomListRequest.h index 9ad15bb8b..0b14cadc6 100644 --- a/live/include/alibabacloud/live/model/DescribeForbidPushStreamRoomListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeForbidPushStreamRoomListRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.h b/live/include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.h index 54b4af6b4..f5b326372 100644 --- a/live/include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveAudioAuditConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveAudioAuditConfigRequest.h index 2f7b67123..446bed2eb 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveAudioAuditConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveAudioAuditConfigRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveAudioAuditNotifyConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveAudioAuditNotifyConfigRequest.h index daae063d1..d3d905450 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveAudioAuditNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveAudioAuditNotifyConfigRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveCertificateDetailRequest.h b/live/include/alibabacloud/live/model/DescribeLiveCertificateDetailRequest.h index bc1201954..3bf6cf86e 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveCertificateDetailRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveCertificateDetailRequest.h @@ -1,48 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATEDETAILREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATEDETAILREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveCertificateDetailResult.h b/live/include/alibabacloud/live/model/DescribeLiveCertificateDetailResult.h index 17656c0cb..84b2a7136 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 getCertName()const; std::string getCert()const; + std::string getCertName()const; protected: void parse(const std::string &payload); private: long certId_; - std::string certName_; std::string cert_; + std::string certName_; }; } diff --git a/live/include/alibabacloud/live/model/DescribeLiveCertificateListRequest.h b/live/include/alibabacloud/live/model/DescribeLiveCertificateListRequest.h index ef4cb2af0..1152c381b 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveCertificateListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveCertificateListRequest.h @@ -1,48 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATELISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVECERTIFICATELISTREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigRequest.h index 9dd69b998..c02103bb9 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigRequest.h @@ -1,48 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDETECTNOTIFYCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDETECTNOTIFYCONFIGREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDetectPornDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDetectPornDataRequest.h index 6d4d12f37..373fdf067 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDetectPornDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDetectPornDataRequest.h @@ -1,69 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataByLayerRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataByLayerRequest.h index 0acae8696..9796bc9a4 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataByLayerRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataByLayerRequest.h @@ -1,63 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataByTimeStampRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataByTimeStampRequest.h index 900ff164c..518c4c1ab 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataByTimeStampRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataByTimeStampRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataRequest.h index c858552cc..4344233b4 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataRequest.h @@ -1,60 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainCertificateInfoRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainCertificateInfoRequest.h index 3a64eff41..75665b0e6 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainCertificateInfoRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainCertificateInfoRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainConfigsRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainConfigsRequest.h index 64f11ea48..d96562ba1 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainConfigsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainConfigsRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainDetailRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainDetailRequest.h index 9b7946621..1ea08db0f 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainDetailRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainDetailRequest.h @@ -1,48 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINDETAILREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINDETAILREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainFrameRateAndBitRateDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainFrameRateAndBitRateDataRequest.h index 4ca03dfe9..e5db33cc2 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainFrameRateAndBitRateDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainFrameRateAndBitRateDataRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainLimitRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainLimitRequest.h index 35dd28c69..42e6ace07 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainLimitRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainLimitRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainLogRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainLogRequest.h index 19daf3ef7..5b54a6fff 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainLogRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainLogRequest.h @@ -1,57 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainMappingRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainMappingRequest.h index 111653f25..d2111a74c 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainMappingRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainMappingRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainOnlineUserNumRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainOnlineUserNumRequest.h index 9a861cd98..66e16270a 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainOnlineUserNumRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainOnlineUserNumRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainPushBpsDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainPushBpsDataRequest.h index 02967928a..d3673a549 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainPushBpsDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainPushBpsDataRequest.h @@ -1,60 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainPushTrafficDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainPushTrafficDataRequest.h index 73f9234d0..82c79a38a 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainPushTrafficDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainPushTrafficDataRequest.h @@ -1,60 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainPvUvDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainPvUvDataRequest.h index 1ee128678..25666f9f3 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainPvUvDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainPvUvDataRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeBpsDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeBpsDataRequest.h index c54550ba0..2cb9e33bf 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeBpsDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeBpsDataRequest.h @@ -1,57 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.h index d19710921..ceb104b90 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.h @@ -1,57 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeTrafficDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeTrafficDataRequest.h index dd5981648..b28988d5c 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeTrafficDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRealTimeTrafficDataRequest.h @@ -1,57 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRealtimeLogDeliveryRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRealtimeLogDeliveryRequest.h index c5b62b3d5..6a5a263fc 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainRealtimeLogDeliveryRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRealtimeLogDeliveryRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.h index 7bb34fc3b..fe2515426 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.h @@ -1,54 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDDATAREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRecordUsageDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRecordUsageDataRequest.h index 9e9cb2ff9..a9c7846d4 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainRecordUsageDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRecordUsageDataRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataRequest.h index c4a2f2f82..6bdd6410f 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataRequest.h @@ -1,51 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSNAPSHOTDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSNAPSHOTDATAREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainSpecialConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainSpecialConfigRequest.h new file mode 100644 index 000000000..4c48845dc --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainSpecialConfigRequest.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_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/DescribeLiveDomainSpecialConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveDomainSpecialConfigResult.h new file mode 100644 index 000000000..80c7f9d88 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainSpecialConfigResult.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_DESCRIBELIVEDOMAINSPECIALCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSPECIALCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainSpecialConfigResult : public ServiceResult + { + public: + struct Config + { + std::string value; + long configId; + std::string name; + }; + + + DescribeLiveDomainSpecialConfigResult(); + explicit DescribeLiveDomainSpecialConfigResult(const std::string &payload); + ~DescribeLiveDomainSpecialConfigResult(); + std::vector getConfigs()const; + + protected: + void parse(const std::string &payload); + private: + std::vector configs_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSPECIALCONFIGRESULT_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 f6377122d..18cb9b321 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainStagingConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainStagingConfigRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainStreamTranscodeDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainStreamTranscodeDataRequest.h index 93bc4dacd..c409f8ea3 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainStreamTranscodeDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainStreamTranscodeDataRequest.h @@ -1,57 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainStreamWaterLevelRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainStreamWaterLevelRequest.h deleted file mode 100644 index 2b28305be..000000000 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainStreamWaterLevelRequest.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTREAMWATERLEVELREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTREAMWATERLEVELREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace Live { -namespace Model { -class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainStreamWaterLevelRequest : public RpcServiceRequest { -public: - DescribeLiveDomainStreamWaterLevelRequest(); - ~DescribeLiveDomainStreamWaterLevelRequest(); - std::string getLiveRegion() const; - void setLiveRegion(const std::string &liveRegion); - long getOwnerId() const; - void setOwnerId(long ownerId); - -private: - std::string liveRegion_; - long ownerId_; -}; -} // namespace Model -} // namespace Live -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTREAMWATERLEVELREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainStreamWaterLevelResult.h b/live/include/alibabacloud/live/model/DescribeLiveDomainStreamWaterLevelResult.h deleted file mode 100644 index 4393e12b2..000000000 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainStreamWaterLevelResult.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTREAMWATERLEVELRESULT_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTREAMWATERLEVELRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Live - { - namespace Model - { - class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainStreamWaterLevelResult : public ServiceResult - { - public: - struct LiveUidWaterLevel - { - int uidRawLimit; - int uidTranscodeLimit; - int uidRawCount; - int uidTranscodeCount; - std::string aliUid; - }; - struct LiveDomainWaterLevel - { - int domainTranscodeCount; - std::string domainName; - int domainRawCount; - int domainTranscodeLimit; - int domainRawLimit; - }; - - - DescribeLiveDomainStreamWaterLevelResult(); - explicit DescribeLiveDomainStreamWaterLevelResult(const std::string &payload); - ~DescribeLiveDomainStreamWaterLevelResult(); - LiveUidWaterLevel getLiveUidWaterLevel()const; - std::vector getLiveDomainWaterLevelList()const; - - protected: - void parse(const std::string &payload); - private: - LiveUidWaterLevel liveUidWaterLevel_; - std::vector liveDomainWaterLevelList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTREAMWATERLEVELRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainTimeShiftDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainTimeShiftDataRequest.h index 869ecbb2c..34e100b9f 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainTimeShiftDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainTimeShiftDataRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainTrafficDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainTrafficDataRequest.h index d7dc9c8fc..7abc7c662 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainTrafficDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainTrafficDataRequest.h @@ -1,60 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.h index a575336fa..9de7f9f95 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.h @@ -1,51 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRANSCODEDATAREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINTRANSCODEDATAREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveDrmUsageDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDrmUsageDataRequest.h index a23949b68..9fd306fa4 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDrmUsageDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDrmUsageDataRequest.h @@ -1,57 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveEdgeTransferRequest.h b/live/include/alibabacloud/live/model/DescribeLiveEdgeTransferRequest.h index 1107b4540..4215a0421 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveEdgeTransferRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveEdgeTransferRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigRequest.h index 322371688..64c27881b 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h index f89998e81..850232dbb 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 pullProtocol; std::string domainName; + std::string pullProtocol; std::string pullAuthKey; std::string pullAuthType; std::string pullDomainName; diff --git a/live/include/alibabacloud/live/model/DescribeLivePullStreamConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLivePullStreamConfigRequest.h index 2060a80f6..f38ddb2a0 100644 --- a/live/include/alibabacloud/live/model/DescribeLivePullStreamConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLivePullStreamConfigRequest.h @@ -1,48 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPULLSTREAMCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPULLSTREAMCONFIGREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveRealtimeDeliveryAccRequest.h b/live/include/alibabacloud/live/model/DescribeLiveRealtimeDeliveryAccRequest.h index 365637c85..b27b5f940 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveRealtimeDeliveryAccRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveRealtimeDeliveryAccRequest.h @@ -1,60 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveRealtimeLogAuthorizedRequest.h b/live/include/alibabacloud/live/model/DescribeLiveRealtimeLogAuthorizedRequest.h index 2ec54026d..05f9a05cc 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveRealtimeLogAuthorizedRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveRealtimeLogAuthorizedRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveRecordConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveRecordConfigRequest.h index e2b79a6b9..a52dda42f 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveRecordConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveRecordConfigRequest.h @@ -1,63 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveRecordConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveRecordConfigResult.h index f230f055e..2dd6d523c 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 endTime; std::string ossEndpoint; + std::string endTime; std::string domainName; std::string createTime; std::vector transcodeTemplates; - std::string startTime; std::string ossBucket; + std::string startTime; 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 getTotalPage()const; int getPageSize()const; + int getTotalPage()const; std::vector getLiveAppRecordList()const; protected: @@ -81,8 +81,8 @@ namespace AlibabaCloud std::string order_; int totalNum_; int pageNum_; - int totalPage_; int pageSize_; + int totalPage_; std::vector liveAppRecordList_; }; diff --git a/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigRequest.h index 2a057e30b..5239a5a5b 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigRequest.h @@ -1,48 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDNOTIFYCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDNOTIFYCONFIGREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigResult.h index 0833db767..f40941297 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 { - bool needStatusNotify; - std::string onDemandUrl; std::string domainName; + std::string onDemandUrl; + bool needStatusNotify; std::string notifyUrl; }; diff --git a/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsRequest.h b/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsRequest.h index 721edf5fa..f8b124595 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsRequest.h @@ -1,57 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDVODCONFIGSREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVERECORDVODCONFIGSREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsResult.h b/live/include/alibabacloud/live/model/DescribeLiveRecordVodConfigsResult.h index 6b5a5b9f7..e568277b0 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 autoCompose; std::string domainName; + std::string autoCompose; 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 1e2f3a77f..e38755811 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveShiftConfigsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveShiftConfigsRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigRequest.h index f9f66e474..5eb01354d 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigRequest.h @@ -1,60 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveSnapshotConfigResult.h index 7dfbe5dde..5d501c94e 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 getTotalPage()const; int getPageSize()const; + int getTotalPage()const; std::vector getLiveStreamSnapshotConfigList()const; protected: @@ -62,8 +62,8 @@ namespace AlibabaCloud std::string order_; int totalNum_; int pageNum_; - int totalPage_; int pageSize_; + int totalPage_; std::vector liveStreamSnapshotConfigList_; }; diff --git a/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigRequest.h index 723240f14..e286e3d08 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigRequest.h @@ -1,60 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigResult.h index c65c47905..f0028876c 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 getTotalPage()const; int getPageSize()const; + int getTotalPage()const; std::vector getLiveSnapshotDetectPornConfigList()const; protected: @@ -60,8 +60,8 @@ namespace AlibabaCloud std::string order_; int totalNum_; int pageNum_; - int totalPage_; int pageSize_; + int totalPage_; std::vector liveSnapshotDetectPornConfigList_; }; diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamBitRateDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamBitRateDataRequest.h index d6d92c0d5..eb5b17ea3 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamBitRateDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamBitRateDataRequest.h @@ -1,60 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamCountRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamCountRequest.h index a3b571928..ebd24d55f 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamCountRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamCountRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamDelayConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamDelayConfigRequest.h index c21af9fd0..8c65148ed 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamDelayConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamDelayConfigRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumRequest.h index 532232b68..0ce64a982 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumRequest.h @@ -1,60 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamMonitorListRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamMonitorListRequest.h index e3a03ef6b..6a97ccc53 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamMonitorListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamMonitorListRequest.h @@ -1,57 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamMonitorListResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamMonitorListResult.h index f5a0c1060..a6d1d13e6 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 startTime; std::string monitorName; + std::string startTime; 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 2325c7995..8fd788e31 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamOptimizedFeatureConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamOptimizedFeatureConfigRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentRequest.h index c43f4f981..a48ca20f5 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentRequest.h @@ -1,60 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordContentResult.h index faf4fd335..ed8ab4a35 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 endTime; std::string ossEndpoint; - std::string startTime; + std::string endTime; std::string ossBucket; + std::string startTime; float duration; std::string ossObjectPrefix; }; diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFileRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFileRequest.h index 07ba12da4..15114432d 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFileRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFileRequest.h @@ -1,57 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesRequest.h index 6d7e04f68..9c9a0591b 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesRequest.h @@ -1,69 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesResult.h index da799e843..2e1269b1f 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 getTotalPage()const; int getPageSize()const; + int getTotalPage()const; std::vector getRecordIndexInfoList()const; protected: @@ -67,8 +67,8 @@ namespace AlibabaCloud std::string order_; int totalNum_; int pageNum_; - int totalPage_; int pageSize_; + int totalPage_; std::vector recordIndexInfoList_; }; diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoRequest.h index 7712770fc..e8e44db4c 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoRequest.h @@ -1,66 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamStateRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamStateRequest.h index 8e58a15e1..df9909a3f 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamStateRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamStateRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoRequest.h index 59bda1b66..5d3e2c53f 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoResult.h index 7aedfee50..942a76a78 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; - int audioRate; std::string audioCodec; + int audioRate; int videoBitrate; }; struct EncryptParameters diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeStreamNumRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeStreamNumRequest.h index 2a5c7298e..7352eb96d 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeStreamNumRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamTranscodeStreamNumRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamWatermarkRulesRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamWatermarkRulesRequest.h index 500713c0f..65589b960 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamWatermarkRulesRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamWatermarkRulesRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamWatermarksRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamWatermarksRequest.h index 9e8515448..6399f5fbb 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamWatermarksRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamWatermarksRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListRequest.h index 293156348..b592a7abb 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsBlockListResult.h index 07f0da53e..6aa04d1ac 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 getTotalPage()const; int getPageSize()const; + int getTotalPage()const; std::string getDomainName()const; std::vector getStreamUrls()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud private: int totalNum_; int pageNum_; - int totalPage_; int pageSize_; + int totalPage_; 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 cb2caf92d..ba1f2303d 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsControlHistoryRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsControlHistoryRequest.h @@ -1,60 +1,66 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSCONTROLHISTORYREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigRequest.h index 32ac47b3d..bd26f913e 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListRequest.h index 8533d95ff..079cb3502 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListRequest.h @@ -1,72 +1,78 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSONLINELISTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSONLINELISTREQUEST_H_ - -#include -#include -#include -#include -#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_; -}; -} // namespace Model -} // namespace Live -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSONLINELISTREQUEST_H_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListResult.h index fd4c612fa..aa730e88f 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; - int height; std::string publishTime; + int height; 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 dbef02b90..37b809dbd 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListRequest.h @@ -1,72 +1,78 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsPublishListResult.h index 7f69e95fe..e5669ed87 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 publishType; std::string streamUrl; + std::string publishType; 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 03f02ada4..f7116d173 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveTagResourcesRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveTagResourcesRequest.h @@ -1,58 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveTopDomainsByFlowRequest.h b/live/include/alibabacloud/live/model/DescribeLiveTopDomainsByFlowRequest.h index bcf5c4c57..7ea1c9ad9 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveTopDomainsByFlowRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveTopDomainsByFlowRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveUserBillPredictionRequest.h b/live/include/alibabacloud/live/model/DescribeLiveUserBillPredictionRequest.h index 615691410..4200d7f45 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveUserBillPredictionRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveUserBillPredictionRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveUserDomainsRequest.h b/live/include/alibabacloud/live/model/DescribeLiveUserDomainsRequest.h index 5b459a12a..1d7736c9b 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveUserDomainsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveUserDomainsRequest.h @@ -1,73 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeLiveUserDomainsResult.h b/live/include/alibabacloud/live/model/DescribeLiveUserDomainsResult.h index 250fc97db..a0795e85d 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 liveDomainStatus; std::string description; + std::string liveDomainStatus; + std::string domainName; 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/DescribeLiveUserQuotaRequest.h b/live/include/alibabacloud/live/model/DescribeLiveUserQuotaRequest.h new file mode 100644 index 000000000..21d9d6500 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveUserQuotaRequest.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_DESCRIBELIVEUSERQUOTAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERQUOTAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveUserQuotaRequest : public RpcServiceRequest + { + + public: + DescribeLiveUserQuotaRequest(); + ~DescribeLiveUserQuotaRequest(); + + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + + private: + long ownerId_; + std::string securityToken_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERQUOTAREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveUserQuotaResult.h b/live/include/alibabacloud/live/model/DescribeLiveUserQuotaResult.h new file mode 100644 index 000000000..1f3e25c6b --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveUserQuotaResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERQUOTARESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERQUOTARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveUserQuotaResult : public ServiceResult + { + public: + + + DescribeLiveUserQuotaResult(); + explicit DescribeLiveUserQuotaResult(const std::string &payload); + ~DescribeLiveUserQuotaResult(); + int getDomainQuota()const; + std::string getDomainUsedCount()const; + + protected: + void parse(const std::string &payload); + private: + int domainQuota_; + std::string domainUsedCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERQUOTARESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveUserTagsRequest.h b/live/include/alibabacloud/live/model/DescribeLiveUserTagsRequest.h index 402274077..08aac2366 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveUserTagsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveUserTagsRequest.h @@ -1,42 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeMixStreamListRequest.h b/live/include/alibabacloud/live/model/DescribeMixStreamListRequest.h index a513145d3..d04f3061d 100644 --- a/live/include/alibabacloud/live/model/DescribeMixStreamListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeMixStreamListRequest.h @@ -1,66 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeRoomKickoutUserListRequest.h b/live/include/alibabacloud/live/model/DescribeRoomKickoutUserListRequest.h index 14ca34b68..dd54802fa 100644 --- a/live/include/alibabacloud/live/model/DescribeRoomKickoutUserListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeRoomKickoutUserListRequest.h @@ -1,57 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeRoomListRequest.h b/live/include/alibabacloud/live/model/DescribeRoomListRequest.h index 3e515d468..939ebeb55 100644 --- a/live/include/alibabacloud/live/model/DescribeRoomListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeRoomListRequest.h @@ -1,69 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeRoomStatusRequest.h b/live/include/alibabacloud/live/model/DescribeRoomStatusRequest.h index c06882611..8e752284e 100644 --- a/live/include/alibabacloud/live/model/DescribeRoomStatusRequest.h +++ b/live/include/alibabacloud/live/model/DescribeRoomStatusRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeShowListRequest.h b/live/include/alibabacloud/live/model/DescribeShowListRequest.h index 0aae49d7f..4edebe1ba 100644 --- a/live/include/alibabacloud/live/model/DescribeShowListRequest.h +++ b/live/include/alibabacloud/live/model/DescribeShowListRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeShowListResult.h b/live/include/alibabacloud/live/model/DescribeShowListResult.h index 535628b25..68b50ad1f 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 b05d98604..fa9bfaf88 100644 --- a/live/include/alibabacloud/live/model/DescribeStudioLayoutsRequest.h +++ b/live/include/alibabacloud/live/model/DescribeStudioLayoutsRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeStudioLayoutsResult.h b/live/include/alibabacloud/live/model/DescribeStudioLayoutsResult.h index 4ee230412..e94c5149f 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 channelId; std::string videoResourceId; + std::string channelId; }; struct BgImageConfig { @@ -56,8 +56,8 @@ namespace AlibabaCloud std::string positionY; std::string color; AudioConfig audioConfig; - int portraitType; float heightNormalized; + int portraitType; 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 c582db020..71160a88e 100644 --- a/live/include/alibabacloud/live/model/DescribeToutiaoLivePlayRequest.h +++ b/live/include/alibabacloud/live/model/DescribeToutiaoLivePlayRequest.h @@ -1,57 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeToutiaoLivePublishRequest.h b/live/include/alibabacloud/live/model/DescribeToutiaoLivePublishRequest.h index 8aac8d471..288a6f619 100644 --- a/live/include/alibabacloud/live/model/DescribeToutiaoLivePublishRequest.h +++ b/live/include/alibabacloud/live/model/DescribeToutiaoLivePublishRequest.h @@ -1,57 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeToutiaoLivePublishResult.h b/live/include/alibabacloud/live/model/DescribeToutiaoLivePublishResult.h index 8c9c0a3e1..e6cfd35f0 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 451a89eaf..0ef65456d 100644 --- a/live/include/alibabacloud/live/model/DescribeUpBpsPeakDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeUpBpsPeakDataRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeUpBpsPeakOfLineRequest.h b/live/include/alibabacloud/live/model/DescribeUpBpsPeakOfLineRequest.h index ad3102c3b..396a789ba 100644 --- a/live/include/alibabacloud/live/model/DescribeUpBpsPeakOfLineRequest.h +++ b/live/include/alibabacloud/live/model/DescribeUpBpsPeakOfLineRequest.h @@ -1,57 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DescribeUpPeakPublishStreamDataRequest.h b/live/include/alibabacloud/live/model/DescribeUpPeakPublishStreamDataRequest.h index 6f3267763..622ab5cc3 100644 --- a/live/include/alibabacloud/live/model/DescribeUpPeakPublishStreamDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeUpPeakPublishStreamDataRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DisableLiveRealtimeLogDeliveryRequest.h b/live/include/alibabacloud/live/model/DisableLiveRealtimeLogDeliveryRequest.h index 8f9a0eec3..663e3cfc7 100644 --- a/live/include/alibabacloud/live/model/DisableLiveRealtimeLogDeliveryRequest.h +++ b/live/include/alibabacloud/live/model/DisableLiveRealtimeLogDeliveryRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/DynamicUpdateWaterMarkStreamRuleRequest.h b/live/include/alibabacloud/live/model/DynamicUpdateWaterMarkStreamRuleRequest.h index 6b0d45df5..b6144edd8 100644 --- a/live/include/alibabacloud/live/model/DynamicUpdateWaterMarkStreamRuleRequest.h +++ b/live/include/alibabacloud/live/model/DynamicUpdateWaterMarkStreamRuleRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/EditPlaylistRequest.h b/live/include/alibabacloud/live/model/EditPlaylistRequest.h index 1165ed038..6bd1a07eb 100644 --- a/live/include/alibabacloud/live/model/EditPlaylistRequest.h +++ b/live/include/alibabacloud/live/model/EditPlaylistRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/EditShowAndReplaceRequest.h b/live/include/alibabacloud/live/model/EditShowAndReplaceRequest.h index f8c5d6a5b..95f211492 100644 --- a/live/include/alibabacloud/live/model/EditShowAndReplaceRequest.h +++ b/live/include/alibabacloud/live/model/EditShowAndReplaceRequest.h @@ -1,60 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/EffectCasterUrgentRequest.h b/live/include/alibabacloud/live/model/EffectCasterUrgentRequest.h index 22af2d9bc..1515d9d09 100644 --- a/live/include/alibabacloud/live/model/EffectCasterUrgentRequest.h +++ b/live/include/alibabacloud/live/model/EffectCasterUrgentRequest.h @@ -1,48 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERURGENTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERURGENTREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/EffectCasterVideoResourceRequest.h b/live/include/alibabacloud/live/model/EffectCasterVideoResourceRequest.h index 2365bc386..034cff1ed 100644 --- a/live/include/alibabacloud/live/model/EffectCasterVideoResourceRequest.h +++ b/live/include/alibabacloud/live/model/EffectCasterVideoResourceRequest.h @@ -1,51 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERVIDEORESOURCEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_EFFECTCASTERVIDEORESOURCEREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/EnableLiveRealtimeLogDeliveryRequest.h b/live/include/alibabacloud/live/model/EnableLiveRealtimeLogDeliveryRequest.h index aaa2460f8..ecc8e92c0 100644 --- a/live/include/alibabacloud/live/model/EnableLiveRealtimeLogDeliveryRequest.h +++ b/live/include/alibabacloud/live/model/EnableLiveRealtimeLogDeliveryRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/ForbidLiveStreamRequest.h b/live/include/alibabacloud/live/model/ForbidLiveStreamRequest.h index fced31408..d07f836a0 100644 --- a/live/include/alibabacloud/live/model/ForbidLiveStreamRequest.h +++ b/live/include/alibabacloud/live/model/ForbidLiveStreamRequest.h @@ -1,63 +1,69 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_FORBIDLIVESTREAMREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_FORBIDLIVESTREAMREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/ForbidPushStreamRequest.h b/live/include/alibabacloud/live/model/ForbidPushStreamRequest.h index 2251eb370..71e732ee0 100644 --- a/live/include/alibabacloud/live/model/ForbidPushStreamRequest.h +++ b/live/include/alibabacloud/live/model/ForbidPushStreamRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/GetAllCustomTemplatesRequest.h b/live/include/alibabacloud/live/model/GetAllCustomTemplatesRequest.h index 17a90625f..f186b0b49 100644 --- a/live/include/alibabacloud/live/model/GetAllCustomTemplatesRequest.h +++ b/live/include/alibabacloud/live/model/GetAllCustomTemplatesRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/GetCustomTemplateRequest.h b/live/include/alibabacloud/live/model/GetCustomTemplateRequest.h index 2ef41e116..5f48b9485 100644 --- a/live/include/alibabacloud/live/model/GetCustomTemplateRequest.h +++ b/live/include/alibabacloud/live/model/GetCustomTemplateRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/GetEditingJobInfoRequest.h b/live/include/alibabacloud/live/model/GetEditingJobInfoRequest.h index c6766c103..9a0789d99 100644 --- a/live/include/alibabacloud/live/model/GetEditingJobInfoRequest.h +++ b/live/include/alibabacloud/live/model/GetEditingJobInfoRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/GetMultiRateConfigListRequest.h b/live/include/alibabacloud/live/model/GetMultiRateConfigListRequest.h index 301109345..a2cafece7 100644 --- a/live/include/alibabacloud/live/model/GetMultiRateConfigListRequest.h +++ b/live/include/alibabacloud/live/model/GetMultiRateConfigListRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/GetMultiRateConfigRequest.h b/live/include/alibabacloud/live/model/GetMultiRateConfigRequest.h index 0726674be..2f92b4a2a 100644 --- a/live/include/alibabacloud/live/model/GetMultiRateConfigRequest.h +++ b/live/include/alibabacloud/live/model/GetMultiRateConfigRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/GetMultiRateConfigResult.h b/live/include/alibabacloud/live/model/GetMultiRateConfigResult.h index 8d6d244b5..029772dd3 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; - int audioRate; std::string audioCodec; + int audioRate; int videoBitrate; }; diff --git a/live/include/alibabacloud/live/model/HotLiveRtcStreamRequest.h b/live/include/alibabacloud/live/model/HotLiveRtcStreamRequest.h new file mode 100644 index 000000000..a282939bf --- /dev/null +++ b/live/include/alibabacloud/live/model/HotLiveRtcStreamRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_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 diff --git a/live/include/alibabacloud/live/model/HotLiveRtcStreamResult.h b/live/include/alibabacloud/live/model/HotLiveRtcStreamResult.h new file mode 100644 index 000000000..c01567f15 --- /dev/null +++ b/live/include/alibabacloud/live/model/HotLiveRtcStreamResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_HOTLIVERTCSTREAMRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_HOTLIVERTCSTREAMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT HotLiveRtcStreamResult : public ServiceResult + { + public: + + + HotLiveRtcStreamResult(); + explicit HotLiveRtcStreamResult(const std::string &payload); + ~HotLiveRtcStreamResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_HOTLIVERTCSTREAMRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/InitializeAutoShowListTaskRequest.h b/live/include/alibabacloud/live/model/InitializeAutoShowListTaskRequest.h index 17011b9d0..36d1e3ea2 100644 --- a/live/include/alibabacloud/live/model/InitializeAutoShowListTaskRequest.h +++ b/live/include/alibabacloud/live/model/InitializeAutoShowListTaskRequest.h @@ -1,60 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryDomainsRequest.h b/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryDomainsRequest.h index ba65f63b8..f4a28aca2 100644 --- a/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryDomainsRequest.h +++ b/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryDomainsRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryInfosRequest.h b/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryInfosRequest.h index ce5d4ca8f..44e1a19a3 100644 --- a/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryInfosRequest.h +++ b/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryInfosRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryRequest.h b/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryRequest.h index 60040794c..54a87ef87 100644 --- a/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryRequest.h +++ b/live/include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/ListPlaylistItemsRequest.h b/live/include/alibabacloud/live/model/ListPlaylistItemsRequest.h index 351061f7c..5af98a7b3 100644 --- a/live/include/alibabacloud/live/model/ListPlaylistItemsRequest.h +++ b/live/include/alibabacloud/live/model/ListPlaylistItemsRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/ListPlaylistItemsResult.h b/live/include/alibabacloud/live/model/ListPlaylistItemsResult.h index 792f92700..a28eeb902 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; - int index; std::string resourceType; + int index; std::string programId; }; diff --git a/live/include/alibabacloud/live/model/ListPlaylistRequest.h b/live/include/alibabacloud/live/model/ListPlaylistRequest.h index e24258f6f..bc224d58f 100644 --- a/live/include/alibabacloud/live/model/ListPlaylistRequest.h +++ b/live/include/alibabacloud/live/model/ListPlaylistRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/ModifyCasterComponentRequest.h b/live/include/alibabacloud/live/model/ModifyCasterComponentRequest.h index c820940c3..1d2659a25 100644 --- a/live/include/alibabacloud/live/model/ModifyCasterComponentRequest.h +++ b/live/include/alibabacloud/live/model/ModifyCasterComponentRequest.h @@ -1,69 +1,75 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERCOMPONENTREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_MODIFYCASTERCOMPONENTREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/ModifyCasterEpisodeRequest.h b/live/include/alibabacloud/live/model/ModifyCasterEpisodeRequest.h index 80a040f29..60932b891 100644 --- a/live/include/alibabacloud/live/model/ModifyCasterEpisodeRequest.h +++ b/live/include/alibabacloud/live/model/ModifyCasterEpisodeRequest.h @@ -1,66 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_MODIFYCASTEREPISODEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_MODIFYCASTEREPISODEREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/ModifyCasterLayoutRequest.h b/live/include/alibabacloud/live/model/ModifyCasterLayoutRequest.h index 11d9385d6..9e630a289 100644 --- a/live/include/alibabacloud/live/model/ModifyCasterLayoutRequest.h +++ b/live/include/alibabacloud/live/model/ModifyCasterLayoutRequest.h @@ -1,72 +1,82 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/ModifyCasterProgramRequest.h b/live/include/alibabacloud/live/model/ModifyCasterProgramRequest.h index b565401c7..6b8c79e5a 100644 --- a/live/include/alibabacloud/live/model/ModifyCasterProgramRequest.h +++ b/live/include/alibabacloud/live/model/ModifyCasterProgramRequest.h @@ -1,57 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/ModifyCasterVideoResourceRequest.h b/live/include/alibabacloud/live/model/ModifyCasterVideoResourceRequest.h index 513533ff0..d42514bb4 100644 --- a/live/include/alibabacloud/live/model/ModifyCasterVideoResourceRequest.h +++ b/live/include/alibabacloud/live/model/ModifyCasterVideoResourceRequest.h @@ -1,72 +1,78 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/ModifyLiveDomainSchdmByPropertyRequest.h b/live/include/alibabacloud/live/model/ModifyLiveDomainSchdmByPropertyRequest.h index 9833c4d6d..b3835c42d 100644 --- a/live/include/alibabacloud/live/model/ModifyLiveDomainSchdmByPropertyRequest.h +++ b/live/include/alibabacloud/live/model/ModifyLiveDomainSchdmByPropertyRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/ModifyLiveRealtimeLogDeliveryRequest.h b/live/include/alibabacloud/live/model/ModifyLiveRealtimeLogDeliveryRequest.h index 7075211e2..a2e9bbec9 100644 --- a/live/include/alibabacloud/live/model/ModifyLiveRealtimeLogDeliveryRequest.h +++ b/live/include/alibabacloud/live/model/ModifyLiveRealtimeLogDeliveryRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/ModifyShowListRequest.h b/live/include/alibabacloud/live/model/ModifyShowListRequest.h index 5660f76bf..030fd4713 100644 --- a/live/include/alibabacloud/live/model/ModifyShowListRequest.h +++ b/live/include/alibabacloud/live/model/ModifyShowListRequest.h @@ -1,60 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/ModifyStudioLayoutRequest.h b/live/include/alibabacloud/live/model/ModifyStudioLayoutRequest.h index d37bec299..9807aa80e 100644 --- a/live/include/alibabacloud/live/model/ModifyStudioLayoutRequest.h +++ b/live/include/alibabacloud/live/model/ModifyStudioLayoutRequest.h @@ -1,66 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/OpenLiveShiftRequest.h b/live/include/alibabacloud/live/model/OpenLiveShiftRequest.h index e3626ec10..2c7f303e2 100644 --- a/live/include/alibabacloud/live/model/OpenLiveShiftRequest.h +++ b/live/include/alibabacloud/live/model/OpenLiveShiftRequest.h @@ -1,60 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/PlayChoosenShowRequest.h b/live/include/alibabacloud/live/model/PlayChoosenShowRequest.h index c76d12957..e1cab6c61 100644 --- a/live/include/alibabacloud/live/model/PlayChoosenShowRequest.h +++ b/live/include/alibabacloud/live/model/PlayChoosenShowRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/PublishLiveStagingConfigToProductionRequest.h b/live/include/alibabacloud/live/model/PublishLiveStagingConfigToProductionRequest.h index 6f7b4578a..08ac24a53 100644 --- a/live/include/alibabacloud/live/model/PublishLiveStagingConfigToProductionRequest.h +++ b/live/include/alibabacloud/live/model/PublishLiveStagingConfigToProductionRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/QuerySnapshotCallbackAuthRequest.h b/live/include/alibabacloud/live/model/QuerySnapshotCallbackAuthRequest.h index 598738229..d9580b66d 100644 --- a/live/include/alibabacloud/live/model/QuerySnapshotCallbackAuthRequest.h +++ b/live/include/alibabacloud/live/model/QuerySnapshotCallbackAuthRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/RealTimeRecordCommandRequest.h b/live/include/alibabacloud/live/model/RealTimeRecordCommandRequest.h index aa9b160ba..edbc0f2a6 100644 --- a/live/include/alibabacloud/live/model/RealTimeRecordCommandRequest.h +++ b/live/include/alibabacloud/live/model/RealTimeRecordCommandRequest.h @@ -1,54 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_REALTIMERECORDCOMMANDREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_REALTIMERECORDCOMMANDREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/RealTimeSnapshotCommandRequest.h b/live/include/alibabacloud/live/model/RealTimeSnapshotCommandRequest.h index efef33538..90ecc74f9 100644 --- a/live/include/alibabacloud/live/model/RealTimeSnapshotCommandRequest.h +++ b/live/include/alibabacloud/live/model/RealTimeSnapshotCommandRequest.h @@ -1,60 +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_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 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_; -}; -} // namespace Model -} // namespace Live -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LIVE_MODEL_REALTIMESNAPSHOTCOMMANDREQUEST_H_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/RemoveShowFromShowListRequest.h b/live/include/alibabacloud/live/model/RemoveShowFromShowListRequest.h index 542e31eca..055c04f14 100644 --- a/live/include/alibabacloud/live/model/RemoveShowFromShowListRequest.h +++ b/live/include/alibabacloud/live/model/RemoveShowFromShowListRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/ResumeLiveStreamRequest.h b/live/include/alibabacloud/live/model/ResumeLiveStreamRequest.h index c198b3080..7c86fdf5a 100644 --- a/live/include/alibabacloud/live/model/ResumeLiveStreamRequest.h +++ b/live/include/alibabacloud/live/model/ResumeLiveStreamRequest.h @@ -1,57 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/RollbackLiveStagingConfigRequest.h b/live/include/alibabacloud/live/model/RollbackLiveStagingConfigRequest.h index dbdcf8a17..85fc25527 100644 --- a/live/include/alibabacloud/live/model/RollbackLiveStagingConfigRequest.h +++ b/live/include/alibabacloud/live/model/RollbackLiveStagingConfigRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/SendRoomNotificationRequest.h b/live/include/alibabacloud/live/model/SendRoomNotificationRequest.h index 6bc564414..61d8b8ebc 100644 --- a/live/include/alibabacloud/live/model/SendRoomNotificationRequest.h +++ b/live/include/alibabacloud/live/model/SendRoomNotificationRequest.h @@ -1,57 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/SendRoomUserNotificationRequest.h b/live/include/alibabacloud/live/model/SendRoomUserNotificationRequest.h index 23c8c9ac8..070ca8190 100644 --- a/live/include/alibabacloud/live/model/SendRoomUserNotificationRequest.h +++ b/live/include/alibabacloud/live/model/SendRoomUserNotificationRequest.h @@ -1,60 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/SetCasterChannelRequest.h b/live/include/alibabacloud/live/model/SetCasterChannelRequest.h index faa8c43bb..57c92b908 100644 --- a/live/include/alibabacloud/live/model/SetCasterChannelRequest.h +++ b/live/include/alibabacloud/live/model/SetCasterChannelRequest.h @@ -1,63 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/SetCasterConfigRequest.h b/live/include/alibabacloud/live/model/SetCasterConfigRequest.h index d279b9ce0..991a1b7e3 100644 --- a/live/include/alibabacloud/live/model/SetCasterConfigRequest.h +++ b/live/include/alibabacloud/live/model/SetCasterConfigRequest.h @@ -1,84 +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. - */ - -#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 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_; -}; -} // namespace Model -} // namespace Live -} // namespace AlibabaCloud -#endif // !ALIBABACLOUD_LIVE_MODEL_SETCASTERCONFIGREQUEST_H_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/SetCasterSceneConfigRequest.h b/live/include/alibabacloud/live/model/SetCasterSceneConfigRequest.h index f372bc795..03d77e6d0 100644 --- a/live/include/alibabacloud/live/model/SetCasterSceneConfigRequest.h +++ b/live/include/alibabacloud/live/model/SetCasterSceneConfigRequest.h @@ -1,54 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_SETCASTERSCENECONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_SETCASTERSCENECONFIGREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/SetCasterSyncGroupRequest.h b/live/include/alibabacloud/live/model/SetCasterSyncGroupRequest.h index ff96a42ee..5e9f16a8e 100644 --- a/live/include/alibabacloud/live/model/SetCasterSyncGroupRequest.h +++ b/live/include/alibabacloud/live/model/SetCasterSyncGroupRequest.h @@ -1,53 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/SetLiveDomainCertificateRequest.h b/live/include/alibabacloud/live/model/SetLiveDomainCertificateRequest.h index 7ed69b33d..44a9d01e1 100644 --- a/live/include/alibabacloud/live/model/SetLiveDomainCertificateRequest.h +++ b/live/include/alibabacloud/live/model/SetLiveDomainCertificateRequest.h @@ -1,66 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/SetLiveDomainSpecialConfigRequest.h b/live/include/alibabacloud/live/model/SetLiveDomainSpecialConfigRequest.h new file mode 100644 index 000000000..e6b880fbf --- /dev/null +++ b/live/include/alibabacloud/live/model/SetLiveDomainSpecialConfigRequest.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_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/SetLiveDomainSpecialConfigResult.h b/live/include/alibabacloud/live/model/SetLiveDomainSpecialConfigResult.h new file mode 100644 index 000000000..3d61ca84c --- /dev/null +++ b/live/include/alibabacloud/live/model/SetLiveDomainSpecialConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINSPECIALCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINSPECIALCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetLiveDomainSpecialConfigResult : public ServiceResult + { + public: + + + SetLiveDomainSpecialConfigResult(); + explicit SetLiveDomainSpecialConfigResult(const std::string &payload); + ~SetLiveDomainSpecialConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINSPECIALCONFIGRESULT_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 605cdff19..7d2cbb490 100644 --- a/live/include/alibabacloud/live/model/SetLiveDomainStagingConfigRequest.h +++ b/live/include/alibabacloud/live/model/SetLiveDomainStagingConfigRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/SetLiveEdgeTransferRequest.h b/live/include/alibabacloud/live/model/SetLiveEdgeTransferRequest.h index fa67ec06d..388c902b4 100644 --- a/live/include/alibabacloud/live/model/SetLiveEdgeTransferRequest.h +++ b/live/include/alibabacloud/live/model/SetLiveEdgeTransferRequest.h @@ -1,60 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigRequest.h b/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigRequest.h index 4b8651a3e..080be65ef 100644 --- a/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigRequest.h +++ b/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigRequest.h @@ -1,69 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/SetLiveStreamDelayConfigRequest.h b/live/include/alibabacloud/live/model/SetLiveStreamDelayConfigRequest.h index 6d861a87f..497d69d0d 100644 --- a/live/include/alibabacloud/live/model/SetLiveStreamDelayConfigRequest.h +++ b/live/include/alibabacloud/live/model/SetLiveStreamDelayConfigRequest.h @@ -1,63 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/SetLiveStreamOptimizedFeatureConfigRequest.h b/live/include/alibabacloud/live/model/SetLiveStreamOptimizedFeatureConfigRequest.h index 958d5978b..f72f90fe0 100644 --- a/live/include/alibabacloud/live/model/SetLiveStreamOptimizedFeatureConfigRequest.h +++ b/live/include/alibabacloud/live/model/SetLiveStreamOptimizedFeatureConfigRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigRequest.h b/live/include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigRequest.h index 85493af96..e06b23d67 100644 --- a/live/include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigRequest.h +++ b/live/include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigRequest.h @@ -1,63 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/SetSnapshotCallbackAuthRequest.h b/live/include/alibabacloud/live/model/SetSnapshotCallbackAuthRequest.h index b9c870b47..bc3eb44b5 100644 --- a/live/include/alibabacloud/live/model/SetSnapshotCallbackAuthRequest.h +++ b/live/include/alibabacloud/live/model/SetSnapshotCallbackAuthRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/StartCasterRequest.h b/live/include/alibabacloud/live/model/StartCasterRequest.h index 6bd9261aa..3b4915cc0 100644 --- a/live/include/alibabacloud/live/model/StartCasterRequest.h +++ b/live/include/alibabacloud/live/model/StartCasterRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/StartCasterResult.h b/live/include/alibabacloud/live/model/StartCasterResult.h index 0f7ac17b3..9c497d4d9 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 videoFormat; std::string transcodeConfig; + std::string videoFormat; }; 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 8ab4cfdf4..ce1591a3e 100644 --- a/live/include/alibabacloud/live/model/StartCasterSceneRequest.h +++ b/live/include/alibabacloud/live/model/StartCasterSceneRequest.h @@ -1,48 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_STARTCASTERSCENEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_STARTCASTERSCENEREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/StartLiveDomainRequest.h b/live/include/alibabacloud/live/model/StartLiveDomainRequest.h index 6676e3bad..987511803 100644 --- a/live/include/alibabacloud/live/model/StartLiveDomainRequest.h +++ b/live/include/alibabacloud/live/model/StartLiveDomainRequest.h @@ -1,48 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_STARTLIVEDOMAINREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_STARTLIVEDOMAINREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/StartLiveStreamMonitorRequest.h b/live/include/alibabacloud/live/model/StartLiveStreamMonitorRequest.h index b706c9eb6..f5bea8c32 100644 --- a/live/include/alibabacloud/live/model/StartLiveStreamMonitorRequest.h +++ b/live/include/alibabacloud/live/model/StartLiveStreamMonitorRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/StartPlaylistRequest.h b/live/include/alibabacloud/live/model/StartPlaylistRequest.h index 41acce03a..c66935517 100644 --- a/live/include/alibabacloud/live/model/StartPlaylistRequest.h +++ b/live/include/alibabacloud/live/model/StartPlaylistRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/StopCasterRequest.h b/live/include/alibabacloud/live/model/StopCasterRequest.h index fa2e18aa0..133fa28ee 100644 --- a/live/include/alibabacloud/live/model/StopCasterRequest.h +++ b/live/include/alibabacloud/live/model/StopCasterRequest.h @@ -1,45 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_STOPCASTERREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_STOPCASTERREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STOPCASTERREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STOPCASTERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StopCasterRequest : public RpcServiceRequest + { + + public: + StopCasterRequest(); + ~StopCasterRequest(); + + std::string getCasterId()const; + void setCasterId(const std::string& casterId); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string casterId_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STOPCASTERREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StopCasterSceneRequest.h b/live/include/alibabacloud/live/model/StopCasterSceneRequest.h index dc2d02895..a2fe44c22 100644 --- a/live/include/alibabacloud/live/model/StopCasterSceneRequest.h +++ b/live/include/alibabacloud/live/model/StopCasterSceneRequest.h @@ -1,48 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_STOPCASTERSCENEREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_STOPCASTERSCENEREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/StopLiveDomainRequest.h b/live/include/alibabacloud/live/model/StopLiveDomainRequest.h index b04fa99d6..76d1ca5c6 100644 --- a/live/include/alibabacloud/live/model/StopLiveDomainRequest.h +++ b/live/include/alibabacloud/live/model/StopLiveDomainRequest.h @@ -1,48 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_STOPLIVEDOMAINREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_STOPLIVEDOMAINREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/StopLiveStreamMonitorRequest.h b/live/include/alibabacloud/live/model/StopLiveStreamMonitorRequest.h index 6c0f3460c..563e560dd 100644 --- a/live/include/alibabacloud/live/model/StopLiveStreamMonitorRequest.h +++ b/live/include/alibabacloud/live/model/StopLiveStreamMonitorRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/StopPlaylistRequest.h b/live/include/alibabacloud/live/model/StopPlaylistRequest.h index fcee61d54..b10360aa1 100644 --- a/live/include/alibabacloud/live/model/StopPlaylistRequest.h +++ b/live/include/alibabacloud/live/model/StopPlaylistRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/TagLiveResourcesRequest.h b/live/include/alibabacloud/live/model/TagLiveResourcesRequest.h index 7461f4253..8a755cce9 100644 --- a/live/include/alibabacloud/live/model/TagLiveResourcesRequest.h +++ b/live/include/alibabacloud/live/model/TagLiveResourcesRequest.h @@ -1,55 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/UnTagLiveResourcesRequest.h b/live/include/alibabacloud/live/model/UnTagLiveResourcesRequest.h index 3dec4a36e..f5485e032 100644 --- a/live/include/alibabacloud/live/model/UnTagLiveResourcesRequest.h +++ b/live/include/alibabacloud/live/model/UnTagLiveResourcesRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/UpdateCasterSceneAudioRequest.h b/live/include/alibabacloud/live/model/UpdateCasterSceneAudioRequest.h index 936976692..aa92a1c27 100644 --- a/live/include/alibabacloud/live/model/UpdateCasterSceneAudioRequest.h +++ b/live/include/alibabacloud/live/model/UpdateCasterSceneAudioRequest.h @@ -1,62 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/UpdateCasterSceneConfigRequest.h b/live/include/alibabacloud/live/model/UpdateCasterSceneConfigRequest.h index 68b8f4143..e30d7d4bc 100644 --- a/live/include/alibabacloud/live/model/UpdateCasterSceneConfigRequest.h +++ b/live/include/alibabacloud/live/model/UpdateCasterSceneConfigRequest.h @@ -1,54 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENECONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_UPDATECASTERSCENECONFIGREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/UpdateLiveAppSnapshotConfigRequest.h b/live/include/alibabacloud/live/model/UpdateLiveAppSnapshotConfigRequest.h index 29fabdcfb..10ef6e696 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveAppSnapshotConfigRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveAppSnapshotConfigRequest.h @@ -1,69 +1,75 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAPPSNAPSHOTCONFIGREQUEST_H_ -#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEAPPSNAPSHOTCONFIGREQUEST_H_ - -#include -#include -#include -#include -#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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/UpdateLiveAudioAuditConfigRequest.h b/live/include/alibabacloud/live/model/UpdateLiveAudioAuditConfigRequest.h index d33574d63..94d48b9aa 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveAudioAuditConfigRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveAudioAuditConfigRequest.h @@ -1,63 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/UpdateLiveAudioAuditNotifyConfigRequest.h b/live/include/alibabacloud/live/model/UpdateLiveAudioAuditNotifyConfigRequest.h index 0de43930d..4bd2530c6 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveAudioAuditNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveAudioAuditNotifyConfigRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigRequest.h b/live/include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigRequest.h index a4a99cf3a..24d14b785 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/UpdateLivePullStreamInfoConfigRequest.h b/live/include/alibabacloud/live/model/UpdateLivePullStreamInfoConfigRequest.h index 2a15512ba..6fd1b534c 100644 --- a/live/include/alibabacloud/live/model/UpdateLivePullStreamInfoConfigRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLivePullStreamInfoConfigRequest.h @@ -1,63 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigRequest.h b/live/include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigRequest.h index 467c33bab..2df14cca5 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigRequest.h @@ -1,57 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigRequest.h b/live/include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigRequest.h index 2ef31a186..a0b204f0b 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigRequest.h @@ -1,66 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/UpdateLiveStreamMonitorRequest.h b/live/include/alibabacloud/live/model/UpdateLiveStreamMonitorRequest.h index b303c1c16..6f922113d 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveStreamMonitorRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveStreamMonitorRequest.h @@ -1,63 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/UpdateLiveStreamWatermarkRequest.h b/live/include/alibabacloud/live/model/UpdateLiveStreamWatermarkRequest.h index 9c2a05062..9cce1903d 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveStreamWatermarkRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveStreamWatermarkRequest.h @@ -1,75 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_LIVE_MODEL_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/UpdateLiveStreamWatermarkRuleRequest.h b/live/include/alibabacloud/live/model/UpdateLiveStreamWatermarkRuleRequest.h index 9bd1968ec..9358702e9 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveStreamWatermarkRuleRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveStreamWatermarkRuleRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/UpdateLiveTopLevelDomainRequest.h b/live/include/alibabacloud/live/model/UpdateLiveTopLevelDomainRequest.h index 8faa9b0b8..08af9533f 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveTopLevelDomainRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveTopLevelDomainRequest.h @@ -1,51 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/UpdateMixStreamRequest.h b/live/include/alibabacloud/live/model/UpdateMixStreamRequest.h index ea08e9ba6..e8fe5e063 100644 --- a/live/include/alibabacloud/live/model/UpdateMixStreamRequest.h +++ b/live/include/alibabacloud/live/model/UpdateMixStreamRequest.h @@ -1,54 +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_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_ + */ + +#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 diff --git a/live/include/alibabacloud/live/model/VerifyLiveDomainOwnerRequest.h b/live/include/alibabacloud/live/model/VerifyLiveDomainOwnerRequest.h index 223718e26..5fcb87398 100644 --- a/live/include/alibabacloud/live/model/VerifyLiveDomainOwnerRequest.h +++ b/live/include/alibabacloud/live/model/VerifyLiveDomainOwnerRequest.h @@ -1,48 +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_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_ + */ + +#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 diff --git a/live/src/LiveClient.cc b/live/src/LiveClient.cc index 6470fedc0..c6d076c65 100644 --- a/live/src/LiveClient.cc +++ b/live/src/LiveClient.cc @@ -2499,6 +2499,42 @@ LiveClient::DeleteLiveStreamMonitorOutcomeCallable LiveClient::deleteLiveStreamM return task->get_future(); } +LiveClient::DeleteLiveStreamRecordIndexFilesOutcome LiveClient::deleteLiveStreamRecordIndexFiles(const DeleteLiveStreamRecordIndexFilesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLiveStreamRecordIndexFilesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLiveStreamRecordIndexFilesOutcome(DeleteLiveStreamRecordIndexFilesResult(outcome.result())); + else + return DeleteLiveStreamRecordIndexFilesOutcome(outcome.error()); +} + +void LiveClient::deleteLiveStreamRecordIndexFilesAsync(const DeleteLiveStreamRecordIndexFilesRequest& request, const DeleteLiveStreamRecordIndexFilesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLiveStreamRecordIndexFiles(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteLiveStreamRecordIndexFilesOutcomeCallable LiveClient::deleteLiveStreamRecordIndexFilesCallable(const DeleteLiveStreamRecordIndexFilesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLiveStreamRecordIndexFiles(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DeleteLiveStreamTranscodeOutcome LiveClient::deleteLiveStreamTranscode(const DeleteLiveStreamTranscodeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2859,6 +2895,42 @@ LiveClient::DeleteSnapshotCallbackAuthOutcomeCallable LiveClient::deleteSnapshot return task->get_future(); } +LiveClient::DeleteSnapshotFilesOutcome LiveClient::deleteSnapshotFiles(const DeleteSnapshotFilesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteSnapshotFilesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteSnapshotFilesOutcome(DeleteSnapshotFilesResult(outcome.result())); + else + return DeleteSnapshotFilesOutcome(outcome.error()); +} + +void LiveClient::deleteSnapshotFilesAsync(const DeleteSnapshotFilesRequest& request, const DeleteSnapshotFilesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteSnapshotFiles(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteSnapshotFilesOutcomeCallable LiveClient::deleteSnapshotFilesCallable(const DeleteSnapshotFilesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteSnapshotFiles(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DeleteStudioLayoutOutcome LiveClient::deleteStudioLayout(const DeleteStudioLayoutRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4443,6 +4515,42 @@ 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(); @@ -4515,42 +4623,6 @@ LiveClient::DescribeLiveDomainStreamTranscodeDataOutcomeCallable LiveClient::des return task->get_future(); } -LiveClient::DescribeLiveDomainStreamWaterLevelOutcome LiveClient::describeLiveDomainStreamWaterLevel(const DescribeLiveDomainStreamWaterLevelRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLiveDomainStreamWaterLevelOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLiveDomainStreamWaterLevelOutcome(DescribeLiveDomainStreamWaterLevelResult(outcome.result())); - else - return DescribeLiveDomainStreamWaterLevelOutcome(outcome.error()); -} - -void LiveClient::describeLiveDomainStreamWaterLevelAsync(const DescribeLiveDomainStreamWaterLevelRequest& request, const DescribeLiveDomainStreamWaterLevelAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLiveDomainStreamWaterLevel(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -LiveClient::DescribeLiveDomainStreamWaterLevelOutcomeCallable LiveClient::describeLiveDomainStreamWaterLevelCallable(const DescribeLiveDomainStreamWaterLevelRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLiveDomainStreamWaterLevel(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - LiveClient::DescribeLiveDomainTimeShiftDataOutcome LiveClient::describeLiveDomainTimeShiftData(const DescribeLiveDomainTimeShiftDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5955,6 +6027,42 @@ 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(); @@ -6891,6 +6999,42 @@ LiveClient::GetMultiRateConfigListOutcomeCallable LiveClient::getMultiRateConfig return task->get_future(); } +LiveClient::HotLiveRtcStreamOutcome LiveClient::hotLiveRtcStream(const HotLiveRtcStreamRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return HotLiveRtcStreamOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return HotLiveRtcStreamOutcome(HotLiveRtcStreamResult(outcome.result())); + else + return HotLiveRtcStreamOutcome(outcome.error()); +} + +void LiveClient::hotLiveRtcStreamAsync(const HotLiveRtcStreamRequest& request, const HotLiveRtcStreamAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, hotLiveRtcStream(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::HotLiveRtcStreamOutcomeCallable LiveClient::hotLiveRtcStreamCallable(const HotLiveRtcStreamRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->hotLiveRtcStream(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::InitializeAutoShowListTaskOutcome LiveClient::initializeAutoShowListTask(const InitializeAutoShowListTaskRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -8007,6 +8151,42 @@ 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 497864cb3..2ee77cf00 100644 --- a/live/src/model/AddCasterComponentRequest.cc +++ b/live/src/model/AddCasterComponentRequest.cc @@ -1,135 +1,161 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -AddCasterComponentRequest::~AddCasterComponentRequest() {} - -std::string AddCasterComponentRequest::getHtmlLayerContent() const { - return htmlLayerContent_; +void AddCasterComponentRequest::setHtmlLayerContent(const std::string& htmlLayerContent) +{ + htmlLayerContent_ = htmlLayerContent; + setParameter("HtmlLayerContent", htmlLayerContent); } -void AddCasterComponentRequest::setHtmlLayerContent(const std::string &htmlLayerContent) { - htmlLayerContent_ = htmlLayerContent; - setParameter(std::string("HtmlLayerContent"), htmlLayerContent); +std::string AddCasterComponentRequest::getImageLayerContent()const +{ + return imageLayerContent_; } -std::string AddCasterComponentRequest::getImageLayerContent() const { - return imageLayerContent_; +void AddCasterComponentRequest::setImageLayerContent(const std::string& imageLayerContent) +{ + imageLayerContent_ = imageLayerContent; + setParameter("ImageLayerContent", imageLayerContent); } -void AddCasterComponentRequest::setImageLayerContent(const std::string &imageLayerContent) { - imageLayerContent_ = imageLayerContent; - setParameter(std::string("ImageLayerContent"), imageLayerContent); +std::string AddCasterComponentRequest::getComponentName()const +{ + return componentName_; } -std::string AddCasterComponentRequest::getComponentName() const { - return componentName_; +void AddCasterComponentRequest::setComponentName(const std::string& componentName) +{ + componentName_ = componentName; + setParameter("ComponentName", componentName); } -void AddCasterComponentRequest::setComponentName(const std::string &componentName) { - componentName_ = componentName; - setParameter(std::string("ComponentName"), componentName); +std::string AddCasterComponentRequest::getLayerOrder()const +{ + return layerOrder_; } -std::string AddCasterComponentRequest::getLayerOrder() const { - return layerOrder_; +void AddCasterComponentRequest::setLayerOrder(const std::string& layerOrder) +{ + layerOrder_ = layerOrder; + setParameter("LayerOrder", layerOrder); } -void AddCasterComponentRequest::setLayerOrder(const std::string &layerOrder) { - layerOrder_ = layerOrder; - setParameter(std::string("LayerOrder"), layerOrder); +std::string AddCasterComponentRequest::getCasterId()const +{ + return casterId_; } -std::string AddCasterComponentRequest::getCasterId() const { - return casterId_; +void AddCasterComponentRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void AddCasterComponentRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +std::string AddCasterComponentRequest::getComponentLayer()const +{ + return componentLayer_; } -std::string AddCasterComponentRequest::getComponentLayer() const { - return componentLayer_; +void AddCasterComponentRequest::setComponentLayer(const std::string& componentLayer) +{ + componentLayer_ = componentLayer; + setParameter("ComponentLayer", componentLayer); } -void AddCasterComponentRequest::setComponentLayer(const std::string &componentLayer) { - componentLayer_ = componentLayer; - setParameter(std::string("ComponentLayer"), componentLayer); +long AddCasterComponentRequest::getOwnerId()const +{ + return ownerId_; } -long AddCasterComponentRequest::getOwnerId() const { - return ownerId_; +void AddCasterComponentRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddCasterComponentRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string AddCasterComponentRequest::getComponentType()const +{ + return componentType_; } -std::string AddCasterComponentRequest::getComponentType() const { - return componentType_; +void AddCasterComponentRequest::setComponentType(const std::string& componentType) +{ + componentType_ = componentType; + setParameter("ComponentType", componentType); } -void AddCasterComponentRequest::setComponentType(const std::string &componentType) { - componentType_ = componentType; - setParameter(std::string("ComponentType"), componentType); +std::string AddCasterComponentRequest::getLocationId()const +{ + return locationId_; } -std::string AddCasterComponentRequest::getLocationId() const { - return locationId_; +void AddCasterComponentRequest::setLocationId(const std::string& locationId) +{ + locationId_ = locationId; + setParameter("LocationId", locationId); } -void AddCasterComponentRequest::setLocationId(const std::string &locationId) { - locationId_ = locationId; - setParameter(std::string("LocationId"), locationId); +std::string AddCasterComponentRequest::getEffect()const +{ + return effect_; } -std::string AddCasterComponentRequest::getEffect() const { - return effect_; +void AddCasterComponentRequest::setEffect(const std::string& effect) +{ + effect_ = effect; + setParameter("Effect", effect); } -void AddCasterComponentRequest::setEffect(const std::string &effect) { - effect_ = effect; - setParameter(std::string("Effect"), effect); +std::string AddCasterComponentRequest::getCaptionLayerContent()const +{ + return captionLayerContent_; } -std::string AddCasterComponentRequest::getCaptionLayerContent() const { - return captionLayerContent_; +void AddCasterComponentRequest::setCaptionLayerContent(const std::string& captionLayerContent) +{ + captionLayerContent_ = captionLayerContent; + setParameter("CaptionLayerContent", captionLayerContent); } -void AddCasterComponentRequest::setCaptionLayerContent(const std::string &captionLayerContent) { - captionLayerContent_ = captionLayerContent; - setParameter(std::string("CaptionLayerContent"), captionLayerContent); +std::string AddCasterComponentRequest::getTextLayerContent()const +{ + return textLayerContent_; } -std::string AddCasterComponentRequest::getTextLayerContent() const { - return textLayerContent_; -} - -void AddCasterComponentRequest::setTextLayerContent(const std::string &textLayerContent) { - textLayerContent_ = textLayerContent; - setParameter(std::string("TextLayerContent"), textLayerContent); +void AddCasterComponentRequest::setTextLayerContent(const std::string& textLayerContent) +{ + textLayerContent_ = textLayerContent; + setParameter("TextLayerContent", textLayerContent); } diff --git a/live/src/model/AddCasterEpisodeGroupContentRequest.cc b/live/src/model/AddCasterEpisodeGroupContentRequest.cc index 6f334fd82..dfe151825 100644 --- a/live/src/model/AddCasterEpisodeGroupContentRequest.cc +++ b/live/src/model/AddCasterEpisodeGroupContentRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddCasterEpisodeGroupContentRequest; - -AddCasterEpisodeGroupContentRequest::AddCasterEpisodeGroupContentRequest() - : RpcServiceRequest("live", "2016-11-01", "AddCasterEpisodeGroupContent") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -AddCasterEpisodeGroupContentRequest::~AddCasterEpisodeGroupContentRequest() {} - -std::string AddCasterEpisodeGroupContentRequest::getClientToken() const { - return clientToken_; +void AddCasterEpisodeGroupContentRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); } -void AddCasterEpisodeGroupContentRequest::setClientToken(const std::string &clientToken) { - clientToken_ = clientToken; - setParameter(std::string("ClientToken"), clientToken); +std::string AddCasterEpisodeGroupContentRequest::getContent()const +{ + return content_; } -std::string AddCasterEpisodeGroupContentRequest::getContent() const { - return content_; +void AddCasterEpisodeGroupContentRequest::setContent(const std::string& content) +{ + content_ = content; + setParameter("Content", content); } -void AddCasterEpisodeGroupContentRequest::setContent(const std::string &content) { - content_ = content; - setParameter(std::string("Content"), content); +long AddCasterEpisodeGroupContentRequest::getOwnerId()const +{ + return ownerId_; } -long AddCasterEpisodeGroupContentRequest::getOwnerId() const { - return ownerId_; -} - -void AddCasterEpisodeGroupContentRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void AddCasterEpisodeGroupContentRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/AddCasterEpisodeGroupRequest.cc b/live/src/model/AddCasterEpisodeGroupRequest.cc index 20b584526..417b29828 100644 --- a/live/src/model/AddCasterEpisodeGroupRequest.cc +++ b/live/src/model/AddCasterEpisodeGroupRequest.cc @@ -1,104 +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::AddCasterEpisodeGroupRequest; - -AddCasterEpisodeGroupRequest::AddCasterEpisodeGroupRequest() - : RpcServiceRequest("live", "2016-11-01", "AddCasterEpisodeGroup") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -AddCasterEpisodeGroupRequest::~AddCasterEpisodeGroupRequest() {} - -std::string AddCasterEpisodeGroupRequest::getClientToken() const { - return clientToken_; +void AddCasterEpisodeGroupRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); } -void AddCasterEpisodeGroupRequest::setClientToken(const std::string &clientToken) { - clientToken_ = clientToken; - setParameter(std::string("ClientToken"), clientToken); +std::string AddCasterEpisodeGroupRequest::getStartTime()const +{ + return startTime_; } -std::string AddCasterEpisodeGroupRequest::getStartTime() const { - return startTime_; +void AddCasterEpisodeGroupRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void AddCasterEpisodeGroupRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string AddCasterEpisodeGroupRequest::getSideOutputUrl()const +{ + return sideOutputUrl_; } -std::string AddCasterEpisodeGroupRequest::getSideOutputUrl() const { - return sideOutputUrl_; +void AddCasterEpisodeGroupRequest::setSideOutputUrl(const std::string& sideOutputUrl) +{ + sideOutputUrl_ = sideOutputUrl; + setParameter("SideOutputUrl", sideOutputUrl); } -void AddCasterEpisodeGroupRequest::setSideOutputUrl(const std::string &sideOutputUrl) { - sideOutputUrl_ = sideOutputUrl; - setParameter(std::string("SideOutputUrl"), sideOutputUrl); +std::vector AddCasterEpisodeGroupRequest::getItem()const +{ + return item_; } -std::vector AddCasterEpisodeGroupRequest::getItem() const { - return item_; +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); + } } -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); - } +std::string AddCasterEpisodeGroupRequest::getDomainName()const +{ + return domainName_; } -std::string AddCasterEpisodeGroupRequest::getDomainName() const { - return domainName_; +void AddCasterEpisodeGroupRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void AddCasterEpisodeGroupRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long AddCasterEpisodeGroupRequest::getOwnerId()const +{ + return ownerId_; } -long AddCasterEpisodeGroupRequest::getOwnerId() const { - return ownerId_; +void AddCasterEpisodeGroupRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddCasterEpisodeGroupRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +int AddCasterEpisodeGroupRequest::getRepeatNum()const +{ + return repeatNum_; } -int AddCasterEpisodeGroupRequest::getRepeatNum() const { - return repeatNum_; +void AddCasterEpisodeGroupRequest::setRepeatNum(int repeatNum) +{ + repeatNum_ = repeatNum; + setParameter("RepeatNum", std::to_string(repeatNum)); } -void AddCasterEpisodeGroupRequest::setRepeatNum(int repeatNum) { - repeatNum_ = repeatNum; - setParameter(std::string("RepeatNum"), std::to_string(repeatNum)); +std::string AddCasterEpisodeGroupRequest::getCallbackUrl()const +{ + return callbackUrl_; } -std::string AddCasterEpisodeGroupRequest::getCallbackUrl() const { - return callbackUrl_; -} - -void AddCasterEpisodeGroupRequest::setCallbackUrl(const std::string &callbackUrl) { - callbackUrl_ = callbackUrl; - setParameter(std::string("CallbackUrl"), callbackUrl); +void AddCasterEpisodeGroupRequest::setCallbackUrl(const std::string& callbackUrl) +{ + callbackUrl_ = callbackUrl; + setParameter("CallbackUrl", callbackUrl); } diff --git a/live/src/model/AddCasterEpisodeRequest.cc b/live/src/model/AddCasterEpisodeRequest.cc index 5ba826360..c480cc42b 100644 --- a/live/src/model/AddCasterEpisodeRequest.cc +++ b/live/src/model/AddCasterEpisodeRequest.cc @@ -1,107 +1,130 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -AddCasterEpisodeRequest::~AddCasterEpisodeRequest() {} - -std::string AddCasterEpisodeRequest::getEpisodeName() const { - return episodeName_; +void AddCasterEpisodeRequest::setEpisodeName(const std::string& episodeName) +{ + episodeName_ = episodeName; + setParameter("EpisodeName", episodeName); } -void AddCasterEpisodeRequest::setEpisodeName(const std::string &episodeName) { - episodeName_ = episodeName; - setParameter(std::string("EpisodeName"), episodeName); +std::string AddCasterEpisodeRequest::getStartTime()const +{ + return startTime_; } -std::string AddCasterEpisodeRequest::getStartTime() const { - return startTime_; +void AddCasterEpisodeRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void AddCasterEpisodeRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string AddCasterEpisodeRequest::getResourceId()const +{ + return resourceId_; } -std::string AddCasterEpisodeRequest::getResourceId() const { - return resourceId_; +void AddCasterEpisodeRequest::setResourceId(const std::string& resourceId) +{ + resourceId_ = resourceId; + setParameter("ResourceId", resourceId); } -void AddCasterEpisodeRequest::setResourceId(const std::string &resourceId) { - resourceId_ = resourceId; - setParameter(std::string("ResourceId"), resourceId); +std::vector AddCasterEpisodeRequest::getComponentId()const +{ + return componentId_; } -std::vector AddCasterEpisodeRequest::getComponentId() const { - return componentId_; +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)); + } } -void AddCasterEpisodeRequest::setComponentId(const std::vector &componentId) { - componentId_ = componentId; +std::string AddCasterEpisodeRequest::getCasterId()const +{ + return casterId_; } -std::string AddCasterEpisodeRequest::getCasterId() const { - return casterId_; +void AddCasterEpisodeRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void AddCasterEpisodeRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +std::string AddCasterEpisodeRequest::getEpisodeType()const +{ + return episodeType_; } -std::string AddCasterEpisodeRequest::getEpisodeType() const { - return episodeType_; +void AddCasterEpisodeRequest::setEpisodeType(const std::string& episodeType) +{ + episodeType_ = episodeType; + setParameter("EpisodeType", episodeType); } -void AddCasterEpisodeRequest::setEpisodeType(const std::string &episodeType) { - episodeType_ = episodeType; - setParameter(std::string("EpisodeType"), episodeType); +std::string AddCasterEpisodeRequest::getEndTime()const +{ + return endTime_; } -std::string AddCasterEpisodeRequest::getEndTime() const { - return endTime_; +void AddCasterEpisodeRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void AddCasterEpisodeRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long AddCasterEpisodeRequest::getOwnerId()const +{ + return ownerId_; } -long AddCasterEpisodeRequest::getOwnerId() const { - return ownerId_; +void AddCasterEpisodeRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddCasterEpisodeRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string AddCasterEpisodeRequest::getSwitchType()const +{ + return switchType_; } -std::string AddCasterEpisodeRequest::getSwitchType() const { - return switchType_; -} - -void AddCasterEpisodeRequest::setSwitchType(const std::string &switchType) { - switchType_ = switchType; - setParameter(std::string("SwitchType"), switchType); +void AddCasterEpisodeRequest::setSwitchType(const std::string& switchType) +{ + switchType_ = switchType; + setParameter("SwitchType", switchType); } diff --git a/live/src/model/AddCasterLayoutRequest.cc b/live/src/model/AddCasterLayoutRequest.cc index 26cd465ed..cbb0d9d5c 100644 --- a/live/src/model/AddCasterLayoutRequest.cc +++ b/live/src/model/AddCasterLayoutRequest.cc @@ -1,93 +1,116 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddCasterLayoutRequest; - -AddCasterLayoutRequest::AddCasterLayoutRequest() - : RpcServiceRequest("live", "2016-11-01", "AddCasterLayout") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -AddCasterLayoutRequest::~AddCasterLayoutRequest() {} - -std::vector AddCasterLayoutRequest::getBlendList() const { - return blendList_; +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)); + } } -void AddCasterLayoutRequest::setBlendList(const std::vector &blendList) { - blendList_ = blendList; +std::string AddCasterLayoutRequest::getCasterId()const +{ + return casterId_; } -std::string AddCasterLayoutRequest::getCasterId() const { - return casterId_; +void AddCasterLayoutRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void AddCasterLayoutRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long AddCasterLayoutRequest::getOwnerId()const +{ + return ownerId_; } -long AddCasterLayoutRequest::getOwnerId() const { - return ownerId_; +void AddCasterLayoutRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddCasterLayoutRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::vector AddCasterLayoutRequest::getAudioLayer()const +{ + return audioLayer_; } -std::vector AddCasterLayoutRequest::getAudioLayer() const { - return audioLayer_; +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)); + } } -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); - } +std::vector AddCasterLayoutRequest::getVideoLayer()const +{ + return videoLayer_; } -std::vector AddCasterLayoutRequest::getVideoLayer() const { - return videoLayer_; +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)); + } } -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)); - } +std::vector AddCasterLayoutRequest::getMixList()const +{ + return mixList_; } -std::vector AddCasterLayoutRequest::getMixList() const { - return mixList_; -} - -void AddCasterLayoutRequest::setMixList(const std::vector &mixList) { - mixList_ = mixList; +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)); + } } diff --git a/live/src/model/AddCasterProgramRequest.cc b/live/src/model/AddCasterProgramRequest.cc index 932471a24..5cfaad500 100644 --- a/live/src/model/AddCasterProgramRequest.cc +++ b/live/src/model/AddCasterProgramRequest.cc @@ -1,63 +1,74 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddCasterProgramRequest; - -AddCasterProgramRequest::AddCasterProgramRequest() - : RpcServiceRequest("live", "2016-11-01", "AddCasterProgram") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -AddCasterProgramRequest::~AddCasterProgramRequest() {} - -std::vector AddCasterProgramRequest::getEpisode() const { - return episode_; +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); + } } -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); - } +std::string AddCasterProgramRequest::getCasterId()const +{ + return casterId_; } -std::string AddCasterProgramRequest::getCasterId() const { - return casterId_; +void AddCasterProgramRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void AddCasterProgramRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long AddCasterProgramRequest::getOwnerId()const +{ + return ownerId_; } -long AddCasterProgramRequest::getOwnerId() const { - return ownerId_; -} - -void AddCasterProgramRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void AddCasterProgramRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/AddCasterVideoResourceRequest.cc b/live/src/model/AddCasterVideoResourceRequest.cc index 743876187..f1c02faba 100644 --- a/live/src/model/AddCasterVideoResourceRequest.cc +++ b/live/src/model/AddCasterVideoResourceRequest.cc @@ -1,162 +1,194 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -AddCasterVideoResourceRequest::~AddCasterVideoResourceRequest() {} - -int AddCasterVideoResourceRequest::getInputType() const { - return inputType_; +void AddCasterVideoResourceRequest::setInputType(int inputType) +{ + inputType_ = inputType; + setParameter("InputType", std::to_string(inputType)); } -void AddCasterVideoResourceRequest::setInputType(int inputType) { - inputType_ = inputType; - setParameter(std::string("InputType"), std::to_string(inputType)); +int AddCasterVideoResourceRequest::getEndOffset()const +{ + return endOffset_; } -int AddCasterVideoResourceRequest::getEndOffset() const { - return endOffset_; +void AddCasterVideoResourceRequest::setEndOffset(int endOffset) +{ + endOffset_ = endOffset; + setParameter("EndOffset", std::to_string(endOffset)); } -void AddCasterVideoResourceRequest::setEndOffset(int endOffset) { - endOffset_ = endOffset; - setParameter(std::string("EndOffset"), std::to_string(endOffset)); +std::string AddCasterVideoResourceRequest::getMaterialId()const +{ + return materialId_; } -std::string AddCasterVideoResourceRequest::getMaterialId() const { - return materialId_; +void AddCasterVideoResourceRequest::setMaterialId(const std::string& materialId) +{ + materialId_ = materialId; + setParameter("MaterialId", materialId); } -void AddCasterVideoResourceRequest::setMaterialId(const std::string &materialId) { - materialId_ = materialId; - setParameter(std::string("MaterialId"), materialId); +std::string AddCasterVideoResourceRequest::getVodUrl()const +{ + return vodUrl_; } -std::string AddCasterVideoResourceRequest::getVodUrl() const { - return vodUrl_; +void AddCasterVideoResourceRequest::setVodUrl(const std::string& vodUrl) +{ + vodUrl_ = vodUrl; + setParameter("VodUrl", vodUrl); } -void AddCasterVideoResourceRequest::setVodUrl(const std::string &vodUrl) { - vodUrl_ = vodUrl; - setParameter(std::string("VodUrl"), vodUrl); +std::string AddCasterVideoResourceRequest::getStreamId()const +{ + return streamId_; } -std::string AddCasterVideoResourceRequest::getStreamId() const { - return streamId_; +void AddCasterVideoResourceRequest::setStreamId(const std::string& streamId) +{ + streamId_ = streamId; + setParameter("StreamId", streamId); } -void AddCasterVideoResourceRequest::setStreamId(const std::string &streamId) { - streamId_ = streamId; - setParameter(std::string("StreamId"), streamId); +std::string AddCasterVideoResourceRequest::getCasterId()const +{ + return casterId_; } -std::string AddCasterVideoResourceRequest::getCasterId() const { - return casterId_; +void AddCasterVideoResourceRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void AddCasterVideoResourceRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long AddCasterVideoResourceRequest::getOwnerId()const +{ + return ownerId_; } -long AddCasterVideoResourceRequest::getOwnerId() const { - return ownerId_; +void AddCasterVideoResourceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddCasterVideoResourceRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +int AddCasterVideoResourceRequest::getStreamMonitor()const +{ + return streamMonitor_; } -int AddCasterVideoResourceRequest::getStreamMonitor() const { - return streamMonitor_; +void AddCasterVideoResourceRequest::setStreamMonitor(int streamMonitor) +{ + streamMonitor_ = streamMonitor; + setParameter("StreamMonitor", std::to_string(streamMonitor)); } -void AddCasterVideoResourceRequest::setStreamMonitor(int streamMonitor) { - streamMonitor_ = streamMonitor; - setParameter(std::string("StreamMonitor"), std::to_string(streamMonitor)); +int AddCasterVideoResourceRequest::getBeginOffset()const +{ + return beginOffset_; } -int AddCasterVideoResourceRequest::getBeginOffset() const { - return beginOffset_; +void AddCasterVideoResourceRequest::setBeginOffset(int beginOffset) +{ + beginOffset_ = beginOffset; + setParameter("BeginOffset", std::to_string(beginOffset)); } -void AddCasterVideoResourceRequest::setBeginOffset(int beginOffset) { - beginOffset_ = beginOffset; - setParameter(std::string("BeginOffset"), std::to_string(beginOffset)); +int AddCasterVideoResourceRequest::getFixedDelayDuration()const +{ + return fixedDelayDuration_; } -int AddCasterVideoResourceRequest::getFixedDelayDuration() const { - return fixedDelayDuration_; +void AddCasterVideoResourceRequest::setFixedDelayDuration(int fixedDelayDuration) +{ + fixedDelayDuration_ = fixedDelayDuration; + setParameter("FixedDelayDuration", std::to_string(fixedDelayDuration)); } -void AddCasterVideoResourceRequest::setFixedDelayDuration(int fixedDelayDuration) { - fixedDelayDuration_ = fixedDelayDuration; - setParameter(std::string("FixedDelayDuration"), std::to_string(fixedDelayDuration)); +std::string AddCasterVideoResourceRequest::getLiveStreamUrl()const +{ + return liveStreamUrl_; } -std::string AddCasterVideoResourceRequest::getLiveStreamUrl() const { - return liveStreamUrl_; +void AddCasterVideoResourceRequest::setLiveStreamUrl(const std::string& liveStreamUrl) +{ + liveStreamUrl_ = liveStreamUrl; + setParameter("LiveStreamUrl", liveStreamUrl); } -void AddCasterVideoResourceRequest::setLiveStreamUrl(const std::string &liveStreamUrl) { - liveStreamUrl_ = liveStreamUrl; - setParameter(std::string("LiveStreamUrl"), liveStreamUrl); +std::string AddCasterVideoResourceRequest::getLocationId()const +{ + return locationId_; } -std::string AddCasterVideoResourceRequest::getLocationId() const { - return locationId_; +void AddCasterVideoResourceRequest::setLocationId(const std::string& locationId) +{ + locationId_ = locationId; + setParameter("LocationId", locationId); } -void AddCasterVideoResourceRequest::setLocationId(const std::string &locationId) { - locationId_ = locationId; - setParameter(std::string("LocationId"), locationId); +int AddCasterVideoResourceRequest::getPtsCallbackInterval()const +{ + return ptsCallbackInterval_; } -int AddCasterVideoResourceRequest::getPtsCallbackInterval() const { - return ptsCallbackInterval_; +void AddCasterVideoResourceRequest::setPtsCallbackInterval(int ptsCallbackInterval) +{ + ptsCallbackInterval_ = ptsCallbackInterval; + setParameter("PtsCallbackInterval", std::to_string(ptsCallbackInterval)); } -void AddCasterVideoResourceRequest::setPtsCallbackInterval(int ptsCallbackInterval) { - ptsCallbackInterval_ = ptsCallbackInterval; - setParameter(std::string("PtsCallbackInterval"), std::to_string(ptsCallbackInterval)); +std::string AddCasterVideoResourceRequest::getResourceName()const +{ + return resourceName_; } -std::string AddCasterVideoResourceRequest::getResourceName() const { - return resourceName_; +void AddCasterVideoResourceRequest::setResourceName(const std::string& resourceName) +{ + resourceName_ = resourceName; + setParameter("ResourceName", resourceName); } -void AddCasterVideoResourceRequest::setResourceName(const std::string &resourceName) { - resourceName_ = resourceName; - setParameter(std::string("ResourceName"), resourceName); +int AddCasterVideoResourceRequest::getRepeatNum()const +{ + return repeatNum_; } -int AddCasterVideoResourceRequest::getRepeatNum() const { - return repeatNum_; -} - -void AddCasterVideoResourceRequest::setRepeatNum(int repeatNum) { - repeatNum_ = repeatNum; - setParameter(std::string("RepeatNum"), std::to_string(repeatNum)); +void AddCasterVideoResourceRequest::setRepeatNum(int repeatNum) +{ + repeatNum_ = repeatNum; + setParameter("RepeatNum", std::to_string(repeatNum)); } diff --git a/live/src/model/AddCustomLiveStreamTranscodeRequest.cc b/live/src/model/AddCustomLiveStreamTranscodeRequest.cc index a87be13a4..64a714a49 100644 --- a/live/src/model/AddCustomLiveStreamTranscodeRequest.cc +++ b/live/src/model/AddCustomLiveStreamTranscodeRequest.cc @@ -1,216 +1,260 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -AddCustomLiveStreamTranscodeRequest::~AddCustomLiveStreamTranscodeRequest() {} - -std::string AddCustomLiveStreamTranscodeRequest::get_Template() const { - return _template_; +void AddCustomLiveStreamTranscodeRequest::set_Template(const std::string& _template) +{ + _template_ = _template; + setParameter("_Template", _template); } -void AddCustomLiveStreamTranscodeRequest::set_Template(const std::string &_template) { - _template_ = _template; - setParameter(std::string("Template"), _template); +std::string AddCustomLiveStreamTranscodeRequest::getLazy()const +{ + return lazy_; } -std::string AddCustomLiveStreamTranscodeRequest::getLazy() const { - return lazy_; +void AddCustomLiveStreamTranscodeRequest::setLazy(const std::string& lazy) +{ + lazy_ = lazy; + setParameter("Lazy", lazy); } -void AddCustomLiveStreamTranscodeRequest::setLazy(const std::string &lazy) { - lazy_ = lazy; - setParameter(std::string("Lazy"), lazy); +std::string AddCustomLiveStreamTranscodeRequest::getGop()const +{ + return gop_; } -std::string AddCustomLiveStreamTranscodeRequest::getGop() const { - return gop_; +void AddCustomLiveStreamTranscodeRequest::setGop(const std::string& gop) +{ + gop_ = gop; + setParameter("Gop", gop); } -void AddCustomLiveStreamTranscodeRequest::setGop(const std::string &gop) { - gop_ = gop; - setParameter(std::string("Gop"), gop); +std::string AddCustomLiveStreamTranscodeRequest::getKmsKeyExpireInterval()const +{ + return kmsKeyExpireInterval_; } -std::string AddCustomLiveStreamTranscodeRequest::getKmsKeyExpireInterval() const { - return kmsKeyExpireInterval_; +void AddCustomLiveStreamTranscodeRequest::setKmsKeyExpireInterval(const std::string& kmsKeyExpireInterval) +{ + kmsKeyExpireInterval_ = kmsKeyExpireInterval; + setParameter("KmsKeyExpireInterval", kmsKeyExpireInterval); } -void AddCustomLiveStreamTranscodeRequest::setKmsKeyExpireInterval(const std::string &kmsKeyExpireInterval) { - kmsKeyExpireInterval_ = kmsKeyExpireInterval; - setParameter(std::string("KmsKeyExpireInterval"), kmsKeyExpireInterval); +std::string AddCustomLiveStreamTranscodeRequest::getAudioCodec()const +{ + return audioCodec_; } -std::string AddCustomLiveStreamTranscodeRequest::getAudioCodec() const { - return audioCodec_; +void AddCustomLiveStreamTranscodeRequest::setAudioCodec(const std::string& audioCodec) +{ + audioCodec_ = audioCodec; + setParameter("AudioCodec", audioCodec); } -void AddCustomLiveStreamTranscodeRequest::setAudioCodec(const std::string &audioCodec) { - audioCodec_ = audioCodec; - setParameter(std::string("AudioCodec"), audioCodec); +std::string AddCustomLiveStreamTranscodeRequest::getKmsUID()const +{ + return kmsUID_; } -std::string AddCustomLiveStreamTranscodeRequest::getKmsUID() const { - return kmsUID_; +void AddCustomLiveStreamTranscodeRequest::setKmsUID(const std::string& kmsUID) +{ + kmsUID_ = kmsUID; + setParameter("KmsUID", kmsUID); } -void AddCustomLiveStreamTranscodeRequest::setKmsUID(const std::string &kmsUID) { - kmsUID_ = kmsUID; - setParameter(std::string("KmsUID"), kmsUID); +std::string AddCustomLiveStreamTranscodeRequest::getTemplateType()const +{ + return templateType_; } -std::string AddCustomLiveStreamTranscodeRequest::getTemplateType() const { - return templateType_; +void AddCustomLiveStreamTranscodeRequest::setTemplateType(const std::string& templateType) +{ + templateType_ = templateType; + setParameter("TemplateType", templateType); } -void AddCustomLiveStreamTranscodeRequest::setTemplateType(const std::string &templateType) { - templateType_ = templateType; - setParameter(std::string("TemplateType"), templateType); +std::string AddCustomLiveStreamTranscodeRequest::getAudioProfile()const +{ + return audioProfile_; } -std::string AddCustomLiveStreamTranscodeRequest::getAudioProfile() const { - return audioProfile_; +void AddCustomLiveStreamTranscodeRequest::setAudioProfile(const std::string& audioProfile) +{ + audioProfile_ = audioProfile; + setParameter("AudioProfile", audioProfile); } -void AddCustomLiveStreamTranscodeRequest::setAudioProfile(const std::string &audioProfile) { - audioProfile_ = audioProfile; - setParameter(std::string("AudioProfile"), audioProfile); +int AddCustomLiveStreamTranscodeRequest::getHeight()const +{ + return height_; } -int AddCustomLiveStreamTranscodeRequest::getHeight() const { - return height_; +void AddCustomLiveStreamTranscodeRequest::setHeight(int height) +{ + height_ = height; + setParameter("Height", std::to_string(height)); } -void AddCustomLiveStreamTranscodeRequest::setHeight(int height) { - height_ = height; - setParameter(std::string("Height"), std::to_string(height)); +std::string AddCustomLiveStreamTranscodeRequest::getApp()const +{ + return app_; } -std::string AddCustomLiveStreamTranscodeRequest::getApp() const { - return app_; +void AddCustomLiveStreamTranscodeRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); } -void AddCustomLiveStreamTranscodeRequest::setApp(const std::string &app) { - app_ = app; - setParameter(std::string("App"), app); +std::string AddCustomLiveStreamTranscodeRequest::getEncryptParameters()const +{ + return encryptParameters_; } -std::string AddCustomLiveStreamTranscodeRequest::getEncryptParameters() const { - return encryptParameters_; +void AddCustomLiveStreamTranscodeRequest::setEncryptParameters(const std::string& encryptParameters) +{ + encryptParameters_ = encryptParameters; + setParameter("EncryptParameters", encryptParameters); } -void AddCustomLiveStreamTranscodeRequest::setEncryptParameters(const std::string &encryptParameters) { - encryptParameters_ = encryptParameters; - setParameter(std::string("EncryptParameters"), encryptParameters); +int AddCustomLiveStreamTranscodeRequest::getAudioChannelNum()const +{ + return audioChannelNum_; } -int AddCustomLiveStreamTranscodeRequest::getAudioChannelNum() const { - return audioChannelNum_; +void AddCustomLiveStreamTranscodeRequest::setAudioChannelNum(int audioChannelNum) +{ + audioChannelNum_ = audioChannelNum; + setParameter("AudioChannelNum", std::to_string(audioChannelNum)); } -void AddCustomLiveStreamTranscodeRequest::setAudioChannelNum(int audioChannelNum) { - audioChannelNum_ = audioChannelNum; - setParameter(std::string("AudioChannelNum"), std::to_string(audioChannelNum)); +int AddCustomLiveStreamTranscodeRequest::getProfile()const +{ + return profile_; } -int AddCustomLiveStreamTranscodeRequest::getProfile() const { - return profile_; +void AddCustomLiveStreamTranscodeRequest::setProfile(int profile) +{ + profile_ = profile; + setParameter("Profile", std::to_string(profile)); } -void AddCustomLiveStreamTranscodeRequest::setProfile(int profile) { - profile_ = profile; - setParameter(std::string("Profile"), std::to_string(profile)); +int AddCustomLiveStreamTranscodeRequest::getFPS()const +{ + return fPS_; } -int AddCustomLiveStreamTranscodeRequest::getFPS() const { - return fPS_; +void AddCustomLiveStreamTranscodeRequest::setFPS(int fPS) +{ + fPS_ = fPS; + setParameter("FPS", std::to_string(fPS)); } -void AddCustomLiveStreamTranscodeRequest::setFPS(int fPS) { - fPS_ = fPS; - setParameter(std::string("FPS"), std::to_string(fPS)); +long AddCustomLiveStreamTranscodeRequest::getOwnerId()const +{ + return ownerId_; } -long AddCustomLiveStreamTranscodeRequest::getOwnerId() const { - return ownerId_; +void AddCustomLiveStreamTranscodeRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddCustomLiveStreamTranscodeRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +int AddCustomLiveStreamTranscodeRequest::getAudioRate()const +{ + return audioRate_; } -int AddCustomLiveStreamTranscodeRequest::getAudioRate() const { - return audioRate_; +void AddCustomLiveStreamTranscodeRequest::setAudioRate(int audioRate) +{ + audioRate_ = audioRate; + setParameter("AudioRate", std::to_string(audioRate)); } -void AddCustomLiveStreamTranscodeRequest::setAudioRate(int audioRate) { - audioRate_ = audioRate; - setParameter(std::string("AudioRate"), std::to_string(audioRate)); +int AddCustomLiveStreamTranscodeRequest::getAudioBitrate()const +{ + return audioBitrate_; } -int AddCustomLiveStreamTranscodeRequest::getAudioBitrate() const { - return audioBitrate_; +void AddCustomLiveStreamTranscodeRequest::setAudioBitrate(int audioBitrate) +{ + audioBitrate_ = audioBitrate; + setParameter("AudioBitrate", std::to_string(audioBitrate)); } -void AddCustomLiveStreamTranscodeRequest::setAudioBitrate(int audioBitrate) { - audioBitrate_ = audioBitrate; - setParameter(std::string("AudioBitrate"), std::to_string(audioBitrate)); +std::string AddCustomLiveStreamTranscodeRequest::getDomain()const +{ + return domain_; } -std::string AddCustomLiveStreamTranscodeRequest::getDomain() const { - return domain_; +void AddCustomLiveStreamTranscodeRequest::setDomain(const std::string& domain) +{ + domain_ = domain; + setParameter("Domain", domain); } -void AddCustomLiveStreamTranscodeRequest::setDomain(const std::string &domain) { - domain_ = domain; - setParameter(std::string("Domain"), domain); +int AddCustomLiveStreamTranscodeRequest::getWidth()const +{ + return width_; } -int AddCustomLiveStreamTranscodeRequest::getWidth() const { - return width_; +void AddCustomLiveStreamTranscodeRequest::setWidth(int width) +{ + width_ = width; + setParameter("Width", std::to_string(width)); } -void AddCustomLiveStreamTranscodeRequest::setWidth(int width) { - width_ = width; - setParameter(std::string("Width"), std::to_string(width)); +int AddCustomLiveStreamTranscodeRequest::getVideoBitrate()const +{ + return videoBitrate_; } -int AddCustomLiveStreamTranscodeRequest::getVideoBitrate() const { - return videoBitrate_; +void AddCustomLiveStreamTranscodeRequest::setVideoBitrate(int videoBitrate) +{ + videoBitrate_ = videoBitrate; + setParameter("VideoBitrate", std::to_string(videoBitrate)); } -void AddCustomLiveStreamTranscodeRequest::setVideoBitrate(int videoBitrate) { - videoBitrate_ = videoBitrate; - setParameter(std::string("VideoBitrate"), std::to_string(videoBitrate)); +std::string AddCustomLiveStreamTranscodeRequest::getKmsKeyID()const +{ + return kmsKeyID_; } -std::string AddCustomLiveStreamTranscodeRequest::getKmsKeyID() const { - return kmsKeyID_; -} - -void AddCustomLiveStreamTranscodeRequest::setKmsKeyID(const std::string &kmsKeyID) { - kmsKeyID_ = kmsKeyID; - setParameter(std::string("KmsKeyID"), kmsKeyID); +void AddCustomLiveStreamTranscodeRequest::setKmsKeyID(const std::string& kmsKeyID) +{ + kmsKeyID_ = kmsKeyID; + setParameter("KmsKeyID", kmsKeyID); } diff --git a/live/src/model/AddLiveAppRecordConfigRequest.cc b/live/src/model/AddLiveAppRecordConfigRequest.cc index 5b8f584b1..b4fdea7ec 100644 --- a/live/src/model/AddLiveAppRecordConfigRequest.cc +++ b/live/src/model/AddLiveAppRecordConfigRequest.cc @@ -1,159 +1,190 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -AddLiveAppRecordConfigRequest::~AddLiveAppRecordConfigRequest() {} - -std::string AddLiveAppRecordConfigRequest::getOssEndpoint() const { - return ossEndpoint_; +void AddLiveAppRecordConfigRequest::setOssEndpoint(const std::string& ossEndpoint) +{ + ossEndpoint_ = ossEndpoint; + setParameter("OssEndpoint", ossEndpoint); } -void AddLiveAppRecordConfigRequest::setOssEndpoint(const std::string &ossEndpoint) { - ossEndpoint_ = ossEndpoint; - setParameter(std::string("OssEndpoint"), ossEndpoint); +std::vector AddLiveAppRecordConfigRequest::getTranscodeTemplates()const +{ + return transcodeTemplates_; } -std::vector AddLiveAppRecordConfigRequest::getTranscodeTemplates() const { - return transcodeTemplates_; +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)); + } } -void AddLiveAppRecordConfigRequest::setTranscodeTemplates(const std::vector &transcodeTemplates) { - transcodeTemplates_ = transcodeTemplates; +std::string AddLiveAppRecordConfigRequest::getStartTime()const +{ + return startTime_; } -std::string AddLiveAppRecordConfigRequest::getStartTime() const { - return startTime_; +void AddLiveAppRecordConfigRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void AddLiveAppRecordConfigRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string AddLiveAppRecordConfigRequest::getAppName()const +{ + return appName_; } -std::string AddLiveAppRecordConfigRequest::getAppName() const { - return appName_; +void AddLiveAppRecordConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void AddLiveAppRecordConfigRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string AddLiveAppRecordConfigRequest::getSecurityToken()const +{ + return securityToken_; } -std::string AddLiveAppRecordConfigRequest::getSecurityToken() const { - return securityToken_; +void AddLiveAppRecordConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void AddLiveAppRecordConfigRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::vector AddLiveAppRecordConfigRequest::getTranscodeRecordFormat()const +{ + return transcodeRecordFormat_; } -std::vector AddLiveAppRecordConfigRequest::getTranscodeRecordFormat() const { - return transcodeRecordFormat_; +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)); + } } -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)); - } +int AddLiveAppRecordConfigRequest::getOnDemand()const +{ + return onDemand_; } -int AddLiveAppRecordConfigRequest::getOnDemand() const { - return onDemand_; +void AddLiveAppRecordConfigRequest::setOnDemand(int onDemand) +{ + onDemand_ = onDemand; + setParameter("OnDemand", std::to_string(onDemand)); } -void AddLiveAppRecordConfigRequest::setOnDemand(int onDemand) { - onDemand_ = onDemand; - setParameter(std::string("OnDemand"), std::to_string(onDemand)); +std::string AddLiveAppRecordConfigRequest::getStreamName()const +{ + return streamName_; } -std::string AddLiveAppRecordConfigRequest::getStreamName() const { - return streamName_; +void AddLiveAppRecordConfigRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void AddLiveAppRecordConfigRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string AddLiveAppRecordConfigRequest::getOssBucket()const +{ + return ossBucket_; } -std::string AddLiveAppRecordConfigRequest::getOssBucket() const { - return ossBucket_; +void AddLiveAppRecordConfigRequest::setOssBucket(const std::string& ossBucket) +{ + ossBucket_ = ossBucket; + setParameter("OssBucket", ossBucket); } -void AddLiveAppRecordConfigRequest::setOssBucket(const std::string &ossBucket) { - ossBucket_ = ossBucket; - setParameter(std::string("OssBucket"), ossBucket); +std::string AddLiveAppRecordConfigRequest::getDomainName()const +{ + return domainName_; } -std::string AddLiveAppRecordConfigRequest::getDomainName() const { - return domainName_; +void AddLiveAppRecordConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void AddLiveAppRecordConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string AddLiveAppRecordConfigRequest::getEndTime()const +{ + return endTime_; } -std::string AddLiveAppRecordConfigRequest::getEndTime() const { - return endTime_; +void AddLiveAppRecordConfigRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void AddLiveAppRecordConfigRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long AddLiveAppRecordConfigRequest::getOwnerId()const +{ + return ownerId_; } -long AddLiveAppRecordConfigRequest::getOwnerId() const { - return ownerId_; +void AddLiveAppRecordConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddLiveAppRecordConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::vector AddLiveAppRecordConfigRequest::getRecordFormat()const +{ + return recordFormat_; } -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)); - } +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)); + } } diff --git a/live/src/model/AddLiveAppSnapshotConfigRequest.cc b/live/src/model/AddLiveAppSnapshotConfigRequest.cc index 871ffaeaf..a5c4b3592 100644 --- a/live/src/model/AddLiveAppSnapshotConfigRequest.cc +++ b/live/src/model/AddLiveAppSnapshotConfigRequest.cc @@ -1,117 +1,139 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -AddLiveAppSnapshotConfigRequest::~AddLiveAppSnapshotConfigRequest() {} - -int AddLiveAppSnapshotConfigRequest::getTimeInterval() const { - return timeInterval_; +void AddLiveAppSnapshotConfigRequest::setTimeInterval(int timeInterval) +{ + timeInterval_ = timeInterval; + setParameter("TimeInterval", std::to_string(timeInterval)); } -void AddLiveAppSnapshotConfigRequest::setTimeInterval(int timeInterval) { - timeInterval_ = timeInterval; - setParameter(std::string("TimeInterval"), std::to_string(timeInterval)); +std::string AddLiveAppSnapshotConfigRequest::getOssEndpoint()const +{ + return ossEndpoint_; } -std::string AddLiveAppSnapshotConfigRequest::getOssEndpoint() const { - return ossEndpoint_; +void AddLiveAppSnapshotConfigRequest::setOssEndpoint(const std::string& ossEndpoint) +{ + ossEndpoint_ = ossEndpoint; + setParameter("OssEndpoint", ossEndpoint); } -void AddLiveAppSnapshotConfigRequest::setOssEndpoint(const std::string &ossEndpoint) { - ossEndpoint_ = ossEndpoint; - setParameter(std::string("OssEndpoint"), ossEndpoint); +std::string AddLiveAppSnapshotConfigRequest::getAppName()const +{ + return appName_; } -std::string AddLiveAppSnapshotConfigRequest::getAppName() const { - return appName_; +void AddLiveAppSnapshotConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void AddLiveAppSnapshotConfigRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string AddLiveAppSnapshotConfigRequest::getSecurityToken()const +{ + return securityToken_; } -std::string AddLiveAppSnapshotConfigRequest::getSecurityToken() const { - return securityToken_; +void AddLiveAppSnapshotConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void AddLiveAppSnapshotConfigRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string AddLiveAppSnapshotConfigRequest::getOverwriteOssObject()const +{ + return overwriteOssObject_; } -std::string AddLiveAppSnapshotConfigRequest::getOverwriteOssObject() const { - return overwriteOssObject_; +void AddLiveAppSnapshotConfigRequest::setOverwriteOssObject(const std::string& overwriteOssObject) +{ + overwriteOssObject_ = overwriteOssObject; + setParameter("OverwriteOssObject", overwriteOssObject); } -void AddLiveAppSnapshotConfigRequest::setOverwriteOssObject(const std::string &overwriteOssObject) { - overwriteOssObject_ = overwriteOssObject; - setParameter(std::string("OverwriteOssObject"), overwriteOssObject); +std::string AddLiveAppSnapshotConfigRequest::getOssBucket()const +{ + return ossBucket_; } -std::string AddLiveAppSnapshotConfigRequest::getOssBucket() const { - return ossBucket_; +void AddLiveAppSnapshotConfigRequest::setOssBucket(const std::string& ossBucket) +{ + ossBucket_ = ossBucket; + setParameter("OssBucket", ossBucket); } -void AddLiveAppSnapshotConfigRequest::setOssBucket(const std::string &ossBucket) { - ossBucket_ = ossBucket; - setParameter(std::string("OssBucket"), ossBucket); +std::string AddLiveAppSnapshotConfigRequest::getDomainName()const +{ + return domainName_; } -std::string AddLiveAppSnapshotConfigRequest::getDomainName() const { - return domainName_; +void AddLiveAppSnapshotConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void AddLiveAppSnapshotConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string AddLiveAppSnapshotConfigRequest::getSequenceOssObject()const +{ + return sequenceOssObject_; } -std::string AddLiveAppSnapshotConfigRequest::getSequenceOssObject() const { - return sequenceOssObject_; +void AddLiveAppSnapshotConfigRequest::setSequenceOssObject(const std::string& sequenceOssObject) +{ + sequenceOssObject_ = sequenceOssObject; + setParameter("SequenceOssObject", sequenceOssObject); } -void AddLiveAppSnapshotConfigRequest::setSequenceOssObject(const std::string &sequenceOssObject) { - sequenceOssObject_ = sequenceOssObject; - setParameter(std::string("SequenceOssObject"), sequenceOssObject); +long AddLiveAppSnapshotConfigRequest::getOwnerId()const +{ + return ownerId_; } -long AddLiveAppSnapshotConfigRequest::getOwnerId() const { - return ownerId_; +void AddLiveAppSnapshotConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddLiveAppSnapshotConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string AddLiveAppSnapshotConfigRequest::getCallback()const +{ + return callback_; } -std::string AddLiveAppSnapshotConfigRequest::getCallback() const { - return callback_; -} - -void AddLiveAppSnapshotConfigRequest::setCallback(const std::string &callback) { - callback_ = callback; - setParameter(std::string("Callback"), callback); +void AddLiveAppSnapshotConfigRequest::setCallback(const std::string& callback) +{ + callback_ = callback; + setParameter("Callback", callback); } diff --git a/live/src/model/AddLiveAudioAuditConfigRequest.cc b/live/src/model/AddLiveAudioAuditConfigRequest.cc index 97e45673d..8de7b39fa 100644 --- a/live/src/model/AddLiveAudioAuditConfigRequest.cc +++ b/live/src/model/AddLiveAudioAuditConfigRequest.cc @@ -1,99 +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::AddLiveAudioAuditConfigRequest; - -AddLiveAudioAuditConfigRequest::AddLiveAudioAuditConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "AddLiveAudioAuditConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -AddLiveAudioAuditConfigRequest::~AddLiveAudioAuditConfigRequest() {} - -std::string AddLiveAudioAuditConfigRequest::getOssEndpoint() const { - return ossEndpoint_; +void AddLiveAudioAuditConfigRequest::setOssEndpoint(const std::string& ossEndpoint) +{ + ossEndpoint_ = ossEndpoint; + setParameter("OssEndpoint", ossEndpoint); } -void AddLiveAudioAuditConfigRequest::setOssEndpoint(const std::string &ossEndpoint) { - ossEndpoint_ = ossEndpoint; - setParameter(std::string("OssEndpoint"), ossEndpoint); +std::string AddLiveAudioAuditConfigRequest::getOssObject()const +{ + return ossObject_; } -std::string AddLiveAudioAuditConfigRequest::getOssObject() const { - return ossObject_; +void AddLiveAudioAuditConfigRequest::setOssObject(const std::string& ossObject) +{ + ossObject_ = ossObject; + setParameter("OssObject", ossObject); } -void AddLiveAudioAuditConfigRequest::setOssObject(const std::string &ossObject) { - ossObject_ = ossObject; - setParameter(std::string("OssObject"), ossObject); +std::string AddLiveAudioAuditConfigRequest::getAppName()const +{ + return appName_; } -std::string AddLiveAudioAuditConfigRequest::getAppName() const { - return appName_; +void AddLiveAudioAuditConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void AddLiveAudioAuditConfigRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string AddLiveAudioAuditConfigRequest::getStreamName()const +{ + return streamName_; } -std::string AddLiveAudioAuditConfigRequest::getStreamName() const { - return streamName_; +void AddLiveAudioAuditConfigRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void AddLiveAudioAuditConfigRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string AddLiveAudioAuditConfigRequest::getOssBucket()const +{ + return ossBucket_; } -std::string AddLiveAudioAuditConfigRequest::getOssBucket() const { - return ossBucket_; +void AddLiveAudioAuditConfigRequest::setOssBucket(const std::string& ossBucket) +{ + ossBucket_ = ossBucket; + setParameter("OssBucket", ossBucket); } -void AddLiveAudioAuditConfigRequest::setOssBucket(const std::string &ossBucket) { - ossBucket_ = ossBucket; - setParameter(std::string("OssBucket"), ossBucket); +std::string AddLiveAudioAuditConfigRequest::getDomainName()const +{ + return domainName_; } -std::string AddLiveAudioAuditConfigRequest::getDomainName() const { - return domainName_; +void AddLiveAudioAuditConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void AddLiveAudioAuditConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long AddLiveAudioAuditConfigRequest::getOwnerId()const +{ + return ownerId_; } -long AddLiveAudioAuditConfigRequest::getOwnerId() const { - return ownerId_; +void AddLiveAudioAuditConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddLiveAudioAuditConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string AddLiveAudioAuditConfigRequest::getBizType()const +{ + return bizType_; } -std::string AddLiveAudioAuditConfigRequest::getBizType() const { - return bizType_; -} - -void AddLiveAudioAuditConfigRequest::setBizType(const std::string &bizType) { - bizType_ = bizType; - setParameter(std::string("BizType"), bizType); +void AddLiveAudioAuditConfigRequest::setBizType(const std::string& bizType) +{ + bizType_ = bizType; + setParameter("BizType", bizType); } diff --git a/live/src/model/AddLiveAudioAuditNotifyConfigRequest.cc b/live/src/model/AddLiveAudioAuditNotifyConfigRequest.cc index 697bcf424..c9ba06171 100644 --- a/live/src/model/AddLiveAudioAuditNotifyConfigRequest.cc +++ b/live/src/model/AddLiveAudioAuditNotifyConfigRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddLiveAudioAuditNotifyConfigRequest; - -AddLiveAudioAuditNotifyConfigRequest::AddLiveAudioAuditNotifyConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "AddLiveAudioAuditNotifyConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -AddLiveAudioAuditNotifyConfigRequest::~AddLiveAudioAuditNotifyConfigRequest() {} - -std::string AddLiveAudioAuditNotifyConfigRequest::getDomainName() const { - return domainName_; +void AddLiveAudioAuditNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void AddLiveAudioAuditNotifyConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long AddLiveAudioAuditNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; } -long AddLiveAudioAuditNotifyConfigRequest::getOwnerId() const { - return ownerId_; +void AddLiveAudioAuditNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddLiveAudioAuditNotifyConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string AddLiveAudioAuditNotifyConfigRequest::getCallbackTemplate()const +{ + return callbackTemplate_; } -std::string AddLiveAudioAuditNotifyConfigRequest::getCallbackTemplate() const { - return callbackTemplate_; +void AddLiveAudioAuditNotifyConfigRequest::setCallbackTemplate(const std::string& callbackTemplate) +{ + callbackTemplate_ = callbackTemplate; + setParameter("CallbackTemplate", callbackTemplate); } -void AddLiveAudioAuditNotifyConfigRequest::setCallbackTemplate(const std::string &callbackTemplate) { - callbackTemplate_ = callbackTemplate; - setParameter(std::string("CallbackTemplate"), callbackTemplate); +std::string AddLiveAudioAuditNotifyConfigRequest::getCallback()const +{ + return callback_; } -std::string AddLiveAudioAuditNotifyConfigRequest::getCallback() const { - return callback_; -} - -void AddLiveAudioAuditNotifyConfigRequest::setCallback(const std::string &callback) { - callback_ = callback; - setParameter(std::string("Callback"), callback); +void AddLiveAudioAuditNotifyConfigRequest::setCallback(const std::string& callback) +{ + callback_ = callback; + setParameter("Callback", callback); } diff --git a/live/src/model/AddLiveDetectNotifyConfigRequest.cc b/live/src/model/AddLiveDetectNotifyConfigRequest.cc index 8fc3e03db..8f5ab52f5 100644 --- a/live/src/model/AddLiveDetectNotifyConfigRequest.cc +++ b/live/src/model/AddLiveDetectNotifyConfigRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddLiveDetectNotifyConfigRequest; - -AddLiveDetectNotifyConfigRequest::AddLiveDetectNotifyConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "AddLiveDetectNotifyConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -AddLiveDetectNotifyConfigRequest::~AddLiveDetectNotifyConfigRequest() {} - -std::string AddLiveDetectNotifyConfigRequest::getSecurityToken() const { - return securityToken_; +void AddLiveDetectNotifyConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void AddLiveDetectNotifyConfigRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string AddLiveDetectNotifyConfigRequest::getNotifyUrl()const +{ + return notifyUrl_; } -std::string AddLiveDetectNotifyConfigRequest::getNotifyUrl() const { - return notifyUrl_; +void AddLiveDetectNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl) +{ + notifyUrl_ = notifyUrl; + setParameter("NotifyUrl", notifyUrl); } -void AddLiveDetectNotifyConfigRequest::setNotifyUrl(const std::string ¬ifyUrl) { - notifyUrl_ = notifyUrl; - setParameter(std::string("NotifyUrl"), notifyUrl); +std::string AddLiveDetectNotifyConfigRequest::getDomainName()const +{ + return domainName_; } -std::string AddLiveDetectNotifyConfigRequest::getDomainName() const { - return domainName_; +void AddLiveDetectNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void AddLiveDetectNotifyConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long AddLiveDetectNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; } -long AddLiveDetectNotifyConfigRequest::getOwnerId() const { - return ownerId_; -} - -void AddLiveDetectNotifyConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void AddLiveDetectNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/AddLiveDomainMappingRequest.cc b/live/src/model/AddLiveDomainMappingRequest.cc index ca46709b0..80057be41 100644 --- a/live/src/model/AddLiveDomainMappingRequest.cc +++ b/live/src/model/AddLiveDomainMappingRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddLiveDomainMappingRequest; - -AddLiveDomainMappingRequest::AddLiveDomainMappingRequest() - : RpcServiceRequest("live", "2016-11-01", "AddLiveDomainMapping") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -AddLiveDomainMappingRequest::~AddLiveDomainMappingRequest() {} - -std::string AddLiveDomainMappingRequest::getSecurityToken() const { - return securityToken_; +void AddLiveDomainMappingRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void AddLiveDomainMappingRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string AddLiveDomainMappingRequest::getPushDomain()const +{ + return pushDomain_; } -std::string AddLiveDomainMappingRequest::getPushDomain() const { - return pushDomain_; +void AddLiveDomainMappingRequest::setPushDomain(const std::string& pushDomain) +{ + pushDomain_ = pushDomain; + setParameter("PushDomain", pushDomain); } -void AddLiveDomainMappingRequest::setPushDomain(const std::string &pushDomain) { - pushDomain_ = pushDomain; - setParameter(std::string("PushDomain"), pushDomain); +long AddLiveDomainMappingRequest::getOwnerId()const +{ + return ownerId_; } -long AddLiveDomainMappingRequest::getOwnerId() const { - return ownerId_; +void AddLiveDomainMappingRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddLiveDomainMappingRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string AddLiveDomainMappingRequest::getPullDomain()const +{ + return pullDomain_; } -std::string AddLiveDomainMappingRequest::getPullDomain() const { - return pullDomain_; -} - -void AddLiveDomainMappingRequest::setPullDomain(const std::string &pullDomain) { - pullDomain_ = pullDomain; - setParameter(std::string("PullDomain"), pullDomain); +void AddLiveDomainMappingRequest::setPullDomain(const std::string& pullDomain) +{ + pullDomain_ = pullDomain; + setParameter("PullDomain", pullDomain); } diff --git a/live/src/model/AddLiveDomainPlayMappingRequest.cc b/live/src/model/AddLiveDomainPlayMappingRequest.cc index 0bd718b6f..86ab5f1b8 100644 --- a/live/src/model/AddLiveDomainPlayMappingRequest.cc +++ b/live/src/model/AddLiveDomainPlayMappingRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddLiveDomainPlayMappingRequest; - -AddLiveDomainPlayMappingRequest::AddLiveDomainPlayMappingRequest() - : RpcServiceRequest("live", "2016-11-01", "AddLiveDomainPlayMapping") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -AddLiveDomainPlayMappingRequest::~AddLiveDomainPlayMappingRequest() {} - -std::string AddLiveDomainPlayMappingRequest::getPlayDomain() const { - return playDomain_; +void AddLiveDomainPlayMappingRequest::setPlayDomain(const std::string& playDomain) +{ + playDomain_ = playDomain; + setParameter("PlayDomain", playDomain); } -void AddLiveDomainPlayMappingRequest::setPlayDomain(const std::string &playDomain) { - playDomain_ = playDomain; - setParameter(std::string("PlayDomain"), playDomain); +long AddLiveDomainPlayMappingRequest::getOwnerId()const +{ + return ownerId_; } -long AddLiveDomainPlayMappingRequest::getOwnerId() const { - return ownerId_; +void AddLiveDomainPlayMappingRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddLiveDomainPlayMappingRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string AddLiveDomainPlayMappingRequest::getPullDomain()const +{ + return pullDomain_; } -std::string AddLiveDomainPlayMappingRequest::getPullDomain() const { - return pullDomain_; -} - -void AddLiveDomainPlayMappingRequest::setPullDomain(const std::string &pullDomain) { - pullDomain_ = pullDomain; - setParameter(std::string("PullDomain"), pullDomain); +void AddLiveDomainPlayMappingRequest::setPullDomain(const std::string& pullDomain) +{ + pullDomain_ = pullDomain; + setParameter("PullDomain", pullDomain); } diff --git a/live/src/model/AddLiveDomainRequest.cc b/live/src/model/AddLiveDomainRequest.cc index 873e22c90..025b5777c 100644 --- a/live/src/model/AddLiveDomainRequest.cc +++ b/live/src/model/AddLiveDomainRequest.cc @@ -1,108 +1,128 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -AddLiveDomainRequest::~AddLiveDomainRequest() {} - -std::string AddLiveDomainRequest::getSecurityToken() const { - return securityToken_; +void AddLiveDomainRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void AddLiveDomainRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string AddLiveDomainRequest::getScope()const +{ + return scope_; } -std::string AddLiveDomainRequest::getScope() const { - return scope_; +void AddLiveDomainRequest::setScope(const std::string& scope) +{ + scope_ = scope; + setParameter("Scope", scope); } -void AddLiveDomainRequest::setScope(const std::string &scope) { - scope_ = scope; - setParameter(std::string("Scope"), scope); +std::string AddLiveDomainRequest::getTopLevelDomain()const +{ + return topLevelDomain_; } -std::string AddLiveDomainRequest::getTopLevelDomain() const { - return topLevelDomain_; +void AddLiveDomainRequest::setTopLevelDomain(const std::string& topLevelDomain) +{ + topLevelDomain_ = topLevelDomain; + setParameter("TopLevelDomain", topLevelDomain); } -void AddLiveDomainRequest::setTopLevelDomain(const std::string &topLevelDomain) { - topLevelDomain_ = topLevelDomain; - setParameter(std::string("TopLevelDomain"), topLevelDomain); +std::string AddLiveDomainRequest::getOwnerAccount()const +{ + return ownerAccount_; } -std::string AddLiveDomainRequest::getOwnerAccount() const { - return ownerAccount_; +void AddLiveDomainRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); } -void AddLiveDomainRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); +std::string AddLiveDomainRequest::getDomainName()const +{ + return domainName_; } -std::string AddLiveDomainRequest::getDomainName() const { - return domainName_; +void AddLiveDomainRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void AddLiveDomainRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long AddLiveDomainRequest::getOwnerId()const +{ + return ownerId_; } -long AddLiveDomainRequest::getOwnerId() const { - return ownerId_; +void AddLiveDomainRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddLiveDomainRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string AddLiveDomainRequest::getRegion()const +{ + return region_; } -std::string AddLiveDomainRequest::getRegion() const { - return region_; +void AddLiveDomainRequest::setRegion(const std::string& region) +{ + region_ = region; + setParameter("Region", region); } -void AddLiveDomainRequest::setRegion(const std::string ®ion) { - region_ = region; - setParameter(std::string("Region"), region); +std::string AddLiveDomainRequest::getCheckUrl()const +{ + return checkUrl_; } -std::string AddLiveDomainRequest::getCheckUrl() const { - return checkUrl_; +void AddLiveDomainRequest::setCheckUrl(const std::string& checkUrl) +{ + checkUrl_ = checkUrl; + setParameter("CheckUrl", checkUrl); } -void AddLiveDomainRequest::setCheckUrl(const std::string &checkUrl) { - checkUrl_ = checkUrl; - setParameter(std::string("CheckUrl"), checkUrl); +std::string AddLiveDomainRequest::getLiveDomainType()const +{ + return liveDomainType_; } -std::string AddLiveDomainRequest::getLiveDomainType() const { - return liveDomainType_; -} - -void AddLiveDomainRequest::setLiveDomainType(const std::string &liveDomainType) { - liveDomainType_ = liveDomainType; - setParameter(std::string("LiveDomainType"), liveDomainType); +void AddLiveDomainRequest::setLiveDomainType(const std::string& liveDomainType) +{ + liveDomainType_ = liveDomainType; + setParameter("LiveDomainType", liveDomainType); } diff --git a/live/src/model/AddLivePullStreamInfoConfigRequest.cc b/live/src/model/AddLivePullStreamInfoConfigRequest.cc index 89ba34e89..2f51e84bb 100644 --- a/live/src/model/AddLivePullStreamInfoConfigRequest.cc +++ b/live/src/model/AddLivePullStreamInfoConfigRequest.cc @@ -1,99 +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::AddLivePullStreamInfoConfigRequest; - -AddLivePullStreamInfoConfigRequest::AddLivePullStreamInfoConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "AddLivePullStreamInfoConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -AddLivePullStreamInfoConfigRequest::~AddLivePullStreamInfoConfigRequest() {} - -std::string AddLivePullStreamInfoConfigRequest::getStartTime() const { - return startTime_; +void AddLivePullStreamInfoConfigRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void AddLivePullStreamInfoConfigRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string AddLivePullStreamInfoConfigRequest::getAppName()const +{ + return appName_; } -std::string AddLivePullStreamInfoConfigRequest::getAppName() const { - return appName_; +void AddLivePullStreamInfoConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void AddLivePullStreamInfoConfigRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string AddLivePullStreamInfoConfigRequest::getStreamName()const +{ + return streamName_; } -std::string AddLivePullStreamInfoConfigRequest::getStreamName() const { - return streamName_; +void AddLivePullStreamInfoConfigRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void AddLivePullStreamInfoConfigRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string AddLivePullStreamInfoConfigRequest::getPullAlways()const +{ + return pullAlways_; } -std::string AddLivePullStreamInfoConfigRequest::getPullAlways() const { - return pullAlways_; +void AddLivePullStreamInfoConfigRequest::setPullAlways(const std::string& pullAlways) +{ + pullAlways_ = pullAlways; + setParameter("PullAlways", pullAlways); } -void AddLivePullStreamInfoConfigRequest::setPullAlways(const std::string &pullAlways) { - pullAlways_ = pullAlways; - setParameter(std::string("PullAlways"), pullAlways); +std::string AddLivePullStreamInfoConfigRequest::getDomainName()const +{ + return domainName_; } -std::string AddLivePullStreamInfoConfigRequest::getDomainName() const { - return domainName_; +void AddLivePullStreamInfoConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void AddLivePullStreamInfoConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string AddLivePullStreamInfoConfigRequest::getEndTime()const +{ + return endTime_; } -std::string AddLivePullStreamInfoConfigRequest::getEndTime() const { - return endTime_; +void AddLivePullStreamInfoConfigRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void AddLivePullStreamInfoConfigRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long AddLivePullStreamInfoConfigRequest::getOwnerId()const +{ + return ownerId_; } -long AddLivePullStreamInfoConfigRequest::getOwnerId() const { - return ownerId_; +void AddLivePullStreamInfoConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddLivePullStreamInfoConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string AddLivePullStreamInfoConfigRequest::getSourceUrl()const +{ + return sourceUrl_; } -std::string AddLivePullStreamInfoConfigRequest::getSourceUrl() const { - return sourceUrl_; -} - -void AddLivePullStreamInfoConfigRequest::setSourceUrl(const std::string &sourceUrl) { - sourceUrl_ = sourceUrl; - setParameter(std::string("SourceUrl"), sourceUrl); +void AddLivePullStreamInfoConfigRequest::setSourceUrl(const std::string& sourceUrl) +{ + sourceUrl_ = sourceUrl; + setParameter("SourceUrl", sourceUrl); } diff --git a/live/src/model/AddLiveRecordNotifyConfigRequest.cc b/live/src/model/AddLiveRecordNotifyConfigRequest.cc index 62008dd62..f2e4d271c 100644 --- a/live/src/model/AddLiveRecordNotifyConfigRequest.cc +++ b/live/src/model/AddLiveRecordNotifyConfigRequest.cc @@ -1,81 +1,95 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -AddLiveRecordNotifyConfigRequest::~AddLiveRecordNotifyConfigRequest() {} - -std::string AddLiveRecordNotifyConfigRequest::getOnDemandUrl() const { - return onDemandUrl_; +void AddLiveRecordNotifyConfigRequest::setOnDemandUrl(const std::string& onDemandUrl) +{ + onDemandUrl_ = onDemandUrl; + setParameter("OnDemandUrl", onDemandUrl); } -void AddLiveRecordNotifyConfigRequest::setOnDemandUrl(const std::string &onDemandUrl) { - onDemandUrl_ = onDemandUrl; - setParameter(std::string("OnDemandUrl"), onDemandUrl); +std::string AddLiveRecordNotifyConfigRequest::getSecurityToken()const +{ + return securityToken_; } -std::string AddLiveRecordNotifyConfigRequest::getSecurityToken() const { - return securityToken_; +void AddLiveRecordNotifyConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void AddLiveRecordNotifyConfigRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string AddLiveRecordNotifyConfigRequest::getNotifyUrl()const +{ + return notifyUrl_; } -std::string AddLiveRecordNotifyConfigRequest::getNotifyUrl() const { - return notifyUrl_; +void AddLiveRecordNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl) +{ + notifyUrl_ = notifyUrl; + setParameter("NotifyUrl", notifyUrl); } -void AddLiveRecordNotifyConfigRequest::setNotifyUrl(const std::string ¬ifyUrl) { - notifyUrl_ = notifyUrl; - setParameter(std::string("NotifyUrl"), notifyUrl); +bool AddLiveRecordNotifyConfigRequest::getNeedStatusNotify()const +{ + return needStatusNotify_; } -bool AddLiveRecordNotifyConfigRequest::getNeedStatusNotify() const { - return needStatusNotify_; +void AddLiveRecordNotifyConfigRequest::setNeedStatusNotify(bool needStatusNotify) +{ + needStatusNotify_ = needStatusNotify; + setParameter("NeedStatusNotify", needStatusNotify ? "true" : "false"); } -void AddLiveRecordNotifyConfigRequest::setNeedStatusNotify(bool needStatusNotify) { - needStatusNotify_ = needStatusNotify; - setParameter(std::string("NeedStatusNotify"), needStatusNotify ? "true" : "false"); +std::string AddLiveRecordNotifyConfigRequest::getDomainName()const +{ + return domainName_; } -std::string AddLiveRecordNotifyConfigRequest::getDomainName() const { - return domainName_; +void AddLiveRecordNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void AddLiveRecordNotifyConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long AddLiveRecordNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; } -long AddLiveRecordNotifyConfigRequest::getOwnerId() const { - return ownerId_; -} - -void AddLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void AddLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/AddLiveRecordVodConfigRequest.cc b/live/src/model/AddLiveRecordVodConfigRequest.cc index edfb9acd4..66bb99bae 100644 --- a/live/src/model/AddLiveRecordVodConfigRequest.cc +++ b/live/src/model/AddLiveRecordVodConfigRequest.cc @@ -1,108 +1,128 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -AddLiveRecordVodConfigRequest::~AddLiveRecordVodConfigRequest() {} - -std::string AddLiveRecordVodConfigRequest::getAutoCompose() const { - return autoCompose_; +void AddLiveRecordVodConfigRequest::setAutoCompose(const std::string& autoCompose) +{ + autoCompose_ = autoCompose; + setParameter("AutoCompose", autoCompose); } -void AddLiveRecordVodConfigRequest::setAutoCompose(const std::string &autoCompose) { - autoCompose_ = autoCompose; - setParameter(std::string("AutoCompose"), autoCompose); +std::string AddLiveRecordVodConfigRequest::getComposeVodTranscodeGroupId()const +{ + return composeVodTranscodeGroupId_; } -std::string AddLiveRecordVodConfigRequest::getComposeVodTranscodeGroupId() const { - return composeVodTranscodeGroupId_; +void AddLiveRecordVodConfigRequest::setComposeVodTranscodeGroupId(const std::string& composeVodTranscodeGroupId) +{ + composeVodTranscodeGroupId_ = composeVodTranscodeGroupId; + setParameter("ComposeVodTranscodeGroupId", composeVodTranscodeGroupId); } -void AddLiveRecordVodConfigRequest::setComposeVodTranscodeGroupId(const std::string &composeVodTranscodeGroupId) { - composeVodTranscodeGroupId_ = composeVodTranscodeGroupId; - setParameter(std::string("ComposeVodTranscodeGroupId"), composeVodTranscodeGroupId); +std::string AddLiveRecordVodConfigRequest::getStorageLocation()const +{ + return storageLocation_; } -std::string AddLiveRecordVodConfigRequest::getStorageLocation() const { - return storageLocation_; +void AddLiveRecordVodConfigRequest::setStorageLocation(const std::string& storageLocation) +{ + storageLocation_ = storageLocation; + setParameter("StorageLocation", storageLocation); } -void AddLiveRecordVodConfigRequest::setStorageLocation(const std::string &storageLocation) { - storageLocation_ = storageLocation; - setParameter(std::string("StorageLocation"), storageLocation); +std::string AddLiveRecordVodConfigRequest::getAppName()const +{ + return appName_; } -std::string AddLiveRecordVodConfigRequest::getAppName() const { - return appName_; +void AddLiveRecordVodConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void AddLiveRecordVodConfigRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string AddLiveRecordVodConfigRequest::getStreamName()const +{ + return streamName_; } -std::string AddLiveRecordVodConfigRequest::getStreamName() const { - return streamName_; +void AddLiveRecordVodConfigRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void AddLiveRecordVodConfigRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string AddLiveRecordVodConfigRequest::getVodTranscodeGroupId()const +{ + return vodTranscodeGroupId_; } -std::string AddLiveRecordVodConfigRequest::getVodTranscodeGroupId() const { - return vodTranscodeGroupId_; +void AddLiveRecordVodConfigRequest::setVodTranscodeGroupId(const std::string& vodTranscodeGroupId) +{ + vodTranscodeGroupId_ = vodTranscodeGroupId; + setParameter("VodTranscodeGroupId", vodTranscodeGroupId); } -void AddLiveRecordVodConfigRequest::setVodTranscodeGroupId(const std::string &vodTranscodeGroupId) { - vodTranscodeGroupId_ = vodTranscodeGroupId; - setParameter(std::string("VodTranscodeGroupId"), vodTranscodeGroupId); +std::string AddLiveRecordVodConfigRequest::getDomainName()const +{ + return domainName_; } -std::string AddLiveRecordVodConfigRequest::getDomainName() const { - return domainName_; +void AddLiveRecordVodConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void AddLiveRecordVodConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +int AddLiveRecordVodConfigRequest::getCycleDuration()const +{ + return cycleDuration_; } -int AddLiveRecordVodConfigRequest::getCycleDuration() const { - return cycleDuration_; +void AddLiveRecordVodConfigRequest::setCycleDuration(int cycleDuration) +{ + cycleDuration_ = cycleDuration; + setParameter("CycleDuration", std::to_string(cycleDuration)); } -void AddLiveRecordVodConfigRequest::setCycleDuration(int cycleDuration) { - cycleDuration_ = cycleDuration; - setParameter(std::string("CycleDuration"), std::to_string(cycleDuration)); +long AddLiveRecordVodConfigRequest::getOwnerId()const +{ + return ownerId_; } -long AddLiveRecordVodConfigRequest::getOwnerId() const { - return ownerId_; -} - -void AddLiveRecordVodConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void AddLiveRecordVodConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/AddLiveSnapshotDetectPornConfigRequest.cc b/live/src/model/AddLiveSnapshotDetectPornConfigRequest.cc index 5dd92ad5a..4c3b60e05 100644 --- a/live/src/model/AddLiveSnapshotDetectPornConfigRequest.cc +++ b/live/src/model/AddLiveSnapshotDetectPornConfigRequest.cc @@ -1,107 +1,130 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -AddLiveSnapshotDetectPornConfigRequest::~AddLiveSnapshotDetectPornConfigRequest() {} - -std::string AddLiveSnapshotDetectPornConfigRequest::getOssEndpoint() const { - return ossEndpoint_; +void AddLiveSnapshotDetectPornConfigRequest::setOssEndpoint(const std::string& ossEndpoint) +{ + ossEndpoint_ = ossEndpoint; + setParameter("OssEndpoint", ossEndpoint); } -void AddLiveSnapshotDetectPornConfigRequest::setOssEndpoint(const std::string &ossEndpoint) { - ossEndpoint_ = ossEndpoint; - setParameter(std::string("OssEndpoint"), ossEndpoint); +std::string AddLiveSnapshotDetectPornConfigRequest::getOssObject()const +{ + return ossObject_; } -std::string AddLiveSnapshotDetectPornConfigRequest::getOssObject() const { - return ossObject_; +void AddLiveSnapshotDetectPornConfigRequest::setOssObject(const std::string& ossObject) +{ + ossObject_ = ossObject; + setParameter("OssObject", ossObject); } -void AddLiveSnapshotDetectPornConfigRequest::setOssObject(const std::string &ossObject) { - ossObject_ = ossObject; - setParameter(std::string("OssObject"), ossObject); +std::vector AddLiveSnapshotDetectPornConfigRequest::getScene()const +{ + return scene_; } -std::vector AddLiveSnapshotDetectPornConfigRequest::getScene() const { - return scene_; +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)); + } } -void AddLiveSnapshotDetectPornConfigRequest::setScene(const std::vector &scene) { - scene_ = scene; +std::string AddLiveSnapshotDetectPornConfigRequest::getAppName()const +{ + return appName_; } -std::string AddLiveSnapshotDetectPornConfigRequest::getAppName() const { - return appName_; +void AddLiveSnapshotDetectPornConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void AddLiveSnapshotDetectPornConfigRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string AddLiveSnapshotDetectPornConfigRequest::getSecurityToken()const +{ + return securityToken_; } -std::string AddLiveSnapshotDetectPornConfigRequest::getSecurityToken() const { - return securityToken_; +void AddLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void AddLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string AddLiveSnapshotDetectPornConfigRequest::getOssBucket()const +{ + return ossBucket_; } -std::string AddLiveSnapshotDetectPornConfigRequest::getOssBucket() const { - return ossBucket_; +void AddLiveSnapshotDetectPornConfigRequest::setOssBucket(const std::string& ossBucket) +{ + ossBucket_ = ossBucket; + setParameter("OssBucket", ossBucket); } -void AddLiveSnapshotDetectPornConfigRequest::setOssBucket(const std::string &ossBucket) { - ossBucket_ = ossBucket; - setParameter(std::string("OssBucket"), ossBucket); +std::string AddLiveSnapshotDetectPornConfigRequest::getDomainName()const +{ + return domainName_; } -std::string AddLiveSnapshotDetectPornConfigRequest::getDomainName() const { - return domainName_; +void AddLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void AddLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long AddLiveSnapshotDetectPornConfigRequest::getOwnerId()const +{ + return ownerId_; } -long AddLiveSnapshotDetectPornConfigRequest::getOwnerId() const { - return ownerId_; +void AddLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +int AddLiveSnapshotDetectPornConfigRequest::getInterval()const +{ + return interval_; } -int AddLiveSnapshotDetectPornConfigRequest::getInterval() const { - return interval_; -} - -void AddLiveSnapshotDetectPornConfigRequest::setInterval(int interval) { - interval_ = interval; - setParameter(std::string("Interval"), std::to_string(interval)); +void AddLiveSnapshotDetectPornConfigRequest::setInterval(int interval) +{ + interval_ = interval; + setParameter("Interval", std::to_string(interval)); } diff --git a/live/src/model/AddLiveStreamTranscodeRequest.cc b/live/src/model/AddLiveStreamTranscodeRequest.cc index b99bbd8f9..fca442932 100644 --- a/live/src/model/AddLiveStreamTranscodeRequest.cc +++ b/live/src/model/AddLiveStreamTranscodeRequest.cc @@ -1,117 +1,139 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -AddLiveStreamTranscodeRequest::~AddLiveStreamTranscodeRequest() {} - -std::string AddLiveStreamTranscodeRequest::get_Template() const { - return _template_; +void AddLiveStreamTranscodeRequest::set_Template(const std::string& _template) +{ + _template_ = _template; + setParameter("_Template", _template); } -void AddLiveStreamTranscodeRequest::set_Template(const std::string &_template) { - _template_ = _template; - setParameter(std::string("Template"), _template); +std::string AddLiveStreamTranscodeRequest::getLazy()const +{ + return lazy_; } -std::string AddLiveStreamTranscodeRequest::getLazy() const { - return lazy_; +void AddLiveStreamTranscodeRequest::setLazy(const std::string& lazy) +{ + lazy_ = lazy; + setParameter("Lazy", lazy); } -void AddLiveStreamTranscodeRequest::setLazy(const std::string &lazy) { - lazy_ = lazy; - setParameter(std::string("Lazy"), lazy); +std::string AddLiveStreamTranscodeRequest::getMix()const +{ + return mix_; } -std::string AddLiveStreamTranscodeRequest::getMix() const { - return mix_; +void AddLiveStreamTranscodeRequest::setMix(const std::string& mix) +{ + mix_ = mix; + setParameter("Mix", mix); } -void AddLiveStreamTranscodeRequest::setMix(const std::string &mix) { - mix_ = mix; - setParameter(std::string("Mix"), mix); +std::string AddLiveStreamTranscodeRequest::getApp()const +{ + return app_; } -std::string AddLiveStreamTranscodeRequest::getApp() const { - return app_; +void AddLiveStreamTranscodeRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); } -void AddLiveStreamTranscodeRequest::setApp(const std::string &app) { - app_ = app; - setParameter(std::string("App"), app); +std::string AddLiveStreamTranscodeRequest::getEncryptParameters()const +{ + return encryptParameters_; } -std::string AddLiveStreamTranscodeRequest::getEncryptParameters() const { - return encryptParameters_; +void AddLiveStreamTranscodeRequest::setEncryptParameters(const std::string& encryptParameters) +{ + encryptParameters_ = encryptParameters; + setParameter("EncryptParameters", encryptParameters); } -void AddLiveStreamTranscodeRequest::setEncryptParameters(const std::string &encryptParameters) { - encryptParameters_ = encryptParameters; - setParameter(std::string("EncryptParameters"), encryptParameters); +std::string AddLiveStreamTranscodeRequest::getWatermark()const +{ + return watermark_; } -std::string AddLiveStreamTranscodeRequest::getWatermark() const { - return watermark_; +void AddLiveStreamTranscodeRequest::setWatermark(const std::string& watermark) +{ + watermark_ = watermark; + setParameter("Watermark", watermark); } -void AddLiveStreamTranscodeRequest::setWatermark(const std::string &watermark) { - watermark_ = watermark; - setParameter(std::string("Watermark"), watermark); +long AddLiveStreamTranscodeRequest::getOwnerId()const +{ + return ownerId_; } -long AddLiveStreamTranscodeRequest::getOwnerId() const { - return ownerId_; +void AddLiveStreamTranscodeRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddLiveStreamTranscodeRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string AddLiveStreamTranscodeRequest::getDomain()const +{ + return domain_; } -std::string AddLiveStreamTranscodeRequest::getDomain() const { - return domain_; +void AddLiveStreamTranscodeRequest::setDomain(const std::string& domain) +{ + domain_ = domain; + setParameter("Domain", domain); } -void AddLiveStreamTranscodeRequest::setDomain(const std::string &domain) { - domain_ = domain; - setParameter(std::string("Domain"), domain); +std::string AddLiveStreamTranscodeRequest::getWaterPattern()const +{ + return waterPattern_; } -std::string AddLiveStreamTranscodeRequest::getWaterPattern() const { - return waterPattern_; +void AddLiveStreamTranscodeRequest::setWaterPattern(const std::string& waterPattern) +{ + waterPattern_ = waterPattern; + setParameter("WaterPattern", waterPattern); } -void AddLiveStreamTranscodeRequest::setWaterPattern(const std::string &waterPattern) { - waterPattern_ = waterPattern; - setParameter(std::string("WaterPattern"), waterPattern); +std::string AddLiveStreamTranscodeRequest::getOnlyAudio()const +{ + return onlyAudio_; } -std::string AddLiveStreamTranscodeRequest::getOnlyAudio() const { - return onlyAudio_; -} - -void AddLiveStreamTranscodeRequest::setOnlyAudio(const std::string &onlyAudio) { - onlyAudio_ = onlyAudio; - setParameter(std::string("OnlyAudio"), onlyAudio); +void AddLiveStreamTranscodeRequest::setOnlyAudio(const std::string& onlyAudio) +{ + onlyAudio_ = onlyAudio; + setParameter("OnlyAudio", onlyAudio); } diff --git a/live/src/model/AddLiveStreamWatermarkRequest.cc b/live/src/model/AddLiveStreamWatermarkRequest.cc index bfa473a78..b8902ad45 100644 --- a/live/src/model/AddLiveStreamWatermarkRequest.cc +++ b/live/src/model/AddLiveStreamWatermarkRequest.cc @@ -1,135 +1,161 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -AddLiveStreamWatermarkRequest::~AddLiveStreamWatermarkRequest() {} - -float AddLiveStreamWatermarkRequest::getYOffset() const { - return yOffset_; +void AddLiveStreamWatermarkRequest::setYOffset(float yOffset) +{ + yOffset_ = yOffset; + setParameter("YOffset", std::to_string(yOffset)); } -void AddLiveStreamWatermarkRequest::setYOffset(float yOffset) { - yOffset_ = yOffset; - setParameter(std::string("YOffset"), std::to_string(yOffset)); +std::string AddLiveStreamWatermarkRequest::getPictureUrl()const +{ + return pictureUrl_; } -std::string AddLiveStreamWatermarkRequest::getPictureUrl() const { - return pictureUrl_; +void AddLiveStreamWatermarkRequest::setPictureUrl(const std::string& pictureUrl) +{ + pictureUrl_ = pictureUrl; + setParameter("PictureUrl", pictureUrl); } -void AddLiveStreamWatermarkRequest::setPictureUrl(const std::string &pictureUrl) { - pictureUrl_ = pictureUrl; - setParameter(std::string("PictureUrl"), pictureUrl); +std::string AddLiveStreamWatermarkRequest::getDescription()const +{ + return description_; } -std::string AddLiveStreamWatermarkRequest::getDescription() const { - return description_; +void AddLiveStreamWatermarkRequest::setDescription(const std::string& description) +{ + description_ = description; + setParameter("Description", description); } -void AddLiveStreamWatermarkRequest::setDescription(const std::string &description) { - description_ = description; - setParameter(std::string("Description"), description); +int AddLiveStreamWatermarkRequest::getType()const +{ + return type_; } -int AddLiveStreamWatermarkRequest::getType() const { - return type_; +void AddLiveStreamWatermarkRequest::setType(int type) +{ + type_ = type; + setParameter("Type", std::to_string(type)); } -void AddLiveStreamWatermarkRequest::setType(int type) { - type_ = type; - setParameter(std::string("Type"), std::to_string(type)); +int AddLiveStreamWatermarkRequest::getHeight()const +{ + return height_; } -int AddLiveStreamWatermarkRequest::getHeight() const { - return height_; +void AddLiveStreamWatermarkRequest::setHeight(int height) +{ + height_ = height; + setParameter("Height", std::to_string(height)); } -void AddLiveStreamWatermarkRequest::setHeight(int height) { - height_ = height; - setParameter(std::string("Height"), std::to_string(height)); +float AddLiveStreamWatermarkRequest::getXOffset()const +{ + return xOffset_; } -float AddLiveStreamWatermarkRequest::getXOffset() const { - return xOffset_; +void AddLiveStreamWatermarkRequest::setXOffset(float xOffset) +{ + xOffset_ = xOffset; + setParameter("XOffset", std::to_string(xOffset)); } -void AddLiveStreamWatermarkRequest::setXOffset(float xOffset) { - xOffset_ = xOffset; - setParameter(std::string("XOffset"), std::to_string(xOffset)); +long AddLiveStreamWatermarkRequest::getOwnerId()const +{ + return ownerId_; } -long AddLiveStreamWatermarkRequest::getOwnerId() const { - return ownerId_; +void AddLiveStreamWatermarkRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddLiveStreamWatermarkRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +int AddLiveStreamWatermarkRequest::getRefWidth()const +{ + return refWidth_; } -int AddLiveStreamWatermarkRequest::getRefWidth() const { - return refWidth_; +void AddLiveStreamWatermarkRequest::setRefWidth(int refWidth) +{ + refWidth_ = refWidth; + setParameter("RefWidth", std::to_string(refWidth)); } -void AddLiveStreamWatermarkRequest::setRefWidth(int refWidth) { - refWidth_ = refWidth; - setParameter(std::string("RefWidth"), std::to_string(refWidth)); +int AddLiveStreamWatermarkRequest::getTransparency()const +{ + return transparency_; } -int AddLiveStreamWatermarkRequest::getTransparency() const { - return transparency_; +void AddLiveStreamWatermarkRequest::setTransparency(int transparency) +{ + transparency_ = transparency; + setParameter("Transparency", std::to_string(transparency)); } -void AddLiveStreamWatermarkRequest::setTransparency(int transparency) { - transparency_ = transparency; - setParameter(std::string("Transparency"), std::to_string(transparency)); +std::string AddLiveStreamWatermarkRequest::getName()const +{ + return name_; } -std::string AddLiveStreamWatermarkRequest::getName() const { - return name_; +void AddLiveStreamWatermarkRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); } -void AddLiveStreamWatermarkRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); +std::string AddLiveStreamWatermarkRequest::getOffsetCorner()const +{ + return offsetCorner_; } -std::string AddLiveStreamWatermarkRequest::getOffsetCorner() const { - return offsetCorner_; +void AddLiveStreamWatermarkRequest::setOffsetCorner(const std::string& offsetCorner) +{ + offsetCorner_ = offsetCorner; + setParameter("OffsetCorner", offsetCorner); } -void AddLiveStreamWatermarkRequest::setOffsetCorner(const std::string &offsetCorner) { - offsetCorner_ = offsetCorner; - setParameter(std::string("OffsetCorner"), offsetCorner); +int AddLiveStreamWatermarkRequest::getRefHeight()const +{ + return refHeight_; } -int AddLiveStreamWatermarkRequest::getRefHeight() const { - return refHeight_; -} - -void AddLiveStreamWatermarkRequest::setRefHeight(int refHeight) { - refHeight_ = refHeight; - setParameter(std::string("RefHeight"), std::to_string(refHeight)); +void AddLiveStreamWatermarkRequest::setRefHeight(int refHeight) +{ + refHeight_ = refHeight; + setParameter("RefHeight", std::to_string(refHeight)); } diff --git a/live/src/model/AddLiveStreamWatermarkRuleRequest.cc b/live/src/model/AddLiveStreamWatermarkRuleRequest.cc index b41921dc6..35126bb6a 100644 --- a/live/src/model/AddLiveStreamWatermarkRuleRequest.cc +++ b/live/src/model/AddLiveStreamWatermarkRuleRequest.cc @@ -1,90 +1,106 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddLiveStreamWatermarkRuleRequest; - -AddLiveStreamWatermarkRuleRequest::AddLiveStreamWatermarkRuleRequest() - : RpcServiceRequest("live", "2016-11-01", "AddLiveStreamWatermarkRule") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -AddLiveStreamWatermarkRuleRequest::~AddLiveStreamWatermarkRuleRequest() {} - -std::string AddLiveStreamWatermarkRuleRequest::getDescription() const { - return description_; +void AddLiveStreamWatermarkRuleRequest::setDescription(const std::string& description) +{ + description_ = description; + setParameter("Description", description); } -void AddLiveStreamWatermarkRuleRequest::setDescription(const std::string &description) { - description_ = description; - setParameter(std::string("Description"), description); +std::string AddLiveStreamWatermarkRuleRequest::getStream()const +{ + return stream_; } -std::string AddLiveStreamWatermarkRuleRequest::getStream() const { - return stream_; +void AddLiveStreamWatermarkRuleRequest::setStream(const std::string& stream) +{ + stream_ = stream; + setParameter("Stream", stream); } -void AddLiveStreamWatermarkRuleRequest::setStream(const std::string &stream) { - stream_ = stream; - setParameter(std::string("Stream"), stream); +std::string AddLiveStreamWatermarkRuleRequest::getApp()const +{ + return app_; } -std::string AddLiveStreamWatermarkRuleRequest::getApp() const { - return app_; +void AddLiveStreamWatermarkRuleRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); } -void AddLiveStreamWatermarkRuleRequest::setApp(const std::string &app) { - app_ = app; - setParameter(std::string("App"), app); +long AddLiveStreamWatermarkRuleRequest::getOwnerId()const +{ + return ownerId_; } -long AddLiveStreamWatermarkRuleRequest::getOwnerId() const { - return ownerId_; +void AddLiveStreamWatermarkRuleRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddLiveStreamWatermarkRuleRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string AddLiveStreamWatermarkRuleRequest::getTemplateId()const +{ + return templateId_; } -std::string AddLiveStreamWatermarkRuleRequest::getTemplateId() const { - return templateId_; +void AddLiveStreamWatermarkRuleRequest::setTemplateId(const std::string& templateId) +{ + templateId_ = templateId; + setParameter("TemplateId", templateId); } -void AddLiveStreamWatermarkRuleRequest::setTemplateId(const std::string &templateId) { - templateId_ = templateId; - setParameter(std::string("TemplateId"), templateId); +std::string AddLiveStreamWatermarkRuleRequest::getDomain()const +{ + return domain_; } -std::string AddLiveStreamWatermarkRuleRequest::getDomain() const { - return domain_; +void AddLiveStreamWatermarkRuleRequest::setDomain(const std::string& domain) +{ + domain_ = domain; + setParameter("Domain", domain); } -void AddLiveStreamWatermarkRuleRequest::setDomain(const std::string &domain) { - domain_ = domain; - setParameter(std::string("Domain"), domain); +std::string AddLiveStreamWatermarkRuleRequest::getName()const +{ + return name_; } -std::string AddLiveStreamWatermarkRuleRequest::getName() const { - return name_; -} - -void AddLiveStreamWatermarkRuleRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); +void AddLiveStreamWatermarkRuleRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); } diff --git a/live/src/model/AddMultiRateConfigRequest.cc b/live/src/model/AddMultiRateConfigRequest.cc index b2b56c75b..1bf4d853f 100644 --- a/live/src/model/AddMultiRateConfigRequest.cc +++ b/live/src/model/AddMultiRateConfigRequest.cc @@ -1,99 +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::AddMultiRateConfigRequest; - -AddMultiRateConfigRequest::AddMultiRateConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "AddMultiRateConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -AddMultiRateConfigRequest::~AddMultiRateConfigRequest() {} - -std::string AddMultiRateConfigRequest::getApp() const { - return app_; +void AddMultiRateConfigRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); } -void AddMultiRateConfigRequest::setApp(const std::string &app) { - app_ = app; - setParameter(std::string("App"), app); +std::string AddMultiRateConfigRequest::getGroupId()const +{ + return groupId_; } -std::string AddMultiRateConfigRequest::getGroupId() const { - return groupId_; +void AddMultiRateConfigRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setParameter("GroupId", groupId); } -void AddMultiRateConfigRequest::setGroupId(const std::string &groupId) { - groupId_ = groupId; - setParameter(std::string("GroupId"), groupId); +std::string AddMultiRateConfigRequest::getTemplates()const +{ + return templates_; } -std::string AddMultiRateConfigRequest::getTemplates() const { - return templates_; +void AddMultiRateConfigRequest::setTemplates(const std::string& templates) +{ + templates_ = templates; + setParameter("Templates", templates); } -void AddMultiRateConfigRequest::setTemplates(const std::string &templates) { - templates_ = templates; - setParameter(std::string("Templates"), templates); +std::string AddMultiRateConfigRequest::getDomainName()const +{ + return domainName_; } -std::string AddMultiRateConfigRequest::getDomainName() const { - return domainName_; +void AddMultiRateConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void AddMultiRateConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long AddMultiRateConfigRequest::getOwnerId()const +{ + return ownerId_; } -long AddMultiRateConfigRequest::getOwnerId() const { - return ownerId_; +void AddMultiRateConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddMultiRateConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string AddMultiRateConfigRequest::getIsLazy()const +{ + return isLazy_; } -std::string AddMultiRateConfigRequest::getIsLazy() const { - return isLazy_; +void AddMultiRateConfigRequest::setIsLazy(const std::string& isLazy) +{ + isLazy_ = isLazy; + setParameter("IsLazy", isLazy); } -void AddMultiRateConfigRequest::setIsLazy(const std::string &isLazy) { - isLazy_ = isLazy; - setParameter(std::string("IsLazy"), isLazy); +std::string AddMultiRateConfigRequest::getAvFormat()const +{ + return avFormat_; } -std::string AddMultiRateConfigRequest::getAvFormat() const { - return avFormat_; +void AddMultiRateConfigRequest::setAvFormat(const std::string& avFormat) +{ + avFormat_ = avFormat; + setParameter("AvFormat", avFormat); } -void AddMultiRateConfigRequest::setAvFormat(const std::string &avFormat) { - avFormat_ = avFormat; - setParameter(std::string("AvFormat"), avFormat); +std::string AddMultiRateConfigRequest::getIsTimeAlign()const +{ + return isTimeAlign_; } -std::string AddMultiRateConfigRequest::getIsTimeAlign() const { - return isTimeAlign_; -} - -void AddMultiRateConfigRequest::setIsTimeAlign(const std::string &isTimeAlign) { - isTimeAlign_ = isTimeAlign; - setParameter(std::string("IsTimeAlign"), isTimeAlign); +void AddMultiRateConfigRequest::setIsTimeAlign(const std::string& isTimeAlign) +{ + isTimeAlign_ = isTimeAlign; + setParameter("IsTimeAlign", isTimeAlign); } diff --git a/live/src/model/AddMultiRateConfigResult.cc b/live/src/model/AddMultiRateConfigResult.cc index ee6104115..95e19f011 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["AudioBitrate"].isNull()) - bodyObject.audioBitrate = std::stoi(valueBodyFailedTemplates["AudioBitrate"].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["Height"].isNull()) + bodyObject.height = std::stoi(valueBodyFailedTemplates["Height"].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["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["BandWidth"].isNull()) + bodyObject.bandWidth = std::stoi(valueBodyFailedTemplates["BandWidth"].asString()); body_.push_back(bodyObject); } - if(!value["Code"].isNull()) - code_ = std::stoi(value["Code"].asString()); if(!value["Message"].isNull()) message_ = value["Message"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); } diff --git a/live/src/model/AddPlaylistItemsRequest.cc b/live/src/model/AddPlaylistItemsRequest.cc index 89adfc9d1..243381be8 100644 --- a/live/src/model/AddPlaylistItemsRequest.cc +++ b/live/src/model/AddPlaylistItemsRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AddPlaylistItemsRequest; - -AddPlaylistItemsRequest::AddPlaylistItemsRequest() - : RpcServiceRequest("live", "2016-11-01", "AddPlaylistItems") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -AddPlaylistItemsRequest::~AddPlaylistItemsRequest() {} - -std::string AddPlaylistItemsRequest::getProgramItems() const { - return programItems_; +void AddPlaylistItemsRequest::setProgramItems(const std::string& programItems) +{ + programItems_ = programItems; + setParameter("ProgramItems", programItems); } -void AddPlaylistItemsRequest::setProgramItems(const std::string &programItems) { - programItems_ = programItems; - setParameter(std::string("ProgramItems"), programItems); +std::string AddPlaylistItemsRequest::getProgramId()const +{ + return programId_; } -std::string AddPlaylistItemsRequest::getProgramId() const { - return programId_; +void AddPlaylistItemsRequest::setProgramId(const std::string& programId) +{ + programId_ = programId; + setParameter("ProgramId", programId); } -void AddPlaylistItemsRequest::setProgramId(const std::string &programId) { - programId_ = programId; - setParameter(std::string("ProgramId"), programId); +std::string AddPlaylistItemsRequest::getCasterId()const +{ + return casterId_; } -std::string AddPlaylistItemsRequest::getCasterId() const { - return casterId_; +void AddPlaylistItemsRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void AddPlaylistItemsRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long AddPlaylistItemsRequest::getOwnerId()const +{ + return ownerId_; } -long AddPlaylistItemsRequest::getOwnerId() const { - return ownerId_; +void AddPlaylistItemsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddPlaylistItemsRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string AddPlaylistItemsRequest::getProgramConfig()const +{ + return programConfig_; } -std::string AddPlaylistItemsRequest::getProgramConfig() const { - return programConfig_; -} - -void AddPlaylistItemsRequest::setProgramConfig(const std::string &programConfig) { - programConfig_ = programConfig; - setParameter(std::string("ProgramConfig"), programConfig); +void AddPlaylistItemsRequest::setProgramConfig(const std::string& programConfig) +{ + programConfig_ = programConfig; + setParameter("ProgramConfig", programConfig); } diff --git a/live/src/model/AddPlaylistItemsResult.cc b/live/src/model/AddPlaylistItemsResult.cc index 845c53e8b..df55e4509 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["ItemName"].isNull()) - successItemObject.itemName = itemsNodeSuccessItemsSuccessItem["ItemName"].asString(); if(!itemsNodeSuccessItemsSuccessItem["ItemId"].isNull()) successItemObject.itemId = itemsNodeSuccessItemsSuccessItem["ItemId"].asString(); + if(!itemsNodeSuccessItemsSuccessItem["ItemName"].isNull()) + successItemObject.itemName = itemsNodeSuccessItemsSuccessItem["ItemName"].asString(); items_.successItems.push_back(successItemObject); } auto allFailedItemsNode = itemsNode["FailedItems"]["FailedItem"]; for (auto itemsNodeFailedItemsFailedItem : allFailedItemsNode) { Items::FailedItem failedItemObject; - if(!itemsNodeFailedItemsFailedItem["ItemName"].isNull()) - failedItemObject.itemName = itemsNodeFailedItemsFailedItem["ItemName"].asString(); if(!itemsNodeFailedItemsFailedItem["ItemId"].isNull()) failedItemObject.itemId = itemsNodeFailedItemsFailedItem["ItemId"].asString(); + if(!itemsNodeFailedItemsFailedItem["ItemName"].isNull()) + failedItemObject.itemName = itemsNodeFailedItemsFailedItem["ItemName"].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 f90a419ce..b7cbcbee6 100644 --- a/live/src/model/AddRtsLiveStreamTranscodeRequest.cc +++ b/live/src/model/AddRtsLiveStreamTranscodeRequest.cc @@ -1,198 +1,238 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -AddRtsLiveStreamTranscodeRequest::~AddRtsLiveStreamTranscodeRequest() {} - -std::string AddRtsLiveStreamTranscodeRequest::get_Template() const { - return _template_; +void AddRtsLiveStreamTranscodeRequest::set_Template(const std::string& _template) +{ + _template_ = _template; + setParameter("_Template", _template); } -void AddRtsLiveStreamTranscodeRequest::set_Template(const std::string &_template) { - _template_ = _template; - setParameter(std::string("Template"), _template); +bool AddRtsLiveStreamTranscodeRequest::getDeleteBframes()const +{ + return deleteBframes_; } -bool AddRtsLiveStreamTranscodeRequest::getDeleteBframes() const { - return deleteBframes_; +void AddRtsLiveStreamTranscodeRequest::setDeleteBframes(bool deleteBframes) +{ + deleteBframes_ = deleteBframes; + setParameter("DeleteBframes", deleteBframes ? "true" : "false"); } -void AddRtsLiveStreamTranscodeRequest::setDeleteBframes(bool deleteBframes) { - deleteBframes_ = deleteBframes; - setParameter(std::string("DeleteBframes"), deleteBframes ? "true" : "false"); +std::string AddRtsLiveStreamTranscodeRequest::getLazy()const +{ + return lazy_; } -std::string AddRtsLiveStreamTranscodeRequest::getLazy() const { - return lazy_; +void AddRtsLiveStreamTranscodeRequest::setLazy(const std::string& lazy) +{ + lazy_ = lazy; + setParameter("Lazy", lazy); } -void AddRtsLiveStreamTranscodeRequest::setLazy(const std::string &lazy) { - lazy_ = lazy; - setParameter(std::string("Lazy"), lazy); +std::string AddRtsLiveStreamTranscodeRequest::getGop()const +{ + return gop_; } -std::string AddRtsLiveStreamTranscodeRequest::getGop() const { - return gop_; +void AddRtsLiveStreamTranscodeRequest::setGop(const std::string& gop) +{ + gop_ = gop; + setParameter("Gop", gop); } -void AddRtsLiveStreamTranscodeRequest::setGop(const std::string &gop) { - gop_ = gop; - setParameter(std::string("Gop"), gop); +bool AddRtsLiveStreamTranscodeRequest::getOpus()const +{ + return opus_; } -bool AddRtsLiveStreamTranscodeRequest::getOpus() const { - return opus_; +void AddRtsLiveStreamTranscodeRequest::setOpus(bool opus) +{ + opus_ = opus; + setParameter("Opus", opus ? "true" : "false"); } -void AddRtsLiveStreamTranscodeRequest::setOpus(bool opus) { - opus_ = opus; - setParameter(std::string("Opus"), opus ? "true" : "false"); +std::string AddRtsLiveStreamTranscodeRequest::getAudioCodec()const +{ + return audioCodec_; } -std::string AddRtsLiveStreamTranscodeRequest::getAudioCodec() const { - return audioCodec_; +void AddRtsLiveStreamTranscodeRequest::setAudioCodec(const std::string& audioCodec) +{ + audioCodec_ = audioCodec; + setParameter("AudioCodec", audioCodec); } -void AddRtsLiveStreamTranscodeRequest::setAudioCodec(const std::string &audioCodec) { - audioCodec_ = audioCodec; - setParameter(std::string("AudioCodec"), audioCodec); +std::string AddRtsLiveStreamTranscodeRequest::getTemplateType()const +{ + return templateType_; } -std::string AddRtsLiveStreamTranscodeRequest::getTemplateType() const { - return templateType_; +void AddRtsLiveStreamTranscodeRequest::setTemplateType(const std::string& templateType) +{ + templateType_ = templateType; + setParameter("TemplateType", templateType); } -void AddRtsLiveStreamTranscodeRequest::setTemplateType(const std::string &templateType) { - templateType_ = templateType; - setParameter(std::string("TemplateType"), templateType); +std::string AddRtsLiveStreamTranscodeRequest::getAudioProfile()const +{ + return audioProfile_; } -std::string AddRtsLiveStreamTranscodeRequest::getAudioProfile() const { - return audioProfile_; +void AddRtsLiveStreamTranscodeRequest::setAudioProfile(const std::string& audioProfile) +{ + audioProfile_ = audioProfile; + setParameter("AudioProfile", audioProfile); } -void AddRtsLiveStreamTranscodeRequest::setAudioProfile(const std::string &audioProfile) { - audioProfile_ = audioProfile; - setParameter(std::string("AudioProfile"), audioProfile); +int AddRtsLiveStreamTranscodeRequest::getHeight()const +{ + return height_; } -int AddRtsLiveStreamTranscodeRequest::getHeight() const { - return height_; +void AddRtsLiveStreamTranscodeRequest::setHeight(int height) +{ + height_ = height; + setParameter("Height", std::to_string(height)); } -void AddRtsLiveStreamTranscodeRequest::setHeight(int height) { - height_ = height; - setParameter(std::string("Height"), std::to_string(height)); +std::string AddRtsLiveStreamTranscodeRequest::getApp()const +{ + return app_; } -std::string AddRtsLiveStreamTranscodeRequest::getApp() const { - return app_; +void AddRtsLiveStreamTranscodeRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); } -void AddRtsLiveStreamTranscodeRequest::setApp(const std::string &app) { - app_ = app; - setParameter(std::string("App"), app); +int AddRtsLiveStreamTranscodeRequest::getAudioChannelNum()const +{ + return audioChannelNum_; } -int AddRtsLiveStreamTranscodeRequest::getAudioChannelNum() const { - return audioChannelNum_; +void AddRtsLiveStreamTranscodeRequest::setAudioChannelNum(int audioChannelNum) +{ + audioChannelNum_ = audioChannelNum; + setParameter("AudioChannelNum", std::to_string(audioChannelNum)); } -void AddRtsLiveStreamTranscodeRequest::setAudioChannelNum(int audioChannelNum) { - audioChannelNum_ = audioChannelNum; - setParameter(std::string("AudioChannelNum"), std::to_string(audioChannelNum)); +int AddRtsLiveStreamTranscodeRequest::getProfile()const +{ + return profile_; } -int AddRtsLiveStreamTranscodeRequest::getProfile() const { - return profile_; +void AddRtsLiveStreamTranscodeRequest::setProfile(int profile) +{ + profile_ = profile; + setParameter("Profile", std::to_string(profile)); } -void AddRtsLiveStreamTranscodeRequest::setProfile(int profile) { - profile_ = profile; - setParameter(std::string("Profile"), std::to_string(profile)); +int AddRtsLiveStreamTranscodeRequest::getFPS()const +{ + return fPS_; } -int AddRtsLiveStreamTranscodeRequest::getFPS() const { - return fPS_; +void AddRtsLiveStreamTranscodeRequest::setFPS(int fPS) +{ + fPS_ = fPS; + setParameter("FPS", std::to_string(fPS)); } -void AddRtsLiveStreamTranscodeRequest::setFPS(int fPS) { - fPS_ = fPS; - setParameter(std::string("FPS"), std::to_string(fPS)); +long AddRtsLiveStreamTranscodeRequest::getOwnerId()const +{ + return ownerId_; } -long AddRtsLiveStreamTranscodeRequest::getOwnerId() const { - return ownerId_; +void AddRtsLiveStreamTranscodeRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddRtsLiveStreamTranscodeRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +int AddRtsLiveStreamTranscodeRequest::getAudioRate()const +{ + return audioRate_; } -int AddRtsLiveStreamTranscodeRequest::getAudioRate() const { - return audioRate_; +void AddRtsLiveStreamTranscodeRequest::setAudioRate(int audioRate) +{ + audioRate_ = audioRate; + setParameter("AudioRate", std::to_string(audioRate)); } -void AddRtsLiveStreamTranscodeRequest::setAudioRate(int audioRate) { - audioRate_ = audioRate; - setParameter(std::string("AudioRate"), std::to_string(audioRate)); +int AddRtsLiveStreamTranscodeRequest::getAudioBitrate()const +{ + return audioBitrate_; } -int AddRtsLiveStreamTranscodeRequest::getAudioBitrate() const { - return audioBitrate_; +void AddRtsLiveStreamTranscodeRequest::setAudioBitrate(int audioBitrate) +{ + audioBitrate_ = audioBitrate; + setParameter("AudioBitrate", std::to_string(audioBitrate)); } -void AddRtsLiveStreamTranscodeRequest::setAudioBitrate(int audioBitrate) { - audioBitrate_ = audioBitrate; - setParameter(std::string("AudioBitrate"), std::to_string(audioBitrate)); +std::string AddRtsLiveStreamTranscodeRequest::getDomain()const +{ + return domain_; } -std::string AddRtsLiveStreamTranscodeRequest::getDomain() const { - return domain_; +void AddRtsLiveStreamTranscodeRequest::setDomain(const std::string& domain) +{ + domain_ = domain; + setParameter("Domain", domain); } -void AddRtsLiveStreamTranscodeRequest::setDomain(const std::string &domain) { - domain_ = domain; - setParameter(std::string("Domain"), domain); +int AddRtsLiveStreamTranscodeRequest::getWidth()const +{ + return width_; } -int AddRtsLiveStreamTranscodeRequest::getWidth() const { - return width_; +void AddRtsLiveStreamTranscodeRequest::setWidth(int width) +{ + width_ = width; + setParameter("Width", std::to_string(width)); } -void AddRtsLiveStreamTranscodeRequest::setWidth(int width) { - width_ = width; - setParameter(std::string("Width"), std::to_string(width)); +int AddRtsLiveStreamTranscodeRequest::getVideoBitrate()const +{ + return videoBitrate_; } -int AddRtsLiveStreamTranscodeRequest::getVideoBitrate() const { - return videoBitrate_; -} - -void AddRtsLiveStreamTranscodeRequest::setVideoBitrate(int videoBitrate) { - videoBitrate_ = videoBitrate; - setParameter(std::string("VideoBitrate"), std::to_string(videoBitrate)); +void AddRtsLiveStreamTranscodeRequest::setVideoBitrate(int videoBitrate) +{ + videoBitrate_ = videoBitrate; + setParameter("VideoBitrate", std::to_string(videoBitrate)); } diff --git a/live/src/model/AddShowIntoShowListRequest.cc b/live/src/model/AddShowIntoShowListRequest.cc index d891d0dfc..e977c01df 100644 --- a/live/src/model/AddShowIntoShowListRequest.cc +++ b/live/src/model/AddShowIntoShowListRequest.cc @@ -1,117 +1,139 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -AddShowIntoShowListRequest::~AddShowIntoShowListRequest() {} - -int AddShowIntoShowListRequest::getLiveInputType() const { - return liveInputType_; +void AddShowIntoShowListRequest::setLiveInputType(int liveInputType) +{ + liveInputType_ = liveInputType; + setParameter("LiveInputType", std::to_string(liveInputType)); } -void AddShowIntoShowListRequest::setLiveInputType(int liveInputType) { - liveInputType_ = liveInputType; - setParameter(std::string("LiveInputType"), std::to_string(liveInputType)); +long AddShowIntoShowListRequest::getDuration()const +{ + return duration_; } -long AddShowIntoShowListRequest::getDuration() const { - return duration_; +void AddShowIntoShowListRequest::setDuration(long duration) +{ + duration_ = duration; + setParameter("Duration", std::to_string(duration)); } -void AddShowIntoShowListRequest::setDuration(long duration) { - duration_ = duration; - setParameter(std::string("Duration"), std::to_string(duration)); +int AddShowIntoShowListRequest::getRepeatTimes()const +{ + return repeatTimes_; } -int AddShowIntoShowListRequest::getRepeatTimes() const { - return repeatTimes_; +void AddShowIntoShowListRequest::setRepeatTimes(int repeatTimes) +{ + repeatTimes_ = repeatTimes; + setParameter("RepeatTimes", std::to_string(repeatTimes)); } -void AddShowIntoShowListRequest::setRepeatTimes(int repeatTimes) { - repeatTimes_ = repeatTimes; - setParameter(std::string("RepeatTimes"), std::to_string(repeatTimes)); +std::string AddShowIntoShowListRequest::getShowName()const +{ + return showName_; } -std::string AddShowIntoShowListRequest::getShowName() const { - return showName_; +void AddShowIntoShowListRequest::setShowName(const std::string& showName) +{ + showName_ = showName; + setParameter("ShowName", showName); } -void AddShowIntoShowListRequest::setShowName(const std::string &showName) { - showName_ = showName; - setParameter(std::string("ShowName"), showName); +std::string AddShowIntoShowListRequest::getResourceId()const +{ + return resourceId_; } -std::string AddShowIntoShowListRequest::getResourceId() const { - return resourceId_; +void AddShowIntoShowListRequest::setResourceId(const std::string& resourceId) +{ + resourceId_ = resourceId; + setParameter("ResourceId", resourceId); } -void AddShowIntoShowListRequest::setResourceId(const std::string &resourceId) { - resourceId_ = resourceId; - setParameter(std::string("ResourceId"), resourceId); +std::string AddShowIntoShowListRequest::getCasterId()const +{ + return casterId_; } -std::string AddShowIntoShowListRequest::getCasterId() const { - return casterId_; +void AddShowIntoShowListRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void AddShowIntoShowListRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long AddShowIntoShowListRequest::getOwnerId()const +{ + return ownerId_; } -long AddShowIntoShowListRequest::getOwnerId() const { - return ownerId_; +void AddShowIntoShowListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddShowIntoShowListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string AddShowIntoShowListRequest::getResourceType()const +{ + return resourceType_; } -std::string AddShowIntoShowListRequest::getResourceType() const { - return resourceType_; +void AddShowIntoShowListRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setParameter("ResourceType", resourceType); } -void AddShowIntoShowListRequest::setResourceType(const std::string &resourceType) { - resourceType_ = resourceType; - setParameter(std::string("ResourceType"), resourceType); +std::string AddShowIntoShowListRequest::getResourceUrl()const +{ + return resourceUrl_; } -std::string AddShowIntoShowListRequest::getResourceUrl() const { - return resourceUrl_; +void AddShowIntoShowListRequest::setResourceUrl(const std::string& resourceUrl) +{ + resourceUrl_ = resourceUrl; + setParameter("ResourceUrl", resourceUrl); } -void AddShowIntoShowListRequest::setResourceUrl(const std::string &resourceUrl) { - resourceUrl_ = resourceUrl; - setParameter(std::string("ResourceUrl"), resourceUrl); +int AddShowIntoShowListRequest::getSpot()const +{ + return spot_; } -int AddShowIntoShowListRequest::getSpot() const { - return spot_; -} - -void AddShowIntoShowListRequest::setSpot(int spot) { - spot_ = spot; - setParameter(std::string("Spot"), std::to_string(spot)); +void AddShowIntoShowListRequest::setSpot(int spot) +{ + spot_ = spot; + setParameter("Spot", std::to_string(spot)); } diff --git a/live/src/model/AddStudioLayoutRequest.cc b/live/src/model/AddStudioLayoutRequest.cc index a91d79678..c65ad4af6 100644 --- a/live/src/model/AddStudioLayoutRequest.cc +++ b/live/src/model/AddStudioLayoutRequest.cc @@ -1,108 +1,128 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -AddStudioLayoutRequest::~AddStudioLayoutRequest() {} - -std::string AddStudioLayoutRequest::getScreenInputConfigList() const { - return screenInputConfigList_; +void AddStudioLayoutRequest::setScreenInputConfigList(const std::string& screenInputConfigList) +{ + screenInputConfigList_ = screenInputConfigList; + setParameter("ScreenInputConfigList", screenInputConfigList); } -void AddStudioLayoutRequest::setScreenInputConfigList(const std::string &screenInputConfigList) { - screenInputConfigList_ = screenInputConfigList; - setParameter(std::string("ScreenInputConfigList"), screenInputConfigList); +std::string AddStudioLayoutRequest::getLayoutType()const +{ + return layoutType_; } -std::string AddStudioLayoutRequest::getLayoutType() const { - return layoutType_; +void AddStudioLayoutRequest::setLayoutType(const std::string& layoutType) +{ + layoutType_ = layoutType; + setParameter("LayoutType", layoutType); } -void AddStudioLayoutRequest::setLayoutType(const std::string &layoutType) { - layoutType_ = layoutType; - setParameter(std::string("LayoutType"), layoutType); +std::string AddStudioLayoutRequest::getLayoutName()const +{ + return layoutName_; } -std::string AddStudioLayoutRequest::getLayoutName() const { - return layoutName_; +void AddStudioLayoutRequest::setLayoutName(const std::string& layoutName) +{ + layoutName_ = layoutName; + setParameter("LayoutName", layoutName); } -void AddStudioLayoutRequest::setLayoutName(const std::string &layoutName) { - layoutName_ = layoutName; - setParameter(std::string("LayoutName"), layoutName); +std::string AddStudioLayoutRequest::getLayerOrderConfigList()const +{ + return layerOrderConfigList_; } -std::string AddStudioLayoutRequest::getLayerOrderConfigList() const { - return layerOrderConfigList_; +void AddStudioLayoutRequest::setLayerOrderConfigList(const std::string& layerOrderConfigList) +{ + layerOrderConfigList_ = layerOrderConfigList; + setParameter("LayerOrderConfigList", layerOrderConfigList); } -void AddStudioLayoutRequest::setLayerOrderConfigList(const std::string &layerOrderConfigList) { - layerOrderConfigList_ = layerOrderConfigList; - setParameter(std::string("LayerOrderConfigList"), layerOrderConfigList); +std::string AddStudioLayoutRequest::getMediaInputConfigList()const +{ + return mediaInputConfigList_; } -std::string AddStudioLayoutRequest::getMediaInputConfigList() const { - return mediaInputConfigList_; +void AddStudioLayoutRequest::setMediaInputConfigList(const std::string& mediaInputConfigList) +{ + mediaInputConfigList_ = mediaInputConfigList; + setParameter("MediaInputConfigList", mediaInputConfigList); } -void AddStudioLayoutRequest::setMediaInputConfigList(const std::string &mediaInputConfigList) { - mediaInputConfigList_ = mediaInputConfigList; - setParameter(std::string("MediaInputConfigList"), mediaInputConfigList); +std::string AddStudioLayoutRequest::getCasterId()const +{ + return casterId_; } -std::string AddStudioLayoutRequest::getCasterId() const { - return casterId_; +void AddStudioLayoutRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void AddStudioLayoutRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +std::string AddStudioLayoutRequest::getBgImageConfig()const +{ + return bgImageConfig_; } -std::string AddStudioLayoutRequest::getBgImageConfig() const { - return bgImageConfig_; +void AddStudioLayoutRequest::setBgImageConfig(const std::string& bgImageConfig) +{ + bgImageConfig_ = bgImageConfig; + setParameter("BgImageConfig", bgImageConfig); } -void AddStudioLayoutRequest::setBgImageConfig(const std::string &bgImageConfig) { - bgImageConfig_ = bgImageConfig; - setParameter(std::string("BgImageConfig"), bgImageConfig); +long AddStudioLayoutRequest::getOwnerId()const +{ + return ownerId_; } -long AddStudioLayoutRequest::getOwnerId() const { - return ownerId_; +void AddStudioLayoutRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddStudioLayoutRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string AddStudioLayoutRequest::getCommonConfig()const +{ + return commonConfig_; } -std::string AddStudioLayoutRequest::getCommonConfig() const { - return commonConfig_; -} - -void AddStudioLayoutRequest::setCommonConfig(const std::string &commonConfig) { - commonConfig_ = commonConfig; - setParameter(std::string("CommonConfig"), commonConfig); +void AddStudioLayoutRequest::setCommonConfig(const std::string& commonConfig) +{ + commonConfig_ = commonConfig; + setParameter("CommonConfig", commonConfig); } diff --git a/live/src/model/AddTrancodeSEIRequest.cc b/live/src/model/AddTrancodeSEIRequest.cc index a0228c86a..bbf1b4d48 100644 --- a/live/src/model/AddTrancodeSEIRequest.cc +++ b/live/src/model/AddTrancodeSEIRequest.cc @@ -1,99 +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::AddTrancodeSEIRequest; - -AddTrancodeSEIRequest::AddTrancodeSEIRequest() - : RpcServiceRequest("live", "2016-11-01", "AddTrancodeSEI") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -AddTrancodeSEIRequest::~AddTrancodeSEIRequest() {} - -std::string AddTrancodeSEIRequest::getPattern() const { - return pattern_; +void AddTrancodeSEIRequest::setPattern(const std::string& pattern) +{ + pattern_ = pattern; + setParameter("Pattern", pattern); } -void AddTrancodeSEIRequest::setPattern(const std::string &pattern) { - pattern_ = pattern; - setParameter(std::string("Pattern"), pattern); +std::string AddTrancodeSEIRequest::getAppName()const +{ + return appName_; } -std::string AddTrancodeSEIRequest::getAppName() const { - return appName_; +void AddTrancodeSEIRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void AddTrancodeSEIRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +int AddTrancodeSEIRequest::getRepeat()const +{ + return repeat_; } -int AddTrancodeSEIRequest::getRepeat() const { - return repeat_; +void AddTrancodeSEIRequest::setRepeat(int repeat) +{ + repeat_ = repeat; + setParameter("Repeat", std::to_string(repeat)); } -void AddTrancodeSEIRequest::setRepeat(int repeat) { - repeat_ = repeat; - setParameter(std::string("Repeat"), std::to_string(repeat)); +std::string AddTrancodeSEIRequest::getText()const +{ + return text_; } -std::string AddTrancodeSEIRequest::getText() const { - return text_; +void AddTrancodeSEIRequest::setText(const std::string& text) +{ + text_ = text; + setParameter("Text", text); } -void AddTrancodeSEIRequest::setText(const std::string &text) { - text_ = text; - setParameter(std::string("Text"), text); +std::string AddTrancodeSEIRequest::getStreamName()const +{ + return streamName_; } -std::string AddTrancodeSEIRequest::getStreamName() const { - return streamName_; +void AddTrancodeSEIRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void AddTrancodeSEIRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string AddTrancodeSEIRequest::getDomainName()const +{ + return domainName_; } -std::string AddTrancodeSEIRequest::getDomainName() const { - return domainName_; +void AddTrancodeSEIRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void AddTrancodeSEIRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long AddTrancodeSEIRequest::getOwnerId()const +{ + return ownerId_; } -long AddTrancodeSEIRequest::getOwnerId() const { - return ownerId_; +void AddTrancodeSEIRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AddTrancodeSEIRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +int AddTrancodeSEIRequest::getDelay()const +{ + return delay_; } -int AddTrancodeSEIRequest::getDelay() const { - return delay_; -} - -void AddTrancodeSEIRequest::setDelay(int delay) { - delay_ = delay; - setParameter(std::string("Delay"), std::to_string(delay)); +void AddTrancodeSEIRequest::setDelay(int delay) +{ + delay_ = delay; + setParameter("Delay", std::to_string(delay)); } diff --git a/live/src/model/AllowPushStreamRequest.cc b/live/src/model/AllowPushStreamRequest.cc index 568ddc12d..76f84e7ef 100644 --- a/live/src/model/AllowPushStreamRequest.cc +++ b/live/src/model/AllowPushStreamRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::AllowPushStreamRequest; - -AllowPushStreamRequest::AllowPushStreamRequest() - : RpcServiceRequest("live", "2016-11-01", "AllowPushStream") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -AllowPushStreamRequest::~AllowPushStreamRequest() {} - -long AllowPushStreamRequest::getOwnerId() const { - return ownerId_; +void AllowPushStreamRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void AllowPushStreamRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string AllowPushStreamRequest::getRoomId()const +{ + return roomId_; } -std::string AllowPushStreamRequest::getRoomId() const { - return roomId_; +void AllowPushStreamRequest::setRoomId(const std::string& roomId) +{ + roomId_ = roomId; + setParameter("RoomId", roomId); } -void AllowPushStreamRequest::setRoomId(const std::string &roomId) { - roomId_ = roomId; - setParameter(std::string("RoomId"), roomId); +std::string AllowPushStreamRequest::getAppId()const +{ + return appId_; } -std::string AllowPushStreamRequest::getAppId() const { - return appId_; -} - -void AllowPushStreamRequest::setAppId(const std::string &appId) { - appId_ = appId; - setParameter(std::string("AppId"), appId); +void AllowPushStreamRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); } diff --git a/live/src/model/BatchDeleteLiveDomainConfigsRequest.cc b/live/src/model/BatchDeleteLiveDomainConfigsRequest.cc index f18ef2e6f..c3d92222e 100644 --- a/live/src/model/BatchDeleteLiveDomainConfigsRequest.cc +++ b/live/src/model/BatchDeleteLiveDomainConfigsRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::BatchDeleteLiveDomainConfigsRequest; - -BatchDeleteLiveDomainConfigsRequest::BatchDeleteLiveDomainConfigsRequest() - : RpcServiceRequest("live", "2016-11-01", "BatchDeleteLiveDomainConfigs") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -BatchDeleteLiveDomainConfigsRequest::~BatchDeleteLiveDomainConfigsRequest() {} - -std::string BatchDeleteLiveDomainConfigsRequest::getFunctionNames() const { - return functionNames_; +void BatchDeleteLiveDomainConfigsRequest::setFunctionNames(const std::string& functionNames) +{ + functionNames_ = functionNames; + setParameter("FunctionNames", functionNames); } -void BatchDeleteLiveDomainConfigsRequest::setFunctionNames(const std::string &functionNames) { - functionNames_ = functionNames; - setParameter(std::string("FunctionNames"), functionNames); +std::string BatchDeleteLiveDomainConfigsRequest::getDomainNames()const +{ + return domainNames_; } -std::string BatchDeleteLiveDomainConfigsRequest::getDomainNames() const { - return domainNames_; +void BatchDeleteLiveDomainConfigsRequest::setDomainNames(const std::string& domainNames) +{ + domainNames_ = domainNames; + setParameter("DomainNames", domainNames); } -void BatchDeleteLiveDomainConfigsRequest::setDomainNames(const std::string &domainNames) { - domainNames_ = domainNames; - setParameter(std::string("DomainNames"), domainNames); +std::string BatchDeleteLiveDomainConfigsRequest::getOwnerAccount()const +{ + return ownerAccount_; } -std::string BatchDeleteLiveDomainConfigsRequest::getOwnerAccount() const { - return ownerAccount_; +void BatchDeleteLiveDomainConfigsRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); } -void BatchDeleteLiveDomainConfigsRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); +long BatchDeleteLiveDomainConfigsRequest::getOwnerId()const +{ + return ownerId_; } -long BatchDeleteLiveDomainConfigsRequest::getOwnerId() const { - return ownerId_; +void BatchDeleteLiveDomainConfigsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void BatchDeleteLiveDomainConfigsRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string BatchDeleteLiveDomainConfigsRequest::getSecurityToken()const +{ + return securityToken_; } -std::string BatchDeleteLiveDomainConfigsRequest::getSecurityToken() const { - return securityToken_; -} - -void BatchDeleteLiveDomainConfigsRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +void BatchDeleteLiveDomainConfigsRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } diff --git a/live/src/model/BatchSetLiveDomainConfigsRequest.cc b/live/src/model/BatchSetLiveDomainConfigsRequest.cc index f90393645..dc37fd1ec 100644 --- a/live/src/model/BatchSetLiveDomainConfigsRequest.cc +++ b/live/src/model/BatchSetLiveDomainConfigsRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::BatchSetLiveDomainConfigsRequest; - -BatchSetLiveDomainConfigsRequest::BatchSetLiveDomainConfigsRequest() - : RpcServiceRequest("live", "2016-11-01", "BatchSetLiveDomainConfigs") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -BatchSetLiveDomainConfigsRequest::~BatchSetLiveDomainConfigsRequest() {} - -std::string BatchSetLiveDomainConfigsRequest::getFunctions() const { - return functions_; +void BatchSetLiveDomainConfigsRequest::setFunctions(const std::string& functions) +{ + functions_ = functions; + setParameter("Functions", functions); } -void BatchSetLiveDomainConfigsRequest::setFunctions(const std::string &functions) { - functions_ = functions; - setParameter(std::string("Functions"), functions); +std::string BatchSetLiveDomainConfigsRequest::getDomainNames()const +{ + return domainNames_; } -std::string BatchSetLiveDomainConfigsRequest::getDomainNames() const { - return domainNames_; +void BatchSetLiveDomainConfigsRequest::setDomainNames(const std::string& domainNames) +{ + domainNames_ = domainNames; + setParameter("DomainNames", domainNames); } -void BatchSetLiveDomainConfigsRequest::setDomainNames(const std::string &domainNames) { - domainNames_ = domainNames; - setParameter(std::string("DomainNames"), domainNames); +std::string BatchSetLiveDomainConfigsRequest::getOwnerAccount()const +{ + return ownerAccount_; } -std::string BatchSetLiveDomainConfigsRequest::getOwnerAccount() const { - return ownerAccount_; +void BatchSetLiveDomainConfigsRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); } -void BatchSetLiveDomainConfigsRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); +long BatchSetLiveDomainConfigsRequest::getOwnerId()const +{ + return ownerId_; } -long BatchSetLiveDomainConfigsRequest::getOwnerId() const { - return ownerId_; +void BatchSetLiveDomainConfigsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void BatchSetLiveDomainConfigsRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string BatchSetLiveDomainConfigsRequest::getSecurityToken()const +{ + return securityToken_; } -std::string BatchSetLiveDomainConfigsRequest::getSecurityToken() const { - return securityToken_; -} - -void BatchSetLiveDomainConfigsRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +void BatchSetLiveDomainConfigsRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } diff --git a/live/src/model/CloseLiveShiftRequest.cc b/live/src/model/CloseLiveShiftRequest.cc index 581213e8e..2e1b0d89f 100644 --- a/live/src/model/CloseLiveShiftRequest.cc +++ b/live/src/model/CloseLiveShiftRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::CloseLiveShiftRequest; - -CloseLiveShiftRequest::CloseLiveShiftRequest() - : RpcServiceRequest("live", "2016-11-01", "CloseLiveShift") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -CloseLiveShiftRequest::~CloseLiveShiftRequest() {} - -std::string CloseLiveShiftRequest::getAppName() const { - return appName_; +void CloseLiveShiftRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void CloseLiveShiftRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string CloseLiveShiftRequest::getStreamName()const +{ + return streamName_; } -std::string CloseLiveShiftRequest::getStreamName() const { - return streamName_; +void CloseLiveShiftRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void CloseLiveShiftRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string CloseLiveShiftRequest::getDomainName()const +{ + return domainName_; } -std::string CloseLiveShiftRequest::getDomainName() const { - return domainName_; +void CloseLiveShiftRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void CloseLiveShiftRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long CloseLiveShiftRequest::getOwnerId()const +{ + return ownerId_; } -long CloseLiveShiftRequest::getOwnerId() const { - return ownerId_; -} - -void CloseLiveShiftRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void CloseLiveShiftRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/CopyCasterRequest.cc b/live/src/model/CopyCasterRequest.cc index 9b42949a1..1e86a0966 100644 --- a/live/src/model/CopyCasterRequest.cc +++ b/live/src/model/CopyCasterRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::CopyCasterRequest; - -CopyCasterRequest::CopyCasterRequest() - : RpcServiceRequest("live", "2016-11-01", "CopyCaster") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -CopyCasterRequest::~CopyCasterRequest() {} - -std::string CopyCasterRequest::getClientToken() const { - return clientToken_; +void CopyCasterRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); } -void CopyCasterRequest::setClientToken(const std::string &clientToken) { - clientToken_ = clientToken; - setParameter(std::string("ClientToken"), clientToken); +std::string CopyCasterRequest::getCasterName()const +{ + return casterName_; } -std::string CopyCasterRequest::getCasterName() const { - return casterName_; +void CopyCasterRequest::setCasterName(const std::string& casterName) +{ + casterName_ = casterName; + setParameter("CasterName", casterName); } -void CopyCasterRequest::setCasterName(const std::string &casterName) { - casterName_ = casterName; - setParameter(std::string("CasterName"), casterName); +std::string CopyCasterRequest::getSrcCasterId()const +{ + return srcCasterId_; } -std::string CopyCasterRequest::getSrcCasterId() const { - return srcCasterId_; +void CopyCasterRequest::setSrcCasterId(const std::string& srcCasterId) +{ + srcCasterId_ = srcCasterId; + setParameter("SrcCasterId", srcCasterId); } -void CopyCasterRequest::setSrcCasterId(const std::string &srcCasterId) { - srcCasterId_ = srcCasterId; - setParameter(std::string("SrcCasterId"), srcCasterId); +long CopyCasterRequest::getOwnerId()const +{ + return ownerId_; } -long CopyCasterRequest::getOwnerId() const { - return ownerId_; -} - -void CopyCasterRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void CopyCasterRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/CopyCasterSceneConfigRequest.cc b/live/src/model/CopyCasterSceneConfigRequest.cc index 8bd9fd0b8..e29880918 100644 --- a/live/src/model/CopyCasterSceneConfigRequest.cc +++ b/live/src/model/CopyCasterSceneConfigRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::CopyCasterSceneConfigRequest; - -CopyCasterSceneConfigRequest::CopyCasterSceneConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "CopyCasterSceneConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -CopyCasterSceneConfigRequest::~CopyCasterSceneConfigRequest() {} - -std::string CopyCasterSceneConfigRequest::getFromSceneId() const { - return fromSceneId_; +void CopyCasterSceneConfigRequest::setFromSceneId(const std::string& fromSceneId) +{ + fromSceneId_ = fromSceneId; + setParameter("FromSceneId", fromSceneId); } -void CopyCasterSceneConfigRequest::setFromSceneId(const std::string &fromSceneId) { - fromSceneId_ = fromSceneId; - setParameter(std::string("FromSceneId"), fromSceneId); +std::string CopyCasterSceneConfigRequest::getToSceneId()const +{ + return toSceneId_; } -std::string CopyCasterSceneConfigRequest::getToSceneId() const { - return toSceneId_; +void CopyCasterSceneConfigRequest::setToSceneId(const std::string& toSceneId) +{ + toSceneId_ = toSceneId; + setParameter("ToSceneId", toSceneId); } -void CopyCasterSceneConfigRequest::setToSceneId(const std::string &toSceneId) { - toSceneId_ = toSceneId; - setParameter(std::string("ToSceneId"), toSceneId); +std::string CopyCasterSceneConfigRequest::getCasterId()const +{ + return casterId_; } -std::string CopyCasterSceneConfigRequest::getCasterId() const { - return casterId_; +void CopyCasterSceneConfigRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void CopyCasterSceneConfigRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long CopyCasterSceneConfigRequest::getOwnerId()const +{ + return ownerId_; } -long CopyCasterSceneConfigRequest::getOwnerId() const { - return ownerId_; -} - -void CopyCasterSceneConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void CopyCasterSceneConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/CreateCasterRequest.cc b/live/src/model/CreateCasterRequest.cc index 0e03c1604..490ac8ca5 100644 --- a/live/src/model/CreateCasterRequest.cc +++ b/live/src/model/CreateCasterRequest.cc @@ -1,108 +1,128 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -CreateCasterRequest::~CreateCasterRequest() {} - -std::string CreateCasterRequest::getClientToken() const { - return clientToken_; +void CreateCasterRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); } -void CreateCasterRequest::setClientToken(const std::string &clientToken) { - clientToken_ = clientToken; - setParameter(std::string("ClientToken"), clientToken); +std::string CreateCasterRequest::getCasterName()const +{ + return casterName_; } -std::string CreateCasterRequest::getCasterName() const { - return casterName_; +void CreateCasterRequest::setCasterName(const std::string& casterName) +{ + casterName_ = casterName; + setParameter("CasterName", casterName); } -void CreateCasterRequest::setCasterName(const std::string &casterName) { - casterName_ = casterName; - setParameter(std::string("CasterName"), casterName); +std::string CreateCasterRequest::getCasterTemplate()const +{ + return casterTemplate_; } -std::string CreateCasterRequest::getCasterTemplate() const { - return casterTemplate_; +void CreateCasterRequest::setCasterTemplate(const std::string& casterTemplate) +{ + casterTemplate_ = casterTemplate; + setParameter("CasterTemplate", casterTemplate); } -void CreateCasterRequest::setCasterTemplate(const std::string &casterTemplate) { - casterTemplate_ = casterTemplate; - setParameter(std::string("CasterTemplate"), casterTemplate); +std::string CreateCasterRequest::getExpireTime()const +{ + return expireTime_; } -std::string CreateCasterRequest::getExpireTime() const { - return expireTime_; +void CreateCasterRequest::setExpireTime(const std::string& expireTime) +{ + expireTime_ = expireTime; + setParameter("ExpireTime", expireTime); } -void CreateCasterRequest::setExpireTime(const std::string &expireTime) { - expireTime_ = expireTime; - setParameter(std::string("ExpireTime"), expireTime); +int CreateCasterRequest::getNormType()const +{ + return normType_; } -int CreateCasterRequest::getNormType() const { - return normType_; +void CreateCasterRequest::setNormType(int normType) +{ + normType_ = normType; + setParameter("NormType", std::to_string(normType)); } -void CreateCasterRequest::setNormType(int normType) { - normType_ = normType; - setParameter(std::string("NormType"), std::to_string(normType)); +long CreateCasterRequest::getOwnerId()const +{ + return ownerId_; } -long CreateCasterRequest::getOwnerId() const { - return ownerId_; +void CreateCasterRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void CreateCasterRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string CreateCasterRequest::getPurchaseTime()const +{ + return purchaseTime_; } -std::string CreateCasterRequest::getPurchaseTime() const { - return purchaseTime_; +void CreateCasterRequest::setPurchaseTime(const std::string& purchaseTime) +{ + purchaseTime_ = purchaseTime; + setParameter("PurchaseTime", purchaseTime); } -void CreateCasterRequest::setPurchaseTime(const std::string &purchaseTime) { - purchaseTime_ = purchaseTime; - setParameter(std::string("PurchaseTime"), purchaseTime); +int CreateCasterRequest::getMicMode()const +{ + return micMode_; } -int CreateCasterRequest::getMicMode() const { - return micMode_; +void CreateCasterRequest::setMicMode(int micMode) +{ + micMode_ = micMode; + setParameter("MicMode", std::to_string(micMode)); } -void CreateCasterRequest::setMicMode(int micMode) { - micMode_ = micMode; - setParameter(std::string("MicMode"), std::to_string(micMode)); +std::string CreateCasterRequest::getChargeType()const +{ + return chargeType_; } -std::string CreateCasterRequest::getChargeType() const { - return chargeType_; -} - -void CreateCasterRequest::setChargeType(const std::string &chargeType) { - chargeType_ = chargeType; - setParameter(std::string("ChargeType"), chargeType); +void CreateCasterRequest::setChargeType(const std::string& chargeType) +{ + chargeType_ = chargeType; + setParameter("ChargeType", chargeType); } diff --git a/live/src/model/CreateCustomTemplateRequest.cc b/live/src/model/CreateCustomTemplateRequest.cc index 086d22491..817e54395 100644 --- a/live/src/model/CreateCustomTemplateRequest.cc +++ b/live/src/model/CreateCustomTemplateRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::CreateCustomTemplateRequest; - -CreateCustomTemplateRequest::CreateCustomTemplateRequest() - : RpcServiceRequest("live", "2016-11-01", "CreateCustomTemplate") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -CreateCustomTemplateRequest::~CreateCustomTemplateRequest() {} - -std::string CreateCustomTemplateRequest::get_Template() const { - return _template_; +void CreateCustomTemplateRequest::set_Template(const std::string& _template) +{ + _template_ = _template; + setParameter("_Template", _template); } -void CreateCustomTemplateRequest::set_Template(const std::string &_template) { - _template_ = _template; - setParameter(std::string("Template"), _template); +std::string CreateCustomTemplateRequest::getCustomTemplate()const +{ + return customTemplate_; } -std::string CreateCustomTemplateRequest::getCustomTemplate() const { - return customTemplate_; +void CreateCustomTemplateRequest::setCustomTemplate(const std::string& customTemplate) +{ + customTemplate_ = customTemplate; + setParameter("CustomTemplate", customTemplate); } -void CreateCustomTemplateRequest::setCustomTemplate(const std::string &customTemplate) { - customTemplate_ = customTemplate; - setParameter(std::string("CustomTemplate"), customTemplate); +long CreateCustomTemplateRequest::getOwnerId()const +{ + return ownerId_; } -long CreateCustomTemplateRequest::getOwnerId() const { - return ownerId_; -} - -void CreateCustomTemplateRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void CreateCustomTemplateRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/CreateLiveRealTimeLogDeliveryRequest.cc b/live/src/model/CreateLiveRealTimeLogDeliveryRequest.cc index fc6fefb2f..236d1a373 100644 --- a/live/src/model/CreateLiveRealTimeLogDeliveryRequest.cc +++ b/live/src/model/CreateLiveRealTimeLogDeliveryRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::CreateLiveRealTimeLogDeliveryRequest; - -CreateLiveRealTimeLogDeliveryRequest::CreateLiveRealTimeLogDeliveryRequest() - : RpcServiceRequest("live", "2016-11-01", "CreateLiveRealTimeLogDelivery") { - setMethod(HttpRequest::Method::Get); + */ + +#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_; } -CreateLiveRealTimeLogDeliveryRequest::~CreateLiveRealTimeLogDeliveryRequest() {} - -std::string CreateLiveRealTimeLogDeliveryRequest::getProject() const { - return project_; +void CreateLiveRealTimeLogDeliveryRequest::setProject(const std::string& project) +{ + project_ = project; + setParameter("Project", project); } -void CreateLiveRealTimeLogDeliveryRequest::setProject(const std::string &project) { - project_ = project; - setParameter(std::string("Project"), project); +std::string CreateLiveRealTimeLogDeliveryRequest::getDomainName()const +{ + return domainName_; } -std::string CreateLiveRealTimeLogDeliveryRequest::getDomainName() const { - return domainName_; +void CreateLiveRealTimeLogDeliveryRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void CreateLiveRealTimeLogDeliveryRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long CreateLiveRealTimeLogDeliveryRequest::getOwnerId()const +{ + return ownerId_; } -long CreateLiveRealTimeLogDeliveryRequest::getOwnerId() const { - return ownerId_; +void CreateLiveRealTimeLogDeliveryRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void CreateLiveRealTimeLogDeliveryRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string CreateLiveRealTimeLogDeliveryRequest::getRegion()const +{ + return region_; } -std::string CreateLiveRealTimeLogDeliveryRequest::getRegion() const { - return region_; +void CreateLiveRealTimeLogDeliveryRequest::setRegion(const std::string& region) +{ + region_ = region; + setParameter("Region", region); } -void CreateLiveRealTimeLogDeliveryRequest::setRegion(const std::string ®ion) { - region_ = region; - setParameter(std::string("Region"), region); +std::string CreateLiveRealTimeLogDeliveryRequest::getLogstore()const +{ + return logstore_; } -std::string CreateLiveRealTimeLogDeliveryRequest::getLogstore() const { - return logstore_; -} - -void CreateLiveRealTimeLogDeliveryRequest::setLogstore(const std::string &logstore) { - logstore_ = logstore; - setParameter(std::string("Logstore"), logstore); +void CreateLiveRealTimeLogDeliveryRequest::setLogstore(const std::string& logstore) +{ + logstore_ = logstore; + setParameter("Logstore", logstore); } diff --git a/live/src/model/CreateLiveStreamMonitorRequest.cc b/live/src/model/CreateLiveStreamMonitorRequest.cc index 01ad30a40..c2027c5bd 100644 --- a/live/src/model/CreateLiveStreamMonitorRequest.cc +++ b/live/src/model/CreateLiveStreamMonitorRequest.cc @@ -1,90 +1,106 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::CreateLiveStreamMonitorRequest; - -CreateLiveStreamMonitorRequest::CreateLiveStreamMonitorRequest() - : RpcServiceRequest("live", "2016-11-01", "CreateLiveStreamMonitor") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -CreateLiveStreamMonitorRequest::~CreateLiveStreamMonitorRequest() {} - -std::string CreateLiveStreamMonitorRequest::getMonitorName() const { - return monitorName_; +void CreateLiveStreamMonitorRequest::setMonitorName(const std::string& monitorName) +{ + monitorName_ = monitorName; + setParameter("MonitorName", monitorName); } -void CreateLiveStreamMonitorRequest::setMonitorName(const std::string &monitorName) { - monitorName_ = monitorName; - setParameter(std::string("MonitorName"), monitorName); +std::string CreateLiveStreamMonitorRequest::getStream()const +{ + return stream_; } -std::string CreateLiveStreamMonitorRequest::getStream() const { - return stream_; +void CreateLiveStreamMonitorRequest::setStream(const std::string& stream) +{ + stream_ = stream; + setParameter("Stream", stream); } -void CreateLiveStreamMonitorRequest::setStream(const std::string &stream) { - stream_ = stream; - setParameter(std::string("Stream"), stream); +std::string CreateLiveStreamMonitorRequest::getOutputTemplate()const +{ + return outputTemplate_; } -std::string CreateLiveStreamMonitorRequest::getOutputTemplate() const { - return outputTemplate_; +void CreateLiveStreamMonitorRequest::setOutputTemplate(const std::string& outputTemplate) +{ + outputTemplate_ = outputTemplate; + setParameter("OutputTemplate", outputTemplate); } -void CreateLiveStreamMonitorRequest::setOutputTemplate(const std::string &outputTemplate) { - outputTemplate_ = outputTemplate; - setParameter(std::string("OutputTemplate"), outputTemplate); +std::string CreateLiveStreamMonitorRequest::getApp()const +{ + return app_; } -std::string CreateLiveStreamMonitorRequest::getApp() const { - return app_; +void CreateLiveStreamMonitorRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); } -void CreateLiveStreamMonitorRequest::setApp(const std::string &app) { - app_ = app; - setParameter(std::string("App"), app); +std::string CreateLiveStreamMonitorRequest::getInputList()const +{ + return inputList_; } -std::string CreateLiveStreamMonitorRequest::getInputList() const { - return inputList_; +void CreateLiveStreamMonitorRequest::setInputList(const std::string& inputList) +{ + inputList_ = inputList; + setParameter("InputList", inputList); } -void CreateLiveStreamMonitorRequest::setInputList(const std::string &inputList) { - inputList_ = inputList; - setParameter(std::string("InputList"), inputList); +long CreateLiveStreamMonitorRequest::getOwnerId()const +{ + return ownerId_; } -long CreateLiveStreamMonitorRequest::getOwnerId() const { - return ownerId_; +void CreateLiveStreamMonitorRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void CreateLiveStreamMonitorRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string CreateLiveStreamMonitorRequest::getDomain()const +{ + return domain_; } -std::string CreateLiveStreamMonitorRequest::getDomain() const { - return domain_; -} - -void CreateLiveStreamMonitorRequest::setDomain(const std::string &domain) { - domain_ = domain; - setParameter(std::string("Domain"), domain); +void CreateLiveStreamMonitorRequest::setDomain(const std::string& domain) +{ + domain_ = domain; + setParameter("Domain", domain); } diff --git a/live/src/model/CreateLiveStreamRecordIndexFilesRequest.cc b/live/src/model/CreateLiveStreamRecordIndexFilesRequest.cc index 8b99c8c13..340887068 100644 --- a/live/src/model/CreateLiveStreamRecordIndexFilesRequest.cc +++ b/live/src/model/CreateLiveStreamRecordIndexFilesRequest.cc @@ -1,117 +1,139 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -CreateLiveStreamRecordIndexFilesRequest::~CreateLiveStreamRecordIndexFilesRequest() {} - -std::string CreateLiveStreamRecordIndexFilesRequest::getOssEndpoint() const { - return ossEndpoint_; +void CreateLiveStreamRecordIndexFilesRequest::setOssEndpoint(const std::string& ossEndpoint) +{ + ossEndpoint_ = ossEndpoint; + setParameter("OssEndpoint", ossEndpoint); } -void CreateLiveStreamRecordIndexFilesRequest::setOssEndpoint(const std::string &ossEndpoint) { - ossEndpoint_ = ossEndpoint; - setParameter(std::string("OssEndpoint"), ossEndpoint); +std::string CreateLiveStreamRecordIndexFilesRequest::getStartTime()const +{ + return startTime_; } -std::string CreateLiveStreamRecordIndexFilesRequest::getStartTime() const { - return startTime_; +void CreateLiveStreamRecordIndexFilesRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void CreateLiveStreamRecordIndexFilesRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string CreateLiveStreamRecordIndexFilesRequest::getOssObject()const +{ + return ossObject_; } -std::string CreateLiveStreamRecordIndexFilesRequest::getOssObject() const { - return ossObject_; +void CreateLiveStreamRecordIndexFilesRequest::setOssObject(const std::string& ossObject) +{ + ossObject_ = ossObject; + setParameter("OssObject", ossObject); } -void CreateLiveStreamRecordIndexFilesRequest::setOssObject(const std::string &ossObject) { - ossObject_ = ossObject; - setParameter(std::string("OssObject"), ossObject); +std::string CreateLiveStreamRecordIndexFilesRequest::getAppName()const +{ + return appName_; } -std::string CreateLiveStreamRecordIndexFilesRequest::getAppName() const { - return appName_; +void CreateLiveStreamRecordIndexFilesRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void CreateLiveStreamRecordIndexFilesRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string CreateLiveStreamRecordIndexFilesRequest::getSecurityToken()const +{ + return securityToken_; } -std::string CreateLiveStreamRecordIndexFilesRequest::getSecurityToken() const { - return securityToken_; +void CreateLiveStreamRecordIndexFilesRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void CreateLiveStreamRecordIndexFilesRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string CreateLiveStreamRecordIndexFilesRequest::getStreamName()const +{ + return streamName_; } -std::string CreateLiveStreamRecordIndexFilesRequest::getStreamName() const { - return streamName_; +void CreateLiveStreamRecordIndexFilesRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void CreateLiveStreamRecordIndexFilesRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string CreateLiveStreamRecordIndexFilesRequest::getOssBucket()const +{ + return ossBucket_; } -std::string CreateLiveStreamRecordIndexFilesRequest::getOssBucket() const { - return ossBucket_; +void CreateLiveStreamRecordIndexFilesRequest::setOssBucket(const std::string& ossBucket) +{ + ossBucket_ = ossBucket; + setParameter("OssBucket", ossBucket); } -void CreateLiveStreamRecordIndexFilesRequest::setOssBucket(const std::string &ossBucket) { - ossBucket_ = ossBucket; - setParameter(std::string("OssBucket"), ossBucket); +std::string CreateLiveStreamRecordIndexFilesRequest::getDomainName()const +{ + return domainName_; } -std::string CreateLiveStreamRecordIndexFilesRequest::getDomainName() const { - return domainName_; +void CreateLiveStreamRecordIndexFilesRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void CreateLiveStreamRecordIndexFilesRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string CreateLiveStreamRecordIndexFilesRequest::getEndTime()const +{ + return endTime_; } -std::string CreateLiveStreamRecordIndexFilesRequest::getEndTime() const { - return endTime_; +void CreateLiveStreamRecordIndexFilesRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void CreateLiveStreamRecordIndexFilesRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long CreateLiveStreamRecordIndexFilesRequest::getOwnerId()const +{ + return ownerId_; } -long CreateLiveStreamRecordIndexFilesRequest::getOwnerId() const { - return ownerId_; -} - -void CreateLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void CreateLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/CreateMixStreamRequest.cc b/live/src/model/CreateMixStreamRequest.cc index a7f882569..d49a2bca0 100644 --- a/live/src/model/CreateMixStreamRequest.cc +++ b/live/src/model/CreateMixStreamRequest.cc @@ -1,81 +1,95 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -CreateMixStreamRequest::~CreateMixStreamRequest() {} - -std::string CreateMixStreamRequest::getOutputConfig() const { - return outputConfig_; +void CreateMixStreamRequest::setOutputConfig(const std::string& outputConfig) +{ + outputConfig_ = outputConfig; + setParameter("OutputConfig", outputConfig); } -void CreateMixStreamRequest::setOutputConfig(const std::string &outputConfig) { - outputConfig_ = outputConfig; - setParameter(std::string("OutputConfig"), outputConfig); +std::string CreateMixStreamRequest::getLayoutId()const +{ + return layoutId_; } -std::string CreateMixStreamRequest::getLayoutId() const { - return layoutId_; +void CreateMixStreamRequest::setLayoutId(const std::string& layoutId) +{ + layoutId_ = layoutId; + setParameter("LayoutId", layoutId); } -void CreateMixStreamRequest::setLayoutId(const std::string &layoutId) { - layoutId_ = layoutId; - setParameter(std::string("LayoutId"), layoutId); +std::string CreateMixStreamRequest::getDomainName()const +{ + return domainName_; } -std::string CreateMixStreamRequest::getDomainName() const { - return domainName_; +void CreateMixStreamRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void CreateMixStreamRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string CreateMixStreamRequest::getInputStreamList()const +{ + return inputStreamList_; } -std::string CreateMixStreamRequest::getInputStreamList() const { - return inputStreamList_; +void CreateMixStreamRequest::setInputStreamList(const std::string& inputStreamList) +{ + inputStreamList_ = inputStreamList; + setParameter("InputStreamList", inputStreamList); } -void CreateMixStreamRequest::setInputStreamList(const std::string &inputStreamList) { - inputStreamList_ = inputStreamList; - setParameter(std::string("InputStreamList"), inputStreamList); +long CreateMixStreamRequest::getOwnerId()const +{ + return ownerId_; } -long CreateMixStreamRequest::getOwnerId() const { - return ownerId_; +void CreateMixStreamRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void CreateMixStreamRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string CreateMixStreamRequest::getCallbackConfig()const +{ + return callbackConfig_; } -std::string CreateMixStreamRequest::getCallbackConfig() const { - return callbackConfig_; -} - -void CreateMixStreamRequest::setCallbackConfig(const std::string &callbackConfig) { - callbackConfig_ = callbackConfig; - setParameter(std::string("CallbackConfig"), callbackConfig); +void CreateMixStreamRequest::setCallbackConfig(const std::string& callbackConfig) +{ + callbackConfig_ = callbackConfig; + setParameter("CallbackConfig", callbackConfig); } diff --git a/live/src/model/DeleteCasterComponentRequest.cc b/live/src/model/DeleteCasterComponentRequest.cc index 36b0e2c03..393489735 100644 --- a/live/src/model/DeleteCasterComponentRequest.cc +++ b/live/src/model/DeleteCasterComponentRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteCasterComponentRequest; - -DeleteCasterComponentRequest::DeleteCasterComponentRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteCasterComponent") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteCasterComponentRequest::~DeleteCasterComponentRequest() {} - -std::string DeleteCasterComponentRequest::getComponentId() const { - return componentId_; +void DeleteCasterComponentRequest::setComponentId(const std::string& componentId) +{ + componentId_ = componentId; + setParameter("ComponentId", componentId); } -void DeleteCasterComponentRequest::setComponentId(const std::string &componentId) { - componentId_ = componentId; - setParameter(std::string("ComponentId"), componentId); +std::string DeleteCasterComponentRequest::getCasterId()const +{ + return casterId_; } -std::string DeleteCasterComponentRequest::getCasterId() const { - return casterId_; +void DeleteCasterComponentRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void DeleteCasterComponentRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long DeleteCasterComponentRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteCasterComponentRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteCasterComponentRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeleteCasterComponentRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteCasterEpisodeGroupRequest.cc b/live/src/model/DeleteCasterEpisodeGroupRequest.cc index 21545c86d..41e61254d 100644 --- a/live/src/model/DeleteCasterEpisodeGroupRequest.cc +++ b/live/src/model/DeleteCasterEpisodeGroupRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DeleteCasterEpisodeGroupRequest; - -DeleteCasterEpisodeGroupRequest::DeleteCasterEpisodeGroupRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteCasterEpisodeGroup") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteCasterEpisodeGroupRequest::~DeleteCasterEpisodeGroupRequest() {} - -std::string DeleteCasterEpisodeGroupRequest::getProgramId() const { - return programId_; +void DeleteCasterEpisodeGroupRequest::setProgramId(const std::string& programId) +{ + programId_ = programId; + setParameter("ProgramId", programId); } -void DeleteCasterEpisodeGroupRequest::setProgramId(const std::string &programId) { - programId_ = programId; - setParameter(std::string("ProgramId"), programId); +long DeleteCasterEpisodeGroupRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteCasterEpisodeGroupRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteCasterEpisodeGroupRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeleteCasterEpisodeGroupRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteCasterEpisodeRequest.cc b/live/src/model/DeleteCasterEpisodeRequest.cc index ed4c68a1e..e9b219f32 100644 --- a/live/src/model/DeleteCasterEpisodeRequest.cc +++ b/live/src/model/DeleteCasterEpisodeRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteCasterEpisodeRequest; - -DeleteCasterEpisodeRequest::DeleteCasterEpisodeRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteCasterEpisode") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteCasterEpisodeRequest::~DeleteCasterEpisodeRequest() {} - -std::string DeleteCasterEpisodeRequest::getCasterId() const { - return casterId_; +void DeleteCasterEpisodeRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void DeleteCasterEpisodeRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long DeleteCasterEpisodeRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteCasterEpisodeRequest::getOwnerId() const { - return ownerId_; +void DeleteCasterEpisodeRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DeleteCasterEpisodeRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DeleteCasterEpisodeRequest::getEpisodeId()const +{ + return episodeId_; } -std::string DeleteCasterEpisodeRequest::getEpisodeId() const { - return episodeId_; -} - -void DeleteCasterEpisodeRequest::setEpisodeId(const std::string &episodeId) { - episodeId_ = episodeId; - setParameter(std::string("EpisodeId"), episodeId); +void DeleteCasterEpisodeRequest::setEpisodeId(const std::string& episodeId) +{ + episodeId_ = episodeId; + setParameter("EpisodeId", episodeId); } diff --git a/live/src/model/DeleteCasterEpisodeResult.cc b/live/src/model/DeleteCasterEpisodeResult.cc index eb14bbd3f..b4975786e 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["EpisodeId"].isNull()) - episodeId_ = value["EpisodeId"].asString(); if(!value["CasterId"].isNull()) casterId_ = value["CasterId"].asString(); + if(!value["EpisodeId"].isNull()) + episodeId_ = value["EpisodeId"].asString(); } diff --git a/live/src/model/DeleteCasterLayoutRequest.cc b/live/src/model/DeleteCasterLayoutRequest.cc index 81b050546..e378eab0b 100644 --- a/live/src/model/DeleteCasterLayoutRequest.cc +++ b/live/src/model/DeleteCasterLayoutRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteCasterLayoutRequest; - -DeleteCasterLayoutRequest::DeleteCasterLayoutRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteCasterLayout") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteCasterLayoutRequest::~DeleteCasterLayoutRequest() {} - -std::string DeleteCasterLayoutRequest::getLayoutId() const { - return layoutId_; +void DeleteCasterLayoutRequest::setLayoutId(const std::string& layoutId) +{ + layoutId_ = layoutId; + setParameter("LayoutId", layoutId); } -void DeleteCasterLayoutRequest::setLayoutId(const std::string &layoutId) { - layoutId_ = layoutId; - setParameter(std::string("LayoutId"), layoutId); +std::string DeleteCasterLayoutRequest::getCasterId()const +{ + return casterId_; } -std::string DeleteCasterLayoutRequest::getCasterId() const { - return casterId_; +void DeleteCasterLayoutRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void DeleteCasterLayoutRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long DeleteCasterLayoutRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteCasterLayoutRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteCasterLayoutRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeleteCasterLayoutRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteCasterLayoutResult.cc b/live/src/model/DeleteCasterLayoutResult.cc index 30d702d57..84f7ac433 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["LayoutId"].isNull()) - layoutId_ = value["LayoutId"].asString(); if(!value["CasterId"].isNull()) casterId_ = value["CasterId"].asString(); + if(!value["LayoutId"].isNull()) + layoutId_ = value["LayoutId"].asString(); } diff --git a/live/src/model/DeleteCasterProgramRequest.cc b/live/src/model/DeleteCasterProgramRequest.cc index 1682cdb2c..055cd892e 100644 --- a/live/src/model/DeleteCasterProgramRequest.cc +++ b/live/src/model/DeleteCasterProgramRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DeleteCasterProgramRequest; - -DeleteCasterProgramRequest::DeleteCasterProgramRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteCasterProgram") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteCasterProgramRequest::~DeleteCasterProgramRequest() {} - -std::string DeleteCasterProgramRequest::getCasterId() const { - return casterId_; +void DeleteCasterProgramRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void DeleteCasterProgramRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long DeleteCasterProgramRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteCasterProgramRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteCasterProgramRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeleteCasterProgramRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteCasterRequest.cc b/live/src/model/DeleteCasterRequest.cc index ea04527d8..7777603b5 100644 --- a/live/src/model/DeleteCasterRequest.cc +++ b/live/src/model/DeleteCasterRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DeleteCasterRequest; - -DeleteCasterRequest::DeleteCasterRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteCaster") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteCasterRequest::~DeleteCasterRequest() {} - -std::string DeleteCasterRequest::getCasterId() const { - return casterId_; +void DeleteCasterRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void DeleteCasterRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long DeleteCasterRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteCasterRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteCasterRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeleteCasterRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteCasterSceneConfigRequest.cc b/live/src/model/DeleteCasterSceneConfigRequest.cc index fc393406b..665ab9c98 100644 --- a/live/src/model/DeleteCasterSceneConfigRequest.cc +++ b/live/src/model/DeleteCasterSceneConfigRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteCasterSceneConfigRequest; - -DeleteCasterSceneConfigRequest::DeleteCasterSceneConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteCasterSceneConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteCasterSceneConfigRequest::~DeleteCasterSceneConfigRequest() {} - -std::string DeleteCasterSceneConfigRequest::getType() const { - return type_; +void DeleteCasterSceneConfigRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); } -void DeleteCasterSceneConfigRequest::setType(const std::string &type) { - type_ = type; - setParameter(std::string("Type"), type); +std::string DeleteCasterSceneConfigRequest::getCasterId()const +{ + return casterId_; } -std::string DeleteCasterSceneConfigRequest::getCasterId() const { - return casterId_; +void DeleteCasterSceneConfigRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void DeleteCasterSceneConfigRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long DeleteCasterSceneConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteCasterSceneConfigRequest::getOwnerId() const { - return ownerId_; +void DeleteCasterSceneConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DeleteCasterSceneConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DeleteCasterSceneConfigRequest::getSceneId()const +{ + return sceneId_; } -std::string DeleteCasterSceneConfigRequest::getSceneId() const { - return sceneId_; -} - -void DeleteCasterSceneConfigRequest::setSceneId(const std::string &sceneId) { - sceneId_ = sceneId; - setParameter(std::string("SceneId"), sceneId); +void DeleteCasterSceneConfigRequest::setSceneId(const std::string& sceneId) +{ + sceneId_ = sceneId; + setParameter("SceneId", sceneId); } diff --git a/live/src/model/DeleteCasterVideoResourceRequest.cc b/live/src/model/DeleteCasterVideoResourceRequest.cc index 8cf8f53b1..8bd58ae11 100644 --- a/live/src/model/DeleteCasterVideoResourceRequest.cc +++ b/live/src/model/DeleteCasterVideoResourceRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteCasterVideoResourceRequest; - -DeleteCasterVideoResourceRequest::DeleteCasterVideoResourceRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteCasterVideoResource") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteCasterVideoResourceRequest::~DeleteCasterVideoResourceRequest() {} - -std::string DeleteCasterVideoResourceRequest::getResourceId() const { - return resourceId_; +void DeleteCasterVideoResourceRequest::setResourceId(const std::string& resourceId) +{ + resourceId_ = resourceId; + setParameter("ResourceId", resourceId); } -void DeleteCasterVideoResourceRequest::setResourceId(const std::string &resourceId) { - resourceId_ = resourceId; - setParameter(std::string("ResourceId"), resourceId); +std::string DeleteCasterVideoResourceRequest::getCasterId()const +{ + return casterId_; } -std::string DeleteCasterVideoResourceRequest::getCasterId() const { - return casterId_; +void DeleteCasterVideoResourceRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void DeleteCasterVideoResourceRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long DeleteCasterVideoResourceRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteCasterVideoResourceRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteCasterVideoResourceRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeleteCasterVideoResourceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteCustomTemplateRequest.cc b/live/src/model/DeleteCustomTemplateRequest.cc index 812ccc50e..36877be8d 100644 --- a/live/src/model/DeleteCustomTemplateRequest.cc +++ b/live/src/model/DeleteCustomTemplateRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DeleteCustomTemplateRequest; - -DeleteCustomTemplateRequest::DeleteCustomTemplateRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteCustomTemplate") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteCustomTemplateRequest::~DeleteCustomTemplateRequest() {} - -std::string DeleteCustomTemplateRequest::get_Template() const { - return _template_; +void DeleteCustomTemplateRequest::set_Template(const std::string& _template) +{ + _template_ = _template; + setParameter("_Template", _template); } -void DeleteCustomTemplateRequest::set_Template(const std::string &_template) { - _template_ = _template; - setParameter(std::string("Template"), _template); +long DeleteCustomTemplateRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteCustomTemplateRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteCustomTemplateRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeleteCustomTemplateRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveAppRecordConfigRequest.cc b/live/src/model/DeleteLiveAppRecordConfigRequest.cc index fe0fb38f2..976e23285 100644 --- a/live/src/model/DeleteLiveAppRecordConfigRequest.cc +++ b/live/src/model/DeleteLiveAppRecordConfigRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveAppRecordConfigRequest; - -DeleteLiveAppRecordConfigRequest::DeleteLiveAppRecordConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteLiveAppRecordConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteLiveAppRecordConfigRequest::~DeleteLiveAppRecordConfigRequest() {} - -std::string DeleteLiveAppRecordConfigRequest::getAppName() const { - return appName_; +void DeleteLiveAppRecordConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DeleteLiveAppRecordConfigRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string DeleteLiveAppRecordConfigRequest::getSecurityToken()const +{ + return securityToken_; } -std::string DeleteLiveAppRecordConfigRequest::getSecurityToken() const { - return securityToken_; +void DeleteLiveAppRecordConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void DeleteLiveAppRecordConfigRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string DeleteLiveAppRecordConfigRequest::getStreamName()const +{ + return streamName_; } -std::string DeleteLiveAppRecordConfigRequest::getStreamName() const { - return streamName_; +void DeleteLiveAppRecordConfigRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void DeleteLiveAppRecordConfigRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string DeleteLiveAppRecordConfigRequest::getDomainName()const +{ + return domainName_; } -std::string DeleteLiveAppRecordConfigRequest::getDomainName() const { - return domainName_; +void DeleteLiveAppRecordConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DeleteLiveAppRecordConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DeleteLiveAppRecordConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteLiveAppRecordConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteLiveAppRecordConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeleteLiveAppRecordConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveAppSnapshotConfigRequest.cc b/live/src/model/DeleteLiveAppSnapshotConfigRequest.cc index 108e92508..6221c4d14 100644 --- a/live/src/model/DeleteLiveAppSnapshotConfigRequest.cc +++ b/live/src/model/DeleteLiveAppSnapshotConfigRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveAppSnapshotConfigRequest; - -DeleteLiveAppSnapshotConfigRequest::DeleteLiveAppSnapshotConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteLiveAppSnapshotConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteLiveAppSnapshotConfigRequest::~DeleteLiveAppSnapshotConfigRequest() {} - -std::string DeleteLiveAppSnapshotConfigRequest::getAppName() const { - return appName_; +void DeleteLiveAppSnapshotConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DeleteLiveAppSnapshotConfigRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string DeleteLiveAppSnapshotConfigRequest::getSecurityToken()const +{ + return securityToken_; } -std::string DeleteLiveAppSnapshotConfigRequest::getSecurityToken() const { - return securityToken_; +void DeleteLiveAppSnapshotConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void DeleteLiveAppSnapshotConfigRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string DeleteLiveAppSnapshotConfigRequest::getDomainName()const +{ + return domainName_; } -std::string DeleteLiveAppSnapshotConfigRequest::getDomainName() const { - return domainName_; +void DeleteLiveAppSnapshotConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DeleteLiveAppSnapshotConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DeleteLiveAppSnapshotConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteLiveAppSnapshotConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteLiveAppSnapshotConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeleteLiveAppSnapshotConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveAudioAuditConfigRequest.cc b/live/src/model/DeleteLiveAudioAuditConfigRequest.cc index 5bd90e502..259cdb47d 100644 --- a/live/src/model/DeleteLiveAudioAuditConfigRequest.cc +++ b/live/src/model/DeleteLiveAudioAuditConfigRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveAudioAuditConfigRequest; - -DeleteLiveAudioAuditConfigRequest::DeleteLiveAudioAuditConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteLiveAudioAuditConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteLiveAudioAuditConfigRequest::~DeleteLiveAudioAuditConfigRequest() {} - -std::string DeleteLiveAudioAuditConfigRequest::getAppName() const { - return appName_; +void DeleteLiveAudioAuditConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DeleteLiveAudioAuditConfigRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string DeleteLiveAudioAuditConfigRequest::getStreamName()const +{ + return streamName_; } -std::string DeleteLiveAudioAuditConfigRequest::getStreamName() const { - return streamName_; +void DeleteLiveAudioAuditConfigRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void DeleteLiveAudioAuditConfigRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string DeleteLiveAudioAuditConfigRequest::getDomainName()const +{ + return domainName_; } -std::string DeleteLiveAudioAuditConfigRequest::getDomainName() const { - return domainName_; +void DeleteLiveAudioAuditConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DeleteLiveAudioAuditConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DeleteLiveAudioAuditConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteLiveAudioAuditConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteLiveAudioAuditConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeleteLiveAudioAuditConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveAudioAuditNotifyConfigRequest.cc b/live/src/model/DeleteLiveAudioAuditNotifyConfigRequest.cc index ca4d68574..fdc115f3f 100644 --- a/live/src/model/DeleteLiveAudioAuditNotifyConfigRequest.cc +++ b/live/src/model/DeleteLiveAudioAuditNotifyConfigRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DeleteLiveAudioAuditNotifyConfigRequest; - -DeleteLiveAudioAuditNotifyConfigRequest::DeleteLiveAudioAuditNotifyConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteLiveAudioAuditNotifyConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteLiveAudioAuditNotifyConfigRequest::~DeleteLiveAudioAuditNotifyConfigRequest() {} - -std::string DeleteLiveAudioAuditNotifyConfigRequest::getDomainName() const { - return domainName_; +void DeleteLiveAudioAuditNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DeleteLiveAudioAuditNotifyConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DeleteLiveAudioAuditNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteLiveAudioAuditNotifyConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteLiveAudioAuditNotifyConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeleteLiveAudioAuditNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveDetectNotifyConfigRequest.cc b/live/src/model/DeleteLiveDetectNotifyConfigRequest.cc index 78f5df14c..1ec0fde00 100644 --- a/live/src/model/DeleteLiveDetectNotifyConfigRequest.cc +++ b/live/src/model/DeleteLiveDetectNotifyConfigRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveDetectNotifyConfigRequest; - -DeleteLiveDetectNotifyConfigRequest::DeleteLiveDetectNotifyConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteLiveDetectNotifyConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteLiveDetectNotifyConfigRequest::~DeleteLiveDetectNotifyConfigRequest() {} - -std::string DeleteLiveDetectNotifyConfigRequest::getSecurityToken() const { - return securityToken_; +void DeleteLiveDetectNotifyConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void DeleteLiveDetectNotifyConfigRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string DeleteLiveDetectNotifyConfigRequest::getDomainName()const +{ + return domainName_; } -std::string DeleteLiveDetectNotifyConfigRequest::getDomainName() const { - return domainName_; +void DeleteLiveDetectNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DeleteLiveDetectNotifyConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DeleteLiveDetectNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteLiveDetectNotifyConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteLiveDetectNotifyConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeleteLiveDetectNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveDomainMappingRequest.cc b/live/src/model/DeleteLiveDomainMappingRequest.cc index 8712c283f..f65352a41 100644 --- a/live/src/model/DeleteLiveDomainMappingRequest.cc +++ b/live/src/model/DeleteLiveDomainMappingRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveDomainMappingRequest; - -DeleteLiveDomainMappingRequest::DeleteLiveDomainMappingRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteLiveDomainMapping") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteLiveDomainMappingRequest::~DeleteLiveDomainMappingRequest() {} - -std::string DeleteLiveDomainMappingRequest::getSecurityToken() const { - return securityToken_; +void DeleteLiveDomainMappingRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void DeleteLiveDomainMappingRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string DeleteLiveDomainMappingRequest::getPushDomain()const +{ + return pushDomain_; } -std::string DeleteLiveDomainMappingRequest::getPushDomain() const { - return pushDomain_; +void DeleteLiveDomainMappingRequest::setPushDomain(const std::string& pushDomain) +{ + pushDomain_ = pushDomain; + setParameter("PushDomain", pushDomain); } -void DeleteLiveDomainMappingRequest::setPushDomain(const std::string &pushDomain) { - pushDomain_ = pushDomain; - setParameter(std::string("PushDomain"), pushDomain); +long DeleteLiveDomainMappingRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteLiveDomainMappingRequest::getOwnerId() const { - return ownerId_; +void DeleteLiveDomainMappingRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DeleteLiveDomainMappingRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DeleteLiveDomainMappingRequest::getPullDomain()const +{ + return pullDomain_; } -std::string DeleteLiveDomainMappingRequest::getPullDomain() const { - return pullDomain_; -} - -void DeleteLiveDomainMappingRequest::setPullDomain(const std::string &pullDomain) { - pullDomain_ = pullDomain; - setParameter(std::string("PullDomain"), pullDomain); +void DeleteLiveDomainMappingRequest::setPullDomain(const std::string& pullDomain) +{ + pullDomain_ = pullDomain; + setParameter("PullDomain", pullDomain); } diff --git a/live/src/model/DeleteLiveDomainPlayMappingRequest.cc b/live/src/model/DeleteLiveDomainPlayMappingRequest.cc index a7cadf9f4..a1c9a8a11 100644 --- a/live/src/model/DeleteLiveDomainPlayMappingRequest.cc +++ b/live/src/model/DeleteLiveDomainPlayMappingRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveDomainPlayMappingRequest; - -DeleteLiveDomainPlayMappingRequest::DeleteLiveDomainPlayMappingRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteLiveDomainPlayMapping") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteLiveDomainPlayMappingRequest::~DeleteLiveDomainPlayMappingRequest() {} - -std::string DeleteLiveDomainPlayMappingRequest::getPlayDomain() const { - return playDomain_; +void DeleteLiveDomainPlayMappingRequest::setPlayDomain(const std::string& playDomain) +{ + playDomain_ = playDomain; + setParameter("PlayDomain", playDomain); } -void DeleteLiveDomainPlayMappingRequest::setPlayDomain(const std::string &playDomain) { - playDomain_ = playDomain; - setParameter(std::string("PlayDomain"), playDomain); +long DeleteLiveDomainPlayMappingRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteLiveDomainPlayMappingRequest::getOwnerId() const { - return ownerId_; +void DeleteLiveDomainPlayMappingRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DeleteLiveDomainPlayMappingRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DeleteLiveDomainPlayMappingRequest::getPullDomain()const +{ + return pullDomain_; } -std::string DeleteLiveDomainPlayMappingRequest::getPullDomain() const { - return pullDomain_; -} - -void DeleteLiveDomainPlayMappingRequest::setPullDomain(const std::string &pullDomain) { - pullDomain_ = pullDomain; - setParameter(std::string("PullDomain"), pullDomain); +void DeleteLiveDomainPlayMappingRequest::setPullDomain(const std::string& pullDomain) +{ + pullDomain_ = pullDomain; + setParameter("PullDomain", pullDomain); } diff --git a/live/src/model/DeleteLiveDomainRequest.cc b/live/src/model/DeleteLiveDomainRequest.cc index abd9fa6c6..6030b41c9 100644 --- a/live/src/model/DeleteLiveDomainRequest.cc +++ b/live/src/model/DeleteLiveDomainRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveDomainRequest; - -DeleteLiveDomainRequest::DeleteLiveDomainRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteLiveDomain") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteLiveDomainRequest::~DeleteLiveDomainRequest() {} - -std::string DeleteLiveDomainRequest::getOwnerAccount() const { - return ownerAccount_; +void DeleteLiveDomainRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); } -void DeleteLiveDomainRequest::setOwnerAccount(const std::string &ownerAccount) { - ownerAccount_ = ownerAccount; - setParameter(std::string("OwnerAccount"), ownerAccount); +std::string DeleteLiveDomainRequest::getDomainName()const +{ + return domainName_; } -std::string DeleteLiveDomainRequest::getDomainName() const { - return domainName_; +void DeleteLiveDomainRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DeleteLiveDomainRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DeleteLiveDomainRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteLiveDomainRequest::getOwnerId() const { - return ownerId_; +void DeleteLiveDomainRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DeleteLiveDomainRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DeleteLiveDomainRequest::getSecurityToken()const +{ + return securityToken_; } -std::string DeleteLiveDomainRequest::getSecurityToken() const { - return securityToken_; -} - -void DeleteLiveDomainRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +void DeleteLiveDomainRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } diff --git a/live/src/model/DeleteLiveEdgeTransferRequest.cc b/live/src/model/DeleteLiveEdgeTransferRequest.cc index 3365e11d0..50d8d9920 100644 --- a/live/src/model/DeleteLiveEdgeTransferRequest.cc +++ b/live/src/model/DeleteLiveEdgeTransferRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DeleteLiveEdgeTransferRequest; - -DeleteLiveEdgeTransferRequest::DeleteLiveEdgeTransferRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteLiveEdgeTransfer") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteLiveEdgeTransferRequest::~DeleteLiveEdgeTransferRequest() {} - -std::string DeleteLiveEdgeTransferRequest::getDomainName() const { - return domainName_; +void DeleteLiveEdgeTransferRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DeleteLiveEdgeTransferRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DeleteLiveEdgeTransferRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteLiveEdgeTransferRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteLiveEdgeTransferRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeleteLiveEdgeTransferRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveLazyPullStreamInfoConfigRequest.cc b/live/src/model/DeleteLiveLazyPullStreamInfoConfigRequest.cc index 601361994..60541463c 100644 --- a/live/src/model/DeleteLiveLazyPullStreamInfoConfigRequest.cc +++ b/live/src/model/DeleteLiveLazyPullStreamInfoConfigRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveLazyPullStreamInfoConfigRequest; - -DeleteLiveLazyPullStreamInfoConfigRequest::DeleteLiveLazyPullStreamInfoConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteLiveLazyPullStreamInfoConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteLiveLazyPullStreamInfoConfigRequest::~DeleteLiveLazyPullStreamInfoConfigRequest() {} - -std::string DeleteLiveLazyPullStreamInfoConfigRequest::getDomainName() const { - return domainName_; +void DeleteLiveLazyPullStreamInfoConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DeleteLiveLazyPullStreamInfoConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DeleteLiveLazyPullStreamInfoConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteLiveLazyPullStreamInfoConfigRequest::getOwnerId() const { - return ownerId_; +void DeleteLiveLazyPullStreamInfoConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DeleteLiveLazyPullStreamInfoConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DeleteLiveLazyPullStreamInfoConfigRequest::getAppName()const +{ + return appName_; } -std::string DeleteLiveLazyPullStreamInfoConfigRequest::getAppName() const { - return appName_; -} - -void DeleteLiveLazyPullStreamInfoConfigRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +void DeleteLiveLazyPullStreamInfoConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } diff --git a/live/src/model/DeleteLivePullStreamInfoConfigRequest.cc b/live/src/model/DeleteLivePullStreamInfoConfigRequest.cc index 956c548bf..6389eadbe 100644 --- a/live/src/model/DeleteLivePullStreamInfoConfigRequest.cc +++ b/live/src/model/DeleteLivePullStreamInfoConfigRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLivePullStreamInfoConfigRequest; - -DeleteLivePullStreamInfoConfigRequest::DeleteLivePullStreamInfoConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteLivePullStreamInfoConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteLivePullStreamInfoConfigRequest::~DeleteLivePullStreamInfoConfigRequest() {} - -std::string DeleteLivePullStreamInfoConfigRequest::getAppName() const { - return appName_; +void DeleteLivePullStreamInfoConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DeleteLivePullStreamInfoConfigRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string DeleteLivePullStreamInfoConfigRequest::getStreamName()const +{ + return streamName_; } -std::string DeleteLivePullStreamInfoConfigRequest::getStreamName() const { - return streamName_; +void DeleteLivePullStreamInfoConfigRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void DeleteLivePullStreamInfoConfigRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string DeleteLivePullStreamInfoConfigRequest::getDomainName()const +{ + return domainName_; } -std::string DeleteLivePullStreamInfoConfigRequest::getDomainName() const { - return domainName_; +void DeleteLivePullStreamInfoConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DeleteLivePullStreamInfoConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DeleteLivePullStreamInfoConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteLivePullStreamInfoConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteLivePullStreamInfoConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeleteLivePullStreamInfoConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveRealTimeLogLogstoreRequest.cc b/live/src/model/DeleteLiveRealTimeLogLogstoreRequest.cc index 15e82b43a..d0f225685 100644 --- a/live/src/model/DeleteLiveRealTimeLogLogstoreRequest.cc +++ b/live/src/model/DeleteLiveRealTimeLogLogstoreRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveRealTimeLogLogstoreRequest; - -DeleteLiveRealTimeLogLogstoreRequest::DeleteLiveRealTimeLogLogstoreRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteLiveRealTimeLogLogstore") { - setMethod(HttpRequest::Method::Get); + */ + +#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_; } -DeleteLiveRealTimeLogLogstoreRequest::~DeleteLiveRealTimeLogLogstoreRequest() {} - -std::string DeleteLiveRealTimeLogLogstoreRequest::getProject() const { - return project_; +void DeleteLiveRealTimeLogLogstoreRequest::setProject(const std::string& project) +{ + project_ = project; + setParameter("Project", project); } -void DeleteLiveRealTimeLogLogstoreRequest::setProject(const std::string &project) { - project_ = project; - setParameter(std::string("Project"), project); +long DeleteLiveRealTimeLogLogstoreRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteLiveRealTimeLogLogstoreRequest::getOwnerId() const { - return ownerId_; +void DeleteLiveRealTimeLogLogstoreRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DeleteLiveRealTimeLogLogstoreRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DeleteLiveRealTimeLogLogstoreRequest::getRegion()const +{ + return region_; } -std::string DeleteLiveRealTimeLogLogstoreRequest::getRegion() const { - return region_; +void DeleteLiveRealTimeLogLogstoreRequest::setRegion(const std::string& region) +{ + region_ = region; + setParameter("Region", region); } -void DeleteLiveRealTimeLogLogstoreRequest::setRegion(const std::string ®ion) { - region_ = region; - setParameter(std::string("Region"), region); +std::string DeleteLiveRealTimeLogLogstoreRequest::getLogstore()const +{ + return logstore_; } -std::string DeleteLiveRealTimeLogLogstoreRequest::getLogstore() const { - return logstore_; -} - -void DeleteLiveRealTimeLogLogstoreRequest::setLogstore(const std::string &logstore) { - logstore_ = logstore; - setParameter(std::string("Logstore"), logstore); +void DeleteLiveRealTimeLogLogstoreRequest::setLogstore(const std::string& logstore) +{ + logstore_ = logstore; + setParameter("Logstore", logstore); } diff --git a/live/src/model/DeleteLiveRealtimeLogDeliveryRequest.cc b/live/src/model/DeleteLiveRealtimeLogDeliveryRequest.cc index 4948a5fc4..98e7bbe2d 100644 --- a/live/src/model/DeleteLiveRealtimeLogDeliveryRequest.cc +++ b/live/src/model/DeleteLiveRealtimeLogDeliveryRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveRealtimeLogDeliveryRequest; - -DeleteLiveRealtimeLogDeliveryRequest::DeleteLiveRealtimeLogDeliveryRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteLiveRealtimeLogDelivery") { - setMethod(HttpRequest::Method::Get); + */ + +#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_; } -DeleteLiveRealtimeLogDeliveryRequest::~DeleteLiveRealtimeLogDeliveryRequest() {} - -std::string DeleteLiveRealtimeLogDeliveryRequest::getProject() const { - return project_; +void DeleteLiveRealtimeLogDeliveryRequest::setProject(const std::string& project) +{ + project_ = project; + setParameter("Project", project); } -void DeleteLiveRealtimeLogDeliveryRequest::setProject(const std::string &project) { - project_ = project; - setParameter(std::string("Project"), project); +std::string DeleteLiveRealtimeLogDeliveryRequest::getDomainName()const +{ + return domainName_; } -std::string DeleteLiveRealtimeLogDeliveryRequest::getDomainName() const { - return domainName_; +void DeleteLiveRealtimeLogDeliveryRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DeleteLiveRealtimeLogDeliveryRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DeleteLiveRealtimeLogDeliveryRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteLiveRealtimeLogDeliveryRequest::getOwnerId() const { - return ownerId_; +void DeleteLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DeleteLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DeleteLiveRealtimeLogDeliveryRequest::getRegion()const +{ + return region_; } -std::string DeleteLiveRealtimeLogDeliveryRequest::getRegion() const { - return region_; +void DeleteLiveRealtimeLogDeliveryRequest::setRegion(const std::string& region) +{ + region_ = region; + setParameter("Region", region); } -void DeleteLiveRealtimeLogDeliveryRequest::setRegion(const std::string ®ion) { - region_ = region; - setParameter(std::string("Region"), region); +std::string DeleteLiveRealtimeLogDeliveryRequest::getLogstore()const +{ + return logstore_; } -std::string DeleteLiveRealtimeLogDeliveryRequest::getLogstore() const { - return logstore_; -} - -void DeleteLiveRealtimeLogDeliveryRequest::setLogstore(const std::string &logstore) { - logstore_ = logstore; - setParameter(std::string("Logstore"), logstore); +void DeleteLiveRealtimeLogDeliveryRequest::setLogstore(const std::string& logstore) +{ + logstore_ = logstore; + setParameter("Logstore", logstore); } diff --git a/live/src/model/DeleteLiveRecordNotifyConfigRequest.cc b/live/src/model/DeleteLiveRecordNotifyConfigRequest.cc index 4702a304b..5a30e218e 100644 --- a/live/src/model/DeleteLiveRecordNotifyConfigRequest.cc +++ b/live/src/model/DeleteLiveRecordNotifyConfigRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveRecordNotifyConfigRequest; - -DeleteLiveRecordNotifyConfigRequest::DeleteLiveRecordNotifyConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteLiveRecordNotifyConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteLiveRecordNotifyConfigRequest::~DeleteLiveRecordNotifyConfigRequest() {} - -std::string DeleteLiveRecordNotifyConfigRequest::getSecurityToken() const { - return securityToken_; +void DeleteLiveRecordNotifyConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void DeleteLiveRecordNotifyConfigRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string DeleteLiveRecordNotifyConfigRequest::getDomainName()const +{ + return domainName_; } -std::string DeleteLiveRecordNotifyConfigRequest::getDomainName() const { - return domainName_; +void DeleteLiveRecordNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DeleteLiveRecordNotifyConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DeleteLiveRecordNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteLiveRecordNotifyConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeleteLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveRecordVodConfigRequest.cc b/live/src/model/DeleteLiveRecordVodConfigRequest.cc index 9b7be5057..b10889808 100644 --- a/live/src/model/DeleteLiveRecordVodConfigRequest.cc +++ b/live/src/model/DeleteLiveRecordVodConfigRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveRecordVodConfigRequest; - -DeleteLiveRecordVodConfigRequest::DeleteLiveRecordVodConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteLiveRecordVodConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteLiveRecordVodConfigRequest::~DeleteLiveRecordVodConfigRequest() {} - -std::string DeleteLiveRecordVodConfigRequest::getAppName() const { - return appName_; +void DeleteLiveRecordVodConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DeleteLiveRecordVodConfigRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string DeleteLiveRecordVodConfigRequest::getStreamName()const +{ + return streamName_; } -std::string DeleteLiveRecordVodConfigRequest::getStreamName() const { - return streamName_; +void DeleteLiveRecordVodConfigRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void DeleteLiveRecordVodConfigRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string DeleteLiveRecordVodConfigRequest::getDomainName()const +{ + return domainName_; } -std::string DeleteLiveRecordVodConfigRequest::getDomainName() const { - return domainName_; +void DeleteLiveRecordVodConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DeleteLiveRecordVodConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DeleteLiveRecordVodConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteLiveRecordVodConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteLiveRecordVodConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeleteLiveRecordVodConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveSnapshotDetectPornConfigRequest.cc b/live/src/model/DeleteLiveSnapshotDetectPornConfigRequest.cc index 37733e1d6..1fd29bc33 100644 --- a/live/src/model/DeleteLiveSnapshotDetectPornConfigRequest.cc +++ b/live/src/model/DeleteLiveSnapshotDetectPornConfigRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveSnapshotDetectPornConfigRequest; - -DeleteLiveSnapshotDetectPornConfigRequest::DeleteLiveSnapshotDetectPornConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteLiveSnapshotDetectPornConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteLiveSnapshotDetectPornConfigRequest::~DeleteLiveSnapshotDetectPornConfigRequest() {} - -std::string DeleteLiveSnapshotDetectPornConfigRequest::getAppName() const { - return appName_; +void DeleteLiveSnapshotDetectPornConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DeleteLiveSnapshotDetectPornConfigRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string DeleteLiveSnapshotDetectPornConfigRequest::getSecurityToken()const +{ + return securityToken_; } -std::string DeleteLiveSnapshotDetectPornConfigRequest::getSecurityToken() const { - return securityToken_; +void DeleteLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void DeleteLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string DeleteLiveSnapshotDetectPornConfigRequest::getDomainName()const +{ + return domainName_; } -std::string DeleteLiveSnapshotDetectPornConfigRequest::getDomainName() const { - return domainName_; +void DeleteLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DeleteLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DeleteLiveSnapshotDetectPornConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteLiveSnapshotDetectPornConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeleteLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveSpecificStagingConfigRequest.cc b/live/src/model/DeleteLiveSpecificStagingConfigRequest.cc index 68a607b43..1712359c8 100644 --- a/live/src/model/DeleteLiveSpecificStagingConfigRequest.cc +++ b/live/src/model/DeleteLiveSpecificStagingConfigRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveSpecificStagingConfigRequest; - -DeleteLiveSpecificStagingConfigRequest::DeleteLiveSpecificStagingConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteLiveSpecificStagingConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteLiveSpecificStagingConfigRequest::~DeleteLiveSpecificStagingConfigRequest() {} - -std::string DeleteLiveSpecificStagingConfigRequest::getSecurityToken() const { - return securityToken_; +void DeleteLiveSpecificStagingConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void DeleteLiveSpecificStagingConfigRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string DeleteLiveSpecificStagingConfigRequest::getDomainName()const +{ + return domainName_; } -std::string DeleteLiveSpecificStagingConfigRequest::getDomainName() const { - return domainName_; +void DeleteLiveSpecificStagingConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DeleteLiveSpecificStagingConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DeleteLiveSpecificStagingConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteLiveSpecificStagingConfigRequest::getOwnerId() const { - return ownerId_; +void DeleteLiveSpecificStagingConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DeleteLiveSpecificStagingConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DeleteLiveSpecificStagingConfigRequest::getConfigId()const +{ + return configId_; } -std::string DeleteLiveSpecificStagingConfigRequest::getConfigId() const { - return configId_; -} - -void DeleteLiveSpecificStagingConfigRequest::setConfigId(const std::string &configId) { - configId_ = configId; - setParameter(std::string("ConfigId"), configId); +void DeleteLiveSpecificStagingConfigRequest::setConfigId(const std::string& configId) +{ + configId_ = configId; + setParameter("ConfigId", configId); } diff --git a/live/src/model/DeleteLiveStreamMonitorRequest.cc b/live/src/model/DeleteLiveStreamMonitorRequest.cc index ecacab25f..71ae7afbc 100644 --- a/live/src/model/DeleteLiveStreamMonitorRequest.cc +++ b/live/src/model/DeleteLiveStreamMonitorRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DeleteLiveStreamMonitorRequest; - -DeleteLiveStreamMonitorRequest::DeleteLiveStreamMonitorRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamMonitor") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteLiveStreamMonitorRequest::~DeleteLiveStreamMonitorRequest() {} - -std::string DeleteLiveStreamMonitorRequest::getMonitorId() const { - return monitorId_; +void DeleteLiveStreamMonitorRequest::setMonitorId(const std::string& monitorId) +{ + monitorId_ = monitorId; + setParameter("MonitorId", monitorId); } -void DeleteLiveStreamMonitorRequest::setMonitorId(const std::string &monitorId) { - monitorId_ = monitorId; - setParameter(std::string("MonitorId"), monitorId); +long DeleteLiveStreamMonitorRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteLiveStreamMonitorRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteLiveStreamMonitorRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeleteLiveStreamMonitorRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteLiveStreamRecordIndexFilesRequest.cc b/live/src/model/DeleteLiveStreamRecordIndexFilesRequest.cc new file mode 100644 index 000000000..01f74652f --- /dev/null +++ b/live/src/model/DeleteLiveStreamRecordIndexFilesRequest.cc @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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_; +} + +void DeleteLiveStreamRecordIndexFilesRequest::setRemoveFile(const std::string& removeFile) +{ + removeFile_ = removeFile; + setParameter("RemoveFile", removeFile); +} + +std::string DeleteLiveStreamRecordIndexFilesRequest::getAppName()const +{ + return appName_; +} + +void DeleteLiveStreamRecordIndexFilesRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DeleteLiveStreamRecordIndexFilesRequest::getStreamName()const +{ + return streamName_; +} + +void DeleteLiveStreamRecordIndexFilesRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string DeleteLiveStreamRecordIndexFilesRequest::getDomainName()const +{ + return domainName_; +} + +void DeleteLiveStreamRecordIndexFilesRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DeleteLiveStreamRecordIndexFilesRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::vector DeleteLiveStreamRecordIndexFilesRequest::getRecordId()const +{ + return recordId_; +} + +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)); + } +} + diff --git a/live/src/model/DeleteLiveStreamRecordIndexFilesResult.cc b/live/src/model/DeleteLiveStreamRecordIndexFilesResult.cc new file mode 100644 index 000000000..86c32c261 --- /dev/null +++ b/live/src/model/DeleteLiveStreamRecordIndexFilesResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DeleteLiveStreamRecordIndexFilesResult::DeleteLiveStreamRecordIndexFilesResult() : + ServiceResult() +{} + +DeleteLiveStreamRecordIndexFilesResult::DeleteLiveStreamRecordIndexFilesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLiveStreamRecordIndexFilesResult::~DeleteLiveStreamRecordIndexFilesResult() +{} + +void DeleteLiveStreamRecordIndexFilesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allRecordDeleteInfoListNode = value["RecordDeleteInfoList"]["RecordDeleteInfo"]; + for (auto valueRecordDeleteInfoListRecordDeleteInfo : allRecordDeleteInfoListNode) + { + RecordDeleteInfo recordDeleteInfoListObject; + if(!valueRecordDeleteInfoListRecordDeleteInfo["RecordId"].isNull()) + recordDeleteInfoListObject.recordId = valueRecordDeleteInfoListRecordDeleteInfo["RecordId"].asString(); + if(!valueRecordDeleteInfoListRecordDeleteInfo["Message"].isNull()) + recordDeleteInfoListObject.message = valueRecordDeleteInfoListRecordDeleteInfo["Message"].asString(); + recordDeleteInfoList_.push_back(recordDeleteInfoListObject); + } + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + +} + +std::vector DeleteLiveStreamRecordIndexFilesResult::getRecordDeleteInfoList()const +{ + return recordDeleteInfoList_; +} + +std::string DeleteLiveStreamRecordIndexFilesResult::getMessage()const +{ + return message_; +} + +std::string DeleteLiveStreamRecordIndexFilesResult::getCode()const +{ + return code_; +} + diff --git a/live/src/model/DeleteLiveStreamTranscodeRequest.cc b/live/src/model/DeleteLiveStreamTranscodeRequest.cc index 5104240dc..9500da683 100644 --- a/live/src/model/DeleteLiveStreamTranscodeRequest.cc +++ b/live/src/model/DeleteLiveStreamTranscodeRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveStreamTranscodeRequest; - -DeleteLiveStreamTranscodeRequest::DeleteLiveStreamTranscodeRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamTranscode") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteLiveStreamTranscodeRequest::~DeleteLiveStreamTranscodeRequest() {} - -std::string DeleteLiveStreamTranscodeRequest::get_Template() const { - return _template_; +void DeleteLiveStreamTranscodeRequest::set_Template(const std::string& _template) +{ + _template_ = _template; + setParameter("_Template", _template); } -void DeleteLiveStreamTranscodeRequest::set_Template(const std::string &_template) { - _template_ = _template; - setParameter(std::string("Template"), _template); +std::string DeleteLiveStreamTranscodeRequest::getSecurityToken()const +{ + return securityToken_; } -std::string DeleteLiveStreamTranscodeRequest::getSecurityToken() const { - return securityToken_; +void DeleteLiveStreamTranscodeRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void DeleteLiveStreamTranscodeRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string DeleteLiveStreamTranscodeRequest::getApp()const +{ + return app_; } -std::string DeleteLiveStreamTranscodeRequest::getApp() const { - return app_; +void DeleteLiveStreamTranscodeRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); } -void DeleteLiveStreamTranscodeRequest::setApp(const std::string &app) { - app_ = app; - setParameter(std::string("App"), app); +long DeleteLiveStreamTranscodeRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteLiveStreamTranscodeRequest::getOwnerId() const { - return ownerId_; +void DeleteLiveStreamTranscodeRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DeleteLiveStreamTranscodeRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DeleteLiveStreamTranscodeRequest::getDomain()const +{ + return domain_; } -std::string DeleteLiveStreamTranscodeRequest::getDomain() const { - return domain_; -} - -void DeleteLiveStreamTranscodeRequest::setDomain(const std::string &domain) { - domain_ = domain; - setParameter(std::string("Domain"), domain); +void DeleteLiveStreamTranscodeRequest::setDomain(const std::string& domain) +{ + domain_ = domain; + setParameter("Domain", domain); } diff --git a/live/src/model/DeleteLiveStreamWatermarkRequest.cc b/live/src/model/DeleteLiveStreamWatermarkRequest.cc index cf59621db..4d2a39974 100644 --- a/live/src/model/DeleteLiveStreamWatermarkRequest.cc +++ b/live/src/model/DeleteLiveStreamWatermarkRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DeleteLiveStreamWatermarkRequest; - -DeleteLiveStreamWatermarkRequest::DeleteLiveStreamWatermarkRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamWatermark") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteLiveStreamWatermarkRequest::~DeleteLiveStreamWatermarkRequest() {} - -long DeleteLiveStreamWatermarkRequest::getOwnerId() const { - return ownerId_; +void DeleteLiveStreamWatermarkRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DeleteLiveStreamWatermarkRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DeleteLiveStreamWatermarkRequest::getTemplateId()const +{ + return templateId_; } -std::string DeleteLiveStreamWatermarkRequest::getTemplateId() const { - return templateId_; -} - -void DeleteLiveStreamWatermarkRequest::setTemplateId(const std::string &templateId) { - templateId_ = templateId; - setParameter(std::string("TemplateId"), templateId); +void DeleteLiveStreamWatermarkRequest::setTemplateId(const std::string& templateId) +{ + templateId_ = templateId; + setParameter("TemplateId", templateId); } diff --git a/live/src/model/DeleteLiveStreamWatermarkRuleRequest.cc b/live/src/model/DeleteLiveStreamWatermarkRuleRequest.cc index a492c0c21..09a3b3450 100644 --- a/live/src/model/DeleteLiveStreamWatermarkRuleRequest.cc +++ b/live/src/model/DeleteLiveStreamWatermarkRuleRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteLiveStreamWatermarkRuleRequest; - -DeleteLiveStreamWatermarkRuleRequest::DeleteLiveStreamWatermarkRuleRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamWatermarkRule") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteLiveStreamWatermarkRuleRequest::~DeleteLiveStreamWatermarkRuleRequest() {} - -std::string DeleteLiveStreamWatermarkRuleRequest::getStream() const { - return stream_; +void DeleteLiveStreamWatermarkRuleRequest::setStream(const std::string& stream) +{ + stream_ = stream; + setParameter("Stream", stream); } -void DeleteLiveStreamWatermarkRuleRequest::setStream(const std::string &stream) { - stream_ = stream; - setParameter(std::string("Stream"), stream); +std::string DeleteLiveStreamWatermarkRuleRequest::getApp()const +{ + return app_; } -std::string DeleteLiveStreamWatermarkRuleRequest::getApp() const { - return app_; +void DeleteLiveStreamWatermarkRuleRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); } -void DeleteLiveStreamWatermarkRuleRequest::setApp(const std::string &app) { - app_ = app; - setParameter(std::string("App"), app); +long DeleteLiveStreamWatermarkRuleRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteLiveStreamWatermarkRuleRequest::getOwnerId() const { - return ownerId_; +void DeleteLiveStreamWatermarkRuleRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DeleteLiveStreamWatermarkRuleRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DeleteLiveStreamWatermarkRuleRequest::getDomain()const +{ + return domain_; } -std::string DeleteLiveStreamWatermarkRuleRequest::getDomain() const { - return domain_; +void DeleteLiveStreamWatermarkRuleRequest::setDomain(const std::string& domain) +{ + domain_ = domain; + setParameter("Domain", domain); } -void DeleteLiveStreamWatermarkRuleRequest::setDomain(const std::string &domain) { - domain_ = domain; - setParameter(std::string("Domain"), domain); +std::string DeleteLiveStreamWatermarkRuleRequest::getRuleId()const +{ + return ruleId_; } -std::string DeleteLiveStreamWatermarkRuleRequest::getRuleId() const { - return ruleId_; -} - -void DeleteLiveStreamWatermarkRuleRequest::setRuleId(const std::string &ruleId) { - ruleId_ = ruleId; - setParameter(std::string("RuleId"), ruleId); +void DeleteLiveStreamWatermarkRuleRequest::setRuleId(const std::string& ruleId) +{ + ruleId_ = ruleId; + setParameter("RuleId", ruleId); } diff --git a/live/src/model/DeleteLiveStreamsNotifyUrlConfigRequest.cc b/live/src/model/DeleteLiveStreamsNotifyUrlConfigRequest.cc index f6a7d6344..d964905ea 100644 --- a/live/src/model/DeleteLiveStreamsNotifyUrlConfigRequest.cc +++ b/live/src/model/DeleteLiveStreamsNotifyUrlConfigRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DeleteLiveStreamsNotifyUrlConfigRequest; - -DeleteLiveStreamsNotifyUrlConfigRequest::DeleteLiveStreamsNotifyUrlConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamsNotifyUrlConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteLiveStreamsNotifyUrlConfigRequest::~DeleteLiveStreamsNotifyUrlConfigRequest() {} - -std::string DeleteLiveStreamsNotifyUrlConfigRequest::getDomainName() const { - return domainName_; +void DeleteLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DeleteLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DeleteLiveStreamsNotifyUrlConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteLiveStreamsNotifyUrlConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeleteLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteMixStreamRequest.cc b/live/src/model/DeleteMixStreamRequest.cc index dea815b1f..07fb5a69a 100644 --- a/live/src/model/DeleteMixStreamRequest.cc +++ b/live/src/model/DeleteMixStreamRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteMixStreamRequest; - -DeleteMixStreamRequest::DeleteMixStreamRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteMixStream") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteMixStreamRequest::~DeleteMixStreamRequest() {} - -std::string DeleteMixStreamRequest::getAppName() const { - return appName_; +void DeleteMixStreamRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DeleteMixStreamRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string DeleteMixStreamRequest::getStreamName()const +{ + return streamName_; } -std::string DeleteMixStreamRequest::getStreamName() const { - return streamName_; +void DeleteMixStreamRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void DeleteMixStreamRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string DeleteMixStreamRequest::getMixStreamId()const +{ + return mixStreamId_; } -std::string DeleteMixStreamRequest::getMixStreamId() const { - return mixStreamId_; +void DeleteMixStreamRequest::setMixStreamId(const std::string& mixStreamId) +{ + mixStreamId_ = mixStreamId; + setParameter("MixStreamId", mixStreamId); } -void DeleteMixStreamRequest::setMixStreamId(const std::string &mixStreamId) { - mixStreamId_ = mixStreamId; - setParameter(std::string("MixStreamId"), mixStreamId); +std::string DeleteMixStreamRequest::getDomainName()const +{ + return domainName_; } -std::string DeleteMixStreamRequest::getDomainName() const { - return domainName_; +void DeleteMixStreamRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DeleteMixStreamRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DeleteMixStreamRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteMixStreamRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteMixStreamRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeleteMixStreamRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteMultiRateConfigRequest.cc b/live/src/model/DeleteMultiRateConfigRequest.cc index 96383d54f..dcbc73401 100644 --- a/live/src/model/DeleteMultiRateConfigRequest.cc +++ b/live/src/model/DeleteMultiRateConfigRequest.cc @@ -1,81 +1,95 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DeleteMultiRateConfigRequest::~DeleteMultiRateConfigRequest() {} - -std::string DeleteMultiRateConfigRequest::getDeleteAll() const { - return deleteAll_; +void DeleteMultiRateConfigRequest::setDeleteAll(const std::string& deleteAll) +{ + deleteAll_ = deleteAll; + setParameter("DeleteAll", deleteAll); } -void DeleteMultiRateConfigRequest::setDeleteAll(const std::string &deleteAll) { - deleteAll_ = deleteAll; - setParameter(std::string("DeleteAll"), deleteAll); +std::string DeleteMultiRateConfigRequest::getApp()const +{ + return app_; } -std::string DeleteMultiRateConfigRequest::getApp() const { - return app_; +void DeleteMultiRateConfigRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); } -void DeleteMultiRateConfigRequest::setApp(const std::string &app) { - app_ = app; - setParameter(std::string("App"), app); +std::string DeleteMultiRateConfigRequest::getGroupId()const +{ + return groupId_; } -std::string DeleteMultiRateConfigRequest::getGroupId() const { - return groupId_; +void DeleteMultiRateConfigRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setParameter("GroupId", groupId); } -void DeleteMultiRateConfigRequest::setGroupId(const std::string &groupId) { - groupId_ = groupId; - setParameter(std::string("GroupId"), groupId); +std::string DeleteMultiRateConfigRequest::getTemplates()const +{ + return templates_; } -std::string DeleteMultiRateConfigRequest::getTemplates() const { - return templates_; +void DeleteMultiRateConfigRequest::setTemplates(const std::string& templates) +{ + templates_ = templates; + setParameter("Templates", templates); } -void DeleteMultiRateConfigRequest::setTemplates(const std::string &templates) { - templates_ = templates; - setParameter(std::string("Templates"), templates); +std::string DeleteMultiRateConfigRequest::getDomainName()const +{ + return domainName_; } -std::string DeleteMultiRateConfigRequest::getDomainName() const { - return domainName_; +void DeleteMultiRateConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DeleteMultiRateConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DeleteMultiRateConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteMultiRateConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteMultiRateConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeleteMultiRateConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteMultiRateConfigResult.cc b/live/src/model/DeleteMultiRateConfigResult.cc index 2c314c9e0..4e291fd74 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["Code"].isNull()) - code_ = std::stoi(value["Code"].asString()); if(!value["Message"].isNull()) message_ = value["Message"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); } diff --git a/live/src/model/DeletePlaylistItemsRequest.cc b/live/src/model/DeletePlaylistItemsRequest.cc index aec417782..2cd271cc6 100644 --- a/live/src/model/DeletePlaylistItemsRequest.cc +++ b/live/src/model/DeletePlaylistItemsRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeletePlaylistItemsRequest; - -DeletePlaylistItemsRequest::DeletePlaylistItemsRequest() - : RpcServiceRequest("live", "2016-11-01", "DeletePlaylistItems") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeletePlaylistItemsRequest::~DeletePlaylistItemsRequest() {} - -std::string DeletePlaylistItemsRequest::getProgramItemIds() const { - return programItemIds_; +void DeletePlaylistItemsRequest::setProgramItemIds(const std::string& programItemIds) +{ + programItemIds_ = programItemIds; + setParameter("ProgramItemIds", programItemIds); } -void DeletePlaylistItemsRequest::setProgramItemIds(const std::string &programItemIds) { - programItemIds_ = programItemIds; - setParameter(std::string("ProgramItemIds"), programItemIds); +std::string DeletePlaylistItemsRequest::getProgramId()const +{ + return programId_; } -std::string DeletePlaylistItemsRequest::getProgramId() const { - return programId_; +void DeletePlaylistItemsRequest::setProgramId(const std::string& programId) +{ + programId_ = programId; + setParameter("ProgramId", programId); } -void DeletePlaylistItemsRequest::setProgramId(const std::string &programId) { - programId_ = programId; - setParameter(std::string("ProgramId"), programId); +long DeletePlaylistItemsRequest::getOwnerId()const +{ + return ownerId_; } -long DeletePlaylistItemsRequest::getOwnerId() const { - return ownerId_; -} - -void DeletePlaylistItemsRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeletePlaylistItemsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeletePlaylistRequest.cc b/live/src/model/DeletePlaylistRequest.cc index 5b97a6edb..c9113c45b 100644 --- a/live/src/model/DeletePlaylistRequest.cc +++ b/live/src/model/DeletePlaylistRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DeletePlaylistRequest; - -DeletePlaylistRequest::DeletePlaylistRequest() - : RpcServiceRequest("live", "2016-11-01", "DeletePlaylist") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeletePlaylistRequest::~DeletePlaylistRequest() {} - -std::string DeletePlaylistRequest::getProgramId() const { - return programId_; +void DeletePlaylistRequest::setProgramId(const std::string& programId) +{ + programId_ = programId; + setParameter("ProgramId", programId); } -void DeletePlaylistRequest::setProgramId(const std::string &programId) { - programId_ = programId; - setParameter(std::string("ProgramId"), programId); +long DeletePlaylistRequest::getOwnerId()const +{ + return ownerId_; } -long DeletePlaylistRequest::getOwnerId() const { - return ownerId_; -} - -void DeletePlaylistRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeletePlaylistRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteRoomRequest.cc b/live/src/model/DeleteRoomRequest.cc index 8e29cdc6e..b72df9199 100644 --- a/live/src/model/DeleteRoomRequest.cc +++ b/live/src/model/DeleteRoomRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteRoomRequest; - -DeleteRoomRequest::DeleteRoomRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteRoom") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteRoomRequest::~DeleteRoomRequest() {} - -long DeleteRoomRequest::getOwnerId() const { - return ownerId_; +void DeleteRoomRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DeleteRoomRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DeleteRoomRequest::getRoomId()const +{ + return roomId_; } -std::string DeleteRoomRequest::getRoomId() const { - return roomId_; +void DeleteRoomRequest::setRoomId(const std::string& roomId) +{ + roomId_ = roomId; + setParameter("RoomId", roomId); } -void DeleteRoomRequest::setRoomId(const std::string &roomId) { - roomId_ = roomId; - setParameter(std::string("RoomId"), roomId); +std::string DeleteRoomRequest::getAppId()const +{ + return appId_; } -std::string DeleteRoomRequest::getAppId() const { - return appId_; -} - -void DeleteRoomRequest::setAppId(const std::string &appId) { - appId_ = appId; - setParameter(std::string("AppId"), appId); +void DeleteRoomRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); } diff --git a/live/src/model/DeleteSnapshotCallbackAuthRequest.cc b/live/src/model/DeleteSnapshotCallbackAuthRequest.cc index 8451216da..0c65c9693 100644 --- a/live/src/model/DeleteSnapshotCallbackAuthRequest.cc +++ b/live/src/model/DeleteSnapshotCallbackAuthRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DeleteSnapshotCallbackAuthRequest; - -DeleteSnapshotCallbackAuthRequest::DeleteSnapshotCallbackAuthRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteSnapshotCallbackAuth") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteSnapshotCallbackAuthRequest::~DeleteSnapshotCallbackAuthRequest() {} - -std::string DeleteSnapshotCallbackAuthRequest::getDomainName() const { - return domainName_; +void DeleteSnapshotCallbackAuthRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DeleteSnapshotCallbackAuthRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DeleteSnapshotCallbackAuthRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteSnapshotCallbackAuthRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteSnapshotCallbackAuthRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeleteSnapshotCallbackAuthRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DeleteSnapshotFilesRequest.cc b/live/src/model/DeleteSnapshotFilesRequest.cc new file mode 100644 index 000000000..3c6b3493f --- /dev/null +++ b/live/src/model/DeleteSnapshotFilesRequest.cc @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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_; +} + +void DeleteSnapshotFilesRequest::setRemoveFile(bool removeFile) +{ + removeFile_ = removeFile; + setParameter("RemoveFile", removeFile ? "true" : "false"); +} + +std::string DeleteSnapshotFilesRequest::getAppName()const +{ + return appName_; +} + +void DeleteSnapshotFilesRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DeleteSnapshotFilesRequest::getStreamName()const +{ + return streamName_; +} + +void DeleteSnapshotFilesRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string DeleteSnapshotFilesRequest::getDomainName()const +{ + return domainName_; +} + +void DeleteSnapshotFilesRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DeleteSnapshotFilesRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteSnapshotFilesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::vector DeleteSnapshotFilesRequest::getCreateTimestampList()const +{ + return createTimestampList_; +} + +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))); + } +} + diff --git a/live/src/model/DeleteSnapshotFilesResult.cc b/live/src/model/DeleteSnapshotFilesResult.cc new file mode 100644 index 000000000..e609d3c48 --- /dev/null +++ b/live/src/model/DeleteSnapshotFilesResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DeleteSnapshotFilesResult::DeleteSnapshotFilesResult() : + ServiceResult() +{} + +DeleteSnapshotFilesResult::DeleteSnapshotFilesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteSnapshotFilesResult::~DeleteSnapshotFilesResult() +{} + +void DeleteSnapshotFilesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allSnapshotDeleteInfoListNode = value["SnapshotDeleteInfoList"]["SnapshotDeleteInfo"]; + 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(); + snapshotDeleteInfoList_.push_back(snapshotDeleteInfoListObject); + } + if(!value["SuccessCount"].isNull()) + successCount_ = std::stoi(value["SuccessCount"].asString()); + if(!value["FailureCount"].isNull()) + failureCount_ = std::stoi(value["FailureCount"].asString()); + +} + +std::vector DeleteSnapshotFilesResult::getSnapshotDeleteInfoList()const +{ + return snapshotDeleteInfoList_; +} + +int DeleteSnapshotFilesResult::getFailureCount()const +{ + return failureCount_; +} + +int DeleteSnapshotFilesResult::getSuccessCount()const +{ + return successCount_; +} + diff --git a/live/src/model/DeleteStudioLayoutRequest.cc b/live/src/model/DeleteStudioLayoutRequest.cc index bdcd75070..b77067d49 100644 --- a/live/src/model/DeleteStudioLayoutRequest.cc +++ b/live/src/model/DeleteStudioLayoutRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DeleteStudioLayoutRequest; - -DeleteStudioLayoutRequest::DeleteStudioLayoutRequest() - : RpcServiceRequest("live", "2016-11-01", "DeleteStudioLayout") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DeleteStudioLayoutRequest::~DeleteStudioLayoutRequest() {} - -std::string DeleteStudioLayoutRequest::getLayoutId() const { - return layoutId_; +void DeleteStudioLayoutRequest::setLayoutId(const std::string& layoutId) +{ + layoutId_ = layoutId; + setParameter("LayoutId", layoutId); } -void DeleteStudioLayoutRequest::setLayoutId(const std::string &layoutId) { - layoutId_ = layoutId; - setParameter(std::string("LayoutId"), layoutId); +std::string DeleteStudioLayoutRequest::getCasterId()const +{ + return casterId_; } -std::string DeleteStudioLayoutRequest::getCasterId() const { - return casterId_; +void DeleteStudioLayoutRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void DeleteStudioLayoutRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long DeleteStudioLayoutRequest::getOwnerId()const +{ + return ownerId_; } -long DeleteStudioLayoutRequest::getOwnerId() const { - return ownerId_; -} - -void DeleteStudioLayoutRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DeleteStudioLayoutRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeAutoShowListTasksRequest.cc b/live/src/model/DescribeAutoShowListTasksRequest.cc index 012d46768..66f08d97d 100644 --- a/live/src/model/DescribeAutoShowListTasksRequest.cc +++ b/live/src/model/DescribeAutoShowListTasksRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DescribeAutoShowListTasksRequest; - -DescribeAutoShowListTasksRequest::DescribeAutoShowListTasksRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeAutoShowListTasks") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeAutoShowListTasksRequest::~DescribeAutoShowListTasksRequest() {} - -std::string DescribeAutoShowListTasksRequest::getCasterId() const { - return casterId_; +void DescribeAutoShowListTasksRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void DescribeAutoShowListTasksRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long DescribeAutoShowListTasksRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeAutoShowListTasksRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeAutoShowListTasksRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeAutoShowListTasksRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeCasterChannelsRequest.cc b/live/src/model/DescribeCasterChannelsRequest.cc index 11432b764..7da1c94c0 100644 --- a/live/src/model/DescribeCasterChannelsRequest.cc +++ b/live/src/model/DescribeCasterChannelsRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DescribeCasterChannelsRequest; - -DescribeCasterChannelsRequest::DescribeCasterChannelsRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeCasterChannels") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeCasterChannelsRequest::~DescribeCasterChannelsRequest() {} - -std::string DescribeCasterChannelsRequest::getCasterId() const { - return casterId_; +void DescribeCasterChannelsRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void DescribeCasterChannelsRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long DescribeCasterChannelsRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeCasterChannelsRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeCasterChannelsRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeCasterChannelsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeCasterChannelsResult.cc b/live/src/model/DescribeCasterChannelsResult.cc index 6ebe2fd73..1edc8746a 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 98d01471c..62018356b 100644 --- a/live/src/model/DescribeCasterComponentsRequest.cc +++ b/live/src/model/DescribeCasterComponentsRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeCasterComponentsRequest; - -DescribeCasterComponentsRequest::DescribeCasterComponentsRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeCasterComponents") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeCasterComponentsRequest::~DescribeCasterComponentsRequest() {} - -std::string DescribeCasterComponentsRequest::getComponentId() const { - return componentId_; +void DescribeCasterComponentsRequest::setComponentId(const std::string& componentId) +{ + componentId_ = componentId; + setParameter("ComponentId", componentId); } -void DescribeCasterComponentsRequest::setComponentId(const std::string &componentId) { - componentId_ = componentId; - setParameter(std::string("ComponentId"), componentId); +std::string DescribeCasterComponentsRequest::getCasterId()const +{ + return casterId_; } -std::string DescribeCasterComponentsRequest::getCasterId() const { - return casterId_; +void DescribeCasterComponentsRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void DescribeCasterComponentsRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long DescribeCasterComponentsRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeCasterComponentsRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeCasterComponentsRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeCasterComponentsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeCasterComponentsResult.cc b/live/src/model/DescribeCasterComponentsResult.cc index 02c6fc931..83332d675 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["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["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(); auto componentLayerNode = value["ComponentLayer"]; - 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["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()); auto allPositionNormalizeds = componentLayerNode["PositionNormalizeds"]["Position"]; for (auto value : allPositionNormalizeds) componentsObject.componentLayer.positionNormalizeds.push_back(value.asString()); auto textLayerContentNode = value["TextLayerContent"]; - if(!textLayerContentNode["Color"].isNull()) - componentsObject.textLayerContent.color = textLayerContentNode["Color"].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["Color"].isNull()) + componentsObject.textLayerContent.color = textLayerContentNode["Color"].asString(); if(!textLayerContentNode["FontName"].isNull()) componentsObject.textLayerContent.fontName = textLayerContentNode["FontName"].asString(); + if(!textLayerContentNode["SizeNormalized"].isNull()) + componentsObject.textLayerContent.sizeNormalized = std::stof(textLayerContentNode["SizeNormalized"].asString()); + if(!textLayerContentNode["BorderWidthNormalized"].isNull()) + componentsObject.textLayerContent.borderWidthNormalized = std::stof(textLayerContentNode["BorderWidthNormalized"].asString()); + if(!textLayerContentNode["BorderColor"].isNull()) + componentsObject.textLayerContent.borderColor = textLayerContentNode["BorderColor"].asString(); auto imageLayerContentNode = value["ImageLayerContent"]; if(!imageLayerContentNode["MaterialId"].isNull()) componentsObject.imageLayerContent.materialId = imageLayerContentNode["MaterialId"].asString(); auto captionLayerContentNode = value["CaptionLayerContent"]; - if(!captionLayerContentNode["Color"].isNull()) - componentsObject.captionLayerContent.color = captionLayerContentNode["Color"].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["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["SourceLan"].isNull()) + componentsObject.captionLayerContent.sourceLan = captionLayerContentNode["SourceLan"].asString(); + if(!captionLayerContentNode["TargetLan"].isNull()) + componentsObject.captionLayerContent.targetLan = captionLayerContentNode["TargetLan"].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["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()); + 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()); components_.push_back(componentsObject); } if(!value["Total"].isNull()) diff --git a/live/src/model/DescribeCasterConfigRequest.cc b/live/src/model/DescribeCasterConfigRequest.cc index e592165d2..3daa902aa 100644 --- a/live/src/model/DescribeCasterConfigRequest.cc +++ b/live/src/model/DescribeCasterConfigRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DescribeCasterConfigRequest; - -DescribeCasterConfigRequest::DescribeCasterConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeCasterConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeCasterConfigRequest::~DescribeCasterConfigRequest() {} - -std::string DescribeCasterConfigRequest::getCasterId() const { - return casterId_; +void DescribeCasterConfigRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void DescribeCasterConfigRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long DescribeCasterConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeCasterConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeCasterConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeCasterConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeCasterConfigResult.cc b/live/src/model/DescribeCasterConfigResult.cc index ee9ad4455..5eebe147f 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["HostResourceId"].isNull()) - syncGroupsConfigObject.hostResourceId = valueSyncGroupsConfigSyncGroup["HostResourceId"].asString(); if(!valueSyncGroupsConfigSyncGroup["Mode"].isNull()) syncGroupsConfigObject.mode = std::stoi(valueSyncGroupsConfigSyncGroup["Mode"].asString()); + if(!valueSyncGroupsConfigSyncGroup["HostResourceId"].isNull()) + syncGroupsConfigObject.hostResourceId = valueSyncGroupsConfigSyncGroup["HostResourceId"].asString(); auto allResourceIds = value["ResourceIds"]["ResourceId"]; for (auto value : allResourceIds) syncGroupsConfigObject.resourceIds.push_back(value.asString()); @@ -67,38 +67,38 @@ void DescribeCasterConfigResult::parse(const std::string &payload) for (auto recordConfigNodeRecordFormatRecordFormatItem : allRecordFormatNode) { RecordConfig::RecordFormatItem recordFormatItemObject; - 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(); + 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()); 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["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["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); if(!value["ChannelEnable"].isNull()) channelEnable_ = std::stoi(value["ChannelEnable"].asString()); - if(!value["SideOutputUrlList"].isNull()) - sideOutputUrlList_ = value["SideOutputUrlList"].asString(); - if(!value["SideOutputUrl"].isNull()) - sideOutputUrl_ = value["SideOutputUrl"].asString(); } @@ -112,16 +112,16 @@ std::string DescribeCasterConfigResult::getDomainName()const return domainName_; } -std::string DescribeCasterConfigResult::getUrgentMaterialId()const -{ - return urgentMaterialId_; -} - std::string DescribeCasterConfigResult::getSideOutputUrlList()const { return sideOutputUrlList_; } +std::string DescribeCasterConfigResult::getUrgentMaterialId()const +{ + return urgentMaterialId_; +} + DescribeCasterConfigResult::TranscodeConfig DescribeCasterConfigResult::getTranscodeConfig()const { return transcodeConfig_; @@ -137,16 +137,16 @@ float DescribeCasterConfigResult::getDelay()const return delay_; } -std::string DescribeCasterConfigResult::getCallbackUrl()const -{ - return callbackUrl_; -} - std::string DescribeCasterConfigResult::getSideOutputUrl()const { return sideOutputUrl_; } +std::string DescribeCasterConfigResult::getCallbackUrl()const +{ + return callbackUrl_; +} + std::string DescribeCasterConfigResult::getCasterName()const { return casterName_; diff --git a/live/src/model/DescribeCasterLayoutsRequest.cc b/live/src/model/DescribeCasterLayoutsRequest.cc index 05426cbc5..9bb0562b4 100644 --- a/live/src/model/DescribeCasterLayoutsRequest.cc +++ b/live/src/model/DescribeCasterLayoutsRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeCasterLayoutsRequest; - -DescribeCasterLayoutsRequest::DescribeCasterLayoutsRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeCasterLayouts") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeCasterLayoutsRequest::~DescribeCasterLayoutsRequest() {} - -std::string DescribeCasterLayoutsRequest::getLayoutId() const { - return layoutId_; +void DescribeCasterLayoutsRequest::setLayoutId(const std::string& layoutId) +{ + layoutId_ = layoutId; + setParameter("LayoutId", layoutId); } -void DescribeCasterLayoutsRequest::setLayoutId(const std::string &layoutId) { - layoutId_ = layoutId; - setParameter(std::string("LayoutId"), layoutId); +std::string DescribeCasterLayoutsRequest::getCasterId()const +{ + return casterId_; } -std::string DescribeCasterLayoutsRequest::getCasterId() const { - return casterId_; +void DescribeCasterLayoutsRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void DescribeCasterLayoutsRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long DescribeCasterLayoutsRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeCasterLayoutsRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeCasterLayoutsRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeCasterLayoutsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeCasterLayoutsResult.cc b/live/src/model/DescribeCasterLayoutsResult.cc index eebc486a8..8a61b19b3 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["WidthNormalized"].isNull()) - videoLayersObject.widthNormalized = std::stof(valueLayoutsLayoutVideoLayersVideoLayer["WidthNormalized"].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["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()); 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["FixedDelayDuration"].isNull()) - audioLayersObject.fixedDelayDuration = std::stoi(valueLayoutsLayoutAudioLayersAudioLayer["FixedDelayDuration"].asString()); if(!valueLayoutsLayoutAudioLayersAudioLayer["ValidChannel"].isNull()) audioLayersObject.validChannel = valueLayoutsLayoutAudioLayersAudioLayer["ValidChannel"].asString(); + if(!valueLayoutsLayoutAudioLayersAudioLayer["FixedDelayDuration"].isNull()) + audioLayersObject.fixedDelayDuration = std::stoi(valueLayoutsLayoutAudioLayersAudioLayer["FixedDelayDuration"].asString()); layoutsObject.audioLayers.push_back(audioLayersObject); } - 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()); + auto allMixList = value["MixList"]["LocationId"]; + for (auto value : allMixList) + layoutsObject.mixList.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 7c75ccb68..6d3e0442e 100644 --- a/live/src/model/DescribeCasterProgramRequest.cc +++ b/live/src/model/DescribeCasterProgramRequest.cc @@ -1,108 +1,128 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DescribeCasterProgramRequest::~DescribeCasterProgramRequest() {} - -std::string DescribeCasterProgramRequest::getStartTime() const { - return startTime_; +void DescribeCasterProgramRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeCasterProgramRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +int DescribeCasterProgramRequest::getPageNum()const +{ + return pageNum_; } -int DescribeCasterProgramRequest::getPageNum() const { - return pageNum_; +void DescribeCasterProgramRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); } -void DescribeCasterProgramRequest::setPageNum(int pageNum) { - pageNum_ = pageNum; - setParameter(std::string("PageNum"), std::to_string(pageNum)); +int DescribeCasterProgramRequest::getPageSize()const +{ + return pageSize_; } -int DescribeCasterProgramRequest::getPageSize() const { - return pageSize_; +void DescribeCasterProgramRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); } -void DescribeCasterProgramRequest::setPageSize(int pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); +std::string DescribeCasterProgramRequest::getCasterId()const +{ + return casterId_; } -std::string DescribeCasterProgramRequest::getCasterId() const { - return casterId_; +void DescribeCasterProgramRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void DescribeCasterProgramRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +std::string DescribeCasterProgramRequest::getEpisodeType()const +{ + return episodeType_; } -std::string DescribeCasterProgramRequest::getEpisodeType() const { - return episodeType_; +void DescribeCasterProgramRequest::setEpisodeType(const std::string& episodeType) +{ + episodeType_ = episodeType; + setParameter("EpisodeType", episodeType); } -void DescribeCasterProgramRequest::setEpisodeType(const std::string &episodeType) { - episodeType_ = episodeType; - setParameter(std::string("EpisodeType"), episodeType); +std::string DescribeCasterProgramRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeCasterProgramRequest::getEndTime() const { - return endTime_; +void DescribeCasterProgramRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeCasterProgramRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeCasterProgramRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeCasterProgramRequest::getOwnerId() const { - return ownerId_; +void DescribeCasterProgramRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeCasterProgramRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeCasterProgramRequest::getEpisodeId()const +{ + return episodeId_; } -std::string DescribeCasterProgramRequest::getEpisodeId() const { - return episodeId_; +void DescribeCasterProgramRequest::setEpisodeId(const std::string& episodeId) +{ + episodeId_ = episodeId; + setParameter("EpisodeId", episodeId); } -void DescribeCasterProgramRequest::setEpisodeId(const std::string &episodeId) { - episodeId_ = episodeId; - setParameter(std::string("EpisodeId"), episodeId); +int DescribeCasterProgramRequest::getStatus()const +{ + return status_; } -int DescribeCasterProgramRequest::getStatus() const { - return status_; -} - -void DescribeCasterProgramRequest::setStatus(int status) { - status_ = status; - setParameter(std::string("Status"), std::to_string(status)); +void DescribeCasterProgramRequest::setStatus(int status) +{ + status_ = status; + setParameter("Status", std::to_string(status)); } diff --git a/live/src/model/DescribeCasterProgramResult.cc b/live/src/model/DescribeCasterProgramResult.cc index 9f5ba660a..7129e5d54 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["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["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()); 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::getProgramName()const -{ - return programName_; -} - std::string DescribeCasterProgramResult::getCasterId()const { return casterId_; } +std::string DescribeCasterProgramResult::getProgramName()const +{ + return programName_; +} + diff --git a/live/src/model/DescribeCasterSceneAudioRequest.cc b/live/src/model/DescribeCasterSceneAudioRequest.cc index 4a633c646..05c9aa72e 100644 --- a/live/src/model/DescribeCasterSceneAudioRequest.cc +++ b/live/src/model/DescribeCasterSceneAudioRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeCasterSceneAudioRequest; - -DescribeCasterSceneAudioRequest::DescribeCasterSceneAudioRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeCasterSceneAudio") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeCasterSceneAudioRequest::~DescribeCasterSceneAudioRequest() {} - -std::string DescribeCasterSceneAudioRequest::getCasterId() const { - return casterId_; +void DescribeCasterSceneAudioRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void DescribeCasterSceneAudioRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long DescribeCasterSceneAudioRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeCasterSceneAudioRequest::getOwnerId() const { - return ownerId_; +void DescribeCasterSceneAudioRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeCasterSceneAudioRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeCasterSceneAudioRequest::getSceneId()const +{ + return sceneId_; } -std::string DescribeCasterSceneAudioRequest::getSceneId() const { - return sceneId_; -} - -void DescribeCasterSceneAudioRequest::setSceneId(const std::string &sceneId) { - sceneId_ = sceneId; - setParameter(std::string("SceneId"), sceneId); +void DescribeCasterSceneAudioRequest::setSceneId(const std::string& sceneId) +{ + sceneId_ = sceneId; + setParameter("SceneId", sceneId); } diff --git a/live/src/model/DescribeCasterSceneAudioResult.cc b/live/src/model/DescribeCasterSceneAudioResult.cc index f56042e39..3859bca0f 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["FixedDelayDuration"].isNull()) - audioLayersObject.fixedDelayDuration = std::stoi(valueAudioLayersAudioLayer["FixedDelayDuration"].asString()); if(!valueAudioLayersAudioLayer["ValidChannel"].isNull()) audioLayersObject.validChannel = valueAudioLayersAudioLayer["ValidChannel"].asString(); + if(!valueAudioLayersAudioLayer["FixedDelayDuration"].isNull()) + audioLayersObject.fixedDelayDuration = std::stoi(valueAudioLayersAudioLayer["FixedDelayDuration"].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 78ea364c7..88621deb5 100644 --- a/live/src/model/DescribeCasterScenesRequest.cc +++ b/live/src/model/DescribeCasterScenesRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeCasterScenesRequest; - -DescribeCasterScenesRequest::DescribeCasterScenesRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeCasterScenes") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeCasterScenesRequest::~DescribeCasterScenesRequest() {} - -std::string DescribeCasterScenesRequest::getCasterId() const { - return casterId_; +void DescribeCasterScenesRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void DescribeCasterScenesRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long DescribeCasterScenesRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeCasterScenesRequest::getOwnerId() const { - return ownerId_; +void DescribeCasterScenesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeCasterScenesRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeCasterScenesRequest::getSceneId()const +{ + return sceneId_; } -std::string DescribeCasterScenesRequest::getSceneId() const { - return sceneId_; -} - -void DescribeCasterScenesRequest::setSceneId(const std::string &sceneId) { - sceneId_ = sceneId; - setParameter(std::string("SceneId"), sceneId); +void DescribeCasterScenesRequest::setSceneId(const std::string& sceneId) +{ + sceneId_ = sceneId; + setParameter("SceneId", sceneId); } diff --git a/live/src/model/DescribeCasterScenesResult.cc b/live/src/model/DescribeCasterScenesResult.cc index 0b125beda..c864086a6 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 f9d3ee03a..654a755ae 100644 --- a/live/src/model/DescribeCasterStreamUrlRequest.cc +++ b/live/src/model/DescribeCasterStreamUrlRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DescribeCasterStreamUrlRequest; - -DescribeCasterStreamUrlRequest::DescribeCasterStreamUrlRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeCasterStreamUrl") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeCasterStreamUrlRequest::~DescribeCasterStreamUrlRequest() {} - -std::string DescribeCasterStreamUrlRequest::getCasterId() const { - return casterId_; +void DescribeCasterStreamUrlRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void DescribeCasterStreamUrlRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long DescribeCasterStreamUrlRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeCasterStreamUrlRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeCasterStreamUrlRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeCasterStreamUrlRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeCasterStreamUrlResult.cc b/live/src/model/DescribeCasterStreamUrlResult.cc index 895a205a6..8bf7d4a41 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["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(); + if(!valueCasterStreamsCasterStream["RtmpUrl"].isNull()) + casterStreamsObject.rtmpUrl = valueCasterStreamsCasterStream["RtmpUrl"].asString(); + if(!valueCasterStreamsCasterStream["RtsUrl"].isNull()) + casterStreamsObject.rtsUrl = valueCasterStreamsCasterStream["RtsUrl"].asString(); + if(!valueCasterStreamsCasterStream["OutputType"].isNull()) + casterStreamsObject.outputType = std::stoi(valueCasterStreamsCasterStream["OutputType"].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 f991038ad..eb9e6eab9 100644 --- a/live/src/model/DescribeCasterSyncGroupRequest.cc +++ b/live/src/model/DescribeCasterSyncGroupRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DescribeCasterSyncGroupRequest; - -DescribeCasterSyncGroupRequest::DescribeCasterSyncGroupRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeCasterSyncGroup") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeCasterSyncGroupRequest::~DescribeCasterSyncGroupRequest() {} - -std::string DescribeCasterSyncGroupRequest::getCasterId() const { - return casterId_; +void DescribeCasterSyncGroupRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void DescribeCasterSyncGroupRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long DescribeCasterSyncGroupRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeCasterSyncGroupRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeCasterSyncGroupRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeCasterSyncGroupRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeCasterSyncGroupResult.cc b/live/src/model/DescribeCasterSyncGroupResult.cc index 734452ec6..64c577883 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["HostResourceId"].isNull()) - syncGroupsObject.hostResourceId = valueSyncGroupsSyncGroup["HostResourceId"].asString(); if(!valueSyncGroupsSyncGroup["Mode"].isNull()) syncGroupsObject.mode = std::stoi(valueSyncGroupsSyncGroup["Mode"].asString()); + if(!valueSyncGroupsSyncGroup["HostResourceId"].isNull()) + syncGroupsObject.hostResourceId = valueSyncGroupsSyncGroup["HostResourceId"].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 f05d4c06f..8d6e8f7d6 100644 --- a/live/src/model/DescribeCasterVideoResourcesRequest.cc +++ b/live/src/model/DescribeCasterVideoResourcesRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DescribeCasterVideoResourcesRequest; - -DescribeCasterVideoResourcesRequest::DescribeCasterVideoResourcesRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeCasterVideoResources") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeCasterVideoResourcesRequest::~DescribeCasterVideoResourcesRequest() {} - -std::string DescribeCasterVideoResourcesRequest::getCasterId() const { - return casterId_; +void DescribeCasterVideoResourcesRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void DescribeCasterVideoResourcesRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long DescribeCasterVideoResourcesRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeCasterVideoResourcesRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeCasterVideoResourcesRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeCasterVideoResourcesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeCasterVideoResourcesResult.cc b/live/src/model/DescribeCasterVideoResourcesResult.cc index 84b4cddec..44b34219b 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["VodUrl"].isNull()) - videoResourcesObject.vodUrl = valueVideoResourcesVideoResource["VodUrl"].asString(); - if(!valueVideoResourcesVideoResource["ResourceId"].isNull()) - videoResourcesObject.resourceId = valueVideoResourcesVideoResource["ResourceId"].asString(); + if(!valueVideoResourcesVideoResource["FlvUrl"].isNull()) + videoResourcesObject.flvUrl = valueVideoResourcesVideoResource["FlvUrl"].asString(); if(!valueVideoResourcesVideoResource["RepeatNum"].isNull()) videoResourcesObject.repeatNum = std::stoi(valueVideoResourcesVideoResource["RepeatNum"].asString()); - if(!valueVideoResourcesVideoResource["ResourceName"].isNull()) - videoResourcesObject.resourceName = valueVideoResourcesVideoResource["ResourceName"].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()); videoResources_.push_back(videoResourcesObject); } if(!value["Total"].isNull()) diff --git a/live/src/model/DescribeCastersRequest.cc b/live/src/model/DescribeCastersRequest.cc index 9c28add61..97332136f 100644 --- a/live/src/model/DescribeCastersRequest.cc +++ b/live/src/model/DescribeCastersRequest.cc @@ -1,117 +1,139 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DescribeCastersRequest::~DescribeCastersRequest() {} - -std::string DescribeCastersRequest::getStartTime() const { - return startTime_; +void DescribeCastersRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeCastersRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +int DescribeCastersRequest::getPageNum()const +{ + return pageNum_; } -int DescribeCastersRequest::getPageNum() const { - return pageNum_; +void DescribeCastersRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); } -void DescribeCastersRequest::setPageNum(int pageNum) { - pageNum_ = pageNum; - setParameter(std::string("PageNum"), std::to_string(pageNum)); +std::string DescribeCastersRequest::getCasterName()const +{ + return casterName_; } -std::string DescribeCastersRequest::getCasterName() const { - return casterName_; +void DescribeCastersRequest::setCasterName(const std::string& casterName) +{ + casterName_ = casterName; + setParameter("CasterName", casterName); } -void DescribeCastersRequest::setCasterName(const std::string &casterName) { - casterName_ = casterName; - setParameter(std::string("CasterName"), casterName); +int DescribeCastersRequest::getPageSize()const +{ + return pageSize_; } -int DescribeCastersRequest::getPageSize() const { - return pageSize_; +void DescribeCastersRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); } -void DescribeCastersRequest::setPageSize(int pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); +std::string DescribeCastersRequest::getCasterId()const +{ + return casterId_; } -std::string DescribeCastersRequest::getCasterId() const { - return casterId_; +void DescribeCastersRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void DescribeCastersRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +std::string DescribeCastersRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeCastersRequest::getEndTime() const { - return endTime_; +void DescribeCastersRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeCastersRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeCastersRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeCastersRequest::getOwnerId() const { - return ownerId_; +void DescribeCastersRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeCastersRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeCastersRequest::getOrderByModifyAsc()const +{ + return orderByModifyAsc_; } -std::string DescribeCastersRequest::getOrderByModifyAsc() const { - return orderByModifyAsc_; +void DescribeCastersRequest::setOrderByModifyAsc(const std::string& orderByModifyAsc) +{ + orderByModifyAsc_ = orderByModifyAsc; + setParameter("OrderByModifyAsc", orderByModifyAsc); } -void DescribeCastersRequest::setOrderByModifyAsc(const std::string &orderByModifyAsc) { - orderByModifyAsc_ = orderByModifyAsc; - setParameter(std::string("OrderByModifyAsc"), orderByModifyAsc); +int DescribeCastersRequest::getChargeType()const +{ + return chargeType_; } -int DescribeCastersRequest::getChargeType() const { - return chargeType_; +void DescribeCastersRequest::setChargeType(int chargeType) +{ + chargeType_ = chargeType; + setParameter("ChargeType", std::to_string(chargeType)); } -void DescribeCastersRequest::setChargeType(int chargeType) { - chargeType_ = chargeType; - setParameter(std::string("ChargeType"), std::to_string(chargeType)); +int DescribeCastersRequest::getStatus()const +{ + return status_; } -int DescribeCastersRequest::getStatus() const { - return status_; -} - -void DescribeCastersRequest::setStatus(int status) { - status_ = status; - setParameter(std::string("Status"), std::to_string(status)); +void DescribeCastersRequest::setStatus(int status) +{ + status_ = status; + setParameter("Status", std::to_string(status)); } diff --git a/live/src/model/DescribeCastersResult.cc b/live/src/model/DescribeCastersResult.cc index 6964120e0..dbed47e8a 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 fd61f939e..22a36ca24 100644 --- a/live/src/model/DescribeDomainUsageDataRequest.cc +++ b/live/src/model/DescribeDomainUsageDataRequest.cc @@ -1,99 +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::DescribeDomainUsageDataRequest; - -DescribeDomainUsageDataRequest::DescribeDomainUsageDataRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeDomainUsageData") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeDomainUsageDataRequest::~DescribeDomainUsageDataRequest() {} - -std::string DescribeDomainUsageDataRequest::getStartTime() const { - return startTime_; +void DescribeDomainUsageDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeDomainUsageDataRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeDomainUsageDataRequest::getType()const +{ + return type_; } -std::string DescribeDomainUsageDataRequest::getType() const { - return type_; +void DescribeDomainUsageDataRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); } -void DescribeDomainUsageDataRequest::setType(const std::string &type) { - type_ = type; - setParameter(std::string("Type"), type); +std::string DescribeDomainUsageDataRequest::getArea()const +{ + return area_; } -std::string DescribeDomainUsageDataRequest::getArea() const { - return area_; +void DescribeDomainUsageDataRequest::setArea(const std::string& area) +{ + area_ = area; + setParameter("Area", area); } -void DescribeDomainUsageDataRequest::setArea(const std::string &area) { - area_ = area; - setParameter(std::string("Area"), area); +std::string DescribeDomainUsageDataRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeDomainUsageDataRequest::getDomainName() const { - return domainName_; +void DescribeDomainUsageDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeDomainUsageDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeDomainUsageDataRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeDomainUsageDataRequest::getEndTime() const { - return endTime_; +void DescribeDomainUsageDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeDomainUsageDataRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeDomainUsageDataRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeDomainUsageDataRequest::getOwnerId() const { - return ownerId_; +void DescribeDomainUsageDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeDomainUsageDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeDomainUsageDataRequest::getField()const +{ + return field_; } -std::string DescribeDomainUsageDataRequest::getField() const { - return field_; +void DescribeDomainUsageDataRequest::setField(const std::string& field) +{ + field_ = field; + setParameter("Field", field); } -void DescribeDomainUsageDataRequest::setField(const std::string &field) { - field_ = field; - setParameter(std::string("Field"), field); +std::string DescribeDomainUsageDataRequest::getInterval()const +{ + return interval_; } -std::string DescribeDomainUsageDataRequest::getInterval() const { - return interval_; -} - -void DescribeDomainUsageDataRequest::setInterval(const std::string &interval) { - interval_ = interval; - setParameter(std::string("Interval"), interval); +void DescribeDomainUsageDataRequest::setInterval(const std::string& interval) +{ + interval_ = interval; + setParameter("Interval", interval); } diff --git a/live/src/model/DescribeDomainUsageDataResult.cc b/live/src/model/DescribeDomainUsageDataResult.cc index 4c19713d0..808669e31 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["Value"].isNull()) - usageDataPerIntervalObject.value = valueUsageDataPerIntervalDataModule["Value"].asString(); if(!valueUsageDataPerIntervalDataModule["TimeStamp"].isNull()) usageDataPerIntervalObject.timeStamp = valueUsageDataPerIntervalDataModule["TimeStamp"].asString(); + if(!valueUsageDataPerIntervalDataModule["Value"].isNull()) + usageDataPerIntervalObject.value = valueUsageDataPerIntervalDataModule["Value"].asString(); usageDataPerInterval_.push_back(usageDataPerIntervalObject); } - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].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["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["Field"].isNull()) + field_ = value["Field"].asString(); + if(!value["Area"].isNull()) + area_ = value["Area"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/live/src/model/DescribeDomainWithIntegrityRequest.cc b/live/src/model/DescribeDomainWithIntegrityRequest.cc index ec4483027..5dd9c9cad 100644 --- a/live/src/model/DescribeDomainWithIntegrityRequest.cc +++ b/live/src/model/DescribeDomainWithIntegrityRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeDomainWithIntegrityRequest; - -DescribeDomainWithIntegrityRequest::DescribeDomainWithIntegrityRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeDomainWithIntegrity") { - setMethod(HttpRequest::Method::Get); + */ + +#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_; } -DescribeDomainWithIntegrityRequest::~DescribeDomainWithIntegrityRequest() {} - -std::string DescribeDomainWithIntegrityRequest::getStartTime() const { - return startTime_; +void DescribeDomainWithIntegrityRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeDomainWithIntegrityRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +float DescribeDomainWithIntegrityRequest::getIntegrity()const +{ + return integrity_; } -float DescribeDomainWithIntegrityRequest::getIntegrity() const { - return integrity_; +void DescribeDomainWithIntegrityRequest::setIntegrity(float integrity) +{ + integrity_ = integrity; + setParameter("Integrity", std::to_string(integrity)); } -void DescribeDomainWithIntegrityRequest::setIntegrity(float integrity) { - integrity_ = integrity; - setParameter(std::string("Integrity"), std::to_string(integrity)); +std::string DescribeDomainWithIntegrityRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeDomainWithIntegrityRequest::getEndTime() const { - return endTime_; +void DescribeDomainWithIntegrityRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeDomainWithIntegrityRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeDomainWithIntegrityRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeDomainWithIntegrityRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeDomainWithIntegrityRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeDomainWithIntegrityRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeDomainWithIntegrityResult.cc b/live/src/model/DescribeDomainWithIntegrityResult.cc index d6e6ec7d8..2d245ef84 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 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()); + auto allPoints = value["Points"]["points"]; + for (auto value : allPoints) + contentObject.points.push_back(value.asString()); content_.push_back(contentObject); } diff --git a/live/src/model/DescribeForbidPushStreamRoomListRequest.cc b/live/src/model/DescribeForbidPushStreamRoomListRequest.cc index be80312b0..ddcd378e8 100644 --- a/live/src/model/DescribeForbidPushStreamRoomListRequest.cc +++ b/live/src/model/DescribeForbidPushStreamRoomListRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeForbidPushStreamRoomListRequest; - -DescribeForbidPushStreamRoomListRequest::DescribeForbidPushStreamRoomListRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeForbidPushStreamRoomList") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeForbidPushStreamRoomListRequest::~DescribeForbidPushStreamRoomListRequest() {} - -int DescribeForbidPushStreamRoomListRequest::getPageNum() const { - return pageNum_; +void DescribeForbidPushStreamRoomListRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); } -void DescribeForbidPushStreamRoomListRequest::setPageNum(int pageNum) { - pageNum_ = pageNum; - setParameter(std::string("PageNum"), std::to_string(pageNum)); +int DescribeForbidPushStreamRoomListRequest::getPageSize()const +{ + return pageSize_; } -int DescribeForbidPushStreamRoomListRequest::getPageSize() const { - return pageSize_; +void DescribeForbidPushStreamRoomListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); } -void DescribeForbidPushStreamRoomListRequest::setPageSize(int pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); +std::string DescribeForbidPushStreamRoomListRequest::getOrder()const +{ + return order_; } -std::string DescribeForbidPushStreamRoomListRequest::getOrder() const { - return order_; +void DescribeForbidPushStreamRoomListRequest::setOrder(const std::string& order) +{ + order_ = order; + setParameter("Order", order); } -void DescribeForbidPushStreamRoomListRequest::setOrder(const std::string &order) { - order_ = order; - setParameter(std::string("Order"), order); +long DescribeForbidPushStreamRoomListRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeForbidPushStreamRoomListRequest::getOwnerId() const { - return ownerId_; +void DescribeForbidPushStreamRoomListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeForbidPushStreamRoomListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeForbidPushStreamRoomListRequest::getAppId()const +{ + return appId_; } -std::string DescribeForbidPushStreamRoomListRequest::getAppId() const { - return appId_; -} - -void DescribeForbidPushStreamRoomListRequest::setAppId(const std::string &appId) { - appId_ = appId; - setParameter(std::string("AppId"), appId); +void DescribeForbidPushStreamRoomListRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); } diff --git a/live/src/model/DescribeForbidPushStreamRoomListResult.cc b/live/src/model/DescribeForbidPushStreamRoomListResult.cc index 8b3fc8521..932b50c0e 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["OpEndTime"].isNull()) - roomListObject.opEndTime = valueRoomListRoom["OpEndTime"].asString(); + if(!valueRoomListRoom["RoomId"].isNull()) + roomListObject.roomId = valueRoomListRoom["RoomId"].asString(); if(!valueRoomListRoom["AnchorId"].isNull()) roomListObject.anchorId = valueRoomListRoom["AnchorId"].asString(); if(!valueRoomListRoom["OpStartTime"].isNull()) roomListObject.opStartTime = valueRoomListRoom["OpStartTime"].asString(); - if(!valueRoomListRoom["RoomId"].isNull()) - roomListObject.roomId = valueRoomListRoom["RoomId"].asString(); + if(!valueRoomListRoom["OpEndTime"].isNull()) + roomListObject.opEndTime = valueRoomListRoom["OpEndTime"].asString(); roomList_.push_back(roomListObject); } - if(!value["TotalPage"].isNull()) - totalPage_ = std::stoi(value["TotalPage"].asString()); if(!value["TotalNum"].isNull()) totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["TotalPage"].isNull()) + totalPage_ = std::stoi(value["TotalPage"].asString()); } diff --git a/live/src/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.cc b/live/src/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.cc index 382953319..79d35e966 100644 --- a/live/src/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.cc +++ b/live/src/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeHlsLiveStreamRealTimeBpsDataRequest; - -DescribeHlsLiveStreamRealTimeBpsDataRequest::DescribeHlsLiveStreamRealTimeBpsDataRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeHlsLiveStreamRealTimeBpsData") { - setMethod(HttpRequest::Method::Get); + */ + +#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_; } -DescribeHlsLiveStreamRealTimeBpsDataRequest::~DescribeHlsLiveStreamRealTimeBpsDataRequest() {} - -std::string DescribeHlsLiveStreamRealTimeBpsDataRequest::getDomainName() const { - return domainName_; +void DescribeHlsLiveStreamRealTimeBpsDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeHlsLiveStreamRealTimeBpsDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeHlsLiveStreamRealTimeBpsDataRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeHlsLiveStreamRealTimeBpsDataRequest::getOwnerId() const { - return ownerId_; +void DescribeHlsLiveStreamRealTimeBpsDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeHlsLiveStreamRealTimeBpsDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeHlsLiveStreamRealTimeBpsDataRequest::getTime()const +{ + return time_; } -std::string DescribeHlsLiveStreamRealTimeBpsDataRequest::getTime() const { - return time_; -} - -void DescribeHlsLiveStreamRealTimeBpsDataRequest::setTime(const std::string &time) { - time_ = time; - setParameter(std::string("Time"), time); +void DescribeHlsLiveStreamRealTimeBpsDataRequest::setTime(const std::string& time) +{ + time_ = time; + setParameter("Time", time); } diff --git a/live/src/model/DescribeLiveAudioAuditConfigRequest.cc b/live/src/model/DescribeLiveAudioAuditConfigRequest.cc index 3c23e9865..be028b06f 100644 --- a/live/src/model/DescribeLiveAudioAuditConfigRequest.cc +++ b/live/src/model/DescribeLiveAudioAuditConfigRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveAudioAuditConfigRequest; - -DescribeLiveAudioAuditConfigRequest::DescribeLiveAudioAuditConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveAudioAuditConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveAudioAuditConfigRequest::~DescribeLiveAudioAuditConfigRequest() {} - -std::string DescribeLiveAudioAuditConfigRequest::getAppName() const { - return appName_; +void DescribeLiveAudioAuditConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DescribeLiveAudioAuditConfigRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string DescribeLiveAudioAuditConfigRequest::getStreamName()const +{ + return streamName_; } -std::string DescribeLiveAudioAuditConfigRequest::getStreamName() const { - return streamName_; +void DescribeLiveAudioAuditConfigRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void DescribeLiveAudioAuditConfigRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string DescribeLiveAudioAuditConfigRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveAudioAuditConfigRequest::getDomainName() const { - return domainName_; +void DescribeLiveAudioAuditConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveAudioAuditConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveAudioAuditConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveAudioAuditConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveAudioAuditConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveAudioAuditConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveAudioAuditConfigResult.cc b/live/src/model/DescribeLiveAudioAuditConfigResult.cc index d31227ea5..733de7215 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["AppName"].isNull()) - liveAudioAuditConfigListObject.appName = valueLiveAudioAuditConfigListLiveAudioAuditConfig["AppName"].asString(); if(!valueLiveAudioAuditConfigListLiveAudioAuditConfig["DomainName"].isNull()) liveAudioAuditConfigListObject.domainName = valueLiveAudioAuditConfigListLiveAudioAuditConfig["DomainName"].asString(); + if(!valueLiveAudioAuditConfigListLiveAudioAuditConfig["AppName"].isNull()) + liveAudioAuditConfigListObject.appName = valueLiveAudioAuditConfigListLiveAudioAuditConfig["AppName"].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 a48b41cec..88a1a6622 100644 --- a/live/src/model/DescribeLiveAudioAuditNotifyConfigRequest.cc +++ b/live/src/model/DescribeLiveAudioAuditNotifyConfigRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DescribeLiveAudioAuditNotifyConfigRequest; - -DescribeLiveAudioAuditNotifyConfigRequest::DescribeLiveAudioAuditNotifyConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveAudioAuditNotifyConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveAudioAuditNotifyConfigRequest::~DescribeLiveAudioAuditNotifyConfigRequest() {} - -std::string DescribeLiveAudioAuditNotifyConfigRequest::getDomainName() const { - return domainName_; +void DescribeLiveAudioAuditNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveAudioAuditNotifyConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveAudioAuditNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveAudioAuditNotifyConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveAudioAuditNotifyConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveAudioAuditNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveAudioAuditNotifyConfigResult.cc b/live/src/model/DescribeLiveAudioAuditNotifyConfigResult.cc index 8e1118b2d..ec7cdc1d5 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 319fc462a..cec62872c 100644 --- a/live/src/model/DescribeLiveCertificateDetailRequest.cc +++ b/live/src/model/DescribeLiveCertificateDetailRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveCertificateDetailRequest; - -DescribeLiveCertificateDetailRequest::DescribeLiveCertificateDetailRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveCertificateDetail") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveCertificateDetailRequest::~DescribeLiveCertificateDetailRequest() {} - -std::string DescribeLiveCertificateDetailRequest::getCertName() const { - return certName_; +void DescribeLiveCertificateDetailRequest::setCertName(const std::string& certName) +{ + certName_ = certName; + setParameter("CertName", certName); } -void DescribeLiveCertificateDetailRequest::setCertName(const std::string &certName) { - certName_ = certName; - setParameter(std::string("CertName"), certName); +long DescribeLiveCertificateDetailRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveCertificateDetailRequest::getOwnerId() const { - return ownerId_; +void DescribeLiveCertificateDetailRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeLiveCertificateDetailRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeLiveCertificateDetailRequest::getSecurityToken()const +{ + return securityToken_; } -std::string DescribeLiveCertificateDetailRequest::getSecurityToken() const { - return securityToken_; -} - -void DescribeLiveCertificateDetailRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +void DescribeLiveCertificateDetailRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } diff --git a/live/src/model/DescribeLiveCertificateDetailResult.cc b/live/src/model/DescribeLiveCertificateDetailResult.cc index 3ba293ad9..98742cbd5 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::getCertName()const -{ - return certName_; -} - std::string DescribeLiveCertificateDetailResult::getCert()const { return cert_; } +std::string DescribeLiveCertificateDetailResult::getCertName()const +{ + return certName_; +} + diff --git a/live/src/model/DescribeLiveCertificateListRequest.cc b/live/src/model/DescribeLiveCertificateListRequest.cc index f92d8c447..8cb72cd79 100644 --- a/live/src/model/DescribeLiveCertificateListRequest.cc +++ b/live/src/model/DescribeLiveCertificateListRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveCertificateListRequest; - -DescribeLiveCertificateListRequest::DescribeLiveCertificateListRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveCertificateList") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveCertificateListRequest::~DescribeLiveCertificateListRequest() {} - -std::string DescribeLiveCertificateListRequest::getDomainName() const { - return domainName_; +void DescribeLiveCertificateListRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveCertificateListRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveCertificateListRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveCertificateListRequest::getOwnerId() const { - return ownerId_; +void DescribeLiveCertificateListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeLiveCertificateListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeLiveCertificateListRequest::getSecurityToken()const +{ + return securityToken_; } -std::string DescribeLiveCertificateListRequest::getSecurityToken() const { - return securityToken_; -} - -void DescribeLiveCertificateListRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +void DescribeLiveCertificateListRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } diff --git a/live/src/model/DescribeLiveCertificateListResult.cc b/live/src/model/DescribeLiveCertificateListResult.cc index e5291b886..437832bbe 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["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["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()); certificateListModel_.certList.push_back(certObject); } diff --git a/live/src/model/DescribeLiveDetectNotifyConfigRequest.cc b/live/src/model/DescribeLiveDetectNotifyConfigRequest.cc index 9ddd0757a..ed6377a21 100644 --- a/live/src/model/DescribeLiveDetectNotifyConfigRequest.cc +++ b/live/src/model/DescribeLiveDetectNotifyConfigRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDetectNotifyConfigRequest; - -DescribeLiveDetectNotifyConfigRequest::DescribeLiveDetectNotifyConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDetectNotifyConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveDetectNotifyConfigRequest::~DescribeLiveDetectNotifyConfigRequest() {} - -std::string DescribeLiveDetectNotifyConfigRequest::getSecurityToken() const { - return securityToken_; +void DescribeLiveDetectNotifyConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void DescribeLiveDetectNotifyConfigRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string DescribeLiveDetectNotifyConfigRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDetectNotifyConfigRequest::getDomainName() const { - return domainName_; +void DescribeLiveDetectNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDetectNotifyConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveDetectNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDetectNotifyConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveDetectNotifyConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveDetectNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDetectPornDataRequest.cc b/live/src/model/DescribeLiveDetectPornDataRequest.cc index 84b750c9d..cdf85e298 100644 --- a/live/src/model/DescribeLiveDetectPornDataRequest.cc +++ b/live/src/model/DescribeLiveDetectPornDataRequest.cc @@ -1,117 +1,139 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DescribeLiveDetectPornDataRequest::~DescribeLiveDetectPornDataRequest() {} - -std::string DescribeLiveDetectPornDataRequest::getFee() const { - return fee_; +void DescribeLiveDetectPornDataRequest::setFee(const std::string& fee) +{ + fee_ = fee; + setParameter("Fee", fee); } -void DescribeLiveDetectPornDataRequest::setFee(const std::string &fee) { - fee_ = fee; - setParameter(std::string("Fee"), fee); +std::string DescribeLiveDetectPornDataRequest::getStartTime()const +{ + return startTime_; } -std::string DescribeLiveDetectPornDataRequest::getStartTime() const { - return startTime_; +void DescribeLiveDetectPornDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveDetectPornDataRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveDetectPornDataRequest::getScene()const +{ + return scene_; } -std::string DescribeLiveDetectPornDataRequest::getScene() const { - return scene_; +void DescribeLiveDetectPornDataRequest::setScene(const std::string& scene) +{ + scene_ = scene; + setParameter("Scene", scene); } -void DescribeLiveDetectPornDataRequest::setScene(const std::string &scene) { - scene_ = scene; - setParameter(std::string("Scene"), scene); +std::string DescribeLiveDetectPornDataRequest::getStream()const +{ + return stream_; } -std::string DescribeLiveDetectPornDataRequest::getStream() const { - return stream_; +void DescribeLiveDetectPornDataRequest::setStream(const std::string& stream) +{ + stream_ = stream; + setParameter("Stream", stream); } -void DescribeLiveDetectPornDataRequest::setStream(const std::string &stream) { - stream_ = stream; - setParameter(std::string("Stream"), stream); +std::string DescribeLiveDetectPornDataRequest::getSplitBy()const +{ + return splitBy_; } -std::string DescribeLiveDetectPornDataRequest::getSplitBy() const { - return splitBy_; +void DescribeLiveDetectPornDataRequest::setSplitBy(const std::string& splitBy) +{ + splitBy_ = splitBy; + setParameter("SplitBy", splitBy); } -void DescribeLiveDetectPornDataRequest::setSplitBy(const std::string &splitBy) { - splitBy_ = splitBy; - setParameter(std::string("SplitBy"), splitBy); +std::string DescribeLiveDetectPornDataRequest::getApp()const +{ + return app_; } -std::string DescribeLiveDetectPornDataRequest::getApp() const { - return app_; +void DescribeLiveDetectPornDataRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); } -void DescribeLiveDetectPornDataRequest::setApp(const std::string &app) { - app_ = app; - setParameter(std::string("App"), app); +std::string DescribeLiveDetectPornDataRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDetectPornDataRequest::getDomainName() const { - return domainName_; +void DescribeLiveDetectPornDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDetectPornDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveDetectPornDataRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveDetectPornDataRequest::getEndTime() const { - return endTime_; +void DescribeLiveDetectPornDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveDetectPornDataRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveDetectPornDataRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDetectPornDataRequest::getOwnerId() const { - return ownerId_; +void DescribeLiveDetectPornDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeLiveDetectPornDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeLiveDetectPornDataRequest::getRegion()const +{ + return region_; } -std::string DescribeLiveDetectPornDataRequest::getRegion() const { - return region_; -} - -void DescribeLiveDetectPornDataRequest::setRegion(const std::string ®ion) { - region_ = region; - setParameter(std::string("Region"), region); +void DescribeLiveDetectPornDataRequest::setRegion(const std::string& region) +{ + region_ = region; + setParameter("Region", region); } diff --git a/live/src/model/DescribeLiveDetectPornDataResult.cc b/live/src/model/DescribeLiveDetectPornDataResult.cc index 4f3be494e..202048c5d 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["Domain"].isNull()) - detectPornDataObject.domain = valueDetectPornDataDataModule["Domain"].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["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["Count"].isNull()) + detectPornDataObject.count = std::stol(valueDetectPornDataDataModule["Count"].asString()); detectPornData_.push_back(detectPornDataObject); } diff --git a/live/src/model/DescribeLiveDomainBpsDataByLayerRequest.cc b/live/src/model/DescribeLiveDomainBpsDataByLayerRequest.cc index fe83ee12c..f17fdb416 100644 --- a/live/src/model/DescribeLiveDomainBpsDataByLayerRequest.cc +++ b/live/src/model/DescribeLiveDomainBpsDataByLayerRequest.cc @@ -1,99 +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::DescribeLiveDomainBpsDataByLayerRequest; - -DescribeLiveDomainBpsDataByLayerRequest::DescribeLiveDomainBpsDataByLayerRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainBpsDataByLayer") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveDomainBpsDataByLayerRequest::~DescribeLiveDomainBpsDataByLayerRequest() {} - -std::string DescribeLiveDomainBpsDataByLayerRequest::getLocationNameEn() const { - return locationNameEn_; +void DescribeLiveDomainBpsDataByLayerRequest::setLocationNameEn(const std::string& locationNameEn) +{ + locationNameEn_ = locationNameEn; + setParameter("LocationNameEn", locationNameEn); } -void DescribeLiveDomainBpsDataByLayerRequest::setLocationNameEn(const std::string &locationNameEn) { - locationNameEn_ = locationNameEn; - setParameter(std::string("LocationNameEn"), locationNameEn); +std::string DescribeLiveDomainBpsDataByLayerRequest::getStartTime()const +{ + return startTime_; } -std::string DescribeLiveDomainBpsDataByLayerRequest::getStartTime() const { - return startTime_; +void DescribeLiveDomainBpsDataByLayerRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveDomainBpsDataByLayerRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveDomainBpsDataByLayerRequest::getIspNameEn()const +{ + return ispNameEn_; } -std::string DescribeLiveDomainBpsDataByLayerRequest::getIspNameEn() const { - return ispNameEn_; +void DescribeLiveDomainBpsDataByLayerRequest::setIspNameEn(const std::string& ispNameEn) +{ + ispNameEn_ = ispNameEn; + setParameter("IspNameEn", ispNameEn); } -void DescribeLiveDomainBpsDataByLayerRequest::setIspNameEn(const std::string &ispNameEn) { - ispNameEn_ = ispNameEn; - setParameter(std::string("IspNameEn"), ispNameEn); +std::string DescribeLiveDomainBpsDataByLayerRequest::getLayer()const +{ + return layer_; } -std::string DescribeLiveDomainBpsDataByLayerRequest::getLayer() const { - return layer_; +void DescribeLiveDomainBpsDataByLayerRequest::setLayer(const std::string& layer) +{ + layer_ = layer; + setParameter("Layer", layer); } -void DescribeLiveDomainBpsDataByLayerRequest::setLayer(const std::string &layer) { - layer_ = layer; - setParameter(std::string("Layer"), layer); +std::string DescribeLiveDomainBpsDataByLayerRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDomainBpsDataByLayerRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainBpsDataByLayerRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainBpsDataByLayerRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveDomainBpsDataByLayerRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveDomainBpsDataByLayerRequest::getEndTime() const { - return endTime_; +void DescribeLiveDomainBpsDataByLayerRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveDomainBpsDataByLayerRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveDomainBpsDataByLayerRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainBpsDataByLayerRequest::getOwnerId() const { - return ownerId_; +void DescribeLiveDomainBpsDataByLayerRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeLiveDomainBpsDataByLayerRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeLiveDomainBpsDataByLayerRequest::getInterval()const +{ + return interval_; } -std::string DescribeLiveDomainBpsDataByLayerRequest::getInterval() const { - return interval_; -} - -void DescribeLiveDomainBpsDataByLayerRequest::setInterval(const std::string &interval) { - interval_ = interval; - setParameter(std::string("Interval"), interval); +void DescribeLiveDomainBpsDataByLayerRequest::setInterval(const std::string& interval) +{ + interval_ = interval; + setParameter("Interval", interval); } diff --git a/live/src/model/DescribeLiveDomainBpsDataByLayerResult.cc b/live/src/model/DescribeLiveDomainBpsDataByLayerResult.cc index 6d6077ce0..9a3299542 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 ac8ece54e..a1956ccc0 100644 --- a/live/src/model/DescribeLiveDomainBpsDataByTimeStampRequest.cc +++ b/live/src/model/DescribeLiveDomainBpsDataByTimeStampRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainBpsDataByTimeStampRequest; - -DescribeLiveDomainBpsDataByTimeStampRequest::DescribeLiveDomainBpsDataByTimeStampRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainBpsDataByTimeStamp") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveDomainBpsDataByTimeStampRequest::~DescribeLiveDomainBpsDataByTimeStampRequest() {} - -std::string DescribeLiveDomainBpsDataByTimeStampRequest::getLocationNames() const { - return locationNames_; +void DescribeLiveDomainBpsDataByTimeStampRequest::setLocationNames(const std::string& locationNames) +{ + locationNames_ = locationNames; + setParameter("LocationNames", locationNames); } -void DescribeLiveDomainBpsDataByTimeStampRequest::setLocationNames(const std::string &locationNames) { - locationNames_ = locationNames; - setParameter(std::string("LocationNames"), locationNames); +std::string DescribeLiveDomainBpsDataByTimeStampRequest::getIspNames()const +{ + return ispNames_; } -std::string DescribeLiveDomainBpsDataByTimeStampRequest::getIspNames() const { - return ispNames_; +void DescribeLiveDomainBpsDataByTimeStampRequest::setIspNames(const std::string& ispNames) +{ + ispNames_ = ispNames; + setParameter("IspNames", ispNames); } -void DescribeLiveDomainBpsDataByTimeStampRequest::setIspNames(const std::string &ispNames) { - ispNames_ = ispNames; - setParameter(std::string("IspNames"), ispNames); +std::string DescribeLiveDomainBpsDataByTimeStampRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDomainBpsDataByTimeStampRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainBpsDataByTimeStampRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainBpsDataByTimeStampRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveDomainBpsDataByTimeStampRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainBpsDataByTimeStampRequest::getOwnerId() const { - return ownerId_; +void DescribeLiveDomainBpsDataByTimeStampRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeLiveDomainBpsDataByTimeStampRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeLiveDomainBpsDataByTimeStampRequest::getTimePoint()const +{ + return timePoint_; } -std::string DescribeLiveDomainBpsDataByTimeStampRequest::getTimePoint() const { - return timePoint_; -} - -void DescribeLiveDomainBpsDataByTimeStampRequest::setTimePoint(const std::string &timePoint) { - timePoint_ = timePoint; - setParameter(std::string("TimePoint"), timePoint); +void DescribeLiveDomainBpsDataByTimeStampRequest::setTimePoint(const std::string& timePoint) +{ + timePoint_ = timePoint; + setParameter("TimePoint", timePoint); } diff --git a/live/src/model/DescribeLiveDomainBpsDataByTimeStampResult.cc b/live/src/model/DescribeLiveDomainBpsDataByTimeStampResult.cc index 473aa1e74..406aa253e 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["LocationName"].isNull()) - bpsDataListObject.locationName = valueBpsDataListBpsDataModel["LocationName"].asString(); if(!valueBpsDataListBpsDataModel["TimeStamp"].isNull()) bpsDataListObject.timeStamp = valueBpsDataListBpsDataModel["TimeStamp"].asString(); + if(!valueBpsDataListBpsDataModel["LocationName"].isNull()) + bpsDataListObject.locationName = valueBpsDataListBpsDataModel["LocationName"].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["TimeStamp"].isNull()) - timeStamp_ = value["TimeStamp"].asString(); if(!value["DomainName"].isNull()) domainName_ = value["DomainName"].asString(); + if(!value["TimeStamp"].isNull()) + timeStamp_ = value["TimeStamp"].asString(); } diff --git a/live/src/model/DescribeLiveDomainBpsDataRequest.cc b/live/src/model/DescribeLiveDomainBpsDataRequest.cc index abdb2d6e4..5b063e9f3 100644 --- a/live/src/model/DescribeLiveDomainBpsDataRequest.cc +++ b/live/src/model/DescribeLiveDomainBpsDataRequest.cc @@ -1,90 +1,106 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainBpsDataRequest; - -DescribeLiveDomainBpsDataRequest::DescribeLiveDomainBpsDataRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainBpsData") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveDomainBpsDataRequest::~DescribeLiveDomainBpsDataRequest() {} - -std::string DescribeLiveDomainBpsDataRequest::getLocationNameEn() const { - return locationNameEn_; +void DescribeLiveDomainBpsDataRequest::setLocationNameEn(const std::string& locationNameEn) +{ + locationNameEn_ = locationNameEn; + setParameter("LocationNameEn", locationNameEn); } -void DescribeLiveDomainBpsDataRequest::setLocationNameEn(const std::string &locationNameEn) { - locationNameEn_ = locationNameEn; - setParameter(std::string("LocationNameEn"), locationNameEn); +std::string DescribeLiveDomainBpsDataRequest::getStartTime()const +{ + return startTime_; } -std::string DescribeLiveDomainBpsDataRequest::getStartTime() const { - return startTime_; +void DescribeLiveDomainBpsDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveDomainBpsDataRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveDomainBpsDataRequest::getIspNameEn()const +{ + return ispNameEn_; } -std::string DescribeLiveDomainBpsDataRequest::getIspNameEn() const { - return ispNameEn_; +void DescribeLiveDomainBpsDataRequest::setIspNameEn(const std::string& ispNameEn) +{ + ispNameEn_ = ispNameEn; + setParameter("IspNameEn", ispNameEn); } -void DescribeLiveDomainBpsDataRequest::setIspNameEn(const std::string &ispNameEn) { - ispNameEn_ = ispNameEn; - setParameter(std::string("IspNameEn"), ispNameEn); +std::string DescribeLiveDomainBpsDataRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDomainBpsDataRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainBpsDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainBpsDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveDomainBpsDataRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveDomainBpsDataRequest::getEndTime() const { - return endTime_; +void DescribeLiveDomainBpsDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveDomainBpsDataRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveDomainBpsDataRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainBpsDataRequest::getOwnerId() const { - return ownerId_; +void DescribeLiveDomainBpsDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeLiveDomainBpsDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeLiveDomainBpsDataRequest::getInterval()const +{ + return interval_; } -std::string DescribeLiveDomainBpsDataRequest::getInterval() const { - return interval_; -} - -void DescribeLiveDomainBpsDataRequest::setInterval(const std::string &interval) { - interval_ = interval; - setParameter(std::string("Interval"), interval); +void DescribeLiveDomainBpsDataRequest::setInterval(const std::string& interval) +{ + interval_ = interval; + setParameter("Interval", interval); } diff --git a/live/src/model/DescribeLiveDomainBpsDataResult.cc b/live/src/model/DescribeLiveDomainBpsDataResult.cc index 7f9b85613..affe84f8e 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["BpsValue"].isNull()) - bpsDataPerIntervalObject.bpsValue = valueBpsDataPerIntervalDataModule["BpsValue"].asString(); if(!valueBpsDataPerIntervalDataModule["TimeStamp"].isNull()) bpsDataPerIntervalObject.timeStamp = valueBpsDataPerIntervalDataModule["TimeStamp"].asString(); - if(!valueBpsDataPerIntervalDataModule["HttpsBpsValue"].isNull()) - bpsDataPerIntervalObject.httpsBpsValue = valueBpsDataPerIntervalDataModule["HttpsBpsValue"].asString(); + if(!valueBpsDataPerIntervalDataModule["BpsValue"].isNull()) + bpsDataPerIntervalObject.bpsValue = valueBpsDataPerIntervalDataModule["BpsValue"].asString(); if(!valueBpsDataPerIntervalDataModule["HttpBpsValue"].isNull()) bpsDataPerIntervalObject.httpBpsValue = valueBpsDataPerIntervalDataModule["HttpBpsValue"].asString(); + if(!valueBpsDataPerIntervalDataModule["HttpsBpsValue"].isNull()) + bpsDataPerIntervalObject.httpsBpsValue = valueBpsDataPerIntervalDataModule["HttpsBpsValue"].asString(); bpsDataPerInterval_.push_back(bpsDataPerIntervalObject); } - 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["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/live/src/model/DescribeLiveDomainCertificateInfoRequest.cc b/live/src/model/DescribeLiveDomainCertificateInfoRequest.cc index b9728d3d6..bbffb785f 100644 --- a/live/src/model/DescribeLiveDomainCertificateInfoRequest.cc +++ b/live/src/model/DescribeLiveDomainCertificateInfoRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DescribeLiveDomainCertificateInfoRequest; - -DescribeLiveDomainCertificateInfoRequest::DescribeLiveDomainCertificateInfoRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainCertificateInfo") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveDomainCertificateInfoRequest::~DescribeLiveDomainCertificateInfoRequest() {} - -std::string DescribeLiveDomainCertificateInfoRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainCertificateInfoRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainCertificateInfoRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveDomainCertificateInfoRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainCertificateInfoRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveDomainCertificateInfoRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveDomainCertificateInfoRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainCertificateInfoResult.cc b/live/src/model/DescribeLiveDomainCertificateInfoResult.cc index 638f1d5c9..3ebe45529 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["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(); + 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["SSLPub"].isNull()) + certInfosObject.sSLPub = valueCertInfosCertInfo["SSLPub"].asString(); certInfos_.push_back(certInfosObject); } diff --git a/live/src/model/DescribeLiveDomainConfigsRequest.cc b/live/src/model/DescribeLiveDomainConfigsRequest.cc index 5c2678f73..f9370822b 100644 --- a/live/src/model/DescribeLiveDomainConfigsRequest.cc +++ b/live/src/model/DescribeLiveDomainConfigsRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainConfigsRequest; - -DescribeLiveDomainConfigsRequest::DescribeLiveDomainConfigsRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainConfigs") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveDomainConfigsRequest::~DescribeLiveDomainConfigsRequest() {} - -std::string DescribeLiveDomainConfigsRequest::getFunctionNames() const { - return functionNames_; +void DescribeLiveDomainConfigsRequest::setFunctionNames(const std::string& functionNames) +{ + functionNames_ = functionNames; + setParameter("FunctionNames", functionNames); } -void DescribeLiveDomainConfigsRequest::setFunctionNames(const std::string &functionNames) { - functionNames_ = functionNames; - setParameter(std::string("FunctionNames"), functionNames); +std::string DescribeLiveDomainConfigsRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDomainConfigsRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainConfigsRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainConfigsRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveDomainConfigsRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainConfigsRequest::getOwnerId() const { - return ownerId_; +void DescribeLiveDomainConfigsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeLiveDomainConfigsRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeLiveDomainConfigsRequest::getSecurityToken()const +{ + return securityToken_; } -std::string DescribeLiveDomainConfigsRequest::getSecurityToken() const { - return securityToken_; -} - -void DescribeLiveDomainConfigsRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +void DescribeLiveDomainConfigsRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } diff --git a/live/src/model/DescribeLiveDomainConfigsResult.cc b/live/src/model/DescribeLiveDomainConfigsResult.cc index 7aa6d082f..deb6163a7 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["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(); + if(!valueDomainConfigsDomainConfig["ConfigId"].isNull()) + domainConfigsObject.configId = valueDomainConfigsDomainConfig["ConfigId"].asString(); + if(!valueDomainConfigsDomainConfig["Status"].isNull()) + domainConfigsObject.status = valueDomainConfigsDomainConfig["Status"].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 2de706267..d6483667d 100644 --- a/live/src/model/DescribeLiveDomainDetailRequest.cc +++ b/live/src/model/DescribeLiveDomainDetailRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainDetailRequest; - -DescribeLiveDomainDetailRequest::DescribeLiveDomainDetailRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainDetail") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveDomainDetailRequest::~DescribeLiveDomainDetailRequest() {} - -std::string DescribeLiveDomainDetailRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainDetailRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainDetailRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveDomainDetailRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainDetailRequest::getOwnerId() const { - return ownerId_; +void DescribeLiveDomainDetailRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeLiveDomainDetailRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeLiveDomainDetailRequest::getSecurityToken()const +{ + return securityToken_; } -std::string DescribeLiveDomainDetailRequest::getSecurityToken() const { - return securityToken_; -} - -void DescribeLiveDomainDetailRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +void DescribeLiveDomainDetailRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } diff --git a/live/src/model/DescribeLiveDomainDetailResult.cc b/live/src/model/DescribeLiveDomainDetailResult.cc index ae7f90f09..fb4877ce3 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["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["GmtModified"].isNull()) + domainDetail_.gmtModified = domainDetailNode["GmtModified"].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 0dd56d3e7..4efcb4323 100644 --- a/live/src/model/DescribeLiveDomainFrameRateAndBitRateDataRequest.cc +++ b/live/src/model/DescribeLiveDomainFrameRateAndBitRateDataRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainFrameRateAndBitRateDataRequest; - -DescribeLiveDomainFrameRateAndBitRateDataRequest::DescribeLiveDomainFrameRateAndBitRateDataRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainFrameRateAndBitRateData") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveDomainFrameRateAndBitRateDataRequest::~DescribeLiveDomainFrameRateAndBitRateDataRequest() {} - -std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getQueryTime() const { - return queryTime_; +void DescribeLiveDomainFrameRateAndBitRateDataRequest::setQueryTime(const std::string& queryTime) +{ + queryTime_ = queryTime; + setParameter("QueryTime", queryTime); } -void DescribeLiveDomainFrameRateAndBitRateDataRequest::setQueryTime(const std::string &queryTime) { - queryTime_ = queryTime; - setParameter(std::string("QueryTime"), queryTime); +std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDomainFrameRateAndBitRateDataRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainFrameRateAndBitRateDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainFrameRateAndBitRateDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveDomainFrameRateAndBitRateDataRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainFrameRateAndBitRateDataRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveDomainFrameRateAndBitRateDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveDomainFrameRateAndBitRateDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainFrameRateAndBitRateDataResult.cc b/live/src/model/DescribeLiveDomainFrameRateAndBitRateDataResult.cc index 122397ab6..192508407 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["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()); + if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["VideoFrameRate"].isNull()) + frameRateAndBitRateInfosObject.videoFrameRate = std::stof(valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["VideoFrameRate"].asString()); + if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["StreamUrl"].isNull()) + frameRateAndBitRateInfosObject.streamUrl = valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["StreamUrl"].asString(); frameRateAndBitRateInfos_.push_back(frameRateAndBitRateInfosObject); } diff --git a/live/src/model/DescribeLiveDomainLimitRequest.cc b/live/src/model/DescribeLiveDomainLimitRequest.cc index ff93235ce..849777e40 100644 --- a/live/src/model/DescribeLiveDomainLimitRequest.cc +++ b/live/src/model/DescribeLiveDomainLimitRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainLimitRequest; - -DescribeLiveDomainLimitRequest::DescribeLiveDomainLimitRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainLimit") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveDomainLimitRequest::~DescribeLiveDomainLimitRequest() {} - -std::string DescribeLiveDomainLimitRequest::getLiveapiRequestFrom() const { - return liveapiRequestFrom_; +void DescribeLiveDomainLimitRequest::setLiveapiRequestFrom(const std::string& liveapiRequestFrom) +{ + liveapiRequestFrom_ = liveapiRequestFrom; + setParameter("LiveapiRequestFrom", liveapiRequestFrom); } -void DescribeLiveDomainLimitRequest::setLiveapiRequestFrom(const std::string &liveapiRequestFrom) { - liveapiRequestFrom_ = liveapiRequestFrom; - setParameter(std::string("LiveapiRequestFrom"), liveapiRequestFrom); +std::string DescribeLiveDomainLimitRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDomainLimitRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainLimitRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainLimitRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveDomainLimitRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainLimitRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveDomainLimitRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveDomainLimitRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainLimitResult.cc b/live/src/model/DescribeLiveDomainLimitResult.cc index e2d58680b..1a74d9adf 100644 --- a/live/src/model/DescribeLiveDomainLimitResult.cc +++ b/live/src/model/DescribeLiveDomainLimitResult.cc @@ -43,12 +43,12 @@ void DescribeLiveDomainLimitResult::parse(const std::string &payload) for (auto valueLiveDomainLimitListLiveDomainLimit : allLiveDomainLimitListNode) { LiveDomainLimit liveDomainLimitListObject; - if(!valueLiveDomainLimitListLiveDomainLimit["LimitTranscodeNum"].isNull()) - liveDomainLimitListObject.limitTranscodeNum = std::stoi(valueLiveDomainLimitListLiveDomainLimit["LimitTranscodeNum"].asString()); 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()); liveDomainLimitList_.push_back(liveDomainLimitListObject); } diff --git a/live/src/model/DescribeLiveDomainLogRequest.cc b/live/src/model/DescribeLiveDomainLogRequest.cc index de28fc0c5..3b57e0784 100644 --- a/live/src/model/DescribeLiveDomainLogRequest.cc +++ b/live/src/model/DescribeLiveDomainLogRequest.cc @@ -1,81 +1,95 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DescribeLiveDomainLogRequest::~DescribeLiveDomainLogRequest() {} - -std::string DescribeLiveDomainLogRequest::getStartTime() const { - return startTime_; +void DescribeLiveDomainLogRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveDomainLogRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +long DescribeLiveDomainLogRequest::getPageNumber()const +{ + return pageNumber_; } -long DescribeLiveDomainLogRequest::getPageNumber() const { - return pageNumber_; +void DescribeLiveDomainLogRequest::setPageNumber(long pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); } -void DescribeLiveDomainLogRequest::setPageNumber(long pageNumber) { - pageNumber_ = pageNumber; - setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +long DescribeLiveDomainLogRequest::getPageSize()const +{ + return pageSize_; } -long DescribeLiveDomainLogRequest::getPageSize() const { - return pageSize_; +void DescribeLiveDomainLogRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); } -void DescribeLiveDomainLogRequest::setPageSize(long pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); +std::string DescribeLiveDomainLogRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDomainLogRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainLogRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainLogRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveDomainLogRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveDomainLogRequest::getEndTime() const { - return endTime_; +void DescribeLiveDomainLogRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveDomainLogRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveDomainLogRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainLogRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveDomainLogRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveDomainLogRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainLogResult.cc b/live/src/model/DescribeLiveDomainLogResult.cc index 377e933cd..4a839ffd4 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["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["LogName"].isNull()) logInfosObject.logName = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogName"].asString(); if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogPath"].isNull()) logInfosObject.logPath = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogPath"].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(); domainLogDetailsObject.logInfos.push_back(logInfosObject); } auto pageInfosNode = value["PageInfos"]; diff --git a/live/src/model/DescribeLiveDomainMappingRequest.cc b/live/src/model/DescribeLiveDomainMappingRequest.cc index a7f07af80..872fc2c36 100644 --- a/live/src/model/DescribeLiveDomainMappingRequest.cc +++ b/live/src/model/DescribeLiveDomainMappingRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DescribeLiveDomainMappingRequest; - -DescribeLiveDomainMappingRequest::DescribeLiveDomainMappingRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainMapping") { - setMethod(HttpRequest::Method::Get); + */ + +#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_; } -DescribeLiveDomainMappingRequest::~DescribeLiveDomainMappingRequest() {} - -std::string DescribeLiveDomainMappingRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainMappingRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainMappingRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveDomainMappingRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainMappingRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveDomainMappingRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveDomainMappingRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainMappingResult.cc b/live/src/model/DescribeLiveDomainMappingResult.cc index 374b1cf42..ae9c6a75a 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["Type"].isNull()) - liveDomainModelsObject.type = valueLiveDomainModelsLiveDomainModel["Type"].asString(); if(!valueLiveDomainModelsLiveDomainModel["DomainName"].isNull()) liveDomainModelsObject.domainName = valueLiveDomainModelsLiveDomainModel["DomainName"].asString(); + if(!valueLiveDomainModelsLiveDomainModel["Type"].isNull()) + liveDomainModelsObject.type = valueLiveDomainModelsLiveDomainModel["Type"].asString(); liveDomainModels_.push_back(liveDomainModelsObject); } diff --git a/live/src/model/DescribeLiveDomainOnlineUserNumRequest.cc b/live/src/model/DescribeLiveDomainOnlineUserNumRequest.cc index 7c5309b0b..673497a3f 100644 --- a/live/src/model/DescribeLiveDomainOnlineUserNumRequest.cc +++ b/live/src/model/DescribeLiveDomainOnlineUserNumRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainOnlineUserNumRequest; - -DescribeLiveDomainOnlineUserNumRequest::DescribeLiveDomainOnlineUserNumRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainOnlineUserNum") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveDomainOnlineUserNumRequest::~DescribeLiveDomainOnlineUserNumRequest() {} - -std::string DescribeLiveDomainOnlineUserNumRequest::getQueryTime() const { - return queryTime_; +void DescribeLiveDomainOnlineUserNumRequest::setQueryTime(const std::string& queryTime) +{ + queryTime_ = queryTime; + setParameter("QueryTime", queryTime); } -void DescribeLiveDomainOnlineUserNumRequest::setQueryTime(const std::string &queryTime) { - queryTime_ = queryTime; - setParameter(std::string("QueryTime"), queryTime); +std::string DescribeLiveDomainOnlineUserNumRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDomainOnlineUserNumRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainOnlineUserNumRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainOnlineUserNumRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveDomainOnlineUserNumRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainOnlineUserNumRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveDomainOnlineUserNumRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveDomainOnlineUserNumRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainOnlineUserNumResult.cc b/live/src/model/DescribeLiveDomainOnlineUserNumResult.cc index d08696592..c83065076 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["UserNumber"].isNull()) - infosObject.userNumber = std::stol(valueOnlineUserInfoLiveStreamOnlineUserNumInfoInfosInfo["UserNumber"].asString()); if(!valueOnlineUserInfoLiveStreamOnlineUserNumInfoInfosInfo["TranscodeTemplate"].isNull()) infosObject.transcodeTemplate = valueOnlineUserInfoLiveStreamOnlineUserNumInfoInfosInfo["TranscodeTemplate"].asString(); + if(!valueOnlineUserInfoLiveStreamOnlineUserNumInfoInfosInfo["UserNumber"].isNull()) + infosObject.userNumber = std::stol(valueOnlineUserInfoLiveStreamOnlineUserNumInfoInfosInfo["UserNumber"].asString()); onlineUserInfoObject.infos.push_back(infosObject); } onlineUserInfo_.push_back(onlineUserInfoObject); } - if(!value["UserCount"].isNull()) - userCount_ = std::stoi(value["UserCount"].asString()); if(!value["StreamCount"].isNull()) streamCount_ = std::stoi(value["StreamCount"].asString()); + if(!value["UserCount"].isNull()) + userCount_ = std::stoi(value["UserCount"].asString()); } diff --git a/live/src/model/DescribeLiveDomainPushBpsDataRequest.cc b/live/src/model/DescribeLiveDomainPushBpsDataRequest.cc index 6d81152d5..f8da06878 100644 --- a/live/src/model/DescribeLiveDomainPushBpsDataRequest.cc +++ b/live/src/model/DescribeLiveDomainPushBpsDataRequest.cc @@ -1,90 +1,106 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainPushBpsDataRequest; - -DescribeLiveDomainPushBpsDataRequest::DescribeLiveDomainPushBpsDataRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainPushBpsData") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveDomainPushBpsDataRequest::~DescribeLiveDomainPushBpsDataRequest() {} - -std::string DescribeLiveDomainPushBpsDataRequest::getLocationNameEn() const { - return locationNameEn_; +void DescribeLiveDomainPushBpsDataRequest::setLocationNameEn(const std::string& locationNameEn) +{ + locationNameEn_ = locationNameEn; + setParameter("LocationNameEn", locationNameEn); } -void DescribeLiveDomainPushBpsDataRequest::setLocationNameEn(const std::string &locationNameEn) { - locationNameEn_ = locationNameEn; - setParameter(std::string("LocationNameEn"), locationNameEn); +std::string DescribeLiveDomainPushBpsDataRequest::getStartTime()const +{ + return startTime_; } -std::string DescribeLiveDomainPushBpsDataRequest::getStartTime() const { - return startTime_; +void DescribeLiveDomainPushBpsDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveDomainPushBpsDataRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveDomainPushBpsDataRequest::getIspNameEn()const +{ + return ispNameEn_; } -std::string DescribeLiveDomainPushBpsDataRequest::getIspNameEn() const { - return ispNameEn_; +void DescribeLiveDomainPushBpsDataRequest::setIspNameEn(const std::string& ispNameEn) +{ + ispNameEn_ = ispNameEn; + setParameter("IspNameEn", ispNameEn); } -void DescribeLiveDomainPushBpsDataRequest::setIspNameEn(const std::string &ispNameEn) { - ispNameEn_ = ispNameEn; - setParameter(std::string("IspNameEn"), ispNameEn); +std::string DescribeLiveDomainPushBpsDataRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDomainPushBpsDataRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainPushBpsDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainPushBpsDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveDomainPushBpsDataRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveDomainPushBpsDataRequest::getEndTime() const { - return endTime_; +void DescribeLiveDomainPushBpsDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveDomainPushBpsDataRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveDomainPushBpsDataRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainPushBpsDataRequest::getOwnerId() const { - return ownerId_; +void DescribeLiveDomainPushBpsDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeLiveDomainPushBpsDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeLiveDomainPushBpsDataRequest::getInterval()const +{ + return interval_; } -std::string DescribeLiveDomainPushBpsDataRequest::getInterval() const { - return interval_; -} - -void DescribeLiveDomainPushBpsDataRequest::setInterval(const std::string &interval) { - interval_ = interval; - setParameter(std::string("Interval"), interval); +void DescribeLiveDomainPushBpsDataRequest::setInterval(const std::string& interval) +{ + interval_ = interval; + setParameter("Interval", interval); } diff --git a/live/src/model/DescribeLiveDomainPushBpsDataResult.cc b/live/src/model/DescribeLiveDomainPushBpsDataResult.cc index 97426a533..724ea5b30 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["BpsValue"].isNull()) - bpsDataPerIntervalObject.bpsValue = valueBpsDataPerIntervalDataModule["BpsValue"].asString(); if(!valueBpsDataPerIntervalDataModule["TimeStamp"].isNull()) bpsDataPerIntervalObject.timeStamp = valueBpsDataPerIntervalDataModule["TimeStamp"].asString(); + if(!valueBpsDataPerIntervalDataModule["BpsValue"].isNull()) + bpsDataPerIntervalObject.bpsValue = valueBpsDataPerIntervalDataModule["BpsValue"].asString(); bpsDataPerInterval_.push_back(bpsDataPerIntervalObject); } - 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["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/live/src/model/DescribeLiveDomainPushTrafficDataRequest.cc b/live/src/model/DescribeLiveDomainPushTrafficDataRequest.cc index 771707571..70059d470 100644 --- a/live/src/model/DescribeLiveDomainPushTrafficDataRequest.cc +++ b/live/src/model/DescribeLiveDomainPushTrafficDataRequest.cc @@ -1,90 +1,106 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainPushTrafficDataRequest; - -DescribeLiveDomainPushTrafficDataRequest::DescribeLiveDomainPushTrafficDataRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainPushTrafficData") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveDomainPushTrafficDataRequest::~DescribeLiveDomainPushTrafficDataRequest() {} - -std::string DescribeLiveDomainPushTrafficDataRequest::getLocationNameEn() const { - return locationNameEn_; +void DescribeLiveDomainPushTrafficDataRequest::setLocationNameEn(const std::string& locationNameEn) +{ + locationNameEn_ = locationNameEn; + setParameter("LocationNameEn", locationNameEn); } -void DescribeLiveDomainPushTrafficDataRequest::setLocationNameEn(const std::string &locationNameEn) { - locationNameEn_ = locationNameEn; - setParameter(std::string("LocationNameEn"), locationNameEn); +std::string DescribeLiveDomainPushTrafficDataRequest::getStartTime()const +{ + return startTime_; } -std::string DescribeLiveDomainPushTrafficDataRequest::getStartTime() const { - return startTime_; +void DescribeLiveDomainPushTrafficDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveDomainPushTrafficDataRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveDomainPushTrafficDataRequest::getIspNameEn()const +{ + return ispNameEn_; } -std::string DescribeLiveDomainPushTrafficDataRequest::getIspNameEn() const { - return ispNameEn_; +void DescribeLiveDomainPushTrafficDataRequest::setIspNameEn(const std::string& ispNameEn) +{ + ispNameEn_ = ispNameEn; + setParameter("IspNameEn", ispNameEn); } -void DescribeLiveDomainPushTrafficDataRequest::setIspNameEn(const std::string &ispNameEn) { - ispNameEn_ = ispNameEn; - setParameter(std::string("IspNameEn"), ispNameEn); +std::string DescribeLiveDomainPushTrafficDataRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDomainPushTrafficDataRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainPushTrafficDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainPushTrafficDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveDomainPushTrafficDataRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveDomainPushTrafficDataRequest::getEndTime() const { - return endTime_; +void DescribeLiveDomainPushTrafficDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveDomainPushTrafficDataRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveDomainPushTrafficDataRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainPushTrafficDataRequest::getOwnerId() const { - return ownerId_; +void DescribeLiveDomainPushTrafficDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeLiveDomainPushTrafficDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeLiveDomainPushTrafficDataRequest::getInterval()const +{ + return interval_; } -std::string DescribeLiveDomainPushTrafficDataRequest::getInterval() const { - return interval_; -} - -void DescribeLiveDomainPushTrafficDataRequest::setInterval(const std::string &interval) { - interval_ = interval; - setParameter(std::string("Interval"), interval); +void DescribeLiveDomainPushTrafficDataRequest::setInterval(const std::string& interval) +{ + interval_ = interval; + setParameter("Interval", interval); } diff --git a/live/src/model/DescribeLiveDomainPushTrafficDataResult.cc b/live/src/model/DescribeLiveDomainPushTrafficDataResult.cc index 3aae3f816..0b4094ab2 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["TrafficValue"].isNull()) - trafficDataPerIntervalObject.trafficValue = valueTrafficDataPerIntervalDataModule["TrafficValue"].asString(); if(!valueTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) trafficDataPerIntervalObject.timeStamp = valueTrafficDataPerIntervalDataModule["TimeStamp"].asString(); + if(!valueTrafficDataPerIntervalDataModule["TrafficValue"].isNull()) + trafficDataPerIntervalObject.trafficValue = valueTrafficDataPerIntervalDataModule["TrafficValue"].asString(); trafficDataPerInterval_.push_back(trafficDataPerIntervalObject); } - 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["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/live/src/model/DescribeLiveDomainPvUvDataRequest.cc b/live/src/model/DescribeLiveDomainPvUvDataRequest.cc index c289056b4..ae12c31b5 100644 --- a/live/src/model/DescribeLiveDomainPvUvDataRequest.cc +++ b/live/src/model/DescribeLiveDomainPvUvDataRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainPvUvDataRequest; - -DescribeLiveDomainPvUvDataRequest::DescribeLiveDomainPvUvDataRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainPvUvData") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveDomainPvUvDataRequest::~DescribeLiveDomainPvUvDataRequest() {} - -std::string DescribeLiveDomainPvUvDataRequest::getStartTime() const { - return startTime_; +void DescribeLiveDomainPvUvDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveDomainPvUvDataRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveDomainPvUvDataRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDomainPvUvDataRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainPvUvDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainPvUvDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveDomainPvUvDataRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveDomainPvUvDataRequest::getEndTime() const { - return endTime_; +void DescribeLiveDomainPvUvDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveDomainPvUvDataRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveDomainPvUvDataRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainPvUvDataRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveDomainPvUvDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveDomainPvUvDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainPvUvDataResult.cc b/live/src/model/DescribeLiveDomainPvUvDataResult.cc index 6dc239fd3..fafc65297 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["TimeStamp"].isNull()) - pvUvDataInfosObject.timeStamp = valuePvUvDataInfosPvUvDataInfo["TimeStamp"].asString(); if(!valuePvUvDataInfosPvUvDataInfo["UV"].isNull()) pvUvDataInfosObject.uV = valuePvUvDataInfosPvUvDataInfo["UV"].asString(); + if(!valuePvUvDataInfosPvUvDataInfo["TimeStamp"].isNull()) + pvUvDataInfosObject.timeStamp = valuePvUvDataInfosPvUvDataInfo["TimeStamp"].asString(); pvUvDataInfos_.push_back(pvUvDataInfosObject); } - 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["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/live/src/model/DescribeLiveDomainRealTimeBpsDataRequest.cc b/live/src/model/DescribeLiveDomainRealTimeBpsDataRequest.cc index 974c168b0..f56650730 100644 --- a/live/src/model/DescribeLiveDomainRealTimeBpsDataRequest.cc +++ b/live/src/model/DescribeLiveDomainRealTimeBpsDataRequest.cc @@ -1,81 +1,95 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DescribeLiveDomainRealTimeBpsDataRequest::~DescribeLiveDomainRealTimeBpsDataRequest() {} - -std::string DescribeLiveDomainRealTimeBpsDataRequest::getLocationNameEn() const { - return locationNameEn_; +void DescribeLiveDomainRealTimeBpsDataRequest::setLocationNameEn(const std::string& locationNameEn) +{ + locationNameEn_ = locationNameEn; + setParameter("LocationNameEn", locationNameEn); } -void DescribeLiveDomainRealTimeBpsDataRequest::setLocationNameEn(const std::string &locationNameEn) { - locationNameEn_ = locationNameEn; - setParameter(std::string("LocationNameEn"), locationNameEn); +std::string DescribeLiveDomainRealTimeBpsDataRequest::getIspNameEn()const +{ + return ispNameEn_; } -std::string DescribeLiveDomainRealTimeBpsDataRequest::getIspNameEn() const { - return ispNameEn_; +void DescribeLiveDomainRealTimeBpsDataRequest::setIspNameEn(const std::string& ispNameEn) +{ + ispNameEn_ = ispNameEn; + setParameter("IspNameEn", ispNameEn); } -void DescribeLiveDomainRealTimeBpsDataRequest::setIspNameEn(const std::string &ispNameEn) { - ispNameEn_ = ispNameEn; - setParameter(std::string("IspNameEn"), ispNameEn); +std::string DescribeLiveDomainRealTimeBpsDataRequest::getStartTime()const +{ + return startTime_; } -std::string DescribeLiveDomainRealTimeBpsDataRequest::getStartTime() const { - return startTime_; +void DescribeLiveDomainRealTimeBpsDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveDomainRealTimeBpsDataRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveDomainRealTimeBpsDataRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDomainRealTimeBpsDataRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainRealTimeBpsDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainRealTimeBpsDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveDomainRealTimeBpsDataRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveDomainRealTimeBpsDataRequest::getEndTime() const { - return endTime_; +void DescribeLiveDomainRealTimeBpsDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveDomainRealTimeBpsDataRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveDomainRealTimeBpsDataRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainRealTimeBpsDataRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveDomainRealTimeBpsDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveDomainRealTimeBpsDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainRealTimeBpsDataResult.cc b/live/src/model/DescribeLiveDomainRealTimeBpsDataResult.cc index 9bbf0d8f3..d595be380 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["Value"].isNull()) - realTimeBpsDataPerIntervalObject.value = valueRealTimeBpsDataPerIntervalDataModule["Value"].asString(); if(!valueRealTimeBpsDataPerIntervalDataModule["TimeStamp"].isNull()) realTimeBpsDataPerIntervalObject.timeStamp = valueRealTimeBpsDataPerIntervalDataModule["TimeStamp"].asString(); + if(!valueRealTimeBpsDataPerIntervalDataModule["Value"].isNull()) + realTimeBpsDataPerIntervalObject.value = valueRealTimeBpsDataPerIntervalDataModule["Value"].asString(); realTimeBpsDataPerInterval_.push_back(realTimeBpsDataPerIntervalObject); } - 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["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/live/src/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.cc b/live/src/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.cc index afa0628b4..b7cb20d65 100644 --- a/live/src/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.cc +++ b/live/src/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.cc @@ -1,81 +1,95 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DescribeLiveDomainRealTimeHttpCodeDataRequest::~DescribeLiveDomainRealTimeHttpCodeDataRequest() {} - -std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getLocationNameEn() const { - return locationNameEn_; +void DescribeLiveDomainRealTimeHttpCodeDataRequest::setLocationNameEn(const std::string& locationNameEn) +{ + locationNameEn_ = locationNameEn; + setParameter("LocationNameEn", locationNameEn); } -void DescribeLiveDomainRealTimeHttpCodeDataRequest::setLocationNameEn(const std::string &locationNameEn) { - locationNameEn_ = locationNameEn; - setParameter(std::string("LocationNameEn"), locationNameEn); +std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getStartTime()const +{ + return startTime_; } -std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getStartTime() const { - return startTime_; +void DescribeLiveDomainRealTimeHttpCodeDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveDomainRealTimeHttpCodeDataRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getIspNameEn()const +{ + return ispNameEn_; } -std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getIspNameEn() const { - return ispNameEn_; +void DescribeLiveDomainRealTimeHttpCodeDataRequest::setIspNameEn(const std::string& ispNameEn) +{ + ispNameEn_ = ispNameEn; + setParameter("IspNameEn", ispNameEn); } -void DescribeLiveDomainRealTimeHttpCodeDataRequest::setIspNameEn(const std::string &ispNameEn) { - ispNameEn_ = ispNameEn; - setParameter(std::string("IspNameEn"), ispNameEn); +std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainRealTimeHttpCodeDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainRealTimeHttpCodeDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveDomainRealTimeHttpCodeDataRequest::getEndTime() const { - return endTime_; +void DescribeLiveDomainRealTimeHttpCodeDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveDomainRealTimeHttpCodeDataRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveDomainRealTimeHttpCodeDataRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainRealTimeHttpCodeDataRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveDomainRealTimeHttpCodeDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveDomainRealTimeHttpCodeDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainRealTimeHttpCodeDataResult.cc b/live/src/model/DescribeLiveDomainRealTimeHttpCodeDataResult.cc index 16b08073f..49cb2da98 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["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); 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["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/live/src/model/DescribeLiveDomainRealTimeTrafficDataRequest.cc b/live/src/model/DescribeLiveDomainRealTimeTrafficDataRequest.cc index f1aa8f121..25d3cc86a 100644 --- a/live/src/model/DescribeLiveDomainRealTimeTrafficDataRequest.cc +++ b/live/src/model/DescribeLiveDomainRealTimeTrafficDataRequest.cc @@ -1,81 +1,95 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DescribeLiveDomainRealTimeTrafficDataRequest::~DescribeLiveDomainRealTimeTrafficDataRequest() {} - -std::string DescribeLiveDomainRealTimeTrafficDataRequest::getLocationNameEn() const { - return locationNameEn_; +void DescribeLiveDomainRealTimeTrafficDataRequest::setLocationNameEn(const std::string& locationNameEn) +{ + locationNameEn_ = locationNameEn; + setParameter("LocationNameEn", locationNameEn); } -void DescribeLiveDomainRealTimeTrafficDataRequest::setLocationNameEn(const std::string &locationNameEn) { - locationNameEn_ = locationNameEn; - setParameter(std::string("LocationNameEn"), locationNameEn); +std::string DescribeLiveDomainRealTimeTrafficDataRequest::getStartTime()const +{ + return startTime_; } -std::string DescribeLiveDomainRealTimeTrafficDataRequest::getStartTime() const { - return startTime_; +void DescribeLiveDomainRealTimeTrafficDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveDomainRealTimeTrafficDataRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveDomainRealTimeTrafficDataRequest::getIspNameEn()const +{ + return ispNameEn_; } -std::string DescribeLiveDomainRealTimeTrafficDataRequest::getIspNameEn() const { - return ispNameEn_; +void DescribeLiveDomainRealTimeTrafficDataRequest::setIspNameEn(const std::string& ispNameEn) +{ + ispNameEn_ = ispNameEn; + setParameter("IspNameEn", ispNameEn); } -void DescribeLiveDomainRealTimeTrafficDataRequest::setIspNameEn(const std::string &ispNameEn) { - ispNameEn_ = ispNameEn; - setParameter(std::string("IspNameEn"), ispNameEn); +std::string DescribeLiveDomainRealTimeTrafficDataRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDomainRealTimeTrafficDataRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainRealTimeTrafficDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainRealTimeTrafficDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveDomainRealTimeTrafficDataRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveDomainRealTimeTrafficDataRequest::getEndTime() const { - return endTime_; +void DescribeLiveDomainRealTimeTrafficDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveDomainRealTimeTrafficDataRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveDomainRealTimeTrafficDataRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainRealTimeTrafficDataRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveDomainRealTimeTrafficDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveDomainRealTimeTrafficDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainRealTimeTrafficDataResult.cc b/live/src/model/DescribeLiveDomainRealTimeTrafficDataResult.cc index 3c8caec91..bef5d8606 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["Value"].isNull()) - realTimeTrafficDataPerIntervalObject.value = valueRealTimeTrafficDataPerIntervalDataModule["Value"].asString(); if(!valueRealTimeTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) realTimeTrafficDataPerIntervalObject.timeStamp = valueRealTimeTrafficDataPerIntervalDataModule["TimeStamp"].asString(); + if(!valueRealTimeTrafficDataPerIntervalDataModule["Value"].isNull()) + realTimeTrafficDataPerIntervalObject.value = valueRealTimeTrafficDataPerIntervalDataModule["Value"].asString(); realTimeTrafficDataPerInterval_.push_back(realTimeTrafficDataPerIntervalObject); } - 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["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); if(!value["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/live/src/model/DescribeLiveDomainRealtimeLogDeliveryRequest.cc b/live/src/model/DescribeLiveDomainRealtimeLogDeliveryRequest.cc index caa44c0e1..bd62e0045 100644 --- a/live/src/model/DescribeLiveDomainRealtimeLogDeliveryRequest.cc +++ b/live/src/model/DescribeLiveDomainRealtimeLogDeliveryRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DescribeLiveDomainRealtimeLogDeliveryRequest; - -DescribeLiveDomainRealtimeLogDeliveryRequest::DescribeLiveDomainRealtimeLogDeliveryRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRealtimeLogDelivery") { - setMethod(HttpRequest::Method::Get); + */ + +#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_; } -DescribeLiveDomainRealtimeLogDeliveryRequest::~DescribeLiveDomainRealtimeLogDeliveryRequest() {} - -std::string DescribeLiveDomainRealtimeLogDeliveryRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainRealtimeLogDeliveryRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainRealtimeLogDeliveryRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveDomainRealtimeLogDeliveryRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainRealtimeLogDeliveryRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveDomainRealtimeLogDeliveryRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveDomainRealtimeLogDeliveryRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainRealtimeLogDeliveryResult.cc b/live/src/model/DescribeLiveDomainRealtimeLogDeliveryResult.cc index 6714a65d0..8c2e225f6 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 8b1c06ea8..3bba82b04 100644 --- a/live/src/model/DescribeLiveDomainRecordDataRequest.cc +++ b/live/src/model/DescribeLiveDomainRecordDataRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainRecordDataRequest; - -DescribeLiveDomainRecordDataRequest::DescribeLiveDomainRecordDataRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRecordData") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveDomainRecordDataRequest::~DescribeLiveDomainRecordDataRequest() {} - -std::string DescribeLiveDomainRecordDataRequest::getStartTime() const { - return startTime_; +void DescribeLiveDomainRecordDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveDomainRecordDataRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveDomainRecordDataRequest::getRecordType()const +{ + return recordType_; } -std::string DescribeLiveDomainRecordDataRequest::getRecordType() const { - return recordType_; +void DescribeLiveDomainRecordDataRequest::setRecordType(const std::string& recordType) +{ + recordType_ = recordType; + setParameter("RecordType", recordType); } -void DescribeLiveDomainRecordDataRequest::setRecordType(const std::string &recordType) { - recordType_ = recordType; - setParameter(std::string("RecordType"), recordType); +std::string DescribeLiveDomainRecordDataRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDomainRecordDataRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainRecordDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainRecordDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveDomainRecordDataRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveDomainRecordDataRequest::getEndTime() const { - return endTime_; +void DescribeLiveDomainRecordDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveDomainRecordDataRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveDomainRecordDataRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainRecordDataRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveDomainRecordDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveDomainRecordDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainRecordDataResult.cc b/live/src/model/DescribeLiveDomainRecordDataResult.cc index dc8733b77..ce0e2e040 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 d75fdeb19..75fcc225d 100644 --- a/live/src/model/DescribeLiveDomainRecordUsageDataRequest.cc +++ b/live/src/model/DescribeLiveDomainRecordUsageDataRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainRecordUsageDataRequest; - -DescribeLiveDomainRecordUsageDataRequest::DescribeLiveDomainRecordUsageDataRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRecordUsageData") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveDomainRecordUsageDataRequest::~DescribeLiveDomainRecordUsageDataRequest() {} - -std::string DescribeLiveDomainRecordUsageDataRequest::getStartTime() const { - return startTime_; +void DescribeLiveDomainRecordUsageDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveDomainRecordUsageDataRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveDomainRecordUsageDataRequest::getSplitBy()const +{ + return splitBy_; } -std::string DescribeLiveDomainRecordUsageDataRequest::getSplitBy() const { - return splitBy_; +void DescribeLiveDomainRecordUsageDataRequest::setSplitBy(const std::string& splitBy) +{ + splitBy_ = splitBy; + setParameter("SplitBy", splitBy); } -void DescribeLiveDomainRecordUsageDataRequest::setSplitBy(const std::string &splitBy) { - splitBy_ = splitBy; - setParameter(std::string("SplitBy"), splitBy); +std::string DescribeLiveDomainRecordUsageDataRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDomainRecordUsageDataRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainRecordUsageDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainRecordUsageDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveDomainRecordUsageDataRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveDomainRecordUsageDataRequest::getEndTime() const { - return endTime_; +void DescribeLiveDomainRecordUsageDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveDomainRecordUsageDataRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveDomainRecordUsageDataRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainRecordUsageDataRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveDomainRecordUsageDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveDomainRecordUsageDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainRecordUsageDataResult.cc b/live/src/model/DescribeLiveDomainRecordUsageDataResult.cc index 119423517..34ed998e8 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 b5539091d..7def1b180 100644 --- a/live/src/model/DescribeLiveDomainSnapshotDataRequest.cc +++ b/live/src/model/DescribeLiveDomainSnapshotDataRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainSnapshotDataRequest; - -DescribeLiveDomainSnapshotDataRequest::DescribeLiveDomainSnapshotDataRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainSnapshotData") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveDomainSnapshotDataRequest::~DescribeLiveDomainSnapshotDataRequest() {} - -std::string DescribeLiveDomainSnapshotDataRequest::getStartTime() const { - return startTime_; +void DescribeLiveDomainSnapshotDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveDomainSnapshotDataRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveDomainSnapshotDataRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDomainSnapshotDataRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainSnapshotDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainSnapshotDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveDomainSnapshotDataRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveDomainSnapshotDataRequest::getEndTime() const { - return endTime_; +void DescribeLiveDomainSnapshotDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveDomainSnapshotDataRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveDomainSnapshotDataRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainSnapshotDataRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveDomainSnapshotDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveDomainSnapshotDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainSpecialConfigRequest.cc b/live/src/model/DescribeLiveDomainSpecialConfigRequest.cc new file mode 100644 index 000000000..d49f86eaa --- /dev/null +++ b/live/src/model/DescribeLiveDomainSpecialConfigRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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 new file mode 100644 index 000000000..8c52a72dd --- /dev/null +++ b/live/src/model/DescribeLiveDomainSpecialConfigResult.cc @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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 0cacbfc68..c667dca28 100644 --- a/live/src/model/DescribeLiveDomainStagingConfigRequest.cc +++ b/live/src/model/DescribeLiveDomainStagingConfigRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainStagingConfigRequest; - -DescribeLiveDomainStagingConfigRequest::DescribeLiveDomainStagingConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainStagingConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveDomainStagingConfigRequest::~DescribeLiveDomainStagingConfigRequest() {} - -std::string DescribeLiveDomainStagingConfigRequest::getFunctionNames() const { - return functionNames_; +void DescribeLiveDomainStagingConfigRequest::setFunctionNames(const std::string& functionNames) +{ + functionNames_ = functionNames; + setParameter("FunctionNames", functionNames); } -void DescribeLiveDomainStagingConfigRequest::setFunctionNames(const std::string &functionNames) { - functionNames_ = functionNames; - setParameter(std::string("FunctionNames"), functionNames); +std::string DescribeLiveDomainStagingConfigRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDomainStagingConfigRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainStagingConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainStagingConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveDomainStagingConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainStagingConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveDomainStagingConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveDomainStagingConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDomainStreamTranscodeDataRequest.cc b/live/src/model/DescribeLiveDomainStreamTranscodeDataRequest.cc index 749d10093..34292d0a0 100644 --- a/live/src/model/DescribeLiveDomainStreamTranscodeDataRequest.cc +++ b/live/src/model/DescribeLiveDomainStreamTranscodeDataRequest.cc @@ -1,81 +1,95 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DescribeLiveDomainStreamTranscodeDataRequest::~DescribeLiveDomainStreamTranscodeDataRequest() {} - -std::string DescribeLiveDomainStreamTranscodeDataRequest::getStartTime() const { - return startTime_; +void DescribeLiveDomainStreamTranscodeDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveDomainStreamTranscodeDataRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveDomainStreamTranscodeDataRequest::getSplit()const +{ + return split_; } -std::string DescribeLiveDomainStreamTranscodeDataRequest::getSplit() const { - return split_; +void DescribeLiveDomainStreamTranscodeDataRequest::setSplit(const std::string& split) +{ + split_ = split; + setParameter("Split", split); } -void DescribeLiveDomainStreamTranscodeDataRequest::setSplit(const std::string &split) { - split_ = split; - setParameter(std::string("Split"), split); +std::string DescribeLiveDomainStreamTranscodeDataRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDomainStreamTranscodeDataRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainStreamTranscodeDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainStreamTranscodeDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveDomainStreamTranscodeDataRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveDomainStreamTranscodeDataRequest::getEndTime() const { - return endTime_; +void DescribeLiveDomainStreamTranscodeDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveDomainStreamTranscodeDataRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveDomainStreamTranscodeDataRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainStreamTranscodeDataRequest::getOwnerId() const { - return ownerId_; +void DescribeLiveDomainStreamTranscodeDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeLiveDomainStreamTranscodeDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeLiveDomainStreamTranscodeDataRequest::getInterval()const +{ + return interval_; } -std::string DescribeLiveDomainStreamTranscodeDataRequest::getInterval() const { - return interval_; -} - -void DescribeLiveDomainStreamTranscodeDataRequest::setInterval(const std::string &interval) { - interval_ = interval; - setParameter(std::string("Interval"), interval); +void DescribeLiveDomainStreamTranscodeDataRequest::setInterval(const std::string& interval) +{ + interval_ = interval; + setParameter("Interval", interval); } diff --git a/live/src/model/DescribeLiveDomainStreamTranscodeDataResult.cc b/live/src/model/DescribeLiveDomainStreamTranscodeDataResult.cc index cc135bccd..64df717fb 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["TanscodeType"].isNull()) - transcodeDataListObject.tanscodeType = valueTranscodeDataListTranscodeData["TanscodeType"].asString(); + if(!valueTranscodeDataListTranscodeData["TimeStamp"].isNull()) + transcodeDataListObject.timeStamp = valueTranscodeDataListTranscodeData["TimeStamp"].asString(); if(!valueTranscodeDataListTranscodeData["Domain"].isNull()) transcodeDataListObject.domain = valueTranscodeDataListTranscodeData["Domain"].asString(); if(!valueTranscodeDataListTranscodeData["Region"].isNull()) transcodeDataListObject.region = valueTranscodeDataListTranscodeData["Region"].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["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()); transcodeDataList_.push_back(transcodeDataListObject); } diff --git a/live/src/model/DescribeLiveDomainStreamWaterLevelRequest.cc b/live/src/model/DescribeLiveDomainStreamWaterLevelRequest.cc deleted file mode 100644 index c48f937b5..000000000 --- a/live/src/model/DescribeLiveDomainStreamWaterLevelRequest.cc +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainStreamWaterLevelRequest; - -DescribeLiveDomainStreamWaterLevelRequest::DescribeLiveDomainStreamWaterLevelRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainStreamWaterLevel") { - setMethod(HttpRequest::Method::Post); -} - -DescribeLiveDomainStreamWaterLevelRequest::~DescribeLiveDomainStreamWaterLevelRequest() {} - -std::string DescribeLiveDomainStreamWaterLevelRequest::getLiveRegion() const { - return liveRegion_; -} - -void DescribeLiveDomainStreamWaterLevelRequest::setLiveRegion(const std::string &liveRegion) { - liveRegion_ = liveRegion; - setParameter(std::string("LiveRegion"), liveRegion); -} - -long DescribeLiveDomainStreamWaterLevelRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveDomainStreamWaterLevelRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); -} - diff --git a/live/src/model/DescribeLiveDomainStreamWaterLevelResult.cc b/live/src/model/DescribeLiveDomainStreamWaterLevelResult.cc deleted file mode 100644 index a6ff3517f..000000000 --- a/live/src/model/DescribeLiveDomainStreamWaterLevelResult.cc +++ /dev/null @@ -1,81 +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; - -DescribeLiveDomainStreamWaterLevelResult::DescribeLiveDomainStreamWaterLevelResult() : - ServiceResult() -{} - -DescribeLiveDomainStreamWaterLevelResult::DescribeLiveDomainStreamWaterLevelResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLiveDomainStreamWaterLevelResult::~DescribeLiveDomainStreamWaterLevelResult() -{} - -void DescribeLiveDomainStreamWaterLevelResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allLiveDomainWaterLevelListNode = value["LiveDomainWaterLevelList"]["LiveDomainWaterLevel"]; - for (auto valueLiveDomainWaterLevelListLiveDomainWaterLevel : allLiveDomainWaterLevelListNode) - { - LiveDomainWaterLevel liveDomainWaterLevelListObject; - if(!valueLiveDomainWaterLevelListLiveDomainWaterLevel["DomainRawLimit"].isNull()) - liveDomainWaterLevelListObject.domainRawLimit = std::stoi(valueLiveDomainWaterLevelListLiveDomainWaterLevel["DomainRawLimit"].asString()); - if(!valueLiveDomainWaterLevelListLiveDomainWaterLevel["DomainRawCount"].isNull()) - liveDomainWaterLevelListObject.domainRawCount = std::stoi(valueLiveDomainWaterLevelListLiveDomainWaterLevel["DomainRawCount"].asString()); - if(!valueLiveDomainWaterLevelListLiveDomainWaterLevel["DomainTranscodeCount"].isNull()) - liveDomainWaterLevelListObject.domainTranscodeCount = std::stoi(valueLiveDomainWaterLevelListLiveDomainWaterLevel["DomainTranscodeCount"].asString()); - if(!valueLiveDomainWaterLevelListLiveDomainWaterLevel["DomainName"].isNull()) - liveDomainWaterLevelListObject.domainName = valueLiveDomainWaterLevelListLiveDomainWaterLevel["DomainName"].asString(); - if(!valueLiveDomainWaterLevelListLiveDomainWaterLevel["DomainTranscodeLimit"].isNull()) - liveDomainWaterLevelListObject.domainTranscodeLimit = std::stoi(valueLiveDomainWaterLevelListLiveDomainWaterLevel["DomainTranscodeLimit"].asString()); - liveDomainWaterLevelList_.push_back(liveDomainWaterLevelListObject); - } - auto liveUidWaterLevelNode = value["LiveUidWaterLevel"]; - if(!liveUidWaterLevelNode["UidTranscodeLimit"].isNull()) - liveUidWaterLevel_.uidTranscodeLimit = std::stoi(liveUidWaterLevelNode["UidTranscodeLimit"].asString()); - if(!liveUidWaterLevelNode["AliUid"].isNull()) - liveUidWaterLevel_.aliUid = liveUidWaterLevelNode["AliUid"].asString(); - if(!liveUidWaterLevelNode["UidTranscodeCount"].isNull()) - liveUidWaterLevel_.uidTranscodeCount = std::stoi(liveUidWaterLevelNode["UidTranscodeCount"].asString()); - if(!liveUidWaterLevelNode["UidRawLimit"].isNull()) - liveUidWaterLevel_.uidRawLimit = std::stoi(liveUidWaterLevelNode["UidRawLimit"].asString()); - if(!liveUidWaterLevelNode["UidRawCount"].isNull()) - liveUidWaterLevel_.uidRawCount = std::stoi(liveUidWaterLevelNode["UidRawCount"].asString()); - -} - -DescribeLiveDomainStreamWaterLevelResult::LiveUidWaterLevel DescribeLiveDomainStreamWaterLevelResult::getLiveUidWaterLevel()const -{ - return liveUidWaterLevel_; -} - -std::vector DescribeLiveDomainStreamWaterLevelResult::getLiveDomainWaterLevelList()const -{ - return liveDomainWaterLevelList_; -} - diff --git a/live/src/model/DescribeLiveDomainTimeShiftDataRequest.cc b/live/src/model/DescribeLiveDomainTimeShiftDataRequest.cc index eae7b62d8..bf192ad6b 100644 --- a/live/src/model/DescribeLiveDomainTimeShiftDataRequest.cc +++ b/live/src/model/DescribeLiveDomainTimeShiftDataRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainTimeShiftDataRequest; - -DescribeLiveDomainTimeShiftDataRequest::DescribeLiveDomainTimeShiftDataRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainTimeShiftData") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveDomainTimeShiftDataRequest::~DescribeLiveDomainTimeShiftDataRequest() {} - -std::string DescribeLiveDomainTimeShiftDataRequest::getStartTime() const { - return startTime_; +void DescribeLiveDomainTimeShiftDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveDomainTimeShiftDataRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveDomainTimeShiftDataRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDomainTimeShiftDataRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainTimeShiftDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainTimeShiftDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveDomainTimeShiftDataRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveDomainTimeShiftDataRequest::getEndTime() const { - return endTime_; +void DescribeLiveDomainTimeShiftDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveDomainTimeShiftDataRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveDomainTimeShiftDataRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainTimeShiftDataRequest::getOwnerId() const { - return ownerId_; +void DescribeLiveDomainTimeShiftDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeLiveDomainTimeShiftDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeLiveDomainTimeShiftDataRequest::getInterval()const +{ + return interval_; } -std::string DescribeLiveDomainTimeShiftDataRequest::getInterval() const { - return interval_; -} - -void DescribeLiveDomainTimeShiftDataRequest::setInterval(const std::string &interval) { - interval_ = interval; - setParameter(std::string("Interval"), interval); +void DescribeLiveDomainTimeShiftDataRequest::setInterval(const std::string& interval) +{ + interval_ = interval; + setParameter("Interval", interval); } diff --git a/live/src/model/DescribeLiveDomainTimeShiftDataResult.cc b/live/src/model/DescribeLiveDomainTimeShiftDataResult.cc index 9c0d964c2..68ea85899 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 b6e785300..54e09b162 100644 --- a/live/src/model/DescribeLiveDomainTrafficDataRequest.cc +++ b/live/src/model/DescribeLiveDomainTrafficDataRequest.cc @@ -1,90 +1,106 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainTrafficDataRequest; - -DescribeLiveDomainTrafficDataRequest::DescribeLiveDomainTrafficDataRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainTrafficData") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveDomainTrafficDataRequest::~DescribeLiveDomainTrafficDataRequest() {} - -std::string DescribeLiveDomainTrafficDataRequest::getLocationNameEn() const { - return locationNameEn_; +void DescribeLiveDomainTrafficDataRequest::setLocationNameEn(const std::string& locationNameEn) +{ + locationNameEn_ = locationNameEn; + setParameter("LocationNameEn", locationNameEn); } -void DescribeLiveDomainTrafficDataRequest::setLocationNameEn(const std::string &locationNameEn) { - locationNameEn_ = locationNameEn; - setParameter(std::string("LocationNameEn"), locationNameEn); +std::string DescribeLiveDomainTrafficDataRequest::getStartTime()const +{ + return startTime_; } -std::string DescribeLiveDomainTrafficDataRequest::getStartTime() const { - return startTime_; +void DescribeLiveDomainTrafficDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveDomainTrafficDataRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveDomainTrafficDataRequest::getIspNameEn()const +{ + return ispNameEn_; } -std::string DescribeLiveDomainTrafficDataRequest::getIspNameEn() const { - return ispNameEn_; +void DescribeLiveDomainTrafficDataRequest::setIspNameEn(const std::string& ispNameEn) +{ + ispNameEn_ = ispNameEn; + setParameter("IspNameEn", ispNameEn); } -void DescribeLiveDomainTrafficDataRequest::setIspNameEn(const std::string &ispNameEn) { - ispNameEn_ = ispNameEn; - setParameter(std::string("IspNameEn"), ispNameEn); +std::string DescribeLiveDomainTrafficDataRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDomainTrafficDataRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainTrafficDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainTrafficDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveDomainTrafficDataRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveDomainTrafficDataRequest::getEndTime() const { - return endTime_; +void DescribeLiveDomainTrafficDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveDomainTrafficDataRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveDomainTrafficDataRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainTrafficDataRequest::getOwnerId() const { - return ownerId_; +void DescribeLiveDomainTrafficDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeLiveDomainTrafficDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeLiveDomainTrafficDataRequest::getInterval()const +{ + return interval_; } -std::string DescribeLiveDomainTrafficDataRequest::getInterval() const { - return interval_; -} - -void DescribeLiveDomainTrafficDataRequest::setInterval(const std::string &interval) { - interval_ = interval; - setParameter(std::string("Interval"), interval); +void DescribeLiveDomainTrafficDataRequest::setInterval(const std::string& interval) +{ + interval_ = interval; + setParameter("Interval", interval); } diff --git a/live/src/model/DescribeLiveDomainTrafficDataResult.cc b/live/src/model/DescribeLiveDomainTrafficDataResult.cc index 3138f4d1a..991a3fd2e 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["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = value["StartTime"].asString(); 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["DataInterval"].isNull()) dataInterval_ = value["DataInterval"].asString(); diff --git a/live/src/model/DescribeLiveDomainTranscodeDataRequest.cc b/live/src/model/DescribeLiveDomainTranscodeDataRequest.cc index e035d7793..4ae5cfb94 100644 --- a/live/src/model/DescribeLiveDomainTranscodeDataRequest.cc +++ b/live/src/model/DescribeLiveDomainTranscodeDataRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveDomainTranscodeDataRequest; - -DescribeLiveDomainTranscodeDataRequest::DescribeLiveDomainTranscodeDataRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainTranscodeData") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveDomainTranscodeDataRequest::~DescribeLiveDomainTranscodeDataRequest() {} - -std::string DescribeLiveDomainTranscodeDataRequest::getStartTime() const { - return startTime_; +void DescribeLiveDomainTranscodeDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveDomainTranscodeDataRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveDomainTranscodeDataRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDomainTranscodeDataRequest::getDomainName() const { - return domainName_; +void DescribeLiveDomainTranscodeDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDomainTranscodeDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveDomainTranscodeDataRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveDomainTranscodeDataRequest::getEndTime() const { - return endTime_; +void DescribeLiveDomainTranscodeDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveDomainTranscodeDataRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveDomainTranscodeDataRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDomainTranscodeDataRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveDomainTranscodeDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveDomainTranscodeDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveDrmUsageDataRequest.cc b/live/src/model/DescribeLiveDrmUsageDataRequest.cc index 6edcb4648..24d1ccb47 100644 --- a/live/src/model/DescribeLiveDrmUsageDataRequest.cc +++ b/live/src/model/DescribeLiveDrmUsageDataRequest.cc @@ -1,81 +1,95 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DescribeLiveDrmUsageDataRequest::~DescribeLiveDrmUsageDataRequest() {} - -std::string DescribeLiveDrmUsageDataRequest::getStartTime() const { - return startTime_; +void DescribeLiveDrmUsageDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveDrmUsageDataRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveDrmUsageDataRequest::getSplitBy()const +{ + return splitBy_; } -std::string DescribeLiveDrmUsageDataRequest::getSplitBy() const { - return splitBy_; +void DescribeLiveDrmUsageDataRequest::setSplitBy(const std::string& splitBy) +{ + splitBy_ = splitBy; + setParameter("SplitBy", splitBy); } -void DescribeLiveDrmUsageDataRequest::setSplitBy(const std::string &splitBy) { - splitBy_ = splitBy; - setParameter(std::string("SplitBy"), splitBy); +std::string DescribeLiveDrmUsageDataRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveDrmUsageDataRequest::getDomainName() const { - return domainName_; +void DescribeLiveDrmUsageDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveDrmUsageDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveDrmUsageDataRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveDrmUsageDataRequest::getEndTime() const { - return endTime_; +void DescribeLiveDrmUsageDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveDrmUsageDataRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveDrmUsageDataRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveDrmUsageDataRequest::getOwnerId() const { - return ownerId_; +void DescribeLiveDrmUsageDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeLiveDrmUsageDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeLiveDrmUsageDataRequest::getInterval()const +{ + return interval_; } -std::string DescribeLiveDrmUsageDataRequest::getInterval() const { - return interval_; -} - -void DescribeLiveDrmUsageDataRequest::setInterval(const std::string &interval) { - interval_ = interval; - setParameter(std::string("Interval"), interval); +void DescribeLiveDrmUsageDataRequest::setInterval(const std::string& interval) +{ + interval_ = interval; + setParameter("Interval", interval); } diff --git a/live/src/model/DescribeLiveDrmUsageDataResult.cc b/live/src/model/DescribeLiveDrmUsageDataResult.cc index 65063182d..06b203dca 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["Domain"].isNull()) - drmUsageDataObject.domain = valueDrmUsageDataDataModule["Domain"].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["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["Count"].isNull()) + drmUsageDataObject.count = std::stol(valueDrmUsageDataDataModule["Count"].asString()); drmUsageData_.push_back(drmUsageDataObject); } diff --git a/live/src/model/DescribeLiveEdgeTransferRequest.cc b/live/src/model/DescribeLiveEdgeTransferRequest.cc index 0366837bc..20914589b 100644 --- a/live/src/model/DescribeLiveEdgeTransferRequest.cc +++ b/live/src/model/DescribeLiveEdgeTransferRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DescribeLiveEdgeTransferRequest; - -DescribeLiveEdgeTransferRequest::DescribeLiveEdgeTransferRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveEdgeTransfer") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveEdgeTransferRequest::~DescribeLiveEdgeTransferRequest() {} - -std::string DescribeLiveEdgeTransferRequest::getDomainName() const { - return domainName_; +void DescribeLiveEdgeTransferRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveEdgeTransferRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveEdgeTransferRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveEdgeTransferRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveEdgeTransferRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveEdgeTransferRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveEdgeTransferResult.cc b/live/src/model/DescribeLiveEdgeTransferResult.cc index 8946db955..71a945c1c 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["HttpDns"].isNull()) - httpDns_ = value["HttpDns"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].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["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); + if(!value["TransferArgs"].isNull()) + transferArgs_ = value["TransferArgs"].asString(); + if(!value["HttpDns"].isNull()) + httpDns_ = value["HttpDns"].asString(); } diff --git a/live/src/model/DescribeLiveLazyPullStreamConfigRequest.cc b/live/src/model/DescribeLiveLazyPullStreamConfigRequest.cc index 2c8509123..fc2eab163 100644 --- a/live/src/model/DescribeLiveLazyPullStreamConfigRequest.cc +++ b/live/src/model/DescribeLiveLazyPullStreamConfigRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveLazyPullStreamConfigRequest; - -DescribeLiveLazyPullStreamConfigRequest::DescribeLiveLazyPullStreamConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveLazyPullStreamConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveLazyPullStreamConfigRequest::~DescribeLiveLazyPullStreamConfigRequest() {} - -std::string DescribeLiveLazyPullStreamConfigRequest::getAppName() const { - return appName_; +void DescribeLiveLazyPullStreamConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DescribeLiveLazyPullStreamConfigRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string DescribeLiveLazyPullStreamConfigRequest::getLiveapiRequestFrom()const +{ + return liveapiRequestFrom_; } -std::string DescribeLiveLazyPullStreamConfigRequest::getLiveapiRequestFrom() const { - return liveapiRequestFrom_; +void DescribeLiveLazyPullStreamConfigRequest::setLiveapiRequestFrom(const std::string& liveapiRequestFrom) +{ + liveapiRequestFrom_ = liveapiRequestFrom; + setParameter("LiveapiRequestFrom", liveapiRequestFrom); } -void DescribeLiveLazyPullStreamConfigRequest::setLiveapiRequestFrom(const std::string &liveapiRequestFrom) { - liveapiRequestFrom_ = liveapiRequestFrom; - setParameter(std::string("LiveapiRequestFrom"), liveapiRequestFrom); +std::string DescribeLiveLazyPullStreamConfigRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveLazyPullStreamConfigRequest::getDomainName() const { - return domainName_; +void DescribeLiveLazyPullStreamConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveLazyPullStreamConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveLazyPullStreamConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveLazyPullStreamConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveLazyPullStreamConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveLazyPullStreamConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveLazyPullStreamConfigResult.cc b/live/src/model/DescribeLiveLazyPullStreamConfigResult.cc index 70ce58e26..99f76374d 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["PullArgs"].isNull()) - liveLazyPullConfigListObject.pullArgs = valueLiveLazyPullConfigListLiveLazyPullConfig["PullArgs"].asString(); + if(!valueLiveLazyPullConfigListLiveLazyPullConfig["PullDomainName"].isNull()) + liveLazyPullConfigListObject.pullDomainName = valueLiveLazyPullConfigListLiveLazyPullConfig["PullDomainName"].asString(); if(!valueLiveLazyPullConfigListLiveLazyPullConfig["PullAppName"].isNull()) liveLazyPullConfigListObject.pullAppName = valueLiveLazyPullConfigListLiveLazyPullConfig["PullAppName"].asString(); if(!valueLiveLazyPullConfigListLiveLazyPullConfig["PullProtocol"].isNull()) liveLazyPullConfigListObject.pullProtocol = valueLiveLazyPullConfigListLiveLazyPullConfig["PullProtocol"].asString(); - if(!valueLiveLazyPullConfigListLiveLazyPullConfig["PullAuthKey"].isNull()) - liveLazyPullConfigListObject.pullAuthKey = valueLiveLazyPullConfigListLiveLazyPullConfig["PullAuthKey"].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(); + if(!valueLiveLazyPullConfigListLiveLazyPullConfig["PullAuthKey"].isNull()) + liveLazyPullConfigListObject.pullAuthKey = valueLiveLazyPullConfigListLiveLazyPullConfig["PullAuthKey"].asString(); + if(!valueLiveLazyPullConfigListLiveLazyPullConfig["PullArgs"].isNull()) + liveLazyPullConfigListObject.pullArgs = valueLiveLazyPullConfigListLiveLazyPullConfig["PullArgs"].asString(); liveLazyPullConfigList_.push_back(liveLazyPullConfigListObject); } diff --git a/live/src/model/DescribeLivePullStreamConfigRequest.cc b/live/src/model/DescribeLivePullStreamConfigRequest.cc index f110207e7..496179194 100644 --- a/live/src/model/DescribeLivePullStreamConfigRequest.cc +++ b/live/src/model/DescribeLivePullStreamConfigRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLivePullStreamConfigRequest; - -DescribeLivePullStreamConfigRequest::DescribeLivePullStreamConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLivePullStreamConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLivePullStreamConfigRequest::~DescribeLivePullStreamConfigRequest() {} - -std::string DescribeLivePullStreamConfigRequest::getLiveapiRequestFrom() const { - return liveapiRequestFrom_; +void DescribeLivePullStreamConfigRequest::setLiveapiRequestFrom(const std::string& liveapiRequestFrom) +{ + liveapiRequestFrom_ = liveapiRequestFrom; + setParameter("LiveapiRequestFrom", liveapiRequestFrom); } -void DescribeLivePullStreamConfigRequest::setLiveapiRequestFrom(const std::string &liveapiRequestFrom) { - liveapiRequestFrom_ = liveapiRequestFrom; - setParameter(std::string("LiveapiRequestFrom"), liveapiRequestFrom); +std::string DescribeLivePullStreamConfigRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLivePullStreamConfigRequest::getDomainName() const { - return domainName_; +void DescribeLivePullStreamConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLivePullStreamConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLivePullStreamConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLivePullStreamConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLivePullStreamConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLivePullStreamConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLivePullStreamConfigResult.cc b/live/src/model/DescribeLivePullStreamConfigResult.cc index 7617219eb..fc7b30cd9 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["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(); + 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["Always"].isNull()) + liveAppRecordListObject.always = valueLiveAppRecordListLiveAppRecord["Always"].asString(); liveAppRecordList_.push_back(liveAppRecordListObject); } diff --git a/live/src/model/DescribeLiveRealtimeDeliveryAccRequest.cc b/live/src/model/DescribeLiveRealtimeDeliveryAccRequest.cc index df0542dbc..30585bd14 100644 --- a/live/src/model/DescribeLiveRealtimeDeliveryAccRequest.cc +++ b/live/src/model/DescribeLiveRealtimeDeliveryAccRequest.cc @@ -1,90 +1,106 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveRealtimeDeliveryAccRequest; - -DescribeLiveRealtimeDeliveryAccRequest::DescribeLiveRealtimeDeliveryAccRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveRealtimeDeliveryAcc") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveRealtimeDeliveryAccRequest::~DescribeLiveRealtimeDeliveryAccRequest() {} - -std::string DescribeLiveRealtimeDeliveryAccRequest::getProject() const { - return project_; +void DescribeLiveRealtimeDeliveryAccRequest::setProject(const std::string& project) +{ + project_ = project; + setParameter("Project", project); } -void DescribeLiveRealtimeDeliveryAccRequest::setProject(const std::string &project) { - project_ = project; - setParameter(std::string("Project"), project); +std::string DescribeLiveRealtimeDeliveryAccRequest::getStartTime()const +{ + return startTime_; } -std::string DescribeLiveRealtimeDeliveryAccRequest::getStartTime() const { - return startTime_; +void DescribeLiveRealtimeDeliveryAccRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveRealtimeDeliveryAccRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveRealtimeDeliveryAccRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveRealtimeDeliveryAccRequest::getDomainName() const { - return domainName_; +void DescribeLiveRealtimeDeliveryAccRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveRealtimeDeliveryAccRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveRealtimeDeliveryAccRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveRealtimeDeliveryAccRequest::getEndTime() const { - return endTime_; +void DescribeLiveRealtimeDeliveryAccRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveRealtimeDeliveryAccRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveRealtimeDeliveryAccRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveRealtimeDeliveryAccRequest::getOwnerId() const { - return ownerId_; +void DescribeLiveRealtimeDeliveryAccRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeLiveRealtimeDeliveryAccRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeLiveRealtimeDeliveryAccRequest::getInterval()const +{ + return interval_; } -std::string DescribeLiveRealtimeDeliveryAccRequest::getInterval() const { - return interval_; +void DescribeLiveRealtimeDeliveryAccRequest::setInterval(const std::string& interval) +{ + interval_ = interval; + setParameter("Interval", interval); } -void DescribeLiveRealtimeDeliveryAccRequest::setInterval(const std::string &interval) { - interval_ = interval; - setParameter(std::string("Interval"), interval); +std::string DescribeLiveRealtimeDeliveryAccRequest::getLogStore()const +{ + return logStore_; } -std::string DescribeLiveRealtimeDeliveryAccRequest::getLogStore() const { - return logStore_; -} - -void DescribeLiveRealtimeDeliveryAccRequest::setLogStore(const std::string &logStore) { - logStore_ = logStore; - setParameter(std::string("LogStore"), logStore); +void DescribeLiveRealtimeDeliveryAccRequest::setLogStore(const std::string& logStore) +{ + logStore_ = logStore; + setParameter("LogStore", logStore); } diff --git a/live/src/model/DescribeLiveRealtimeDeliveryAccResult.cc b/live/src/model/DescribeLiveRealtimeDeliveryAccResult.cc index 824c381e3..932e05060 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["FailedNum"].isNull()) - realTimeDeliveryAccDataObject.failedNum = std::stoi(valueRealTimeDeliveryAccDataAccData["FailedNum"].asString()); if(!valueRealTimeDeliveryAccDataAccData["SuccessNum"].isNull()) realTimeDeliveryAccDataObject.successNum = std::stoi(valueRealTimeDeliveryAccDataAccData["SuccessNum"].asString()); + if(!valueRealTimeDeliveryAccDataAccData["FailedNum"].isNull()) + realTimeDeliveryAccDataObject.failedNum = std::stoi(valueRealTimeDeliveryAccDataAccData["FailedNum"].asString()); realTimeDeliveryAccData_.push_back(realTimeDeliveryAccDataObject); } diff --git a/live/src/model/DescribeLiveRealtimeLogAuthorizedRequest.cc b/live/src/model/DescribeLiveRealtimeLogAuthorizedRequest.cc index 149f4dc00..9b72ff4db 100644 --- a/live/src/model/DescribeLiveRealtimeLogAuthorizedRequest.cc +++ b/live/src/model/DescribeLiveRealtimeLogAuthorizedRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DescribeLiveRealtimeLogAuthorizedRequest; - -DescribeLiveRealtimeLogAuthorizedRequest::DescribeLiveRealtimeLogAuthorizedRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveRealtimeLogAuthorized") { - setMethod(HttpRequest::Method::Get); + */ + +#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_; } -DescribeLiveRealtimeLogAuthorizedRequest::~DescribeLiveRealtimeLogAuthorizedRequest() {} - -long DescribeLiveRealtimeLogAuthorizedRequest::getOwnerId() const { - return ownerId_; +void DescribeLiveRealtimeLogAuthorizedRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeLiveRealtimeLogAuthorizedRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeLiveRealtimeLogAuthorizedRequest::getLiveOpenapiReserve()const +{ + return liveOpenapiReserve_; } -std::string DescribeLiveRealtimeLogAuthorizedRequest::getLiveOpenapiReserve() const { - return liveOpenapiReserve_; -} - -void DescribeLiveRealtimeLogAuthorizedRequest::setLiveOpenapiReserve(const std::string &liveOpenapiReserve) { - liveOpenapiReserve_ = liveOpenapiReserve; - setParameter(std::string("LiveOpenapiReserve"), liveOpenapiReserve); +void DescribeLiveRealtimeLogAuthorizedRequest::setLiveOpenapiReserve(const std::string& liveOpenapiReserve) +{ + liveOpenapiReserve_ = liveOpenapiReserve; + setParameter("LiveOpenapiReserve", liveOpenapiReserve); } diff --git a/live/src/model/DescribeLiveRecordConfigRequest.cc b/live/src/model/DescribeLiveRecordConfigRequest.cc index 86a5ddbbb..5519962e9 100644 --- a/live/src/model/DescribeLiveRecordConfigRequest.cc +++ b/live/src/model/DescribeLiveRecordConfigRequest.cc @@ -1,99 +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::DescribeLiveRecordConfigRequest; - -DescribeLiveRecordConfigRequest::DescribeLiveRecordConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveRecordConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveRecordConfigRequest::~DescribeLiveRecordConfigRequest() {} - -int DescribeLiveRecordConfigRequest::getPageNum() const { - return pageNum_; +void DescribeLiveRecordConfigRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); } -void DescribeLiveRecordConfigRequest::setPageNum(int pageNum) { - pageNum_ = pageNum; - setParameter(std::string("PageNum"), std::to_string(pageNum)); +std::string DescribeLiveRecordConfigRequest::getAppName()const +{ + return appName_; } -std::string DescribeLiveRecordConfigRequest::getAppName() const { - return appName_; +void DescribeLiveRecordConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DescribeLiveRecordConfigRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string DescribeLiveRecordConfigRequest::getSecurityToken()const +{ + return securityToken_; } -std::string DescribeLiveRecordConfigRequest::getSecurityToken() const { - return securityToken_; +void DescribeLiveRecordConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void DescribeLiveRecordConfigRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +int DescribeLiveRecordConfigRequest::getPageSize()const +{ + return pageSize_; } -int DescribeLiveRecordConfigRequest::getPageSize() const { - return pageSize_; +void DescribeLiveRecordConfigRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); } -void DescribeLiveRecordConfigRequest::setPageSize(int pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); +std::string DescribeLiveRecordConfigRequest::getStreamName()const +{ + return streamName_; } -std::string DescribeLiveRecordConfigRequest::getStreamName() const { - return streamName_; +void DescribeLiveRecordConfigRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void DescribeLiveRecordConfigRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string DescribeLiveRecordConfigRequest::getOrder()const +{ + return order_; } -std::string DescribeLiveRecordConfigRequest::getOrder() const { - return order_; +void DescribeLiveRecordConfigRequest::setOrder(const std::string& order) +{ + order_ = order; + setParameter("Order", order); } -void DescribeLiveRecordConfigRequest::setOrder(const std::string &order) { - order_ = order; - setParameter(std::string("Order"), order); +std::string DescribeLiveRecordConfigRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveRecordConfigRequest::getDomainName() const { - return domainName_; +void DescribeLiveRecordConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveRecordConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveRecordConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveRecordConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveRecordConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveRecordConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveRecordConfigResult.cc b/live/src/model/DescribeLiveRecordConfigResult.cc index 5f4ede875..ead6726e4 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["EndTime"].isNull()) - liveAppRecordListObject.endTime = valueLiveAppRecordListLiveAppRecord["EndTime"].asString(); - if(!valueLiveAppRecordListLiveAppRecord["StartTime"].isNull()) - liveAppRecordListObject.startTime = valueLiveAppRecordListLiveAppRecord["StartTime"].asString(); + 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["CreateTime"].isNull()) - liveAppRecordListObject.createTime = valueLiveAppRecordListLiveAppRecord["CreateTime"].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(); + 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()); auto allRecordFormatListNode = valueLiveAppRecordListLiveAppRecord["RecordFormatList"]["RecordFormat"]; for (auto valueLiveAppRecordListLiveAppRecordRecordFormatListRecordFormat : allRecordFormatListNode) { LiveAppRecord::RecordFormat recordFormatListObject; - 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(); + 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()); liveAppRecordListObject.recordFormatList.push_back(recordFormatListObject); } auto allTranscodeRecordFormatListNode = valueLiveAppRecordListLiveAppRecord["TranscodeRecordFormatList"]["RecordFormat"]; for (auto valueLiveAppRecordListLiveAppRecordTranscodeRecordFormatListRecordFormat : allTranscodeRecordFormatListNode) { LiveAppRecord::RecordFormat transcodeRecordFormatListObject; - 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(); + 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()); 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["Order"].isNull()) - order_ = value["Order"].asString(); - if(!value["TotalPage"].isNull()) - totalPage_ = std::stoi(value["TotalPage"].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()); } @@ -126,16 +126,16 @@ int DescribeLiveRecordConfigResult::getPageNum()const return pageNum_; } -int DescribeLiveRecordConfigResult::getTotalPage()const -{ - return totalPage_; -} - int DescribeLiveRecordConfigResult::getPageSize()const { return pageSize_; } +int DescribeLiveRecordConfigResult::getTotalPage()const +{ + return totalPage_; +} + std::vector DescribeLiveRecordConfigResult::getLiveAppRecordList()const { return liveAppRecordList_; diff --git a/live/src/model/DescribeLiveRecordNotifyConfigRequest.cc b/live/src/model/DescribeLiveRecordNotifyConfigRequest.cc index 050629c89..76c7a5f7d 100644 --- a/live/src/model/DescribeLiveRecordNotifyConfigRequest.cc +++ b/live/src/model/DescribeLiveRecordNotifyConfigRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveRecordNotifyConfigRequest; - -DescribeLiveRecordNotifyConfigRequest::DescribeLiveRecordNotifyConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveRecordNotifyConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveRecordNotifyConfigRequest::~DescribeLiveRecordNotifyConfigRequest() {} - -std::string DescribeLiveRecordNotifyConfigRequest::getSecurityToken() const { - return securityToken_; +void DescribeLiveRecordNotifyConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void DescribeLiveRecordNotifyConfigRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string DescribeLiveRecordNotifyConfigRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveRecordNotifyConfigRequest::getDomainName() const { - return domainName_; +void DescribeLiveRecordNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveRecordNotifyConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveRecordNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveRecordNotifyConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveRecordNotifyConfigResult.cc b/live/src/model/DescribeLiveRecordNotifyConfigResult.cc index a4d8d3250..bd4637422 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 9a4aa04eb..39fd6a6cf 100644 --- a/live/src/model/DescribeLiveRecordVodConfigsRequest.cc +++ b/live/src/model/DescribeLiveRecordVodConfigsRequest.cc @@ -1,81 +1,95 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DescribeLiveRecordVodConfigsRequest::~DescribeLiveRecordVodConfigsRequest() {} - -long DescribeLiveRecordVodConfigsRequest::getPageNum() const { - return pageNum_; +void DescribeLiveRecordVodConfigsRequest::setPageNum(long pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); } -void DescribeLiveRecordVodConfigsRequest::setPageNum(long pageNum) { - pageNum_ = pageNum; - setParameter(std::string("PageNum"), std::to_string(pageNum)); +std::string DescribeLiveRecordVodConfigsRequest::getAppName()const +{ + return appName_; } -std::string DescribeLiveRecordVodConfigsRequest::getAppName() const { - return appName_; +void DescribeLiveRecordVodConfigsRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DescribeLiveRecordVodConfigsRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +long DescribeLiveRecordVodConfigsRequest::getPageSize()const +{ + return pageSize_; } -long DescribeLiveRecordVodConfigsRequest::getPageSize() const { - return pageSize_; +void DescribeLiveRecordVodConfigsRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); } -void DescribeLiveRecordVodConfigsRequest::setPageSize(long pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); +std::string DescribeLiveRecordVodConfigsRequest::getStreamName()const +{ + return streamName_; } -std::string DescribeLiveRecordVodConfigsRequest::getStreamName() const { - return streamName_; +void DescribeLiveRecordVodConfigsRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void DescribeLiveRecordVodConfigsRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string DescribeLiveRecordVodConfigsRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveRecordVodConfigsRequest::getDomainName() const { - return domainName_; +void DescribeLiveRecordVodConfigsRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveRecordVodConfigsRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveRecordVodConfigsRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveRecordVodConfigsRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveRecordVodConfigsRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveRecordVodConfigsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveRecordVodConfigsResult.cc b/live/src/model/DescribeLiveRecordVodConfigsResult.cc index 3dccc201f..8045e710c 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["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["DomainName"].isNull()) + liveRecordVodConfigsObject.domainName = valueLiveRecordVodConfigsLiveRecordVodConfig["DomainName"].asString(); + if(!valueLiveRecordVodConfigsLiveRecordVodConfig["AppName"].isNull()) + liveRecordVodConfigsObject.appName = valueLiveRecordVodConfigsLiveRecordVodConfig["AppName"].asString(); + if(!valueLiveRecordVodConfigsLiveRecordVodConfig["StreamName"].isNull()) + liveRecordVodConfigsObject.streamName = valueLiveRecordVodConfigsLiveRecordVodConfig["StreamName"].asString(); if(!valueLiveRecordVodConfigsLiveRecordVodConfig["VodTranscodeGroupId"].isNull()) liveRecordVodConfigsObject.vodTranscodeGroupId = valueLiveRecordVodConfigsLiveRecordVodConfig["VodTranscodeGroupId"].asString(); if(!valueLiveRecordVodConfigsLiveRecordVodConfig["CycleDuration"].isNull()) liveRecordVodConfigsObject.cycleDuration = std::stoi(valueLiveRecordVodConfigsLiveRecordVodConfig["CycleDuration"].asString()); - if(!valueLiveRecordVodConfigsLiveRecordVodConfig["DomainName"].isNull()) - liveRecordVodConfigsObject.domainName = valueLiveRecordVodConfigsLiveRecordVodConfig["DomainName"].asString(); + if(!valueLiveRecordVodConfigsLiveRecordVodConfig["AutoCompose"].isNull()) + liveRecordVodConfigsObject.autoCompose = valueLiveRecordVodConfigsLiveRecordVodConfig["AutoCompose"].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 e27e95739..896e3322d 100644 --- a/live/src/model/DescribeLiveShiftConfigsRequest.cc +++ b/live/src/model/DescribeLiveShiftConfigsRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DescribeLiveShiftConfigsRequest; - -DescribeLiveShiftConfigsRequest::DescribeLiveShiftConfigsRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveShiftConfigs") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveShiftConfigsRequest::~DescribeLiveShiftConfigsRequest() {} - -std::string DescribeLiveShiftConfigsRequest::getDomainName() const { - return domainName_; +void DescribeLiveShiftConfigsRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveShiftConfigsRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveShiftConfigsRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveShiftConfigsRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveShiftConfigsRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveShiftConfigsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveSnapshotConfigRequest.cc b/live/src/model/DescribeLiveSnapshotConfigRequest.cc index 4f920ffde..a4d317990 100644 --- a/live/src/model/DescribeLiveSnapshotConfigRequest.cc +++ b/live/src/model/DescribeLiveSnapshotConfigRequest.cc @@ -1,90 +1,106 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveSnapshotConfigRequest; - -DescribeLiveSnapshotConfigRequest::DescribeLiveSnapshotConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveSnapshotConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveSnapshotConfigRequest::~DescribeLiveSnapshotConfigRequest() {} - -int DescribeLiveSnapshotConfigRequest::getPageNum() const { - return pageNum_; +void DescribeLiveSnapshotConfigRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); } -void DescribeLiveSnapshotConfigRequest::setPageNum(int pageNum) { - pageNum_ = pageNum; - setParameter(std::string("PageNum"), std::to_string(pageNum)); +std::string DescribeLiveSnapshotConfigRequest::getAppName()const +{ + return appName_; } -std::string DescribeLiveSnapshotConfigRequest::getAppName() const { - return appName_; +void DescribeLiveSnapshotConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DescribeLiveSnapshotConfigRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string DescribeLiveSnapshotConfigRequest::getSecurityToken()const +{ + return securityToken_; } -std::string DescribeLiveSnapshotConfigRequest::getSecurityToken() const { - return securityToken_; +void DescribeLiveSnapshotConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void DescribeLiveSnapshotConfigRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +int DescribeLiveSnapshotConfigRequest::getPageSize()const +{ + return pageSize_; } -int DescribeLiveSnapshotConfigRequest::getPageSize() const { - return pageSize_; +void DescribeLiveSnapshotConfigRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); } -void DescribeLiveSnapshotConfigRequest::setPageSize(int pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); +std::string DescribeLiveSnapshotConfigRequest::getOrder()const +{ + return order_; } -std::string DescribeLiveSnapshotConfigRequest::getOrder() const { - return order_; +void DescribeLiveSnapshotConfigRequest::setOrder(const std::string& order) +{ + order_ = order; + setParameter("Order", order); } -void DescribeLiveSnapshotConfigRequest::setOrder(const std::string &order) { - order_ = order; - setParameter(std::string("Order"), order); +std::string DescribeLiveSnapshotConfigRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveSnapshotConfigRequest::getDomainName() const { - return domainName_; +void DescribeLiveSnapshotConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveSnapshotConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveSnapshotConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveSnapshotConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveSnapshotConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveSnapshotConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveSnapshotConfigResult.cc b/live/src/model/DescribeLiveSnapshotConfigResult.cc index a6d93237e..e05e7e0b5 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["OverwriteOssObject"].isNull()) - liveStreamSnapshotConfigListObject.overwriteOssObject = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["OverwriteOssObject"].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["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["CreateTime"].isNull()) + liveStreamSnapshotConfigListObject.createTime = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["CreateTime"].asString(); + if(!valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["Callback"].isNull()) + liveStreamSnapshotConfigListObject.callback = valueLiveStreamSnapshotConfigListLiveStreamSnapshotConfig["Callback"].asString(); liveStreamSnapshotConfigList_.push_back(liveStreamSnapshotConfigListObject); } if(!value["PageNum"].isNull()) pageNum_ = std::stoi(value["PageNum"].asString()); - if(!value["Order"].isNull()) - order_ = value["Order"].asString(); - if(!value["TotalPage"].isNull()) - totalPage_ = std::stoi(value["TotalPage"].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()); } @@ -91,16 +91,16 @@ int DescribeLiveSnapshotConfigResult::getPageNum()const return pageNum_; } -int DescribeLiveSnapshotConfigResult::getTotalPage()const -{ - return totalPage_; -} - int DescribeLiveSnapshotConfigResult::getPageSize()const { return pageSize_; } +int DescribeLiveSnapshotConfigResult::getTotalPage()const +{ + return totalPage_; +} + std::vector DescribeLiveSnapshotConfigResult::getLiveStreamSnapshotConfigList()const { return liveStreamSnapshotConfigList_; diff --git a/live/src/model/DescribeLiveSnapshotDetectPornConfigRequest.cc b/live/src/model/DescribeLiveSnapshotDetectPornConfigRequest.cc index ab27a905a..2c3500d8c 100644 --- a/live/src/model/DescribeLiveSnapshotDetectPornConfigRequest.cc +++ b/live/src/model/DescribeLiveSnapshotDetectPornConfigRequest.cc @@ -1,90 +1,106 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveSnapshotDetectPornConfigRequest; - -DescribeLiveSnapshotDetectPornConfigRequest::DescribeLiveSnapshotDetectPornConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveSnapshotDetectPornConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveSnapshotDetectPornConfigRequest::~DescribeLiveSnapshotDetectPornConfigRequest() {} - -int DescribeLiveSnapshotDetectPornConfigRequest::getPageNum() const { - return pageNum_; +void DescribeLiveSnapshotDetectPornConfigRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); } -void DescribeLiveSnapshotDetectPornConfigRequest::setPageNum(int pageNum) { - pageNum_ = pageNum; - setParameter(std::string("PageNum"), std::to_string(pageNum)); +std::string DescribeLiveSnapshotDetectPornConfigRequest::getAppName()const +{ + return appName_; } -std::string DescribeLiveSnapshotDetectPornConfigRequest::getAppName() const { - return appName_; +void DescribeLiveSnapshotDetectPornConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DescribeLiveSnapshotDetectPornConfigRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string DescribeLiveSnapshotDetectPornConfigRequest::getSecurityToken()const +{ + return securityToken_; } -std::string DescribeLiveSnapshotDetectPornConfigRequest::getSecurityToken() const { - return securityToken_; +void DescribeLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void DescribeLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +int DescribeLiveSnapshotDetectPornConfigRequest::getPageSize()const +{ + return pageSize_; } -int DescribeLiveSnapshotDetectPornConfigRequest::getPageSize() const { - return pageSize_; +void DescribeLiveSnapshotDetectPornConfigRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); } -void DescribeLiveSnapshotDetectPornConfigRequest::setPageSize(int pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); +std::string DescribeLiveSnapshotDetectPornConfigRequest::getOrder()const +{ + return order_; } -std::string DescribeLiveSnapshotDetectPornConfigRequest::getOrder() const { - return order_; +void DescribeLiveSnapshotDetectPornConfigRequest::setOrder(const std::string& order) +{ + order_ = order; + setParameter("Order", order); } -void DescribeLiveSnapshotDetectPornConfigRequest::setOrder(const std::string &order) { - order_ = order; - setParameter(std::string("Order"), order); +std::string DescribeLiveSnapshotDetectPornConfigRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveSnapshotDetectPornConfigRequest::getDomainName() const { - return domainName_; +void DescribeLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveSnapshotDetectPornConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveSnapshotDetectPornConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveSnapshotDetectPornConfigResult.cc b/live/src/model/DescribeLiveSnapshotDetectPornConfigResult.cc index 654580e98..0b4280861 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["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["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["Interval"].isNull()) + liveSnapshotDetectPornConfigListObject.interval = std::stoi(valueLiveSnapshotDetectPornConfigListLiveSnapshotDetectPornConfig["Interval"].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["Order"].isNull()) - order_ = value["Order"].asString(); - if(!value["TotalPage"].isNull()) - totalPage_ = std::stoi(value["TotalPage"].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()); } @@ -88,16 +88,16 @@ int DescribeLiveSnapshotDetectPornConfigResult::getPageNum()const return pageNum_; } -int DescribeLiveSnapshotDetectPornConfigResult::getTotalPage()const -{ - return totalPage_; -} - int DescribeLiveSnapshotDetectPornConfigResult::getPageSize()const { return pageSize_; } +int DescribeLiveSnapshotDetectPornConfigResult::getTotalPage()const +{ + return totalPage_; +} + std::vector DescribeLiveSnapshotDetectPornConfigResult::getLiveSnapshotDetectPornConfigList()const { return liveSnapshotDetectPornConfigList_; diff --git a/live/src/model/DescribeLiveStreamBitRateDataRequest.cc b/live/src/model/DescribeLiveStreamBitRateDataRequest.cc index c49dfd8c3..ef7a1e6ef 100644 --- a/live/src/model/DescribeLiveStreamBitRateDataRequest.cc +++ b/live/src/model/DescribeLiveStreamBitRateDataRequest.cc @@ -1,90 +1,106 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamBitRateDataRequest; - -DescribeLiveStreamBitRateDataRequest::DescribeLiveStreamBitRateDataRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamBitRateData") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveStreamBitRateDataRequest::~DescribeLiveStreamBitRateDataRequest() {} - -std::string DescribeLiveStreamBitRateDataRequest::getStartTime() const { - return startTime_; +void DescribeLiveStreamBitRateDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveStreamBitRateDataRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveStreamBitRateDataRequest::getAppName()const +{ + return appName_; } -std::string DescribeLiveStreamBitRateDataRequest::getAppName() const { - return appName_; +void DescribeLiveStreamBitRateDataRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DescribeLiveStreamBitRateDataRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string DescribeLiveStreamBitRateDataRequest::getSecurityToken()const +{ + return securityToken_; } -std::string DescribeLiveStreamBitRateDataRequest::getSecurityToken() const { - return securityToken_; +void DescribeLiveStreamBitRateDataRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void DescribeLiveStreamBitRateDataRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string DescribeLiveStreamBitRateDataRequest::getStreamName()const +{ + return streamName_; } -std::string DescribeLiveStreamBitRateDataRequest::getStreamName() const { - return streamName_; +void DescribeLiveStreamBitRateDataRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void DescribeLiveStreamBitRateDataRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string DescribeLiveStreamBitRateDataRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveStreamBitRateDataRequest::getDomainName() const { - return domainName_; +void DescribeLiveStreamBitRateDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveStreamBitRateDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveStreamBitRateDataRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveStreamBitRateDataRequest::getEndTime() const { - return endTime_; +void DescribeLiveStreamBitRateDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveStreamBitRateDataRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveStreamBitRateDataRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveStreamBitRateDataRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveStreamBitRateDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveStreamBitRateDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamBitRateDataResult.cc b/live/src/model/DescribeLiveStreamBitRateDataResult.cc index 1214bcfbe..650edf39d 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["Time"].isNull()) - frameRateAndBitRateInfosObject.time = valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["Time"].asString(); + if(!valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["StreamUrl"].isNull()) + frameRateAndBitRateInfosObject.streamUrl = valueFrameRateAndBitRateInfosFrameRateAndBitRateInfo["StreamUrl"].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 2fe7b23e7..0c2e87092 100644 --- a/live/src/model/DescribeLiveStreamCountRequest.cc +++ b/live/src/model/DescribeLiveStreamCountRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DescribeLiveStreamCountRequest; - -DescribeLiveStreamCountRequest::DescribeLiveStreamCountRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamCount") { - setMethod(HttpRequest::Method::Get); + */ + +#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_; } -DescribeLiveStreamCountRequest::~DescribeLiveStreamCountRequest() {} - -std::string DescribeLiveStreamCountRequest::getDomainName() const { - return domainName_; +void DescribeLiveStreamCountRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveStreamCountRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveStreamCountRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveStreamCountRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveStreamCountRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveStreamCountRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamCountResult.cc b/live/src/model/DescribeLiveStreamCountResult.cc index d32f354ee..ec5743d5b 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["VideoDataRate"].isNull()) - streamCountDetailsObject.videoDataRate = std::stol(valueStreamCountInfosStreamCountInfoStreamCountDetailsStreamCountDetail["VideoDataRate"].asString()); if(!valueStreamCountInfosStreamCountInfoStreamCountDetailsStreamCountDetail["Format"].isNull()) streamCountDetailsObject.format = valueStreamCountInfosStreamCountInfoStreamCountDetailsStreamCountDetail["Format"].asString(); + if(!valueStreamCountInfosStreamCountInfoStreamCountDetailsStreamCountDetail["VideoDataRate"].isNull()) + streamCountDetailsObject.videoDataRate = std::stol(valueStreamCountInfosStreamCountInfoStreamCountDetailsStreamCountDetail["VideoDataRate"].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 4097fb251..7ec80ab11 100644 --- a/live/src/model/DescribeLiveStreamDelayConfigRequest.cc +++ b/live/src/model/DescribeLiveStreamDelayConfigRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DescribeLiveStreamDelayConfigRequest; - -DescribeLiveStreamDelayConfigRequest::DescribeLiveStreamDelayConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamDelayConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveStreamDelayConfigRequest::~DescribeLiveStreamDelayConfigRequest() {} - -std::string DescribeLiveStreamDelayConfigRequest::getDomainName() const { - return domainName_; +void DescribeLiveStreamDelayConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveStreamDelayConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveStreamDelayConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveStreamDelayConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveStreamDelayConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveStreamDelayConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamDelayConfigResult.cc b/live/src/model/DescribeLiveStreamDelayConfigResult.cc index f59d446cb..926838f5e 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["Delay"].isNull()) - liveStreamHlsDelayConfig_.delay = std::stoi(liveStreamHlsDelayConfigNode["Delay"].asString()); if(!liveStreamHlsDelayConfigNode["Level"].isNull()) liveStreamHlsDelayConfig_.level = liveStreamHlsDelayConfigNode["Level"].asString(); + if(!liveStreamHlsDelayConfigNode["Delay"].isNull()) + liveStreamHlsDelayConfig_.delay = std::stoi(liveStreamHlsDelayConfigNode["Delay"].asString()); auto liveStreamFlvDelayConfigNode = value["LiveStreamFlvDelayConfig"]; - if(!liveStreamFlvDelayConfigNode["Delay"].isNull()) - liveStreamFlvDelayConfig_.delay = std::stoi(liveStreamFlvDelayConfigNode["Delay"].asString()); if(!liveStreamFlvDelayConfigNode["Level"].isNull()) liveStreamFlvDelayConfig_.level = liveStreamFlvDelayConfigNode["Level"].asString(); + if(!liveStreamFlvDelayConfigNode["Delay"].isNull()) + liveStreamFlvDelayConfig_.delay = std::stoi(liveStreamFlvDelayConfigNode["Delay"].asString()); auto liveStreamRtmpDelayConfigNode = value["LiveStreamRtmpDelayConfig"]; - if(!liveStreamRtmpDelayConfigNode["Delay"].isNull()) - liveStreamRtmpDelayConfig_.delay = std::stoi(liveStreamRtmpDelayConfigNode["Delay"].asString()); if(!liveStreamRtmpDelayConfigNode["Level"].isNull()) liveStreamRtmpDelayConfig_.level = liveStreamRtmpDelayConfigNode["Level"].asString(); + if(!liveStreamRtmpDelayConfigNode["Delay"].isNull()) + liveStreamRtmpDelayConfig_.delay = std::stoi(liveStreamRtmpDelayConfigNode["Delay"].asString()); } diff --git a/live/src/model/DescribeLiveStreamHistoryUserNumRequest.cc b/live/src/model/DescribeLiveStreamHistoryUserNumRequest.cc index 37d99f80b..8b9764568 100644 --- a/live/src/model/DescribeLiveStreamHistoryUserNumRequest.cc +++ b/live/src/model/DescribeLiveStreamHistoryUserNumRequest.cc @@ -1,90 +1,106 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamHistoryUserNumRequest; - -DescribeLiveStreamHistoryUserNumRequest::DescribeLiveStreamHistoryUserNumRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamHistoryUserNum") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveStreamHistoryUserNumRequest::~DescribeLiveStreamHistoryUserNumRequest() {} - -std::string DescribeLiveStreamHistoryUserNumRequest::getStartTime() const { - return startTime_; +void DescribeLiveStreamHistoryUserNumRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveStreamHistoryUserNumRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveStreamHistoryUserNumRequest::getAppName()const +{ + return appName_; } -std::string DescribeLiveStreamHistoryUserNumRequest::getAppName() const { - return appName_; +void DescribeLiveStreamHistoryUserNumRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DescribeLiveStreamHistoryUserNumRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string DescribeLiveStreamHistoryUserNumRequest::getSecurityToken()const +{ + return securityToken_; } -std::string DescribeLiveStreamHistoryUserNumRequest::getSecurityToken() const { - return securityToken_; +void DescribeLiveStreamHistoryUserNumRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void DescribeLiveStreamHistoryUserNumRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string DescribeLiveStreamHistoryUserNumRequest::getStreamName()const +{ + return streamName_; } -std::string DescribeLiveStreamHistoryUserNumRequest::getStreamName() const { - return streamName_; +void DescribeLiveStreamHistoryUserNumRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void DescribeLiveStreamHistoryUserNumRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string DescribeLiveStreamHistoryUserNumRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveStreamHistoryUserNumRequest::getDomainName() const { - return domainName_; +void DescribeLiveStreamHistoryUserNumRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveStreamHistoryUserNumRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveStreamHistoryUserNumRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveStreamHistoryUserNumRequest::getEndTime() const { - return endTime_; +void DescribeLiveStreamHistoryUserNumRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveStreamHistoryUserNumRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveStreamHistoryUserNumRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveStreamHistoryUserNumRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveStreamHistoryUserNumRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveStreamHistoryUserNumRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamHistoryUserNumResult.cc b/live/src/model/DescribeLiveStreamHistoryUserNumResult.cc index 48e7cb232..a29f50ae3 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["UserNum"].isNull()) - liveStreamUserNumInfosObject.userNum = valueLiveStreamUserNumInfosLiveStreamUserNumInfo["UserNum"].asString(); if(!valueLiveStreamUserNumInfosLiveStreamUserNumInfo["StreamTime"].isNull()) liveStreamUserNumInfosObject.streamTime = valueLiveStreamUserNumInfosLiveStreamUserNumInfo["StreamTime"].asString(); + if(!valueLiveStreamUserNumInfosLiveStreamUserNumInfo["UserNum"].isNull()) + liveStreamUserNumInfosObject.userNum = valueLiveStreamUserNumInfosLiveStreamUserNumInfo["UserNum"].asString(); liveStreamUserNumInfos_.push_back(liveStreamUserNumInfosObject); } diff --git a/live/src/model/DescribeLiveStreamMonitorListRequest.cc b/live/src/model/DescribeLiveStreamMonitorListRequest.cc index 1f0dd20b2..cf64ea3cd 100644 --- a/live/src/model/DescribeLiveStreamMonitorListRequest.cc +++ b/live/src/model/DescribeLiveStreamMonitorListRequest.cc @@ -1,81 +1,95 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DescribeLiveStreamMonitorListRequest::~DescribeLiveStreamMonitorListRequest() {} - -std::string DescribeLiveStreamMonitorListRequest::getMonitorId() const { - return monitorId_; +void DescribeLiveStreamMonitorListRequest::setMonitorId(const std::string& monitorId) +{ + monitorId_ = monitorId; + setParameter("MonitorId", monitorId); } -void DescribeLiveStreamMonitorListRequest::setMonitorId(const std::string &monitorId) { - monitorId_ = monitorId; - setParameter(std::string("MonitorId"), monitorId); +int DescribeLiveStreamMonitorListRequest::getPageNum()const +{ + return pageNum_; } -int DescribeLiveStreamMonitorListRequest::getPageNum() const { - return pageNum_; +void DescribeLiveStreamMonitorListRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); } -void DescribeLiveStreamMonitorListRequest::setPageNum(int pageNum) { - pageNum_ = pageNum; - setParameter(std::string("PageNum"), std::to_string(pageNum)); +int DescribeLiveStreamMonitorListRequest::getPageSize()const +{ + return pageSize_; } -int DescribeLiveStreamMonitorListRequest::getPageSize() const { - return pageSize_; +void DescribeLiveStreamMonitorListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); } -void DescribeLiveStreamMonitorListRequest::setPageSize(int pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); +long DescribeLiveStreamMonitorListRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveStreamMonitorListRequest::getOwnerId() const { - return ownerId_; +void DescribeLiveStreamMonitorListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeLiveStreamMonitorListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +int DescribeLiveStreamMonitorListRequest::getOrderRule()const +{ + return orderRule_; } -int DescribeLiveStreamMonitorListRequest::getOrderRule() const { - return orderRule_; +void DescribeLiveStreamMonitorListRequest::setOrderRule(int orderRule) +{ + orderRule_ = orderRule; + setParameter("OrderRule", std::to_string(orderRule)); } -void DescribeLiveStreamMonitorListRequest::setOrderRule(int orderRule) { - orderRule_ = orderRule; - setParameter(std::string("OrderRule"), std::to_string(orderRule)); +int DescribeLiveStreamMonitorListRequest::getStatus()const +{ + return status_; } -int DescribeLiveStreamMonitorListRequest::getStatus() const { - return status_; -} - -void DescribeLiveStreamMonitorListRequest::setStatus(int status) { - status_ = status; - setParameter(std::string("Status"), std::to_string(status)); +void DescribeLiveStreamMonitorListRequest::setStatus(int status) +{ + status_ = status; + setParameter("Status", std::to_string(status)); } diff --git a/live/src/model/DescribeLiveStreamMonitorListResult.cc b/live/src/model/DescribeLiveStreamMonitorListResult.cc index e61363609..a35873533 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["MonitorName"].isNull()) - liveStreamMonitorListObject.monitorName = valueLiveStreamMonitorListLiveStreamMonitorInfo["MonitorName"].asString(); + if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["StartTime"].isNull()) + liveStreamMonitorListObject.startTime = valueLiveStreamMonitorListLiveStreamMonitorInfo["StartTime"].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["FlvUrl"].isNull()) - liveStreamMonitorListObject.outputUrls.flvUrl = outputUrlsNode["FlvUrl"].asString(); if(!outputUrlsNode["RtmpUrl"].isNull()) liveStreamMonitorListObject.outputUrls.rtmpUrl = outputUrlsNode["RtmpUrl"].asString(); + if(!outputUrlsNode["FlvUrl"].isNull()) + liveStreamMonitorListObject.outputUrls.flvUrl = outputUrlsNode["FlvUrl"].asString(); liveStreamMonitorList_.push_back(liveStreamMonitorListObject); } if(!value["Total"].isNull()) diff --git a/live/src/model/DescribeLiveStreamOptimizedFeatureConfigRequest.cc b/live/src/model/DescribeLiveStreamOptimizedFeatureConfigRequest.cc index 5a080b13e..d3220bfed 100644 --- a/live/src/model/DescribeLiveStreamOptimizedFeatureConfigRequest.cc +++ b/live/src/model/DescribeLiveStreamOptimizedFeatureConfigRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamOptimizedFeatureConfigRequest; - -DescribeLiveStreamOptimizedFeatureConfigRequest::DescribeLiveStreamOptimizedFeatureConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamOptimizedFeatureConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveStreamOptimizedFeatureConfigRequest::~DescribeLiveStreamOptimizedFeatureConfigRequest() {} - -std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getConfigName() const { - return configName_; +void DescribeLiveStreamOptimizedFeatureConfigRequest::setConfigName(const std::string& configName) +{ + configName_ = configName; + setParameter("ConfigName", configName); } -void DescribeLiveStreamOptimizedFeatureConfigRequest::setConfigName(const std::string &configName) { - configName_ = configName; - setParameter(std::string("ConfigName"), configName); +std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getDomainName() const { - return domainName_; +void DescribeLiveStreamOptimizedFeatureConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveStreamOptimizedFeatureConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveStreamOptimizedFeatureConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveStreamOptimizedFeatureConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveStreamOptimizedFeatureConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveStreamOptimizedFeatureConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamOptimizedFeatureConfigResult.cc b/live/src/model/DescribeLiveStreamOptimizedFeatureConfigResult.cc index 094376845..9bdfbdfd8 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 4f35f8bae..2ef4789dd 100644 --- a/live/src/model/DescribeLiveStreamRecordContentRequest.cc +++ b/live/src/model/DescribeLiveStreamRecordContentRequest.cc @@ -1,90 +1,106 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamRecordContentRequest; - -DescribeLiveStreamRecordContentRequest::DescribeLiveStreamRecordContentRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamRecordContent") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveStreamRecordContentRequest::~DescribeLiveStreamRecordContentRequest() {} - -std::string DescribeLiveStreamRecordContentRequest::getStartTime() const { - return startTime_; +void DescribeLiveStreamRecordContentRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveStreamRecordContentRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveStreamRecordContentRequest::getAppName()const +{ + return appName_; } -std::string DescribeLiveStreamRecordContentRequest::getAppName() const { - return appName_; +void DescribeLiveStreamRecordContentRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DescribeLiveStreamRecordContentRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string DescribeLiveStreamRecordContentRequest::getSecurityToken()const +{ + return securityToken_; } -std::string DescribeLiveStreamRecordContentRequest::getSecurityToken() const { - return securityToken_; +void DescribeLiveStreamRecordContentRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void DescribeLiveStreamRecordContentRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string DescribeLiveStreamRecordContentRequest::getStreamName()const +{ + return streamName_; } -std::string DescribeLiveStreamRecordContentRequest::getStreamName() const { - return streamName_; +void DescribeLiveStreamRecordContentRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void DescribeLiveStreamRecordContentRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string DescribeLiveStreamRecordContentRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveStreamRecordContentRequest::getDomainName() const { - return domainName_; +void DescribeLiveStreamRecordContentRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveStreamRecordContentRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveStreamRecordContentRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveStreamRecordContentRequest::getEndTime() const { - return endTime_; +void DescribeLiveStreamRecordContentRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveStreamRecordContentRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveStreamRecordContentRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveStreamRecordContentRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveStreamRecordContentRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveStreamRecordContentRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamRecordContentResult.cc b/live/src/model/DescribeLiveStreamRecordContentResult.cc index 2550a07de..5b595b282 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["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["OssEndpoint"].isNull()) + recordContentInfoListObject.ossEndpoint = valueRecordContentInfoListRecordContentInfo["OssEndpoint"].asString(); if(!valueRecordContentInfoListRecordContentInfo["OssBucket"].isNull()) recordContentInfoListObject.ossBucket = valueRecordContentInfoListRecordContentInfo["OssBucket"].asString(); if(!valueRecordContentInfoListRecordContentInfo["OssObjectPrefix"].isNull()) recordContentInfoListObject.ossObjectPrefix = valueRecordContentInfoListRecordContentInfo["OssObjectPrefix"].asString(); - if(!valueRecordContentInfoListRecordContentInfo["OssEndpoint"].isNull()) - recordContentInfoListObject.ossEndpoint = valueRecordContentInfoListRecordContentInfo["OssEndpoint"].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()); recordContentInfoList_.push_back(recordContentInfoListObject); } diff --git a/live/src/model/DescribeLiveStreamRecordIndexFileRequest.cc b/live/src/model/DescribeLiveStreamRecordIndexFileRequest.cc index fd19420e9..fe6b8972c 100644 --- a/live/src/model/DescribeLiveStreamRecordIndexFileRequest.cc +++ b/live/src/model/DescribeLiveStreamRecordIndexFileRequest.cc @@ -1,81 +1,95 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DescribeLiveStreamRecordIndexFileRequest::~DescribeLiveStreamRecordIndexFileRequest() {} - -std::string DescribeLiveStreamRecordIndexFileRequest::getAppName() const { - return appName_; +void DescribeLiveStreamRecordIndexFileRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DescribeLiveStreamRecordIndexFileRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string DescribeLiveStreamRecordIndexFileRequest::getSecurityToken()const +{ + return securityToken_; } -std::string DescribeLiveStreamRecordIndexFileRequest::getSecurityToken() const { - return securityToken_; +void DescribeLiveStreamRecordIndexFileRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void DescribeLiveStreamRecordIndexFileRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string DescribeLiveStreamRecordIndexFileRequest::getStreamName()const +{ + return streamName_; } -std::string DescribeLiveStreamRecordIndexFileRequest::getStreamName() const { - return streamName_; +void DescribeLiveStreamRecordIndexFileRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void DescribeLiveStreamRecordIndexFileRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string DescribeLiveStreamRecordIndexFileRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveStreamRecordIndexFileRequest::getDomainName() const { - return domainName_; +void DescribeLiveStreamRecordIndexFileRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveStreamRecordIndexFileRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveStreamRecordIndexFileRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveStreamRecordIndexFileRequest::getOwnerId() const { - return ownerId_; +void DescribeLiveStreamRecordIndexFileRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeLiveStreamRecordIndexFileRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeLiveStreamRecordIndexFileRequest::getRecordId()const +{ + return recordId_; } -std::string DescribeLiveStreamRecordIndexFileRequest::getRecordId() const { - return recordId_; -} - -void DescribeLiveStreamRecordIndexFileRequest::setRecordId(const std::string &recordId) { - recordId_ = recordId; - setParameter(std::string("RecordId"), recordId); +void DescribeLiveStreamRecordIndexFileRequest::setRecordId(const std::string& recordId) +{ + recordId_ = recordId; + setParameter("RecordId", recordId); } diff --git a/live/src/model/DescribeLiveStreamRecordIndexFileResult.cc b/live/src/model/DescribeLiveStreamRecordIndexFileResult.cc index 1393d9cd9..d6f4575e2 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["RecordUrl"].isNull()) - recordIndexInfo_.recordUrl = recordIndexInfoNode["RecordUrl"].asString(); - if(!recordIndexInfoNode["StreamName"].isNull()) - recordIndexInfo_.streamName = recordIndexInfoNode["StreamName"].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["RecordUrl"].isNull()) + recordIndexInfo_.recordUrl = recordIndexInfoNode["RecordUrl"].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["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(); } diff --git a/live/src/model/DescribeLiveStreamRecordIndexFilesRequest.cc b/live/src/model/DescribeLiveStreamRecordIndexFilesRequest.cc index 9ed4511f3..6772dfe67 100644 --- a/live/src/model/DescribeLiveStreamRecordIndexFilesRequest.cc +++ b/live/src/model/DescribeLiveStreamRecordIndexFilesRequest.cc @@ -1,117 +1,139 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DescribeLiveStreamRecordIndexFilesRequest::~DescribeLiveStreamRecordIndexFilesRequest() {} - -std::string DescribeLiveStreamRecordIndexFilesRequest::getStartTime() const { - return startTime_; +void DescribeLiveStreamRecordIndexFilesRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveStreamRecordIndexFilesRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +int DescribeLiveStreamRecordIndexFilesRequest::getPageNum()const +{ + return pageNum_; } -int DescribeLiveStreamRecordIndexFilesRequest::getPageNum() const { - return pageNum_; +void DescribeLiveStreamRecordIndexFilesRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); } -void DescribeLiveStreamRecordIndexFilesRequest::setPageNum(int pageNum) { - pageNum_ = pageNum; - setParameter(std::string("PageNum"), std::to_string(pageNum)); +std::string DescribeLiveStreamRecordIndexFilesRequest::getAppName()const +{ + return appName_; } -std::string DescribeLiveStreamRecordIndexFilesRequest::getAppName() const { - return appName_; +void DescribeLiveStreamRecordIndexFilesRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DescribeLiveStreamRecordIndexFilesRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string DescribeLiveStreamRecordIndexFilesRequest::getSecurityToken()const +{ + return securityToken_; } -std::string DescribeLiveStreamRecordIndexFilesRequest::getSecurityToken() const { - return securityToken_; +void DescribeLiveStreamRecordIndexFilesRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void DescribeLiveStreamRecordIndexFilesRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +int DescribeLiveStreamRecordIndexFilesRequest::getPageSize()const +{ + return pageSize_; } -int DescribeLiveStreamRecordIndexFilesRequest::getPageSize() const { - return pageSize_; +void DescribeLiveStreamRecordIndexFilesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); } -void DescribeLiveStreamRecordIndexFilesRequest::setPageSize(int pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); +std::string DescribeLiveStreamRecordIndexFilesRequest::getStreamName()const +{ + return streamName_; } -std::string DescribeLiveStreamRecordIndexFilesRequest::getStreamName() const { - return streamName_; +void DescribeLiveStreamRecordIndexFilesRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void DescribeLiveStreamRecordIndexFilesRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string DescribeLiveStreamRecordIndexFilesRequest::getOrder()const +{ + return order_; } -std::string DescribeLiveStreamRecordIndexFilesRequest::getOrder() const { - return order_; +void DescribeLiveStreamRecordIndexFilesRequest::setOrder(const std::string& order) +{ + order_ = order; + setParameter("Order", order); } -void DescribeLiveStreamRecordIndexFilesRequest::setOrder(const std::string &order) { - order_ = order; - setParameter(std::string("Order"), order); +std::string DescribeLiveStreamRecordIndexFilesRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveStreamRecordIndexFilesRequest::getDomainName() const { - return domainName_; +void DescribeLiveStreamRecordIndexFilesRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveStreamRecordIndexFilesRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveStreamRecordIndexFilesRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveStreamRecordIndexFilesRequest::getEndTime() const { - return endTime_; +void DescribeLiveStreamRecordIndexFilesRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveStreamRecordIndexFilesRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveStreamRecordIndexFilesRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveStreamRecordIndexFilesRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamRecordIndexFilesResult.cc b/live/src/model/DescribeLiveStreamRecordIndexFilesResult.cc index 26030793b..68de1cc3f 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["RecordUrl"].isNull()) - recordIndexInfoListObject.recordUrl = valueRecordIndexInfoListRecordIndexInfo["RecordUrl"].asString(); - if(!valueRecordIndexInfoListRecordIndexInfo["StreamName"].isNull()) - recordIndexInfoListObject.streamName = valueRecordIndexInfoListRecordIndexInfo["StreamName"].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["RecordUrl"].isNull()) + recordIndexInfoListObject.recordUrl = valueRecordIndexInfoListRecordIndexInfo["RecordUrl"].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["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(); recordIndexInfoList_.push_back(recordIndexInfoListObject); } if(!value["PageNum"].isNull()) pageNum_ = std::stoi(value["PageNum"].asString()); - if(!value["Order"].isNull()) - order_ = value["Order"].asString(); - if(!value["TotalPage"].isNull()) - totalPage_ = std::stoi(value["TotalPage"].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()); } @@ -101,16 +101,16 @@ int DescribeLiveStreamRecordIndexFilesResult::getPageNum()const return pageNum_; } -int DescribeLiveStreamRecordIndexFilesResult::getTotalPage()const -{ - return totalPage_; -} - int DescribeLiveStreamRecordIndexFilesResult::getPageSize()const { return pageSize_; } +int DescribeLiveStreamRecordIndexFilesResult::getTotalPage()const +{ + return totalPage_; +} + std::vector DescribeLiveStreamRecordIndexFilesResult::getRecordIndexInfoList()const { return recordIndexInfoList_; diff --git a/live/src/model/DescribeLiveStreamSnapshotInfoRequest.cc b/live/src/model/DescribeLiveStreamSnapshotInfoRequest.cc index 97f25abbe..cd6df2957 100644 --- a/live/src/model/DescribeLiveStreamSnapshotInfoRequest.cc +++ b/live/src/model/DescribeLiveStreamSnapshotInfoRequest.cc @@ -1,108 +1,128 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DescribeLiveStreamSnapshotInfoRequest::~DescribeLiveStreamSnapshotInfoRequest() {} - -std::string DescribeLiveStreamSnapshotInfoRequest::getStartTime() const { - return startTime_; +void DescribeLiveStreamSnapshotInfoRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveStreamSnapshotInfoRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveStreamSnapshotInfoRequest::getAppName()const +{ + return appName_; } -std::string DescribeLiveStreamSnapshotInfoRequest::getAppName() const { - return appName_; +void DescribeLiveStreamSnapshotInfoRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DescribeLiveStreamSnapshotInfoRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string DescribeLiveStreamSnapshotInfoRequest::getSecurityToken()const +{ + return securityToken_; } -std::string DescribeLiveStreamSnapshotInfoRequest::getSecurityToken() const { - return securityToken_; +void DescribeLiveStreamSnapshotInfoRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void DescribeLiveStreamSnapshotInfoRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +int DescribeLiveStreamSnapshotInfoRequest::getLimit()const +{ + return limit_; } -int DescribeLiveStreamSnapshotInfoRequest::getLimit() const { - return limit_; +void DescribeLiveStreamSnapshotInfoRequest::setLimit(int limit) +{ + limit_ = limit; + setParameter("Limit", std::to_string(limit)); } -void DescribeLiveStreamSnapshotInfoRequest::setLimit(int limit) { - limit_ = limit; - setParameter(std::string("Limit"), std::to_string(limit)); +std::string DescribeLiveStreamSnapshotInfoRequest::getStreamName()const +{ + return streamName_; } -std::string DescribeLiveStreamSnapshotInfoRequest::getStreamName() const { - return streamName_; +void DescribeLiveStreamSnapshotInfoRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void DescribeLiveStreamSnapshotInfoRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string DescribeLiveStreamSnapshotInfoRequest::getOrder()const +{ + return order_; } -std::string DescribeLiveStreamSnapshotInfoRequest::getOrder() const { - return order_; +void DescribeLiveStreamSnapshotInfoRequest::setOrder(const std::string& order) +{ + order_ = order; + setParameter("Order", order); } -void DescribeLiveStreamSnapshotInfoRequest::setOrder(const std::string &order) { - order_ = order; - setParameter(std::string("Order"), order); +std::string DescribeLiveStreamSnapshotInfoRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveStreamSnapshotInfoRequest::getDomainName() const { - return domainName_; +void DescribeLiveStreamSnapshotInfoRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveStreamSnapshotInfoRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveStreamSnapshotInfoRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveStreamSnapshotInfoRequest::getEndTime() const { - return endTime_; +void DescribeLiveStreamSnapshotInfoRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveStreamSnapshotInfoRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveStreamSnapshotInfoRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveStreamSnapshotInfoRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveStreamSnapshotInfoRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveStreamSnapshotInfoRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamSnapshotInfoResult.cc b/live/src/model/DescribeLiveStreamSnapshotInfoResult.cc index 8d0c82741..751897a3d 100644 --- a/live/src/model/DescribeLiveStreamSnapshotInfoResult.cc +++ b/live/src/model/DescribeLiveStreamSnapshotInfoResult.cc @@ -43,14 +43,14 @@ void DescribeLiveStreamSnapshotInfoResult::parse(const std::string &payload) for (auto valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo : allLiveStreamSnapshotInfoListNode) { LiveStreamSnapshotInfo liveStreamSnapshotInfoListObject; - 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["OssBucket"].isNull()) + liveStreamSnapshotInfoListObject.ossBucket = valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["OssBucket"].asString(); + if(!valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["OssObject"].isNull()) + liveStreamSnapshotInfoListObject.ossObject = valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["OssObject"].asString(); + if(!valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["CreateTime"].isNull()) + liveStreamSnapshotInfoListObject.createTime = valueLiveStreamSnapshotInfoListLiveStreamSnapshotInfo["CreateTime"].asString(); liveStreamSnapshotInfoList_.push_back(liveStreamSnapshotInfoListObject); } if(!value["NextStartTime"].isNull()) diff --git a/live/src/model/DescribeLiveStreamStateRequest.cc b/live/src/model/DescribeLiveStreamStateRequest.cc index 01a3de7fc..ba7593d9f 100644 --- a/live/src/model/DescribeLiveStreamStateRequest.cc +++ b/live/src/model/DescribeLiveStreamStateRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamStateRequest; - -DescribeLiveStreamStateRequest::DescribeLiveStreamStateRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamState") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveStreamStateRequest::~DescribeLiveStreamStateRequest() {} - -std::string DescribeLiveStreamStateRequest::getAppName() const { - return appName_; +void DescribeLiveStreamStateRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DescribeLiveStreamStateRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string DescribeLiveStreamStateRequest::getStreamName()const +{ + return streamName_; } -std::string DescribeLiveStreamStateRequest::getStreamName() const { - return streamName_; +void DescribeLiveStreamStateRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void DescribeLiveStreamStateRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string DescribeLiveStreamStateRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveStreamStateRequest::getDomainName() const { - return domainName_; +void DescribeLiveStreamStateRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveStreamStateRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveStreamStateRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveStreamStateRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveStreamStateRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveStreamStateRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamStateResult.cc b/live/src/model/DescribeLiveStreamStateResult.cc index aa254c995..ef8cf1f2b 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["Type"].isNull()) - type_ = value["Type"].asString(); if(!value["StreamState"].isNull()) streamState_ = value["StreamState"].asString(); + if(!value["Type"].isNull()) + type_ = value["Type"].asString(); } diff --git a/live/src/model/DescribeLiveStreamTranscodeInfoRequest.cc b/live/src/model/DescribeLiveStreamTranscodeInfoRequest.cc index dd55d3496..33c68c8d3 100644 --- a/live/src/model/DescribeLiveStreamTranscodeInfoRequest.cc +++ b/live/src/model/DescribeLiveStreamTranscodeInfoRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DescribeLiveStreamTranscodeInfoRequest; - -DescribeLiveStreamTranscodeInfoRequest::DescribeLiveStreamTranscodeInfoRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamTranscodeInfo") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveStreamTranscodeInfoRequest::~DescribeLiveStreamTranscodeInfoRequest() {} - -long DescribeLiveStreamTranscodeInfoRequest::getOwnerId() const { - return ownerId_; +void DescribeLiveStreamTranscodeInfoRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeLiveStreamTranscodeInfoRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeLiveStreamTranscodeInfoRequest::getDomainTranscodeName()const +{ + return domainTranscodeName_; } -std::string DescribeLiveStreamTranscodeInfoRequest::getDomainTranscodeName() const { - return domainTranscodeName_; -} - -void DescribeLiveStreamTranscodeInfoRequest::setDomainTranscodeName(const std::string &domainTranscodeName) { - domainTranscodeName_ = domainTranscodeName; - setParameter(std::string("DomainTranscodeName"), domainTranscodeName); +void DescribeLiveStreamTranscodeInfoRequest::setDomainTranscodeName(const std::string& domainTranscodeName) +{ + domainTranscodeName_ = domainTranscodeName; + setParameter("DomainTranscodeName", domainTranscodeName); } diff --git a/live/src/model/DescribeLiveStreamTranscodeInfoResult.cc b/live/src/model/DescribeLiveStreamTranscodeInfoResult.cc index cfadd471d..2c475a70d 100644 --- a/live/src/model/DescribeLiveStreamTranscodeInfoResult.cc +++ b/live/src/model/DescribeLiveStreamTranscodeInfoResult.cc @@ -45,46 +45,46 @@ void DescribeLiveStreamTranscodeInfoResult::parse(const std::string &payload) DomainTranscodeInfo domainTranscodeListObject; if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeApp"].isNull()) domainTranscodeListObject.transcodeApp = valueDomainTranscodeListDomainTranscodeInfo["TranscodeApp"].asString(); - if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeTemplate"].isNull()) - domainTranscodeListObject.transcodeTemplate = valueDomainTranscodeListDomainTranscodeInfo["TranscodeTemplate"].asString(); if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeName"].isNull()) domainTranscodeListObject.transcodeName = valueDomainTranscodeListDomainTranscodeInfo["TranscodeName"].asString(); + if(!valueDomainTranscodeListDomainTranscodeInfo["TranscodeTemplate"].isNull()) + domainTranscodeListObject.transcodeTemplate = valueDomainTranscodeListDomainTranscodeInfo["TranscodeTemplate"].asString(); auto customTranscodeParametersNode = value["CustomTranscodeParameters"]; - if(!customTranscodeParametersNode["VideoProfile"].isNull()) - domainTranscodeListObject.customTranscodeParameters.videoProfile = customTranscodeParametersNode["VideoProfile"].asString(); - if(!customTranscodeParametersNode["AudioBitrate"].isNull()) - domainTranscodeListObject.customTranscodeParameters.audioBitrate = std::stoi(customTranscodeParametersNode["AudioBitrate"].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["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["AudioChannelNum"].isNull()) - domainTranscodeListObject.customTranscodeParameters.audioChannelNum = std::stoi(customTranscodeParametersNode["AudioChannelNum"].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["AudioRate"].isNull()) + domainTranscodeListObject.customTranscodeParameters.audioRate = std::stoi(customTranscodeParametersNode["AudioRate"].asString()); + if(!customTranscodeParametersNode["AudioChannelNum"].isNull()) + domainTranscodeListObject.customTranscodeParameters.audioChannelNum = std::stoi(customTranscodeParametersNode["AudioChannelNum"].asString()); auto encryptParametersNode = value["EncryptParameters"]; if(!encryptParametersNode["EncryptType"].isNull()) domainTranscodeListObject.encryptParameters.encryptType = encryptParametersNode["EncryptType"].asString(); - if(!encryptParametersNode["KmsKeyID"].isNull()) - domainTranscodeListObject.encryptParameters.kmsKeyID = encryptParametersNode["KmsKeyID"].asString(); if(!encryptParametersNode["KmsKeyExpireInterval"].isNull()) domainTranscodeListObject.encryptParameters.kmsKeyExpireInterval = encryptParametersNode["KmsKeyExpireInterval"].asString(); + if(!encryptParametersNode["KmsKeyID"].isNull()) + domainTranscodeListObject.encryptParameters.kmsKeyID = encryptParametersNode["KmsKeyID"].asString(); domainTranscodeList_.push_back(domainTranscodeListObject); } diff --git a/live/src/model/DescribeLiveStreamTranscodeStreamNumRequest.cc b/live/src/model/DescribeLiveStreamTranscodeStreamNumRequest.cc index 9d992cced..3cdb436b3 100644 --- a/live/src/model/DescribeLiveStreamTranscodeStreamNumRequest.cc +++ b/live/src/model/DescribeLiveStreamTranscodeStreamNumRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DescribeLiveStreamTranscodeStreamNumRequest; - -DescribeLiveStreamTranscodeStreamNumRequest::DescribeLiveStreamTranscodeStreamNumRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamTranscodeStreamNum") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveStreamTranscodeStreamNumRequest::~DescribeLiveStreamTranscodeStreamNumRequest() {} - -std::string DescribeLiveStreamTranscodeStreamNumRequest::getDomainName() const { - return domainName_; +void DescribeLiveStreamTranscodeStreamNumRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveStreamTranscodeStreamNumRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveStreamTranscodeStreamNumRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveStreamTranscodeStreamNumRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveStreamTranscodeStreamNumRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveStreamTranscodeStreamNumRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamTranscodeStreamNumResult.cc b/live/src/model/DescribeLiveStreamTranscodeStreamNumResult.cc index 5048e9423..da7f134cf 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 1df76798f..5cde7ad04 100644 --- a/live/src/model/DescribeLiveStreamWatermarkRulesRequest.cc +++ b/live/src/model/DescribeLiveStreamWatermarkRulesRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamWatermarkRulesRequest; - -DescribeLiveStreamWatermarkRulesRequest::DescribeLiveStreamWatermarkRulesRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamWatermarkRules") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveStreamWatermarkRulesRequest::~DescribeLiveStreamWatermarkRulesRequest() {} - -int DescribeLiveStreamWatermarkRulesRequest::getPageNumber() const { - return pageNumber_; +void DescribeLiveStreamWatermarkRulesRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); } -void DescribeLiveStreamWatermarkRulesRequest::setPageNumber(int pageNumber) { - pageNumber_ = pageNumber; - setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +int DescribeLiveStreamWatermarkRulesRequest::getPageSize()const +{ + return pageSize_; } -int DescribeLiveStreamWatermarkRulesRequest::getPageSize() const { - return pageSize_; +void DescribeLiveStreamWatermarkRulesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); } -void DescribeLiveStreamWatermarkRulesRequest::setPageSize(int pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); +long DescribeLiveStreamWatermarkRulesRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveStreamWatermarkRulesRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveStreamWatermarkRulesRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveStreamWatermarkRulesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamWatermarkRulesResult.cc b/live/src/model/DescribeLiveStreamWatermarkRulesResult.cc index 4643fea64..f1442412d 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["RuleId"].isNull()) - ruleInfoListObject.ruleId = valueRuleInfoListRuleInfo["RuleId"].asString(); + if(!valueRuleInfoListRuleInfo["Description"].isNull()) + ruleInfoListObject.description = valueRuleInfoListRuleInfo["Description"].asString(); ruleInfoList_.push_back(ruleInfoListObject); } diff --git a/live/src/model/DescribeLiveStreamWatermarksRequest.cc b/live/src/model/DescribeLiveStreamWatermarksRequest.cc index 765929665..daa79c3af 100644 --- a/live/src/model/DescribeLiveStreamWatermarksRequest.cc +++ b/live/src/model/DescribeLiveStreamWatermarksRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamWatermarksRequest; - -DescribeLiveStreamWatermarksRequest::DescribeLiveStreamWatermarksRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamWatermarks") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveStreamWatermarksRequest::~DescribeLiveStreamWatermarksRequest() {} - -int DescribeLiveStreamWatermarksRequest::getPageNumber() const { - return pageNumber_; +void DescribeLiveStreamWatermarksRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); } -void DescribeLiveStreamWatermarksRequest::setPageNumber(int pageNumber) { - pageNumber_ = pageNumber; - setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +int DescribeLiveStreamWatermarksRequest::getPageSize()const +{ + return pageSize_; } -int DescribeLiveStreamWatermarksRequest::getPageSize() const { - return pageSize_; +void DescribeLiveStreamWatermarksRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); } -void DescribeLiveStreamWatermarksRequest::setPageSize(int pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); +long DescribeLiveStreamWatermarksRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveStreamWatermarksRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveStreamWatermarksRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveStreamWatermarksRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamWatermarksResult.cc b/live/src/model/DescribeLiveStreamWatermarksResult.cc index 0127c95ba..4fde6972e 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["XOffset"].isNull()) - watermarkListObject.xOffset = std::stof(valueWatermarkListWatermark["XOffset"].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["YOffset"].isNull()) watermarkListObject.yOffset = std::stof(valueWatermarkListWatermark["YOffset"].asString()); if(!valueWatermarkListWatermark["Height"].isNull()) watermarkListObject.height = std::stoi(valueWatermarkListWatermark["Height"].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(); + if(!valueWatermarkListWatermark["PictureUrl"].isNull()) + watermarkListObject.pictureUrl = valueWatermarkListWatermark["PictureUrl"].asString(); watermarkList_.push_back(watermarkListObject); } diff --git a/live/src/model/DescribeLiveStreamsBlockListRequest.cc b/live/src/model/DescribeLiveStreamsBlockListRequest.cc index 0de767ae8..fe86933b5 100644 --- a/live/src/model/DescribeLiveStreamsBlockListRequest.cc +++ b/live/src/model/DescribeLiveStreamsBlockListRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamsBlockListRequest; - -DescribeLiveStreamsBlockListRequest::DescribeLiveStreamsBlockListRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamsBlockList") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveStreamsBlockListRequest::~DescribeLiveStreamsBlockListRequest() {} - -int DescribeLiveStreamsBlockListRequest::getPageNum() const { - return pageNum_; +void DescribeLiveStreamsBlockListRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); } -void DescribeLiveStreamsBlockListRequest::setPageNum(int pageNum) { - pageNum_ = pageNum; - setParameter(std::string("PageNum"), std::to_string(pageNum)); +std::string DescribeLiveStreamsBlockListRequest::getSecurityToken()const +{ + return securityToken_; } -std::string DescribeLiveStreamsBlockListRequest::getSecurityToken() const { - return securityToken_; +void DescribeLiveStreamsBlockListRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void DescribeLiveStreamsBlockListRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +int DescribeLiveStreamsBlockListRequest::getPageSize()const +{ + return pageSize_; } -int DescribeLiveStreamsBlockListRequest::getPageSize() const { - return pageSize_; +void DescribeLiveStreamsBlockListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); } -void DescribeLiveStreamsBlockListRequest::setPageSize(int pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); +std::string DescribeLiveStreamsBlockListRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveStreamsBlockListRequest::getDomainName() const { - return domainName_; +void DescribeLiveStreamsBlockListRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveStreamsBlockListRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveStreamsBlockListRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveStreamsBlockListRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveStreamsBlockListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveStreamsBlockListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamsBlockListResult.cc b/live/src/model/DescribeLiveStreamsBlockListResult.cc index bfc54769f..3bd7bcd4e 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["DomainName"].isNull()) - domainName_ = value["DomainName"].asString(); + if(!value["TotalPage"].isNull()) + totalPage_ = std::stoi(value["TotalPage"].asString()); } @@ -65,16 +65,16 @@ int DescribeLiveStreamsBlockListResult::getPageNum()const return pageNum_; } -int DescribeLiveStreamsBlockListResult::getTotalPage()const -{ - return totalPage_; -} - int DescribeLiveStreamsBlockListResult::getPageSize()const { return pageSize_; } +int DescribeLiveStreamsBlockListResult::getTotalPage()const +{ + return totalPage_; +} + std::string DescribeLiveStreamsBlockListResult::getDomainName()const { return domainName_; diff --git a/live/src/model/DescribeLiveStreamsControlHistoryRequest.cc b/live/src/model/DescribeLiveStreamsControlHistoryRequest.cc index fb44fdb7b..fe73f9ce7 100644 --- a/live/src/model/DescribeLiveStreamsControlHistoryRequest.cc +++ b/live/src/model/DescribeLiveStreamsControlHistoryRequest.cc @@ -1,90 +1,106 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveStreamsControlHistoryRequest; - -DescribeLiveStreamsControlHistoryRequest::DescribeLiveStreamsControlHistoryRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamsControlHistory") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveStreamsControlHistoryRequest::~DescribeLiveStreamsControlHistoryRequest() {} - -std::string DescribeLiveStreamsControlHistoryRequest::getStartTime() const { - return startTime_; +void DescribeLiveStreamsControlHistoryRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveStreamsControlHistoryRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveStreamsControlHistoryRequest::getAppName()const +{ + return appName_; } -std::string DescribeLiveStreamsControlHistoryRequest::getAppName() const { - return appName_; +void DescribeLiveStreamsControlHistoryRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DescribeLiveStreamsControlHistoryRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string DescribeLiveStreamsControlHistoryRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveStreamsControlHistoryRequest::getDomainName() const { - return domainName_; +void DescribeLiveStreamsControlHistoryRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveStreamsControlHistoryRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveStreamsControlHistoryRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveStreamsControlHistoryRequest::getEndTime() const { - return endTime_; +void DescribeLiveStreamsControlHistoryRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveStreamsControlHistoryRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveStreamsControlHistoryRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveStreamsControlHistoryRequest::getOwnerId() const { - return ownerId_; +void DescribeLiveStreamsControlHistoryRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeLiveStreamsControlHistoryRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +int DescribeLiveStreamsControlHistoryRequest::getRows()const +{ + return rows_; } -int DescribeLiveStreamsControlHistoryRequest::getRows() const { - return rows_; +void DescribeLiveStreamsControlHistoryRequest::setRows(int rows) +{ + rows_ = rows; + setParameter("Rows", std::to_string(rows)); } -void DescribeLiveStreamsControlHistoryRequest::setRows(int rows) { - rows_ = rows; - setParameter(std::string("Rows"), std::to_string(rows)); +int DescribeLiveStreamsControlHistoryRequest::getPage()const +{ + return page_; } -int DescribeLiveStreamsControlHistoryRequest::getPage() const { - return page_; -} - -void DescribeLiveStreamsControlHistoryRequest::setPage(int page) { - page_ = page; - setParameter(std::string("Page"), std::to_string(page)); +void DescribeLiveStreamsControlHistoryRequest::setPage(int page) +{ + page_ = page; + setParameter("Page", std::to_string(page)); } diff --git a/live/src/model/DescribeLiveStreamsControlHistoryResult.cc b/live/src/model/DescribeLiveStreamsControlHistoryResult.cc index d2f1d42c9..db8273d27 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["ClientIP"].isNull()) - controlInfoObject.clientIP = valueControlInfoLiveStreamControlInfo["ClientIP"].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(); + 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(); controlInfo_.push_back(controlInfoObject); } diff --git a/live/src/model/DescribeLiveStreamsNotifyUrlConfigRequest.cc b/live/src/model/DescribeLiveStreamsNotifyUrlConfigRequest.cc index 506287c84..810631fa7 100644 --- a/live/src/model/DescribeLiveStreamsNotifyUrlConfigRequest.cc +++ b/live/src/model/DescribeLiveStreamsNotifyUrlConfigRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DescribeLiveStreamsNotifyUrlConfigRequest; - -DescribeLiveStreamsNotifyUrlConfigRequest::DescribeLiveStreamsNotifyUrlConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamsNotifyUrlConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveStreamsNotifyUrlConfigRequest::~DescribeLiveStreamsNotifyUrlConfigRequest() {} - -std::string DescribeLiveStreamsNotifyUrlConfigRequest::getDomainName() const { - return domainName_; +void DescribeLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveStreamsNotifyUrlConfigRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveStreamsNotifyUrlConfigRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamsNotifyUrlConfigResult.cc b/live/src/model/DescribeLiveStreamsNotifyUrlConfigResult.cc index 4809172bb..6eaa176ac 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["NotifyReqAuth"].isNull()) - liveStreamsNotifyConfig_.notifyReqAuth = liveStreamsNotifyConfigNode["NotifyReqAuth"].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(); + 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["AuthKey"].isNull()) + liveStreamsNotifyConfig_.authKey = liveStreamsNotifyConfigNode["AuthKey"].asString(); } diff --git a/live/src/model/DescribeLiveStreamsOnlineListRequest.cc b/live/src/model/DescribeLiveStreamsOnlineListRequest.cc index bce945409..69018810d 100644 --- a/live/src/model/DescribeLiveStreamsOnlineListRequest.cc +++ b/live/src/model/DescribeLiveStreamsOnlineListRequest.cc @@ -1,126 +1,150 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DescribeLiveStreamsOnlineListRequest::~DescribeLiveStreamsOnlineListRequest() {} - -std::string DescribeLiveStreamsOnlineListRequest::getStartTime() const { - return startTime_; +void DescribeLiveStreamsOnlineListRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveStreamsOnlineListRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +int DescribeLiveStreamsOnlineListRequest::getPageNum()const +{ + return pageNum_; } -int DescribeLiveStreamsOnlineListRequest::getPageNum() const { - return pageNum_; +void DescribeLiveStreamsOnlineListRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); } -void DescribeLiveStreamsOnlineListRequest::setPageNum(int pageNum) { - pageNum_ = pageNum; - setParameter(std::string("PageNum"), std::to_string(pageNum)); +std::string DescribeLiveStreamsOnlineListRequest::getAppName()const +{ + return appName_; } -std::string DescribeLiveStreamsOnlineListRequest::getAppName() const { - return appName_; +void DescribeLiveStreamsOnlineListRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DescribeLiveStreamsOnlineListRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +int DescribeLiveStreamsOnlineListRequest::getPageSize()const +{ + return pageSize_; } -int DescribeLiveStreamsOnlineListRequest::getPageSize() const { - return pageSize_; +void DescribeLiveStreamsOnlineListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); } -void DescribeLiveStreamsOnlineListRequest::setPageSize(int pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); +std::string DescribeLiveStreamsOnlineListRequest::getStreamName()const +{ + return streamName_; } -std::string DescribeLiveStreamsOnlineListRequest::getStreamName() const { - return streamName_; +void DescribeLiveStreamsOnlineListRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void DescribeLiveStreamsOnlineListRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string DescribeLiveStreamsOnlineListRequest::getQueryType()const +{ + return queryType_; } -std::string DescribeLiveStreamsOnlineListRequest::getQueryType() const { - return queryType_; +void DescribeLiveStreamsOnlineListRequest::setQueryType(const std::string& queryType) +{ + queryType_ = queryType; + setParameter("QueryType", queryType); } -void DescribeLiveStreamsOnlineListRequest::setQueryType(const std::string &queryType) { - queryType_ = queryType; - setParameter(std::string("QueryType"), queryType); +std::string DescribeLiveStreamsOnlineListRequest::getStreamType()const +{ + return streamType_; } -std::string DescribeLiveStreamsOnlineListRequest::getStreamType() const { - return streamType_; +void DescribeLiveStreamsOnlineListRequest::setStreamType(const std::string& streamType) +{ + streamType_ = streamType; + setParameter("StreamType", streamType); } -void DescribeLiveStreamsOnlineListRequest::setStreamType(const std::string &streamType) { - streamType_ = streamType; - setParameter(std::string("StreamType"), streamType); +std::string DescribeLiveStreamsOnlineListRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveStreamsOnlineListRequest::getDomainName() const { - return domainName_; +void DescribeLiveStreamsOnlineListRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveStreamsOnlineListRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveStreamsOnlineListRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveStreamsOnlineListRequest::getEndTime() const { - return endTime_; +void DescribeLiveStreamsOnlineListRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveStreamsOnlineListRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +std::string DescribeLiveStreamsOnlineListRequest::getOrderBy()const +{ + return orderBy_; } -std::string DescribeLiveStreamsOnlineListRequest::getOrderBy() const { - return orderBy_; +void DescribeLiveStreamsOnlineListRequest::setOrderBy(const std::string& orderBy) +{ + orderBy_ = orderBy; + setParameter("OrderBy", orderBy); } -void DescribeLiveStreamsOnlineListRequest::setOrderBy(const std::string &orderBy) { - orderBy_ = orderBy; - setParameter(std::string("OrderBy"), orderBy); +long DescribeLiveStreamsOnlineListRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveStreamsOnlineListRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveStreamsOnlineListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveStreamsOnlineListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamsOnlineListResult.cc b/live/src/model/DescribeLiveStreamsOnlineListResult.cc index 466ebff85..835295074 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["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["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["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["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["TranscodeId"].isNull()) onlineInfoObject.transcodeId = valueOnlineInfoLiveStreamOnlineInfo["TranscodeId"].asString(); if(!valueOnlineInfoLiveStreamOnlineInfo["TranscodeDrm"].isNull()) onlineInfoObject.transcodeDrm = valueOnlineInfoLiveStreamOnlineInfo["TranscodeDrm"].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["Transcoded"].isNull()) - onlineInfoObject.transcoded = valueOnlineInfoLiveStreamOnlineInfo["Transcoded"].asString(); - if(!valueOnlineInfoLiveStreamOnlineInfo["Width"].isNull()) - onlineInfoObject.width = std::stoi(valueOnlineInfoLiveStreamOnlineInfo["Width"].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(); + if(!valueOnlineInfoLiveStreamOnlineInfo["ClientIp"].isNull()) + onlineInfoObject.clientIp = valueOnlineInfoLiveStreamOnlineInfo["ClientIp"].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["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()); 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,11 +101,6 @@ int DescribeLiveStreamsOnlineListResult::getTotalNum()const return totalNum_; } -int DescribeLiveStreamsOnlineListResult::getTotalPage()const -{ - return totalPage_; -} - int DescribeLiveStreamsOnlineListResult::getPageNum()const { return pageNum_; @@ -116,6 +111,11 @@ 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 9178db116..9fd6590d7 100644 --- a/live/src/model/DescribeLiveStreamsPublishListRequest.cc +++ b/live/src/model/DescribeLiveStreamsPublishListRequest.cc @@ -1,126 +1,150 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DescribeLiveStreamsPublishListRequest::~DescribeLiveStreamsPublishListRequest() {} - -std::string DescribeLiveStreamsPublishListRequest::getStartTime() const { - return startTime_; +void DescribeLiveStreamsPublishListRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveStreamsPublishListRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +int DescribeLiveStreamsPublishListRequest::getPageNumber()const +{ + return pageNumber_; } -int DescribeLiveStreamsPublishListRequest::getPageNumber() const { - return pageNumber_; +void DescribeLiveStreamsPublishListRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); } -void DescribeLiveStreamsPublishListRequest::setPageNumber(int pageNumber) { - pageNumber_ = pageNumber; - setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +std::string DescribeLiveStreamsPublishListRequest::getAppName()const +{ + return appName_; } -std::string DescribeLiveStreamsPublishListRequest::getAppName() const { - return appName_; +void DescribeLiveStreamsPublishListRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DescribeLiveStreamsPublishListRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +int DescribeLiveStreamsPublishListRequest::getPageSize()const +{ + return pageSize_; } -int DescribeLiveStreamsPublishListRequest::getPageSize() const { - return pageSize_; +void DescribeLiveStreamsPublishListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); } -void DescribeLiveStreamsPublishListRequest::setPageSize(int pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); +std::string DescribeLiveStreamsPublishListRequest::getStreamName()const +{ + return streamName_; } -std::string DescribeLiveStreamsPublishListRequest::getStreamName() const { - return streamName_; +void DescribeLiveStreamsPublishListRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void DescribeLiveStreamsPublishListRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string DescribeLiveStreamsPublishListRequest::getQueryType()const +{ + return queryType_; } -std::string DescribeLiveStreamsPublishListRequest::getQueryType() const { - return queryType_; +void DescribeLiveStreamsPublishListRequest::setQueryType(const std::string& queryType) +{ + queryType_ = queryType; + setParameter("QueryType", queryType); } -void DescribeLiveStreamsPublishListRequest::setQueryType(const std::string &queryType) { - queryType_ = queryType; - setParameter(std::string("QueryType"), queryType); +std::string DescribeLiveStreamsPublishListRequest::getStreamType()const +{ + return streamType_; } -std::string DescribeLiveStreamsPublishListRequest::getStreamType() const { - return streamType_; +void DescribeLiveStreamsPublishListRequest::setStreamType(const std::string& streamType) +{ + streamType_ = streamType; + setParameter("StreamType", streamType); } -void DescribeLiveStreamsPublishListRequest::setStreamType(const std::string &streamType) { - streamType_ = streamType; - setParameter(std::string("StreamType"), streamType); +std::string DescribeLiveStreamsPublishListRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveStreamsPublishListRequest::getDomainName() const { - return domainName_; +void DescribeLiveStreamsPublishListRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveStreamsPublishListRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeLiveStreamsPublishListRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveStreamsPublishListRequest::getEndTime() const { - return endTime_; +void DescribeLiveStreamsPublishListRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveStreamsPublishListRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +std::string DescribeLiveStreamsPublishListRequest::getOrderBy()const +{ + return orderBy_; } -std::string DescribeLiveStreamsPublishListRequest::getOrderBy() const { - return orderBy_; +void DescribeLiveStreamsPublishListRequest::setOrderBy(const std::string& orderBy) +{ + orderBy_ = orderBy; + setParameter("OrderBy", orderBy); } -void DescribeLiveStreamsPublishListRequest::setOrderBy(const std::string &orderBy) { - orderBy_ = orderBy; - setParameter(std::string("OrderBy"), orderBy); +long DescribeLiveStreamsPublishListRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveStreamsPublishListRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveStreamsPublishListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveStreamsPublishListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveStreamsPublishListResult.cc b/live/src/model/DescribeLiveStreamsPublishListResult.cc index 2f9013ac0..e570cf71d 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["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["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["PublishDomain"].isNull()) + publishInfoObject.publishDomain = valuePublishInfoLiveStreamPublishInfo["PublishDomain"].asString(); if(!valuePublishInfoLiveStreamPublishInfo["PublishType"].isNull()) publishInfoObject.publishType = valuePublishInfoLiveStreamPublishInfo["PublishType"].asString(); if(!valuePublishInfoLiveStreamPublishInfo["Transcoded"].isNull()) publishInfoObject.transcoded = valuePublishInfoLiveStreamPublishInfo["Transcoded"].asString(); - if(!valuePublishInfoLiveStreamPublishInfo["ClientAddr"].isNull()) - publishInfoObject.clientAddr = valuePublishInfoLiveStreamPublishInfo["ClientAddr"].asString(); - if(!valuePublishInfoLiveStreamPublishInfo["StreamUrl"].isNull()) - publishInfoObject.streamUrl = valuePublishInfoLiveStreamPublishInfo["StreamUrl"].asString(); + if(!valuePublishInfoLiveStreamPublishInfo["TranscodeId"].isNull()) + publishInfoObject.transcodeId = valuePublishInfoLiveStreamPublishInfo["TranscodeId"].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,11 +87,6 @@ int DescribeLiveStreamsPublishListResult::getTotalNum()const return totalNum_; } -int DescribeLiveStreamsPublishListResult::getTotalPage()const -{ - return totalPage_; -} - int DescribeLiveStreamsPublishListResult::getPageNum()const { return pageNum_; @@ -102,6 +97,11 @@ 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 7db2e607a..dcee4e371 100644 --- a/live/src/model/DescribeLiveTagResourcesRequest.cc +++ b/live/src/model/DescribeLiveTagResourcesRequest.cc @@ -1,76 +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 - -using AlibabaCloud::Live::Model::DescribeLiveTagResourcesRequest; - -DescribeLiveTagResourcesRequest::DescribeLiveTagResourcesRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveTagResources") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveTagResourcesRequest::~DescribeLiveTagResourcesRequest() {} - -std::string DescribeLiveTagResourcesRequest::getScope() const { - return scope_; +void DescribeLiveTagResourcesRequest::setScope(const std::string& scope) +{ + scope_ = scope; + setParameter("Scope", scope); } -void DescribeLiveTagResourcesRequest::setScope(const std::string &scope) { - scope_ = scope; - setParameter(std::string("Scope"), scope); +std::vector DescribeLiveTagResourcesRequest::getTag()const +{ + return tag_; } -std::vector DescribeLiveTagResourcesRequest::getTag() const { - return tag_; +void DescribeLiveTagResourcesRequest::setTag(const std::vector& tag) +{ + tag_ = tag; + for(int dep1 = 0; dep1!= tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = "Tag." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Key", tagObj.key); + setParameter(tagObjStr + ".Value", tagObj.value); + } } -void DescribeLiveTagResourcesRequest::setTag(const std::vector &tag) { - tag_ = tag; - for(int dep1 = 0; dep1 != tag.size(); dep1++) { - auto tagObj = tag.at(dep1); - std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); - setParameter(tagObjStr + ".Key", tagObj.key); - setParameter(tagObjStr + ".Value", tagObj.value); - } +std::vector DescribeLiveTagResourcesRequest::getResourceId()const +{ + return resourceId_; } -std::vector DescribeLiveTagResourcesRequest::getResourceId() const { - return resourceId_; +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)); + } } -void DescribeLiveTagResourcesRequest::setResourceId(const std::vector &resourceId) { - resourceId_ = resourceId; +long DescribeLiveTagResourcesRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveTagResourcesRequest::getOwnerId() const { - return ownerId_; +void DescribeLiveTagResourcesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeLiveTagResourcesRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeLiveTagResourcesRequest::getResourceType()const +{ + return resourceType_; } -std::string DescribeLiveTagResourcesRequest::getResourceType() const { - return resourceType_; -} - -void DescribeLiveTagResourcesRequest::setResourceType(const std::string &resourceType) { - resourceType_ = resourceType; - setParameter(std::string("ResourceType"), resourceType); +void DescribeLiveTagResourcesRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setParameter("ResourceType", resourceType); } diff --git a/live/src/model/DescribeLiveTopDomainsByFlowRequest.cc b/live/src/model/DescribeLiveTopDomainsByFlowRequest.cc index f120c0ce3..ddee3b5f4 100644 --- a/live/src/model/DescribeLiveTopDomainsByFlowRequest.cc +++ b/live/src/model/DescribeLiveTopDomainsByFlowRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveTopDomainsByFlowRequest; - -DescribeLiveTopDomainsByFlowRequest::DescribeLiveTopDomainsByFlowRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveTopDomainsByFlow") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveTopDomainsByFlowRequest::~DescribeLiveTopDomainsByFlowRequest() {} - -std::string DescribeLiveTopDomainsByFlowRequest::getStartTime() const { - return startTime_; +void DescribeLiveTopDomainsByFlowRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveTopDomainsByFlowRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +long DescribeLiveTopDomainsByFlowRequest::getLimit()const +{ + return limit_; } -long DescribeLiveTopDomainsByFlowRequest::getLimit() const { - return limit_; +void DescribeLiveTopDomainsByFlowRequest::setLimit(long limit) +{ + limit_ = limit; + setParameter("Limit", std::to_string(limit)); } -void DescribeLiveTopDomainsByFlowRequest::setLimit(long limit) { - limit_ = limit; - setParameter(std::string("Limit"), std::to_string(limit)); +std::string DescribeLiveTopDomainsByFlowRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveTopDomainsByFlowRequest::getEndTime() const { - return endTime_; +void DescribeLiveTopDomainsByFlowRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveTopDomainsByFlowRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveTopDomainsByFlowRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveTopDomainsByFlowRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveTopDomainsByFlowRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveTopDomainsByFlowRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveTopDomainsByFlowResult.cc b/live/src/model/DescribeLiveTopDomainsByFlowResult.cc index 389d461fe..18f3c793b 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["MaxBps"].isNull()) - topDomainsObject.maxBps = std::stol(valueTopDomainsTopDomain["MaxBps"].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["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["TotalAccess"].isNull()) + topDomainsObject.totalAccess = std::stol(valueTopDomainsTopDomain["TotalAccess"].asString()); topDomains_.push_back(topDomainsObject); } - 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["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()); } diff --git a/live/src/model/DescribeLiveUserBillPredictionRequest.cc b/live/src/model/DescribeLiveUserBillPredictionRequest.cc index 40a550adf..6b18c2be7 100644 --- a/live/src/model/DescribeLiveUserBillPredictionRequest.cc +++ b/live/src/model/DescribeLiveUserBillPredictionRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveUserBillPredictionRequest; - -DescribeLiveUserBillPredictionRequest::DescribeLiveUserBillPredictionRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveUserBillPrediction") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveUserBillPredictionRequest::~DescribeLiveUserBillPredictionRequest() {} - -std::string DescribeLiveUserBillPredictionRequest::getStartTime() const { - return startTime_; +void DescribeLiveUserBillPredictionRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeLiveUserBillPredictionRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeLiveUserBillPredictionRequest::getDimension()const +{ + return dimension_; } -std::string DescribeLiveUserBillPredictionRequest::getDimension() const { - return dimension_; +void DescribeLiveUserBillPredictionRequest::setDimension(const std::string& dimension) +{ + dimension_ = dimension; + setParameter("Dimension", dimension); } -void DescribeLiveUserBillPredictionRequest::setDimension(const std::string &dimension) { - dimension_ = dimension; - setParameter(std::string("Dimension"), dimension); +std::string DescribeLiveUserBillPredictionRequest::getArea()const +{ + return area_; } -std::string DescribeLiveUserBillPredictionRequest::getArea() const { - return area_; +void DescribeLiveUserBillPredictionRequest::setArea(const std::string& area) +{ + area_ = area; + setParameter("Area", area); } -void DescribeLiveUserBillPredictionRequest::setArea(const std::string &area) { - area_ = area; - setParameter(std::string("Area"), area); +std::string DescribeLiveUserBillPredictionRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeLiveUserBillPredictionRequest::getEndTime() const { - return endTime_; +void DescribeLiveUserBillPredictionRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeLiveUserBillPredictionRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeLiveUserBillPredictionRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveUserBillPredictionRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveUserBillPredictionRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveUserBillPredictionRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeLiveUserBillPredictionResult.cc b/live/src/model/DescribeLiveUserBillPredictionResult.cc index 7f9540474..e4018c055 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["TimeStp"].isNull()) - billPredictionDataObject.timeStp = valueBillPredictionDataBillPredictionDataItem["TimeStp"].asString(); if(!valueBillPredictionDataBillPredictionDataItem["Area"].isNull()) billPredictionDataObject.area = valueBillPredictionDataBillPredictionDataItem["Area"].asString(); + if(!valueBillPredictionDataBillPredictionDataItem["TimeStp"].isNull()) + billPredictionDataObject.timeStp = valueBillPredictionDataBillPredictionDataItem["TimeStp"].asString(); billPredictionData_.push_back(billPredictionDataObject); } - if(!value["EndTime"].isNull()) - endTime_ = value["EndTime"].asString(); if(!value["StartTime"].isNull()) startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); if(!value["BillType"].isNull()) billType_ = value["BillType"].asString(); diff --git a/live/src/model/DescribeLiveUserDomainsRequest.cc b/live/src/model/DescribeLiveUserDomainsRequest.cc index 784ad49bf..2751ab89a 100644 --- a/live/src/model/DescribeLiveUserDomainsRequest.cc +++ b/live/src/model/DescribeLiveUserDomainsRequest.cc @@ -1,122 +1,144 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DescribeLiveUserDomainsRequest::~DescribeLiveUserDomainsRequest() {} - -int DescribeLiveUserDomainsRequest::getPageNumber() const { - return pageNumber_; +void DescribeLiveUserDomainsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); } -void DescribeLiveUserDomainsRequest::setPageNumber(int pageNumber) { - pageNumber_ = pageNumber; - setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +std::string DescribeLiveUserDomainsRequest::getSecurityToken()const +{ + return securityToken_; } -std::string DescribeLiveUserDomainsRequest::getSecurityToken() const { - return securityToken_; +void DescribeLiveUserDomainsRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void DescribeLiveUserDomainsRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +int DescribeLiveUserDomainsRequest::getPageSize()const +{ + return pageSize_; } -int DescribeLiveUserDomainsRequest::getPageSize() const { - return pageSize_; +void DescribeLiveUserDomainsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); } -void DescribeLiveUserDomainsRequest::setPageSize(int pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); +std::string DescribeLiveUserDomainsRequest::getRegionName()const +{ + return regionName_; } -std::string DescribeLiveUserDomainsRequest::getRegionName() const { - return regionName_; +void DescribeLiveUserDomainsRequest::setRegionName(const std::string& regionName) +{ + regionName_ = regionName; + setParameter("RegionName", regionName); } -void DescribeLiveUserDomainsRequest::setRegionName(const std::string ®ionName) { - regionName_ = regionName; - setParameter(std::string("RegionName"), regionName); +std::vector DescribeLiveUserDomainsRequest::getTag()const +{ + return tag_; } -std::vector DescribeLiveUserDomainsRequest::getTag() const { - return tag_; +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); + } } -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); - } +std::string DescribeLiveUserDomainsRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeLiveUserDomainsRequest::getDomainName() const { - return domainName_; +void DescribeLiveUserDomainsRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeLiveUserDomainsRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DescribeLiveUserDomainsRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeLiveUserDomainsRequest::getOwnerId() const { - return ownerId_; +void DescribeLiveUserDomainsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeLiveUserDomainsRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeLiveUserDomainsRequest::getDomainStatus()const +{ + return domainStatus_; } -std::string DescribeLiveUserDomainsRequest::getDomainStatus() const { - return domainStatus_; +void DescribeLiveUserDomainsRequest::setDomainStatus(const std::string& domainStatus) +{ + domainStatus_ = domainStatus; + setParameter("DomainStatus", domainStatus); } -void DescribeLiveUserDomainsRequest::setDomainStatus(const std::string &domainStatus) { - domainStatus_ = domainStatus; - setParameter(std::string("DomainStatus"), domainStatus); +std::string DescribeLiveUserDomainsRequest::getDomainSearchType()const +{ + return domainSearchType_; } -std::string DescribeLiveUserDomainsRequest::getDomainSearchType() const { - return domainSearchType_; +void DescribeLiveUserDomainsRequest::setDomainSearchType(const std::string& domainSearchType) +{ + domainSearchType_ = domainSearchType; + setParameter("DomainSearchType", domainSearchType); } -void DescribeLiveUserDomainsRequest::setDomainSearchType(const std::string &domainSearchType) { - domainSearchType_ = domainSearchType; - setParameter(std::string("DomainSearchType"), domainSearchType); +std::string DescribeLiveUserDomainsRequest::getLiveDomainType()const +{ + return liveDomainType_; } -std::string DescribeLiveUserDomainsRequest::getLiveDomainType() const { - return liveDomainType_; -} - -void DescribeLiveUserDomainsRequest::setLiveDomainType(const std::string &liveDomainType) { - liveDomainType_ = liveDomainType; - setParameter(std::string("LiveDomainType"), liveDomainType); +void DescribeLiveUserDomainsRequest::setLiveDomainType(const std::string& liveDomainType) +{ + liveDomainType_ = liveDomainType; + setParameter("LiveDomainType", liveDomainType); } diff --git a/live/src/model/DescribeLiveUserDomainsResult.cc b/live/src/model/DescribeLiveUserDomainsResult.cc index fcf320eae..961ae35ec 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["GmtCreated"].isNull()) - domainsObject.gmtCreated = valueDomainsPageData["GmtCreated"].asString(); + 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["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 new file mode 100644 index 000000000..c463225aa --- /dev/null +++ b/live/src/model/DescribeLiveUserQuotaRequest.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 + +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/DescribeLiveUserQuotaResult.cc b/live/src/model/DescribeLiveUserQuotaResult.cc new file mode 100644 index 000000000..10ba1f9a7 --- /dev/null +++ b/live/src/model/DescribeLiveUserQuotaResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveUserQuotaResult::DescribeLiveUserQuotaResult() : + ServiceResult() +{} + +DescribeLiveUserQuotaResult::DescribeLiveUserQuotaResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveUserQuotaResult::~DescribeLiveUserQuotaResult() +{} + +void DescribeLiveUserQuotaResult::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(); + +} + +int DescribeLiveUserQuotaResult::getDomainQuota()const +{ + return domainQuota_; +} + +std::string DescribeLiveUserQuotaResult::getDomainUsedCount()const +{ + return domainUsedCount_; +} + diff --git a/live/src/model/DescribeLiveUserTagsRequest.cc b/live/src/model/DescribeLiveUserTagsRequest.cc index 560b3a55d..35fffe40a 100644 --- a/live/src/model/DescribeLiveUserTagsRequest.cc +++ b/live/src/model/DescribeLiveUserTagsRequest.cc @@ -1,36 +1,40 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeLiveUserTagsRequest; - -DescribeLiveUserTagsRequest::DescribeLiveUserTagsRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeLiveUserTags") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeLiveUserTagsRequest::~DescribeLiveUserTagsRequest() {} - -long DescribeLiveUserTagsRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeLiveUserTagsRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeLiveUserTagsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeMixStreamListRequest.cc b/live/src/model/DescribeMixStreamListRequest.cc index 2ca8b8961..194527e9b 100644 --- a/live/src/model/DescribeMixStreamListRequest.cc +++ b/live/src/model/DescribeMixStreamListRequest.cc @@ -1,108 +1,128 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DescribeMixStreamListRequest::~DescribeMixStreamListRequest() {} - -std::string DescribeMixStreamListRequest::getStartTime() const { - return startTime_; +void DescribeMixStreamListRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeMixStreamListRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeMixStreamListRequest::getAppName()const +{ + return appName_; } -std::string DescribeMixStreamListRequest::getAppName() const { - return appName_; +void DescribeMixStreamListRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void DescribeMixStreamListRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +int DescribeMixStreamListRequest::getPageSize()const +{ + return pageSize_; } -int DescribeMixStreamListRequest::getPageSize() const { - return pageSize_; +void DescribeMixStreamListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); } -void DescribeMixStreamListRequest::setPageSize(int pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); +std::string DescribeMixStreamListRequest::getStreamName()const +{ + return streamName_; } -std::string DescribeMixStreamListRequest::getStreamName() const { - return streamName_; +void DescribeMixStreamListRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void DescribeMixStreamListRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string DescribeMixStreamListRequest::getMixStreamId()const +{ + return mixStreamId_; } -std::string DescribeMixStreamListRequest::getMixStreamId() const { - return mixStreamId_; +void DescribeMixStreamListRequest::setMixStreamId(const std::string& mixStreamId) +{ + mixStreamId_ = mixStreamId; + setParameter("MixStreamId", mixStreamId); } -void DescribeMixStreamListRequest::setMixStreamId(const std::string &mixStreamId) { - mixStreamId_ = mixStreamId; - setParameter(std::string("MixStreamId"), mixStreamId); +std::string DescribeMixStreamListRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeMixStreamListRequest::getDomainName() const { - return domainName_; +void DescribeMixStreamListRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeMixStreamListRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeMixStreamListRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeMixStreamListRequest::getEndTime() const { - return endTime_; +void DescribeMixStreamListRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeMixStreamListRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeMixStreamListRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeMixStreamListRequest::getOwnerId() const { - return ownerId_; +void DescribeMixStreamListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeMixStreamListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +int DescribeMixStreamListRequest::getPageNo()const +{ + return pageNo_; } -int DescribeMixStreamListRequest::getPageNo() const { - return pageNo_; -} - -void DescribeMixStreamListRequest::setPageNo(int pageNo) { - pageNo_ = pageNo; - setParameter(std::string("PageNo"), std::to_string(pageNo)); +void DescribeMixStreamListRequest::setPageNo(int pageNo) +{ + pageNo_ = pageNo; + setParameter("PageNo", std::to_string(pageNo)); } diff --git a/live/src/model/DescribeMixStreamListResult.cc b/live/src/model/DescribeMixStreamListResult.cc index c2d2ab6dd..2564b9c38 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["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(); + 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["GmtCreate"].isNull()) + mixStreamListObject.gmtCreate = valueMixStreamListMixStreamInfo["GmtCreate"].asString(); + if(!valueMixStreamListMixStreamInfo["GmtModified"].isNull()) + mixStreamListObject.gmtModified = valueMixStreamListMixStreamInfo["GmtModified"].asString(); mixStreamList_.push_back(mixStreamListObject); } if(!value["Total"].isNull()) diff --git a/live/src/model/DescribeRoomKickoutUserListRequest.cc b/live/src/model/DescribeRoomKickoutUserListRequest.cc index a9962c523..12d34ec28 100644 --- a/live/src/model/DescribeRoomKickoutUserListRequest.cc +++ b/live/src/model/DescribeRoomKickoutUserListRequest.cc @@ -1,81 +1,95 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DescribeRoomKickoutUserListRequest::~DescribeRoomKickoutUserListRequest() {} - -int DescribeRoomKickoutUserListRequest::getPageNum() const { - return pageNum_; +void DescribeRoomKickoutUserListRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); } -void DescribeRoomKickoutUserListRequest::setPageNum(int pageNum) { - pageNum_ = pageNum; - setParameter(std::string("PageNum"), std::to_string(pageNum)); +int DescribeRoomKickoutUserListRequest::getPageSize()const +{ + return pageSize_; } -int DescribeRoomKickoutUserListRequest::getPageSize() const { - return pageSize_; +void DescribeRoomKickoutUserListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); } -void DescribeRoomKickoutUserListRequest::setPageSize(int pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); +std::string DescribeRoomKickoutUserListRequest::getOrder()const +{ + return order_; } -std::string DescribeRoomKickoutUserListRequest::getOrder() const { - return order_; +void DescribeRoomKickoutUserListRequest::setOrder(const std::string& order) +{ + order_ = order; + setParameter("Order", order); } -void DescribeRoomKickoutUserListRequest::setOrder(const std::string &order) { - order_ = order; - setParameter(std::string("Order"), order); +long DescribeRoomKickoutUserListRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeRoomKickoutUserListRequest::getOwnerId() const { - return ownerId_; +void DescribeRoomKickoutUserListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeRoomKickoutUserListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeRoomKickoutUserListRequest::getRoomId()const +{ + return roomId_; } -std::string DescribeRoomKickoutUserListRequest::getRoomId() const { - return roomId_; +void DescribeRoomKickoutUserListRequest::setRoomId(const std::string& roomId) +{ + roomId_ = roomId; + setParameter("RoomId", roomId); } -void DescribeRoomKickoutUserListRequest::setRoomId(const std::string &roomId) { - roomId_ = roomId; - setParameter(std::string("RoomId"), roomId); +std::string DescribeRoomKickoutUserListRequest::getAppId()const +{ + return appId_; } -std::string DescribeRoomKickoutUserListRequest::getAppId() const { - return appId_; -} - -void DescribeRoomKickoutUserListRequest::setAppId(const std::string &appId) { - appId_ = appId; - setParameter(std::string("AppId"), appId); +void DescribeRoomKickoutUserListRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); } diff --git a/live/src/model/DescribeRoomKickoutUserListResult.cc b/live/src/model/DescribeRoomKickoutUserListResult.cc index dad460278..f715c1080 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["TotalPage"].isNull()) - totalPage_ = std::stoi(value["TotalPage"].asString()); if(!value["TotalNum"].isNull()) totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["TotalPage"].isNull()) + totalPage_ = std::stoi(value["TotalPage"].asString()); } diff --git a/live/src/model/DescribeRoomListRequest.cc b/live/src/model/DescribeRoomListRequest.cc index e04f052db..e36d426c0 100644 --- a/live/src/model/DescribeRoomListRequest.cc +++ b/live/src/model/DescribeRoomListRequest.cc @@ -1,117 +1,139 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DescribeRoomListRequest::~DescribeRoomListRequest() {} - -std::string DescribeRoomListRequest::getStartTime() const { - return startTime_; +void DescribeRoomListRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeRoomListRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeRoomListRequest::getAnchorId()const +{ + return anchorId_; } -std::string DescribeRoomListRequest::getAnchorId() const { - return anchorId_; +void DescribeRoomListRequest::setAnchorId(const std::string& anchorId) +{ + anchorId_ = anchorId; + setParameter("AnchorId", anchorId); } -void DescribeRoomListRequest::setAnchorId(const std::string &anchorId) { - anchorId_ = anchorId; - setParameter(std::string("AnchorId"), anchorId); +int DescribeRoomListRequest::getPageNum()const +{ + return pageNum_; } -int DescribeRoomListRequest::getPageNum() const { - return pageNum_; +void DescribeRoomListRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); } -void DescribeRoomListRequest::setPageNum(int pageNum) { - pageNum_ = pageNum; - setParameter(std::string("PageNum"), std::to_string(pageNum)); +int DescribeRoomListRequest::getRoomStatus()const +{ + return roomStatus_; } -int DescribeRoomListRequest::getRoomStatus() const { - return roomStatus_; +void DescribeRoomListRequest::setRoomStatus(int roomStatus) +{ + roomStatus_ = roomStatus; + setParameter("RoomStatus", std::to_string(roomStatus)); } -void DescribeRoomListRequest::setRoomStatus(int roomStatus) { - roomStatus_ = roomStatus; - setParameter(std::string("RoomStatus"), std::to_string(roomStatus)); +int DescribeRoomListRequest::getPageSize()const +{ + return pageSize_; } -int DescribeRoomListRequest::getPageSize() const { - return pageSize_; +void DescribeRoomListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); } -void DescribeRoomListRequest::setPageSize(int pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); +std::string DescribeRoomListRequest::getOrder()const +{ + return order_; } -std::string DescribeRoomListRequest::getOrder() const { - return order_; +void DescribeRoomListRequest::setOrder(const std::string& order) +{ + order_ = order; + setParameter("Order", order); } -void DescribeRoomListRequest::setOrder(const std::string &order) { - order_ = order; - setParameter(std::string("Order"), order); +std::string DescribeRoomListRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeRoomListRequest::getEndTime() const { - return endTime_; +void DescribeRoomListRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeRoomListRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeRoomListRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeRoomListRequest::getOwnerId() const { - return ownerId_; +void DescribeRoomListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeRoomListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeRoomListRequest::getRoomId()const +{ + return roomId_; } -std::string DescribeRoomListRequest::getRoomId() const { - return roomId_; +void DescribeRoomListRequest::setRoomId(const std::string& roomId) +{ + roomId_ = roomId; + setParameter("RoomId", roomId); } -void DescribeRoomListRequest::setRoomId(const std::string &roomId) { - roomId_ = roomId; - setParameter(std::string("RoomId"), roomId); +std::string DescribeRoomListRequest::getAppId()const +{ + return appId_; } -std::string DescribeRoomListRequest::getAppId() const { - return appId_; -} - -void DescribeRoomListRequest::setAppId(const std::string &appId) { - appId_ = appId; - setParameter(std::string("AppId"), appId); +void DescribeRoomListRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); } diff --git a/live/src/model/DescribeRoomListResult.cc b/live/src/model/DescribeRoomListResult.cc index 8a001b5d6..b859a7816 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["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["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["CreateTime"].isNull()) + roomListObject.createTime = valueRoomListRoom["CreateTime"].asString(); roomList_.push_back(roomListObject); } - if(!value["TotalPage"].isNull()) - totalPage_ = std::stoi(value["TotalPage"].asString()); if(!value["TotalNum"].isNull()) totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["TotalPage"].isNull()) + totalPage_ = std::stoi(value["TotalPage"].asString()); } diff --git a/live/src/model/DescribeRoomStatusRequest.cc b/live/src/model/DescribeRoomStatusRequest.cc index 0fb5a5a91..a943e74bc 100644 --- a/live/src/model/DescribeRoomStatusRequest.cc +++ b/live/src/model/DescribeRoomStatusRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeRoomStatusRequest; - -DescribeRoomStatusRequest::DescribeRoomStatusRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeRoomStatus") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeRoomStatusRequest::~DescribeRoomStatusRequest() {} - -long DescribeRoomStatusRequest::getOwnerId() const { - return ownerId_; +void DescribeRoomStatusRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeRoomStatusRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeRoomStatusRequest::getRoomId()const +{ + return roomId_; } -std::string DescribeRoomStatusRequest::getRoomId() const { - return roomId_; +void DescribeRoomStatusRequest::setRoomId(const std::string& roomId) +{ + roomId_ = roomId; + setParameter("RoomId", roomId); } -void DescribeRoomStatusRequest::setRoomId(const std::string &roomId) { - roomId_ = roomId; - setParameter(std::string("RoomId"), roomId); +std::string DescribeRoomStatusRequest::getAppId()const +{ + return appId_; } -std::string DescribeRoomStatusRequest::getAppId() const { - return appId_; -} - -void DescribeRoomStatusRequest::setAppId(const std::string &appId) { - appId_ = appId; - setParameter(std::string("AppId"), appId); +void DescribeRoomStatusRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); } diff --git a/live/src/model/DescribeShowListRequest.cc b/live/src/model/DescribeShowListRequest.cc index e8c68b389..200581b08 100644 --- a/live/src/model/DescribeShowListRequest.cc +++ b/live/src/model/DescribeShowListRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DescribeShowListRequest; - -DescribeShowListRequest::DescribeShowListRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeShowList") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeShowListRequest::~DescribeShowListRequest() {} - -std::string DescribeShowListRequest::getCasterId() const { - return casterId_; +void DescribeShowListRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void DescribeShowListRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long DescribeShowListRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeShowListRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeShowListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeShowListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeShowListResult.cc b/live/src/model/DescribeShowListResult.cc index 85dd50ee5..883221115 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["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["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["CurrentShowId"].isNull()) + showListInfo_.currentShowId = showListInfoNode["CurrentShowId"].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["LiveInputType"].isNull()) - showObject.resourceInfo.liveInputType = std::stoi(resourceInfoNode["LiveInputType"].asString()); + if(!resourceInfoNode["ResourceId"].isNull()) + showObject.resourceInfo.resourceId = resourceInfoNode["ResourceId"].asString(); if(!resourceInfoNode["ResourceUrl"].isNull()) showObject.resourceInfo.resourceUrl = resourceInfoNode["ResourceUrl"].asString(); if(!resourceInfoNode["ResourceType"].isNull()) showObject.resourceInfo.resourceType = resourceInfoNode["ResourceType"].asString(); - if(!resourceInfoNode["ResourceId"].isNull()) - showObject.resourceInfo.resourceId = resourceInfoNode["ResourceId"].asString(); + if(!resourceInfoNode["LiveInputType"].isNull()) + showObject.resourceInfo.liveInputType = std::stoi(resourceInfoNode["LiveInputType"].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 f73fad30b..228276cbd 100644 --- a/live/src/model/DescribeStudioLayoutsRequest.cc +++ b/live/src/model/DescribeStudioLayoutsRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeStudioLayoutsRequest; - -DescribeStudioLayoutsRequest::DescribeStudioLayoutsRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeStudioLayouts") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeStudioLayoutsRequest::~DescribeStudioLayoutsRequest() {} - -std::string DescribeStudioLayoutsRequest::getLayoutId() const { - return layoutId_; +void DescribeStudioLayoutsRequest::setLayoutId(const std::string& layoutId) +{ + layoutId_ = layoutId; + setParameter("LayoutId", layoutId); } -void DescribeStudioLayoutsRequest::setLayoutId(const std::string &layoutId) { - layoutId_ = layoutId; - setParameter(std::string("LayoutId"), layoutId); +std::string DescribeStudioLayoutsRequest::getCasterId()const +{ + return casterId_; } -std::string DescribeStudioLayoutsRequest::getCasterId() const { - return casterId_; +void DescribeStudioLayoutsRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void DescribeStudioLayoutsRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long DescribeStudioLayoutsRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeStudioLayoutsRequest::getOwnerId() const { - return ownerId_; -} - -void DescribeStudioLayoutsRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DescribeStudioLayoutsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DescribeStudioLayoutsResult.cc b/live/src/model/DescribeStudioLayoutsResult.cc index ea8a0c075..4f746e061 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["PortraitType"].isNull()) - screenInputConfigListObject.portraitType = std::stoi(valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["PortraitType"].asString()); + if(!valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["Id"].isNull()) + screenInputConfigListObject.id = valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["Id"].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["Id"].isNull()) - screenInputConfigListObject.id = valueStudioLayoutsStudioLayoutScreenInputConfigListScreenInputConfig["Id"].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"; 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["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["ImageMaterialId"].isNull()) mediaInputConfigListObject.imageMaterialId = valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["ImageMaterialId"].asString(); - if(!valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["Id"].isNull()) - mediaInputConfigListObject.id = valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["Id"].asString(); + if(!valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["FillMode"].isNull()) + mediaInputConfigListObject.fillMode = valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["FillMode"].asString(); + if(!valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["PositionRefer"].isNull()) + mediaInputConfigListObject.positionRefer = valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["PositionRefer"].asString(); + if(!valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["WidthNormalized"].isNull()) + mediaInputConfigListObject.widthNormalized = std::stof(valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["WidthNormalized"].asString()); + if(!valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["HeightNormalized"].isNull()) + mediaInputConfigListObject.heightNormalized = std::stof(valueStudioLayoutsStudioLayoutMediaInputConfigListMediaInputConfig["HeightNormalized"].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["Type"].isNull()) - layerOrderConfigListObject.type = valueStudioLayoutsStudioLayoutLayerOrderConfigListLayerOrderConfig["Type"].asString(); if(!valueStudioLayoutsStudioLayoutLayerOrderConfigListLayerOrderConfig["Id"].isNull()) layerOrderConfigListObject.id = valueStudioLayoutsStudioLayoutLayerOrderConfigListLayerOrderConfig["Id"].asString(); + if(!valueStudioLayoutsStudioLayoutLayerOrderConfigListLayerOrderConfig["Type"].isNull()) + layerOrderConfigListObject.type = valueStudioLayoutsStudioLayoutLayerOrderConfigListLayerOrderConfig["Type"].asString(); studioLayoutsObject.layerOrderConfigList.push_back(layerOrderConfigListObject); } auto commonConfigNode = value["CommonConfig"]; - if(!commonConfigNode["ChannelId"].isNull()) - studioLayoutsObject.commonConfig.channelId = commonConfigNode["ChannelId"].asString(); if(!commonConfigNode["VideoResourceId"].isNull()) studioLayoutsObject.commonConfig.videoResourceId = commonConfigNode["VideoResourceId"].asString(); + if(!commonConfigNode["ChannelId"].isNull()) + studioLayoutsObject.commonConfig.channelId = commonConfigNode["ChannelId"].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 663c0ee64..f9a8d74d2 100644 --- a/live/src/model/DescribeToutiaoLivePlayRequest.cc +++ b/live/src/model/DescribeToutiaoLivePlayRequest.cc @@ -1,81 +1,95 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DescribeToutiaoLivePlayRequest::~DescribeToutiaoLivePlayRequest() {} - -std::string DescribeToutiaoLivePlayRequest::getStartTime() const { - return startTime_; +void DescribeToutiaoLivePlayRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeToutiaoLivePlayRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeToutiaoLivePlayRequest::getStream()const +{ + return stream_; } -std::string DescribeToutiaoLivePlayRequest::getStream() const { - return stream_; +void DescribeToutiaoLivePlayRequest::setStream(const std::string& stream) +{ + stream_ = stream; + setParameter("Stream", stream); } -void DescribeToutiaoLivePlayRequest::setStream(const std::string &stream) { - stream_ = stream; - setParameter(std::string("Stream"), stream); +std::string DescribeToutiaoLivePlayRequest::getApp()const +{ + return app_; } -std::string DescribeToutiaoLivePlayRequest::getApp() const { - return app_; +void DescribeToutiaoLivePlayRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); } -void DescribeToutiaoLivePlayRequest::setApp(const std::string &app) { - app_ = app; - setParameter(std::string("App"), app); +std::string DescribeToutiaoLivePlayRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeToutiaoLivePlayRequest::getEndTime() const { - return endTime_; +void DescribeToutiaoLivePlayRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeToutiaoLivePlayRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeToutiaoLivePlayRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeToutiaoLivePlayRequest::getOwnerId() const { - return ownerId_; +void DescribeToutiaoLivePlayRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeToutiaoLivePlayRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeToutiaoLivePlayRequest::getDomain()const +{ + return domain_; } -std::string DescribeToutiaoLivePlayRequest::getDomain() const { - return domain_; -} - -void DescribeToutiaoLivePlayRequest::setDomain(const std::string &domain) { - domain_ = domain; - setParameter(std::string("Domain"), domain); +void DescribeToutiaoLivePlayRequest::setDomain(const std::string& domain) +{ + domain_ = domain; + setParameter("Domain", domain); } diff --git a/live/src/model/DescribeToutiaoLivePlayResult.cc b/live/src/model/DescribeToutiaoLivePlayResult.cc index d611b2d8c..1c95753df 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["Domain"].isNull()) - contentObject.domain = valueContentContentItem["Domain"].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["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["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/DescribeToutiaoLivePublishRequest.cc b/live/src/model/DescribeToutiaoLivePublishRequest.cc index 5fb749ddd..32725ddab 100644 --- a/live/src/model/DescribeToutiaoLivePublishRequest.cc +++ b/live/src/model/DescribeToutiaoLivePublishRequest.cc @@ -1,81 +1,95 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DescribeToutiaoLivePublishRequest::~DescribeToutiaoLivePublishRequest() {} - -std::string DescribeToutiaoLivePublishRequest::getStartTime() const { - return startTime_; +void DescribeToutiaoLivePublishRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeToutiaoLivePublishRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeToutiaoLivePublishRequest::getStream()const +{ + return stream_; } -std::string DescribeToutiaoLivePublishRequest::getStream() const { - return stream_; +void DescribeToutiaoLivePublishRequest::setStream(const std::string& stream) +{ + stream_ = stream; + setParameter("Stream", stream); } -void DescribeToutiaoLivePublishRequest::setStream(const std::string &stream) { - stream_ = stream; - setParameter(std::string("Stream"), stream); +std::string DescribeToutiaoLivePublishRequest::getApp()const +{ + return app_; } -std::string DescribeToutiaoLivePublishRequest::getApp() const { - return app_; +void DescribeToutiaoLivePublishRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); } -void DescribeToutiaoLivePublishRequest::setApp(const std::string &app) { - app_ = app; - setParameter(std::string("App"), app); +std::string DescribeToutiaoLivePublishRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeToutiaoLivePublishRequest::getEndTime() const { - return endTime_; +void DescribeToutiaoLivePublishRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeToutiaoLivePublishRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeToutiaoLivePublishRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeToutiaoLivePublishRequest::getOwnerId() const { - return ownerId_; +void DescribeToutiaoLivePublishRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeToutiaoLivePublishRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeToutiaoLivePublishRequest::getDomain()const +{ + return domain_; } -std::string DescribeToutiaoLivePublishRequest::getDomain() const { - return domain_; -} - -void DescribeToutiaoLivePublishRequest::setDomain(const std::string &domain) { - domain_ = domain; - setParameter(std::string("Domain"), domain); +void DescribeToutiaoLivePublishRequest::setDomain(const std::string& domain) +{ + domain_ = domain; + setParameter("Domain", domain); } diff --git a/live/src/model/DescribeToutiaoLivePublishResult.cc b/live/src/model/DescribeToutiaoLivePublishResult.cc index 287352dd8..30124d9e7 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 076c57672..5066b87d5 100644 --- a/live/src/model/DescribeUpBpsPeakDataRequest.cc +++ b/live/src/model/DescribeUpBpsPeakDataRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeUpBpsPeakDataRequest; - -DescribeUpBpsPeakDataRequest::DescribeUpBpsPeakDataRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeUpBpsPeakData") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeUpBpsPeakDataRequest::~DescribeUpBpsPeakDataRequest() {} - -std::string DescribeUpBpsPeakDataRequest::getStartTime() const { - return startTime_; +void DescribeUpBpsPeakDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeUpBpsPeakDataRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeUpBpsPeakDataRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeUpBpsPeakDataRequest::getDomainName() const { - return domainName_; +void DescribeUpBpsPeakDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeUpBpsPeakDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeUpBpsPeakDataRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeUpBpsPeakDataRequest::getEndTime() const { - return endTime_; +void DescribeUpBpsPeakDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeUpBpsPeakDataRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeUpBpsPeakDataRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeUpBpsPeakDataRequest::getOwnerId() const { - return ownerId_; +void DescribeUpBpsPeakDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeUpBpsPeakDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeUpBpsPeakDataRequest::getDomainSwitch()const +{ + return domainSwitch_; } -std::string DescribeUpBpsPeakDataRequest::getDomainSwitch() const { - return domainSwitch_; -} - -void DescribeUpBpsPeakDataRequest::setDomainSwitch(const std::string &domainSwitch) { - domainSwitch_ = domainSwitch; - setParameter(std::string("DomainSwitch"), domainSwitch); +void DescribeUpBpsPeakDataRequest::setDomainSwitch(const std::string& domainSwitch) +{ + domainSwitch_ = domainSwitch; + setParameter("DomainSwitch", domainSwitch); } diff --git a/live/src/model/DescribeUpBpsPeakDataResult.cc b/live/src/model/DescribeUpBpsPeakDataResult.cc index 31f728ec7..c99d1696d 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["QueryTime"].isNull()) - describeUpPeakTrafficsObject.queryTime = valueDescribeUpPeakTrafficsDescribeUpPeakTraffic["QueryTime"].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(); + 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(); describeUpPeakTraffics_.push_back(describeUpPeakTrafficsObject); } diff --git a/live/src/model/DescribeUpBpsPeakOfLineRequest.cc b/live/src/model/DescribeUpBpsPeakOfLineRequest.cc index d8b5e847a..e09dc2be1 100644 --- a/live/src/model/DescribeUpBpsPeakOfLineRequest.cc +++ b/live/src/model/DescribeUpBpsPeakOfLineRequest.cc @@ -1,81 +1,95 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -DescribeUpBpsPeakOfLineRequest::~DescribeUpBpsPeakOfLineRequest() {} - -std::string DescribeUpBpsPeakOfLineRequest::getLine() const { - return line_; +void DescribeUpBpsPeakOfLineRequest::setLine(const std::string& line) +{ + line_ = line; + setParameter("Line", line); } -void DescribeUpBpsPeakOfLineRequest::setLine(const std::string &line) { - line_ = line; - setParameter(std::string("Line"), line); +std::string DescribeUpBpsPeakOfLineRequest::getStartTime()const +{ + return startTime_; } -std::string DescribeUpBpsPeakOfLineRequest::getStartTime() const { - return startTime_; +void DescribeUpBpsPeakOfLineRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeUpBpsPeakOfLineRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeUpBpsPeakOfLineRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeUpBpsPeakOfLineRequest::getDomainName() const { - return domainName_; +void DescribeUpBpsPeakOfLineRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeUpBpsPeakOfLineRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeUpBpsPeakOfLineRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeUpBpsPeakOfLineRequest::getEndTime() const { - return endTime_; +void DescribeUpBpsPeakOfLineRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeUpBpsPeakOfLineRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeUpBpsPeakOfLineRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeUpBpsPeakOfLineRequest::getOwnerId() const { - return ownerId_; +void DescribeUpBpsPeakOfLineRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeUpBpsPeakOfLineRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeUpBpsPeakOfLineRequest::getDomainSwitch()const +{ + return domainSwitch_; } -std::string DescribeUpBpsPeakOfLineRequest::getDomainSwitch() const { - return domainSwitch_; -} - -void DescribeUpBpsPeakOfLineRequest::setDomainSwitch(const std::string &domainSwitch) { - domainSwitch_ = domainSwitch; - setParameter(std::string("DomainSwitch"), domainSwitch); +void DescribeUpBpsPeakOfLineRequest::setDomainSwitch(const std::string& domainSwitch) +{ + domainSwitch_ = domainSwitch; + setParameter("DomainSwitch", domainSwitch); } diff --git a/live/src/model/DescribeUpBpsPeakOfLineResult.cc b/live/src/model/DescribeUpBpsPeakOfLineResult.cc index 565e2cde3..6e0075b18 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["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(); + if(!valueDescribeUpBpsPeakOfLinesDescribeUpBpsPeakOfLine["QueryTime"].isNull()) + describeUpBpsPeakOfLinesObject.queryTime = valueDescribeUpBpsPeakOfLinesDescribeUpBpsPeakOfLine["QueryTime"].asString(); + if(!valueDescribeUpBpsPeakOfLinesDescribeUpBpsPeakOfLine["StatName"].isNull()) + describeUpBpsPeakOfLinesObject.statName = valueDescribeUpBpsPeakOfLinesDescribeUpBpsPeakOfLine["StatName"].asString(); describeUpBpsPeakOfLines_.push_back(describeUpBpsPeakOfLinesObject); } diff --git a/live/src/model/DescribeUpPeakPublishStreamDataRequest.cc b/live/src/model/DescribeUpPeakPublishStreamDataRequest.cc index ead566541..ffe7a2f34 100644 --- a/live/src/model/DescribeUpPeakPublishStreamDataRequest.cc +++ b/live/src/model/DescribeUpPeakPublishStreamDataRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DescribeUpPeakPublishStreamDataRequest; - -DescribeUpPeakPublishStreamDataRequest::DescribeUpPeakPublishStreamDataRequest() - : RpcServiceRequest("live", "2016-11-01", "DescribeUpPeakPublishStreamData") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DescribeUpPeakPublishStreamDataRequest::~DescribeUpPeakPublishStreamDataRequest() {} - -std::string DescribeUpPeakPublishStreamDataRequest::getStartTime() const { - return startTime_; +void DescribeUpPeakPublishStreamDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void DescribeUpPeakPublishStreamDataRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string DescribeUpPeakPublishStreamDataRequest::getDomainName()const +{ + return domainName_; } -std::string DescribeUpPeakPublishStreamDataRequest::getDomainName() const { - return domainName_; +void DescribeUpPeakPublishStreamDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DescribeUpPeakPublishStreamDataRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string DescribeUpPeakPublishStreamDataRequest::getEndTime()const +{ + return endTime_; } -std::string DescribeUpPeakPublishStreamDataRequest::getEndTime() const { - return endTime_; +void DescribeUpPeakPublishStreamDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void DescribeUpPeakPublishStreamDataRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long DescribeUpPeakPublishStreamDataRequest::getOwnerId()const +{ + return ownerId_; } -long DescribeUpPeakPublishStreamDataRequest::getOwnerId() const { - return ownerId_; +void DescribeUpPeakPublishStreamDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DescribeUpPeakPublishStreamDataRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DescribeUpPeakPublishStreamDataRequest::getDomainSwitch()const +{ + return domainSwitch_; } -std::string DescribeUpPeakPublishStreamDataRequest::getDomainSwitch() const { - return domainSwitch_; -} - -void DescribeUpPeakPublishStreamDataRequest::setDomainSwitch(const std::string &domainSwitch) { - domainSwitch_ = domainSwitch; - setParameter(std::string("DomainSwitch"), domainSwitch); +void DescribeUpPeakPublishStreamDataRequest::setDomainSwitch(const std::string& domainSwitch) +{ + domainSwitch_ = domainSwitch; + setParameter("DomainSwitch", domainSwitch); } diff --git a/live/src/model/DescribeUpPeakPublishStreamDataResult.cc b/live/src/model/DescribeUpPeakPublishStreamDataResult.cc index 72dd6f64c..5ee46229c 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["QueryTime"].isNull()) - describeUpPeakPublishStreamDatasObject.queryTime = valueDescribeUpPeakPublishStreamDatasDescribeUpPeakPublishStreamData["QueryTime"].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()); + 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(); describeUpPeakPublishStreamDatas_.push_back(describeUpPeakPublishStreamDatasObject); } diff --git a/live/src/model/DisableLiveRealtimeLogDeliveryRequest.cc b/live/src/model/DisableLiveRealtimeLogDeliveryRequest.cc index 4e0b6bf42..5b9523050 100644 --- a/live/src/model/DisableLiveRealtimeLogDeliveryRequest.cc +++ b/live/src/model/DisableLiveRealtimeLogDeliveryRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::DisableLiveRealtimeLogDeliveryRequest; - -DisableLiveRealtimeLogDeliveryRequest::DisableLiveRealtimeLogDeliveryRequest() - : RpcServiceRequest("live", "2016-11-01", "DisableLiveRealtimeLogDelivery") { - setMethod(HttpRequest::Method::Get); + */ + +#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_; } -DisableLiveRealtimeLogDeliveryRequest::~DisableLiveRealtimeLogDeliveryRequest() {} - -std::string DisableLiveRealtimeLogDeliveryRequest::getDomainName() const { - return domainName_; +void DisableLiveRealtimeLogDeliveryRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void DisableLiveRealtimeLogDeliveryRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long DisableLiveRealtimeLogDeliveryRequest::getOwnerId()const +{ + return ownerId_; } -long DisableLiveRealtimeLogDeliveryRequest::getOwnerId() const { - return ownerId_; -} - -void DisableLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void DisableLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/DynamicUpdateWaterMarkStreamRuleRequest.cc b/live/src/model/DynamicUpdateWaterMarkStreamRuleRequest.cc index f02ff51ca..c6b022237 100644 --- a/live/src/model/DynamicUpdateWaterMarkStreamRuleRequest.cc +++ b/live/src/model/DynamicUpdateWaterMarkStreamRuleRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::DynamicUpdateWaterMarkStreamRuleRequest; - -DynamicUpdateWaterMarkStreamRuleRequest::DynamicUpdateWaterMarkStreamRuleRequest() - : RpcServiceRequest("live", "2016-11-01", "DynamicUpdateWaterMarkStreamRule") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -DynamicUpdateWaterMarkStreamRuleRequest::~DynamicUpdateWaterMarkStreamRuleRequest() {} - -std::string DynamicUpdateWaterMarkStreamRuleRequest::getStream() const { - return stream_; +void DynamicUpdateWaterMarkStreamRuleRequest::setStream(const std::string& stream) +{ + stream_ = stream; + setParameter("Stream", stream); } -void DynamicUpdateWaterMarkStreamRuleRequest::setStream(const std::string &stream) { - stream_ = stream; - setParameter(std::string("Stream"), stream); +std::string DynamicUpdateWaterMarkStreamRuleRequest::getApp()const +{ + return app_; } -std::string DynamicUpdateWaterMarkStreamRuleRequest::getApp() const { - return app_; +void DynamicUpdateWaterMarkStreamRuleRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); } -void DynamicUpdateWaterMarkStreamRuleRequest::setApp(const std::string &app) { - app_ = app; - setParameter(std::string("App"), app); +long DynamicUpdateWaterMarkStreamRuleRequest::getOwnerId()const +{ + return ownerId_; } -long DynamicUpdateWaterMarkStreamRuleRequest::getOwnerId() const { - return ownerId_; +void DynamicUpdateWaterMarkStreamRuleRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void DynamicUpdateWaterMarkStreamRuleRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string DynamicUpdateWaterMarkStreamRuleRequest::getTemplateId()const +{ + return templateId_; } -std::string DynamicUpdateWaterMarkStreamRuleRequest::getTemplateId() const { - return templateId_; +void DynamicUpdateWaterMarkStreamRuleRequest::setTemplateId(const std::string& templateId) +{ + templateId_ = templateId; + setParameter("TemplateId", templateId); } -void DynamicUpdateWaterMarkStreamRuleRequest::setTemplateId(const std::string &templateId) { - templateId_ = templateId; - setParameter(std::string("TemplateId"), templateId); +std::string DynamicUpdateWaterMarkStreamRuleRequest::getDomain()const +{ + return domain_; } -std::string DynamicUpdateWaterMarkStreamRuleRequest::getDomain() const { - return domain_; -} - -void DynamicUpdateWaterMarkStreamRuleRequest::setDomain(const std::string &domain) { - domain_ = domain; - setParameter(std::string("Domain"), domain); +void DynamicUpdateWaterMarkStreamRuleRequest::setDomain(const std::string& domain) +{ + domain_ = domain; + setParameter("Domain", domain); } diff --git a/live/src/model/EditPlaylistRequest.cc b/live/src/model/EditPlaylistRequest.cc index 5f0d41f69..9092d17db 100644 --- a/live/src/model/EditPlaylistRequest.cc +++ b/live/src/model/EditPlaylistRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::EditPlaylistRequest; - -EditPlaylistRequest::EditPlaylistRequest() - : RpcServiceRequest("live", "2016-11-01", "EditPlaylist") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -EditPlaylistRequest::~EditPlaylistRequest() {} - -std::string EditPlaylistRequest::getProgramItems() const { - return programItems_; +void EditPlaylistRequest::setProgramItems(const std::string& programItems) +{ + programItems_ = programItems; + setParameter("ProgramItems", programItems); } -void EditPlaylistRequest::setProgramItems(const std::string &programItems) { - programItems_ = programItems; - setParameter(std::string("ProgramItems"), programItems); +std::string EditPlaylistRequest::getProgramId()const +{ + return programId_; } -std::string EditPlaylistRequest::getProgramId() const { - return programId_; +void EditPlaylistRequest::setProgramId(const std::string& programId) +{ + programId_ = programId; + setParameter("ProgramId", programId); } -void EditPlaylistRequest::setProgramId(const std::string &programId) { - programId_ = programId; - setParameter(std::string("ProgramId"), programId); +long EditPlaylistRequest::getOwnerId()const +{ + return ownerId_; } -long EditPlaylistRequest::getOwnerId() const { - return ownerId_; +void EditPlaylistRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void EditPlaylistRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string EditPlaylistRequest::getProgramConfig()const +{ + return programConfig_; } -std::string EditPlaylistRequest::getProgramConfig() const { - return programConfig_; -} - -void EditPlaylistRequest::setProgramConfig(const std::string &programConfig) { - programConfig_ = programConfig; - setParameter(std::string("ProgramConfig"), programConfig); +void EditPlaylistRequest::setProgramConfig(const std::string& programConfig) +{ + programConfig_ = programConfig; + setParameter("ProgramConfig", programConfig); } diff --git a/live/src/model/EditPlaylistResult.cc b/live/src/model/EditPlaylistResult.cc index e9e862368..ea6999ba3 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["ItemName"].isNull()) - successItemObject.itemName = itemsNodeSuccessItemsSuccessItem["ItemName"].asString(); if(!itemsNodeSuccessItemsSuccessItem["ItemId"].isNull()) successItemObject.itemId = itemsNodeSuccessItemsSuccessItem["ItemId"].asString(); + if(!itemsNodeSuccessItemsSuccessItem["ItemName"].isNull()) + successItemObject.itemName = itemsNodeSuccessItemsSuccessItem["ItemName"].asString(); items_.successItems.push_back(successItemObject); } auto allFailedItemsNode = itemsNode["FailedItems"]["FailedItem"]; for (auto itemsNodeFailedItemsFailedItem : allFailedItemsNode) { Items::FailedItem failedItemObject; - if(!itemsNodeFailedItemsFailedItem["ItemName"].isNull()) - failedItemObject.itemName = itemsNodeFailedItemsFailedItem["ItemName"].asString(); if(!itemsNodeFailedItemsFailedItem["ItemId"].isNull()) failedItemObject.itemId = itemsNodeFailedItemsFailedItem["ItemId"].asString(); + if(!itemsNodeFailedItemsFailedItem["ItemName"].isNull()) + failedItemObject.itemName = itemsNodeFailedItemsFailedItem["ItemName"].asString(); items_.failedItems.push_back(failedItemObject); } - if(!value["CasterId"].isNull()) - casterId_ = value["CasterId"].asString(); if(!value["ProgramId"].isNull()) programId_ = value["ProgramId"].asString(); + if(!value["CasterId"].isNull()) + casterId_ = value["CasterId"].asString(); } diff --git a/live/src/model/EditShowAndReplaceRequest.cc b/live/src/model/EditShowAndReplaceRequest.cc index 33adb9544..c822debf8 100644 --- a/live/src/model/EditShowAndReplaceRequest.cc +++ b/live/src/model/EditShowAndReplaceRequest.cc @@ -1,90 +1,106 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::EditShowAndReplaceRequest; - -EditShowAndReplaceRequest::EditShowAndReplaceRequest() - : RpcServiceRequest("live", "2016-11-01", "EditShowAndReplace") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -EditShowAndReplaceRequest::~EditShowAndReplaceRequest() {} - -float EditShowAndReplaceRequest::getStartTime() const { - return startTime_; +void EditShowAndReplaceRequest::setStartTime(float startTime) +{ + startTime_ = startTime; + setParameter("StartTime", std::to_string(startTime)); } -void EditShowAndReplaceRequest::setStartTime(float startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), std::to_string(startTime)); +std::string EditShowAndReplaceRequest::getUserData()const +{ + return userData_; } -std::string EditShowAndReplaceRequest::getUserData() const { - return userData_; +void EditShowAndReplaceRequest::setUserData(const std::string& userData) +{ + userData_ = userData; + setParameter("UserData", userData); } -void EditShowAndReplaceRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); +std::string EditShowAndReplaceRequest::getStorageInfo()const +{ + return storageInfo_; } -std::string EditShowAndReplaceRequest::getStorageInfo() const { - return storageInfo_; +void EditShowAndReplaceRequest::setStorageInfo(const std::string& storageInfo) +{ + storageInfo_ = storageInfo; + setParameter("StorageInfo", storageInfo); } -void EditShowAndReplaceRequest::setStorageInfo(const std::string &storageInfo) { - storageInfo_ = storageInfo; - setParameter(std::string("StorageInfo"), storageInfo); +std::string EditShowAndReplaceRequest::getCasterId()const +{ + return casterId_; } -std::string EditShowAndReplaceRequest::getCasterId() const { - return casterId_; +void EditShowAndReplaceRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void EditShowAndReplaceRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +float EditShowAndReplaceRequest::getEndTime()const +{ + return endTime_; } -float EditShowAndReplaceRequest::getEndTime() const { - return endTime_; +void EditShowAndReplaceRequest::setEndTime(float endTime) +{ + endTime_ = endTime; + setParameter("EndTime", std::to_string(endTime)); } -void EditShowAndReplaceRequest::setEndTime(float endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), std::to_string(endTime)); +long EditShowAndReplaceRequest::getOwnerId()const +{ + return ownerId_; } -long EditShowAndReplaceRequest::getOwnerId() const { - return ownerId_; +void EditShowAndReplaceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void EditShowAndReplaceRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string EditShowAndReplaceRequest::getShowId()const +{ + return showId_; } -std::string EditShowAndReplaceRequest::getShowId() const { - return showId_; -} - -void EditShowAndReplaceRequest::setShowId(const std::string &showId) { - showId_ = showId; - setParameter(std::string("ShowId"), showId); +void EditShowAndReplaceRequest::setShowId(const std::string& showId) +{ + showId_ = showId; + setParameter("ShowId", showId); } diff --git a/live/src/model/EffectCasterUrgentRequest.cc b/live/src/model/EffectCasterUrgentRequest.cc index 60cf3f532..f79b6adf6 100644 --- a/live/src/model/EffectCasterUrgentRequest.cc +++ b/live/src/model/EffectCasterUrgentRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::EffectCasterUrgentRequest; - -EffectCasterUrgentRequest::EffectCasterUrgentRequest() - : RpcServiceRequest("live", "2016-11-01", "EffectCasterUrgent") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -EffectCasterUrgentRequest::~EffectCasterUrgentRequest() {} - -std::string EffectCasterUrgentRequest::getCasterId() const { - return casterId_; +void EffectCasterUrgentRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void EffectCasterUrgentRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long EffectCasterUrgentRequest::getOwnerId()const +{ + return ownerId_; } -long EffectCasterUrgentRequest::getOwnerId() const { - return ownerId_; +void EffectCasterUrgentRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void EffectCasterUrgentRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string EffectCasterUrgentRequest::getSceneId()const +{ + return sceneId_; } -std::string EffectCasterUrgentRequest::getSceneId() const { - return sceneId_; -} - -void EffectCasterUrgentRequest::setSceneId(const std::string &sceneId) { - sceneId_ = sceneId; - setParameter(std::string("SceneId"), sceneId); +void EffectCasterUrgentRequest::setSceneId(const std::string& sceneId) +{ + sceneId_ = sceneId; + setParameter("SceneId", sceneId); } diff --git a/live/src/model/EffectCasterVideoResourceRequest.cc b/live/src/model/EffectCasterVideoResourceRequest.cc index a88fab4dc..9618a96b5 100644 --- a/live/src/model/EffectCasterVideoResourceRequest.cc +++ b/live/src/model/EffectCasterVideoResourceRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::EffectCasterVideoResourceRequest; - -EffectCasterVideoResourceRequest::EffectCasterVideoResourceRequest() - : RpcServiceRequest("live", "2016-11-01", "EffectCasterVideoResource") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -EffectCasterVideoResourceRequest::~EffectCasterVideoResourceRequest() {} - -std::string EffectCasterVideoResourceRequest::getResourceId() const { - return resourceId_; +void EffectCasterVideoResourceRequest::setResourceId(const std::string& resourceId) +{ + resourceId_ = resourceId; + setParameter("ResourceId", resourceId); } -void EffectCasterVideoResourceRequest::setResourceId(const std::string &resourceId) { - resourceId_ = resourceId; - setParameter(std::string("ResourceId"), resourceId); +std::string EffectCasterVideoResourceRequest::getCasterId()const +{ + return casterId_; } -std::string EffectCasterVideoResourceRequest::getCasterId() const { - return casterId_; +void EffectCasterVideoResourceRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void EffectCasterVideoResourceRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long EffectCasterVideoResourceRequest::getOwnerId()const +{ + return ownerId_; } -long EffectCasterVideoResourceRequest::getOwnerId() const { - return ownerId_; +void EffectCasterVideoResourceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void EffectCasterVideoResourceRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string EffectCasterVideoResourceRequest::getSceneId()const +{ + return sceneId_; } -std::string EffectCasterVideoResourceRequest::getSceneId() const { - return sceneId_; -} - -void EffectCasterVideoResourceRequest::setSceneId(const std::string &sceneId) { - sceneId_ = sceneId; - setParameter(std::string("SceneId"), sceneId); +void EffectCasterVideoResourceRequest::setSceneId(const std::string& sceneId) +{ + sceneId_ = sceneId; + setParameter("SceneId", sceneId); } diff --git a/live/src/model/EnableLiveRealtimeLogDeliveryRequest.cc b/live/src/model/EnableLiveRealtimeLogDeliveryRequest.cc index 11b4cbb84..d55948e01 100644 --- a/live/src/model/EnableLiveRealtimeLogDeliveryRequest.cc +++ b/live/src/model/EnableLiveRealtimeLogDeliveryRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::EnableLiveRealtimeLogDeliveryRequest; - -EnableLiveRealtimeLogDeliveryRequest::EnableLiveRealtimeLogDeliveryRequest() - : RpcServiceRequest("live", "2016-11-01", "EnableLiveRealtimeLogDelivery") { - setMethod(HttpRequest::Method::Get); + */ + +#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_; } -EnableLiveRealtimeLogDeliveryRequest::~EnableLiveRealtimeLogDeliveryRequest() {} - -std::string EnableLiveRealtimeLogDeliveryRequest::getDomainName() const { - return domainName_; +void EnableLiveRealtimeLogDeliveryRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void EnableLiveRealtimeLogDeliveryRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long EnableLiveRealtimeLogDeliveryRequest::getOwnerId()const +{ + return ownerId_; } -long EnableLiveRealtimeLogDeliveryRequest::getOwnerId() const { - return ownerId_; -} - -void EnableLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void EnableLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/ForbidLiveStreamRequest.cc b/live/src/model/ForbidLiveStreamRequest.cc index d56fc9322..993f49d79 100644 --- a/live/src/model/ForbidLiveStreamRequest.cc +++ b/live/src/model/ForbidLiveStreamRequest.cc @@ -1,99 +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::ForbidLiveStreamRequest; - -ForbidLiveStreamRequest::ForbidLiveStreamRequest() - : RpcServiceRequest("live", "2016-11-01", "ForbidLiveStream") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -ForbidLiveStreamRequest::~ForbidLiveStreamRequest() {} - -std::string ForbidLiveStreamRequest::getAppName() const { - return appName_; +void ForbidLiveStreamRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void ForbidLiveStreamRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string ForbidLiveStreamRequest::getStreamName()const +{ + return streamName_; } -std::string ForbidLiveStreamRequest::getStreamName() const { - return streamName_; +void ForbidLiveStreamRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void ForbidLiveStreamRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string ForbidLiveStreamRequest::getControlStreamAction()const +{ + return controlStreamAction_; } -std::string ForbidLiveStreamRequest::getControlStreamAction() const { - return controlStreamAction_; +void ForbidLiveStreamRequest::setControlStreamAction(const std::string& controlStreamAction) +{ + controlStreamAction_ = controlStreamAction; + setParameter("ControlStreamAction", controlStreamAction); } -void ForbidLiveStreamRequest::setControlStreamAction(const std::string &controlStreamAction) { - controlStreamAction_ = controlStreamAction; - setParameter(std::string("ControlStreamAction"), controlStreamAction); +std::string ForbidLiveStreamRequest::getResumeTime()const +{ + return resumeTime_; } -std::string ForbidLiveStreamRequest::getResumeTime() const { - return resumeTime_; +void ForbidLiveStreamRequest::setResumeTime(const std::string& resumeTime) +{ + resumeTime_ = resumeTime; + setParameter("ResumeTime", resumeTime); } -void ForbidLiveStreamRequest::setResumeTime(const std::string &resumeTime) { - resumeTime_ = resumeTime; - setParameter(std::string("ResumeTime"), resumeTime); +std::string ForbidLiveStreamRequest::getLiveStreamType()const +{ + return liveStreamType_; } -std::string ForbidLiveStreamRequest::getLiveStreamType() const { - return liveStreamType_; +void ForbidLiveStreamRequest::setLiveStreamType(const std::string& liveStreamType) +{ + liveStreamType_ = liveStreamType; + setParameter("LiveStreamType", liveStreamType); } -void ForbidLiveStreamRequest::setLiveStreamType(const std::string &liveStreamType) { - liveStreamType_ = liveStreamType; - setParameter(std::string("LiveStreamType"), liveStreamType); +std::string ForbidLiveStreamRequest::getDomainName()const +{ + return domainName_; } -std::string ForbidLiveStreamRequest::getDomainName() const { - return domainName_; +void ForbidLiveStreamRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void ForbidLiveStreamRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long ForbidLiveStreamRequest::getOwnerId()const +{ + return ownerId_; } -long ForbidLiveStreamRequest::getOwnerId() const { - return ownerId_; +void ForbidLiveStreamRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void ForbidLiveStreamRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string ForbidLiveStreamRequest::getOneshot()const +{ + return oneshot_; } -std::string ForbidLiveStreamRequest::getOneshot() const { - return oneshot_; -} - -void ForbidLiveStreamRequest::setOneshot(const std::string &oneshot) { - oneshot_ = oneshot; - setParameter(std::string("Oneshot"), oneshot); +void ForbidLiveStreamRequest::setOneshot(const std::string& oneshot) +{ + oneshot_ = oneshot; + setParameter("Oneshot", oneshot); } diff --git a/live/src/model/ForbidPushStreamRequest.cc b/live/src/model/ForbidPushStreamRequest.cc index 5108393c1..83d7d5bfa 100644 --- a/live/src/model/ForbidPushStreamRequest.cc +++ b/live/src/model/ForbidPushStreamRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ForbidPushStreamRequest; - -ForbidPushStreamRequest::ForbidPushStreamRequest() - : RpcServiceRequest("live", "2016-11-01", "ForbidPushStream") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -ForbidPushStreamRequest::~ForbidPushStreamRequest() {} - -std::string ForbidPushStreamRequest::getUserData() const { - return userData_; +void ForbidPushStreamRequest::setUserData(const std::string& userData) +{ + userData_ = userData; + setParameter("UserData", userData); } -void ForbidPushStreamRequest::setUserData(const std::string &userData) { - userData_ = userData; - setParameter(std::string("UserData"), userData); +std::string ForbidPushStreamRequest::getEndTime()const +{ + return endTime_; } -std::string ForbidPushStreamRequest::getEndTime() const { - return endTime_; +void ForbidPushStreamRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void ForbidPushStreamRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long ForbidPushStreamRequest::getOwnerId()const +{ + return ownerId_; } -long ForbidPushStreamRequest::getOwnerId() const { - return ownerId_; +void ForbidPushStreamRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void ForbidPushStreamRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string ForbidPushStreamRequest::getRoomId()const +{ + return roomId_; } -std::string ForbidPushStreamRequest::getRoomId() const { - return roomId_; +void ForbidPushStreamRequest::setRoomId(const std::string& roomId) +{ + roomId_ = roomId; + setParameter("RoomId", roomId); } -void ForbidPushStreamRequest::setRoomId(const std::string &roomId) { - roomId_ = roomId; - setParameter(std::string("RoomId"), roomId); +std::string ForbidPushStreamRequest::getAppId()const +{ + return appId_; } -std::string ForbidPushStreamRequest::getAppId() const { - return appId_; -} - -void ForbidPushStreamRequest::setAppId(const std::string &appId) { - appId_ = appId; - setParameter(std::string("AppId"), appId); +void ForbidPushStreamRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); } diff --git a/live/src/model/GetAllCustomTemplatesRequest.cc b/live/src/model/GetAllCustomTemplatesRequest.cc index 5d3201185..0da168655 100644 --- a/live/src/model/GetAllCustomTemplatesRequest.cc +++ b/live/src/model/GetAllCustomTemplatesRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::GetAllCustomTemplatesRequest; - -GetAllCustomTemplatesRequest::GetAllCustomTemplatesRequest() - : RpcServiceRequest("live", "2016-11-01", "GetAllCustomTemplates") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -GetAllCustomTemplatesRequest::~GetAllCustomTemplatesRequest() {} - -std::string GetAllCustomTemplatesRequest::getUserId() const { - return userId_; +void GetAllCustomTemplatesRequest::setUserId(const std::string& userId) +{ + userId_ = userId; + setParameter("UserId", userId); } -void GetAllCustomTemplatesRequest::setUserId(const std::string &userId) { - userId_ = userId; - setParameter(std::string("UserId"), userId); +long GetAllCustomTemplatesRequest::getOwnerId()const +{ + return ownerId_; } -long GetAllCustomTemplatesRequest::getOwnerId() const { - return ownerId_; -} - -void GetAllCustomTemplatesRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void GetAllCustomTemplatesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/GetCustomTemplateRequest.cc b/live/src/model/GetCustomTemplateRequest.cc index 255d9ef1e..5eaf002db 100644 --- a/live/src/model/GetCustomTemplateRequest.cc +++ b/live/src/model/GetCustomTemplateRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::GetCustomTemplateRequest; - -GetCustomTemplateRequest::GetCustomTemplateRequest() - : RpcServiceRequest("live", "2016-11-01", "GetCustomTemplate") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -GetCustomTemplateRequest::~GetCustomTemplateRequest() {} - -std::string GetCustomTemplateRequest::get_Template() const { - return _template_; +void GetCustomTemplateRequest::set_Template(const std::string& _template) +{ + _template_ = _template; + setParameter("_Template", _template); } -void GetCustomTemplateRequest::set_Template(const std::string &_template) { - _template_ = _template; - setParameter(std::string("Template"), _template); +long GetCustomTemplateRequest::getOwnerId()const +{ + return ownerId_; } -long GetCustomTemplateRequest::getOwnerId() const { - return ownerId_; -} - -void GetCustomTemplateRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void GetCustomTemplateRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/GetCustomTemplateResult.cc b/live/src/model/GetCustomTemplateResult.cc index 3fa57e7fb..f488736e6 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["CustomTemplate"].isNull()) - customTemplate_ = value["CustomTemplate"].asString(); if(!value["Template"].isNull()) _template_ = value["Template"].asString(); + if(!value["CustomTemplate"].isNull()) + customTemplate_ = value["CustomTemplate"].asString(); } diff --git a/live/src/model/GetEditingJobInfoRequest.cc b/live/src/model/GetEditingJobInfoRequest.cc index f27e0ec85..568a979ef 100644 --- a/live/src/model/GetEditingJobInfoRequest.cc +++ b/live/src/model/GetEditingJobInfoRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::GetEditingJobInfoRequest; - -GetEditingJobInfoRequest::GetEditingJobInfoRequest() - : RpcServiceRequest("live", "2016-11-01", "GetEditingJobInfo") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -GetEditingJobInfoRequest::~GetEditingJobInfoRequest() {} - -std::string GetEditingJobInfoRequest::getCasterId() const { - return casterId_; +void GetEditingJobInfoRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void GetEditingJobInfoRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long GetEditingJobInfoRequest::getOwnerId()const +{ + return ownerId_; } -long GetEditingJobInfoRequest::getOwnerId() const { - return ownerId_; +void GetEditingJobInfoRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void GetEditingJobInfoRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string GetEditingJobInfoRequest::getShowId()const +{ + return showId_; } -std::string GetEditingJobInfoRequest::getShowId() const { - return showId_; -} - -void GetEditingJobInfoRequest::setShowId(const std::string &showId) { - showId_ = showId; - setParameter(std::string("ShowId"), showId); +void GetEditingJobInfoRequest::setShowId(const std::string& showId) +{ + showId_ = showId; + setParameter("ShowId", showId); } diff --git a/live/src/model/GetMultiRateConfigListRequest.cc b/live/src/model/GetMultiRateConfigListRequest.cc index e1cf65829..6dd41f390 100644 --- a/live/src/model/GetMultiRateConfigListRequest.cc +++ b/live/src/model/GetMultiRateConfigListRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::GetMultiRateConfigListRequest; - -GetMultiRateConfigListRequest::GetMultiRateConfigListRequest() - : RpcServiceRequest("live", "2016-11-01", "GetMultiRateConfigList") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -GetMultiRateConfigListRequest::~GetMultiRateConfigListRequest() {} - -std::string GetMultiRateConfigListRequest::getDomainName() const { - return domainName_; +void GetMultiRateConfigListRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void GetMultiRateConfigListRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long GetMultiRateConfigListRequest::getOwnerId()const +{ + return ownerId_; } -long GetMultiRateConfigListRequest::getOwnerId() const { - return ownerId_; -} - -void GetMultiRateConfigListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void GetMultiRateConfigListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/GetMultiRateConfigListResult.cc b/live/src/model/GetMultiRateConfigListResult.cc index fa4aae307..3ce434337 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["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(); + if(!valueGroupInfoInfo["GroupId"].isNull()) + groupInfoObject.groupId = valueGroupInfoInfo["GroupId"].asString(); + if(!valueGroupInfoInfo["Count"].isNull()) + groupInfoObject.count = std::stoi(valueGroupInfoInfo["Count"].asString()); groupInfo_.push_back(groupInfoObject); } - if(!value["Code"].isNull()) - code_ = std::stoi(value["Code"].asString()); if(!value["Message"].isNull()) message_ = value["Message"].asString(); + if(!value["Code"].isNull()) + code_ = std::stoi(value["Code"].asString()); } diff --git a/live/src/model/GetMultiRateConfigRequest.cc b/live/src/model/GetMultiRateConfigRequest.cc index 8e9f3d2b8..6f6367d0e 100644 --- a/live/src/model/GetMultiRateConfigRequest.cc +++ b/live/src/model/GetMultiRateConfigRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::GetMultiRateConfigRequest; - -GetMultiRateConfigRequest::GetMultiRateConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "GetMultiRateConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -GetMultiRateConfigRequest::~GetMultiRateConfigRequest() {} - -std::string GetMultiRateConfigRequest::getApp() const { - return app_; +void GetMultiRateConfigRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); } -void GetMultiRateConfigRequest::setApp(const std::string &app) { - app_ = app; - setParameter(std::string("App"), app); +std::string GetMultiRateConfigRequest::getGroupId()const +{ + return groupId_; } -std::string GetMultiRateConfigRequest::getGroupId() const { - return groupId_; +void GetMultiRateConfigRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setParameter("GroupId", groupId); } -void GetMultiRateConfigRequest::setGroupId(const std::string &groupId) { - groupId_ = groupId; - setParameter(std::string("GroupId"), groupId); +std::string GetMultiRateConfigRequest::getDomainName()const +{ + return domainName_; } -std::string GetMultiRateConfigRequest::getDomainName() const { - return domainName_; +void GetMultiRateConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void GetMultiRateConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long GetMultiRateConfigRequest::getOwnerId()const +{ + return ownerId_; } -long GetMultiRateConfigRequest::getOwnerId() const { - return ownerId_; -} - -void GetMultiRateConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void GetMultiRateConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/GetMultiRateConfigResult.cc b/live/src/model/GetMultiRateConfigResult.cc index f7fb7a772..1ff14f2f4 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["AudioBitrate"].isNull()) - templatesInfoObject.audioBitrate = std::stoi(valueTemplatesInfoDetail["AudioBitrate"].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["Height"].isNull()) + templatesInfoObject.height = std::stoi(valueTemplatesInfoDetail["Height"].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["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["BandWidth"].isNull()) + templatesInfoObject.bandWidth = std::stoi(valueTemplatesInfoDetail["BandWidth"].asString()); templatesInfo_.push_back(templatesInfoObject); } - if(!value["Domain"].isNull()) - domain_ = value["Domain"].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["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["IsLazy"].isNull()) isLazy_ = value["IsLazy"].asString(); if(!value["IsTimeAlign"].isNull()) diff --git a/live/src/model/HotLiveRtcStreamRequest.cc b/live/src/model/HotLiveRtcStreamRequest.cc new file mode 100644 index 000000000..be664b712 --- /dev/null +++ b/live/src/model/HotLiveRtcStreamRequest.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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_; +} + +void HotLiveRtcStreamRequest::setVideoMsid(const std::string& videoMsid) +{ + videoMsid_ = videoMsid; + setParameter("VideoMsid", videoMsid); +} + +std::string HotLiveRtcStreamRequest::getRegionCode()const +{ + return regionCode_; +} + +void HotLiveRtcStreamRequest::setRegionCode(const std::string& regionCode) +{ + regionCode_ = regionCode; + setParameter("RegionCode", regionCode); +} + +std::string HotLiveRtcStreamRequest::getConnectionTimeout()const +{ + return connectionTimeout_; +} + +void HotLiveRtcStreamRequest::setConnectionTimeout(const std::string& connectionTimeout) +{ + connectionTimeout_ = connectionTimeout; + setParameter("ConnectionTimeout", connectionTimeout); +} + +std::string HotLiveRtcStreamRequest::getAppName()const +{ + return appName_; +} + +void HotLiveRtcStreamRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string HotLiveRtcStreamRequest::getAudioMsid()const +{ + return audioMsid_; +} + +void HotLiveRtcStreamRequest::setAudioMsid(const std::string& audioMsid) +{ + audioMsid_ = audioMsid; + setParameter("AudioMsid", audioMsid); +} + +std::string HotLiveRtcStreamRequest::getMediaTimeout()const +{ + return mediaTimeout_; +} + +void HotLiveRtcStreamRequest::setMediaTimeout(const std::string& mediaTimeout) +{ + mediaTimeout_ = mediaTimeout; + setParameter("MediaTimeout", mediaTimeout); +} + +std::string HotLiveRtcStreamRequest::getStreamName()const +{ + return streamName_; +} + +void HotLiveRtcStreamRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string HotLiveRtcStreamRequest::getDomainName()const +{ + return domainName_; +} + +void HotLiveRtcStreamRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long HotLiveRtcStreamRequest::getOwnerId()const +{ + return ownerId_; +} + +void HotLiveRtcStreamRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/HotLiveRtcStreamResult.cc b/live/src/model/HotLiveRtcStreamResult.cc new file mode 100644 index 000000000..d68bf9005 --- /dev/null +++ b/live/src/model/HotLiveRtcStreamResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +HotLiveRtcStreamResult::HotLiveRtcStreamResult() : + ServiceResult() +{} + +HotLiveRtcStreamResult::HotLiveRtcStreamResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +HotLiveRtcStreamResult::~HotLiveRtcStreamResult() +{} + +void HotLiveRtcStreamResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/InitializeAutoShowListTaskRequest.cc b/live/src/model/InitializeAutoShowListTaskRequest.cc index 39dc629d6..842193150 100644 --- a/live/src/model/InitializeAutoShowListTaskRequest.cc +++ b/live/src/model/InitializeAutoShowListTaskRequest.cc @@ -1,90 +1,106 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::InitializeAutoShowListTaskRequest; - -InitializeAutoShowListTaskRequest::InitializeAutoShowListTaskRequest() - : RpcServiceRequest("live", "2016-11-01", "InitializeAutoShowListTask") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -InitializeAutoShowListTaskRequest::~InitializeAutoShowListTaskRequest() {} - -long InitializeAutoShowListTaskRequest::getStartTime() const { - return startTime_; +void InitializeAutoShowListTaskRequest::setStartTime(long startTime) +{ + startTime_ = startTime; + setParameter("StartTime", std::to_string(startTime)); } -void InitializeAutoShowListTaskRequest::setStartTime(long startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), std::to_string(startTime)); +std::string InitializeAutoShowListTaskRequest::getCasterConfig()const +{ + return casterConfig_; } -std::string InitializeAutoShowListTaskRequest::getCasterConfig() const { - return casterConfig_; +void InitializeAutoShowListTaskRequest::setCasterConfig(const std::string& casterConfig) +{ + casterConfig_ = casterConfig; + setParameter("CasterConfig", casterConfig); } -void InitializeAutoShowListTaskRequest::setCasterConfig(const std::string &casterConfig) { - casterConfig_ = casterConfig; - setParameter(std::string("CasterConfig"), casterConfig); +std::string InitializeAutoShowListTaskRequest::getDomainName()const +{ + return domainName_; } -std::string InitializeAutoShowListTaskRequest::getDomainName() const { - return domainName_; +void InitializeAutoShowListTaskRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void InitializeAutoShowListTaskRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long InitializeAutoShowListTaskRequest::getEndTime()const +{ + return endTime_; } -long InitializeAutoShowListTaskRequest::getEndTime() const { - return endTime_; +void InitializeAutoShowListTaskRequest::setEndTime(long endTime) +{ + endTime_ = endTime; + setParameter("EndTime", std::to_string(endTime)); } -void InitializeAutoShowListTaskRequest::setEndTime(long endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), std::to_string(endTime)); +long InitializeAutoShowListTaskRequest::getOwnerId()const +{ + return ownerId_; } -long InitializeAutoShowListTaskRequest::getOwnerId() const { - return ownerId_; +void InitializeAutoShowListTaskRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void InitializeAutoShowListTaskRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string InitializeAutoShowListTaskRequest::getCallBackUrl()const +{ + return callBackUrl_; } -std::string InitializeAutoShowListTaskRequest::getCallBackUrl() const { - return callBackUrl_; +void InitializeAutoShowListTaskRequest::setCallBackUrl(const std::string& callBackUrl) +{ + callBackUrl_ = callBackUrl; + setParameter("CallBackUrl", callBackUrl); } -void InitializeAutoShowListTaskRequest::setCallBackUrl(const std::string &callBackUrl) { - callBackUrl_ = callBackUrl; - setParameter(std::string("CallBackUrl"), callBackUrl); +std::string InitializeAutoShowListTaskRequest::getResourceIds()const +{ + return resourceIds_; } -std::string InitializeAutoShowListTaskRequest::getResourceIds() const { - return resourceIds_; -} - -void InitializeAutoShowListTaskRequest::setResourceIds(const std::string &resourceIds) { - resourceIds_ = resourceIds; - setParameter(std::string("ResourceIds"), resourceIds); +void InitializeAutoShowListTaskRequest::setResourceIds(const std::string& resourceIds) +{ + resourceIds_ = resourceIds; + setParameter("ResourceIds", resourceIds); } diff --git a/live/src/model/InitializeAutoShowListTaskResult.cc b/live/src/model/InitializeAutoShowListTaskResult.cc index 126ec9880..3ec365c3c 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["StreamList"].isNull()) - streamList_ = value["StreamList"].asString(); if(!value["CasterId"].isNull()) casterId_ = value["CasterId"].asString(); + if(!value["StreamList"].isNull()) + streamList_ = value["StreamList"].asString(); } diff --git a/live/src/model/ListLiveRealtimeLogDeliveryDomainsRequest.cc b/live/src/model/ListLiveRealtimeLogDeliveryDomainsRequest.cc index 889896307..9956cb105 100644 --- a/live/src/model/ListLiveRealtimeLogDeliveryDomainsRequest.cc +++ b/live/src/model/ListLiveRealtimeLogDeliveryDomainsRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ListLiveRealtimeLogDeliveryDomainsRequest; - -ListLiveRealtimeLogDeliveryDomainsRequest::ListLiveRealtimeLogDeliveryDomainsRequest() - : RpcServiceRequest("live", "2016-11-01", "ListLiveRealtimeLogDeliveryDomains") { - setMethod(HttpRequest::Method::Get); + */ + +#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_; } -ListLiveRealtimeLogDeliveryDomainsRequest::~ListLiveRealtimeLogDeliveryDomainsRequest() {} - -std::string ListLiveRealtimeLogDeliveryDomainsRequest::getProject() const { - return project_; +void ListLiveRealtimeLogDeliveryDomainsRequest::setProject(const std::string& project) +{ + project_ = project; + setParameter("Project", project); } -void ListLiveRealtimeLogDeliveryDomainsRequest::setProject(const std::string &project) { - project_ = project; - setParameter(std::string("Project"), project); +long ListLiveRealtimeLogDeliveryDomainsRequest::getOwnerId()const +{ + return ownerId_; } -long ListLiveRealtimeLogDeliveryDomainsRequest::getOwnerId() const { - return ownerId_; +void ListLiveRealtimeLogDeliveryDomainsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void ListLiveRealtimeLogDeliveryDomainsRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string ListLiveRealtimeLogDeliveryDomainsRequest::getRegion()const +{ + return region_; } -std::string ListLiveRealtimeLogDeliveryDomainsRequest::getRegion() const { - return region_; +void ListLiveRealtimeLogDeliveryDomainsRequest::setRegion(const std::string& region) +{ + region_ = region; + setParameter("Region", region); } -void ListLiveRealtimeLogDeliveryDomainsRequest::setRegion(const std::string ®ion) { - region_ = region; - setParameter(std::string("Region"), region); +std::string ListLiveRealtimeLogDeliveryDomainsRequest::getLogstore()const +{ + return logstore_; } -std::string ListLiveRealtimeLogDeliveryDomainsRequest::getLogstore() const { - return logstore_; -} - -void ListLiveRealtimeLogDeliveryDomainsRequest::setLogstore(const std::string &logstore) { - logstore_ = logstore; - setParameter(std::string("Logstore"), logstore); +void ListLiveRealtimeLogDeliveryDomainsRequest::setLogstore(const std::string& logstore) +{ + logstore_ = logstore; + setParameter("Logstore", logstore); } diff --git a/live/src/model/ListLiveRealtimeLogDeliveryDomainsResult.cc b/live/src/model/ListLiveRealtimeLogDeliveryDomainsResult.cc index c8908aa73..2c079f05a 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["Status"].isNull()) - contentObject.status = valueContentDomains["Status"].asString(); if(!valueContentDomains["DomainName"].isNull()) contentObject.domainName = valueContentDomains["DomainName"].asString(); + if(!valueContentDomains["Status"].isNull()) + contentObject.status = valueContentDomains["Status"].asString(); content_.push_back(contentObject); } diff --git a/live/src/model/ListLiveRealtimeLogDeliveryInfosRequest.cc b/live/src/model/ListLiveRealtimeLogDeliveryInfosRequest.cc index a5620bd4d..db218a7e5 100644 --- a/live/src/model/ListLiveRealtimeLogDeliveryInfosRequest.cc +++ b/live/src/model/ListLiveRealtimeLogDeliveryInfosRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::ListLiveRealtimeLogDeliveryInfosRequest; - -ListLiveRealtimeLogDeliveryInfosRequest::ListLiveRealtimeLogDeliveryInfosRequest() - : RpcServiceRequest("live", "2016-11-01", "ListLiveRealtimeLogDeliveryInfos") { - setMethod(HttpRequest::Method::Get); + */ + +#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_; } -ListLiveRealtimeLogDeliveryInfosRequest::~ListLiveRealtimeLogDeliveryInfosRequest() {} - -long ListLiveRealtimeLogDeliveryInfosRequest::getOwnerId() const { - return ownerId_; +void ListLiveRealtimeLogDeliveryInfosRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void ListLiveRealtimeLogDeliveryInfosRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string ListLiveRealtimeLogDeliveryInfosRequest::getLiveOpenapiReserve()const +{ + return liveOpenapiReserve_; } -std::string ListLiveRealtimeLogDeliveryInfosRequest::getLiveOpenapiReserve() const { - return liveOpenapiReserve_; -} - -void ListLiveRealtimeLogDeliveryInfosRequest::setLiveOpenapiReserve(const std::string &liveOpenapiReserve) { - liveOpenapiReserve_ = liveOpenapiReserve; - setParameter(std::string("LiveOpenapiReserve"), liveOpenapiReserve); +void ListLiveRealtimeLogDeliveryInfosRequest::setLiveOpenapiReserve(const std::string& liveOpenapiReserve) +{ + liveOpenapiReserve_ = liveOpenapiReserve; + setParameter("LiveOpenapiReserve", liveOpenapiReserve); } diff --git a/live/src/model/ListLiveRealtimeLogDeliveryInfosResult.cc b/live/src/model/ListLiveRealtimeLogDeliveryInfosResult.cc index 7798b0337..22368aeb4 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["Logstore"].isNull()) - contentObject.logstore = valueContentRealtimeLogDeliveryInfos["Logstore"].asString(); if(!valueContentRealtimeLogDeliveryInfos["Project"].isNull()) contentObject.project = valueContentRealtimeLogDeliveryInfos["Project"].asString(); + if(!valueContentRealtimeLogDeliveryInfos["Logstore"].isNull()) + contentObject.logstore = valueContentRealtimeLogDeliveryInfos["Logstore"].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 6617e53a3..3750a0b99 100644 --- a/live/src/model/ListLiveRealtimeLogDeliveryRequest.cc +++ b/live/src/model/ListLiveRealtimeLogDeliveryRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::ListLiveRealtimeLogDeliveryRequest; - -ListLiveRealtimeLogDeliveryRequest::ListLiveRealtimeLogDeliveryRequest() - : RpcServiceRequest("live", "2016-11-01", "ListLiveRealtimeLogDelivery") { - setMethod(HttpRequest::Method::Get); + */ + +#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_; } -ListLiveRealtimeLogDeliveryRequest::~ListLiveRealtimeLogDeliveryRequest() {} - -long ListLiveRealtimeLogDeliveryRequest::getOwnerId() const { - return ownerId_; +void ListLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void ListLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string ListLiveRealtimeLogDeliveryRequest::getLiveOpenapiReserve()const +{ + return liveOpenapiReserve_; } -std::string ListLiveRealtimeLogDeliveryRequest::getLiveOpenapiReserve() const { - return liveOpenapiReserve_; -} - -void ListLiveRealtimeLogDeliveryRequest::setLiveOpenapiReserve(const std::string &liveOpenapiReserve) { - liveOpenapiReserve_ = liveOpenapiReserve; - setParameter(std::string("LiveOpenapiReserve"), liveOpenapiReserve); +void ListLiveRealtimeLogDeliveryRequest::setLiveOpenapiReserve(const std::string& liveOpenapiReserve) +{ + liveOpenapiReserve_ = liveOpenapiReserve; + setParameter("LiveOpenapiReserve", liveOpenapiReserve); } diff --git a/live/src/model/ListLiveRealtimeLogDeliveryResult.cc b/live/src/model/ListLiveRealtimeLogDeliveryResult.cc index d7961dbdb..29243b8f8 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["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["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(); content_.push_back(contentObject); } diff --git a/live/src/model/ListPlaylistItemsRequest.cc b/live/src/model/ListPlaylistItemsRequest.cc index 1eec9e0f4..545427c30 100644 --- a/live/src/model/ListPlaylistItemsRequest.cc +++ b/live/src/model/ListPlaylistItemsRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ListPlaylistItemsRequest; - -ListPlaylistItemsRequest::ListPlaylistItemsRequest() - : RpcServiceRequest("live", "2016-11-01", "ListPlaylistItems") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -ListPlaylistItemsRequest::~ListPlaylistItemsRequest() {} - -std::string ListPlaylistItemsRequest::getProgramItemIds() const { - return programItemIds_; +void ListPlaylistItemsRequest::setProgramItemIds(const std::string& programItemIds) +{ + programItemIds_ = programItemIds; + setParameter("ProgramItemIds", programItemIds); } -void ListPlaylistItemsRequest::setProgramItemIds(const std::string &programItemIds) { - programItemIds_ = programItemIds; - setParameter(std::string("ProgramItemIds"), programItemIds); +std::string ListPlaylistItemsRequest::getProgramId()const +{ + return programId_; } -std::string ListPlaylistItemsRequest::getProgramId() const { - return programId_; +void ListPlaylistItemsRequest::setProgramId(const std::string& programId) +{ + programId_ = programId; + setParameter("ProgramId", programId); } -void ListPlaylistItemsRequest::setProgramId(const std::string &programId) { - programId_ = programId; - setParameter(std::string("ProgramId"), programId); +long ListPlaylistItemsRequest::getOwnerId()const +{ + return ownerId_; } -long ListPlaylistItemsRequest::getOwnerId() const { - return ownerId_; -} - -void ListPlaylistItemsRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void ListPlaylistItemsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/ListPlaylistItemsResult.cc b/live/src/model/ListPlaylistItemsResult.cc index 033ac24ca..fd3fa790f 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["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["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()); programItems_.push_back(programItemsObject); } if(!value["Total"].isNull()) diff --git a/live/src/model/ListPlaylistRequest.cc b/live/src/model/ListPlaylistRequest.cc index 8b14308bd..c67557596 100644 --- a/live/src/model/ListPlaylistRequest.cc +++ b/live/src/model/ListPlaylistRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ListPlaylistRequest; - -ListPlaylistRequest::ListPlaylistRequest() - : RpcServiceRequest("live", "2016-11-01", "ListPlaylist") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -ListPlaylistRequest::~ListPlaylistRequest() {} - -int ListPlaylistRequest::getPageSize() const { - return pageSize_; +void ListPlaylistRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); } -void ListPlaylistRequest::setPageSize(int pageSize) { - pageSize_ = pageSize; - setParameter(std::string("PageSize"), std::to_string(pageSize)); +std::string ListPlaylistRequest::getProgramId()const +{ + return programId_; } -std::string ListPlaylistRequest::getProgramId() const { - return programId_; +void ListPlaylistRequest::setProgramId(const std::string& programId) +{ + programId_ = programId; + setParameter("ProgramId", programId); } -void ListPlaylistRequest::setProgramId(const std::string &programId) { - programId_ = programId; - setParameter(std::string("ProgramId"), programId); +long ListPlaylistRequest::getOwnerId()const +{ + return ownerId_; } -long ListPlaylistRequest::getOwnerId() const { - return ownerId_; +void ListPlaylistRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void ListPlaylistRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +int ListPlaylistRequest::getPage()const +{ + return page_; } -int ListPlaylistRequest::getPage() const { - return page_; -} - -void ListPlaylistRequest::setPage(int page) { - page_ = page; - setParameter(std::string("Page"), std::to_string(page)); +void ListPlaylistRequest::setPage(int page) +{ + page_ = page; + setParameter("Page", std::to_string(page)); } diff --git a/live/src/model/ListPlaylistResult.cc b/live/src/model/ListPlaylistResult.cc index 5ca8d0ef8..d1d0e876c 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["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["ProgramName"].isNull()) + programListObject.programName = valueProgramListProgramInfo["ProgramName"].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 f12db4cde..5753f368d 100644 --- a/live/src/model/ModifyCasterComponentRequest.cc +++ b/live/src/model/ModifyCasterComponentRequest.cc @@ -1,117 +1,139 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -ModifyCasterComponentRequest::~ModifyCasterComponentRequest() {} - -std::string ModifyCasterComponentRequest::getImageLayerContent() const { - return imageLayerContent_; +void ModifyCasterComponentRequest::setImageLayerContent(const std::string& imageLayerContent) +{ + imageLayerContent_ = imageLayerContent; + setParameter("ImageLayerContent", imageLayerContent); } -void ModifyCasterComponentRequest::setImageLayerContent(const std::string &imageLayerContent) { - imageLayerContent_ = imageLayerContent; - setParameter(std::string("ImageLayerContent"), imageLayerContent); +std::string ModifyCasterComponentRequest::getComponentName()const +{ + return componentName_; } -std::string ModifyCasterComponentRequest::getComponentName() const { - return componentName_; +void ModifyCasterComponentRequest::setComponentName(const std::string& componentName) +{ + componentName_ = componentName; + setParameter("ComponentName", componentName); } -void ModifyCasterComponentRequest::setComponentName(const std::string &componentName) { - componentName_ = componentName; - setParameter(std::string("ComponentName"), componentName); +std::string ModifyCasterComponentRequest::getComponentId()const +{ + return componentId_; } -std::string ModifyCasterComponentRequest::getComponentId() const { - return componentId_; +void ModifyCasterComponentRequest::setComponentId(const std::string& componentId) +{ + componentId_ = componentId; + setParameter("ComponentId", componentId); } -void ModifyCasterComponentRequest::setComponentId(const std::string &componentId) { - componentId_ = componentId; - setParameter(std::string("ComponentId"), componentId); +std::string ModifyCasterComponentRequest::getCasterId()const +{ + return casterId_; } -std::string ModifyCasterComponentRequest::getCasterId() const { - return casterId_; +void ModifyCasterComponentRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void ModifyCasterComponentRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +std::string ModifyCasterComponentRequest::getComponentLayer()const +{ + return componentLayer_; } -std::string ModifyCasterComponentRequest::getComponentLayer() const { - return componentLayer_; +void ModifyCasterComponentRequest::setComponentLayer(const std::string& componentLayer) +{ + componentLayer_ = componentLayer; + setParameter("ComponentLayer", componentLayer); } -void ModifyCasterComponentRequest::setComponentLayer(const std::string &componentLayer) { - componentLayer_ = componentLayer; - setParameter(std::string("ComponentLayer"), componentLayer); +long ModifyCasterComponentRequest::getOwnerId()const +{ + return ownerId_; } -long ModifyCasterComponentRequest::getOwnerId() const { - return ownerId_; +void ModifyCasterComponentRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void ModifyCasterComponentRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string ModifyCasterComponentRequest::getComponentType()const +{ + return componentType_; } -std::string ModifyCasterComponentRequest::getComponentType() const { - return componentType_; +void ModifyCasterComponentRequest::setComponentType(const std::string& componentType) +{ + componentType_ = componentType; + setParameter("ComponentType", componentType); } -void ModifyCasterComponentRequest::setComponentType(const std::string &componentType) { - componentType_ = componentType; - setParameter(std::string("ComponentType"), componentType); +std::string ModifyCasterComponentRequest::getEffect()const +{ + return effect_; } -std::string ModifyCasterComponentRequest::getEffect() const { - return effect_; +void ModifyCasterComponentRequest::setEffect(const std::string& effect) +{ + effect_ = effect; + setParameter("Effect", effect); } -void ModifyCasterComponentRequest::setEffect(const std::string &effect) { - effect_ = effect; - setParameter(std::string("Effect"), effect); +std::string ModifyCasterComponentRequest::getCaptionLayerContent()const +{ + return captionLayerContent_; } -std::string ModifyCasterComponentRequest::getCaptionLayerContent() const { - return captionLayerContent_; +void ModifyCasterComponentRequest::setCaptionLayerContent(const std::string& captionLayerContent) +{ + captionLayerContent_ = captionLayerContent; + setParameter("CaptionLayerContent", captionLayerContent); } -void ModifyCasterComponentRequest::setCaptionLayerContent(const std::string &captionLayerContent) { - captionLayerContent_ = captionLayerContent; - setParameter(std::string("CaptionLayerContent"), captionLayerContent); +std::string ModifyCasterComponentRequest::getTextLayerContent()const +{ + return textLayerContent_; } -std::string ModifyCasterComponentRequest::getTextLayerContent() const { - return textLayerContent_; -} - -void ModifyCasterComponentRequest::setTextLayerContent(const std::string &textLayerContent) { - textLayerContent_ = textLayerContent; - setParameter(std::string("TextLayerContent"), textLayerContent); +void ModifyCasterComponentRequest::setTextLayerContent(const std::string& textLayerContent) +{ + textLayerContent_ = textLayerContent; + setParameter("TextLayerContent", textLayerContent); } diff --git a/live/src/model/ModifyCasterEpisodeRequest.cc b/live/src/model/ModifyCasterEpisodeRequest.cc index cf760a5a6..a4cc81fd4 100644 --- a/live/src/model/ModifyCasterEpisodeRequest.cc +++ b/live/src/model/ModifyCasterEpisodeRequest.cc @@ -1,107 +1,130 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -ModifyCasterEpisodeRequest::~ModifyCasterEpisodeRequest() {} - -std::string ModifyCasterEpisodeRequest::getEpisodeName() const { - return episodeName_; +void ModifyCasterEpisodeRequest::setEpisodeName(const std::string& episodeName) +{ + episodeName_ = episodeName; + setParameter("EpisodeName", episodeName); } -void ModifyCasterEpisodeRequest::setEpisodeName(const std::string &episodeName) { - episodeName_ = episodeName; - setParameter(std::string("EpisodeName"), episodeName); +std::string ModifyCasterEpisodeRequest::getStartTime()const +{ + return startTime_; } -std::string ModifyCasterEpisodeRequest::getStartTime() const { - return startTime_; +void ModifyCasterEpisodeRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void ModifyCasterEpisodeRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string ModifyCasterEpisodeRequest::getResourceId()const +{ + return resourceId_; } -std::string ModifyCasterEpisodeRequest::getResourceId() const { - return resourceId_; +void ModifyCasterEpisodeRequest::setResourceId(const std::string& resourceId) +{ + resourceId_ = resourceId; + setParameter("ResourceId", resourceId); } -void ModifyCasterEpisodeRequest::setResourceId(const std::string &resourceId) { - resourceId_ = resourceId; - setParameter(std::string("ResourceId"), resourceId); +std::vector ModifyCasterEpisodeRequest::getComponentId()const +{ + return componentId_; } -std::vector ModifyCasterEpisodeRequest::getComponentId() const { - return componentId_; +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)); + } } -void ModifyCasterEpisodeRequest::setComponentId(const std::vector &componentId) { - componentId_ = componentId; +std::string ModifyCasterEpisodeRequest::getCasterId()const +{ + return casterId_; } -std::string ModifyCasterEpisodeRequest::getCasterId() const { - return casterId_; +void ModifyCasterEpisodeRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void ModifyCasterEpisodeRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +std::string ModifyCasterEpisodeRequest::getEndTime()const +{ + return endTime_; } -std::string ModifyCasterEpisodeRequest::getEndTime() const { - return endTime_; +void ModifyCasterEpisodeRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void ModifyCasterEpisodeRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long ModifyCasterEpisodeRequest::getOwnerId()const +{ + return ownerId_; } -long ModifyCasterEpisodeRequest::getOwnerId() const { - return ownerId_; +void ModifyCasterEpisodeRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void ModifyCasterEpisodeRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string ModifyCasterEpisodeRequest::getEpisodeId()const +{ + return episodeId_; } -std::string ModifyCasterEpisodeRequest::getEpisodeId() const { - return episodeId_; +void ModifyCasterEpisodeRequest::setEpisodeId(const std::string& episodeId) +{ + episodeId_ = episodeId; + setParameter("EpisodeId", episodeId); } -void ModifyCasterEpisodeRequest::setEpisodeId(const std::string &episodeId) { - episodeId_ = episodeId; - setParameter(std::string("EpisodeId"), episodeId); +std::string ModifyCasterEpisodeRequest::getSwitchType()const +{ + return switchType_; } -std::string ModifyCasterEpisodeRequest::getSwitchType() const { - return switchType_; -} - -void ModifyCasterEpisodeRequest::setSwitchType(const std::string &switchType) { - switchType_ = switchType; - setParameter(std::string("SwitchType"), switchType); +void ModifyCasterEpisodeRequest::setSwitchType(const std::string& switchType) +{ + switchType_ = switchType; + setParameter("SwitchType", switchType); } diff --git a/live/src/model/ModifyCasterEpisodeResult.cc b/live/src/model/ModifyCasterEpisodeResult.cc index d2bb7a73a..1ee786836 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["EpisodeId"].isNull()) - episodeId_ = value["EpisodeId"].asString(); if(!value["CasterId"].isNull()) casterId_ = value["CasterId"].asString(); + if(!value["EpisodeId"].isNull()) + episodeId_ = value["EpisodeId"].asString(); } diff --git a/live/src/model/ModifyCasterLayoutRequest.cc b/live/src/model/ModifyCasterLayoutRequest.cc index c555e0410..fb1b43b64 100644 --- a/live/src/model/ModifyCasterLayoutRequest.cc +++ b/live/src/model/ModifyCasterLayoutRequest.cc @@ -1,102 +1,127 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ModifyCasterLayoutRequest; - -ModifyCasterLayoutRequest::ModifyCasterLayoutRequest() - : RpcServiceRequest("live", "2016-11-01", "ModifyCasterLayout") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -ModifyCasterLayoutRequest::~ModifyCasterLayoutRequest() {} - -std::vector ModifyCasterLayoutRequest::getBlendList() const { - return blendList_; +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)); + } } -void ModifyCasterLayoutRequest::setBlendList(const std::vector &blendList) { - blendList_ = blendList; +std::string ModifyCasterLayoutRequest::getLayoutId()const +{ + return layoutId_; } -std::string ModifyCasterLayoutRequest::getLayoutId() const { - return layoutId_; +void ModifyCasterLayoutRequest::setLayoutId(const std::string& layoutId) +{ + layoutId_ = layoutId; + setParameter("LayoutId", layoutId); } -void ModifyCasterLayoutRequest::setLayoutId(const std::string &layoutId) { - layoutId_ = layoutId; - setParameter(std::string("LayoutId"), layoutId); +std::string ModifyCasterLayoutRequest::getCasterId()const +{ + return casterId_; } -std::string ModifyCasterLayoutRequest::getCasterId() const { - return casterId_; +void ModifyCasterLayoutRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void ModifyCasterLayoutRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long ModifyCasterLayoutRequest::getOwnerId()const +{ + return ownerId_; } -long ModifyCasterLayoutRequest::getOwnerId() const { - return ownerId_; +void ModifyCasterLayoutRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void ModifyCasterLayoutRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::vector ModifyCasterLayoutRequest::getAudioLayer()const +{ + return audioLayer_; } -std::vector ModifyCasterLayoutRequest::getAudioLayer() const { - return audioLayer_; +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)); + } } -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); - } +std::vector ModifyCasterLayoutRequest::getVideoLayer()const +{ + return videoLayer_; } -std::vector ModifyCasterLayoutRequest::getVideoLayer() const { - return videoLayer_; +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)); + } } -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)); - } +std::vector ModifyCasterLayoutRequest::getMixList()const +{ + return mixList_; } -std::vector ModifyCasterLayoutRequest::getMixList() const { - return mixList_; -} - -void ModifyCasterLayoutRequest::setMixList(const std::vector &mixList) { - mixList_ = mixList; +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)); + } } diff --git a/live/src/model/ModifyCasterProgramRequest.cc b/live/src/model/ModifyCasterProgramRequest.cc index 389a678d4..1d2c3193f 100644 --- a/live/src/model/ModifyCasterProgramRequest.cc +++ b/live/src/model/ModifyCasterProgramRequest.cc @@ -1,64 +1,75 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ModifyCasterProgramRequest; - -ModifyCasterProgramRequest::ModifyCasterProgramRequest() - : RpcServiceRequest("live", "2016-11-01", "ModifyCasterProgram") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -ModifyCasterProgramRequest::~ModifyCasterProgramRequest() {} - -std::vector ModifyCasterProgramRequest::getEpisode() const { - return episode_; +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); + } } -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); - } +std::string ModifyCasterProgramRequest::getCasterId()const +{ + return casterId_; } -std::string ModifyCasterProgramRequest::getCasterId() const { - return casterId_; +void ModifyCasterProgramRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void ModifyCasterProgramRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long ModifyCasterProgramRequest::getOwnerId()const +{ + return ownerId_; } -long ModifyCasterProgramRequest::getOwnerId() const { - return ownerId_; -} - -void ModifyCasterProgramRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void ModifyCasterProgramRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/ModifyCasterVideoResourceRequest.cc b/live/src/model/ModifyCasterVideoResourceRequest.cc index fd4c864d9..47f84ab83 100644 --- a/live/src/model/ModifyCasterVideoResourceRequest.cc +++ b/live/src/model/ModifyCasterVideoResourceRequest.cc @@ -1,126 +1,150 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -ModifyCasterVideoResourceRequest::~ModifyCasterVideoResourceRequest() {} - -int ModifyCasterVideoResourceRequest::getEndOffset() const { - return endOffset_; +void ModifyCasterVideoResourceRequest::setEndOffset(int endOffset) +{ + endOffset_ = endOffset; + setParameter("EndOffset", std::to_string(endOffset)); } -void ModifyCasterVideoResourceRequest::setEndOffset(int endOffset) { - endOffset_ = endOffset; - setParameter(std::string("EndOffset"), std::to_string(endOffset)); +std::string ModifyCasterVideoResourceRequest::getMaterialId()const +{ + return materialId_; } -std::string ModifyCasterVideoResourceRequest::getMaterialId() const { - return materialId_; +void ModifyCasterVideoResourceRequest::setMaterialId(const std::string& materialId) +{ + materialId_ = materialId; + setParameter("MaterialId", materialId); } -void ModifyCasterVideoResourceRequest::setMaterialId(const std::string &materialId) { - materialId_ = materialId; - setParameter(std::string("MaterialId"), materialId); +std::string ModifyCasterVideoResourceRequest::getResourceId()const +{ + return resourceId_; } -std::string ModifyCasterVideoResourceRequest::getResourceId() const { - return resourceId_; +void ModifyCasterVideoResourceRequest::setResourceId(const std::string& resourceId) +{ + resourceId_ = resourceId; + setParameter("ResourceId", resourceId); } -void ModifyCasterVideoResourceRequest::setResourceId(const std::string &resourceId) { - resourceId_ = resourceId; - setParameter(std::string("ResourceId"), resourceId); +std::string ModifyCasterVideoResourceRequest::getVodUrl()const +{ + return vodUrl_; } -std::string ModifyCasterVideoResourceRequest::getVodUrl() const { - return vodUrl_; +void ModifyCasterVideoResourceRequest::setVodUrl(const std::string& vodUrl) +{ + vodUrl_ = vodUrl; + setParameter("VodUrl", vodUrl); } -void ModifyCasterVideoResourceRequest::setVodUrl(const std::string &vodUrl) { - vodUrl_ = vodUrl; - setParameter(std::string("VodUrl"), vodUrl); +std::string ModifyCasterVideoResourceRequest::getCasterId()const +{ + return casterId_; } -std::string ModifyCasterVideoResourceRequest::getCasterId() const { - return casterId_; +void ModifyCasterVideoResourceRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void ModifyCasterVideoResourceRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long ModifyCasterVideoResourceRequest::getOwnerId()const +{ + return ownerId_; } -long ModifyCasterVideoResourceRequest::getOwnerId() const { - return ownerId_; +void ModifyCasterVideoResourceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void ModifyCasterVideoResourceRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +int ModifyCasterVideoResourceRequest::getBeginOffset()const +{ + return beginOffset_; } -int ModifyCasterVideoResourceRequest::getBeginOffset() const { - return beginOffset_; +void ModifyCasterVideoResourceRequest::setBeginOffset(int beginOffset) +{ + beginOffset_ = beginOffset; + setParameter("BeginOffset", std::to_string(beginOffset)); } -void ModifyCasterVideoResourceRequest::setBeginOffset(int beginOffset) { - beginOffset_ = beginOffset; - setParameter(std::string("BeginOffset"), std::to_string(beginOffset)); +std::string ModifyCasterVideoResourceRequest::getLiveStreamUrl()const +{ + return liveStreamUrl_; } -std::string ModifyCasterVideoResourceRequest::getLiveStreamUrl() const { - return liveStreamUrl_; +void ModifyCasterVideoResourceRequest::setLiveStreamUrl(const std::string& liveStreamUrl) +{ + liveStreamUrl_ = liveStreamUrl; + setParameter("LiveStreamUrl", liveStreamUrl); } -void ModifyCasterVideoResourceRequest::setLiveStreamUrl(const std::string &liveStreamUrl) { - liveStreamUrl_ = liveStreamUrl; - setParameter(std::string("LiveStreamUrl"), liveStreamUrl); +int ModifyCasterVideoResourceRequest::getPtsCallbackInterval()const +{ + return ptsCallbackInterval_; } -int ModifyCasterVideoResourceRequest::getPtsCallbackInterval() const { - return ptsCallbackInterval_; +void ModifyCasterVideoResourceRequest::setPtsCallbackInterval(int ptsCallbackInterval) +{ + ptsCallbackInterval_ = ptsCallbackInterval; + setParameter("PtsCallbackInterval", std::to_string(ptsCallbackInterval)); } -void ModifyCasterVideoResourceRequest::setPtsCallbackInterval(int ptsCallbackInterval) { - ptsCallbackInterval_ = ptsCallbackInterval; - setParameter(std::string("PtsCallbackInterval"), std::to_string(ptsCallbackInterval)); +std::string ModifyCasterVideoResourceRequest::getResourceName()const +{ + return resourceName_; } -std::string ModifyCasterVideoResourceRequest::getResourceName() const { - return resourceName_; +void ModifyCasterVideoResourceRequest::setResourceName(const std::string& resourceName) +{ + resourceName_ = resourceName; + setParameter("ResourceName", resourceName); } -void ModifyCasterVideoResourceRequest::setResourceName(const std::string &resourceName) { - resourceName_ = resourceName; - setParameter(std::string("ResourceName"), resourceName); +int ModifyCasterVideoResourceRequest::getRepeatNum()const +{ + return repeatNum_; } -int ModifyCasterVideoResourceRequest::getRepeatNum() const { - return repeatNum_; -} - -void ModifyCasterVideoResourceRequest::setRepeatNum(int repeatNum) { - repeatNum_ = repeatNum; - setParameter(std::string("RepeatNum"), std::to_string(repeatNum)); +void ModifyCasterVideoResourceRequest::setRepeatNum(int repeatNum) +{ + repeatNum_ = repeatNum; + setParameter("RepeatNum", std::to_string(repeatNum)); } diff --git a/live/src/model/ModifyLiveDomainSchdmByPropertyRequest.cc b/live/src/model/ModifyLiveDomainSchdmByPropertyRequest.cc index 770d7a407..b2d71b3a9 100644 --- a/live/src/model/ModifyLiveDomainSchdmByPropertyRequest.cc +++ b/live/src/model/ModifyLiveDomainSchdmByPropertyRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ModifyLiveDomainSchdmByPropertyRequest; - -ModifyLiveDomainSchdmByPropertyRequest::ModifyLiveDomainSchdmByPropertyRequest() - : RpcServiceRequest("live", "2016-11-01", "ModifyLiveDomainSchdmByProperty") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -ModifyLiveDomainSchdmByPropertyRequest::~ModifyLiveDomainSchdmByPropertyRequest() {} - -std::string ModifyLiveDomainSchdmByPropertyRequest::getProperty() const { - return property_; +void ModifyLiveDomainSchdmByPropertyRequest::setProperty(const std::string& property) +{ + property_ = property; + setParameter("Property", property); } -void ModifyLiveDomainSchdmByPropertyRequest::setProperty(const std::string &property) { - property_ = property; - setParameter(std::string("Property"), property); +std::string ModifyLiveDomainSchdmByPropertyRequest::getDomainName()const +{ + return domainName_; } -std::string ModifyLiveDomainSchdmByPropertyRequest::getDomainName() const { - return domainName_; +void ModifyLiveDomainSchdmByPropertyRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void ModifyLiveDomainSchdmByPropertyRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long ModifyLiveDomainSchdmByPropertyRequest::getOwnerId()const +{ + return ownerId_; } -long ModifyLiveDomainSchdmByPropertyRequest::getOwnerId() const { - return ownerId_; -} - -void ModifyLiveDomainSchdmByPropertyRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void ModifyLiveDomainSchdmByPropertyRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/ModifyLiveRealtimeLogDeliveryRequest.cc b/live/src/model/ModifyLiveRealtimeLogDeliveryRequest.cc index 2205dfb48..59921fe93 100644 --- a/live/src/model/ModifyLiveRealtimeLogDeliveryRequest.cc +++ b/live/src/model/ModifyLiveRealtimeLogDeliveryRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ModifyLiveRealtimeLogDeliveryRequest; - -ModifyLiveRealtimeLogDeliveryRequest::ModifyLiveRealtimeLogDeliveryRequest() - : RpcServiceRequest("live", "2016-11-01", "ModifyLiveRealtimeLogDelivery") { - setMethod(HttpRequest::Method::Get); + */ + +#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_; } -ModifyLiveRealtimeLogDeliveryRequest::~ModifyLiveRealtimeLogDeliveryRequest() {} - -std::string ModifyLiveRealtimeLogDeliveryRequest::getProject() const { - return project_; +void ModifyLiveRealtimeLogDeliveryRequest::setProject(const std::string& project) +{ + project_ = project; + setParameter("Project", project); } -void ModifyLiveRealtimeLogDeliveryRequest::setProject(const std::string &project) { - project_ = project; - setParameter(std::string("Project"), project); +std::string ModifyLiveRealtimeLogDeliveryRequest::getDomainName()const +{ + return domainName_; } -std::string ModifyLiveRealtimeLogDeliveryRequest::getDomainName() const { - return domainName_; +void ModifyLiveRealtimeLogDeliveryRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void ModifyLiveRealtimeLogDeliveryRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long ModifyLiveRealtimeLogDeliveryRequest::getOwnerId()const +{ + return ownerId_; } -long ModifyLiveRealtimeLogDeliveryRequest::getOwnerId() const { - return ownerId_; +void ModifyLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void ModifyLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string ModifyLiveRealtimeLogDeliveryRequest::getRegion()const +{ + return region_; } -std::string ModifyLiveRealtimeLogDeliveryRequest::getRegion() const { - return region_; +void ModifyLiveRealtimeLogDeliveryRequest::setRegion(const std::string& region) +{ + region_ = region; + setParameter("Region", region); } -void ModifyLiveRealtimeLogDeliveryRequest::setRegion(const std::string ®ion) { - region_ = region; - setParameter(std::string("Region"), region); +std::string ModifyLiveRealtimeLogDeliveryRequest::getLogstore()const +{ + return logstore_; } -std::string ModifyLiveRealtimeLogDeliveryRequest::getLogstore() const { - return logstore_; -} - -void ModifyLiveRealtimeLogDeliveryRequest::setLogstore(const std::string &logstore) { - logstore_ = logstore; - setParameter(std::string("Logstore"), logstore); +void ModifyLiveRealtimeLogDeliveryRequest::setLogstore(const std::string& logstore) +{ + logstore_ = logstore; + setParameter("Logstore", logstore); } diff --git a/live/src/model/ModifyShowListRequest.cc b/live/src/model/ModifyShowListRequest.cc index 610a797b1..b377023eb 100644 --- a/live/src/model/ModifyShowListRequest.cc +++ b/live/src/model/ModifyShowListRequest.cc @@ -1,90 +1,106 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::ModifyShowListRequest; - -ModifyShowListRequest::ModifyShowListRequest() - : RpcServiceRequest("live", "2016-11-01", "ModifyShowList") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -ModifyShowListRequest::~ModifyShowListRequest() {} - -int ModifyShowListRequest::getRepeatTimes() const { - return repeatTimes_; +void ModifyShowListRequest::setRepeatTimes(int repeatTimes) +{ + repeatTimes_ = repeatTimes; + setParameter("RepeatTimes", std::to_string(repeatTimes)); } -void ModifyShowListRequest::setRepeatTimes(int repeatTimes) { - repeatTimes_ = repeatTimes; - setParameter(std::string("RepeatTimes"), std::to_string(repeatTimes)); +std::string ModifyShowListRequest::getHighPriorityShowStartTime()const +{ + return highPriorityShowStartTime_; } -std::string ModifyShowListRequest::getHighPriorityShowStartTime() const { - return highPriorityShowStartTime_; +void ModifyShowListRequest::setHighPriorityShowStartTime(const std::string& highPriorityShowStartTime) +{ + highPriorityShowStartTime_ = highPriorityShowStartTime; + setParameter("HighPriorityShowStartTime", highPriorityShowStartTime); } -void ModifyShowListRequest::setHighPriorityShowStartTime(const std::string &highPriorityShowStartTime) { - highPriorityShowStartTime_ = highPriorityShowStartTime; - setParameter(std::string("HighPriorityShowStartTime"), highPriorityShowStartTime); +std::string ModifyShowListRequest::getCasterId()const +{ + return casterId_; } -std::string ModifyShowListRequest::getCasterId() const { - return casterId_; +void ModifyShowListRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void ModifyShowListRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +std::string ModifyShowListRequest::getHighPriorityShowId()const +{ + return highPriorityShowId_; } -std::string ModifyShowListRequest::getHighPriorityShowId() const { - return highPriorityShowId_; +void ModifyShowListRequest::setHighPriorityShowId(const std::string& highPriorityShowId) +{ + highPriorityShowId_ = highPriorityShowId; + setParameter("HighPriorityShowId", highPriorityShowId); } -void ModifyShowListRequest::setHighPriorityShowId(const std::string &highPriorityShowId) { - highPriorityShowId_ = highPriorityShowId; - setParameter(std::string("HighPriorityShowId"), highPriorityShowId); +long ModifyShowListRequest::getOwnerId()const +{ + return ownerId_; } -long ModifyShowListRequest::getOwnerId() const { - return ownerId_; +void ModifyShowListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void ModifyShowListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string ModifyShowListRequest::getShowId()const +{ + return showId_; } -std::string ModifyShowListRequest::getShowId() const { - return showId_; +void ModifyShowListRequest::setShowId(const std::string& showId) +{ + showId_ = showId; + setParameter("ShowId", showId); } -void ModifyShowListRequest::setShowId(const std::string &showId) { - showId_ = showId; - setParameter(std::string("ShowId"), showId); +int ModifyShowListRequest::getSpot()const +{ + return spot_; } -int ModifyShowListRequest::getSpot() const { - return spot_; -} - -void ModifyShowListRequest::setSpot(int spot) { - spot_ = spot; - setParameter(std::string("Spot"), std::to_string(spot)); +void ModifyShowListRequest::setSpot(int spot) +{ + spot_ = spot; + setParameter("Spot", std::to_string(spot)); } diff --git a/live/src/model/ModifyStudioLayoutRequest.cc b/live/src/model/ModifyStudioLayoutRequest.cc index beff2e2c9..7f279f9ff 100644 --- a/live/src/model/ModifyStudioLayoutRequest.cc +++ b/live/src/model/ModifyStudioLayoutRequest.cc @@ -1,108 +1,128 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -ModifyStudioLayoutRequest::~ModifyStudioLayoutRequest() {} - -std::string ModifyStudioLayoutRequest::getScreenInputConfigList() const { - return screenInputConfigList_; +void ModifyStudioLayoutRequest::setScreenInputConfigList(const std::string& screenInputConfigList) +{ + screenInputConfigList_ = screenInputConfigList; + setParameter("ScreenInputConfigList", screenInputConfigList); } -void ModifyStudioLayoutRequest::setScreenInputConfigList(const std::string &screenInputConfigList) { - screenInputConfigList_ = screenInputConfigList; - setParameter(std::string("ScreenInputConfigList"), screenInputConfigList); +std::string ModifyStudioLayoutRequest::getLayoutId()const +{ + return layoutId_; } -std::string ModifyStudioLayoutRequest::getLayoutId() const { - return layoutId_; +void ModifyStudioLayoutRequest::setLayoutId(const std::string& layoutId) +{ + layoutId_ = layoutId; + setParameter("LayoutId", layoutId); } -void ModifyStudioLayoutRequest::setLayoutId(const std::string &layoutId) { - layoutId_ = layoutId; - setParameter(std::string("LayoutId"), layoutId); +std::string ModifyStudioLayoutRequest::getLayoutName()const +{ + return layoutName_; } -std::string ModifyStudioLayoutRequest::getLayoutName() const { - return layoutName_; +void ModifyStudioLayoutRequest::setLayoutName(const std::string& layoutName) +{ + layoutName_ = layoutName; + setParameter("LayoutName", layoutName); } -void ModifyStudioLayoutRequest::setLayoutName(const std::string &layoutName) { - layoutName_ = layoutName; - setParameter(std::string("LayoutName"), layoutName); +std::string ModifyStudioLayoutRequest::getLayerOrderConfigList()const +{ + return layerOrderConfigList_; } -std::string ModifyStudioLayoutRequest::getLayerOrderConfigList() const { - return layerOrderConfigList_; +void ModifyStudioLayoutRequest::setLayerOrderConfigList(const std::string& layerOrderConfigList) +{ + layerOrderConfigList_ = layerOrderConfigList; + setParameter("LayerOrderConfigList", layerOrderConfigList); } -void ModifyStudioLayoutRequest::setLayerOrderConfigList(const std::string &layerOrderConfigList) { - layerOrderConfigList_ = layerOrderConfigList; - setParameter(std::string("LayerOrderConfigList"), layerOrderConfigList); +std::string ModifyStudioLayoutRequest::getMediaInputConfigList()const +{ + return mediaInputConfigList_; } -std::string ModifyStudioLayoutRequest::getMediaInputConfigList() const { - return mediaInputConfigList_; +void ModifyStudioLayoutRequest::setMediaInputConfigList(const std::string& mediaInputConfigList) +{ + mediaInputConfigList_ = mediaInputConfigList; + setParameter("MediaInputConfigList", mediaInputConfigList); } -void ModifyStudioLayoutRequest::setMediaInputConfigList(const std::string &mediaInputConfigList) { - mediaInputConfigList_ = mediaInputConfigList; - setParameter(std::string("MediaInputConfigList"), mediaInputConfigList); +std::string ModifyStudioLayoutRequest::getCasterId()const +{ + return casterId_; } -std::string ModifyStudioLayoutRequest::getCasterId() const { - return casterId_; +void ModifyStudioLayoutRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void ModifyStudioLayoutRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +std::string ModifyStudioLayoutRequest::getBgImageConfig()const +{ + return bgImageConfig_; } -std::string ModifyStudioLayoutRequest::getBgImageConfig() const { - return bgImageConfig_; +void ModifyStudioLayoutRequest::setBgImageConfig(const std::string& bgImageConfig) +{ + bgImageConfig_ = bgImageConfig; + setParameter("BgImageConfig", bgImageConfig); } -void ModifyStudioLayoutRequest::setBgImageConfig(const std::string &bgImageConfig) { - bgImageConfig_ = bgImageConfig; - setParameter(std::string("BgImageConfig"), bgImageConfig); +long ModifyStudioLayoutRequest::getOwnerId()const +{ + return ownerId_; } -long ModifyStudioLayoutRequest::getOwnerId() const { - return ownerId_; +void ModifyStudioLayoutRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void ModifyStudioLayoutRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string ModifyStudioLayoutRequest::getCommonConfig()const +{ + return commonConfig_; } -std::string ModifyStudioLayoutRequest::getCommonConfig() const { - return commonConfig_; -} - -void ModifyStudioLayoutRequest::setCommonConfig(const std::string &commonConfig) { - commonConfig_ = commonConfig; - setParameter(std::string("CommonConfig"), commonConfig); +void ModifyStudioLayoutRequest::setCommonConfig(const std::string& commonConfig) +{ + commonConfig_ = commonConfig; + setParameter("CommonConfig", commonConfig); } diff --git a/live/src/model/OpenLiveShiftRequest.cc b/live/src/model/OpenLiveShiftRequest.cc index 136a27131..31ae518eb 100644 --- a/live/src/model/OpenLiveShiftRequest.cc +++ b/live/src/model/OpenLiveShiftRequest.cc @@ -1,90 +1,106 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::OpenLiveShiftRequest; - -OpenLiveShiftRequest::OpenLiveShiftRequest() - : RpcServiceRequest("live", "2016-11-01", "OpenLiveShift") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -OpenLiveShiftRequest::~OpenLiveShiftRequest() {} - -int OpenLiveShiftRequest::getDuration() const { - return duration_; +void OpenLiveShiftRequest::setDuration(int duration) +{ + duration_ = duration; + setParameter("Duration", std::to_string(duration)); } -void OpenLiveShiftRequest::setDuration(int duration) { - duration_ = duration; - setParameter(std::string("Duration"), std::to_string(duration)); +std::string OpenLiveShiftRequest::getAppName()const +{ + return appName_; } -std::string OpenLiveShiftRequest::getAppName() const { - return appName_; +void OpenLiveShiftRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void OpenLiveShiftRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string OpenLiveShiftRequest::getStreamName()const +{ + return streamName_; } -std::string OpenLiveShiftRequest::getStreamName() const { - return streamName_; +void OpenLiveShiftRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void OpenLiveShiftRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +bool OpenLiveShiftRequest::getIgnoreTranscode()const +{ + return ignoreTranscode_; } -bool OpenLiveShiftRequest::getIgnoreTranscode() const { - return ignoreTranscode_; +void OpenLiveShiftRequest::setIgnoreTranscode(bool ignoreTranscode) +{ + ignoreTranscode_ = ignoreTranscode; + setParameter("IgnoreTranscode", ignoreTranscode ? "true" : "false"); } -void OpenLiveShiftRequest::setIgnoreTranscode(bool ignoreTranscode) { - ignoreTranscode_ = ignoreTranscode; - setParameter(std::string("IgnoreTranscode"), ignoreTranscode ? "true" : "false"); +std::string OpenLiveShiftRequest::getDomainName()const +{ + return domainName_; } -std::string OpenLiveShiftRequest::getDomainName() const { - return domainName_; +void OpenLiveShiftRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void OpenLiveShiftRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long OpenLiveShiftRequest::getOwnerId()const +{ + return ownerId_; } -long OpenLiveShiftRequest::getOwnerId() const { - return ownerId_; +void OpenLiveShiftRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void OpenLiveShiftRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +int OpenLiveShiftRequest::getVision()const +{ + return vision_; } -int OpenLiveShiftRequest::getVision() const { - return vision_; -} - -void OpenLiveShiftRequest::setVision(int vision) { - vision_ = vision; - setParameter(std::string("Vision"), std::to_string(vision)); +void OpenLiveShiftRequest::setVision(int vision) +{ + vision_ = vision; + setParameter("Vision", std::to_string(vision)); } diff --git a/live/src/model/PlayChoosenShowRequest.cc b/live/src/model/PlayChoosenShowRequest.cc index 5b1dcf423..b36df46ff 100644 --- a/live/src/model/PlayChoosenShowRequest.cc +++ b/live/src/model/PlayChoosenShowRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::PlayChoosenShowRequest; - -PlayChoosenShowRequest::PlayChoosenShowRequest() - : RpcServiceRequest("live", "2016-11-01", "PlayChoosenShow") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -PlayChoosenShowRequest::~PlayChoosenShowRequest() {} - -std::string PlayChoosenShowRequest::getCasterId() const { - return casterId_; +void PlayChoosenShowRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void PlayChoosenShowRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long PlayChoosenShowRequest::getOwnerId()const +{ + return ownerId_; } -long PlayChoosenShowRequest::getOwnerId() const { - return ownerId_; +void PlayChoosenShowRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void PlayChoosenShowRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string PlayChoosenShowRequest::getShowId()const +{ + return showId_; } -std::string PlayChoosenShowRequest::getShowId() const { - return showId_; -} - -void PlayChoosenShowRequest::setShowId(const std::string &showId) { - showId_ = showId; - setParameter(std::string("ShowId"), showId); +void PlayChoosenShowRequest::setShowId(const std::string& showId) +{ + showId_ = showId; + setParameter("ShowId", showId); } diff --git a/live/src/model/PublishLiveStagingConfigToProductionRequest.cc b/live/src/model/PublishLiveStagingConfigToProductionRequest.cc index a5fa00f18..9c306fb45 100644 --- a/live/src/model/PublishLiveStagingConfigToProductionRequest.cc +++ b/live/src/model/PublishLiveStagingConfigToProductionRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::PublishLiveStagingConfigToProductionRequest; - -PublishLiveStagingConfigToProductionRequest::PublishLiveStagingConfigToProductionRequest() - : RpcServiceRequest("live", "2016-11-01", "PublishLiveStagingConfigToProduction") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -PublishLiveStagingConfigToProductionRequest::~PublishLiveStagingConfigToProductionRequest() {} - -std::string PublishLiveStagingConfigToProductionRequest::getFunctionName() const { - return functionName_; +void PublishLiveStagingConfigToProductionRequest::setFunctionName(const std::string& functionName) +{ + functionName_ = functionName; + setParameter("FunctionName", functionName); } -void PublishLiveStagingConfigToProductionRequest::setFunctionName(const std::string &functionName) { - functionName_ = functionName; - setParameter(std::string("FunctionName"), functionName); +std::string PublishLiveStagingConfigToProductionRequest::getDomainName()const +{ + return domainName_; } -std::string PublishLiveStagingConfigToProductionRequest::getDomainName() const { - return domainName_; +void PublishLiveStagingConfigToProductionRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void PublishLiveStagingConfigToProductionRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long PublishLiveStagingConfigToProductionRequest::getOwnerId()const +{ + return ownerId_; } -long PublishLiveStagingConfigToProductionRequest::getOwnerId() const { - return ownerId_; -} - -void PublishLiveStagingConfigToProductionRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void PublishLiveStagingConfigToProductionRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/QuerySnapshotCallbackAuthRequest.cc b/live/src/model/QuerySnapshotCallbackAuthRequest.cc index 4b31c054b..98b09ad71 100644 --- a/live/src/model/QuerySnapshotCallbackAuthRequest.cc +++ b/live/src/model/QuerySnapshotCallbackAuthRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::QuerySnapshotCallbackAuthRequest; - -QuerySnapshotCallbackAuthRequest::QuerySnapshotCallbackAuthRequest() - : RpcServiceRequest("live", "2016-11-01", "QuerySnapshotCallbackAuth") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -QuerySnapshotCallbackAuthRequest::~QuerySnapshotCallbackAuthRequest() {} - -std::string QuerySnapshotCallbackAuthRequest::getDomainName() const { - return domainName_; +void QuerySnapshotCallbackAuthRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void QuerySnapshotCallbackAuthRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long QuerySnapshotCallbackAuthRequest::getOwnerId()const +{ + return ownerId_; } -long QuerySnapshotCallbackAuthRequest::getOwnerId() const { - return ownerId_; -} - -void QuerySnapshotCallbackAuthRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void QuerySnapshotCallbackAuthRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/QuerySnapshotCallbackAuthResult.cc b/live/src/model/QuerySnapshotCallbackAuthResult.cc index a55989ed9..2dc696a20 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 0d189ea7c..3e11f0258 100644 --- a/live/src/model/RealTimeRecordCommandRequest.cc +++ b/live/src/model/RealTimeRecordCommandRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::RealTimeRecordCommandRequest; - -RealTimeRecordCommandRequest::RealTimeRecordCommandRequest() - : RpcServiceRequest("live", "2016-11-01", "RealTimeRecordCommand") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -RealTimeRecordCommandRequest::~RealTimeRecordCommandRequest() {} - -std::string RealTimeRecordCommandRequest::getAppName() const { - return appName_; +void RealTimeRecordCommandRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void RealTimeRecordCommandRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string RealTimeRecordCommandRequest::getStreamName()const +{ + return streamName_; } -std::string RealTimeRecordCommandRequest::getStreamName() const { - return streamName_; +void RealTimeRecordCommandRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void RealTimeRecordCommandRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string RealTimeRecordCommandRequest::getDomainName()const +{ + return domainName_; } -std::string RealTimeRecordCommandRequest::getDomainName() const { - return domainName_; +void RealTimeRecordCommandRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void RealTimeRecordCommandRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long RealTimeRecordCommandRequest::getOwnerId()const +{ + return ownerId_; } -long RealTimeRecordCommandRequest::getOwnerId() const { - return ownerId_; +void RealTimeRecordCommandRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void RealTimeRecordCommandRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string RealTimeRecordCommandRequest::getCommand()const +{ + return command_; } -std::string RealTimeRecordCommandRequest::getCommand() const { - return command_; -} - -void RealTimeRecordCommandRequest::setCommand(const std::string &command) { - command_ = command; - setParameter(std::string("Command"), command); +void RealTimeRecordCommandRequest::setCommand(const std::string& command) +{ + command_ = command; + setParameter("Command", command); } diff --git a/live/src/model/RealTimeSnapshotCommandRequest.cc b/live/src/model/RealTimeSnapshotCommandRequest.cc index 7af3b6915..699617616 100644 --- a/live/src/model/RealTimeSnapshotCommandRequest.cc +++ b/live/src/model/RealTimeSnapshotCommandRequest.cc @@ -1,90 +1,106 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::RealTimeSnapshotCommandRequest; - -RealTimeSnapshotCommandRequest::RealTimeSnapshotCommandRequest() - : RpcServiceRequest("live", "2016-11-01", "RealTimeSnapshotCommand") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -RealTimeSnapshotCommandRequest::~RealTimeSnapshotCommandRequest() {} - -int RealTimeSnapshotCommandRequest::getMode() const { - return mode_; +void RealTimeSnapshotCommandRequest::setMode(int mode) +{ + mode_ = mode; + setParameter("Mode", std::to_string(mode)); } -void RealTimeSnapshotCommandRequest::setMode(int mode) { - mode_ = mode; - setParameter(std::string("Mode"), std::to_string(mode)); +std::string RealTimeSnapshotCommandRequest::getAppName()const +{ + return appName_; } -std::string RealTimeSnapshotCommandRequest::getAppName() const { - return appName_; +void RealTimeSnapshotCommandRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void RealTimeSnapshotCommandRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string RealTimeSnapshotCommandRequest::getStreamName()const +{ + return streamName_; } -std::string RealTimeSnapshotCommandRequest::getStreamName() const { - return streamName_; +void RealTimeSnapshotCommandRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void RealTimeSnapshotCommandRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string RealTimeSnapshotCommandRequest::getDomainName()const +{ + return domainName_; } -std::string RealTimeSnapshotCommandRequest::getDomainName() const { - return domainName_; +void RealTimeSnapshotCommandRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void RealTimeSnapshotCommandRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long RealTimeSnapshotCommandRequest::getOwnerId()const +{ + return ownerId_; } -long RealTimeSnapshotCommandRequest::getOwnerId() const { - return ownerId_; +void RealTimeSnapshotCommandRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void RealTimeSnapshotCommandRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string RealTimeSnapshotCommandRequest::getCommand()const +{ + return command_; } -std::string RealTimeSnapshotCommandRequest::getCommand() const { - return command_; +void RealTimeSnapshotCommandRequest::setCommand(const std::string& command) +{ + command_ = command; + setParameter("Command", command); } -void RealTimeSnapshotCommandRequest::setCommand(const std::string &command) { - command_ = command; - setParameter(std::string("Command"), command); +int RealTimeSnapshotCommandRequest::getInterval()const +{ + return interval_; } -int RealTimeSnapshotCommandRequest::getInterval() const { - return interval_; -} - -void RealTimeSnapshotCommandRequest::setInterval(int interval) { - interval_ = interval; - setParameter(std::string("Interval"), std::to_string(interval)); +void RealTimeSnapshotCommandRequest::setInterval(int interval) +{ + interval_ = interval; + setParameter("Interval", std::to_string(interval)); } diff --git a/live/src/model/RemoveShowFromShowListRequest.cc b/live/src/model/RemoveShowFromShowListRequest.cc index d113cb474..111ece17f 100644 --- a/live/src/model/RemoveShowFromShowListRequest.cc +++ b/live/src/model/RemoveShowFromShowListRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::RemoveShowFromShowListRequest; - -RemoveShowFromShowListRequest::RemoveShowFromShowListRequest() - : RpcServiceRequest("live", "2016-11-01", "RemoveShowFromShowList") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -RemoveShowFromShowListRequest::~RemoveShowFromShowListRequest() {} - -std::string RemoveShowFromShowListRequest::getCasterId() const { - return casterId_; +void RemoveShowFromShowListRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void RemoveShowFromShowListRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long RemoveShowFromShowListRequest::getOwnerId()const +{ + return ownerId_; } -long RemoveShowFromShowListRequest::getOwnerId() const { - return ownerId_; +void RemoveShowFromShowListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void RemoveShowFromShowListRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string RemoveShowFromShowListRequest::getShowId()const +{ + return showId_; } -std::string RemoveShowFromShowListRequest::getShowId() const { - return showId_; -} - -void RemoveShowFromShowListRequest::setShowId(const std::string &showId) { - showId_ = showId; - setParameter(std::string("ShowId"), showId); +void RemoveShowFromShowListRequest::setShowId(const std::string& showId) +{ + showId_ = showId; + setParameter("ShowId", showId); } diff --git a/live/src/model/ResumeLiveStreamRequest.cc b/live/src/model/ResumeLiveStreamRequest.cc index 5ad4cf89b..2d9cf800d 100644 --- a/live/src/model/ResumeLiveStreamRequest.cc +++ b/live/src/model/ResumeLiveStreamRequest.cc @@ -1,81 +1,95 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -ResumeLiveStreamRequest::~ResumeLiveStreamRequest() {} - -std::string ResumeLiveStreamRequest::getAppName() const { - return appName_; +void ResumeLiveStreamRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void ResumeLiveStreamRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string ResumeLiveStreamRequest::getSecurityToken()const +{ + return securityToken_; } -std::string ResumeLiveStreamRequest::getSecurityToken() const { - return securityToken_; +void ResumeLiveStreamRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void ResumeLiveStreamRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string ResumeLiveStreamRequest::getStreamName()const +{ + return streamName_; } -std::string ResumeLiveStreamRequest::getStreamName() const { - return streamName_; +void ResumeLiveStreamRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void ResumeLiveStreamRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string ResumeLiveStreamRequest::getLiveStreamType()const +{ + return liveStreamType_; } -std::string ResumeLiveStreamRequest::getLiveStreamType() const { - return liveStreamType_; +void ResumeLiveStreamRequest::setLiveStreamType(const std::string& liveStreamType) +{ + liveStreamType_ = liveStreamType; + setParameter("LiveStreamType", liveStreamType); } -void ResumeLiveStreamRequest::setLiveStreamType(const std::string &liveStreamType) { - liveStreamType_ = liveStreamType; - setParameter(std::string("LiveStreamType"), liveStreamType); +std::string ResumeLiveStreamRequest::getDomainName()const +{ + return domainName_; } -std::string ResumeLiveStreamRequest::getDomainName() const { - return domainName_; +void ResumeLiveStreamRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void ResumeLiveStreamRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long ResumeLiveStreamRequest::getOwnerId()const +{ + return ownerId_; } -long ResumeLiveStreamRequest::getOwnerId() const { - return ownerId_; -} - -void ResumeLiveStreamRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void ResumeLiveStreamRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/RollbackLiveStagingConfigRequest.cc b/live/src/model/RollbackLiveStagingConfigRequest.cc index cd87280b3..57bd609ee 100644 --- a/live/src/model/RollbackLiveStagingConfigRequest.cc +++ b/live/src/model/RollbackLiveStagingConfigRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::RollbackLiveStagingConfigRequest; - -RollbackLiveStagingConfigRequest::RollbackLiveStagingConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "RollbackLiveStagingConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -RollbackLiveStagingConfigRequest::~RollbackLiveStagingConfigRequest() {} - -std::string RollbackLiveStagingConfigRequest::getFunctionName() const { - return functionName_; +void RollbackLiveStagingConfigRequest::setFunctionName(const std::string& functionName) +{ + functionName_ = functionName; + setParameter("FunctionName", functionName); } -void RollbackLiveStagingConfigRequest::setFunctionName(const std::string &functionName) { - functionName_ = functionName; - setParameter(std::string("FunctionName"), functionName); +std::string RollbackLiveStagingConfigRequest::getDomainName()const +{ + return domainName_; } -std::string RollbackLiveStagingConfigRequest::getDomainName() const { - return domainName_; +void RollbackLiveStagingConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void RollbackLiveStagingConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long RollbackLiveStagingConfigRequest::getOwnerId()const +{ + return ownerId_; } -long RollbackLiveStagingConfigRequest::getOwnerId() const { - return ownerId_; -} - -void RollbackLiveStagingConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void RollbackLiveStagingConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/SendRoomNotificationRequest.cc b/live/src/model/SendRoomNotificationRequest.cc index 815aeb088..1c56da31e 100644 --- a/live/src/model/SendRoomNotificationRequest.cc +++ b/live/src/model/SendRoomNotificationRequest.cc @@ -1,81 +1,95 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -SendRoomNotificationRequest::~SendRoomNotificationRequest() {} - -std::string SendRoomNotificationRequest::getData() const { - return data_; +void SendRoomNotificationRequest::setData(const std::string& data) +{ + data_ = data; + setParameter("Data", data); } -void SendRoomNotificationRequest::setData(const std::string &data) { - data_ = data; - setParameter(std::string("Data"), data); +std::string SendRoomNotificationRequest::getAppUid()const +{ + return appUid_; } -std::string SendRoomNotificationRequest::getAppUid() const { - return appUid_; +void SendRoomNotificationRequest::setAppUid(const std::string& appUid) +{ + appUid_ = appUid; + setParameter("AppUid", appUid); } -void SendRoomNotificationRequest::setAppUid(const std::string &appUid) { - appUid_ = appUid; - setParameter(std::string("AppUid"), appUid); +long SendRoomNotificationRequest::getOwnerId()const +{ + return ownerId_; } -long SendRoomNotificationRequest::getOwnerId() const { - return ownerId_; +void SendRoomNotificationRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void SendRoomNotificationRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +int SendRoomNotificationRequest::getPriority()const +{ + return priority_; } -int SendRoomNotificationRequest::getPriority() const { - return priority_; +void SendRoomNotificationRequest::setPriority(int priority) +{ + priority_ = priority; + setParameter("Priority", std::to_string(priority)); } -void SendRoomNotificationRequest::setPriority(int priority) { - priority_ = priority; - setParameter(std::string("Priority"), std::to_string(priority)); +std::string SendRoomNotificationRequest::getRoomId()const +{ + return roomId_; } -std::string SendRoomNotificationRequest::getRoomId() const { - return roomId_; +void SendRoomNotificationRequest::setRoomId(const std::string& roomId) +{ + roomId_ = roomId; + setParameter("RoomId", roomId); } -void SendRoomNotificationRequest::setRoomId(const std::string &roomId) { - roomId_ = roomId; - setParameter(std::string("RoomId"), roomId); +std::string SendRoomNotificationRequest::getAppId()const +{ + return appId_; } -std::string SendRoomNotificationRequest::getAppId() const { - return appId_; -} - -void SendRoomNotificationRequest::setAppId(const std::string &appId) { - appId_ = appId; - setParameter(std::string("AppId"), appId); +void SendRoomNotificationRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); } diff --git a/live/src/model/SendRoomUserNotificationRequest.cc b/live/src/model/SendRoomUserNotificationRequest.cc index 8fc40da4c..d0e9c0927 100644 --- a/live/src/model/SendRoomUserNotificationRequest.cc +++ b/live/src/model/SendRoomUserNotificationRequest.cc @@ -1,90 +1,106 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::SendRoomUserNotificationRequest; - -SendRoomUserNotificationRequest::SendRoomUserNotificationRequest() - : RpcServiceRequest("live", "2016-11-01", "SendRoomUserNotification") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -SendRoomUserNotificationRequest::~SendRoomUserNotificationRequest() {} - -std::string SendRoomUserNotificationRequest::getData() const { - return data_; +void SendRoomUserNotificationRequest::setData(const std::string& data) +{ + data_ = data; + setParameter("Data", data); } -void SendRoomUserNotificationRequest::setData(const std::string &data) { - data_ = data; - setParameter(std::string("Data"), data); +std::string SendRoomUserNotificationRequest::getToAppUid()const +{ + return toAppUid_; } -std::string SendRoomUserNotificationRequest::getToAppUid() const { - return toAppUid_; +void SendRoomUserNotificationRequest::setToAppUid(const std::string& toAppUid) +{ + toAppUid_ = toAppUid; + setParameter("ToAppUid", toAppUid); } -void SendRoomUserNotificationRequest::setToAppUid(const std::string &toAppUid) { - toAppUid_ = toAppUid; - setParameter(std::string("ToAppUid"), toAppUid); +std::string SendRoomUserNotificationRequest::getAppUid()const +{ + return appUid_; } -std::string SendRoomUserNotificationRequest::getAppUid() const { - return appUid_; +void SendRoomUserNotificationRequest::setAppUid(const std::string& appUid) +{ + appUid_ = appUid; + setParameter("AppUid", appUid); } -void SendRoomUserNotificationRequest::setAppUid(const std::string &appUid) { - appUid_ = appUid; - setParameter(std::string("AppUid"), appUid); +long SendRoomUserNotificationRequest::getOwnerId()const +{ + return ownerId_; } -long SendRoomUserNotificationRequest::getOwnerId() const { - return ownerId_; +void SendRoomUserNotificationRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void SendRoomUserNotificationRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +int SendRoomUserNotificationRequest::getPriority()const +{ + return priority_; } -int SendRoomUserNotificationRequest::getPriority() const { - return priority_; +void SendRoomUserNotificationRequest::setPriority(int priority) +{ + priority_ = priority; + setParameter("Priority", std::to_string(priority)); } -void SendRoomUserNotificationRequest::setPriority(int priority) { - priority_ = priority; - setParameter(std::string("Priority"), std::to_string(priority)); +std::string SendRoomUserNotificationRequest::getRoomId()const +{ + return roomId_; } -std::string SendRoomUserNotificationRequest::getRoomId() const { - return roomId_; +void SendRoomUserNotificationRequest::setRoomId(const std::string& roomId) +{ + roomId_ = roomId; + setParameter("RoomId", roomId); } -void SendRoomUserNotificationRequest::setRoomId(const std::string &roomId) { - roomId_ = roomId; - setParameter(std::string("RoomId"), roomId); +std::string SendRoomUserNotificationRequest::getAppId()const +{ + return appId_; } -std::string SendRoomUserNotificationRequest::getAppId() const { - return appId_; -} - -void SendRoomUserNotificationRequest::setAppId(const std::string &appId) { - appId_ = appId; - setParameter(std::string("AppId"), appId); +void SendRoomUserNotificationRequest::setAppId(const std::string& appId) +{ + appId_ = appId; + setParameter("AppId", appId); } diff --git a/live/src/model/SetCasterChannelRequest.cc b/live/src/model/SetCasterChannelRequest.cc index 487d14557..202f6e935 100644 --- a/live/src/model/SetCasterChannelRequest.cc +++ b/live/src/model/SetCasterChannelRequest.cc @@ -1,99 +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::SetCasterChannelRequest; - -SetCasterChannelRequest::SetCasterChannelRequest() - : RpcServiceRequest("live", "2016-11-01", "SetCasterChannel") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -SetCasterChannelRequest::~SetCasterChannelRequest() {} - -std::string SetCasterChannelRequest::getFaceBeauty() const { - return faceBeauty_; +void SetCasterChannelRequest::setFaceBeauty(const std::string& faceBeauty) +{ + faceBeauty_ = faceBeauty; + setParameter("FaceBeauty", faceBeauty); } -void SetCasterChannelRequest::setFaceBeauty(const std::string &faceBeauty) { - faceBeauty_ = faceBeauty; - setParameter(std::string("FaceBeauty"), faceBeauty); +int SetCasterChannelRequest::getSeekOffset()const +{ + return seekOffset_; } -int SetCasterChannelRequest::getSeekOffset() const { - return seekOffset_; +void SetCasterChannelRequest::setSeekOffset(int seekOffset) +{ + seekOffset_ = seekOffset; + setParameter("SeekOffset", std::to_string(seekOffset)); } -void SetCasterChannelRequest::setSeekOffset(int seekOffset) { - seekOffset_ = seekOffset; - setParameter(std::string("SeekOffset"), std::to_string(seekOffset)); +int SetCasterChannelRequest::getPlayStatus()const +{ + return playStatus_; } -int SetCasterChannelRequest::getPlayStatus() const { - return playStatus_; +void SetCasterChannelRequest::setPlayStatus(int playStatus) +{ + playStatus_ = playStatus; + setParameter("PlayStatus", std::to_string(playStatus)); } -void SetCasterChannelRequest::setPlayStatus(int playStatus) { - playStatus_ = playStatus; - setParameter(std::string("PlayStatus"), std::to_string(playStatus)); +std::string SetCasterChannelRequest::getResourceId()const +{ + return resourceId_; } -std::string SetCasterChannelRequest::getResourceId() const { - return resourceId_; +void SetCasterChannelRequest::setResourceId(const std::string& resourceId) +{ + resourceId_ = resourceId; + setParameter("ResourceId", resourceId); } -void SetCasterChannelRequest::setResourceId(const std::string &resourceId) { - resourceId_ = resourceId; - setParameter(std::string("ResourceId"), resourceId); +std::string SetCasterChannelRequest::getCasterId()const +{ + return casterId_; } -std::string SetCasterChannelRequest::getCasterId() const { - return casterId_; +void SetCasterChannelRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void SetCasterChannelRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long SetCasterChannelRequest::getOwnerId()const +{ + return ownerId_; } -long SetCasterChannelRequest::getOwnerId() const { - return ownerId_; +void SetCasterChannelRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void SetCasterChannelRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +int SetCasterChannelRequest::getReloadFlag()const +{ + return reloadFlag_; } -int SetCasterChannelRequest::getReloadFlag() const { - return reloadFlag_; +void SetCasterChannelRequest::setReloadFlag(int reloadFlag) +{ + reloadFlag_ = reloadFlag; + setParameter("ReloadFlag", std::to_string(reloadFlag)); } -void SetCasterChannelRequest::setReloadFlag(int reloadFlag) { - reloadFlag_ = reloadFlag; - setParameter(std::string("ReloadFlag"), std::to_string(reloadFlag)); +std::string SetCasterChannelRequest::getChannelId()const +{ + return channelId_; } -std::string SetCasterChannelRequest::getChannelId() const { - return channelId_; -} - -void SetCasterChannelRequest::setChannelId(const std::string &channelId) { - channelId_ = channelId; - setParameter(std::string("ChannelId"), channelId); +void SetCasterChannelRequest::setChannelId(const std::string& channelId) +{ + channelId_ = channelId; + setParameter("ChannelId", channelId); } diff --git a/live/src/model/SetCasterConfigRequest.cc b/live/src/model/SetCasterConfigRequest.cc index 64a362d05..bc03a3c38 100644 --- a/live/src/model/SetCasterConfigRequest.cc +++ b/live/src/model/SetCasterConfigRequest.cc @@ -1,162 +1,194 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -SetCasterConfigRequest::~SetCasterConfigRequest() {} - -int SetCasterConfigRequest::getChannelEnable() const { - return channelEnable_; +void SetCasterConfigRequest::setChannelEnable(int channelEnable) +{ + channelEnable_ = channelEnable; + setParameter("ChannelEnable", std::to_string(channelEnable)); } -void SetCasterConfigRequest::setChannelEnable(int channelEnable) { - channelEnable_ = channelEnable; - setParameter(std::string("ChannelEnable"), std::to_string(channelEnable)); +int SetCasterConfigRequest::getProgramEffect()const +{ + return programEffect_; } -int SetCasterConfigRequest::getProgramEffect() const { - return programEffect_; +void SetCasterConfigRequest::setProgramEffect(int programEffect) +{ + programEffect_ = programEffect; + setParameter("ProgramEffect", std::to_string(programEffect)); } -void SetCasterConfigRequest::setProgramEffect(int programEffect) { - programEffect_ = programEffect; - setParameter(std::string("ProgramEffect"), std::to_string(programEffect)); +std::string SetCasterConfigRequest::getProgramName()const +{ + return programName_; } -std::string SetCasterConfigRequest::getProgramName() const { - return programName_; +void SetCasterConfigRequest::setProgramName(const std::string& programName) +{ + programName_ = programName; + setParameter("ProgramName", programName); } -void SetCasterConfigRequest::setProgramName(const std::string &programName) { - programName_ = programName; - setParameter(std::string("ProgramName"), programName); +std::string SetCasterConfigRequest::getRecordConfig()const +{ + return recordConfig_; } -std::string SetCasterConfigRequest::getRecordConfig() const { - return recordConfig_; +void SetCasterConfigRequest::setRecordConfig(const std::string& recordConfig) +{ + recordConfig_ = recordConfig; + setParameter("RecordConfig", recordConfig); } -void SetCasterConfigRequest::setRecordConfig(const std::string &recordConfig) { - recordConfig_ = recordConfig; - setParameter(std::string("RecordConfig"), recordConfig); +std::string SetCasterConfigRequest::getUrgentMaterialId()const +{ + return urgentMaterialId_; } -std::string SetCasterConfigRequest::getUrgentMaterialId() const { - return urgentMaterialId_; +void SetCasterConfigRequest::setUrgentMaterialId(const std::string& urgentMaterialId) +{ + urgentMaterialId_ = urgentMaterialId; + setParameter("UrgentMaterialId", urgentMaterialId); } -void SetCasterConfigRequest::setUrgentMaterialId(const std::string &urgentMaterialId) { - urgentMaterialId_ = urgentMaterialId; - setParameter(std::string("UrgentMaterialId"), urgentMaterialId); +std::string SetCasterConfigRequest::getTranscodeConfig()const +{ + return transcodeConfig_; } -std::string SetCasterConfigRequest::getTranscodeConfig() const { - return transcodeConfig_; +void SetCasterConfigRequest::setTranscodeConfig(const std::string& transcodeConfig) +{ + transcodeConfig_ = transcodeConfig; + setParameter("TranscodeConfig", transcodeConfig); } -void SetCasterConfigRequest::setTranscodeConfig(const std::string &transcodeConfig) { - transcodeConfig_ = transcodeConfig; - setParameter(std::string("TranscodeConfig"), transcodeConfig); +std::string SetCasterConfigRequest::getCasterName()const +{ + return casterName_; } -std::string SetCasterConfigRequest::getCasterName() const { - return casterName_; +void SetCasterConfigRequest::setCasterName(const std::string& casterName) +{ + casterName_ = casterName; + setParameter("CasterName", casterName); } -void SetCasterConfigRequest::setCasterName(const std::string &casterName) { - casterName_ = casterName; - setParameter(std::string("CasterName"), casterName); +std::string SetCasterConfigRequest::getSideOutputUrl()const +{ + return sideOutputUrl_; } -std::string SetCasterConfigRequest::getSideOutputUrl() const { - return sideOutputUrl_; +void SetCasterConfigRequest::setSideOutputUrl(const std::string& sideOutputUrl) +{ + sideOutputUrl_ = sideOutputUrl; + setParameter("SideOutputUrl", sideOutputUrl); } -void SetCasterConfigRequest::setSideOutputUrl(const std::string &sideOutputUrl) { - sideOutputUrl_ = sideOutputUrl; - setParameter(std::string("SideOutputUrl"), sideOutputUrl); +std::string SetCasterConfigRequest::getSyncGroupsConfig()const +{ + return syncGroupsConfig_; } -std::string SetCasterConfigRequest::getSyncGroupsConfig() const { - return syncGroupsConfig_; +void SetCasterConfigRequest::setSyncGroupsConfig(const std::string& syncGroupsConfig) +{ + syncGroupsConfig_ = syncGroupsConfig; + setParameter("SyncGroupsConfig", syncGroupsConfig); } -void SetCasterConfigRequest::setSyncGroupsConfig(const std::string &syncGroupsConfig) { - syncGroupsConfig_ = syncGroupsConfig; - setParameter(std::string("SyncGroupsConfig"), syncGroupsConfig); +std::string SetCasterConfigRequest::getSideOutputUrlList()const +{ + return sideOutputUrlList_; } -std::string SetCasterConfigRequest::getSideOutputUrlList() const { - return sideOutputUrlList_; +void SetCasterConfigRequest::setSideOutputUrlList(const std::string& sideOutputUrlList) +{ + sideOutputUrlList_ = sideOutputUrlList; + setParameter("SideOutputUrlList", sideOutputUrlList); } -void SetCasterConfigRequest::setSideOutputUrlList(const std::string &sideOutputUrlList) { - sideOutputUrlList_ = sideOutputUrlList; - setParameter(std::string("SideOutputUrlList"), sideOutputUrlList); +std::string SetCasterConfigRequest::getCasterId()const +{ + return casterId_; } -std::string SetCasterConfigRequest::getCasterId() const { - return casterId_; +void SetCasterConfigRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void SetCasterConfigRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +std::string SetCasterConfigRequest::getDomainName()const +{ + return domainName_; } -std::string SetCasterConfigRequest::getDomainName() const { - return domainName_; +void SetCasterConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void SetCasterConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long SetCasterConfigRequest::getOwnerId()const +{ + return ownerId_; } -long SetCasterConfigRequest::getOwnerId() const { - return ownerId_; +void SetCasterConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void SetCasterConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +float SetCasterConfigRequest::getDelay()const +{ + return delay_; } -float SetCasterConfigRequest::getDelay() const { - return delay_; +void SetCasterConfigRequest::setDelay(float delay) +{ + delay_ = delay; + setParameter("Delay", std::to_string(delay)); } -void SetCasterConfigRequest::setDelay(float delay) { - delay_ = delay; - setParameter(std::string("Delay"), std::to_string(delay)); +std::string SetCasterConfigRequest::getCallbackUrl()const +{ + return callbackUrl_; } -std::string SetCasterConfigRequest::getCallbackUrl() const { - return callbackUrl_; -} - -void SetCasterConfigRequest::setCallbackUrl(const std::string &callbackUrl) { - callbackUrl_ = callbackUrl; - setParameter(std::string("CallbackUrl"), callbackUrl); +void SetCasterConfigRequest::setCallbackUrl(const std::string& callbackUrl) +{ + callbackUrl_ = callbackUrl; + setParameter("CallbackUrl", callbackUrl); } diff --git a/live/src/model/SetCasterSceneConfigRequest.cc b/live/src/model/SetCasterSceneConfigRequest.cc index 8fdb75b4f..2d6b33f14 100644 --- a/live/src/model/SetCasterSceneConfigRequest.cc +++ b/live/src/model/SetCasterSceneConfigRequest.cc @@ -1,71 +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::SetCasterSceneConfigRequest; - -SetCasterSceneConfigRequest::SetCasterSceneConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "SetCasterSceneConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -SetCasterSceneConfigRequest::~SetCasterSceneConfigRequest() {} - -std::string SetCasterSceneConfigRequest::getLayoutId() const { - return layoutId_; +void SetCasterSceneConfigRequest::setLayoutId(const std::string& layoutId) +{ + layoutId_ = layoutId; + setParameter("LayoutId", layoutId); } -void SetCasterSceneConfigRequest::setLayoutId(const std::string &layoutId) { - layoutId_ = layoutId; - setParameter(std::string("LayoutId"), layoutId); +std::vector SetCasterSceneConfigRequest::getComponentId()const +{ + return componentId_; } -std::vector SetCasterSceneConfigRequest::getComponentId() const { - return componentId_; +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)); + } } -void SetCasterSceneConfigRequest::setComponentId(const std::vector &componentId) { - componentId_ = componentId; +std::string SetCasterSceneConfigRequest::getCasterId()const +{ + return casterId_; } -std::string SetCasterSceneConfigRequest::getCasterId() const { - return casterId_; +void SetCasterSceneConfigRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void SetCasterSceneConfigRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long SetCasterSceneConfigRequest::getOwnerId()const +{ + return ownerId_; } -long SetCasterSceneConfigRequest::getOwnerId() const { - return ownerId_; +void SetCasterSceneConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void SetCasterSceneConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string SetCasterSceneConfigRequest::getSceneId()const +{ + return sceneId_; } -std::string SetCasterSceneConfigRequest::getSceneId() const { - return sceneId_; -} - -void SetCasterSceneConfigRequest::setSceneId(const std::string &sceneId) { - sceneId_ = sceneId; - setParameter(std::string("SceneId"), sceneId); +void SetCasterSceneConfigRequest::setSceneId(const std::string& sceneId) +{ + sceneId_ = sceneId; + setParameter("SceneId", sceneId); } diff --git a/live/src/model/SetCasterSyncGroupRequest.cc b/live/src/model/SetCasterSyncGroupRequest.cc index e901bbb34..4bedf30f3 100644 --- a/live/src/model/SetCasterSyncGroupRequest.cc +++ b/live/src/model/SetCasterSyncGroupRequest.cc @@ -1,60 +1,74 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::SetCasterSyncGroupRequest; - -SetCasterSyncGroupRequest::SetCasterSyncGroupRequest() - : RpcServiceRequest("live", "2016-11-01", "SetCasterSyncGroup") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -SetCasterSyncGroupRequest::~SetCasterSyncGroupRequest() {} - -std::string SetCasterSyncGroupRequest::getCasterId() const { - return casterId_; +void SetCasterSyncGroupRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void SetCasterSyncGroupRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long SetCasterSyncGroupRequest::getOwnerId()const +{ + return ownerId_; } -long SetCasterSyncGroupRequest::getOwnerId() const { - return ownerId_; +void SetCasterSyncGroupRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void SetCasterSyncGroupRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::vector SetCasterSyncGroupRequest::getSyncGroup()const +{ + return syncGroup_; } -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)); - } +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))); + } + } } diff --git a/live/src/model/SetLiveDomainCertificateRequest.cc b/live/src/model/SetLiveDomainCertificateRequest.cc index f79982e36..ec04a9c6b 100644 --- a/live/src/model/SetLiveDomainCertificateRequest.cc +++ b/live/src/model/SetLiveDomainCertificateRequest.cc @@ -1,108 +1,128 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -SetLiveDomainCertificateRequest::~SetLiveDomainCertificateRequest() {} - -std::string SetLiveDomainCertificateRequest::getSSLProtocol() const { - return sSLProtocol_; +void SetLiveDomainCertificateRequest::setSSLProtocol(const std::string& sSLProtocol) +{ + sSLProtocol_ = sSLProtocol; + setParameter("SSLProtocol", sSLProtocol); } -void SetLiveDomainCertificateRequest::setSSLProtocol(const std::string &sSLProtocol) { - sSLProtocol_ = sSLProtocol; - setParameter(std::string("SSLProtocol"), sSLProtocol); +std::string SetLiveDomainCertificateRequest::getSecurityToken()const +{ + return securityToken_; } -std::string SetLiveDomainCertificateRequest::getSecurityToken() const { - return securityToken_; +void SetLiveDomainCertificateRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void SetLiveDomainCertificateRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string SetLiveDomainCertificateRequest::getCertType()const +{ + return certType_; } -std::string SetLiveDomainCertificateRequest::getCertType() const { - return certType_; +void SetLiveDomainCertificateRequest::setCertType(const std::string& certType) +{ + certType_ = certType; + setParameter("CertType", certType); } -void SetLiveDomainCertificateRequest::setCertType(const std::string &certType) { - certType_ = certType; - setParameter(std::string("CertType"), certType); +std::string SetLiveDomainCertificateRequest::getSSLPri()const +{ + return sSLPri_; } -std::string SetLiveDomainCertificateRequest::getSSLPri() const { - return sSLPri_; +void SetLiveDomainCertificateRequest::setSSLPri(const std::string& sSLPri) +{ + sSLPri_ = sSLPri; + setParameter("SSLPri", sSLPri); } -void SetLiveDomainCertificateRequest::setSSLPri(const std::string &sSLPri) { - sSLPri_ = sSLPri; - setParameter(std::string("SSLPri"), sSLPri); +std::string SetLiveDomainCertificateRequest::getForceSet()const +{ + return forceSet_; } -std::string SetLiveDomainCertificateRequest::getForceSet() const { - return forceSet_; +void SetLiveDomainCertificateRequest::setForceSet(const std::string& forceSet) +{ + forceSet_ = forceSet; + setParameter("ForceSet", forceSet); } -void SetLiveDomainCertificateRequest::setForceSet(const std::string &forceSet) { - forceSet_ = forceSet; - setParameter(std::string("ForceSet"), forceSet); +std::string SetLiveDomainCertificateRequest::getCertName()const +{ + return certName_; } -std::string SetLiveDomainCertificateRequest::getCertName() const { - return certName_; +void SetLiveDomainCertificateRequest::setCertName(const std::string& certName) +{ + certName_ = certName; + setParameter("CertName", certName); } -void SetLiveDomainCertificateRequest::setCertName(const std::string &certName) { - certName_ = certName; - setParameter(std::string("CertName"), certName); +std::string SetLiveDomainCertificateRequest::getDomainName()const +{ + return domainName_; } -std::string SetLiveDomainCertificateRequest::getDomainName() const { - return domainName_; +void SetLiveDomainCertificateRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void SetLiveDomainCertificateRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long SetLiveDomainCertificateRequest::getOwnerId()const +{ + return ownerId_; } -long SetLiveDomainCertificateRequest::getOwnerId() const { - return ownerId_; +void SetLiveDomainCertificateRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void SetLiveDomainCertificateRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string SetLiveDomainCertificateRequest::getSSLPub()const +{ + return sSLPub_; } -std::string SetLiveDomainCertificateRequest::getSSLPub() const { - return sSLPub_; -} - -void SetLiveDomainCertificateRequest::setSSLPub(const std::string &sSLPub) { - sSLPub_ = sSLPub; - setParameter(std::string("SSLPub"), sSLPub); +void SetLiveDomainCertificateRequest::setSSLPub(const std::string& sSLPub) +{ + sSLPub_ = sSLPub; + setParameter("SSLPub", sSLPub); } diff --git a/live/src/model/SetLiveDomainSpecialConfigRequest.cc b/live/src/model/SetLiveDomainSpecialConfigRequest.cc new file mode 100644 index 000000000..215b15826 --- /dev/null +++ b/live/src/model/SetLiveDomainSpecialConfigRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +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/SetLiveDomainSpecialConfigResult.cc b/live/src/model/SetLiveDomainSpecialConfigResult.cc new file mode 100644 index 000000000..3e5c9cf17 --- /dev/null +++ b/live/src/model/SetLiveDomainSpecialConfigResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +SetLiveDomainSpecialConfigResult::SetLiveDomainSpecialConfigResult() : + ServiceResult() +{} + +SetLiveDomainSpecialConfigResult::SetLiveDomainSpecialConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetLiveDomainSpecialConfigResult::~SetLiveDomainSpecialConfigResult() +{} + +void SetLiveDomainSpecialConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/SetLiveDomainStagingConfigRequest.cc b/live/src/model/SetLiveDomainStagingConfigRequest.cc index b890a169b..c89fc7667 100644 --- a/live/src/model/SetLiveDomainStagingConfigRequest.cc +++ b/live/src/model/SetLiveDomainStagingConfigRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::SetLiveDomainStagingConfigRequest; - -SetLiveDomainStagingConfigRequest::SetLiveDomainStagingConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "SetLiveDomainStagingConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -SetLiveDomainStagingConfigRequest::~SetLiveDomainStagingConfigRequest() {} - -std::string SetLiveDomainStagingConfigRequest::getFunctions() const { - return functions_; +void SetLiveDomainStagingConfigRequest::setFunctions(const std::string& functions) +{ + functions_ = functions; + setParameter("Functions", functions); } -void SetLiveDomainStagingConfigRequest::setFunctions(const std::string &functions) { - functions_ = functions; - setParameter(std::string("Functions"), functions); +std::string SetLiveDomainStagingConfigRequest::getDomainName()const +{ + return domainName_; } -std::string SetLiveDomainStagingConfigRequest::getDomainName() const { - return domainName_; +void SetLiveDomainStagingConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void SetLiveDomainStagingConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long SetLiveDomainStagingConfigRequest::getOwnerId()const +{ + return ownerId_; } -long SetLiveDomainStagingConfigRequest::getOwnerId() const { - return ownerId_; -} - -void SetLiveDomainStagingConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void SetLiveDomainStagingConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/SetLiveEdgeTransferRequest.cc b/live/src/model/SetLiveEdgeTransferRequest.cc index e24a37f94..4137798a7 100644 --- a/live/src/model/SetLiveEdgeTransferRequest.cc +++ b/live/src/model/SetLiveEdgeTransferRequest.cc @@ -1,90 +1,106 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::SetLiveEdgeTransferRequest; - -SetLiveEdgeTransferRequest::SetLiveEdgeTransferRequest() - : RpcServiceRequest("live", "2016-11-01", "SetLiveEdgeTransfer") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -SetLiveEdgeTransferRequest::~SetLiveEdgeTransferRequest() {} - -std::string SetLiveEdgeTransferRequest::getTransferArgs() const { - return transferArgs_; +void SetLiveEdgeTransferRequest::setTransferArgs(const std::string& transferArgs) +{ + transferArgs_ = transferArgs; + setParameter("TransferArgs", transferArgs); } -void SetLiveEdgeTransferRequest::setTransferArgs(const std::string &transferArgs) { - transferArgs_ = transferArgs; - setParameter(std::string("TransferArgs"), transferArgs); +std::string SetLiveEdgeTransferRequest::getAppName()const +{ + return appName_; } -std::string SetLiveEdgeTransferRequest::getAppName() const { - return appName_; +void SetLiveEdgeTransferRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void SetLiveEdgeTransferRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string SetLiveEdgeTransferRequest::getStreamName()const +{ + return streamName_; } -std::string SetLiveEdgeTransferRequest::getStreamName() const { - return streamName_; +void SetLiveEdgeTransferRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void SetLiveEdgeTransferRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string SetLiveEdgeTransferRequest::getTargetDomainList()const +{ + return targetDomainList_; } -std::string SetLiveEdgeTransferRequest::getTargetDomainList() const { - return targetDomainList_; +void SetLiveEdgeTransferRequest::setTargetDomainList(const std::string& targetDomainList) +{ + targetDomainList_ = targetDomainList; + setParameter("TargetDomainList", targetDomainList); } -void SetLiveEdgeTransferRequest::setTargetDomainList(const std::string &targetDomainList) { - targetDomainList_ = targetDomainList; - setParameter(std::string("TargetDomainList"), targetDomainList); +std::string SetLiveEdgeTransferRequest::getDomainName()const +{ + return domainName_; } -std::string SetLiveEdgeTransferRequest::getDomainName() const { - return domainName_; +void SetLiveEdgeTransferRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void SetLiveEdgeTransferRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long SetLiveEdgeTransferRequest::getOwnerId()const +{ + return ownerId_; } -long SetLiveEdgeTransferRequest::getOwnerId() const { - return ownerId_; +void SetLiveEdgeTransferRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void SetLiveEdgeTransferRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string SetLiveEdgeTransferRequest::getHttpDns()const +{ + return httpDns_; } -std::string SetLiveEdgeTransferRequest::getHttpDns() const { - return httpDns_; -} - -void SetLiveEdgeTransferRequest::setHttpDns(const std::string &httpDns) { - httpDns_ = httpDns; - setParameter(std::string("HttpDns"), httpDns); +void SetLiveEdgeTransferRequest::setHttpDns(const std::string& httpDns) +{ + httpDns_ = httpDns; + setParameter("HttpDns", httpDns); } diff --git a/live/src/model/SetLiveLazyPullStreamInfoConfigRequest.cc b/live/src/model/SetLiveLazyPullStreamInfoConfigRequest.cc index d68a8a156..a3334393a 100644 --- a/live/src/model/SetLiveLazyPullStreamInfoConfigRequest.cc +++ b/live/src/model/SetLiveLazyPullStreamInfoConfigRequest.cc @@ -1,117 +1,139 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -SetLiveLazyPullStreamInfoConfigRequest::~SetLiveLazyPullStreamInfoConfigRequest() {} - -std::string SetLiveLazyPullStreamInfoConfigRequest::getPullArgs() const { - return pullArgs_; +void SetLiveLazyPullStreamInfoConfigRequest::setPullArgs(const std::string& pullArgs) +{ + pullArgs_ = pullArgs; + setParameter("PullArgs", pullArgs); } -void SetLiveLazyPullStreamInfoConfigRequest::setPullArgs(const std::string &pullArgs) { - pullArgs_ = pullArgs; - setParameter(std::string("PullArgs"), pullArgs); +std::string SetLiveLazyPullStreamInfoConfigRequest::getAppName()const +{ + return appName_; } -std::string SetLiveLazyPullStreamInfoConfigRequest::getAppName() const { - return appName_; +void SetLiveLazyPullStreamInfoConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void SetLiveLazyPullStreamInfoConfigRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string SetLiveLazyPullStreamInfoConfigRequest::getLiveapiRequestFrom()const +{ + return liveapiRequestFrom_; } -std::string SetLiveLazyPullStreamInfoConfigRequest::getLiveapiRequestFrom() const { - return liveapiRequestFrom_; +void SetLiveLazyPullStreamInfoConfigRequest::setLiveapiRequestFrom(const std::string& liveapiRequestFrom) +{ + liveapiRequestFrom_ = liveapiRequestFrom; + setParameter("LiveapiRequestFrom", liveapiRequestFrom); } -void SetLiveLazyPullStreamInfoConfigRequest::setLiveapiRequestFrom(const std::string &liveapiRequestFrom) { - liveapiRequestFrom_ = liveapiRequestFrom; - setParameter(std::string("LiveapiRequestFrom"), liveapiRequestFrom); +std::string SetLiveLazyPullStreamInfoConfigRequest::getPullAuthKey()const +{ + return pullAuthKey_; } -std::string SetLiveLazyPullStreamInfoConfigRequest::getPullAuthKey() const { - return pullAuthKey_; +void SetLiveLazyPullStreamInfoConfigRequest::setPullAuthKey(const std::string& pullAuthKey) +{ + pullAuthKey_ = pullAuthKey; + setParameter("PullAuthKey", pullAuthKey); } -void SetLiveLazyPullStreamInfoConfigRequest::setPullAuthKey(const std::string &pullAuthKey) { - pullAuthKey_ = pullAuthKey; - setParameter(std::string("PullAuthKey"), pullAuthKey); +std::string SetLiveLazyPullStreamInfoConfigRequest::getPullAuthType()const +{ + return pullAuthType_; } -std::string SetLiveLazyPullStreamInfoConfigRequest::getPullAuthType() const { - return pullAuthType_; +void SetLiveLazyPullStreamInfoConfigRequest::setPullAuthType(const std::string& pullAuthType) +{ + pullAuthType_ = pullAuthType; + setParameter("PullAuthType", pullAuthType); } -void SetLiveLazyPullStreamInfoConfigRequest::setPullAuthType(const std::string &pullAuthType) { - pullAuthType_ = pullAuthType; - setParameter(std::string("PullAuthType"), pullAuthType); +std::string SetLiveLazyPullStreamInfoConfigRequest::getDomainName()const +{ + return domainName_; } -std::string SetLiveLazyPullStreamInfoConfigRequest::getDomainName() const { - return domainName_; +void SetLiveLazyPullStreamInfoConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void SetLiveLazyPullStreamInfoConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string SetLiveLazyPullStreamInfoConfigRequest::getPullDomainName()const +{ + return pullDomainName_; } -std::string SetLiveLazyPullStreamInfoConfigRequest::getPullDomainName() const { - return pullDomainName_; +void SetLiveLazyPullStreamInfoConfigRequest::setPullDomainName(const std::string& pullDomainName) +{ + pullDomainName_ = pullDomainName; + setParameter("PullDomainName", pullDomainName); } -void SetLiveLazyPullStreamInfoConfigRequest::setPullDomainName(const std::string &pullDomainName) { - pullDomainName_ = pullDomainName; - setParameter(std::string("PullDomainName"), pullDomainName); +long SetLiveLazyPullStreamInfoConfigRequest::getOwnerId()const +{ + return ownerId_; } -long SetLiveLazyPullStreamInfoConfigRequest::getOwnerId() const { - return ownerId_; +void SetLiveLazyPullStreamInfoConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void SetLiveLazyPullStreamInfoConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string SetLiveLazyPullStreamInfoConfigRequest::getPullAppName()const +{ + return pullAppName_; } -std::string SetLiveLazyPullStreamInfoConfigRequest::getPullAppName() const { - return pullAppName_; +void SetLiveLazyPullStreamInfoConfigRequest::setPullAppName(const std::string& pullAppName) +{ + pullAppName_ = pullAppName; + setParameter("PullAppName", pullAppName); } -void SetLiveLazyPullStreamInfoConfigRequest::setPullAppName(const std::string &pullAppName) { - pullAppName_ = pullAppName; - setParameter(std::string("PullAppName"), pullAppName); +std::string SetLiveLazyPullStreamInfoConfigRequest::getPullProtocol()const +{ + return pullProtocol_; } -std::string SetLiveLazyPullStreamInfoConfigRequest::getPullProtocol() const { - return pullProtocol_; -} - -void SetLiveLazyPullStreamInfoConfigRequest::setPullProtocol(const std::string &pullProtocol) { - pullProtocol_ = pullProtocol; - setParameter(std::string("PullProtocol"), pullProtocol); +void SetLiveLazyPullStreamInfoConfigRequest::setPullProtocol(const std::string& pullProtocol) +{ + pullProtocol_ = pullProtocol; + setParameter("PullProtocol", pullProtocol); } diff --git a/live/src/model/SetLiveStreamDelayConfigRequest.cc b/live/src/model/SetLiveStreamDelayConfigRequest.cc index b43a4f2d7..347853b71 100644 --- a/live/src/model/SetLiveStreamDelayConfigRequest.cc +++ b/live/src/model/SetLiveStreamDelayConfigRequest.cc @@ -1,99 +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::SetLiveStreamDelayConfigRequest; - -SetLiveStreamDelayConfigRequest::SetLiveStreamDelayConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "SetLiveStreamDelayConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -SetLiveStreamDelayConfigRequest::~SetLiveStreamDelayConfigRequest() {} - -std::string SetLiveStreamDelayConfigRequest::getFlvLevel() const { - return flvLevel_; +void SetLiveStreamDelayConfigRequest::setFlvLevel(const std::string& flvLevel) +{ + flvLevel_ = flvLevel; + setParameter("FlvLevel", flvLevel); } -void SetLiveStreamDelayConfigRequest::setFlvLevel(const std::string &flvLevel) { - flvLevel_ = flvLevel; - setParameter(std::string("FlvLevel"), flvLevel); +std::string SetLiveStreamDelayConfigRequest::getHlsLevel()const +{ + return hlsLevel_; } -std::string SetLiveStreamDelayConfigRequest::getHlsLevel() const { - return hlsLevel_; +void SetLiveStreamDelayConfigRequest::setHlsLevel(const std::string& hlsLevel) +{ + hlsLevel_ = hlsLevel; + setParameter("HlsLevel", hlsLevel); } -void SetLiveStreamDelayConfigRequest::setHlsLevel(const std::string &hlsLevel) { - hlsLevel_ = hlsLevel; - setParameter(std::string("HlsLevel"), hlsLevel); +int SetLiveStreamDelayConfigRequest::getRtmpDelay()const +{ + return rtmpDelay_; } -int SetLiveStreamDelayConfigRequest::getRtmpDelay() const { - return rtmpDelay_; +void SetLiveStreamDelayConfigRequest::setRtmpDelay(int rtmpDelay) +{ + rtmpDelay_ = rtmpDelay; + setParameter("RtmpDelay", std::to_string(rtmpDelay)); } -void SetLiveStreamDelayConfigRequest::setRtmpDelay(int rtmpDelay) { - rtmpDelay_ = rtmpDelay; - setParameter(std::string("RtmpDelay"), std::to_string(rtmpDelay)); +std::string SetLiveStreamDelayConfigRequest::getDomainName()const +{ + return domainName_; } -std::string SetLiveStreamDelayConfigRequest::getDomainName() const { - return domainName_; +void SetLiveStreamDelayConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void SetLiveStreamDelayConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long SetLiveStreamDelayConfigRequest::getOwnerId()const +{ + return ownerId_; } -long SetLiveStreamDelayConfigRequest::getOwnerId() const { - return ownerId_; +void SetLiveStreamDelayConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void SetLiveStreamDelayConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +int SetLiveStreamDelayConfigRequest::getFlvDelay()const +{ + return flvDelay_; } -int SetLiveStreamDelayConfigRequest::getFlvDelay() const { - return flvDelay_; +void SetLiveStreamDelayConfigRequest::setFlvDelay(int flvDelay) +{ + flvDelay_ = flvDelay; + setParameter("FlvDelay", std::to_string(flvDelay)); } -void SetLiveStreamDelayConfigRequest::setFlvDelay(int flvDelay) { - flvDelay_ = flvDelay; - setParameter(std::string("FlvDelay"), std::to_string(flvDelay)); +std::string SetLiveStreamDelayConfigRequest::getRtmpLevel()const +{ + return rtmpLevel_; } -std::string SetLiveStreamDelayConfigRequest::getRtmpLevel() const { - return rtmpLevel_; +void SetLiveStreamDelayConfigRequest::setRtmpLevel(const std::string& rtmpLevel) +{ + rtmpLevel_ = rtmpLevel; + setParameter("RtmpLevel", rtmpLevel); } -void SetLiveStreamDelayConfigRequest::setRtmpLevel(const std::string &rtmpLevel) { - rtmpLevel_ = rtmpLevel; - setParameter(std::string("RtmpLevel"), rtmpLevel); +int SetLiveStreamDelayConfigRequest::getHlsDelay()const +{ + return hlsDelay_; } -int SetLiveStreamDelayConfigRequest::getHlsDelay() const { - return hlsDelay_; -} - -void SetLiveStreamDelayConfigRequest::setHlsDelay(int hlsDelay) { - hlsDelay_ = hlsDelay; - setParameter(std::string("HlsDelay"), std::to_string(hlsDelay)); +void SetLiveStreamDelayConfigRequest::setHlsDelay(int hlsDelay) +{ + hlsDelay_ = hlsDelay; + setParameter("HlsDelay", std::to_string(hlsDelay)); } diff --git a/live/src/model/SetLiveStreamOptimizedFeatureConfigRequest.cc b/live/src/model/SetLiveStreamOptimizedFeatureConfigRequest.cc index ced249912..bcdce800e 100644 --- a/live/src/model/SetLiveStreamOptimizedFeatureConfigRequest.cc +++ b/live/src/model/SetLiveStreamOptimizedFeatureConfigRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::SetLiveStreamOptimizedFeatureConfigRequest; - -SetLiveStreamOptimizedFeatureConfigRequest::SetLiveStreamOptimizedFeatureConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "SetLiveStreamOptimizedFeatureConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -SetLiveStreamOptimizedFeatureConfigRequest::~SetLiveStreamOptimizedFeatureConfigRequest() {} - -std::string SetLiveStreamOptimizedFeatureConfigRequest::getConfigStatus() const { - return configStatus_; +void SetLiveStreamOptimizedFeatureConfigRequest::setConfigStatus(const std::string& configStatus) +{ + configStatus_ = configStatus; + setParameter("ConfigStatus", configStatus); } -void SetLiveStreamOptimizedFeatureConfigRequest::setConfigStatus(const std::string &configStatus) { - configStatus_ = configStatus; - setParameter(std::string("ConfigStatus"), configStatus); +std::string SetLiveStreamOptimizedFeatureConfigRequest::getConfigName()const +{ + return configName_; } -std::string SetLiveStreamOptimizedFeatureConfigRequest::getConfigName() const { - return configName_; +void SetLiveStreamOptimizedFeatureConfigRequest::setConfigName(const std::string& configName) +{ + configName_ = configName; + setParameter("ConfigName", configName); } -void SetLiveStreamOptimizedFeatureConfigRequest::setConfigName(const std::string &configName) { - configName_ = configName; - setParameter(std::string("ConfigName"), configName); +std::string SetLiveStreamOptimizedFeatureConfigRequest::getDomainName()const +{ + return domainName_; } -std::string SetLiveStreamOptimizedFeatureConfigRequest::getDomainName() const { - return domainName_; +void SetLiveStreamOptimizedFeatureConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void SetLiveStreamOptimizedFeatureConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string SetLiveStreamOptimizedFeatureConfigRequest::getConfigValue()const +{ + return configValue_; } -std::string SetLiveStreamOptimizedFeatureConfigRequest::getConfigValue() const { - return configValue_; +void SetLiveStreamOptimizedFeatureConfigRequest::setConfigValue(const std::string& configValue) +{ + configValue_ = configValue; + setParameter("ConfigValue", configValue); } -void SetLiveStreamOptimizedFeatureConfigRequest::setConfigValue(const std::string &configValue) { - configValue_ = configValue; - setParameter(std::string("ConfigValue"), configValue); +long SetLiveStreamOptimizedFeatureConfigRequest::getOwnerId()const +{ + return ownerId_; } -long SetLiveStreamOptimizedFeatureConfigRequest::getOwnerId() const { - return ownerId_; -} - -void SetLiveStreamOptimizedFeatureConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void SetLiveStreamOptimizedFeatureConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/SetLiveStreamsNotifyUrlConfigRequest.cc b/live/src/model/SetLiveStreamsNotifyUrlConfigRequest.cc index cba90c35f..0b0f347ee 100644 --- a/live/src/model/SetLiveStreamsNotifyUrlConfigRequest.cc +++ b/live/src/model/SetLiveStreamsNotifyUrlConfigRequest.cc @@ -1,99 +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::SetLiveStreamsNotifyUrlConfigRequest; - -SetLiveStreamsNotifyUrlConfigRequest::SetLiveStreamsNotifyUrlConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "SetLiveStreamsNotifyUrlConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -SetLiveStreamsNotifyUrlConfigRequest::~SetLiveStreamsNotifyUrlConfigRequest() {} - -std::string SetLiveStreamsNotifyUrlConfigRequest::getAuthKey() const { - return authKey_; +void SetLiveStreamsNotifyUrlConfigRequest::setAuthKey(const std::string& authKey) +{ + authKey_ = authKey; + setParameter("AuthKey", authKey); } -void SetLiveStreamsNotifyUrlConfigRequest::setAuthKey(const std::string &authKey) { - authKey_ = authKey; - setParameter(std::string("AuthKey"), authKey); +std::string SetLiveStreamsNotifyUrlConfigRequest::getAuthType()const +{ + return authType_; } -std::string SetLiveStreamsNotifyUrlConfigRequest::getAuthType() const { - return authType_; +void SetLiveStreamsNotifyUrlConfigRequest::setAuthType(const std::string& authType) +{ + authType_ = authType; + setParameter("AuthType", authType); } -void SetLiveStreamsNotifyUrlConfigRequest::setAuthType(const std::string &authType) { - authType_ = authType; - setParameter(std::string("AuthType"), authType); +std::string SetLiveStreamsNotifyUrlConfigRequest::getNotifyReqAuth()const +{ + return notifyReqAuth_; } -std::string SetLiveStreamsNotifyUrlConfigRequest::getNotifyReqAuth() const { - return notifyReqAuth_; +void SetLiveStreamsNotifyUrlConfigRequest::setNotifyReqAuth(const std::string& notifyReqAuth) +{ + notifyReqAuth_ = notifyReqAuth; + setParameter("NotifyReqAuth", notifyReqAuth); } -void SetLiveStreamsNotifyUrlConfigRequest::setNotifyReqAuth(const std::string ¬ifyReqAuth) { - notifyReqAuth_ = notifyReqAuth; - setParameter(std::string("NotifyReqAuth"), notifyReqAuth); +std::string SetLiveStreamsNotifyUrlConfigRequest::getNotifyUrl()const +{ + return notifyUrl_; } -std::string SetLiveStreamsNotifyUrlConfigRequest::getNotifyUrl() const { - return notifyUrl_; +void SetLiveStreamsNotifyUrlConfigRequest::setNotifyUrl(const std::string& notifyUrl) +{ + notifyUrl_ = notifyUrl; + setParameter("NotifyUrl", notifyUrl); } -void SetLiveStreamsNotifyUrlConfigRequest::setNotifyUrl(const std::string ¬ifyUrl) { - notifyUrl_ = notifyUrl; - setParameter(std::string("NotifyUrl"), notifyUrl); +std::string SetLiveStreamsNotifyUrlConfigRequest::getNotifyType()const +{ + return notifyType_; } -std::string SetLiveStreamsNotifyUrlConfigRequest::getNotifyType() const { - return notifyType_; +void SetLiveStreamsNotifyUrlConfigRequest::setNotifyType(const std::string& notifyType) +{ + notifyType_ = notifyType; + setParameter("NotifyType", notifyType); } -void SetLiveStreamsNotifyUrlConfigRequest::setNotifyType(const std::string ¬ifyType) { - notifyType_ = notifyType; - setParameter(std::string("NotifyType"), notifyType); +std::string SetLiveStreamsNotifyUrlConfigRequest::getDomainName()const +{ + return domainName_; } -std::string SetLiveStreamsNotifyUrlConfigRequest::getDomainName() const { - return domainName_; +void SetLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void SetLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long SetLiveStreamsNotifyUrlConfigRequest::getOwnerId()const +{ + return ownerId_; } -long SetLiveStreamsNotifyUrlConfigRequest::getOwnerId() const { - return ownerId_; +void SetLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void SetLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string SetLiveStreamsNotifyUrlConfigRequest::getNotifyAuthKey()const +{ + return notifyAuthKey_; } -std::string SetLiveStreamsNotifyUrlConfigRequest::getNotifyAuthKey() const { - return notifyAuthKey_; -} - -void SetLiveStreamsNotifyUrlConfigRequest::setNotifyAuthKey(const std::string ¬ifyAuthKey) { - notifyAuthKey_ = notifyAuthKey; - setParameter(std::string("NotifyAuthKey"), notifyAuthKey); +void SetLiveStreamsNotifyUrlConfigRequest::setNotifyAuthKey(const std::string& notifyAuthKey) +{ + notifyAuthKey_ = notifyAuthKey; + setParameter("NotifyAuthKey", notifyAuthKey); } diff --git a/live/src/model/SetSnapshotCallbackAuthRequest.cc b/live/src/model/SetSnapshotCallbackAuthRequest.cc index 02745a4dc..b0a090044 100644 --- a/live/src/model/SetSnapshotCallbackAuthRequest.cc +++ b/live/src/model/SetSnapshotCallbackAuthRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::SetSnapshotCallbackAuthRequest; - -SetSnapshotCallbackAuthRequest::SetSnapshotCallbackAuthRequest() - : RpcServiceRequest("live", "2016-11-01", "SetSnapshotCallbackAuth") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -SetSnapshotCallbackAuthRequest::~SetSnapshotCallbackAuthRequest() {} - -std::string SetSnapshotCallbackAuthRequest::getCallbackAuthKey() const { - return callbackAuthKey_; +void SetSnapshotCallbackAuthRequest::setCallbackAuthKey(const std::string& callbackAuthKey) +{ + callbackAuthKey_ = callbackAuthKey; + setParameter("CallbackAuthKey", callbackAuthKey); } -void SetSnapshotCallbackAuthRequest::setCallbackAuthKey(const std::string &callbackAuthKey) { - callbackAuthKey_ = callbackAuthKey; - setParameter(std::string("CallbackAuthKey"), callbackAuthKey); +std::string SetSnapshotCallbackAuthRequest::getDomainName()const +{ + return domainName_; } -std::string SetSnapshotCallbackAuthRequest::getDomainName() const { - return domainName_; +void SetSnapshotCallbackAuthRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void SetSnapshotCallbackAuthRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long SetSnapshotCallbackAuthRequest::getOwnerId()const +{ + return ownerId_; } -long SetSnapshotCallbackAuthRequest::getOwnerId() const { - return ownerId_; +void SetSnapshotCallbackAuthRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void SetSnapshotCallbackAuthRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string SetSnapshotCallbackAuthRequest::getCallbackReqAuth()const +{ + return callbackReqAuth_; } -std::string SetSnapshotCallbackAuthRequest::getCallbackReqAuth() const { - return callbackReqAuth_; -} - -void SetSnapshotCallbackAuthRequest::setCallbackReqAuth(const std::string &callbackReqAuth) { - callbackReqAuth_ = callbackReqAuth; - setParameter(std::string("CallbackReqAuth"), callbackReqAuth); +void SetSnapshotCallbackAuthRequest::setCallbackReqAuth(const std::string& callbackReqAuth) +{ + callbackReqAuth_ = callbackReqAuth; + setParameter("CallbackReqAuth", callbackReqAuth); } diff --git a/live/src/model/StartCasterRequest.cc b/live/src/model/StartCasterRequest.cc index feda74901..019165a4b 100644 --- a/live/src/model/StartCasterRequest.cc +++ b/live/src/model/StartCasterRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::StartCasterRequest; - -StartCasterRequest::StartCasterRequest() - : RpcServiceRequest("live", "2016-11-01", "StartCaster") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -StartCasterRequest::~StartCasterRequest() {} - -int StartCasterRequest::getPlayerType() const { - return playerType_; +void StartCasterRequest::setPlayerType(int playerType) +{ + playerType_ = playerType; + setParameter("PlayerType", std::to_string(playerType)); } -void StartCasterRequest::setPlayerType(int playerType) { - playerType_ = playerType; - setParameter(std::string("PlayerType"), std::to_string(playerType)); +std::string StartCasterRequest::getCasterId()const +{ + return casterId_; } -std::string StartCasterRequest::getCasterId() const { - return casterId_; +void StartCasterRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void StartCasterRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long StartCasterRequest::getOwnerId()const +{ + return ownerId_; } -long StartCasterRequest::getOwnerId() const { - return ownerId_; -} - -void StartCasterRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void StartCasterRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/StartCasterResult.cc b/live/src/model/StartCasterResult.cc index e51ae5e21..ceaab57e1 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 0bb003da2..fe7275a6a 100644 --- a/live/src/model/StartCasterSceneRequest.cc +++ b/live/src/model/StartCasterSceneRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::StartCasterSceneRequest; - -StartCasterSceneRequest::StartCasterSceneRequest() - : RpcServiceRequest("live", "2016-11-01", "StartCasterScene") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -StartCasterSceneRequest::~StartCasterSceneRequest() {} - -std::string StartCasterSceneRequest::getCasterId() const { - return casterId_; +void StartCasterSceneRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void StartCasterSceneRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long StartCasterSceneRequest::getOwnerId()const +{ + return ownerId_; } -long StartCasterSceneRequest::getOwnerId() const { - return ownerId_; +void StartCasterSceneRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void StartCasterSceneRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string StartCasterSceneRequest::getSceneId()const +{ + return sceneId_; } -std::string StartCasterSceneRequest::getSceneId() const { - return sceneId_; -} - -void StartCasterSceneRequest::setSceneId(const std::string &sceneId) { - sceneId_ = sceneId; - setParameter(std::string("SceneId"), sceneId); +void StartCasterSceneRequest::setSceneId(const std::string& sceneId) +{ + sceneId_ = sceneId; + setParameter("SceneId", sceneId); } diff --git a/live/src/model/StartLiveDomainRequest.cc b/live/src/model/StartLiveDomainRequest.cc index 5fa0020e2..5a1b312b2 100644 --- a/live/src/model/StartLiveDomainRequest.cc +++ b/live/src/model/StartLiveDomainRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::StartLiveDomainRequest; - -StartLiveDomainRequest::StartLiveDomainRequest() - : RpcServiceRequest("live", "2016-11-01", "StartLiveDomain") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -StartLiveDomainRequest::~StartLiveDomainRequest() {} - -std::string StartLiveDomainRequest::getDomainName() const { - return domainName_; +void StartLiveDomainRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void StartLiveDomainRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long StartLiveDomainRequest::getOwnerId()const +{ + return ownerId_; } -long StartLiveDomainRequest::getOwnerId() const { - return ownerId_; +void StartLiveDomainRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void StartLiveDomainRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string StartLiveDomainRequest::getSecurityToken()const +{ + return securityToken_; } -std::string StartLiveDomainRequest::getSecurityToken() const { - return securityToken_; -} - -void StartLiveDomainRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +void StartLiveDomainRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } diff --git a/live/src/model/StartLiveStreamMonitorRequest.cc b/live/src/model/StartLiveStreamMonitorRequest.cc index 1ba82fb03..6bf614c06 100644 --- a/live/src/model/StartLiveStreamMonitorRequest.cc +++ b/live/src/model/StartLiveStreamMonitorRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::StartLiveStreamMonitorRequest; - -StartLiveStreamMonitorRequest::StartLiveStreamMonitorRequest() - : RpcServiceRequest("live", "2016-11-01", "StartLiveStreamMonitor") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -StartLiveStreamMonitorRequest::~StartLiveStreamMonitorRequest() {} - -std::string StartLiveStreamMonitorRequest::getMonitorId() const { - return monitorId_; +void StartLiveStreamMonitorRequest::setMonitorId(const std::string& monitorId) +{ + monitorId_ = monitorId; + setParameter("MonitorId", monitorId); } -void StartLiveStreamMonitorRequest::setMonitorId(const std::string &monitorId) { - monitorId_ = monitorId; - setParameter(std::string("MonitorId"), monitorId); +long StartLiveStreamMonitorRequest::getOwnerId()const +{ + return ownerId_; } -long StartLiveStreamMonitorRequest::getOwnerId() const { - return ownerId_; -} - -void StartLiveStreamMonitorRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void StartLiveStreamMonitorRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/StartPlaylistRequest.cc b/live/src/model/StartPlaylistRequest.cc index 5ddb80959..886f7b1a3 100644 --- a/live/src/model/StartPlaylistRequest.cc +++ b/live/src/model/StartPlaylistRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::StartPlaylistRequest; - -StartPlaylistRequest::StartPlaylistRequest() - : RpcServiceRequest("live", "2016-11-01", "StartPlaylist") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -StartPlaylistRequest::~StartPlaylistRequest() {} - -std::string StartPlaylistRequest::getResumeMode() const { - return resumeMode_; +void StartPlaylistRequest::setResumeMode(const std::string& resumeMode) +{ + resumeMode_ = resumeMode; + setParameter("ResumeMode", resumeMode); } -void StartPlaylistRequest::setResumeMode(const std::string &resumeMode) { - resumeMode_ = resumeMode; - setParameter(std::string("ResumeMode"), resumeMode); +std::string StartPlaylistRequest::getStartItemId()const +{ + return startItemId_; } -std::string StartPlaylistRequest::getStartItemId() const { - return startItemId_; +void StartPlaylistRequest::setStartItemId(const std::string& startItemId) +{ + startItemId_ = startItemId; + setParameter("StartItemId", startItemId); } -void StartPlaylistRequest::setStartItemId(const std::string &startItemId) { - startItemId_ = startItemId; - setParameter(std::string("StartItemId"), startItemId); +std::string StartPlaylistRequest::getProgramId()const +{ + return programId_; } -std::string StartPlaylistRequest::getProgramId() const { - return programId_; +void StartPlaylistRequest::setProgramId(const std::string& programId) +{ + programId_ = programId; + setParameter("ProgramId", programId); } -void StartPlaylistRequest::setProgramId(const std::string &programId) { - programId_ = programId; - setParameter(std::string("ProgramId"), programId); +int StartPlaylistRequest::getOffset()const +{ + return offset_; } -int StartPlaylistRequest::getOffset() const { - return offset_; +void StartPlaylistRequest::setOffset(int offset) +{ + offset_ = offset; + setParameter("Offset", std::to_string(offset)); } -void StartPlaylistRequest::setOffset(int offset) { - offset_ = offset; - setParameter(std::string("Offset"), std::to_string(offset)); +long StartPlaylistRequest::getOwnerId()const +{ + return ownerId_; } -long StartPlaylistRequest::getOwnerId() const { - return ownerId_; -} - -void StartPlaylistRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void StartPlaylistRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/StartPlaylistResult.cc b/live/src/model/StartPlaylistResult.cc index 40bddb21c..e19e89c37 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["AppName"].isNull()) - streamInfo_.appName = streamInfoNode["AppName"].asString(); if(!streamInfoNode["DomainName"].isNull()) streamInfo_.domainName = streamInfoNode["DomainName"].asString(); + if(!streamInfoNode["AppName"].isNull()) + streamInfo_.appName = streamInfoNode["AppName"].asString(); if(!streamInfoNode["StreamName"].isNull()) streamInfo_.streamName = streamInfoNode["StreamName"].asString(); auto allStreamsNode = streamInfoNode["Streams"]["Stream"]; for (auto streamInfoNodeStreamsStream : allStreamsNode) { StreamInfo::Stream streamObject; - 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(); + if(!streamInfoNodeStreamsStream["PullM3U8Url"].isNull()) + streamObject.pullM3U8Url = streamInfoNodeStreamsStream["PullM3U8Url"].asString(); + if(!streamInfoNodeStreamsStream["Quality"].isNull()) + streamObject.quality = streamInfoNodeStreamsStream["Quality"].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 78153323b..484662880 100644 --- a/live/src/model/StopCasterRequest.cc +++ b/live/src/model/StopCasterRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::StopCasterRequest; - -StopCasterRequest::StopCasterRequest() - : RpcServiceRequest("live", "2016-11-01", "StopCaster") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -StopCasterRequest::~StopCasterRequest() {} - -std::string StopCasterRequest::getCasterId() const { - return casterId_; +void StopCasterRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void StopCasterRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long StopCasterRequest::getOwnerId()const +{ + return ownerId_; } -long StopCasterRequest::getOwnerId() const { - return ownerId_; -} - -void StopCasterRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void StopCasterRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/StopCasterSceneRequest.cc b/live/src/model/StopCasterSceneRequest.cc index 46e5e39c5..357c46190 100644 --- a/live/src/model/StopCasterSceneRequest.cc +++ b/live/src/model/StopCasterSceneRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::StopCasterSceneRequest; - -StopCasterSceneRequest::StopCasterSceneRequest() - : RpcServiceRequest("live", "2016-11-01", "StopCasterScene") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -StopCasterSceneRequest::~StopCasterSceneRequest() {} - -std::string StopCasterSceneRequest::getCasterId() const { - return casterId_; +void StopCasterSceneRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void StopCasterSceneRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long StopCasterSceneRequest::getOwnerId()const +{ + return ownerId_; } -long StopCasterSceneRequest::getOwnerId() const { - return ownerId_; +void StopCasterSceneRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void StopCasterSceneRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string StopCasterSceneRequest::getSceneId()const +{ + return sceneId_; } -std::string StopCasterSceneRequest::getSceneId() const { - return sceneId_; -} - -void StopCasterSceneRequest::setSceneId(const std::string &sceneId) { - sceneId_ = sceneId; - setParameter(std::string("SceneId"), sceneId); +void StopCasterSceneRequest::setSceneId(const std::string& sceneId) +{ + sceneId_ = sceneId; + setParameter("SceneId", sceneId); } diff --git a/live/src/model/StopLiveDomainRequest.cc b/live/src/model/StopLiveDomainRequest.cc index 6588355d2..66c631e42 100644 --- a/live/src/model/StopLiveDomainRequest.cc +++ b/live/src/model/StopLiveDomainRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::StopLiveDomainRequest; - -StopLiveDomainRequest::StopLiveDomainRequest() - : RpcServiceRequest("live", "2016-11-01", "StopLiveDomain") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -StopLiveDomainRequest::~StopLiveDomainRequest() {} - -std::string StopLiveDomainRequest::getDomainName() const { - return domainName_; +void StopLiveDomainRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void StopLiveDomainRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long StopLiveDomainRequest::getOwnerId()const +{ + return ownerId_; } -long StopLiveDomainRequest::getOwnerId() const { - return ownerId_; +void StopLiveDomainRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void StopLiveDomainRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string StopLiveDomainRequest::getSecurityToken()const +{ + return securityToken_; } -std::string StopLiveDomainRequest::getSecurityToken() const { - return securityToken_; -} - -void StopLiveDomainRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +void StopLiveDomainRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } diff --git a/live/src/model/StopLiveStreamMonitorRequest.cc b/live/src/model/StopLiveStreamMonitorRequest.cc index eb388fe29..f92d20fec 100644 --- a/live/src/model/StopLiveStreamMonitorRequest.cc +++ b/live/src/model/StopLiveStreamMonitorRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::StopLiveStreamMonitorRequest; - -StopLiveStreamMonitorRequest::StopLiveStreamMonitorRequest() - : RpcServiceRequest("live", "2016-11-01", "StopLiveStreamMonitor") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -StopLiveStreamMonitorRequest::~StopLiveStreamMonitorRequest() {} - -std::string StopLiveStreamMonitorRequest::getMonitorId() const { - return monitorId_; +void StopLiveStreamMonitorRequest::setMonitorId(const std::string& monitorId) +{ + monitorId_ = monitorId; + setParameter("MonitorId", monitorId); } -void StopLiveStreamMonitorRequest::setMonitorId(const std::string &monitorId) { - monitorId_ = monitorId; - setParameter(std::string("MonitorId"), monitorId); +long StopLiveStreamMonitorRequest::getOwnerId()const +{ + return ownerId_; } -long StopLiveStreamMonitorRequest::getOwnerId() const { - return ownerId_; -} - -void StopLiveStreamMonitorRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void StopLiveStreamMonitorRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/StopPlaylistRequest.cc b/live/src/model/StopPlaylistRequest.cc index 42d844ad1..f09090e64 100644 --- a/live/src/model/StopPlaylistRequest.cc +++ b/live/src/model/StopPlaylistRequest.cc @@ -1,45 +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 - -using AlibabaCloud::Live::Model::StopPlaylistRequest; - -StopPlaylistRequest::StopPlaylistRequest() - : RpcServiceRequest("live", "2016-11-01", "StopPlaylist") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -StopPlaylistRequest::~StopPlaylistRequest() {} - -std::string StopPlaylistRequest::getProgramId() const { - return programId_; +void StopPlaylistRequest::setProgramId(const std::string& programId) +{ + programId_ = programId; + setParameter("ProgramId", programId); } -void StopPlaylistRequest::setProgramId(const std::string &programId) { - programId_ = programId; - setParameter(std::string("ProgramId"), programId); +long StopPlaylistRequest::getOwnerId()const +{ + return ownerId_; } -long StopPlaylistRequest::getOwnerId() const { - return ownerId_; -} - -void StopPlaylistRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void StopPlaylistRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/TagLiveResourcesRequest.cc b/live/src/model/TagLiveResourcesRequest.cc index 36da62ed5..f688dc3f4 100644 --- a/live/src/model/TagLiveResourcesRequest.cc +++ b/live/src/model/TagLiveResourcesRequest.cc @@ -1,67 +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::TagLiveResourcesRequest; - -TagLiveResourcesRequest::TagLiveResourcesRequest() - : RpcServiceRequest("live", "2016-11-01", "TagLiveResources") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -TagLiveResourcesRequest::~TagLiveResourcesRequest() {} - -std::vector TagLiveResourcesRequest::getTag() const { - return tag_; +void TagLiveResourcesRequest::setTag(const std::vector& tag) +{ + tag_ = tag; + for(int dep1 = 0; dep1!= tag.size(); dep1++) { + auto tagObj = tag.at(dep1); + std::string tagObjStr = "Tag." + std::to_string(dep1 + 1); + setParameter(tagObjStr + ".Key", tagObj.key); + setParameter(tagObjStr + ".Value", tagObj.value); + } } -void TagLiveResourcesRequest::setTag(const std::vector &tag) { - tag_ = tag; - for(int dep1 = 0; dep1 != tag.size(); dep1++) { - auto tagObj = tag.at(dep1); - std::string tagObjStr = std::string("Tag") + "." + std::to_string(dep1 + 1); - setParameter(tagObjStr + ".Key", tagObj.key); - setParameter(tagObjStr + ".Value", tagObj.value); - } +std::vector TagLiveResourcesRequest::getResourceId()const +{ + return resourceId_; } -std::vector TagLiveResourcesRequest::getResourceId() const { - return resourceId_; +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)); + } } -void TagLiveResourcesRequest::setResourceId(const std::vector &resourceId) { - resourceId_ = resourceId; +long TagLiveResourcesRequest::getOwnerId()const +{ + return ownerId_; } -long TagLiveResourcesRequest::getOwnerId() const { - return ownerId_; +void TagLiveResourcesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void TagLiveResourcesRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string TagLiveResourcesRequest::getResourceType()const +{ + return resourceType_; } -std::string TagLiveResourcesRequest::getResourceType() const { - return resourceType_; -} - -void TagLiveResourcesRequest::setResourceType(const std::string &resourceType) { - resourceType_ = resourceType; - setParameter(std::string("ResourceType"), resourceType); +void TagLiveResourcesRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setParameter("ResourceType", resourceType); } diff --git a/live/src/model/UnTagLiveResourcesRequest.cc b/live/src/model/UnTagLiveResourcesRequest.cc index de5af7e1f..3a334c777 100644 --- a/live/src/model/UnTagLiveResourcesRequest.cc +++ b/live/src/model/UnTagLiveResourcesRequest.cc @@ -1,70 +1,88 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::UnTagLiveResourcesRequest; - -UnTagLiveResourcesRequest::UnTagLiveResourcesRequest() - : RpcServiceRequest("live", "2016-11-01", "UnTagLiveResources") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -UnTagLiveResourcesRequest::~UnTagLiveResourcesRequest() {} - -bool UnTagLiveResourcesRequest::getAll() const { - return all_; +void UnTagLiveResourcesRequest::setAll(bool all) +{ + all_ = all; + setParameter("All", all ? "true" : "false"); } -void UnTagLiveResourcesRequest::setAll(bool all) { - all_ = all; - setParameter(std::string("All"), all ? "true" : "false"); +std::vector UnTagLiveResourcesRequest::getResourceId()const +{ + return resourceId_; } -std::vector UnTagLiveResourcesRequest::getResourceId() const { - return resourceId_; +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)); + } } -void UnTagLiveResourcesRequest::setResourceId(const std::vector &resourceId) { - resourceId_ = resourceId; +long UnTagLiveResourcesRequest::getOwnerId()const +{ + return ownerId_; } -long UnTagLiveResourcesRequest::getOwnerId() const { - return ownerId_; +void UnTagLiveResourcesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void UnTagLiveResourcesRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string UnTagLiveResourcesRequest::getResourceType()const +{ + return resourceType_; } -std::string UnTagLiveResourcesRequest::getResourceType() const { - return resourceType_; +void UnTagLiveResourcesRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setParameter("ResourceType", resourceType); } -void UnTagLiveResourcesRequest::setResourceType(const std::string &resourceType) { - resourceType_ = resourceType; - setParameter(std::string("ResourceType"), resourceType); +std::vector UnTagLiveResourcesRequest::getTagKey()const +{ + return tagKey_; } -std::vector UnTagLiveResourcesRequest::getTagKey() const { - return tagKey_; -} - -void UnTagLiveResourcesRequest::setTagKey(const std::vector &tagKey) { - tagKey_ = tagKey; +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)); + } } diff --git a/live/src/model/UpdateCasterSceneAudioRequest.cc b/live/src/model/UpdateCasterSceneAudioRequest.cc index 291c0bb8c..e2f93d12f 100644 --- a/live/src/model/UpdateCasterSceneAudioRequest.cc +++ b/live/src/model/UpdateCasterSceneAudioRequest.cc @@ -1,86 +1,103 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::UpdateCasterSceneAudioRequest; - -UpdateCasterSceneAudioRequest::UpdateCasterSceneAudioRequest() - : RpcServiceRequest("live", "2016-11-01", "UpdateCasterSceneAudio") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -UpdateCasterSceneAudioRequest::~UpdateCasterSceneAudioRequest() {} - -std::string UpdateCasterSceneAudioRequest::getCasterId() const { - return casterId_; +void UpdateCasterSceneAudioRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void UpdateCasterSceneAudioRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long UpdateCasterSceneAudioRequest::getOwnerId()const +{ + return ownerId_; } -long UpdateCasterSceneAudioRequest::getOwnerId() const { - return ownerId_; +void UpdateCasterSceneAudioRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void UpdateCasterSceneAudioRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::vector UpdateCasterSceneAudioRequest::getAudioLayer()const +{ + return audioLayer_; } -std::vector UpdateCasterSceneAudioRequest::getAudioLayer() const { - return audioLayer_; +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)); + } } -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); - } +std::string UpdateCasterSceneAudioRequest::getSceneId()const +{ + return sceneId_; } -std::string UpdateCasterSceneAudioRequest::getSceneId() const { - return sceneId_; +void UpdateCasterSceneAudioRequest::setSceneId(const std::string& sceneId) +{ + sceneId_ = sceneId; + setParameter("SceneId", sceneId); } -void UpdateCasterSceneAudioRequest::setSceneId(const std::string &sceneId) { - sceneId_ = sceneId; - setParameter(std::string("SceneId"), sceneId); +std::vector UpdateCasterSceneAudioRequest::getMixList()const +{ + return mixList_; } -std::vector UpdateCasterSceneAudioRequest::getMixList() const { - return mixList_; +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)); + } } -void UpdateCasterSceneAudioRequest::setMixList(const std::vector &mixList) { - mixList_ = mixList; +int UpdateCasterSceneAudioRequest::getFollowEnable()const +{ + return followEnable_; } -int UpdateCasterSceneAudioRequest::getFollowEnable() const { - return followEnable_; -} - -void UpdateCasterSceneAudioRequest::setFollowEnable(int followEnable) { - followEnable_ = followEnable; - setParameter(std::string("FollowEnable"), std::to_string(followEnable)); +void UpdateCasterSceneAudioRequest::setFollowEnable(int followEnable) +{ + followEnable_ = followEnable; + setParameter("FollowEnable", std::to_string(followEnable)); } diff --git a/live/src/model/UpdateCasterSceneConfigRequest.cc b/live/src/model/UpdateCasterSceneConfigRequest.cc index b6dde58d4..769aa4f55 100644 --- a/live/src/model/UpdateCasterSceneConfigRequest.cc +++ b/live/src/model/UpdateCasterSceneConfigRequest.cc @@ -1,71 +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::UpdateCasterSceneConfigRequest; - -UpdateCasterSceneConfigRequest::UpdateCasterSceneConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "UpdateCasterSceneConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -UpdateCasterSceneConfigRequest::~UpdateCasterSceneConfigRequest() {} - -std::string UpdateCasterSceneConfigRequest::getLayoutId() const { - return layoutId_; +void UpdateCasterSceneConfigRequest::setLayoutId(const std::string& layoutId) +{ + layoutId_ = layoutId; + setParameter("LayoutId", layoutId); } -void UpdateCasterSceneConfigRequest::setLayoutId(const std::string &layoutId) { - layoutId_ = layoutId; - setParameter(std::string("LayoutId"), layoutId); +std::vector UpdateCasterSceneConfigRequest::getComponentId()const +{ + return componentId_; } -std::vector UpdateCasterSceneConfigRequest::getComponentId() const { - return componentId_; +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)); + } } -void UpdateCasterSceneConfigRequest::setComponentId(const std::vector &componentId) { - componentId_ = componentId; +std::string UpdateCasterSceneConfigRequest::getCasterId()const +{ + return casterId_; } -std::string UpdateCasterSceneConfigRequest::getCasterId() const { - return casterId_; +void UpdateCasterSceneConfigRequest::setCasterId(const std::string& casterId) +{ + casterId_ = casterId; + setParameter("CasterId", casterId); } -void UpdateCasterSceneConfigRequest::setCasterId(const std::string &casterId) { - casterId_ = casterId; - setParameter(std::string("CasterId"), casterId); +long UpdateCasterSceneConfigRequest::getOwnerId()const +{ + return ownerId_; } -long UpdateCasterSceneConfigRequest::getOwnerId() const { - return ownerId_; +void UpdateCasterSceneConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void UpdateCasterSceneConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string UpdateCasterSceneConfigRequest::getSceneId()const +{ + return sceneId_; } -std::string UpdateCasterSceneConfigRequest::getSceneId() const { - return sceneId_; -} - -void UpdateCasterSceneConfigRequest::setSceneId(const std::string &sceneId) { - sceneId_ = sceneId; - setParameter(std::string("SceneId"), sceneId); +void UpdateCasterSceneConfigRequest::setSceneId(const std::string& sceneId) +{ + sceneId_ = sceneId; + setParameter("SceneId", sceneId); } diff --git a/live/src/model/UpdateLiveAppSnapshotConfigRequest.cc b/live/src/model/UpdateLiveAppSnapshotConfigRequest.cc index 105d71d05..4a670f4e6 100644 --- a/live/src/model/UpdateLiveAppSnapshotConfigRequest.cc +++ b/live/src/model/UpdateLiveAppSnapshotConfigRequest.cc @@ -1,117 +1,139 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -UpdateLiveAppSnapshotConfigRequest::~UpdateLiveAppSnapshotConfigRequest() {} - -int UpdateLiveAppSnapshotConfigRequest::getTimeInterval() const { - return timeInterval_; +void UpdateLiveAppSnapshotConfigRequest::setTimeInterval(int timeInterval) +{ + timeInterval_ = timeInterval; + setParameter("TimeInterval", std::to_string(timeInterval)); } -void UpdateLiveAppSnapshotConfigRequest::setTimeInterval(int timeInterval) { - timeInterval_ = timeInterval; - setParameter(std::string("TimeInterval"), std::to_string(timeInterval)); +std::string UpdateLiveAppSnapshotConfigRequest::getOssEndpoint()const +{ + return ossEndpoint_; } -std::string UpdateLiveAppSnapshotConfigRequest::getOssEndpoint() const { - return ossEndpoint_; +void UpdateLiveAppSnapshotConfigRequest::setOssEndpoint(const std::string& ossEndpoint) +{ + ossEndpoint_ = ossEndpoint; + setParameter("OssEndpoint", ossEndpoint); } -void UpdateLiveAppSnapshotConfigRequest::setOssEndpoint(const std::string &ossEndpoint) { - ossEndpoint_ = ossEndpoint; - setParameter(std::string("OssEndpoint"), ossEndpoint); +std::string UpdateLiveAppSnapshotConfigRequest::getAppName()const +{ + return appName_; } -std::string UpdateLiveAppSnapshotConfigRequest::getAppName() const { - return appName_; +void UpdateLiveAppSnapshotConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void UpdateLiveAppSnapshotConfigRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string UpdateLiveAppSnapshotConfigRequest::getSecurityToken()const +{ + return securityToken_; } -std::string UpdateLiveAppSnapshotConfigRequest::getSecurityToken() const { - return securityToken_; +void UpdateLiveAppSnapshotConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void UpdateLiveAppSnapshotConfigRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string UpdateLiveAppSnapshotConfigRequest::getOverwriteOssObject()const +{ + return overwriteOssObject_; } -std::string UpdateLiveAppSnapshotConfigRequest::getOverwriteOssObject() const { - return overwriteOssObject_; +void UpdateLiveAppSnapshotConfigRequest::setOverwriteOssObject(const std::string& overwriteOssObject) +{ + overwriteOssObject_ = overwriteOssObject; + setParameter("OverwriteOssObject", overwriteOssObject); } -void UpdateLiveAppSnapshotConfigRequest::setOverwriteOssObject(const std::string &overwriteOssObject) { - overwriteOssObject_ = overwriteOssObject; - setParameter(std::string("OverwriteOssObject"), overwriteOssObject); +std::string UpdateLiveAppSnapshotConfigRequest::getOssBucket()const +{ + return ossBucket_; } -std::string UpdateLiveAppSnapshotConfigRequest::getOssBucket() const { - return ossBucket_; +void UpdateLiveAppSnapshotConfigRequest::setOssBucket(const std::string& ossBucket) +{ + ossBucket_ = ossBucket; + setParameter("OssBucket", ossBucket); } -void UpdateLiveAppSnapshotConfigRequest::setOssBucket(const std::string &ossBucket) { - ossBucket_ = ossBucket; - setParameter(std::string("OssBucket"), ossBucket); +std::string UpdateLiveAppSnapshotConfigRequest::getDomainName()const +{ + return domainName_; } -std::string UpdateLiveAppSnapshotConfigRequest::getDomainName() const { - return domainName_; +void UpdateLiveAppSnapshotConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void UpdateLiveAppSnapshotConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string UpdateLiveAppSnapshotConfigRequest::getSequenceOssObject()const +{ + return sequenceOssObject_; } -std::string UpdateLiveAppSnapshotConfigRequest::getSequenceOssObject() const { - return sequenceOssObject_; +void UpdateLiveAppSnapshotConfigRequest::setSequenceOssObject(const std::string& sequenceOssObject) +{ + sequenceOssObject_ = sequenceOssObject; + setParameter("SequenceOssObject", sequenceOssObject); } -void UpdateLiveAppSnapshotConfigRequest::setSequenceOssObject(const std::string &sequenceOssObject) { - sequenceOssObject_ = sequenceOssObject; - setParameter(std::string("SequenceOssObject"), sequenceOssObject); +long UpdateLiveAppSnapshotConfigRequest::getOwnerId()const +{ + return ownerId_; } -long UpdateLiveAppSnapshotConfigRequest::getOwnerId() const { - return ownerId_; +void UpdateLiveAppSnapshotConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void UpdateLiveAppSnapshotConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string UpdateLiveAppSnapshotConfigRequest::getCallback()const +{ + return callback_; } -std::string UpdateLiveAppSnapshotConfigRequest::getCallback() const { - return callback_; -} - -void UpdateLiveAppSnapshotConfigRequest::setCallback(const std::string &callback) { - callback_ = callback; - setParameter(std::string("Callback"), callback); +void UpdateLiveAppSnapshotConfigRequest::setCallback(const std::string& callback) +{ + callback_ = callback; + setParameter("Callback", callback); } diff --git a/live/src/model/UpdateLiveAudioAuditConfigRequest.cc b/live/src/model/UpdateLiveAudioAuditConfigRequest.cc index b3bea4509..69819e035 100644 --- a/live/src/model/UpdateLiveAudioAuditConfigRequest.cc +++ b/live/src/model/UpdateLiveAudioAuditConfigRequest.cc @@ -1,99 +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::UpdateLiveAudioAuditConfigRequest; - -UpdateLiveAudioAuditConfigRequest::UpdateLiveAudioAuditConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "UpdateLiveAudioAuditConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -UpdateLiveAudioAuditConfigRequest::~UpdateLiveAudioAuditConfigRequest() {} - -std::string UpdateLiveAudioAuditConfigRequest::getOssEndpoint() const { - return ossEndpoint_; +void UpdateLiveAudioAuditConfigRequest::setOssEndpoint(const std::string& ossEndpoint) +{ + ossEndpoint_ = ossEndpoint; + setParameter("OssEndpoint", ossEndpoint); } -void UpdateLiveAudioAuditConfigRequest::setOssEndpoint(const std::string &ossEndpoint) { - ossEndpoint_ = ossEndpoint; - setParameter(std::string("OssEndpoint"), ossEndpoint); +std::string UpdateLiveAudioAuditConfigRequest::getOssObject()const +{ + return ossObject_; } -std::string UpdateLiveAudioAuditConfigRequest::getOssObject() const { - return ossObject_; +void UpdateLiveAudioAuditConfigRequest::setOssObject(const std::string& ossObject) +{ + ossObject_ = ossObject; + setParameter("OssObject", ossObject); } -void UpdateLiveAudioAuditConfigRequest::setOssObject(const std::string &ossObject) { - ossObject_ = ossObject; - setParameter(std::string("OssObject"), ossObject); +std::string UpdateLiveAudioAuditConfigRequest::getAppName()const +{ + return appName_; } -std::string UpdateLiveAudioAuditConfigRequest::getAppName() const { - return appName_; +void UpdateLiveAudioAuditConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void UpdateLiveAudioAuditConfigRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string UpdateLiveAudioAuditConfigRequest::getStreamName()const +{ + return streamName_; } -std::string UpdateLiveAudioAuditConfigRequest::getStreamName() const { - return streamName_; +void UpdateLiveAudioAuditConfigRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void UpdateLiveAudioAuditConfigRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string UpdateLiveAudioAuditConfigRequest::getOssBucket()const +{ + return ossBucket_; } -std::string UpdateLiveAudioAuditConfigRequest::getOssBucket() const { - return ossBucket_; +void UpdateLiveAudioAuditConfigRequest::setOssBucket(const std::string& ossBucket) +{ + ossBucket_ = ossBucket; + setParameter("OssBucket", ossBucket); } -void UpdateLiveAudioAuditConfigRequest::setOssBucket(const std::string &ossBucket) { - ossBucket_ = ossBucket; - setParameter(std::string("OssBucket"), ossBucket); +std::string UpdateLiveAudioAuditConfigRequest::getDomainName()const +{ + return domainName_; } -std::string UpdateLiveAudioAuditConfigRequest::getDomainName() const { - return domainName_; +void UpdateLiveAudioAuditConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void UpdateLiveAudioAuditConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long UpdateLiveAudioAuditConfigRequest::getOwnerId()const +{ + return ownerId_; } -long UpdateLiveAudioAuditConfigRequest::getOwnerId() const { - return ownerId_; +void UpdateLiveAudioAuditConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void UpdateLiveAudioAuditConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string UpdateLiveAudioAuditConfigRequest::getBizType()const +{ + return bizType_; } -std::string UpdateLiveAudioAuditConfigRequest::getBizType() const { - return bizType_; -} - -void UpdateLiveAudioAuditConfigRequest::setBizType(const std::string &bizType) { - bizType_ = bizType; - setParameter(std::string("BizType"), bizType); +void UpdateLiveAudioAuditConfigRequest::setBizType(const std::string& bizType) +{ + bizType_ = bizType; + setParameter("BizType", bizType); } diff --git a/live/src/model/UpdateLiveAudioAuditNotifyConfigRequest.cc b/live/src/model/UpdateLiveAudioAuditNotifyConfigRequest.cc index b9c38a5b4..68576165f 100644 --- a/live/src/model/UpdateLiveAudioAuditNotifyConfigRequest.cc +++ b/live/src/model/UpdateLiveAudioAuditNotifyConfigRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::UpdateLiveAudioAuditNotifyConfigRequest; - -UpdateLiveAudioAuditNotifyConfigRequest::UpdateLiveAudioAuditNotifyConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "UpdateLiveAudioAuditNotifyConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -UpdateLiveAudioAuditNotifyConfigRequest::~UpdateLiveAudioAuditNotifyConfigRequest() {} - -std::string UpdateLiveAudioAuditNotifyConfigRequest::getDomainName() const { - return domainName_; +void UpdateLiveAudioAuditNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void UpdateLiveAudioAuditNotifyConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long UpdateLiveAudioAuditNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; } -long UpdateLiveAudioAuditNotifyConfigRequest::getOwnerId() const { - return ownerId_; +void UpdateLiveAudioAuditNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void UpdateLiveAudioAuditNotifyConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string UpdateLiveAudioAuditNotifyConfigRequest::getCallbackTemplate()const +{ + return callbackTemplate_; } -std::string UpdateLiveAudioAuditNotifyConfigRequest::getCallbackTemplate() const { - return callbackTemplate_; +void UpdateLiveAudioAuditNotifyConfigRequest::setCallbackTemplate(const std::string& callbackTemplate) +{ + callbackTemplate_ = callbackTemplate; + setParameter("CallbackTemplate", callbackTemplate); } -void UpdateLiveAudioAuditNotifyConfigRequest::setCallbackTemplate(const std::string &callbackTemplate) { - callbackTemplate_ = callbackTemplate; - setParameter(std::string("CallbackTemplate"), callbackTemplate); +std::string UpdateLiveAudioAuditNotifyConfigRequest::getCallback()const +{ + return callback_; } -std::string UpdateLiveAudioAuditNotifyConfigRequest::getCallback() const { - return callback_; -} - -void UpdateLiveAudioAuditNotifyConfigRequest::setCallback(const std::string &callback) { - callback_ = callback; - setParameter(std::string("Callback"), callback); +void UpdateLiveAudioAuditNotifyConfigRequest::setCallback(const std::string& callback) +{ + callback_ = callback; + setParameter("Callback", callback); } diff --git a/live/src/model/UpdateLiveDetectNotifyConfigRequest.cc b/live/src/model/UpdateLiveDetectNotifyConfigRequest.cc index 242b9598f..95aab2fbe 100644 --- a/live/src/model/UpdateLiveDetectNotifyConfigRequest.cc +++ b/live/src/model/UpdateLiveDetectNotifyConfigRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::UpdateLiveDetectNotifyConfigRequest; - -UpdateLiveDetectNotifyConfigRequest::UpdateLiveDetectNotifyConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "UpdateLiveDetectNotifyConfig") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -UpdateLiveDetectNotifyConfigRequest::~UpdateLiveDetectNotifyConfigRequest() {} - -std::string UpdateLiveDetectNotifyConfigRequest::getSecurityToken() const { - return securityToken_; +void UpdateLiveDetectNotifyConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void UpdateLiveDetectNotifyConfigRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string UpdateLiveDetectNotifyConfigRequest::getNotifyUrl()const +{ + return notifyUrl_; } -std::string UpdateLiveDetectNotifyConfigRequest::getNotifyUrl() const { - return notifyUrl_; +void UpdateLiveDetectNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl) +{ + notifyUrl_ = notifyUrl; + setParameter("NotifyUrl", notifyUrl); } -void UpdateLiveDetectNotifyConfigRequest::setNotifyUrl(const std::string ¬ifyUrl) { - notifyUrl_ = notifyUrl; - setParameter(std::string("NotifyUrl"), notifyUrl); +std::string UpdateLiveDetectNotifyConfigRequest::getDomainName()const +{ + return domainName_; } -std::string UpdateLiveDetectNotifyConfigRequest::getDomainName() const { - return domainName_; +void UpdateLiveDetectNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void UpdateLiveDetectNotifyConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long UpdateLiveDetectNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; } -long UpdateLiveDetectNotifyConfigRequest::getOwnerId() const { - return ownerId_; -} - -void UpdateLiveDetectNotifyConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void UpdateLiveDetectNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/UpdateLivePullStreamInfoConfigRequest.cc b/live/src/model/UpdateLivePullStreamInfoConfigRequest.cc index cbac134c4..c20810f64 100644 --- a/live/src/model/UpdateLivePullStreamInfoConfigRequest.cc +++ b/live/src/model/UpdateLivePullStreamInfoConfigRequest.cc @@ -1,99 +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::UpdateLivePullStreamInfoConfigRequest; - -UpdateLivePullStreamInfoConfigRequest::UpdateLivePullStreamInfoConfigRequest() - : RpcServiceRequest("live", "2016-11-01", "UpdateLivePullStreamInfoConfig") { - setMethod(HttpRequest::Method::Get); + */ + +#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_; } -UpdateLivePullStreamInfoConfigRequest::~UpdateLivePullStreamInfoConfigRequest() {} - -std::string UpdateLivePullStreamInfoConfigRequest::getStartTime() const { - return startTime_; +void UpdateLivePullStreamInfoConfigRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); } -void UpdateLivePullStreamInfoConfigRequest::setStartTime(const std::string &startTime) { - startTime_ = startTime; - setParameter(std::string("StartTime"), startTime); +std::string UpdateLivePullStreamInfoConfigRequest::getAppName()const +{ + return appName_; } -std::string UpdateLivePullStreamInfoConfigRequest::getAppName() const { - return appName_; +void UpdateLivePullStreamInfoConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void UpdateLivePullStreamInfoConfigRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string UpdateLivePullStreamInfoConfigRequest::getStreamName()const +{ + return streamName_; } -std::string UpdateLivePullStreamInfoConfigRequest::getStreamName() const { - return streamName_; +void UpdateLivePullStreamInfoConfigRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); } -void UpdateLivePullStreamInfoConfigRequest::setStreamName(const std::string &streamName) { - streamName_ = streamName; - setParameter(std::string("StreamName"), streamName); +std::string UpdateLivePullStreamInfoConfigRequest::getPullAlways()const +{ + return pullAlways_; } -std::string UpdateLivePullStreamInfoConfigRequest::getPullAlways() const { - return pullAlways_; +void UpdateLivePullStreamInfoConfigRequest::setPullAlways(const std::string& pullAlways) +{ + pullAlways_ = pullAlways; + setParameter("PullAlways", pullAlways); } -void UpdateLivePullStreamInfoConfigRequest::setPullAlways(const std::string &pullAlways) { - pullAlways_ = pullAlways; - setParameter(std::string("PullAlways"), pullAlways); +std::string UpdateLivePullStreamInfoConfigRequest::getDomainName()const +{ + return domainName_; } -std::string UpdateLivePullStreamInfoConfigRequest::getDomainName() const { - return domainName_; +void UpdateLivePullStreamInfoConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void UpdateLivePullStreamInfoConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string UpdateLivePullStreamInfoConfigRequest::getEndTime()const +{ + return endTime_; } -std::string UpdateLivePullStreamInfoConfigRequest::getEndTime() const { - return endTime_; +void UpdateLivePullStreamInfoConfigRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); } -void UpdateLivePullStreamInfoConfigRequest::setEndTime(const std::string &endTime) { - endTime_ = endTime; - setParameter(std::string("EndTime"), endTime); +long UpdateLivePullStreamInfoConfigRequest::getOwnerId()const +{ + return ownerId_; } -long UpdateLivePullStreamInfoConfigRequest::getOwnerId() const { - return ownerId_; +void UpdateLivePullStreamInfoConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void UpdateLivePullStreamInfoConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string UpdateLivePullStreamInfoConfigRequest::getSourceUrl()const +{ + return sourceUrl_; } -std::string UpdateLivePullStreamInfoConfigRequest::getSourceUrl() const { - return sourceUrl_; -} - -void UpdateLivePullStreamInfoConfigRequest::setSourceUrl(const std::string &sourceUrl) { - sourceUrl_ = sourceUrl; - setParameter(std::string("SourceUrl"), sourceUrl); +void UpdateLivePullStreamInfoConfigRequest::setSourceUrl(const std::string& sourceUrl) +{ + sourceUrl_ = sourceUrl; + setParameter("SourceUrl", sourceUrl); } diff --git a/live/src/model/UpdateLiveRecordNotifyConfigRequest.cc b/live/src/model/UpdateLiveRecordNotifyConfigRequest.cc index 639cef282..c9d73d331 100644 --- a/live/src/model/UpdateLiveRecordNotifyConfigRequest.cc +++ b/live/src/model/UpdateLiveRecordNotifyConfigRequest.cc @@ -1,81 +1,95 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -UpdateLiveRecordNotifyConfigRequest::~UpdateLiveRecordNotifyConfigRequest() {} - -std::string UpdateLiveRecordNotifyConfigRequest::getOnDemandUrl() const { - return onDemandUrl_; +void UpdateLiveRecordNotifyConfigRequest::setOnDemandUrl(const std::string& onDemandUrl) +{ + onDemandUrl_ = onDemandUrl; + setParameter("OnDemandUrl", onDemandUrl); } -void UpdateLiveRecordNotifyConfigRequest::setOnDemandUrl(const std::string &onDemandUrl) { - onDemandUrl_ = onDemandUrl; - setParameter(std::string("OnDemandUrl"), onDemandUrl); +std::string UpdateLiveRecordNotifyConfigRequest::getSecurityToken()const +{ + return securityToken_; } -std::string UpdateLiveRecordNotifyConfigRequest::getSecurityToken() const { - return securityToken_; +void UpdateLiveRecordNotifyConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void UpdateLiveRecordNotifyConfigRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string UpdateLiveRecordNotifyConfigRequest::getNotifyUrl()const +{ + return notifyUrl_; } -std::string UpdateLiveRecordNotifyConfigRequest::getNotifyUrl() const { - return notifyUrl_; +void UpdateLiveRecordNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl) +{ + notifyUrl_ = notifyUrl; + setParameter("NotifyUrl", notifyUrl); } -void UpdateLiveRecordNotifyConfigRequest::setNotifyUrl(const std::string ¬ifyUrl) { - notifyUrl_ = notifyUrl; - setParameter(std::string("NotifyUrl"), notifyUrl); +bool UpdateLiveRecordNotifyConfigRequest::getNeedStatusNotify()const +{ + return needStatusNotify_; } -bool UpdateLiveRecordNotifyConfigRequest::getNeedStatusNotify() const { - return needStatusNotify_; +void UpdateLiveRecordNotifyConfigRequest::setNeedStatusNotify(bool needStatusNotify) +{ + needStatusNotify_ = needStatusNotify; + setParameter("NeedStatusNotify", needStatusNotify ? "true" : "false"); } -void UpdateLiveRecordNotifyConfigRequest::setNeedStatusNotify(bool needStatusNotify) { - needStatusNotify_ = needStatusNotify; - setParameter(std::string("NeedStatusNotify"), needStatusNotify ? "true" : "false"); +std::string UpdateLiveRecordNotifyConfigRequest::getDomainName()const +{ + return domainName_; } -std::string UpdateLiveRecordNotifyConfigRequest::getDomainName() const { - return domainName_; +void UpdateLiveRecordNotifyConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void UpdateLiveRecordNotifyConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long UpdateLiveRecordNotifyConfigRequest::getOwnerId()const +{ + return ownerId_; } -long UpdateLiveRecordNotifyConfigRequest::getOwnerId() const { - return ownerId_; -} - -void UpdateLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void UpdateLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/UpdateLiveSnapshotDetectPornConfigRequest.cc b/live/src/model/UpdateLiveSnapshotDetectPornConfigRequest.cc index a0b9894e8..483e52a3e 100644 --- a/live/src/model/UpdateLiveSnapshotDetectPornConfigRequest.cc +++ b/live/src/model/UpdateLiveSnapshotDetectPornConfigRequest.cc @@ -1,107 +1,130 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -UpdateLiveSnapshotDetectPornConfigRequest::~UpdateLiveSnapshotDetectPornConfigRequest() {} - -std::string UpdateLiveSnapshotDetectPornConfigRequest::getOssEndpoint() const { - return ossEndpoint_; +void UpdateLiveSnapshotDetectPornConfigRequest::setOssEndpoint(const std::string& ossEndpoint) +{ + ossEndpoint_ = ossEndpoint; + setParameter("OssEndpoint", ossEndpoint); } -void UpdateLiveSnapshotDetectPornConfigRequest::setOssEndpoint(const std::string &ossEndpoint) { - ossEndpoint_ = ossEndpoint; - setParameter(std::string("OssEndpoint"), ossEndpoint); +std::string UpdateLiveSnapshotDetectPornConfigRequest::getOssObject()const +{ + return ossObject_; } -std::string UpdateLiveSnapshotDetectPornConfigRequest::getOssObject() const { - return ossObject_; +void UpdateLiveSnapshotDetectPornConfigRequest::setOssObject(const std::string& ossObject) +{ + ossObject_ = ossObject; + setParameter("OssObject", ossObject); } -void UpdateLiveSnapshotDetectPornConfigRequest::setOssObject(const std::string &ossObject) { - ossObject_ = ossObject; - setParameter(std::string("OssObject"), ossObject); +std::vector UpdateLiveSnapshotDetectPornConfigRequest::getScene()const +{ + return scene_; } -std::vector UpdateLiveSnapshotDetectPornConfigRequest::getScene() const { - return scene_; +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)); + } } -void UpdateLiveSnapshotDetectPornConfigRequest::setScene(const std::vector &scene) { - scene_ = scene; +std::string UpdateLiveSnapshotDetectPornConfigRequest::getAppName()const +{ + return appName_; } -std::string UpdateLiveSnapshotDetectPornConfigRequest::getAppName() const { - return appName_; +void UpdateLiveSnapshotDetectPornConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); } -void UpdateLiveSnapshotDetectPornConfigRequest::setAppName(const std::string &appName) { - appName_ = appName; - setParameter(std::string("AppName"), appName); +std::string UpdateLiveSnapshotDetectPornConfigRequest::getSecurityToken()const +{ + return securityToken_; } -std::string UpdateLiveSnapshotDetectPornConfigRequest::getSecurityToken() const { - return securityToken_; +void UpdateLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } -void UpdateLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +std::string UpdateLiveSnapshotDetectPornConfigRequest::getOssBucket()const +{ + return ossBucket_; } -std::string UpdateLiveSnapshotDetectPornConfigRequest::getOssBucket() const { - return ossBucket_; +void UpdateLiveSnapshotDetectPornConfigRequest::setOssBucket(const std::string& ossBucket) +{ + ossBucket_ = ossBucket; + setParameter("OssBucket", ossBucket); } -void UpdateLiveSnapshotDetectPornConfigRequest::setOssBucket(const std::string &ossBucket) { - ossBucket_ = ossBucket; - setParameter(std::string("OssBucket"), ossBucket); +std::string UpdateLiveSnapshotDetectPornConfigRequest::getDomainName()const +{ + return domainName_; } -std::string UpdateLiveSnapshotDetectPornConfigRequest::getDomainName() const { - return domainName_; +void UpdateLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void UpdateLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long UpdateLiveSnapshotDetectPornConfigRequest::getOwnerId()const +{ + return ownerId_; } -long UpdateLiveSnapshotDetectPornConfigRequest::getOwnerId() const { - return ownerId_; +void UpdateLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void UpdateLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +int UpdateLiveSnapshotDetectPornConfigRequest::getInterval()const +{ + return interval_; } -int UpdateLiveSnapshotDetectPornConfigRequest::getInterval() const { - return interval_; -} - -void UpdateLiveSnapshotDetectPornConfigRequest::setInterval(int interval) { - interval_ = interval; - setParameter(std::string("Interval"), std::to_string(interval)); +void UpdateLiveSnapshotDetectPornConfigRequest::setInterval(int interval) +{ + interval_ = interval; + setParameter("Interval", std::to_string(interval)); } diff --git a/live/src/model/UpdateLiveStreamMonitorRequest.cc b/live/src/model/UpdateLiveStreamMonitorRequest.cc index d43a43f8b..fd97ce077 100644 --- a/live/src/model/UpdateLiveStreamMonitorRequest.cc +++ b/live/src/model/UpdateLiveStreamMonitorRequest.cc @@ -1,99 +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::UpdateLiveStreamMonitorRequest; - -UpdateLiveStreamMonitorRequest::UpdateLiveStreamMonitorRequest() - : RpcServiceRequest("live", "2016-11-01", "UpdateLiveStreamMonitor") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -UpdateLiveStreamMonitorRequest::~UpdateLiveStreamMonitorRequest() {} - -std::string UpdateLiveStreamMonitorRequest::getMonitorId() const { - return monitorId_; +void UpdateLiveStreamMonitorRequest::setMonitorId(const std::string& monitorId) +{ + monitorId_ = monitorId; + setParameter("MonitorId", monitorId); } -void UpdateLiveStreamMonitorRequest::setMonitorId(const std::string &monitorId) { - monitorId_ = monitorId; - setParameter(std::string("MonitorId"), monitorId); +std::string UpdateLiveStreamMonitorRequest::getMonitorName()const +{ + return monitorName_; } -std::string UpdateLiveStreamMonitorRequest::getMonitorName() const { - return monitorName_; +void UpdateLiveStreamMonitorRequest::setMonitorName(const std::string& monitorName) +{ + monitorName_ = monitorName; + setParameter("MonitorName", monitorName); } -void UpdateLiveStreamMonitorRequest::setMonitorName(const std::string &monitorName) { - monitorName_ = monitorName; - setParameter(std::string("MonitorName"), monitorName); +std::string UpdateLiveStreamMonitorRequest::getStream()const +{ + return stream_; } -std::string UpdateLiveStreamMonitorRequest::getStream() const { - return stream_; +void UpdateLiveStreamMonitorRequest::setStream(const std::string& stream) +{ + stream_ = stream; + setParameter("Stream", stream); } -void UpdateLiveStreamMonitorRequest::setStream(const std::string &stream) { - stream_ = stream; - setParameter(std::string("Stream"), stream); +std::string UpdateLiveStreamMonitorRequest::getOutputTemplate()const +{ + return outputTemplate_; } -std::string UpdateLiveStreamMonitorRequest::getOutputTemplate() const { - return outputTemplate_; +void UpdateLiveStreamMonitorRequest::setOutputTemplate(const std::string& outputTemplate) +{ + outputTemplate_ = outputTemplate; + setParameter("OutputTemplate", outputTemplate); } -void UpdateLiveStreamMonitorRequest::setOutputTemplate(const std::string &outputTemplate) { - outputTemplate_ = outputTemplate; - setParameter(std::string("OutputTemplate"), outputTemplate); +std::string UpdateLiveStreamMonitorRequest::getApp()const +{ + return app_; } -std::string UpdateLiveStreamMonitorRequest::getApp() const { - return app_; +void UpdateLiveStreamMonitorRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); } -void UpdateLiveStreamMonitorRequest::setApp(const std::string &app) { - app_ = app; - setParameter(std::string("App"), app); +std::string UpdateLiveStreamMonitorRequest::getInputList()const +{ + return inputList_; } -std::string UpdateLiveStreamMonitorRequest::getInputList() const { - return inputList_; +void UpdateLiveStreamMonitorRequest::setInputList(const std::string& inputList) +{ + inputList_ = inputList; + setParameter("InputList", inputList); } -void UpdateLiveStreamMonitorRequest::setInputList(const std::string &inputList) { - inputList_ = inputList; - setParameter(std::string("InputList"), inputList); +long UpdateLiveStreamMonitorRequest::getOwnerId()const +{ + return ownerId_; } -long UpdateLiveStreamMonitorRequest::getOwnerId() const { - return ownerId_; +void UpdateLiveStreamMonitorRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void UpdateLiveStreamMonitorRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string UpdateLiveStreamMonitorRequest::getDomain()const +{ + return domain_; } -std::string UpdateLiveStreamMonitorRequest::getDomain() const { - return domain_; -} - -void UpdateLiveStreamMonitorRequest::setDomain(const std::string &domain) { - domain_ = domain; - setParameter(std::string("Domain"), domain); +void UpdateLiveStreamMonitorRequest::setDomain(const std::string& domain) +{ + domain_ = domain; + setParameter("Domain", domain); } diff --git a/live/src/model/UpdateLiveStreamWatermarkRequest.cc b/live/src/model/UpdateLiveStreamWatermarkRequest.cc index ccb53ea80..703f327d7 100644 --- a/live/src/model/UpdateLiveStreamWatermarkRequest.cc +++ b/live/src/model/UpdateLiveStreamWatermarkRequest.cc @@ -1,135 +1,161 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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); + */ + +#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_; } -UpdateLiveStreamWatermarkRequest::~UpdateLiveStreamWatermarkRequest() {} - -float UpdateLiveStreamWatermarkRequest::getYOffset() const { - return yOffset_; +void UpdateLiveStreamWatermarkRequest::setYOffset(float yOffset) +{ + yOffset_ = yOffset; + setParameter("YOffset", std::to_string(yOffset)); } -void UpdateLiveStreamWatermarkRequest::setYOffset(float yOffset) { - yOffset_ = yOffset; - setParameter(std::string("YOffset"), std::to_string(yOffset)); +std::string UpdateLiveStreamWatermarkRequest::getPictureUrl()const +{ + return pictureUrl_; } -std::string UpdateLiveStreamWatermarkRequest::getPictureUrl() const { - return pictureUrl_; +void UpdateLiveStreamWatermarkRequest::setPictureUrl(const std::string& pictureUrl) +{ + pictureUrl_ = pictureUrl; + setParameter("PictureUrl", pictureUrl); } -void UpdateLiveStreamWatermarkRequest::setPictureUrl(const std::string &pictureUrl) { - pictureUrl_ = pictureUrl; - setParameter(std::string("PictureUrl"), pictureUrl); +std::string UpdateLiveStreamWatermarkRequest::getDescription()const +{ + return description_; } -std::string UpdateLiveStreamWatermarkRequest::getDescription() const { - return description_; +void UpdateLiveStreamWatermarkRequest::setDescription(const std::string& description) +{ + description_ = description; + setParameter("Description", description); } -void UpdateLiveStreamWatermarkRequest::setDescription(const std::string &description) { - description_ = description; - setParameter(std::string("Description"), description); +int UpdateLiveStreamWatermarkRequest::getHeight()const +{ + return height_; } -int UpdateLiveStreamWatermarkRequest::getHeight() const { - return height_; +void UpdateLiveStreamWatermarkRequest::setHeight(int height) +{ + height_ = height; + setParameter("Height", std::to_string(height)); } -void UpdateLiveStreamWatermarkRequest::setHeight(int height) { - height_ = height; - setParameter(std::string("Height"), std::to_string(height)); +float UpdateLiveStreamWatermarkRequest::getXOffset()const +{ + return xOffset_; } -float UpdateLiveStreamWatermarkRequest::getXOffset() const { - return xOffset_; +void UpdateLiveStreamWatermarkRequest::setXOffset(float xOffset) +{ + xOffset_ = xOffset; + setParameter("XOffset", std::to_string(xOffset)); } -void UpdateLiveStreamWatermarkRequest::setXOffset(float xOffset) { - xOffset_ = xOffset; - setParameter(std::string("XOffset"), std::to_string(xOffset)); +long UpdateLiveStreamWatermarkRequest::getOwnerId()const +{ + return ownerId_; } -long UpdateLiveStreamWatermarkRequest::getOwnerId() const { - return ownerId_; +void UpdateLiveStreamWatermarkRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void UpdateLiveStreamWatermarkRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string UpdateLiveStreamWatermarkRequest::getTemplateId()const +{ + return templateId_; } -std::string UpdateLiveStreamWatermarkRequest::getTemplateId() const { - return templateId_; +void UpdateLiveStreamWatermarkRequest::setTemplateId(const std::string& templateId) +{ + templateId_ = templateId; + setParameter("TemplateId", templateId); } -void UpdateLiveStreamWatermarkRequest::setTemplateId(const std::string &templateId) { - templateId_ = templateId; - setParameter(std::string("TemplateId"), templateId); +int UpdateLiveStreamWatermarkRequest::getRefWidth()const +{ + return refWidth_; } -int UpdateLiveStreamWatermarkRequest::getRefWidth() const { - return refWidth_; +void UpdateLiveStreamWatermarkRequest::setRefWidth(int refWidth) +{ + refWidth_ = refWidth; + setParameter("RefWidth", std::to_string(refWidth)); } -void UpdateLiveStreamWatermarkRequest::setRefWidth(int refWidth) { - refWidth_ = refWidth; - setParameter(std::string("RefWidth"), std::to_string(refWidth)); +int UpdateLiveStreamWatermarkRequest::getTransparency()const +{ + return transparency_; } -int UpdateLiveStreamWatermarkRequest::getTransparency() const { - return transparency_; +void UpdateLiveStreamWatermarkRequest::setTransparency(int transparency) +{ + transparency_ = transparency; + setParameter("Transparency", std::to_string(transparency)); } -void UpdateLiveStreamWatermarkRequest::setTransparency(int transparency) { - transparency_ = transparency; - setParameter(std::string("Transparency"), std::to_string(transparency)); +std::string UpdateLiveStreamWatermarkRequest::getName()const +{ + return name_; } -std::string UpdateLiveStreamWatermarkRequest::getName() const { - return name_; +void UpdateLiveStreamWatermarkRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); } -void UpdateLiveStreamWatermarkRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); +std::string UpdateLiveStreamWatermarkRequest::getOffsetCorner()const +{ + return offsetCorner_; } -std::string UpdateLiveStreamWatermarkRequest::getOffsetCorner() const { - return offsetCorner_; +void UpdateLiveStreamWatermarkRequest::setOffsetCorner(const std::string& offsetCorner) +{ + offsetCorner_ = offsetCorner; + setParameter("OffsetCorner", offsetCorner); } -void UpdateLiveStreamWatermarkRequest::setOffsetCorner(const std::string &offsetCorner) { - offsetCorner_ = offsetCorner; - setParameter(std::string("OffsetCorner"), offsetCorner); +int UpdateLiveStreamWatermarkRequest::getRefHeight()const +{ + return refHeight_; } -int UpdateLiveStreamWatermarkRequest::getRefHeight() const { - return refHeight_; -} - -void UpdateLiveStreamWatermarkRequest::setRefHeight(int refHeight) { - refHeight_ = refHeight; - setParameter(std::string("RefHeight"), std::to_string(refHeight)); +void UpdateLiveStreamWatermarkRequest::setRefHeight(int refHeight) +{ + refHeight_ = refHeight; + setParameter("RefHeight", std::to_string(refHeight)); } diff --git a/live/src/model/UpdateLiveStreamWatermarkRuleRequest.cc b/live/src/model/UpdateLiveStreamWatermarkRuleRequest.cc index 8b9b436d1..75367fe79 100644 --- a/live/src/model/UpdateLiveStreamWatermarkRuleRequest.cc +++ b/live/src/model/UpdateLiveStreamWatermarkRuleRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::UpdateLiveStreamWatermarkRuleRequest; - -UpdateLiveStreamWatermarkRuleRequest::UpdateLiveStreamWatermarkRuleRequest() - : RpcServiceRequest("live", "2016-11-01", "UpdateLiveStreamWatermarkRule") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -UpdateLiveStreamWatermarkRuleRequest::~UpdateLiveStreamWatermarkRuleRequest() {} - -std::string UpdateLiveStreamWatermarkRuleRequest::getDescription() const { - return description_; +void UpdateLiveStreamWatermarkRuleRequest::setDescription(const std::string& description) +{ + description_ = description; + setParameter("Description", description); } -void UpdateLiveStreamWatermarkRuleRequest::setDescription(const std::string &description) { - description_ = description; - setParameter(std::string("Description"), description); +long UpdateLiveStreamWatermarkRuleRequest::getOwnerId()const +{ + return ownerId_; } -long UpdateLiveStreamWatermarkRuleRequest::getOwnerId() const { - return ownerId_; +void UpdateLiveStreamWatermarkRuleRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void UpdateLiveStreamWatermarkRuleRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string UpdateLiveStreamWatermarkRuleRequest::getTemplateId()const +{ + return templateId_; } -std::string UpdateLiveStreamWatermarkRuleRequest::getTemplateId() const { - return templateId_; +void UpdateLiveStreamWatermarkRuleRequest::setTemplateId(const std::string& templateId) +{ + templateId_ = templateId; + setParameter("TemplateId", templateId); } -void UpdateLiveStreamWatermarkRuleRequest::setTemplateId(const std::string &templateId) { - templateId_ = templateId; - setParameter(std::string("TemplateId"), templateId); +std::string UpdateLiveStreamWatermarkRuleRequest::getName()const +{ + return name_; } -std::string UpdateLiveStreamWatermarkRuleRequest::getName() const { - return name_; +void UpdateLiveStreamWatermarkRuleRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); } -void UpdateLiveStreamWatermarkRuleRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); +std::string UpdateLiveStreamWatermarkRuleRequest::getRuleId()const +{ + return ruleId_; } -std::string UpdateLiveStreamWatermarkRuleRequest::getRuleId() const { - return ruleId_; -} - -void UpdateLiveStreamWatermarkRuleRequest::setRuleId(const std::string &ruleId) { - ruleId_ = ruleId; - setParameter(std::string("RuleId"), ruleId); +void UpdateLiveStreamWatermarkRuleRequest::setRuleId(const std::string& ruleId) +{ + ruleId_ = ruleId; + setParameter("RuleId", ruleId); } diff --git a/live/src/model/UpdateLiveTopLevelDomainRequest.cc b/live/src/model/UpdateLiveTopLevelDomainRequest.cc index fd36ea1b2..56dca9c21 100644 --- a/live/src/model/UpdateLiveTopLevelDomainRequest.cc +++ b/live/src/model/UpdateLiveTopLevelDomainRequest.cc @@ -1,63 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::UpdateLiveTopLevelDomainRequest; - -UpdateLiveTopLevelDomainRequest::UpdateLiveTopLevelDomainRequest() - : RpcServiceRequest("live", "2016-11-01", "UpdateLiveTopLevelDomain") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -UpdateLiveTopLevelDomainRequest::~UpdateLiveTopLevelDomainRequest() {} - -std::string UpdateLiveTopLevelDomainRequest::getTopLevelDomain() const { - return topLevelDomain_; +void UpdateLiveTopLevelDomainRequest::setTopLevelDomain(const std::string& topLevelDomain) +{ + topLevelDomain_ = topLevelDomain; + setParameter("TopLevelDomain", topLevelDomain); } -void UpdateLiveTopLevelDomainRequest::setTopLevelDomain(const std::string &topLevelDomain) { - topLevelDomain_ = topLevelDomain; - setParameter(std::string("TopLevelDomain"), topLevelDomain); +std::string UpdateLiveTopLevelDomainRequest::getDomainName()const +{ + return domainName_; } -std::string UpdateLiveTopLevelDomainRequest::getDomainName() const { - return domainName_; +void UpdateLiveTopLevelDomainRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void UpdateLiveTopLevelDomainRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long UpdateLiveTopLevelDomainRequest::getOwnerId()const +{ + return ownerId_; } -long UpdateLiveTopLevelDomainRequest::getOwnerId() const { - return ownerId_; +void UpdateLiveTopLevelDomainRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } -void UpdateLiveTopLevelDomainRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +std::string UpdateLiveTopLevelDomainRequest::getSecurityToken()const +{ + return securityToken_; } -std::string UpdateLiveTopLevelDomainRequest::getSecurityToken() const { - return securityToken_; -} - -void UpdateLiveTopLevelDomainRequest::setSecurityToken(const std::string &securityToken) { - securityToken_ = securityToken; - setParameter(std::string("SecurityToken"), securityToken); +void UpdateLiveTopLevelDomainRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); } diff --git a/live/src/model/UpdateMixStreamRequest.cc b/live/src/model/UpdateMixStreamRequest.cc index ca87eb2fc..a5ef635bf 100644 --- a/live/src/model/UpdateMixStreamRequest.cc +++ b/live/src/model/UpdateMixStreamRequest.cc @@ -1,72 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::UpdateMixStreamRequest; - -UpdateMixStreamRequest::UpdateMixStreamRequest() - : RpcServiceRequest("live", "2016-11-01", "UpdateMixStream") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -UpdateMixStreamRequest::~UpdateMixStreamRequest() {} - -std::string UpdateMixStreamRequest::getLayoutId() const { - return layoutId_; +void UpdateMixStreamRequest::setLayoutId(const std::string& layoutId) +{ + layoutId_ = layoutId; + setParameter("LayoutId", layoutId); } -void UpdateMixStreamRequest::setLayoutId(const std::string &layoutId) { - layoutId_ = layoutId; - setParameter(std::string("LayoutId"), layoutId); +std::string UpdateMixStreamRequest::getMixStreamId()const +{ + return mixStreamId_; } -std::string UpdateMixStreamRequest::getMixStreamId() const { - return mixStreamId_; +void UpdateMixStreamRequest::setMixStreamId(const std::string& mixStreamId) +{ + mixStreamId_ = mixStreamId; + setParameter("MixStreamId", mixStreamId); } -void UpdateMixStreamRequest::setMixStreamId(const std::string &mixStreamId) { - mixStreamId_ = mixStreamId; - setParameter(std::string("MixStreamId"), mixStreamId); +std::string UpdateMixStreamRequest::getDomainName()const +{ + return domainName_; } -std::string UpdateMixStreamRequest::getDomainName() const { - return domainName_; +void UpdateMixStreamRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void UpdateMixStreamRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +std::string UpdateMixStreamRequest::getInputStreamList()const +{ + return inputStreamList_; } -std::string UpdateMixStreamRequest::getInputStreamList() const { - return inputStreamList_; +void UpdateMixStreamRequest::setInputStreamList(const std::string& inputStreamList) +{ + inputStreamList_ = inputStreamList; + setParameter("InputStreamList", inputStreamList); } -void UpdateMixStreamRequest::setInputStreamList(const std::string &inputStreamList) { - inputStreamList_ = inputStreamList; - setParameter(std::string("InputStreamList"), inputStreamList); +long UpdateMixStreamRequest::getOwnerId()const +{ + return ownerId_; } -long UpdateMixStreamRequest::getOwnerId() const { - return ownerId_; -} - -void UpdateMixStreamRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void UpdateMixStreamRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); } diff --git a/live/src/model/VerifyLiveDomainOwnerRequest.cc b/live/src/model/VerifyLiveDomainOwnerRequest.cc index 5f1cc30cd..7f780f452 100644 --- a/live/src/model/VerifyLiveDomainOwnerRequest.cc +++ b/live/src/model/VerifyLiveDomainOwnerRequest.cc @@ -1,54 +1,62 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Live::Model::VerifyLiveDomainOwnerRequest; - -VerifyLiveDomainOwnerRequest::VerifyLiveDomainOwnerRequest() - : RpcServiceRequest("live", "2016-11-01", "VerifyLiveDomainOwner") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -VerifyLiveDomainOwnerRequest::~VerifyLiveDomainOwnerRequest() {} - -std::string VerifyLiveDomainOwnerRequest::getVerifyType() const { - return verifyType_; +void VerifyLiveDomainOwnerRequest::setVerifyType(const std::string& verifyType) +{ + verifyType_ = verifyType; + setParameter("VerifyType", verifyType); } -void VerifyLiveDomainOwnerRequest::setVerifyType(const std::string &verifyType) { - verifyType_ = verifyType; - setParameter(std::string("VerifyType"), verifyType); +std::string VerifyLiveDomainOwnerRequest::getDomainName()const +{ + return domainName_; } -std::string VerifyLiveDomainOwnerRequest::getDomainName() const { - return domainName_; +void VerifyLiveDomainOwnerRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); } -void VerifyLiveDomainOwnerRequest::setDomainName(const std::string &domainName) { - domainName_ = domainName; - setParameter(std::string("DomainName"), domainName); +long VerifyLiveDomainOwnerRequest::getOwnerId()const +{ + return ownerId_; } -long VerifyLiveDomainOwnerRequest::getOwnerId() const { - return ownerId_; -} - -void VerifyLiveDomainOwnerRequest::setOwnerId(long ownerId) { - ownerId_ = ownerId; - setParameter(std::string("OwnerId"), std::to_string(ownerId)); +void VerifyLiveDomainOwnerRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); }