Generated 2016-11-01 for live.

This commit is contained in:
sdk-team
2021-11-29 03:24:38 +00:00
parent d85d6f6494
commit 051e0b3a92
37 changed files with 2105 additions and 15 deletions

View File

@@ -1,3 +1,6 @@
2021-11-29 Version: 1.36.953
- Generated 2016-11-01 for `live`.
2021-11-26 Version: 1.36.952
- Support CEN Qos Apis.
- Support TransitRouter Latest Apis.

View File

@@ -1 +1 @@
1.36.952
1.36.953

View File

@@ -109,6 +109,8 @@ set(live_public_header_model
include/alibabacloud/live/model/CreateCustomTemplateResult.h
include/alibabacloud/live/model/CreateLiveRealTimeLogDeliveryRequest.h
include/alibabacloud/live/model/CreateLiveRealTimeLogDeliveryResult.h
include/alibabacloud/live/model/CreateLiveStreamMonitorRequest.h
include/alibabacloud/live/model/CreateLiveStreamMonitorResult.h
include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesRequest.h
include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesResult.h
include/alibabacloud/live/model/CreateMixStreamRequest.h
@@ -173,6 +175,8 @@ set(live_public_header_model
include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigResult.h
include/alibabacloud/live/model/DeleteLiveSpecificStagingConfigRequest.h
include/alibabacloud/live/model/DeleteLiveSpecificStagingConfigResult.h
include/alibabacloud/live/model/DeleteLiveStreamMonitorRequest.h
include/alibabacloud/live/model/DeleteLiveStreamMonitorResult.h
include/alibabacloud/live/model/DeleteLiveStreamTranscodeRequest.h
include/alibabacloud/live/model/DeleteLiveStreamTranscodeResult.h
include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.h
@@ -223,6 +227,8 @@ set(live_public_header_model
include/alibabacloud/live/model/DescribeDRMCertListResult.h
include/alibabacloud/live/model/DescribeDomainUsageDataRequest.h
include/alibabacloud/live/model/DescribeDomainUsageDataResult.h
include/alibabacloud/live/model/DescribeDomainWithIntegrityRequest.h
include/alibabacloud/live/model/DescribeDomainWithIntegrityResult.h
include/alibabacloud/live/model/DescribeForbidPushStreamRoomListRequest.h
include/alibabacloud/live/model/DescribeForbidPushStreamRoomListResult.h
include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.h
@@ -329,6 +335,8 @@ set(live_public_header_model
include/alibabacloud/live/model/DescribeLiveStreamDelayConfigResult.h
include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumRequest.h
include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumResult.h
include/alibabacloud/live/model/DescribeLiveStreamMonitorListRequest.h
include/alibabacloud/live/model/DescribeLiveStreamMonitorListResult.h
include/alibabacloud/live/model/DescribeLiveStreamOptimizedFeatureConfigRequest.h
include/alibabacloud/live/model/DescribeLiveStreamOptimizedFeatureConfigResult.h
include/alibabacloud/live/model/DescribeLiveStreamRecordContentRequest.h
@@ -493,6 +501,8 @@ set(live_public_header_model
include/alibabacloud/live/model/StartLiveDomainResult.h
include/alibabacloud/live/model/StartLiveIndexRequest.h
include/alibabacloud/live/model/StartLiveIndexResult.h
include/alibabacloud/live/model/StartLiveStreamMonitorRequest.h
include/alibabacloud/live/model/StartLiveStreamMonitorResult.h
include/alibabacloud/live/model/StartPlaylistRequest.h
include/alibabacloud/live/model/StartPlaylistResult.h
include/alibabacloud/live/model/StopCasterRequest.h
@@ -503,6 +513,8 @@ set(live_public_header_model
include/alibabacloud/live/model/StopLiveDomainResult.h
include/alibabacloud/live/model/StopLiveIndexRequest.h
include/alibabacloud/live/model/StopLiveIndexResult.h
include/alibabacloud/live/model/StopLiveStreamMonitorRequest.h
include/alibabacloud/live/model/StopLiveStreamMonitorResult.h
include/alibabacloud/live/model/StopPlaylistRequest.h
include/alibabacloud/live/model/StopPlaylistResult.h
include/alibabacloud/live/model/TagLiveResourcesRequest.h
@@ -533,6 +545,8 @@ set(live_public_header_model
include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigResult.h
include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigRequest.h
include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigResult.h
include/alibabacloud/live/model/UpdateLiveStreamMonitorRequest.h
include/alibabacloud/live/model/UpdateLiveStreamMonitorResult.h
include/alibabacloud/live/model/UpdateLiveTopLevelDomainRequest.h
include/alibabacloud/live/model/UpdateLiveTopLevelDomainResult.h
include/alibabacloud/live/model/UpdateMixStreamRequest.h
@@ -630,6 +644,8 @@ set(live_src
src/model/CreateCustomTemplateResult.cc
src/model/CreateLiveRealTimeLogDeliveryRequest.cc
src/model/CreateLiveRealTimeLogDeliveryResult.cc
src/model/CreateLiveStreamMonitorRequest.cc
src/model/CreateLiveStreamMonitorResult.cc
src/model/CreateLiveStreamRecordIndexFilesRequest.cc
src/model/CreateLiveStreamRecordIndexFilesResult.cc
src/model/CreateMixStreamRequest.cc
@@ -694,6 +710,8 @@ set(live_src
src/model/DeleteLiveSnapshotDetectPornConfigResult.cc
src/model/DeleteLiveSpecificStagingConfigRequest.cc
src/model/DeleteLiveSpecificStagingConfigResult.cc
src/model/DeleteLiveStreamMonitorRequest.cc
src/model/DeleteLiveStreamMonitorResult.cc
src/model/DeleteLiveStreamTranscodeRequest.cc
src/model/DeleteLiveStreamTranscodeResult.cc
src/model/DeleteLiveStreamsNotifyUrlConfigRequest.cc
@@ -744,6 +762,8 @@ set(live_src
src/model/DescribeDRMCertListResult.cc
src/model/DescribeDomainUsageDataRequest.cc
src/model/DescribeDomainUsageDataResult.cc
src/model/DescribeDomainWithIntegrityRequest.cc
src/model/DescribeDomainWithIntegrityResult.cc
src/model/DescribeForbidPushStreamRoomListRequest.cc
src/model/DescribeForbidPushStreamRoomListResult.cc
src/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.cc
@@ -850,6 +870,8 @@ set(live_src
src/model/DescribeLiveStreamDelayConfigResult.cc
src/model/DescribeLiveStreamHistoryUserNumRequest.cc
src/model/DescribeLiveStreamHistoryUserNumResult.cc
src/model/DescribeLiveStreamMonitorListRequest.cc
src/model/DescribeLiveStreamMonitorListResult.cc
src/model/DescribeLiveStreamOptimizedFeatureConfigRequest.cc
src/model/DescribeLiveStreamOptimizedFeatureConfigResult.cc
src/model/DescribeLiveStreamRecordContentRequest.cc
@@ -1014,6 +1036,8 @@ set(live_src
src/model/StartLiveDomainResult.cc
src/model/StartLiveIndexRequest.cc
src/model/StartLiveIndexResult.cc
src/model/StartLiveStreamMonitorRequest.cc
src/model/StartLiveStreamMonitorResult.cc
src/model/StartPlaylistRequest.cc
src/model/StartPlaylistResult.cc
src/model/StopCasterRequest.cc
@@ -1024,6 +1048,8 @@ set(live_src
src/model/StopLiveDomainResult.cc
src/model/StopLiveIndexRequest.cc
src/model/StopLiveIndexResult.cc
src/model/StopLiveStreamMonitorRequest.cc
src/model/StopLiveStreamMonitorResult.cc
src/model/StopPlaylistRequest.cc
src/model/StopPlaylistResult.cc
src/model/TagLiveResourcesRequest.cc
@@ -1054,6 +1080,8 @@ set(live_src
src/model/UpdateLiveRecordNotifyConfigResult.cc
src/model/UpdateLiveSnapshotDetectPornConfigRequest.cc
src/model/UpdateLiveSnapshotDetectPornConfigResult.cc
src/model/UpdateLiveStreamMonitorRequest.cc
src/model/UpdateLiveStreamMonitorResult.cc
src/model/UpdateLiveTopLevelDomainRequest.cc
src/model/UpdateLiveTopLevelDomainResult.cc
src/model/UpdateMixStreamRequest.cc

View File

@@ -110,6 +110,8 @@
#include "model/CreateCustomTemplateResult.h"
#include "model/CreateLiveRealTimeLogDeliveryRequest.h"
#include "model/CreateLiveRealTimeLogDeliveryResult.h"
#include "model/CreateLiveStreamMonitorRequest.h"
#include "model/CreateLiveStreamMonitorResult.h"
#include "model/CreateLiveStreamRecordIndexFilesRequest.h"
#include "model/CreateLiveStreamRecordIndexFilesResult.h"
#include "model/CreateMixStreamRequest.h"
@@ -174,6 +176,8 @@
#include "model/DeleteLiveSnapshotDetectPornConfigResult.h"
#include "model/DeleteLiveSpecificStagingConfigRequest.h"
#include "model/DeleteLiveSpecificStagingConfigResult.h"
#include "model/DeleteLiveStreamMonitorRequest.h"
#include "model/DeleteLiveStreamMonitorResult.h"
#include "model/DeleteLiveStreamTranscodeRequest.h"
#include "model/DeleteLiveStreamTranscodeResult.h"
#include "model/DeleteLiveStreamsNotifyUrlConfigRequest.h"
@@ -224,6 +228,8 @@
#include "model/DescribeDRMCertListResult.h"
#include "model/DescribeDomainUsageDataRequest.h"
#include "model/DescribeDomainUsageDataResult.h"
#include "model/DescribeDomainWithIntegrityRequest.h"
#include "model/DescribeDomainWithIntegrityResult.h"
#include "model/DescribeForbidPushStreamRoomListRequest.h"
#include "model/DescribeForbidPushStreamRoomListResult.h"
#include "model/DescribeHlsLiveStreamRealTimeBpsDataRequest.h"
@@ -330,6 +336,8 @@
#include "model/DescribeLiveStreamDelayConfigResult.h"
#include "model/DescribeLiveStreamHistoryUserNumRequest.h"
#include "model/DescribeLiveStreamHistoryUserNumResult.h"
#include "model/DescribeLiveStreamMonitorListRequest.h"
#include "model/DescribeLiveStreamMonitorListResult.h"
#include "model/DescribeLiveStreamOptimizedFeatureConfigRequest.h"
#include "model/DescribeLiveStreamOptimizedFeatureConfigResult.h"
#include "model/DescribeLiveStreamRecordContentRequest.h"
@@ -494,6 +502,8 @@
#include "model/StartLiveDomainResult.h"
#include "model/StartLiveIndexRequest.h"
#include "model/StartLiveIndexResult.h"
#include "model/StartLiveStreamMonitorRequest.h"
#include "model/StartLiveStreamMonitorResult.h"
#include "model/StartPlaylistRequest.h"
#include "model/StartPlaylistResult.h"
#include "model/StopCasterRequest.h"
@@ -504,6 +514,8 @@
#include "model/StopLiveDomainResult.h"
#include "model/StopLiveIndexRequest.h"
#include "model/StopLiveIndexResult.h"
#include "model/StopLiveStreamMonitorRequest.h"
#include "model/StopLiveStreamMonitorResult.h"
#include "model/StopPlaylistRequest.h"
#include "model/StopPlaylistResult.h"
#include "model/TagLiveResourcesRequest.h"
@@ -534,6 +546,8 @@
#include "model/UpdateLiveRecordNotifyConfigResult.h"
#include "model/UpdateLiveSnapshotDetectPornConfigRequest.h"
#include "model/UpdateLiveSnapshotDetectPornConfigResult.h"
#include "model/UpdateLiveStreamMonitorRequest.h"
#include "model/UpdateLiveStreamMonitorResult.h"
#include "model/UpdateLiveTopLevelDomainRequest.h"
#include "model/UpdateLiveTopLevelDomainResult.h"
#include "model/UpdateMixStreamRequest.h"
@@ -681,6 +695,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateLiveRealTimeLogDeliveryResult> CreateLiveRealTimeLogDeliveryOutcome;
typedef std::future<CreateLiveRealTimeLogDeliveryOutcome> CreateLiveRealTimeLogDeliveryOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::CreateLiveRealTimeLogDeliveryRequest&, const CreateLiveRealTimeLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateLiveRealTimeLogDeliveryAsyncHandler;
typedef Outcome<Error, Model::CreateLiveStreamMonitorResult> CreateLiveStreamMonitorOutcome;
typedef std::future<CreateLiveStreamMonitorOutcome> CreateLiveStreamMonitorOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::CreateLiveStreamMonitorRequest&, const CreateLiveStreamMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateLiveStreamMonitorAsyncHandler;
typedef Outcome<Error, Model::CreateLiveStreamRecordIndexFilesResult> CreateLiveStreamRecordIndexFilesOutcome;
typedef std::future<CreateLiveStreamRecordIndexFilesOutcome> CreateLiveStreamRecordIndexFilesOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::CreateLiveStreamRecordIndexFilesRequest&, const CreateLiveStreamRecordIndexFilesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateLiveStreamRecordIndexFilesAsyncHandler;
@@ -777,6 +794,9 @@ namespace AlibabaCloud
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::DeleteLiveStreamMonitorResult> DeleteLiveStreamMonitorOutcome;
typedef std::future<DeleteLiveStreamMonitorOutcome> DeleteLiveStreamMonitorOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DeleteLiveStreamMonitorRequest&, const DeleteLiveStreamMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveStreamMonitorAsyncHandler;
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;
@@ -852,6 +872,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDomainUsageDataResult> DescribeDomainUsageDataOutcome;
typedef std::future<DescribeDomainUsageDataOutcome> DescribeDomainUsageDataOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeDomainUsageDataRequest&, const DescribeDomainUsageDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainUsageDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDomainWithIntegrityResult> DescribeDomainWithIntegrityOutcome;
typedef std::future<DescribeDomainWithIntegrityOutcome> DescribeDomainWithIntegrityOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeDomainWithIntegrityRequest&, const DescribeDomainWithIntegrityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainWithIntegrityAsyncHandler;
typedef Outcome<Error, Model::DescribeForbidPushStreamRoomListResult> DescribeForbidPushStreamRoomListOutcome;
typedef std::future<DescribeForbidPushStreamRoomListOutcome> DescribeForbidPushStreamRoomListOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeForbidPushStreamRoomListRequest&, const DescribeForbidPushStreamRoomListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeForbidPushStreamRoomListAsyncHandler;
@@ -1011,6 +1034,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeLiveStreamHistoryUserNumResult> DescribeLiveStreamHistoryUserNumOutcome;
typedef std::future<DescribeLiveStreamHistoryUserNumOutcome> DescribeLiveStreamHistoryUserNumOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeLiveStreamHistoryUserNumRequest&, const DescribeLiveStreamHistoryUserNumOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamHistoryUserNumAsyncHandler;
typedef Outcome<Error, Model::DescribeLiveStreamMonitorListResult> DescribeLiveStreamMonitorListOutcome;
typedef std::future<DescribeLiveStreamMonitorListOutcome> DescribeLiveStreamMonitorListOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeLiveStreamMonitorListRequest&, const DescribeLiveStreamMonitorListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamMonitorListAsyncHandler;
typedef Outcome<Error, Model::DescribeLiveStreamOptimizedFeatureConfigResult> DescribeLiveStreamOptimizedFeatureConfigOutcome;
typedef std::future<DescribeLiveStreamOptimizedFeatureConfigOutcome> DescribeLiveStreamOptimizedFeatureConfigOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeLiveStreamOptimizedFeatureConfigRequest&, const DescribeLiveStreamOptimizedFeatureConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamOptimizedFeatureConfigAsyncHandler;
@@ -1257,6 +1283,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::StartLiveIndexResult> StartLiveIndexOutcome;
typedef std::future<StartLiveIndexOutcome> StartLiveIndexOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::StartLiveIndexRequest&, const StartLiveIndexOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartLiveIndexAsyncHandler;
typedef Outcome<Error, Model::StartLiveStreamMonitorResult> StartLiveStreamMonitorOutcome;
typedef std::future<StartLiveStreamMonitorOutcome> StartLiveStreamMonitorOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::StartLiveStreamMonitorRequest&, const StartLiveStreamMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartLiveStreamMonitorAsyncHandler;
typedef Outcome<Error, Model::StartPlaylistResult> StartPlaylistOutcome;
typedef std::future<StartPlaylistOutcome> StartPlaylistOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::StartPlaylistRequest&, const StartPlaylistOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartPlaylistAsyncHandler;
@@ -1272,6 +1301,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::StopLiveIndexResult> StopLiveIndexOutcome;
typedef std::future<StopLiveIndexOutcome> StopLiveIndexOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::StopLiveIndexRequest&, const StopLiveIndexOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopLiveIndexAsyncHandler;
typedef Outcome<Error, Model::StopLiveStreamMonitorResult> StopLiveStreamMonitorOutcome;
typedef std::future<StopLiveStreamMonitorOutcome> StopLiveStreamMonitorOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::StopLiveStreamMonitorRequest&, const StopLiveStreamMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopLiveStreamMonitorAsyncHandler;
typedef Outcome<Error, Model::StopPlaylistResult> StopPlaylistOutcome;
typedef std::future<StopPlaylistOutcome> StopPlaylistOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::StopPlaylistRequest&, const StopPlaylistOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopPlaylistAsyncHandler;
@@ -1317,6 +1349,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UpdateLiveSnapshotDetectPornConfigResult> UpdateLiveSnapshotDetectPornConfigOutcome;
typedef std::future<UpdateLiveSnapshotDetectPornConfigOutcome> UpdateLiveSnapshotDetectPornConfigOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::UpdateLiveSnapshotDetectPornConfigRequest&, const UpdateLiveSnapshotDetectPornConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLiveSnapshotDetectPornConfigAsyncHandler;
typedef Outcome<Error, Model::UpdateLiveStreamMonitorResult> UpdateLiveStreamMonitorOutcome;
typedef std::future<UpdateLiveStreamMonitorOutcome> UpdateLiveStreamMonitorOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::UpdateLiveStreamMonitorRequest&, const UpdateLiveStreamMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLiveStreamMonitorAsyncHandler;
typedef Outcome<Error, Model::UpdateLiveTopLevelDomainResult> UpdateLiveTopLevelDomainOutcome;
typedef std::future<UpdateLiveTopLevelDomainOutcome> UpdateLiveTopLevelDomainOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::UpdateLiveTopLevelDomainRequest&, const UpdateLiveTopLevelDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLiveTopLevelDomainAsyncHandler;
@@ -1463,6 +1498,9 @@ namespace AlibabaCloud
CreateLiveRealTimeLogDeliveryOutcome createLiveRealTimeLogDelivery(const Model::CreateLiveRealTimeLogDeliveryRequest &request)const;
void createLiveRealTimeLogDeliveryAsync(const Model::CreateLiveRealTimeLogDeliveryRequest& request, const CreateLiveRealTimeLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateLiveRealTimeLogDeliveryOutcomeCallable createLiveRealTimeLogDeliveryCallable(const Model::CreateLiveRealTimeLogDeliveryRequest& request) const;
CreateLiveStreamMonitorOutcome createLiveStreamMonitor(const Model::CreateLiveStreamMonitorRequest &request)const;
void createLiveStreamMonitorAsync(const Model::CreateLiveStreamMonitorRequest& request, const CreateLiveStreamMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateLiveStreamMonitorOutcomeCallable createLiveStreamMonitorCallable(const Model::CreateLiveStreamMonitorRequest& request) const;
CreateLiveStreamRecordIndexFilesOutcome createLiveStreamRecordIndexFiles(const Model::CreateLiveStreamRecordIndexFilesRequest &request)const;
void createLiveStreamRecordIndexFilesAsync(const Model::CreateLiveStreamRecordIndexFilesRequest& request, const CreateLiveStreamRecordIndexFilesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateLiveStreamRecordIndexFilesOutcomeCallable createLiveStreamRecordIndexFilesCallable(const Model::CreateLiveStreamRecordIndexFilesRequest& request) const;
@@ -1559,6 +1597,9 @@ namespace AlibabaCloud
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;
DeleteLiveStreamMonitorOutcome deleteLiveStreamMonitor(const Model::DeleteLiveStreamMonitorRequest &request)const;
void deleteLiveStreamMonitorAsync(const Model::DeleteLiveStreamMonitorRequest& request, const DeleteLiveStreamMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteLiveStreamMonitorOutcomeCallable deleteLiveStreamMonitorCallable(const Model::DeleteLiveStreamMonitorRequest& 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;
@@ -1634,6 +1675,9 @@ namespace AlibabaCloud
DescribeDomainUsageDataOutcome describeDomainUsageData(const Model::DescribeDomainUsageDataRequest &request)const;
void describeDomainUsageDataAsync(const Model::DescribeDomainUsageDataRequest& request, const DescribeDomainUsageDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainUsageDataOutcomeCallable describeDomainUsageDataCallable(const Model::DescribeDomainUsageDataRequest& request) const;
DescribeDomainWithIntegrityOutcome describeDomainWithIntegrity(const Model::DescribeDomainWithIntegrityRequest &request)const;
void describeDomainWithIntegrityAsync(const Model::DescribeDomainWithIntegrityRequest& request, const DescribeDomainWithIntegrityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDomainWithIntegrityOutcomeCallable describeDomainWithIntegrityCallable(const Model::DescribeDomainWithIntegrityRequest& request) const;
DescribeForbidPushStreamRoomListOutcome describeForbidPushStreamRoomList(const Model::DescribeForbidPushStreamRoomListRequest &request)const;
void describeForbidPushStreamRoomListAsync(const Model::DescribeForbidPushStreamRoomListRequest& request, const DescribeForbidPushStreamRoomListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeForbidPushStreamRoomListOutcomeCallable describeForbidPushStreamRoomListCallable(const Model::DescribeForbidPushStreamRoomListRequest& request) const;
@@ -1793,6 +1837,9 @@ namespace AlibabaCloud
DescribeLiveStreamHistoryUserNumOutcome describeLiveStreamHistoryUserNum(const Model::DescribeLiveStreamHistoryUserNumRequest &request)const;
void describeLiveStreamHistoryUserNumAsync(const Model::DescribeLiveStreamHistoryUserNumRequest& request, const DescribeLiveStreamHistoryUserNumAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeLiveStreamHistoryUserNumOutcomeCallable describeLiveStreamHistoryUserNumCallable(const Model::DescribeLiveStreamHistoryUserNumRequest& request) const;
DescribeLiveStreamMonitorListOutcome describeLiveStreamMonitorList(const Model::DescribeLiveStreamMonitorListRequest &request)const;
void describeLiveStreamMonitorListAsync(const Model::DescribeLiveStreamMonitorListRequest& request, const DescribeLiveStreamMonitorListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeLiveStreamMonitorListOutcomeCallable describeLiveStreamMonitorListCallable(const Model::DescribeLiveStreamMonitorListRequest& request) const;
DescribeLiveStreamOptimizedFeatureConfigOutcome describeLiveStreamOptimizedFeatureConfig(const Model::DescribeLiveStreamOptimizedFeatureConfigRequest &request)const;
void describeLiveStreamOptimizedFeatureConfigAsync(const Model::DescribeLiveStreamOptimizedFeatureConfigRequest& request, const DescribeLiveStreamOptimizedFeatureConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeLiveStreamOptimizedFeatureConfigOutcomeCallable describeLiveStreamOptimizedFeatureConfigCallable(const Model::DescribeLiveStreamOptimizedFeatureConfigRequest& request) const;
@@ -2039,6 +2086,9 @@ namespace AlibabaCloud
StartLiveIndexOutcome startLiveIndex(const Model::StartLiveIndexRequest &request)const;
void startLiveIndexAsync(const Model::StartLiveIndexRequest& request, const StartLiveIndexAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartLiveIndexOutcomeCallable startLiveIndexCallable(const Model::StartLiveIndexRequest& request) const;
StartLiveStreamMonitorOutcome startLiveStreamMonitor(const Model::StartLiveStreamMonitorRequest &request)const;
void startLiveStreamMonitorAsync(const Model::StartLiveStreamMonitorRequest& request, const StartLiveStreamMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartLiveStreamMonitorOutcomeCallable startLiveStreamMonitorCallable(const Model::StartLiveStreamMonitorRequest& request) const;
StartPlaylistOutcome startPlaylist(const Model::StartPlaylistRequest &request)const;
void startPlaylistAsync(const Model::StartPlaylistRequest& request, const StartPlaylistAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartPlaylistOutcomeCallable startPlaylistCallable(const Model::StartPlaylistRequest& request) const;
@@ -2054,6 +2104,9 @@ namespace AlibabaCloud
StopLiveIndexOutcome stopLiveIndex(const Model::StopLiveIndexRequest &request)const;
void stopLiveIndexAsync(const Model::StopLiveIndexRequest& request, const StopLiveIndexAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopLiveIndexOutcomeCallable stopLiveIndexCallable(const Model::StopLiveIndexRequest& request) const;
StopLiveStreamMonitorOutcome stopLiveStreamMonitor(const Model::StopLiveStreamMonitorRequest &request)const;
void stopLiveStreamMonitorAsync(const Model::StopLiveStreamMonitorRequest& request, const StopLiveStreamMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopLiveStreamMonitorOutcomeCallable stopLiveStreamMonitorCallable(const Model::StopLiveStreamMonitorRequest& request) const;
StopPlaylistOutcome stopPlaylist(const Model::StopPlaylistRequest &request)const;
void stopPlaylistAsync(const Model::StopPlaylistRequest& request, const StopPlaylistAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopPlaylistOutcomeCallable stopPlaylistCallable(const Model::StopPlaylistRequest& request) const;
@@ -2099,6 +2152,9 @@ namespace AlibabaCloud
UpdateLiveSnapshotDetectPornConfigOutcome updateLiveSnapshotDetectPornConfig(const Model::UpdateLiveSnapshotDetectPornConfigRequest &request)const;
void updateLiveSnapshotDetectPornConfigAsync(const Model::UpdateLiveSnapshotDetectPornConfigRequest& request, const UpdateLiveSnapshotDetectPornConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateLiveSnapshotDetectPornConfigOutcomeCallable updateLiveSnapshotDetectPornConfigCallable(const Model::UpdateLiveSnapshotDetectPornConfigRequest& request) const;
UpdateLiveStreamMonitorOutcome updateLiveStreamMonitor(const Model::UpdateLiveStreamMonitorRequest &request)const;
void updateLiveStreamMonitorAsync(const Model::UpdateLiveStreamMonitorRequest& request, const UpdateLiveStreamMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateLiveStreamMonitorOutcomeCallable updateLiveStreamMonitorCallable(const Model::UpdateLiveStreamMonitorRequest& request) const;
UpdateLiveTopLevelDomainOutcome updateLiveTopLevelDomain(const Model::UpdateLiveTopLevelDomainRequest &request)const;
void updateLiveTopLevelDomainAsync(const Model::UpdateLiveTopLevelDomainRequest& request, const UpdateLiveTopLevelDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateLiveTopLevelDomainOutcomeCallable updateLiveTopLevelDomainCallable(const Model::UpdateLiveTopLevelDomainRequest& request) const;

View File

@@ -53,6 +53,8 @@ namespace AlibabaCloud
void setStreamMonitor(int streamMonitor);
int getBeginOffset()const;
void setBeginOffset(int beginOffset);
int getFixedDelayDuration()const;
void setFixedDelayDuration(int fixedDelayDuration);
std::string getLiveStreamUrl()const;
void setLiveStreamUrl(const std::string& liveStreamUrl);
std::string getLocationId()const;
@@ -74,6 +76,7 @@ namespace AlibabaCloud
long ownerId_;
int streamMonitor_;
int beginOffset_;
int fixedDelayDuration_;
std::string liveStreamUrl_;
std::string locationId_;
int ptsCallbackInterval_;

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_CREATELIVESTREAMMONITORREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_CREATELIVESTREAMMONITORREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT CreateLiveStreamMonitorRequest : public RpcServiceRequest
{
public:
CreateLiveStreamMonitorRequest();
~CreateLiveStreamMonitorRequest();
std::string getMonitorName()const;
void setMonitorName(const std::string& monitorName);
std::string getStream()const;
void setStream(const std::string& stream);
std::string getOutputTemplate()const;
void setOutputTemplate(const std::string& outputTemplate);
std::string getApp()const;
void setApp(const std::string& app);
std::string getInputList()const;
void setInputList(const std::string& inputList);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getDomain()const;
void setDomain(const std::string& domain);
private:
std::string monitorName_;
std::string stream_;
std::string outputTemplate_;
std::string app_;
std::string inputList_;
long ownerId_;
std::string domain_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_CREATELIVESTREAMMONITORREQUEST_H_

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_CREATELIVESTREAMMONITORRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_CREATELIVESTREAMMONITORRESULT_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 CreateLiveStreamMonitorResult : public ServiceResult
{
public:
CreateLiveStreamMonitorResult();
explicit CreateLiveStreamMonitorResult(const std::string &payload);
~CreateLiveStreamMonitorResult();
std::string getMonitorId()const;
protected:
void parse(const std::string &payload);
private:
std::string monitorId_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_CREATELIVESTREAMMONITORRESULT_H_

View File

@@ -37,8 +37,6 @@ namespace AlibabaCloud
std::string getAppName()const;
void setAppName(const std::string& appName);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getStreamName()const;
void setStreamName(const std::string& streamName);
std::string getDomainName()const;
@@ -48,7 +46,6 @@ namespace AlibabaCloud
private:
std::string appName_;
std::string securityToken_;
std::string streamName_;
std::string domainName_;
long ownerId_;

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_DELETELIVESTREAMMONITORREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMMONITORREQUEST_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 DeleteLiveStreamMonitorRequest : public RpcServiceRequest
{
public:
DeleteLiveStreamMonitorRequest();
~DeleteLiveStreamMonitorRequest();
std::string getMonitorId()const;
void setMonitorId(const std::string& monitorId);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string monitorId_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMMONITORREQUEST_H_

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_DELETELIVESTREAMMONITORRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMMONITORRESULT_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 DeleteLiveStreamMonitorResult : public ServiceResult
{
public:
DeleteLiveStreamMonitorResult();
explicit DeleteLiveStreamMonitorResult(const std::string &payload);
~DeleteLiveStreamMonitorResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMMONITORRESULT_H_

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_DESCRIBEDOMAINWITHINTEGRITYREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEDOMAINWITHINTEGRITYREQUEST_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 DescribeDomainWithIntegrityRequest : public RpcServiceRequest
{
public:
DescribeDomainWithIntegrityRequest();
~DescribeDomainWithIntegrityRequest();
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
float getIntegrity()const;
void setIntegrity(float integrity);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string startTime_;
float integrity_;
std::string endTime_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEDOMAINWITHINTEGRITYREQUEST_H_

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_DESCRIBEDOMAINWITHINTEGRITYRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEDOMAINWITHINTEGRITYRESULT_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 DescribeDomainWithIntegrityResult : public ServiceResult
{
public:
struct ContentItem
{
std::vector<std::string> points;
std::vector<std::string> columns;
std::string name;
};
DescribeDomainWithIntegrityResult();
explicit DescribeDomainWithIntegrityResult(const std::string &payload);
~DescribeDomainWithIntegrityResult();
std::vector<ContentItem> getContent()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ContentItem> content_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEDOMAINWITHINTEGRITYRESULT_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_DESCRIBELIVESTREAMMONITORLISTREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMMONITORLISTREQUEST_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 DescribeLiveStreamMonitorListRequest : public RpcServiceRequest
{
public:
DescribeLiveStreamMonitorListRequest();
~DescribeLiveStreamMonitorListRequest();
std::string getMonitorId()const;
void setMonitorId(const std::string& monitorId);
int getPageNum()const;
void setPageNum(int pageNum);
int getPageSize()const;
void setPageSize(int pageSize);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getOrderRule()const;
void setOrderRule(int orderRule);
int getStatus()const;
void setStatus(int status);
private:
std::string monitorId_;
int pageNum_;
int pageSize_;
long ownerId_;
int orderRule_;
int status_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMMONITORLISTREQUEST_H_

View File

@@ -0,0 +1,92 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMMONITORLISTRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMMONITORLISTRESULT_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 DescribeLiveStreamMonitorListResult : public ServiceResult
{
public:
struct LiveStreamMonitorInfo
{
struct OutputUrls
{
std::string flvUrl;
std::string rtmpUrl;
};
struct InputConfig
{
struct LayoutConfig
{
std::string fillMode;
std::vector<std::string> sizeNormalized;
std::string positionRefer;
std::vector<std::string> positionNormalized;
};
struct PlayConfig
{
float volumeRate;
};
std::string streamName;
LayoutConfig layoutConfig;
int layoutId;
int index;
PlayConfig playConfig;
std::string inputUrl;
};
int status;
OutputUrls outputUrls;
std::string outputTemplate;
int audioFrom;
std::vector<LiveStreamMonitorInfo::InputConfig> inputList;
std::string monitorName;
std::string startTime;
std::string region;
std::string domain;
std::string monitorId;
std::string stopTime;
};
DescribeLiveStreamMonitorListResult();
explicit DescribeLiveStreamMonitorListResult(const std::string &payload);
~DescribeLiveStreamMonitorListResult();
int getTotal()const;
std::vector<LiveStreamMonitorInfo> getLiveStreamMonitorList()const;
protected:
void parse(const std::string &payload);
private:
int total_;
std::vector<LiveStreamMonitorInfo> liveStreamMonitorList_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMMONITORLISTRESULT_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_STARTLIVESTREAMMONITORREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_STARTLIVESTREAMMONITORREQUEST_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 StartLiveStreamMonitorRequest : public RpcServiceRequest
{
public:
StartLiveStreamMonitorRequest();
~StartLiveStreamMonitorRequest();
std::string getMonitorId()const;
void setMonitorId(const std::string& monitorId);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string monitorId_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_STARTLIVESTREAMMONITORREQUEST_H_

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_STARTLIVESTREAMMONITORRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_STARTLIVESTREAMMONITORRESULT_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 StartLiveStreamMonitorResult : public ServiceResult
{
public:
StartLiveStreamMonitorResult();
explicit StartLiveStreamMonitorResult(const std::string &payload);
~StartLiveStreamMonitorResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_STARTLIVESTREAMMONITORRESULT_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_STOPLIVESTREAMMONITORREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_STOPLIVESTREAMMONITORREQUEST_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 StopLiveStreamMonitorRequest : public RpcServiceRequest
{
public:
StopLiveStreamMonitorRequest();
~StopLiveStreamMonitorRequest();
std::string getMonitorId()const;
void setMonitorId(const std::string& monitorId);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string monitorId_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_STOPLIVESTREAMMONITORREQUEST_H_

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_STOPLIVESTREAMMONITORRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_STOPLIVESTREAMMONITORRESULT_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 StopLiveStreamMonitorResult : public ServiceResult
{
public:
StopLiveStreamMonitorResult();
explicit StopLiveStreamMonitorResult(const std::string &payload);
~StopLiveStreamMonitorResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_STOPLIVESTREAMMONITORRESULT_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVESTREAMMONITORREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVESTREAMMONITORREQUEST_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 UpdateLiveStreamMonitorRequest : public RpcServiceRequest
{
public:
UpdateLiveStreamMonitorRequest();
~UpdateLiveStreamMonitorRequest();
std::string getMonitorId()const;
void setMonitorId(const std::string& monitorId);
std::string getMonitorName()const;
void setMonitorName(const std::string& monitorName);
std::string getStream()const;
void setStream(const std::string& stream);
std::string getOutputTemplate()const;
void setOutputTemplate(const std::string& outputTemplate);
std::string getApp()const;
void setApp(const std::string& app);
std::string getInputList()const;
void setInputList(const std::string& inputList);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getDomain()const;
void setDomain(const std::string& domain);
private:
std::string monitorId_;
std::string monitorName_;
std::string stream_;
std::string outputTemplate_;
std::string app_;
std::string inputList_;
long ownerId_;
std::string domain_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVESTREAMMONITORREQUEST_H_

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_UPDATELIVESTREAMMONITORRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVESTREAMMONITORRESULT_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 UpdateLiveStreamMonitorResult : public ServiceResult
{
public:
UpdateLiveStreamMonitorResult();
explicit UpdateLiveStreamMonitorResult(const std::string &payload);
~UpdateLiveStreamMonitorResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVESTREAMMONITORRESULT_H_

View File

@@ -1635,6 +1635,42 @@ LiveClient::CreateLiveRealTimeLogDeliveryOutcomeCallable LiveClient::createLiveR
return task->get_future();
}
LiveClient::CreateLiveStreamMonitorOutcome LiveClient::createLiveStreamMonitor(const CreateLiveStreamMonitorRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateLiveStreamMonitorOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateLiveStreamMonitorOutcome(CreateLiveStreamMonitorResult(outcome.result()));
else
return CreateLiveStreamMonitorOutcome(outcome.error());
}
void LiveClient::createLiveStreamMonitorAsync(const CreateLiveStreamMonitorRequest& request, const CreateLiveStreamMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createLiveStreamMonitor(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::CreateLiveStreamMonitorOutcomeCallable LiveClient::createLiveStreamMonitorCallable(const CreateLiveStreamMonitorRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateLiveStreamMonitorOutcome()>>(
[this, request]()
{
return this->createLiveStreamMonitor(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::CreateLiveStreamRecordIndexFilesOutcome LiveClient::createLiveStreamRecordIndexFiles(const CreateLiveStreamRecordIndexFilesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2787,6 +2823,42 @@ LiveClient::DeleteLiveSpecificStagingConfigOutcomeCallable LiveClient::deleteLiv
return task->get_future();
}
LiveClient::DeleteLiveStreamMonitorOutcome LiveClient::deleteLiveStreamMonitor(const DeleteLiveStreamMonitorRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteLiveStreamMonitorOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteLiveStreamMonitorOutcome(DeleteLiveStreamMonitorResult(outcome.result()));
else
return DeleteLiveStreamMonitorOutcome(outcome.error());
}
void LiveClient::deleteLiveStreamMonitorAsync(const DeleteLiveStreamMonitorRequest& request, const DeleteLiveStreamMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteLiveStreamMonitor(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::DeleteLiveStreamMonitorOutcomeCallable LiveClient::deleteLiveStreamMonitorCallable(const DeleteLiveStreamMonitorRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteLiveStreamMonitorOutcome()>>(
[this, request]()
{
return this->deleteLiveStreamMonitor(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::DeleteLiveStreamTranscodeOutcome LiveClient::deleteLiveStreamTranscode(const DeleteLiveStreamTranscodeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -3687,6 +3759,42 @@ LiveClient::DescribeDomainUsageDataOutcomeCallable LiveClient::describeDomainUsa
return task->get_future();
}
LiveClient::DescribeDomainWithIntegrityOutcome LiveClient::describeDomainWithIntegrity(const DescribeDomainWithIntegrityRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeDomainWithIntegrityOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeDomainWithIntegrityOutcome(DescribeDomainWithIntegrityResult(outcome.result()));
else
return DescribeDomainWithIntegrityOutcome(outcome.error());
}
void LiveClient::describeDomainWithIntegrityAsync(const DescribeDomainWithIntegrityRequest& request, const DescribeDomainWithIntegrityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeDomainWithIntegrity(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::DescribeDomainWithIntegrityOutcomeCallable LiveClient::describeDomainWithIntegrityCallable(const DescribeDomainWithIntegrityRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeDomainWithIntegrityOutcome()>>(
[this, request]()
{
return this->describeDomainWithIntegrity(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::DescribeForbidPushStreamRoomListOutcome LiveClient::describeForbidPushStreamRoomList(const DescribeForbidPushStreamRoomListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -5595,6 +5703,42 @@ LiveClient::DescribeLiveStreamHistoryUserNumOutcomeCallable LiveClient::describe
return task->get_future();
}
LiveClient::DescribeLiveStreamMonitorListOutcome LiveClient::describeLiveStreamMonitorList(const DescribeLiveStreamMonitorListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeLiveStreamMonitorListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeLiveStreamMonitorListOutcome(DescribeLiveStreamMonitorListResult(outcome.result()));
else
return DescribeLiveStreamMonitorListOutcome(outcome.error());
}
void LiveClient::describeLiveStreamMonitorListAsync(const DescribeLiveStreamMonitorListRequest& request, const DescribeLiveStreamMonitorListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeLiveStreamMonitorList(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::DescribeLiveStreamMonitorListOutcomeCallable LiveClient::describeLiveStreamMonitorListCallable(const DescribeLiveStreamMonitorListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeLiveStreamMonitorListOutcome()>>(
[this, request]()
{
return this->describeLiveStreamMonitorList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::DescribeLiveStreamOptimizedFeatureConfigOutcome LiveClient::describeLiveStreamOptimizedFeatureConfig(const DescribeLiveStreamOptimizedFeatureConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -8547,6 +8691,42 @@ LiveClient::StartLiveIndexOutcomeCallable LiveClient::startLiveIndexCallable(con
return task->get_future();
}
LiveClient::StartLiveStreamMonitorOutcome LiveClient::startLiveStreamMonitor(const StartLiveStreamMonitorRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return StartLiveStreamMonitorOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return StartLiveStreamMonitorOutcome(StartLiveStreamMonitorResult(outcome.result()));
else
return StartLiveStreamMonitorOutcome(outcome.error());
}
void LiveClient::startLiveStreamMonitorAsync(const StartLiveStreamMonitorRequest& request, const StartLiveStreamMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, startLiveStreamMonitor(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::StartLiveStreamMonitorOutcomeCallable LiveClient::startLiveStreamMonitorCallable(const StartLiveStreamMonitorRequest &request) const
{
auto task = std::make_shared<std::packaged_task<StartLiveStreamMonitorOutcome()>>(
[this, request]()
{
return this->startLiveStreamMonitor(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::StartPlaylistOutcome LiveClient::startPlaylist(const StartPlaylistRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -8727,6 +8907,42 @@ LiveClient::StopLiveIndexOutcomeCallable LiveClient::stopLiveIndexCallable(const
return task->get_future();
}
LiveClient::StopLiveStreamMonitorOutcome LiveClient::stopLiveStreamMonitor(const StopLiveStreamMonitorRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return StopLiveStreamMonitorOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return StopLiveStreamMonitorOutcome(StopLiveStreamMonitorResult(outcome.result()));
else
return StopLiveStreamMonitorOutcome(outcome.error());
}
void LiveClient::stopLiveStreamMonitorAsync(const StopLiveStreamMonitorRequest& request, const StopLiveStreamMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, stopLiveStreamMonitor(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::StopLiveStreamMonitorOutcomeCallable LiveClient::stopLiveStreamMonitorCallable(const StopLiveStreamMonitorRequest &request) const
{
auto task = std::make_shared<std::packaged_task<StopLiveStreamMonitorOutcome()>>(
[this, request]()
{
return this->stopLiveStreamMonitor(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::StopPlaylistOutcome LiveClient::stopPlaylist(const StopPlaylistRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -9267,6 +9483,42 @@ LiveClient::UpdateLiveSnapshotDetectPornConfigOutcomeCallable LiveClient::update
return task->get_future();
}
LiveClient::UpdateLiveStreamMonitorOutcome LiveClient::updateLiveStreamMonitor(const UpdateLiveStreamMonitorRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateLiveStreamMonitorOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateLiveStreamMonitorOutcome(UpdateLiveStreamMonitorResult(outcome.result()));
else
return UpdateLiveStreamMonitorOutcome(outcome.error());
}
void LiveClient::updateLiveStreamMonitorAsync(const UpdateLiveStreamMonitorRequest& request, const UpdateLiveStreamMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateLiveStreamMonitor(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::UpdateLiveStreamMonitorOutcomeCallable LiveClient::updateLiveStreamMonitorCallable(const UpdateLiveStreamMonitorRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateLiveStreamMonitorOutcome()>>(
[this, request]()
{
return this->updateLiveStreamMonitor(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::UpdateLiveTopLevelDomainOutcome LiveClient::updateLiveTopLevelDomain(const UpdateLiveTopLevelDomainRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -126,6 +126,17 @@ void AddCasterVideoResourceRequest::setBeginOffset(int beginOffset)
setParameter("BeginOffset", std::to_string(beginOffset));
}
int AddCasterVideoResourceRequest::getFixedDelayDuration()const
{
return fixedDelayDuration_;
}
void AddCasterVideoResourceRequest::setFixedDelayDuration(int fixedDelayDuration)
{
fixedDelayDuration_ = fixedDelayDuration;
setParameter("FixedDelayDuration", std::to_string(fixedDelayDuration));
}
std::string AddCasterVideoResourceRequest::getLiveStreamUrl()const
{
return liveStreamUrl_;

View File

@@ -0,0 +1,106 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/CreateLiveStreamMonitorRequest.h>
using AlibabaCloud::Live::Model::CreateLiveStreamMonitorRequest;
CreateLiveStreamMonitorRequest::CreateLiveStreamMonitorRequest() :
RpcServiceRequest("live", "2016-11-01", "CreateLiveStreamMonitor")
{
setMethod(HttpRequest::Method::Post);
}
CreateLiveStreamMonitorRequest::~CreateLiveStreamMonitorRequest()
{}
std::string CreateLiveStreamMonitorRequest::getMonitorName()const
{
return monitorName_;
}
void CreateLiveStreamMonitorRequest::setMonitorName(const std::string& monitorName)
{
monitorName_ = monitorName;
setParameter("MonitorName", monitorName);
}
std::string CreateLiveStreamMonitorRequest::getStream()const
{
return stream_;
}
void CreateLiveStreamMonitorRequest::setStream(const std::string& stream)
{
stream_ = stream;
setParameter("Stream", stream);
}
std::string CreateLiveStreamMonitorRequest::getOutputTemplate()const
{
return outputTemplate_;
}
void CreateLiveStreamMonitorRequest::setOutputTemplate(const std::string& outputTemplate)
{
outputTemplate_ = outputTemplate;
setParameter("OutputTemplate", outputTemplate);
}
std::string CreateLiveStreamMonitorRequest::getApp()const
{
return app_;
}
void CreateLiveStreamMonitorRequest::setApp(const std::string& app)
{
app_ = app;
setParameter("App", app);
}
std::string CreateLiveStreamMonitorRequest::getInputList()const
{
return inputList_;
}
void CreateLiveStreamMonitorRequest::setInputList(const std::string& inputList)
{
inputList_ = inputList;
setParameter("InputList", inputList);
}
long CreateLiveStreamMonitorRequest::getOwnerId()const
{
return ownerId_;
}
void CreateLiveStreamMonitorRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateLiveStreamMonitorRequest::getDomain()const
{
return domain_;
}
void CreateLiveStreamMonitorRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
}

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.
*/
#include <alibabacloud/live/model/CreateLiveStreamMonitorResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
CreateLiveStreamMonitorResult::CreateLiveStreamMonitorResult() :
ServiceResult()
{}
CreateLiveStreamMonitorResult::CreateLiveStreamMonitorResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateLiveStreamMonitorResult::~CreateLiveStreamMonitorResult()
{}
void CreateLiveStreamMonitorResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["MonitorId"].isNull())
monitorId_ = value["MonitorId"].asString();
}
std::string CreateLiveStreamMonitorResult::getMonitorId()const
{
return monitorId_;
}

View File

@@ -38,17 +38,6 @@ void DeleteLivePullStreamInfoConfigRequest::setAppName(const std::string& appNam
setParameter("AppName", appName);
}
std::string DeleteLivePullStreamInfoConfigRequest::getSecurityToken()const
{
return securityToken_;
}
void DeleteLivePullStreamInfoConfigRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
std::string DeleteLivePullStreamInfoConfigRequest::getStreamName()const
{
return streamName_;

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.
*/
#include <alibabacloud/live/model/DeleteLiveStreamMonitorRequest.h>
using AlibabaCloud::Live::Model::DeleteLiveStreamMonitorRequest;
DeleteLiveStreamMonitorRequest::DeleteLiveStreamMonitorRequest() :
RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamMonitor")
{
setMethod(HttpRequest::Method::Post);
}
DeleteLiveStreamMonitorRequest::~DeleteLiveStreamMonitorRequest()
{}
std::string DeleteLiveStreamMonitorRequest::getMonitorId()const
{
return monitorId_;
}
void DeleteLiveStreamMonitorRequest::setMonitorId(const std::string& monitorId)
{
monitorId_ = monitorId;
setParameter("MonitorId", monitorId);
}
long DeleteLiveStreamMonitorRequest::getOwnerId()const
{
return ownerId_;
}
void DeleteLiveStreamMonitorRequest::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/DeleteLiveStreamMonitorResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
DeleteLiveStreamMonitorResult::DeleteLiveStreamMonitorResult() :
ServiceResult()
{}
DeleteLiveStreamMonitorResult::DeleteLiveStreamMonitorResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteLiveStreamMonitorResult::~DeleteLiveStreamMonitorResult()
{}
void DeleteLiveStreamMonitorResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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/DescribeDomainWithIntegrityRequest.h>
using AlibabaCloud::Live::Model::DescribeDomainWithIntegrityRequest;
DescribeDomainWithIntegrityRequest::DescribeDomainWithIntegrityRequest() :
RpcServiceRequest("live", "2016-11-01", "DescribeDomainWithIntegrity")
{
setMethod(HttpRequest::Method::Get);
}
DescribeDomainWithIntegrityRequest::~DescribeDomainWithIntegrityRequest()
{}
std::string DescribeDomainWithIntegrityRequest::getStartTime()const
{
return startTime_;
}
void DescribeDomainWithIntegrityRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
}
float DescribeDomainWithIntegrityRequest::getIntegrity()const
{
return integrity_;
}
void DescribeDomainWithIntegrityRequest::setIntegrity(float integrity)
{
integrity_ = integrity;
setParameter("Integrity", std::to_string(integrity));
}
std::string DescribeDomainWithIntegrityRequest::getEndTime()const
{
return endTime_;
}
void DescribeDomainWithIntegrityRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
long DescribeDomainWithIntegrityRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeDomainWithIntegrityRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

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.
*/
#include <alibabacloud/live/model/DescribeDomainWithIntegrityResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
DescribeDomainWithIntegrityResult::DescribeDomainWithIntegrityResult() :
ServiceResult()
{}
DescribeDomainWithIntegrityResult::DescribeDomainWithIntegrityResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeDomainWithIntegrityResult::~DescribeDomainWithIntegrityResult()
{}
void DescribeDomainWithIntegrityResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allContentNode = value["Content"]["ContentItem"];
for (auto valueContentContentItem : allContentNode)
{
ContentItem contentObject;
if(!valueContentContentItem["Name"].isNull())
contentObject.name = valueContentContentItem["Name"].asString();
auto allColumns = value["Columns"]["columns"];
for (auto value : allColumns)
contentObject.columns.push_back(value.asString());
auto allPoints = value["Points"]["points"];
for (auto value : allPoints)
contentObject.points.push_back(value.asString());
content_.push_back(contentObject);
}
}
std::vector<DescribeDomainWithIntegrityResult::ContentItem> DescribeDomainWithIntegrityResult::getContent()const
{
return content_;
}

View File

@@ -0,0 +1,95 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/DescribeLiveStreamMonitorListRequest.h>
using AlibabaCloud::Live::Model::DescribeLiveStreamMonitorListRequest;
DescribeLiveStreamMonitorListRequest::DescribeLiveStreamMonitorListRequest() :
RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamMonitorList")
{
setMethod(HttpRequest::Method::Post);
}
DescribeLiveStreamMonitorListRequest::~DescribeLiveStreamMonitorListRequest()
{}
std::string DescribeLiveStreamMonitorListRequest::getMonitorId()const
{
return monitorId_;
}
void DescribeLiveStreamMonitorListRequest::setMonitorId(const std::string& monitorId)
{
monitorId_ = monitorId;
setParameter("MonitorId", monitorId);
}
int DescribeLiveStreamMonitorListRequest::getPageNum()const
{
return pageNum_;
}
void DescribeLiveStreamMonitorListRequest::setPageNum(int pageNum)
{
pageNum_ = pageNum;
setParameter("PageNum", std::to_string(pageNum));
}
int DescribeLiveStreamMonitorListRequest::getPageSize()const
{
return pageSize_;
}
void DescribeLiveStreamMonitorListRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
long DescribeLiveStreamMonitorListRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeLiveStreamMonitorListRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
int DescribeLiveStreamMonitorListRequest::getOrderRule()const
{
return orderRule_;
}
void DescribeLiveStreamMonitorListRequest::setOrderRule(int orderRule)
{
orderRule_ = orderRule;
setParameter("OrderRule", std::to_string(orderRule));
}
int DescribeLiveStreamMonitorListRequest::getStatus()const
{
return status_;
}
void DescribeLiveStreamMonitorListRequest::setStatus(int status)
{
status_ = status;
setParameter("Status", std::to_string(status));
}

View File

@@ -0,0 +1,113 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/DescribeLiveStreamMonitorListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
DescribeLiveStreamMonitorListResult::DescribeLiveStreamMonitorListResult() :
ServiceResult()
{}
DescribeLiveStreamMonitorListResult::DescribeLiveStreamMonitorListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeLiveStreamMonitorListResult::~DescribeLiveStreamMonitorListResult()
{}
void DescribeLiveStreamMonitorListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allLiveStreamMonitorListNode = value["LiveStreamMonitorList"]["LiveStreamMonitorInfo"];
for (auto valueLiveStreamMonitorListLiveStreamMonitorInfo : allLiveStreamMonitorListNode)
{
LiveStreamMonitorInfo liveStreamMonitorListObject;
if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["MonitorId"].isNull())
liveStreamMonitorListObject.monitorId = valueLiveStreamMonitorListLiveStreamMonitorInfo["MonitorId"].asString();
if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["MonitorName"].isNull())
liveStreamMonitorListObject.monitorName = valueLiveStreamMonitorListLiveStreamMonitorInfo["MonitorName"].asString();
if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["Domain"].isNull())
liveStreamMonitorListObject.domain = valueLiveStreamMonitorListLiveStreamMonitorInfo["Domain"].asString();
if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["OutputTemplate"].isNull())
liveStreamMonitorListObject.outputTemplate = valueLiveStreamMonitorListLiveStreamMonitorInfo["OutputTemplate"].asString();
if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["Status"].isNull())
liveStreamMonitorListObject.status = std::stoi(valueLiveStreamMonitorListLiveStreamMonitorInfo["Status"].asString());
if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["Region"].isNull())
liveStreamMonitorListObject.region = valueLiveStreamMonitorListLiveStreamMonitorInfo["Region"].asString();
if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["AudioFrom"].isNull())
liveStreamMonitorListObject.audioFrom = std::stoi(valueLiveStreamMonitorListLiveStreamMonitorInfo["AudioFrom"].asString());
if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["StartTime"].isNull())
liveStreamMonitorListObject.startTime = valueLiveStreamMonitorListLiveStreamMonitorInfo["StartTime"].asString();
if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["StopTime"].isNull())
liveStreamMonitorListObject.stopTime = valueLiveStreamMonitorListLiveStreamMonitorInfo["StopTime"].asString();
auto allInputListNode = valueLiveStreamMonitorListLiveStreamMonitorInfo["InputList"]["InputConfig"];
for (auto valueLiveStreamMonitorListLiveStreamMonitorInfoInputListInputConfig : allInputListNode)
{
LiveStreamMonitorInfo::InputConfig inputListObject;
if(!valueLiveStreamMonitorListLiveStreamMonitorInfoInputListInputConfig["Index"].isNull())
inputListObject.index = std::stoi(valueLiveStreamMonitorListLiveStreamMonitorInfoInputListInputConfig["Index"].asString());
if(!valueLiveStreamMonitorListLiveStreamMonitorInfoInputListInputConfig["LayoutId"].isNull())
inputListObject.layoutId = std::stoi(valueLiveStreamMonitorListLiveStreamMonitorInfoInputListInputConfig["LayoutId"].asString());
if(!valueLiveStreamMonitorListLiveStreamMonitorInfoInputListInputConfig["StreamName"].isNull())
inputListObject.streamName = valueLiveStreamMonitorListLiveStreamMonitorInfoInputListInputConfig["StreamName"].asString();
if(!valueLiveStreamMonitorListLiveStreamMonitorInfoInputListInputConfig["InputUrl"].isNull())
inputListObject.inputUrl = valueLiveStreamMonitorListLiveStreamMonitorInfoInputListInputConfig["InputUrl"].asString();
auto layoutConfigNode = value["LayoutConfig"];
if(!layoutConfigNode["FillMode"].isNull())
inputListObject.layoutConfig.fillMode = layoutConfigNode["FillMode"].asString();
if(!layoutConfigNode["PositionRefer"].isNull())
inputListObject.layoutConfig.positionRefer = layoutConfigNode["PositionRefer"].asString();
auto allPositionNormalized = layoutConfigNode["PositionNormalized"]["Position"];
for (auto value : allPositionNormalized)
inputListObject.layoutConfig.positionNormalized.push_back(value.asString());
auto allSizeNormalized = layoutConfigNode["SizeNormalized"]["Size"];
for (auto value : allSizeNormalized)
inputListObject.layoutConfig.sizeNormalized.push_back(value.asString());
auto playConfigNode = value["PlayConfig"];
if(!playConfigNode["VolumeRate"].isNull())
inputListObject.playConfig.volumeRate = std::stof(playConfigNode["VolumeRate"].asString());
liveStreamMonitorListObject.inputList.push_back(inputListObject);
}
auto outputUrlsNode = value["OutputUrls"];
if(!outputUrlsNode["RtmpUrl"].isNull())
liveStreamMonitorListObject.outputUrls.rtmpUrl = outputUrlsNode["RtmpUrl"].asString();
if(!outputUrlsNode["FlvUrl"].isNull())
liveStreamMonitorListObject.outputUrls.flvUrl = outputUrlsNode["FlvUrl"].asString();
liveStreamMonitorList_.push_back(liveStreamMonitorListObject);
}
if(!value["Total"].isNull())
total_ = std::stoi(value["Total"].asString());
}
int DescribeLiveStreamMonitorListResult::getTotal()const
{
return total_;
}
std::vector<DescribeLiveStreamMonitorListResult::LiveStreamMonitorInfo> DescribeLiveStreamMonitorListResult::getLiveStreamMonitorList()const
{
return liveStreamMonitorList_;
}

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.
*/
#include <alibabacloud/live/model/StartLiveStreamMonitorRequest.h>
using AlibabaCloud::Live::Model::StartLiveStreamMonitorRequest;
StartLiveStreamMonitorRequest::StartLiveStreamMonitorRequest() :
RpcServiceRequest("live", "2016-11-01", "StartLiveStreamMonitor")
{
setMethod(HttpRequest::Method::Post);
}
StartLiveStreamMonitorRequest::~StartLiveStreamMonitorRequest()
{}
std::string StartLiveStreamMonitorRequest::getMonitorId()const
{
return monitorId_;
}
void StartLiveStreamMonitorRequest::setMonitorId(const std::string& monitorId)
{
monitorId_ = monitorId;
setParameter("MonitorId", monitorId);
}
long StartLiveStreamMonitorRequest::getOwnerId()const
{
return ownerId_;
}
void StartLiveStreamMonitorRequest::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/StartLiveStreamMonitorResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
StartLiveStreamMonitorResult::StartLiveStreamMonitorResult() :
ServiceResult()
{}
StartLiveStreamMonitorResult::StartLiveStreamMonitorResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
StartLiveStreamMonitorResult::~StartLiveStreamMonitorResult()
{}
void StartLiveStreamMonitorResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/live/model/StopLiveStreamMonitorRequest.h>
using AlibabaCloud::Live::Model::StopLiveStreamMonitorRequest;
StopLiveStreamMonitorRequest::StopLiveStreamMonitorRequest() :
RpcServiceRequest("live", "2016-11-01", "StopLiveStreamMonitor")
{
setMethod(HttpRequest::Method::Post);
}
StopLiveStreamMonitorRequest::~StopLiveStreamMonitorRequest()
{}
std::string StopLiveStreamMonitorRequest::getMonitorId()const
{
return monitorId_;
}
void StopLiveStreamMonitorRequest::setMonitorId(const std::string& monitorId)
{
monitorId_ = monitorId;
setParameter("MonitorId", monitorId);
}
long StopLiveStreamMonitorRequest::getOwnerId()const
{
return ownerId_;
}
void StopLiveStreamMonitorRequest::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/StopLiveStreamMonitorResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
StopLiveStreamMonitorResult::StopLiveStreamMonitorResult() :
ServiceResult()
{}
StopLiveStreamMonitorResult::StopLiveStreamMonitorResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
StopLiveStreamMonitorResult::~StopLiveStreamMonitorResult()
{}
void StopLiveStreamMonitorResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/UpdateLiveStreamMonitorRequest.h>
using AlibabaCloud::Live::Model::UpdateLiveStreamMonitorRequest;
UpdateLiveStreamMonitorRequest::UpdateLiveStreamMonitorRequest() :
RpcServiceRequest("live", "2016-11-01", "UpdateLiveStreamMonitor")
{
setMethod(HttpRequest::Method::Post);
}
UpdateLiveStreamMonitorRequest::~UpdateLiveStreamMonitorRequest()
{}
std::string UpdateLiveStreamMonitorRequest::getMonitorId()const
{
return monitorId_;
}
void UpdateLiveStreamMonitorRequest::setMonitorId(const std::string& monitorId)
{
monitorId_ = monitorId;
setParameter("MonitorId", monitorId);
}
std::string UpdateLiveStreamMonitorRequest::getMonitorName()const
{
return monitorName_;
}
void UpdateLiveStreamMonitorRequest::setMonitorName(const std::string& monitorName)
{
monitorName_ = monitorName;
setParameter("MonitorName", monitorName);
}
std::string UpdateLiveStreamMonitorRequest::getStream()const
{
return stream_;
}
void UpdateLiveStreamMonitorRequest::setStream(const std::string& stream)
{
stream_ = stream;
setParameter("Stream", stream);
}
std::string UpdateLiveStreamMonitorRequest::getOutputTemplate()const
{
return outputTemplate_;
}
void UpdateLiveStreamMonitorRequest::setOutputTemplate(const std::string& outputTemplate)
{
outputTemplate_ = outputTemplate;
setParameter("OutputTemplate", outputTemplate);
}
std::string UpdateLiveStreamMonitorRequest::getApp()const
{
return app_;
}
void UpdateLiveStreamMonitorRequest::setApp(const std::string& app)
{
app_ = app;
setParameter("App", app);
}
std::string UpdateLiveStreamMonitorRequest::getInputList()const
{
return inputList_;
}
void UpdateLiveStreamMonitorRequest::setInputList(const std::string& inputList)
{
inputList_ = inputList;
setParameter("InputList", inputList);
}
long UpdateLiveStreamMonitorRequest::getOwnerId()const
{
return ownerId_;
}
void UpdateLiveStreamMonitorRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string UpdateLiveStreamMonitorRequest::getDomain()const
{
return domain_;
}
void UpdateLiveStreamMonitorRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
}

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/UpdateLiveStreamMonitorResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
UpdateLiveStreamMonitorResult::UpdateLiveStreamMonitorResult() :
ServiceResult()
{}
UpdateLiveStreamMonitorResult::UpdateLiveStreamMonitorResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
UpdateLiveStreamMonitorResult::~UpdateLiveStreamMonitorResult()
{}
void UpdateLiveStreamMonitorResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}