From b4b0cb593da5b71cb2557eb8a1c7e038b552c218 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Thu, 10 Jun 2021 07:33:20 +0000 Subject: [PATCH] Generated 2016-11-01 for live. --- CHANGELOG | 3 + VERSION | 2 +- live/CMakeLists.txt | 24 ++ live/include/alibabacloud/live/LiveClient.h | 48 ++++ .../DeleteLiveSpecificStagingConfigRequest.h | 57 +++++ .../DeleteLiveSpecificStagingConfigResult.h | 49 ++++ .../DescribeLiveDomainStagingConfigRequest.h | 54 +++++ .../DescribeLiveDomainStagingConfigResult.h | 63 +++++ .../DescribeLivePullStreamConfigResult.h | 1 + .../live/model/DescribeLiveStagingIpRequest.h | 48 ++++ .../live/model/DescribeLiveStagingIpResult.h | 51 +++++ ...lishLiveStagingConfigToProductionRequest.h | 54 +++++ ...blishLiveStagingConfigToProductionResult.h | 49 ++++ .../model/RollbackLiveStagingConfigRequest.h | 54 +++++ .../model/RollbackLiveStagingConfigResult.h | 49 ++++ .../model/SetLiveDomainStagingConfigRequest.h | 54 +++++ .../model/SetLiveDomainStagingConfigResult.h | 49 ++++ live/src/LiveClient.cc | 216 ++++++++++++++++++ .../DeleteLiveSpecificStagingConfigRequest.cc | 73 ++++++ .../DeleteLiveSpecificStagingConfigResult.cc | 44 ++++ .../DescribeLiveDomainStagingConfigRequest.cc | 62 +++++ .../DescribeLiveDomainStagingConfigResult.cc | 71 ++++++ .../DescribeLivePullStreamConfigResult.cc | 2 + .../src/model/DescribeLiveStagingIpRequest.cc | 40 ++++ live/src/model/DescribeLiveStagingIpResult.cc | 52 +++++ ...ishLiveStagingConfigToProductionRequest.cc | 62 +++++ ...lishLiveStagingConfigToProductionResult.cc | 44 ++++ .../model/RollbackLiveStagingConfigRequest.cc | 62 +++++ .../model/RollbackLiveStagingConfigResult.cc | 44 ++++ .../SetLiveDomainStagingConfigRequest.cc | 62 +++++ .../model/SetLiveDomainStagingConfigResult.cc | 44 ++++ 31 files changed, 1586 insertions(+), 1 deletion(-) create mode 100644 live/include/alibabacloud/live/model/DeleteLiveSpecificStagingConfigRequest.h create mode 100644 live/include/alibabacloud/live/model/DeleteLiveSpecificStagingConfigResult.h create mode 100644 live/include/alibabacloud/live/model/DescribeLiveDomainStagingConfigRequest.h create mode 100644 live/include/alibabacloud/live/model/DescribeLiveDomainStagingConfigResult.h create mode 100644 live/include/alibabacloud/live/model/DescribeLiveStagingIpRequest.h create mode 100644 live/include/alibabacloud/live/model/DescribeLiveStagingIpResult.h create mode 100644 live/include/alibabacloud/live/model/PublishLiveStagingConfigToProductionRequest.h create mode 100644 live/include/alibabacloud/live/model/PublishLiveStagingConfigToProductionResult.h create mode 100644 live/include/alibabacloud/live/model/RollbackLiveStagingConfigRequest.h create mode 100644 live/include/alibabacloud/live/model/RollbackLiveStagingConfigResult.h create mode 100644 live/include/alibabacloud/live/model/SetLiveDomainStagingConfigRequest.h create mode 100644 live/include/alibabacloud/live/model/SetLiveDomainStagingConfigResult.h create mode 100644 live/src/model/DeleteLiveSpecificStagingConfigRequest.cc create mode 100644 live/src/model/DeleteLiveSpecificStagingConfigResult.cc create mode 100644 live/src/model/DescribeLiveDomainStagingConfigRequest.cc create mode 100644 live/src/model/DescribeLiveDomainStagingConfigResult.cc create mode 100644 live/src/model/DescribeLiveStagingIpRequest.cc create mode 100644 live/src/model/DescribeLiveStagingIpResult.cc create mode 100644 live/src/model/PublishLiveStagingConfigToProductionRequest.cc create mode 100644 live/src/model/PublishLiveStagingConfigToProductionResult.cc create mode 100644 live/src/model/RollbackLiveStagingConfigRequest.cc create mode 100644 live/src/model/RollbackLiveStagingConfigResult.cc create mode 100644 live/src/model/SetLiveDomainStagingConfigRequest.cc create mode 100644 live/src/model/SetLiveDomainStagingConfigResult.cc diff --git a/CHANGELOG b/CHANGELOG index ff6cda8d1..b3aee5413 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2021-06-10 Version: 1.36.781 +- Generated 2016-11-01 for `live`. + 2021-06-10 Version: 1.36.780 - DiskEncryption. diff --git a/VERSION b/VERSION index 7dcfe0377..fb59d2fd1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.780 \ No newline at end of file +1.36.781 \ No newline at end of file diff --git a/live/CMakeLists.txt b/live/CMakeLists.txt index 5214e857f..a0f389a99 100644 --- a/live/CMakeLists.txt +++ b/live/CMakeLists.txt @@ -165,6 +165,8 @@ set(live_public_header_model include/alibabacloud/live/model/DeleteLiveRecordVodConfigResult.h include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigRequest.h include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigResult.h + include/alibabacloud/live/model/DeleteLiveSpecificStagingConfigRequest.h + include/alibabacloud/live/model/DeleteLiveSpecificStagingConfigResult.h include/alibabacloud/live/model/DeleteLiveStreamTranscodeRequest.h include/alibabacloud/live/model/DeleteLiveStreamTranscodeResult.h include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.h @@ -271,6 +273,8 @@ set(live_public_header_model include/alibabacloud/live/model/DescribeLiveDomainRecordDataResult.h include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataRequest.h include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataResult.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/DescribeLiveDomainTimeShiftDataRequest.h @@ -299,6 +303,8 @@ set(live_public_header_model include/alibabacloud/live/model/DescribeLiveSnapshotConfigResult.h include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigRequest.h include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigResult.h + include/alibabacloud/live/model/DescribeLiveStagingIpRequest.h + include/alibabacloud/live/model/DescribeLiveStagingIpResult.h include/alibabacloud/live/model/DescribeLiveStreamBitRateDataRequest.h include/alibabacloud/live/model/DescribeLiveStreamBitRateDataResult.h include/alibabacloud/live/model/DescribeLiveStreamCountRequest.h @@ -411,12 +417,16 @@ set(live_public_header_model include/alibabacloud/live/model/ModifyStudioLayoutResult.h include/alibabacloud/live/model/OpenLiveShiftRequest.h include/alibabacloud/live/model/OpenLiveShiftResult.h + include/alibabacloud/live/model/PublishLiveStagingConfigToProductionRequest.h + include/alibabacloud/live/model/PublishLiveStagingConfigToProductionResult.h include/alibabacloud/live/model/RealTimeRecordCommandRequest.h include/alibabacloud/live/model/RealTimeRecordCommandResult.h include/alibabacloud/live/model/RealTimeSnapshotCommandRequest.h include/alibabacloud/live/model/RealTimeSnapshotCommandResult.h include/alibabacloud/live/model/ResumeLiveStreamRequest.h include/alibabacloud/live/model/ResumeLiveStreamResult.h + include/alibabacloud/live/model/RollbackLiveStagingConfigRequest.h + include/alibabacloud/live/model/RollbackLiveStagingConfigResult.h include/alibabacloud/live/model/SendRoomNotificationRequest.h include/alibabacloud/live/model/SendRoomNotificationResult.h include/alibabacloud/live/model/SendRoomUserNotificationRequest.h @@ -433,6 +443,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/SetLiveDomainStagingConfigRequest.h + include/alibabacloud/live/model/SetLiveDomainStagingConfigResult.h include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigRequest.h include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigResult.h include/alibabacloud/live/model/SetLiveStreamDelayConfigRequest.h @@ -642,6 +654,8 @@ set(live_src src/model/DeleteLiveRecordVodConfigResult.cc src/model/DeleteLiveSnapshotDetectPornConfigRequest.cc src/model/DeleteLiveSnapshotDetectPornConfigResult.cc + src/model/DeleteLiveSpecificStagingConfigRequest.cc + src/model/DeleteLiveSpecificStagingConfigResult.cc src/model/DeleteLiveStreamTranscodeRequest.cc src/model/DeleteLiveStreamTranscodeResult.cc src/model/DeleteLiveStreamsNotifyUrlConfigRequest.cc @@ -748,6 +762,8 @@ set(live_src src/model/DescribeLiveDomainRecordDataResult.cc src/model/DescribeLiveDomainSnapshotDataRequest.cc src/model/DescribeLiveDomainSnapshotDataResult.cc + src/model/DescribeLiveDomainStagingConfigRequest.cc + src/model/DescribeLiveDomainStagingConfigResult.cc src/model/DescribeLiveDomainStreamTranscodeDataRequest.cc src/model/DescribeLiveDomainStreamTranscodeDataResult.cc src/model/DescribeLiveDomainTimeShiftDataRequest.cc @@ -776,6 +792,8 @@ set(live_src src/model/DescribeLiveSnapshotConfigResult.cc src/model/DescribeLiveSnapshotDetectPornConfigRequest.cc src/model/DescribeLiveSnapshotDetectPornConfigResult.cc + src/model/DescribeLiveStagingIpRequest.cc + src/model/DescribeLiveStagingIpResult.cc src/model/DescribeLiveStreamBitRateDataRequest.cc src/model/DescribeLiveStreamBitRateDataResult.cc src/model/DescribeLiveStreamCountRequest.cc @@ -888,12 +906,16 @@ set(live_src src/model/ModifyStudioLayoutResult.cc src/model/OpenLiveShiftRequest.cc src/model/OpenLiveShiftResult.cc + src/model/PublishLiveStagingConfigToProductionRequest.cc + src/model/PublishLiveStagingConfigToProductionResult.cc src/model/RealTimeRecordCommandRequest.cc src/model/RealTimeRecordCommandResult.cc src/model/RealTimeSnapshotCommandRequest.cc src/model/RealTimeSnapshotCommandResult.cc src/model/ResumeLiveStreamRequest.cc src/model/ResumeLiveStreamResult.cc + src/model/RollbackLiveStagingConfigRequest.cc + src/model/RollbackLiveStagingConfigResult.cc src/model/SendRoomNotificationRequest.cc src/model/SendRoomNotificationResult.cc src/model/SendRoomUserNotificationRequest.cc @@ -910,6 +932,8 @@ set(live_src src/model/SetCasterSyncGroupResult.cc src/model/SetLiveDomainCertificateRequest.cc src/model/SetLiveDomainCertificateResult.cc + src/model/SetLiveDomainStagingConfigRequest.cc + src/model/SetLiveDomainStagingConfigResult.cc src/model/SetLiveLazyPullStreamInfoConfigRequest.cc src/model/SetLiveLazyPullStreamInfoConfigResult.cc src/model/SetLiveStreamDelayConfigRequest.cc diff --git a/live/include/alibabacloud/live/LiveClient.h b/live/include/alibabacloud/live/LiveClient.h index 84024de25..eef3f4cea 100644 --- a/live/include/alibabacloud/live/LiveClient.h +++ b/live/include/alibabacloud/live/LiveClient.h @@ -166,6 +166,8 @@ #include "model/DeleteLiveRecordVodConfigResult.h" #include "model/DeleteLiveSnapshotDetectPornConfigRequest.h" #include "model/DeleteLiveSnapshotDetectPornConfigResult.h" +#include "model/DeleteLiveSpecificStagingConfigRequest.h" +#include "model/DeleteLiveSpecificStagingConfigResult.h" #include "model/DeleteLiveStreamTranscodeRequest.h" #include "model/DeleteLiveStreamTranscodeResult.h" #include "model/DeleteLiveStreamsNotifyUrlConfigRequest.h" @@ -272,6 +274,8 @@ #include "model/DescribeLiveDomainRecordDataResult.h" #include "model/DescribeLiveDomainSnapshotDataRequest.h" #include "model/DescribeLiveDomainSnapshotDataResult.h" +#include "model/DescribeLiveDomainStagingConfigRequest.h" +#include "model/DescribeLiveDomainStagingConfigResult.h" #include "model/DescribeLiveDomainStreamTranscodeDataRequest.h" #include "model/DescribeLiveDomainStreamTranscodeDataResult.h" #include "model/DescribeLiveDomainTimeShiftDataRequest.h" @@ -300,6 +304,8 @@ #include "model/DescribeLiveSnapshotConfigResult.h" #include "model/DescribeLiveSnapshotDetectPornConfigRequest.h" #include "model/DescribeLiveSnapshotDetectPornConfigResult.h" +#include "model/DescribeLiveStagingIpRequest.h" +#include "model/DescribeLiveStagingIpResult.h" #include "model/DescribeLiveStreamBitRateDataRequest.h" #include "model/DescribeLiveStreamBitRateDataResult.h" #include "model/DescribeLiveStreamCountRequest.h" @@ -412,12 +418,16 @@ #include "model/ModifyStudioLayoutResult.h" #include "model/OpenLiveShiftRequest.h" #include "model/OpenLiveShiftResult.h" +#include "model/PublishLiveStagingConfigToProductionRequest.h" +#include "model/PublishLiveStagingConfigToProductionResult.h" #include "model/RealTimeRecordCommandRequest.h" #include "model/RealTimeRecordCommandResult.h" #include "model/RealTimeSnapshotCommandRequest.h" #include "model/RealTimeSnapshotCommandResult.h" #include "model/ResumeLiveStreamRequest.h" #include "model/ResumeLiveStreamResult.h" +#include "model/RollbackLiveStagingConfigRequest.h" +#include "model/RollbackLiveStagingConfigResult.h" #include "model/SendRoomNotificationRequest.h" #include "model/SendRoomNotificationResult.h" #include "model/SendRoomUserNotificationRequest.h" @@ -434,6 +444,8 @@ #include "model/SetCasterSyncGroupResult.h" #include "model/SetLiveDomainCertificateRequest.h" #include "model/SetLiveDomainCertificateResult.h" +#include "model/SetLiveDomainStagingConfigRequest.h" +#include "model/SetLiveDomainStagingConfigResult.h" #include "model/SetLiveLazyPullStreamInfoConfigRequest.h" #include "model/SetLiveLazyPullStreamInfoConfigResult.h" #include "model/SetLiveStreamDelayConfigRequest.h" @@ -721,6 +733,9 @@ namespace AlibabaCloud typedef Outcome DeleteLiveSnapshotDetectPornConfigOutcome; typedef std::future DeleteLiveSnapshotDetectPornConfigOutcomeCallable; typedef std::function&)> DeleteLiveSnapshotDetectPornConfigAsyncHandler; + typedef Outcome DeleteLiveSpecificStagingConfigOutcome; + typedef std::future DeleteLiveSpecificStagingConfigOutcomeCallable; + typedef std::function&)> DeleteLiveSpecificStagingConfigAsyncHandler; typedef Outcome DeleteLiveStreamTranscodeOutcome; typedef std::future DeleteLiveStreamTranscodeOutcomeCallable; typedef std::function&)> DeleteLiveStreamTranscodeAsyncHandler; @@ -880,6 +895,9 @@ namespace AlibabaCloud typedef Outcome DescribeLiveDomainSnapshotDataOutcome; typedef std::future DescribeLiveDomainSnapshotDataOutcomeCallable; typedef std::function&)> DescribeLiveDomainSnapshotDataAsyncHandler; + typedef Outcome DescribeLiveDomainStagingConfigOutcome; + typedef std::future DescribeLiveDomainStagingConfigOutcomeCallable; + typedef std::function&)> DescribeLiveDomainStagingConfigAsyncHandler; typedef Outcome DescribeLiveDomainStreamTranscodeDataOutcome; typedef std::future DescribeLiveDomainStreamTranscodeDataOutcomeCallable; typedef std::function&)> DescribeLiveDomainStreamTranscodeDataAsyncHandler; @@ -922,6 +940,9 @@ namespace AlibabaCloud typedef Outcome DescribeLiveSnapshotDetectPornConfigOutcome; typedef std::future DescribeLiveSnapshotDetectPornConfigOutcomeCallable; typedef std::function&)> DescribeLiveSnapshotDetectPornConfigAsyncHandler; + typedef Outcome DescribeLiveStagingIpOutcome; + typedef std::future DescribeLiveStagingIpOutcomeCallable; + typedef std::function&)> DescribeLiveStagingIpAsyncHandler; typedef Outcome DescribeLiveStreamBitRateDataOutcome; typedef std::future DescribeLiveStreamBitRateDataOutcomeCallable; typedef std::function&)> DescribeLiveStreamBitRateDataAsyncHandler; @@ -1090,6 +1111,9 @@ namespace AlibabaCloud typedef Outcome OpenLiveShiftOutcome; typedef std::future OpenLiveShiftOutcomeCallable; typedef std::function&)> OpenLiveShiftAsyncHandler; + typedef Outcome PublishLiveStagingConfigToProductionOutcome; + typedef std::future PublishLiveStagingConfigToProductionOutcomeCallable; + typedef std::function&)> PublishLiveStagingConfigToProductionAsyncHandler; typedef Outcome RealTimeRecordCommandOutcome; typedef std::future RealTimeRecordCommandOutcomeCallable; typedef std::function&)> RealTimeRecordCommandAsyncHandler; @@ -1099,6 +1123,9 @@ namespace AlibabaCloud typedef Outcome ResumeLiveStreamOutcome; typedef std::future ResumeLiveStreamOutcomeCallable; typedef std::function&)> ResumeLiveStreamAsyncHandler; + typedef Outcome RollbackLiveStagingConfigOutcome; + typedef std::future RollbackLiveStagingConfigOutcomeCallable; + typedef std::function&)> RollbackLiveStagingConfigAsyncHandler; typedef Outcome SendRoomNotificationOutcome; typedef std::future SendRoomNotificationOutcomeCallable; typedef std::function&)> SendRoomNotificationAsyncHandler; @@ -1123,6 +1150,9 @@ namespace AlibabaCloud typedef Outcome SetLiveDomainCertificateOutcome; typedef std::future SetLiveDomainCertificateOutcomeCallable; typedef std::function&)> SetLiveDomainCertificateAsyncHandler; + typedef Outcome SetLiveDomainStagingConfigOutcome; + typedef std::future SetLiveDomainStagingConfigOutcomeCallable; + typedef std::function&)> SetLiveDomainStagingConfigAsyncHandler; typedef Outcome SetLiveLazyPullStreamInfoConfigOutcome; typedef std::future SetLiveLazyPullStreamInfoConfigOutcomeCallable; typedef std::function&)> SetLiveLazyPullStreamInfoConfigAsyncHandler; @@ -1437,6 +1467,9 @@ namespace AlibabaCloud DeleteLiveSnapshotDetectPornConfigOutcome deleteLiveSnapshotDetectPornConfig(const Model::DeleteLiveSnapshotDetectPornConfigRequest &request)const; void deleteLiveSnapshotDetectPornConfigAsync(const Model::DeleteLiveSnapshotDetectPornConfigRequest& request, const DeleteLiveSnapshotDetectPornConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteLiveSnapshotDetectPornConfigOutcomeCallable deleteLiveSnapshotDetectPornConfigCallable(const Model::DeleteLiveSnapshotDetectPornConfigRequest& request) const; + DeleteLiveSpecificStagingConfigOutcome deleteLiveSpecificStagingConfig(const Model::DeleteLiveSpecificStagingConfigRequest &request)const; + void deleteLiveSpecificStagingConfigAsync(const Model::DeleteLiveSpecificStagingConfigRequest& request, const DeleteLiveSpecificStagingConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteLiveSpecificStagingConfigOutcomeCallable deleteLiveSpecificStagingConfigCallable(const Model::DeleteLiveSpecificStagingConfigRequest& 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; @@ -1596,6 +1629,9 @@ 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; + 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; @@ -1638,6 +1674,9 @@ namespace AlibabaCloud DescribeLiveSnapshotDetectPornConfigOutcome describeLiveSnapshotDetectPornConfig(const Model::DescribeLiveSnapshotDetectPornConfigRequest &request)const; void describeLiveSnapshotDetectPornConfigAsync(const Model::DescribeLiveSnapshotDetectPornConfigRequest& request, const DescribeLiveSnapshotDetectPornConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveSnapshotDetectPornConfigOutcomeCallable describeLiveSnapshotDetectPornConfigCallable(const Model::DescribeLiveSnapshotDetectPornConfigRequest& request) const; + DescribeLiveStagingIpOutcome describeLiveStagingIp(const Model::DescribeLiveStagingIpRequest &request)const; + void describeLiveStagingIpAsync(const Model::DescribeLiveStagingIpRequest& request, const DescribeLiveStagingIpAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveStagingIpOutcomeCallable describeLiveStagingIpCallable(const Model::DescribeLiveStagingIpRequest& request) const; DescribeLiveStreamBitRateDataOutcome describeLiveStreamBitRateData(const Model::DescribeLiveStreamBitRateDataRequest &request)const; void describeLiveStreamBitRateDataAsync(const Model::DescribeLiveStreamBitRateDataRequest& request, const DescribeLiveStreamBitRateDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveStreamBitRateDataOutcomeCallable describeLiveStreamBitRateDataCallable(const Model::DescribeLiveStreamBitRateDataRequest& request) const; @@ -1806,6 +1845,9 @@ namespace AlibabaCloud OpenLiveShiftOutcome openLiveShift(const Model::OpenLiveShiftRequest &request)const; void openLiveShiftAsync(const Model::OpenLiveShiftRequest& request, const OpenLiveShiftAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; OpenLiveShiftOutcomeCallable openLiveShiftCallable(const Model::OpenLiveShiftRequest& request) const; + PublishLiveStagingConfigToProductionOutcome publishLiveStagingConfigToProduction(const Model::PublishLiveStagingConfigToProductionRequest &request)const; + void publishLiveStagingConfigToProductionAsync(const Model::PublishLiveStagingConfigToProductionRequest& request, const PublishLiveStagingConfigToProductionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + PublishLiveStagingConfigToProductionOutcomeCallable publishLiveStagingConfigToProductionCallable(const Model::PublishLiveStagingConfigToProductionRequest& request) const; RealTimeRecordCommandOutcome realTimeRecordCommand(const Model::RealTimeRecordCommandRequest &request)const; void realTimeRecordCommandAsync(const Model::RealTimeRecordCommandRequest& request, const RealTimeRecordCommandAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RealTimeRecordCommandOutcomeCallable realTimeRecordCommandCallable(const Model::RealTimeRecordCommandRequest& request) const; @@ -1815,6 +1857,9 @@ namespace AlibabaCloud ResumeLiveStreamOutcome resumeLiveStream(const Model::ResumeLiveStreamRequest &request)const; void resumeLiveStreamAsync(const Model::ResumeLiveStreamRequest& request, const ResumeLiveStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ResumeLiveStreamOutcomeCallable resumeLiveStreamCallable(const Model::ResumeLiveStreamRequest& request) const; + RollbackLiveStagingConfigOutcome rollbackLiveStagingConfig(const Model::RollbackLiveStagingConfigRequest &request)const; + void rollbackLiveStagingConfigAsync(const Model::RollbackLiveStagingConfigRequest& request, const RollbackLiveStagingConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RollbackLiveStagingConfigOutcomeCallable rollbackLiveStagingConfigCallable(const Model::RollbackLiveStagingConfigRequest& request) const; SendRoomNotificationOutcome sendRoomNotification(const Model::SendRoomNotificationRequest &request)const; void sendRoomNotificationAsync(const Model::SendRoomNotificationRequest& request, const SendRoomNotificationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SendRoomNotificationOutcomeCallable sendRoomNotificationCallable(const Model::SendRoomNotificationRequest& request) const; @@ -1839,6 +1884,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; + 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; SetLiveLazyPullStreamInfoConfigOutcome setLiveLazyPullStreamInfoConfig(const Model::SetLiveLazyPullStreamInfoConfigRequest &request)const; void setLiveLazyPullStreamInfoConfigAsync(const Model::SetLiveLazyPullStreamInfoConfigRequest& request, const SetLiveLazyPullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetLiveLazyPullStreamInfoConfigOutcomeCallable setLiveLazyPullStreamInfoConfigCallable(const Model::SetLiveLazyPullStreamInfoConfigRequest& request) const; diff --git a/live/include/alibabacloud/live/model/DeleteLiveSpecificStagingConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLiveSpecificStagingConfigRequest.h new file mode 100644 index 000000000..cd8b73676 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveSpecificStagingConfigRequest.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_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/DeleteLiveSpecificStagingConfigResult.h b/live/include/alibabacloud/live/model/DeleteLiveSpecificStagingConfigResult.h new file mode 100644 index 000000000..ba82e5595 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveSpecificStagingConfigResult.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_DELETELIVESPECIFICSTAGINGCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESPECIFICSTAGINGCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveSpecificStagingConfigResult : public ServiceResult + { + public: + + + DeleteLiveSpecificStagingConfigResult(); + explicit DeleteLiveSpecificStagingConfigResult(const std::string &payload); + ~DeleteLiveSpecificStagingConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESPECIFICSTAGINGCONFIGRESULT_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 new file mode 100644 index 000000000..18cb9b321 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainStagingConfigRequest.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_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/DescribeLiveDomainStagingConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveDomainStagingConfigResult.h new file mode 100644 index 000000000..d27a85bfd --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainStagingConfigResult.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_DESCRIBELIVEDOMAINSTAGINGCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTAGINGCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainStagingConfigResult : public ServiceResult + { + public: + struct DomainConfig + { + struct FunctionArg + { + std::string argValue; + std::string argName; + }; + std::string status; + std::string functionName; + std::vector functionArgs; + std::string configId; + }; + + + DescribeLiveDomainStagingConfigResult(); + explicit DescribeLiveDomainStagingConfigResult(const std::string &payload); + ~DescribeLiveDomainStagingConfigResult(); + std::vector getDomainConfigs()const; + + protected: + void parse(const std::string &payload); + private: + std::vector domainConfigs_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTAGINGCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLivePullStreamConfigResult.h b/live/include/alibabacloud/live/model/DescribeLivePullStreamConfigResult.h index 684e355ec..8fbfb9f31 100644 --- a/live/include/alibabacloud/live/model/DescribeLivePullStreamConfigResult.h +++ b/live/include/alibabacloud/live/model/DescribeLivePullStreamConfigResult.h @@ -39,6 +39,7 @@ namespace AlibabaCloud std::string endTime; std::string domainName; std::string startTime; + std::string sourceUsing; std::string appName; }; diff --git a/live/include/alibabacloud/live/model/DescribeLiveStagingIpRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStagingIpRequest.h new file mode 100644 index 000000000..39416ed8d --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStagingIpRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTAGINGIPREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTAGINGIPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStagingIpRequest : public RpcServiceRequest + { + + public: + DescribeLiveStagingIpRequest(); + ~DescribeLiveStagingIpRequest(); + + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTAGINGIPREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStagingIpResult.h b/live/include/alibabacloud/live/model/DescribeLiveStagingIpResult.h new file mode 100644 index 000000000..de9797238 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStagingIpResult.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_DESCRIBELIVESTAGINGIPRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTAGINGIPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStagingIpResult : public ServiceResult + { + public: + + + DescribeLiveStagingIpResult(); + explicit DescribeLiveStagingIpResult(const std::string &payload); + ~DescribeLiveStagingIpResult(); + std::vector getIPV4s()const; + + protected: + void parse(const std::string &payload); + private: + std::vector iPV4s_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTAGINGIPRESULT_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 new file mode 100644 index 000000000..08ac24a53 --- /dev/null +++ b/live/include/alibabacloud/live/model/PublishLiveStagingConfigToProductionRequest.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_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/PublishLiveStagingConfigToProductionResult.h b/live/include/alibabacloud/live/model/PublishLiveStagingConfigToProductionResult.h new file mode 100644 index 000000000..0684a3a62 --- /dev/null +++ b/live/include/alibabacloud/live/model/PublishLiveStagingConfigToProductionResult.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_PUBLISHLIVESTAGINGCONFIGTOPRODUCTIONRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_PUBLISHLIVESTAGINGCONFIGTOPRODUCTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT PublishLiveStagingConfigToProductionResult : public ServiceResult + { + public: + + + PublishLiveStagingConfigToProductionResult(); + explicit PublishLiveStagingConfigToProductionResult(const std::string &payload); + ~PublishLiveStagingConfigToProductionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_PUBLISHLIVESTAGINGCONFIGTOPRODUCTIONRESULT_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 new file mode 100644 index 000000000..85fc25527 --- /dev/null +++ b/live/include/alibabacloud/live/model/RollbackLiveStagingConfigRequest.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_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/RollbackLiveStagingConfigResult.h b/live/include/alibabacloud/live/model/RollbackLiveStagingConfigResult.h new file mode 100644 index 000000000..8390c9fdc --- /dev/null +++ b/live/include/alibabacloud/live/model/RollbackLiveStagingConfigResult.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_ROLLBACKLIVESTAGINGCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ROLLBACKLIVESTAGINGCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT RollbackLiveStagingConfigResult : public ServiceResult + { + public: + + + RollbackLiveStagingConfigResult(); + explicit RollbackLiveStagingConfigResult(const std::string &payload); + ~RollbackLiveStagingConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ROLLBACKLIVESTAGINGCONFIGRESULT_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 new file mode 100644 index 000000000..7d2cbb490 --- /dev/null +++ b/live/include/alibabacloud/live/model/SetLiveDomainStagingConfigRequest.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_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/SetLiveDomainStagingConfigResult.h b/live/include/alibabacloud/live/model/SetLiveDomainStagingConfigResult.h new file mode 100644 index 000000000..f33b27530 --- /dev/null +++ b/live/include/alibabacloud/live/model/SetLiveDomainStagingConfigResult.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_SETLIVEDOMAINSTAGINGCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINSTAGINGCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT SetLiveDomainStagingConfigResult : public ServiceResult + { + public: + + + SetLiveDomainStagingConfigResult(); + explicit SetLiveDomainStagingConfigResult(const std::string &payload); + ~SetLiveDomainStagingConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_SETLIVEDOMAINSTAGINGCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/src/LiveClient.cc b/live/src/LiveClient.cc index 516857dd3..12b7fcb46 100644 --- a/live/src/LiveClient.cc +++ b/live/src/LiveClient.cc @@ -2643,6 +2643,42 @@ LiveClient::DeleteLiveSnapshotDetectPornConfigOutcomeCallable LiveClient::delete return task->get_future(); } +LiveClient::DeleteLiveSpecificStagingConfigOutcome LiveClient::deleteLiveSpecificStagingConfig(const DeleteLiveSpecificStagingConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLiveSpecificStagingConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLiveSpecificStagingConfigOutcome(DeleteLiveSpecificStagingConfigResult(outcome.result())); + else + return DeleteLiveSpecificStagingConfigOutcome(outcome.error()); +} + +void LiveClient::deleteLiveSpecificStagingConfigAsync(const DeleteLiveSpecificStagingConfigRequest& request, const DeleteLiveSpecificStagingConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLiveSpecificStagingConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteLiveSpecificStagingConfigOutcomeCallable LiveClient::deleteLiveSpecificStagingConfigCallable(const DeleteLiveSpecificStagingConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLiveSpecificStagingConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DeleteLiveStreamTranscodeOutcome LiveClient::deleteLiveStreamTranscode(const DeleteLiveStreamTranscodeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4551,6 +4587,42 @@ LiveClient::DescribeLiveDomainSnapshotDataOutcomeCallable LiveClient::describeLi return task->get_future(); } +LiveClient::DescribeLiveDomainStagingConfigOutcome LiveClient::describeLiveDomainStagingConfig(const DescribeLiveDomainStagingConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveDomainStagingConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveDomainStagingConfigOutcome(DescribeLiveDomainStagingConfigResult(outcome.result())); + else + return DescribeLiveDomainStagingConfigOutcome(outcome.error()); +} + +void LiveClient::describeLiveDomainStagingConfigAsync(const DescribeLiveDomainStagingConfigRequest& request, const DescribeLiveDomainStagingConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveDomainStagingConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveDomainStagingConfigOutcomeCallable LiveClient::describeLiveDomainStagingConfigCallable(const DescribeLiveDomainStagingConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveDomainStagingConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeLiveDomainStreamTranscodeDataOutcome LiveClient::describeLiveDomainStreamTranscodeData(const DescribeLiveDomainStreamTranscodeDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5055,6 +5127,42 @@ LiveClient::DescribeLiveSnapshotDetectPornConfigOutcomeCallable LiveClient::desc return task->get_future(); } +LiveClient::DescribeLiveStagingIpOutcome LiveClient::describeLiveStagingIp(const DescribeLiveStagingIpRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveStagingIpOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveStagingIpOutcome(DescribeLiveStagingIpResult(outcome.result())); + else + return DescribeLiveStagingIpOutcome(outcome.error()); +} + +void LiveClient::describeLiveStagingIpAsync(const DescribeLiveStagingIpRequest& request, const DescribeLiveStagingIpAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveStagingIp(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveStagingIpOutcomeCallable LiveClient::describeLiveStagingIpCallable(const DescribeLiveStagingIpRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveStagingIp(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeLiveStreamBitRateDataOutcome LiveClient::describeLiveStreamBitRateData(const DescribeLiveStreamBitRateDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -7071,6 +7179,42 @@ LiveClient::OpenLiveShiftOutcomeCallable LiveClient::openLiveShiftCallable(const return task->get_future(); } +LiveClient::PublishLiveStagingConfigToProductionOutcome LiveClient::publishLiveStagingConfigToProduction(const PublishLiveStagingConfigToProductionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return PublishLiveStagingConfigToProductionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return PublishLiveStagingConfigToProductionOutcome(PublishLiveStagingConfigToProductionResult(outcome.result())); + else + return PublishLiveStagingConfigToProductionOutcome(outcome.error()); +} + +void LiveClient::publishLiveStagingConfigToProductionAsync(const PublishLiveStagingConfigToProductionRequest& request, const PublishLiveStagingConfigToProductionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, publishLiveStagingConfigToProduction(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::PublishLiveStagingConfigToProductionOutcomeCallable LiveClient::publishLiveStagingConfigToProductionCallable(const PublishLiveStagingConfigToProductionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->publishLiveStagingConfigToProduction(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::RealTimeRecordCommandOutcome LiveClient::realTimeRecordCommand(const RealTimeRecordCommandRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -7179,6 +7323,42 @@ LiveClient::ResumeLiveStreamOutcomeCallable LiveClient::resumeLiveStreamCallable return task->get_future(); } +LiveClient::RollbackLiveStagingConfigOutcome LiveClient::rollbackLiveStagingConfig(const RollbackLiveStagingConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RollbackLiveStagingConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RollbackLiveStagingConfigOutcome(RollbackLiveStagingConfigResult(outcome.result())); + else + return RollbackLiveStagingConfigOutcome(outcome.error()); +} + +void LiveClient::rollbackLiveStagingConfigAsync(const RollbackLiveStagingConfigRequest& request, const RollbackLiveStagingConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, rollbackLiveStagingConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::RollbackLiveStagingConfigOutcomeCallable LiveClient::rollbackLiveStagingConfigCallable(const RollbackLiveStagingConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->rollbackLiveStagingConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::SendRoomNotificationOutcome LiveClient::sendRoomNotification(const SendRoomNotificationRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -7467,6 +7647,42 @@ LiveClient::SetLiveDomainCertificateOutcomeCallable LiveClient::setLiveDomainCer return task->get_future(); } +LiveClient::SetLiveDomainStagingConfigOutcome LiveClient::setLiveDomainStagingConfig(const SetLiveDomainStagingConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetLiveDomainStagingConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetLiveDomainStagingConfigOutcome(SetLiveDomainStagingConfigResult(outcome.result())); + else + return SetLiveDomainStagingConfigOutcome(outcome.error()); +} + +void LiveClient::setLiveDomainStagingConfigAsync(const SetLiveDomainStagingConfigRequest& request, const SetLiveDomainStagingConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setLiveDomainStagingConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::SetLiveDomainStagingConfigOutcomeCallable LiveClient::setLiveDomainStagingConfigCallable(const SetLiveDomainStagingConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setLiveDomainStagingConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::SetLiveLazyPullStreamInfoConfigOutcome LiveClient::setLiveLazyPullStreamInfoConfig(const SetLiveLazyPullStreamInfoConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/live/src/model/DeleteLiveSpecificStagingConfigRequest.cc b/live/src/model/DeleteLiveSpecificStagingConfigRequest.cc new file mode 100644 index 000000000..1712359c8 --- /dev/null +++ b/live/src/model/DeleteLiveSpecificStagingConfigRequest.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::DeleteLiveSpecificStagingConfigRequest; + +DeleteLiveSpecificStagingConfigRequest::DeleteLiveSpecificStagingConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DeleteLiveSpecificStagingConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteLiveSpecificStagingConfigRequest::~DeleteLiveSpecificStagingConfigRequest() +{} + +std::string DeleteLiveSpecificStagingConfigRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DeleteLiveSpecificStagingConfigRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DeleteLiveSpecificStagingConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DeleteLiveSpecificStagingConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DeleteLiveSpecificStagingConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteLiveSpecificStagingConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteLiveSpecificStagingConfigRequest::getConfigId()const +{ + return configId_; +} + +void DeleteLiveSpecificStagingConfigRequest::setConfigId(const std::string& configId) +{ + configId_ = configId; + setParameter("ConfigId", configId); +} + diff --git a/live/src/model/DeleteLiveSpecificStagingConfigResult.cc b/live/src/model/DeleteLiveSpecificStagingConfigResult.cc new file mode 100644 index 000000000..dede58c83 --- /dev/null +++ b/live/src/model/DeleteLiveSpecificStagingConfigResult.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; + +DeleteLiveSpecificStagingConfigResult::DeleteLiveSpecificStagingConfigResult() : + ServiceResult() +{} + +DeleteLiveSpecificStagingConfigResult::DeleteLiveSpecificStagingConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLiveSpecificStagingConfigResult::~DeleteLiveSpecificStagingConfigResult() +{} + +void DeleteLiveSpecificStagingConfigResult::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/DescribeLiveDomainStagingConfigRequest.cc b/live/src/model/DescribeLiveDomainStagingConfigRequest.cc new file mode 100644 index 000000000..c667dca28 --- /dev/null +++ b/live/src/model/DescribeLiveDomainStagingConfigRequest.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::DescribeLiveDomainStagingConfigRequest; + +DescribeLiveDomainStagingConfigRequest::DescribeLiveDomainStagingConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainStagingConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeLiveDomainStagingConfigRequest::~DescribeLiveDomainStagingConfigRequest() +{} + +std::string DescribeLiveDomainStagingConfigRequest::getFunctionNames()const +{ + return functionNames_; +} + +void DescribeLiveDomainStagingConfigRequest::setFunctionNames(const std::string& functionNames) +{ + functionNames_ = functionNames; + setParameter("FunctionNames", functionNames); +} + +std::string DescribeLiveDomainStagingConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveDomainStagingConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DescribeLiveDomainStagingConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveDomainStagingConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/DescribeLiveDomainStagingConfigResult.cc b/live/src/model/DescribeLiveDomainStagingConfigResult.cc new file mode 100644 index 000000000..69d59ee57 --- /dev/null +++ b/live/src/model/DescribeLiveDomainStagingConfigResult.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveDomainStagingConfigResult::DescribeLiveDomainStagingConfigResult() : + ServiceResult() +{} + +DescribeLiveDomainStagingConfigResult::DescribeLiveDomainStagingConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveDomainStagingConfigResult::~DescribeLiveDomainStagingConfigResult() +{} + +void DescribeLiveDomainStagingConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDomainConfigsNode = value["DomainConfigs"]["DomainConfig"]; + for (auto valueDomainConfigsDomainConfig : allDomainConfigsNode) + { + DomainConfig domainConfigsObject; + if(!valueDomainConfigsDomainConfig["FunctionName"].isNull()) + domainConfigsObject.functionName = valueDomainConfigsDomainConfig["FunctionName"].asString(); + if(!valueDomainConfigsDomainConfig["ConfigId"].isNull()) + domainConfigsObject.configId = valueDomainConfigsDomainConfig["ConfigId"].asString(); + if(!valueDomainConfigsDomainConfig["Status"].isNull()) + domainConfigsObject.status = valueDomainConfigsDomainConfig["Status"].asString(); + auto allFunctionArgsNode = valueDomainConfigsDomainConfig["FunctionArgs"]["FunctionArg"]; + for (auto valueDomainConfigsDomainConfigFunctionArgsFunctionArg : allFunctionArgsNode) + { + DomainConfig::FunctionArg functionArgsObject; + if(!valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgName"].isNull()) + functionArgsObject.argName = valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgName"].asString(); + if(!valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgValue"].isNull()) + functionArgsObject.argValue = valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgValue"].asString(); + domainConfigsObject.functionArgs.push_back(functionArgsObject); + } + domainConfigs_.push_back(domainConfigsObject); + } + +} + +std::vector DescribeLiveDomainStagingConfigResult::getDomainConfigs()const +{ + return domainConfigs_; +} + diff --git a/live/src/model/DescribeLivePullStreamConfigResult.cc b/live/src/model/DescribeLivePullStreamConfigResult.cc index f159fbd47..52dc130d2 100644 --- a/live/src/model/DescribeLivePullStreamConfigResult.cc +++ b/live/src/model/DescribeLivePullStreamConfigResult.cc @@ -51,6 +51,8 @@ void DescribeLivePullStreamConfigResult::parse(const std::string &payload) 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()) diff --git a/live/src/model/DescribeLiveStagingIpRequest.cc b/live/src/model/DescribeLiveStagingIpRequest.cc new file mode 100644 index 000000000..1da9a11c3 --- /dev/null +++ b/live/src/model/DescribeLiveStagingIpRequest.cc @@ -0,0 +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::DescribeLiveStagingIpRequest; + +DescribeLiveStagingIpRequest::DescribeLiveStagingIpRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveStagingIp") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeLiveStagingIpRequest::~DescribeLiveStagingIpRequest() +{} + +long DescribeLiveStagingIpRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveStagingIpRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/DescribeLiveStagingIpResult.cc b/live/src/model/DescribeLiveStagingIpResult.cc new file mode 100644 index 000000000..0c8d04455 --- /dev/null +++ b/live/src/model/DescribeLiveStagingIpResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveStagingIpResult::DescribeLiveStagingIpResult() : + ServiceResult() +{} + +DescribeLiveStagingIpResult::DescribeLiveStagingIpResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveStagingIpResult::~DescribeLiveStagingIpResult() +{} + +void DescribeLiveStagingIpResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allIPV4s = value["IPV4s"]["IPV4"]; + for (const auto &item : allIPV4s) + iPV4s_.push_back(item.asString()); + +} + +std::vector DescribeLiveStagingIpResult::getIPV4s()const +{ + return iPV4s_; +} + diff --git a/live/src/model/PublishLiveStagingConfigToProductionRequest.cc b/live/src/model/PublishLiveStagingConfigToProductionRequest.cc new file mode 100644 index 000000000..9c306fb45 --- /dev/null +++ b/live/src/model/PublishLiveStagingConfigToProductionRequest.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::PublishLiveStagingConfigToProductionRequest; + +PublishLiveStagingConfigToProductionRequest::PublishLiveStagingConfigToProductionRequest() : + RpcServiceRequest("live", "2016-11-01", "PublishLiveStagingConfigToProduction") +{ + setMethod(HttpRequest::Method::Post); +} + +PublishLiveStagingConfigToProductionRequest::~PublishLiveStagingConfigToProductionRequest() +{} + +std::string PublishLiveStagingConfigToProductionRequest::getFunctionName()const +{ + return functionName_; +} + +void PublishLiveStagingConfigToProductionRequest::setFunctionName(const std::string& functionName) +{ + functionName_ = functionName; + setParameter("FunctionName", functionName); +} + +std::string PublishLiveStagingConfigToProductionRequest::getDomainName()const +{ + return domainName_; +} + +void PublishLiveStagingConfigToProductionRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long PublishLiveStagingConfigToProductionRequest::getOwnerId()const +{ + return ownerId_; +} + +void PublishLiveStagingConfigToProductionRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/PublishLiveStagingConfigToProductionResult.cc b/live/src/model/PublishLiveStagingConfigToProductionResult.cc new file mode 100644 index 000000000..e6884e34b --- /dev/null +++ b/live/src/model/PublishLiveStagingConfigToProductionResult.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; + +PublishLiveStagingConfigToProductionResult::PublishLiveStagingConfigToProductionResult() : + ServiceResult() +{} + +PublishLiveStagingConfigToProductionResult::PublishLiveStagingConfigToProductionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +PublishLiveStagingConfigToProductionResult::~PublishLiveStagingConfigToProductionResult() +{} + +void PublishLiveStagingConfigToProductionResult::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/RollbackLiveStagingConfigRequest.cc b/live/src/model/RollbackLiveStagingConfigRequest.cc new file mode 100644 index 000000000..57bd609ee --- /dev/null +++ b/live/src/model/RollbackLiveStagingConfigRequest.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::RollbackLiveStagingConfigRequest; + +RollbackLiveStagingConfigRequest::RollbackLiveStagingConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "RollbackLiveStagingConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +RollbackLiveStagingConfigRequest::~RollbackLiveStagingConfigRequest() +{} + +std::string RollbackLiveStagingConfigRequest::getFunctionName()const +{ + return functionName_; +} + +void RollbackLiveStagingConfigRequest::setFunctionName(const std::string& functionName) +{ + functionName_ = functionName; + setParameter("FunctionName", functionName); +} + +std::string RollbackLiveStagingConfigRequest::getDomainName()const +{ + return domainName_; +} + +void RollbackLiveStagingConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long RollbackLiveStagingConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void RollbackLiveStagingConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/RollbackLiveStagingConfigResult.cc b/live/src/model/RollbackLiveStagingConfigResult.cc new file mode 100644 index 000000000..f0e1a729d --- /dev/null +++ b/live/src/model/RollbackLiveStagingConfigResult.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; + +RollbackLiveStagingConfigResult::RollbackLiveStagingConfigResult() : + ServiceResult() +{} + +RollbackLiveStagingConfigResult::RollbackLiveStagingConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RollbackLiveStagingConfigResult::~RollbackLiveStagingConfigResult() +{} + +void RollbackLiveStagingConfigResult::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 new file mode 100644 index 000000000..c89fc7667 --- /dev/null +++ b/live/src/model/SetLiveDomainStagingConfigRequest.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::SetLiveDomainStagingConfigRequest; + +SetLiveDomainStagingConfigRequest::SetLiveDomainStagingConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "SetLiveDomainStagingConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +SetLiveDomainStagingConfigRequest::~SetLiveDomainStagingConfigRequest() +{} + +std::string SetLiveDomainStagingConfigRequest::getFunctions()const +{ + return functions_; +} + +void SetLiveDomainStagingConfigRequest::setFunctions(const std::string& functions) +{ + functions_ = functions; + setParameter("Functions", functions); +} + +std::string SetLiveDomainStagingConfigRequest::getDomainName()const +{ + return domainName_; +} + +void SetLiveDomainStagingConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long SetLiveDomainStagingConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void SetLiveDomainStagingConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/SetLiveDomainStagingConfigResult.cc b/live/src/model/SetLiveDomainStagingConfigResult.cc new file mode 100644 index 000000000..fd2048d21 --- /dev/null +++ b/live/src/model/SetLiveDomainStagingConfigResult.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; + +SetLiveDomainStagingConfigResult::SetLiveDomainStagingConfigResult() : + ServiceResult() +{} + +SetLiveDomainStagingConfigResult::SetLiveDomainStagingConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetLiveDomainStagingConfigResult::~SetLiveDomainStagingConfigResult() +{} + +void SetLiveDomainStagingConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} +