Generated 2016-11-01 for live.

This commit is contained in:
sdk-team
2021-06-10 07:33:20 +00:00
parent 73a8478a41
commit b4b0cb593d
31 changed files with 1586 additions and 1 deletions

View File

@@ -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.

View File

@@ -1 +1 @@
1.36.780
1.36.781

View File

@@ -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

View File

@@ -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<Error, Model::DeleteLiveSnapshotDetectPornConfigResult> DeleteLiveSnapshotDetectPornConfigOutcome;
typedef std::future<DeleteLiveSnapshotDetectPornConfigOutcome> DeleteLiveSnapshotDetectPornConfigOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DeleteLiveSnapshotDetectPornConfigRequest&, const DeleteLiveSnapshotDetectPornConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveSnapshotDetectPornConfigAsyncHandler;
typedef Outcome<Error, Model::DeleteLiveSpecificStagingConfigResult> DeleteLiveSpecificStagingConfigOutcome;
typedef std::future<DeleteLiveSpecificStagingConfigOutcome> DeleteLiveSpecificStagingConfigOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DeleteLiveSpecificStagingConfigRequest&, const DeleteLiveSpecificStagingConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveSpecificStagingConfigAsyncHandler;
typedef Outcome<Error, Model::DeleteLiveStreamTranscodeResult> DeleteLiveStreamTranscodeOutcome;
typedef std::future<DeleteLiveStreamTranscodeOutcome> DeleteLiveStreamTranscodeOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DeleteLiveStreamTranscodeRequest&, const DeleteLiveStreamTranscodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveStreamTranscodeAsyncHandler;
@@ -880,6 +895,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeLiveDomainSnapshotDataResult> DescribeLiveDomainSnapshotDataOutcome;
typedef std::future<DescribeLiveDomainSnapshotDataOutcome> DescribeLiveDomainSnapshotDataOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeLiveDomainSnapshotDataRequest&, const DescribeLiveDomainSnapshotDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveDomainSnapshotDataAsyncHandler;
typedef Outcome<Error, Model::DescribeLiveDomainStagingConfigResult> DescribeLiveDomainStagingConfigOutcome;
typedef std::future<DescribeLiveDomainStagingConfigOutcome> DescribeLiveDomainStagingConfigOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeLiveDomainStagingConfigRequest&, const DescribeLiveDomainStagingConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveDomainStagingConfigAsyncHandler;
typedef Outcome<Error, Model::DescribeLiveDomainStreamTranscodeDataResult> DescribeLiveDomainStreamTranscodeDataOutcome;
typedef std::future<DescribeLiveDomainStreamTranscodeDataOutcome> DescribeLiveDomainStreamTranscodeDataOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeLiveDomainStreamTranscodeDataRequest&, const DescribeLiveDomainStreamTranscodeDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveDomainStreamTranscodeDataAsyncHandler;
@@ -922,6 +940,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeLiveSnapshotDetectPornConfigResult> DescribeLiveSnapshotDetectPornConfigOutcome;
typedef std::future<DescribeLiveSnapshotDetectPornConfigOutcome> DescribeLiveSnapshotDetectPornConfigOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeLiveSnapshotDetectPornConfigRequest&, const DescribeLiveSnapshotDetectPornConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveSnapshotDetectPornConfigAsyncHandler;
typedef Outcome<Error, Model::DescribeLiveStagingIpResult> DescribeLiveStagingIpOutcome;
typedef std::future<DescribeLiveStagingIpOutcome> DescribeLiveStagingIpOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeLiveStagingIpRequest&, const DescribeLiveStagingIpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStagingIpAsyncHandler;
typedef Outcome<Error, Model::DescribeLiveStreamBitRateDataResult> DescribeLiveStreamBitRateDataOutcome;
typedef std::future<DescribeLiveStreamBitRateDataOutcome> DescribeLiveStreamBitRateDataOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeLiveStreamBitRateDataRequest&, const DescribeLiveStreamBitRateDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamBitRateDataAsyncHandler;
@@ -1090,6 +1111,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::OpenLiveShiftResult> OpenLiveShiftOutcome;
typedef std::future<OpenLiveShiftOutcome> OpenLiveShiftOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::OpenLiveShiftRequest&, const OpenLiveShiftOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenLiveShiftAsyncHandler;
typedef Outcome<Error, Model::PublishLiveStagingConfigToProductionResult> PublishLiveStagingConfigToProductionOutcome;
typedef std::future<PublishLiveStagingConfigToProductionOutcome> PublishLiveStagingConfigToProductionOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::PublishLiveStagingConfigToProductionRequest&, const PublishLiveStagingConfigToProductionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishLiveStagingConfigToProductionAsyncHandler;
typedef Outcome<Error, Model::RealTimeRecordCommandResult> RealTimeRecordCommandOutcome;
typedef std::future<RealTimeRecordCommandOutcome> RealTimeRecordCommandOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::RealTimeRecordCommandRequest&, const RealTimeRecordCommandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RealTimeRecordCommandAsyncHandler;
@@ -1099,6 +1123,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ResumeLiveStreamResult> ResumeLiveStreamOutcome;
typedef std::future<ResumeLiveStreamOutcome> ResumeLiveStreamOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::ResumeLiveStreamRequest&, const ResumeLiveStreamOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResumeLiveStreamAsyncHandler;
typedef Outcome<Error, Model::RollbackLiveStagingConfigResult> RollbackLiveStagingConfigOutcome;
typedef std::future<RollbackLiveStagingConfigOutcome> RollbackLiveStagingConfigOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::RollbackLiveStagingConfigRequest&, const RollbackLiveStagingConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RollbackLiveStagingConfigAsyncHandler;
typedef Outcome<Error, Model::SendRoomNotificationResult> SendRoomNotificationOutcome;
typedef std::future<SendRoomNotificationOutcome> SendRoomNotificationOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::SendRoomNotificationRequest&, const SendRoomNotificationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendRoomNotificationAsyncHandler;
@@ -1123,6 +1150,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SetLiveDomainCertificateResult> SetLiveDomainCertificateOutcome;
typedef std::future<SetLiveDomainCertificateOutcome> SetLiveDomainCertificateOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::SetLiveDomainCertificateRequest&, const SetLiveDomainCertificateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetLiveDomainCertificateAsyncHandler;
typedef Outcome<Error, Model::SetLiveDomainStagingConfigResult> SetLiveDomainStagingConfigOutcome;
typedef std::future<SetLiveDomainStagingConfigOutcome> SetLiveDomainStagingConfigOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::SetLiveDomainStagingConfigRequest&, const SetLiveDomainStagingConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetLiveDomainStagingConfigAsyncHandler;
typedef Outcome<Error, Model::SetLiveLazyPullStreamInfoConfigResult> SetLiveLazyPullStreamInfoConfigOutcome;
typedef std::future<SetLiveLazyPullStreamInfoConfigOutcome> SetLiveLazyPullStreamInfoConfigOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::SetLiveLazyPullStreamInfoConfigRequest&, const SetLiveLazyPullStreamInfoConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& context = nullptr) const;
SetLiveLazyPullStreamInfoConfigOutcomeCallable setLiveLazyPullStreamInfoConfigCallable(const Model::SetLiveLazyPullStreamInfoConfigRequest& request) const;

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/live/LiveExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/live/LiveExport.h>
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<DomainConfig::FunctionArg> functionArgs;
std::string configId;
};
DescribeLiveDomainStagingConfigResult();
explicit DescribeLiveDomainStagingConfigResult(const std::string &payload);
~DescribeLiveDomainStagingConfigResult();
std::vector<DomainConfig> getDomainConfigs()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DomainConfig> domainConfigs_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTAGINGCONFIGRESULT_H_

View File

@@ -39,6 +39,7 @@ namespace AlibabaCloud
std::string endTime;
std::string domainName;
std::string startTime;
std::string sourceUsing;
std::string appName;
};

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStagingIpResult : public ServiceResult
{
public:
DescribeLiveStagingIpResult();
explicit DescribeLiveStagingIpResult(const std::string &payload);
~DescribeLiveStagingIpResult();
std::vector<std::string> getIPV4s()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> iPV4s_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTAGINGIPRESULT_H_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/live/LiveExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/live/LiveExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
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_

View File

@@ -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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/live/LiveExport.h>
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_

View File

@@ -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<const AsyncCallerContext>& 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<std::packaged_task<DeleteLiveSpecificStagingConfigOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeLiveDomainStagingConfigOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<DescribeLiveStagingIpOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<PublishLiveStagingConfigToProductionOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<RollbackLiveStagingConfigOutcome()>>(
[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<const AsyncCallerContext>& 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<std::packaged_task<SetLiveDomainStagingConfigOutcome()>>(
[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();

View File

@@ -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 <alibabacloud/live/model/DeleteLiveSpecificStagingConfigRequest.h>
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);
}

View File

@@ -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 <alibabacloud/live/model/DeleteLiveSpecificStagingConfigResult.h>
#include <json/json.h>
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());
}

View File

@@ -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 <alibabacloud/live/model/DescribeLiveDomainStagingConfigRequest.h>
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));
}

View File

@@ -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 <alibabacloud/live/model/DescribeLiveDomainStagingConfigResult.h>
#include <json/json.h>
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::DomainConfig> DescribeLiveDomainStagingConfigResult::getDomainConfigs()const
{
return domainConfigs_;
}

View File

@@ -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())

View File

@@ -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 <alibabacloud/live/model/DescribeLiveStagingIpRequest.h>
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));
}

View File

@@ -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 <alibabacloud/live/model/DescribeLiveStagingIpResult.h>
#include <json/json.h>
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<std::string> DescribeLiveStagingIpResult::getIPV4s()const
{
return iPV4s_;
}

View File

@@ -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 <alibabacloud/live/model/PublishLiveStagingConfigToProductionRequest.h>
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));
}

View File

@@ -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 <alibabacloud/live/model/PublishLiveStagingConfigToProductionResult.h>
#include <json/json.h>
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());
}

View File

@@ -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 <alibabacloud/live/model/RollbackLiveStagingConfigRequest.h>
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));
}

View File

@@ -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 <alibabacloud/live/model/RollbackLiveStagingConfigResult.h>
#include <json/json.h>
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());
}

View File

@@ -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 <alibabacloud/live/model/SetLiveDomainStagingConfigRequest.h>
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));
}

View File

@@ -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 <alibabacloud/live/model/SetLiveDomainStagingConfigResult.h>
#include <json/json.h>
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());
}