diff --git a/VERSION b/VERSION index e48c5d372..4751960fe 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1784 \ No newline at end of file +1.36.1785 \ No newline at end of file diff --git a/live/CMakeLists.txt b/live/CMakeLists.txt index cae0756b9..7e3b9a26d 100644 --- a/live/CMakeLists.txt +++ b/live/CMakeLists.txt @@ -55,6 +55,8 @@ set(live_public_header_model include/alibabacloud/live/model/AddLiveDomainMappingResult.h include/alibabacloud/live/model/AddLiveDomainPlayMappingRequest.h include/alibabacloud/live/model/AddLiveDomainPlayMappingResult.h + include/alibabacloud/live/model/AddLivePackageConfigRequest.h + include/alibabacloud/live/model/AddLivePackageConfigResult.h include/alibabacloud/live/model/AddLivePullStreamInfoConfigRequest.h include/alibabacloud/live/model/AddLivePullStreamInfoConfigResult.h include/alibabacloud/live/model/AddLiveRecordNotifyConfigRequest.h @@ -65,6 +67,8 @@ set(live_public_header_model include/alibabacloud/live/model/AddLiveSnapshotDetectPornConfigResult.h include/alibabacloud/live/model/AddLiveSnapshotNotifyConfigRequest.h include/alibabacloud/live/model/AddLiveSnapshotNotifyConfigResult.h + include/alibabacloud/live/model/AddLiveStreamMergeRequest.h + include/alibabacloud/live/model/AddLiveStreamMergeResult.h include/alibabacloud/live/model/AddLiveStreamTranscodeRequest.h include/alibabacloud/live/model/AddLiveStreamTranscodeResult.h include/alibabacloud/live/model/AddLiveStreamWatermarkRequest.h @@ -105,6 +109,8 @@ set(live_public_header_model include/alibabacloud/live/model/CreateCasterResult.h include/alibabacloud/live/model/CreateCustomTemplateRequest.h include/alibabacloud/live/model/CreateCustomTemplateResult.h + include/alibabacloud/live/model/CreateEdgeTranscodeJobRequest.h + include/alibabacloud/live/model/CreateEdgeTranscodeJobResult.h include/alibabacloud/live/model/CreateEventSubRequest.h include/alibabacloud/live/model/CreateEventSubResult.h include/alibabacloud/live/model/CreateLiveDelayConfigRequest.h @@ -139,8 +145,12 @@ set(live_public_header_model include/alibabacloud/live/model/DeleteCasterSceneConfigResult.h include/alibabacloud/live/model/DeleteCasterVideoResourceRequest.h include/alibabacloud/live/model/DeleteCasterVideoResourceResult.h + include/alibabacloud/live/model/DeleteChannelRequest.h + include/alibabacloud/live/model/DeleteChannelResult.h include/alibabacloud/live/model/DeleteCustomTemplateRequest.h include/alibabacloud/live/model/DeleteCustomTemplateResult.h + include/alibabacloud/live/model/DeleteEdgeTranscodeJobRequest.h + include/alibabacloud/live/model/DeleteEdgeTranscodeJobResult.h include/alibabacloud/live/model/DeleteEventSubRequest.h include/alibabacloud/live/model/DeleteEventSubResult.h include/alibabacloud/live/model/DeleteLiveAppRecordConfigRequest.h @@ -167,6 +177,8 @@ set(live_public_header_model include/alibabacloud/live/model/DeleteLiveEdgeTransferResult.h include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigRequest.h include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigResult.h + include/alibabacloud/live/model/DeleteLivePackageConfigRequest.h + include/alibabacloud/live/model/DeleteLivePackageConfigResult.h include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigRequest.h include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigResult.h include/alibabacloud/live/model/DeleteLiveRealTimeLogLogstoreRequest.h @@ -185,6 +197,8 @@ set(live_public_header_model include/alibabacloud/live/model/DeleteLiveSpecificStagingConfigResult.h include/alibabacloud/live/model/DeleteLiveStreamBlockRequest.h include/alibabacloud/live/model/DeleteLiveStreamBlockResult.h + include/alibabacloud/live/model/DeleteLiveStreamMergeRequest.h + include/alibabacloud/live/model/DeleteLiveStreamMergeResult.h include/alibabacloud/live/model/DeleteLiveStreamMonitorRequest.h include/alibabacloud/live/model/DeleteLiveStreamMonitorResult.h include/alibabacloud/live/model/DeleteLiveStreamRecordIndexFilesRequest.h @@ -277,6 +291,8 @@ set(live_public_header_model include/alibabacloud/live/model/DescribeLiveDomainBpsDataByLayerResult.h include/alibabacloud/live/model/DescribeLiveDomainBpsDataByTimeStampRequest.h include/alibabacloud/live/model/DescribeLiveDomainBpsDataByTimeStampResult.h + include/alibabacloud/live/model/DescribeLiveDomainByCertificateRequest.h + include/alibabacloud/live/model/DescribeLiveDomainByCertificateResult.h include/alibabacloud/live/model/DescribeLiveDomainCertificateInfoRequest.h include/alibabacloud/live/model/DescribeLiveDomainCertificateInfoResult.h include/alibabacloud/live/model/DescribeLiveDomainConfigsRequest.h @@ -291,6 +307,8 @@ set(live_public_header_model include/alibabacloud/live/model/DescribeLiveDomainLogResult.h include/alibabacloud/live/model/DescribeLiveDomainMappingRequest.h include/alibabacloud/live/model/DescribeLiveDomainMappingResult.h + include/alibabacloud/live/model/DescribeLiveDomainMonitoringUsageDataRequest.h + include/alibabacloud/live/model/DescribeLiveDomainMonitoringUsageDataResult.h include/alibabacloud/live/model/DescribeLiveDomainOnlineUserNumRequest.h include/alibabacloud/live/model/DescribeLiveDomainOnlineUserNumResult.h include/alibabacloud/live/model/DescribeLiveDomainPushBpsDataRequest.h @@ -329,12 +347,24 @@ set(live_public_header_model include/alibabacloud/live/model/DescribeLiveDrmUsageDataResult.h include/alibabacloud/live/model/DescribeLiveEdgeTransferRequest.h include/alibabacloud/live/model/DescribeLiveEdgeTransferResult.h + include/alibabacloud/live/model/DescribeLiveGrtnDurationRequest.h + include/alibabacloud/live/model/DescribeLiveGrtnDurationResult.h + include/alibabacloud/live/model/DescribeLiveHttpsDomainListRequest.h + include/alibabacloud/live/model/DescribeLiveHttpsDomainListResult.h + include/alibabacloud/live/model/DescribeLiveIpInfoRequest.h + include/alibabacloud/live/model/DescribeLiveIpInfoResult.h include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigRequest.h include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h + include/alibabacloud/live/model/DescribeLivePackageConfigRequest.h + include/alibabacloud/live/model/DescribeLivePackageConfigResult.h include/alibabacloud/live/model/DescribeLiveProducerUsageDataRequest.h include/alibabacloud/live/model/DescribeLiveProducerUsageDataResult.h include/alibabacloud/live/model/DescribeLivePullStreamConfigRequest.h include/alibabacloud/live/model/DescribeLivePullStreamConfigResult.h + include/alibabacloud/live/model/DescribeLivePushProxyLogRequest.h + include/alibabacloud/live/model/DescribeLivePushProxyLogResult.h + include/alibabacloud/live/model/DescribeLivePushProxyUsageDataRequest.h + include/alibabacloud/live/model/DescribeLivePushProxyUsageDataResult.h include/alibabacloud/live/model/DescribeLiveRealtimeDeliveryAccRequest.h include/alibabacloud/live/model/DescribeLiveRealtimeDeliveryAccResult.h include/alibabacloud/live/model/DescribeLiveRealtimeLogAuthorizedRequest.h @@ -373,6 +403,8 @@ set(live_public_header_model include/alibabacloud/live/model/DescribeLiveStreamOptimizedFeatureConfigResult.h include/alibabacloud/live/model/DescribeLiveStreamPreloadTasksRequest.h include/alibabacloud/live/model/DescribeLiveStreamPreloadTasksResult.h + include/alibabacloud/live/model/DescribeLiveStreamPushMetricDetailDataRequest.h + include/alibabacloud/live/model/DescribeLiveStreamPushMetricDetailDataResult.h include/alibabacloud/live/model/DescribeLiveStreamRecordContentRequest.h include/alibabacloud/live/model/DescribeLiveStreamRecordContentResult.h include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFileRequest.h @@ -403,6 +435,8 @@ set(live_public_header_model include/alibabacloud/live/model/DescribeLiveStreamsOnlineListResult.h include/alibabacloud/live/model/DescribeLiveStreamsPublishListRequest.h include/alibabacloud/live/model/DescribeLiveStreamsPublishListResult.h + include/alibabacloud/live/model/DescribeLiveStreamsTotalCountRequest.h + include/alibabacloud/live/model/DescribeLiveStreamsTotalCountResult.h include/alibabacloud/live/model/DescribeLiveTagResourcesRequest.h include/alibabacloud/live/model/DescribeLiveTagResourcesResult.h include/alibabacloud/live/model/DescribeLiveTopDomainsByFlowRequest.h @@ -473,6 +507,10 @@ set(live_public_header_model include/alibabacloud/live/model/GetAllCustomTemplatesResult.h include/alibabacloud/live/model/GetCustomTemplateRequest.h include/alibabacloud/live/model/GetCustomTemplateResult.h + include/alibabacloud/live/model/GetEdgeTranscodeJobRequest.h + include/alibabacloud/live/model/GetEdgeTranscodeJobResult.h + include/alibabacloud/live/model/GetEdgeTranscodeTemplateRequest.h + include/alibabacloud/live/model/GetEdgeTranscodeTemplateResult.h include/alibabacloud/live/model/GetEditingJobInfoRequest.h include/alibabacloud/live/model/GetEditingJobInfoResult.h include/alibabacloud/live/model/GetMessageAppRequest.h @@ -493,6 +531,10 @@ set(live_public_header_model include/alibabacloud/live/model/JoinMessageGroupResult.h include/alibabacloud/live/model/LeaveMessageGroupRequest.h include/alibabacloud/live/model/LeaveMessageGroupResult.h + include/alibabacloud/live/model/ListEdgeTranscodeJobRequest.h + include/alibabacloud/live/model/ListEdgeTranscodeJobResult.h + include/alibabacloud/live/model/ListEdgeTranscodeTemplateRequest.h + include/alibabacloud/live/model/ListEdgeTranscodeTemplateResult.h include/alibabacloud/live/model/ListLiveDelayConfigRequest.h include/alibabacloud/live/model/ListLiveDelayConfigResult.h include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryRequest.h @@ -607,8 +649,12 @@ set(live_public_header_model include/alibabacloud/live/model/StartCasterResult.h include/alibabacloud/live/model/StartCasterSceneRequest.h include/alibabacloud/live/model/StartCasterSceneResult.h + include/alibabacloud/live/model/StartEdgeTranscodeJobRequest.h + include/alibabacloud/live/model/StartEdgeTranscodeJobResult.h include/alibabacloud/live/model/StartLiveDomainRequest.h include/alibabacloud/live/model/StartLiveDomainResult.h + include/alibabacloud/live/model/StartLiveMPUTaskRequest.h + include/alibabacloud/live/model/StartLiveMPUTaskResult.h include/alibabacloud/live/model/StartLiveStreamMonitorRequest.h include/alibabacloud/live/model/StartLiveStreamMonitorResult.h include/alibabacloud/live/model/StartPlaylistRequest.h @@ -617,8 +663,12 @@ set(live_public_header_model include/alibabacloud/live/model/StopCasterResult.h include/alibabacloud/live/model/StopCasterSceneRequest.h include/alibabacloud/live/model/StopCasterSceneResult.h + include/alibabacloud/live/model/StopEdgeTranscodeJobRequest.h + include/alibabacloud/live/model/StopEdgeTranscodeJobResult.h include/alibabacloud/live/model/StopLiveDomainRequest.h include/alibabacloud/live/model/StopLiveDomainResult.h + include/alibabacloud/live/model/StopLiveMPUTaskRequest.h + include/alibabacloud/live/model/StopLiveMPUTaskResult.h include/alibabacloud/live/model/StopLiveStreamMonitorRequest.h include/alibabacloud/live/model/StopLiveStreamMonitorResult.h include/alibabacloud/live/model/StopPlaylistRequest.h @@ -631,6 +681,8 @@ set(live_public_header_model include/alibabacloud/live/model/UpdateCasterSceneAudioResult.h include/alibabacloud/live/model/UpdateCasterSceneConfigRequest.h include/alibabacloud/live/model/UpdateCasterSceneConfigResult.h + include/alibabacloud/live/model/UpdateEdgeTranscodeJobRequest.h + include/alibabacloud/live/model/UpdateEdgeTranscodeJobResult.h include/alibabacloud/live/model/UpdateLiveAppRecordConfigRequest.h include/alibabacloud/live/model/UpdateLiveAppRecordConfigResult.h include/alibabacloud/live/model/UpdateLiveAppSnapshotConfigRequest.h @@ -645,6 +697,10 @@ set(live_public_header_model include/alibabacloud/live/model/UpdateLiveDelayConfigResult.h include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigRequest.h include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigResult.h + include/alibabacloud/live/model/UpdateLiveMPUTaskRequest.h + include/alibabacloud/live/model/UpdateLiveMPUTaskResult.h + include/alibabacloud/live/model/UpdateLivePackageConfigRequest.h + include/alibabacloud/live/model/UpdateLivePackageConfigResult.h include/alibabacloud/live/model/UpdateLivePullStreamInfoConfigRequest.h include/alibabacloud/live/model/UpdateLivePullStreamInfoConfigResult.h include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigRequest.h @@ -708,6 +764,8 @@ set(live_src src/model/AddLiveDomainMappingResult.cc src/model/AddLiveDomainPlayMappingRequest.cc src/model/AddLiveDomainPlayMappingResult.cc + src/model/AddLivePackageConfigRequest.cc + src/model/AddLivePackageConfigResult.cc src/model/AddLivePullStreamInfoConfigRequest.cc src/model/AddLivePullStreamInfoConfigResult.cc src/model/AddLiveRecordNotifyConfigRequest.cc @@ -718,6 +776,8 @@ set(live_src src/model/AddLiveSnapshotDetectPornConfigResult.cc src/model/AddLiveSnapshotNotifyConfigRequest.cc src/model/AddLiveSnapshotNotifyConfigResult.cc + src/model/AddLiveStreamMergeRequest.cc + src/model/AddLiveStreamMergeResult.cc src/model/AddLiveStreamTranscodeRequest.cc src/model/AddLiveStreamTranscodeResult.cc src/model/AddLiveStreamWatermarkRequest.cc @@ -758,6 +818,8 @@ set(live_src src/model/CreateCasterResult.cc src/model/CreateCustomTemplateRequest.cc src/model/CreateCustomTemplateResult.cc + src/model/CreateEdgeTranscodeJobRequest.cc + src/model/CreateEdgeTranscodeJobResult.cc src/model/CreateEventSubRequest.cc src/model/CreateEventSubResult.cc src/model/CreateLiveDelayConfigRequest.cc @@ -792,8 +854,12 @@ set(live_src src/model/DeleteCasterSceneConfigResult.cc src/model/DeleteCasterVideoResourceRequest.cc src/model/DeleteCasterVideoResourceResult.cc + src/model/DeleteChannelRequest.cc + src/model/DeleteChannelResult.cc src/model/DeleteCustomTemplateRequest.cc src/model/DeleteCustomTemplateResult.cc + src/model/DeleteEdgeTranscodeJobRequest.cc + src/model/DeleteEdgeTranscodeJobResult.cc src/model/DeleteEventSubRequest.cc src/model/DeleteEventSubResult.cc src/model/DeleteLiveAppRecordConfigRequest.cc @@ -820,6 +886,8 @@ set(live_src src/model/DeleteLiveEdgeTransferResult.cc src/model/DeleteLiveLazyPullStreamInfoConfigRequest.cc src/model/DeleteLiveLazyPullStreamInfoConfigResult.cc + src/model/DeleteLivePackageConfigRequest.cc + src/model/DeleteLivePackageConfigResult.cc src/model/DeleteLivePullStreamInfoConfigRequest.cc src/model/DeleteLivePullStreamInfoConfigResult.cc src/model/DeleteLiveRealTimeLogLogstoreRequest.cc @@ -838,6 +906,8 @@ set(live_src src/model/DeleteLiveSpecificStagingConfigResult.cc src/model/DeleteLiveStreamBlockRequest.cc src/model/DeleteLiveStreamBlockResult.cc + src/model/DeleteLiveStreamMergeRequest.cc + src/model/DeleteLiveStreamMergeResult.cc src/model/DeleteLiveStreamMonitorRequest.cc src/model/DeleteLiveStreamMonitorResult.cc src/model/DeleteLiveStreamRecordIndexFilesRequest.cc @@ -930,6 +1000,8 @@ set(live_src src/model/DescribeLiveDomainBpsDataByLayerResult.cc src/model/DescribeLiveDomainBpsDataByTimeStampRequest.cc src/model/DescribeLiveDomainBpsDataByTimeStampResult.cc + src/model/DescribeLiveDomainByCertificateRequest.cc + src/model/DescribeLiveDomainByCertificateResult.cc src/model/DescribeLiveDomainCertificateInfoRequest.cc src/model/DescribeLiveDomainCertificateInfoResult.cc src/model/DescribeLiveDomainConfigsRequest.cc @@ -944,6 +1016,8 @@ set(live_src src/model/DescribeLiveDomainLogResult.cc src/model/DescribeLiveDomainMappingRequest.cc src/model/DescribeLiveDomainMappingResult.cc + src/model/DescribeLiveDomainMonitoringUsageDataRequest.cc + src/model/DescribeLiveDomainMonitoringUsageDataResult.cc src/model/DescribeLiveDomainOnlineUserNumRequest.cc src/model/DescribeLiveDomainOnlineUserNumResult.cc src/model/DescribeLiveDomainPushBpsDataRequest.cc @@ -982,12 +1056,24 @@ set(live_src src/model/DescribeLiveDrmUsageDataResult.cc src/model/DescribeLiveEdgeTransferRequest.cc src/model/DescribeLiveEdgeTransferResult.cc + src/model/DescribeLiveGrtnDurationRequest.cc + src/model/DescribeLiveGrtnDurationResult.cc + src/model/DescribeLiveHttpsDomainListRequest.cc + src/model/DescribeLiveHttpsDomainListResult.cc + src/model/DescribeLiveIpInfoRequest.cc + src/model/DescribeLiveIpInfoResult.cc src/model/DescribeLiveLazyPullStreamConfigRequest.cc src/model/DescribeLiveLazyPullStreamConfigResult.cc + src/model/DescribeLivePackageConfigRequest.cc + src/model/DescribeLivePackageConfigResult.cc src/model/DescribeLiveProducerUsageDataRequest.cc src/model/DescribeLiveProducerUsageDataResult.cc src/model/DescribeLivePullStreamConfigRequest.cc src/model/DescribeLivePullStreamConfigResult.cc + src/model/DescribeLivePushProxyLogRequest.cc + src/model/DescribeLivePushProxyLogResult.cc + src/model/DescribeLivePushProxyUsageDataRequest.cc + src/model/DescribeLivePushProxyUsageDataResult.cc src/model/DescribeLiveRealtimeDeliveryAccRequest.cc src/model/DescribeLiveRealtimeDeliveryAccResult.cc src/model/DescribeLiveRealtimeLogAuthorizedRequest.cc @@ -1026,6 +1112,8 @@ set(live_src src/model/DescribeLiveStreamOptimizedFeatureConfigResult.cc src/model/DescribeLiveStreamPreloadTasksRequest.cc src/model/DescribeLiveStreamPreloadTasksResult.cc + src/model/DescribeLiveStreamPushMetricDetailDataRequest.cc + src/model/DescribeLiveStreamPushMetricDetailDataResult.cc src/model/DescribeLiveStreamRecordContentRequest.cc src/model/DescribeLiveStreamRecordContentResult.cc src/model/DescribeLiveStreamRecordIndexFileRequest.cc @@ -1056,6 +1144,8 @@ set(live_src src/model/DescribeLiveStreamsOnlineListResult.cc src/model/DescribeLiveStreamsPublishListRequest.cc src/model/DescribeLiveStreamsPublishListResult.cc + src/model/DescribeLiveStreamsTotalCountRequest.cc + src/model/DescribeLiveStreamsTotalCountResult.cc src/model/DescribeLiveTagResourcesRequest.cc src/model/DescribeLiveTagResourcesResult.cc src/model/DescribeLiveTopDomainsByFlowRequest.cc @@ -1126,6 +1216,10 @@ set(live_src src/model/GetAllCustomTemplatesResult.cc src/model/GetCustomTemplateRequest.cc src/model/GetCustomTemplateResult.cc + src/model/GetEdgeTranscodeJobRequest.cc + src/model/GetEdgeTranscodeJobResult.cc + src/model/GetEdgeTranscodeTemplateRequest.cc + src/model/GetEdgeTranscodeTemplateResult.cc src/model/GetEditingJobInfoRequest.cc src/model/GetEditingJobInfoResult.cc src/model/GetMessageAppRequest.cc @@ -1146,6 +1240,10 @@ set(live_src src/model/JoinMessageGroupResult.cc src/model/LeaveMessageGroupRequest.cc src/model/LeaveMessageGroupResult.cc + src/model/ListEdgeTranscodeJobRequest.cc + src/model/ListEdgeTranscodeJobResult.cc + src/model/ListEdgeTranscodeTemplateRequest.cc + src/model/ListEdgeTranscodeTemplateResult.cc src/model/ListLiveDelayConfigRequest.cc src/model/ListLiveDelayConfigResult.cc src/model/ListLiveRealtimeLogDeliveryRequest.cc @@ -1260,8 +1358,12 @@ set(live_src src/model/StartCasterResult.cc src/model/StartCasterSceneRequest.cc src/model/StartCasterSceneResult.cc + src/model/StartEdgeTranscodeJobRequest.cc + src/model/StartEdgeTranscodeJobResult.cc src/model/StartLiveDomainRequest.cc src/model/StartLiveDomainResult.cc + src/model/StartLiveMPUTaskRequest.cc + src/model/StartLiveMPUTaskResult.cc src/model/StartLiveStreamMonitorRequest.cc src/model/StartLiveStreamMonitorResult.cc src/model/StartPlaylistRequest.cc @@ -1270,8 +1372,12 @@ set(live_src src/model/StopCasterResult.cc src/model/StopCasterSceneRequest.cc src/model/StopCasterSceneResult.cc + src/model/StopEdgeTranscodeJobRequest.cc + src/model/StopEdgeTranscodeJobResult.cc src/model/StopLiveDomainRequest.cc src/model/StopLiveDomainResult.cc + src/model/StopLiveMPUTaskRequest.cc + src/model/StopLiveMPUTaskResult.cc src/model/StopLiveStreamMonitorRequest.cc src/model/StopLiveStreamMonitorResult.cc src/model/StopPlaylistRequest.cc @@ -1284,6 +1390,8 @@ set(live_src src/model/UpdateCasterSceneAudioResult.cc src/model/UpdateCasterSceneConfigRequest.cc src/model/UpdateCasterSceneConfigResult.cc + src/model/UpdateEdgeTranscodeJobRequest.cc + src/model/UpdateEdgeTranscodeJobResult.cc src/model/UpdateLiveAppRecordConfigRequest.cc src/model/UpdateLiveAppRecordConfigResult.cc src/model/UpdateLiveAppSnapshotConfigRequest.cc @@ -1298,6 +1406,10 @@ set(live_src src/model/UpdateLiveDelayConfigResult.cc src/model/UpdateLiveDetectNotifyConfigRequest.cc src/model/UpdateLiveDetectNotifyConfigResult.cc + src/model/UpdateLiveMPUTaskRequest.cc + src/model/UpdateLiveMPUTaskResult.cc + src/model/UpdateLivePackageConfigRequest.cc + src/model/UpdateLivePackageConfigResult.cc src/model/UpdateLivePullStreamInfoConfigRequest.cc src/model/UpdateLivePullStreamInfoConfigResult.cc src/model/UpdateLiveRecordNotifyConfigRequest.cc diff --git a/live/include/alibabacloud/live/LiveClient.h b/live/include/alibabacloud/live/LiveClient.h index 148460890..8e6ad90dd 100644 --- a/live/include/alibabacloud/live/LiveClient.h +++ b/live/include/alibabacloud/live/LiveClient.h @@ -56,6 +56,8 @@ #include "model/AddLiveDomainMappingResult.h" #include "model/AddLiveDomainPlayMappingRequest.h" #include "model/AddLiveDomainPlayMappingResult.h" +#include "model/AddLivePackageConfigRequest.h" +#include "model/AddLivePackageConfigResult.h" #include "model/AddLivePullStreamInfoConfigRequest.h" #include "model/AddLivePullStreamInfoConfigResult.h" #include "model/AddLiveRecordNotifyConfigRequest.h" @@ -66,6 +68,8 @@ #include "model/AddLiveSnapshotDetectPornConfigResult.h" #include "model/AddLiveSnapshotNotifyConfigRequest.h" #include "model/AddLiveSnapshotNotifyConfigResult.h" +#include "model/AddLiveStreamMergeRequest.h" +#include "model/AddLiveStreamMergeResult.h" #include "model/AddLiveStreamTranscodeRequest.h" #include "model/AddLiveStreamTranscodeResult.h" #include "model/AddLiveStreamWatermarkRequest.h" @@ -106,6 +110,8 @@ #include "model/CreateCasterResult.h" #include "model/CreateCustomTemplateRequest.h" #include "model/CreateCustomTemplateResult.h" +#include "model/CreateEdgeTranscodeJobRequest.h" +#include "model/CreateEdgeTranscodeJobResult.h" #include "model/CreateEventSubRequest.h" #include "model/CreateEventSubResult.h" #include "model/CreateLiveDelayConfigRequest.h" @@ -140,8 +146,12 @@ #include "model/DeleteCasterSceneConfigResult.h" #include "model/DeleteCasterVideoResourceRequest.h" #include "model/DeleteCasterVideoResourceResult.h" +#include "model/DeleteChannelRequest.h" +#include "model/DeleteChannelResult.h" #include "model/DeleteCustomTemplateRequest.h" #include "model/DeleteCustomTemplateResult.h" +#include "model/DeleteEdgeTranscodeJobRequest.h" +#include "model/DeleteEdgeTranscodeJobResult.h" #include "model/DeleteEventSubRequest.h" #include "model/DeleteEventSubResult.h" #include "model/DeleteLiveAppRecordConfigRequest.h" @@ -168,6 +178,8 @@ #include "model/DeleteLiveEdgeTransferResult.h" #include "model/DeleteLiveLazyPullStreamInfoConfigRequest.h" #include "model/DeleteLiveLazyPullStreamInfoConfigResult.h" +#include "model/DeleteLivePackageConfigRequest.h" +#include "model/DeleteLivePackageConfigResult.h" #include "model/DeleteLivePullStreamInfoConfigRequest.h" #include "model/DeleteLivePullStreamInfoConfigResult.h" #include "model/DeleteLiveRealTimeLogLogstoreRequest.h" @@ -186,6 +198,8 @@ #include "model/DeleteLiveSpecificStagingConfigResult.h" #include "model/DeleteLiveStreamBlockRequest.h" #include "model/DeleteLiveStreamBlockResult.h" +#include "model/DeleteLiveStreamMergeRequest.h" +#include "model/DeleteLiveStreamMergeResult.h" #include "model/DeleteLiveStreamMonitorRequest.h" #include "model/DeleteLiveStreamMonitorResult.h" #include "model/DeleteLiveStreamRecordIndexFilesRequest.h" @@ -278,6 +292,8 @@ #include "model/DescribeLiveDomainBpsDataByLayerResult.h" #include "model/DescribeLiveDomainBpsDataByTimeStampRequest.h" #include "model/DescribeLiveDomainBpsDataByTimeStampResult.h" +#include "model/DescribeLiveDomainByCertificateRequest.h" +#include "model/DescribeLiveDomainByCertificateResult.h" #include "model/DescribeLiveDomainCertificateInfoRequest.h" #include "model/DescribeLiveDomainCertificateInfoResult.h" #include "model/DescribeLiveDomainConfigsRequest.h" @@ -292,6 +308,8 @@ #include "model/DescribeLiveDomainLogResult.h" #include "model/DescribeLiveDomainMappingRequest.h" #include "model/DescribeLiveDomainMappingResult.h" +#include "model/DescribeLiveDomainMonitoringUsageDataRequest.h" +#include "model/DescribeLiveDomainMonitoringUsageDataResult.h" #include "model/DescribeLiveDomainOnlineUserNumRequest.h" #include "model/DescribeLiveDomainOnlineUserNumResult.h" #include "model/DescribeLiveDomainPushBpsDataRequest.h" @@ -330,12 +348,24 @@ #include "model/DescribeLiveDrmUsageDataResult.h" #include "model/DescribeLiveEdgeTransferRequest.h" #include "model/DescribeLiveEdgeTransferResult.h" +#include "model/DescribeLiveGrtnDurationRequest.h" +#include "model/DescribeLiveGrtnDurationResult.h" +#include "model/DescribeLiveHttpsDomainListRequest.h" +#include "model/DescribeLiveHttpsDomainListResult.h" +#include "model/DescribeLiveIpInfoRequest.h" +#include "model/DescribeLiveIpInfoResult.h" #include "model/DescribeLiveLazyPullStreamConfigRequest.h" #include "model/DescribeLiveLazyPullStreamConfigResult.h" +#include "model/DescribeLivePackageConfigRequest.h" +#include "model/DescribeLivePackageConfigResult.h" #include "model/DescribeLiveProducerUsageDataRequest.h" #include "model/DescribeLiveProducerUsageDataResult.h" #include "model/DescribeLivePullStreamConfigRequest.h" #include "model/DescribeLivePullStreamConfigResult.h" +#include "model/DescribeLivePushProxyLogRequest.h" +#include "model/DescribeLivePushProxyLogResult.h" +#include "model/DescribeLivePushProxyUsageDataRequest.h" +#include "model/DescribeLivePushProxyUsageDataResult.h" #include "model/DescribeLiveRealtimeDeliveryAccRequest.h" #include "model/DescribeLiveRealtimeDeliveryAccResult.h" #include "model/DescribeLiveRealtimeLogAuthorizedRequest.h" @@ -374,6 +404,8 @@ #include "model/DescribeLiveStreamOptimizedFeatureConfigResult.h" #include "model/DescribeLiveStreamPreloadTasksRequest.h" #include "model/DescribeLiveStreamPreloadTasksResult.h" +#include "model/DescribeLiveStreamPushMetricDetailDataRequest.h" +#include "model/DescribeLiveStreamPushMetricDetailDataResult.h" #include "model/DescribeLiveStreamRecordContentRequest.h" #include "model/DescribeLiveStreamRecordContentResult.h" #include "model/DescribeLiveStreamRecordIndexFileRequest.h" @@ -404,6 +436,8 @@ #include "model/DescribeLiveStreamsOnlineListResult.h" #include "model/DescribeLiveStreamsPublishListRequest.h" #include "model/DescribeLiveStreamsPublishListResult.h" +#include "model/DescribeLiveStreamsTotalCountRequest.h" +#include "model/DescribeLiveStreamsTotalCountResult.h" #include "model/DescribeLiveTagResourcesRequest.h" #include "model/DescribeLiveTagResourcesResult.h" #include "model/DescribeLiveTopDomainsByFlowRequest.h" @@ -474,6 +508,10 @@ #include "model/GetAllCustomTemplatesResult.h" #include "model/GetCustomTemplateRequest.h" #include "model/GetCustomTemplateResult.h" +#include "model/GetEdgeTranscodeJobRequest.h" +#include "model/GetEdgeTranscodeJobResult.h" +#include "model/GetEdgeTranscodeTemplateRequest.h" +#include "model/GetEdgeTranscodeTemplateResult.h" #include "model/GetEditingJobInfoRequest.h" #include "model/GetEditingJobInfoResult.h" #include "model/GetMessageAppRequest.h" @@ -494,6 +532,10 @@ #include "model/JoinMessageGroupResult.h" #include "model/LeaveMessageGroupRequest.h" #include "model/LeaveMessageGroupResult.h" +#include "model/ListEdgeTranscodeJobRequest.h" +#include "model/ListEdgeTranscodeJobResult.h" +#include "model/ListEdgeTranscodeTemplateRequest.h" +#include "model/ListEdgeTranscodeTemplateResult.h" #include "model/ListLiveDelayConfigRequest.h" #include "model/ListLiveDelayConfigResult.h" #include "model/ListLiveRealtimeLogDeliveryRequest.h" @@ -608,8 +650,12 @@ #include "model/StartCasterResult.h" #include "model/StartCasterSceneRequest.h" #include "model/StartCasterSceneResult.h" +#include "model/StartEdgeTranscodeJobRequest.h" +#include "model/StartEdgeTranscodeJobResult.h" #include "model/StartLiveDomainRequest.h" #include "model/StartLiveDomainResult.h" +#include "model/StartLiveMPUTaskRequest.h" +#include "model/StartLiveMPUTaskResult.h" #include "model/StartLiveStreamMonitorRequest.h" #include "model/StartLiveStreamMonitorResult.h" #include "model/StartPlaylistRequest.h" @@ -618,8 +664,12 @@ #include "model/StopCasterResult.h" #include "model/StopCasterSceneRequest.h" #include "model/StopCasterSceneResult.h" +#include "model/StopEdgeTranscodeJobRequest.h" +#include "model/StopEdgeTranscodeJobResult.h" #include "model/StopLiveDomainRequest.h" #include "model/StopLiveDomainResult.h" +#include "model/StopLiveMPUTaskRequest.h" +#include "model/StopLiveMPUTaskResult.h" #include "model/StopLiveStreamMonitorRequest.h" #include "model/StopLiveStreamMonitorResult.h" #include "model/StopPlaylistRequest.h" @@ -632,6 +682,8 @@ #include "model/UpdateCasterSceneAudioResult.h" #include "model/UpdateCasterSceneConfigRequest.h" #include "model/UpdateCasterSceneConfigResult.h" +#include "model/UpdateEdgeTranscodeJobRequest.h" +#include "model/UpdateEdgeTranscodeJobResult.h" #include "model/UpdateLiveAppRecordConfigRequest.h" #include "model/UpdateLiveAppRecordConfigResult.h" #include "model/UpdateLiveAppSnapshotConfigRequest.h" @@ -646,6 +698,10 @@ #include "model/UpdateLiveDelayConfigResult.h" #include "model/UpdateLiveDetectNotifyConfigRequest.h" #include "model/UpdateLiveDetectNotifyConfigResult.h" +#include "model/UpdateLiveMPUTaskRequest.h" +#include "model/UpdateLiveMPUTaskResult.h" +#include "model/UpdateLivePackageConfigRequest.h" +#include "model/UpdateLivePackageConfigResult.h" #include "model/UpdateLivePullStreamInfoConfigRequest.h" #include "model/UpdateLivePullStreamInfoConfigResult.h" #include "model/UpdateLiveRecordNotifyConfigRequest.h" @@ -732,6 +788,9 @@ namespace AlibabaCloud typedef Outcome AddLiveDomainPlayMappingOutcome; typedef std::future AddLiveDomainPlayMappingOutcomeCallable; typedef std::function&)> AddLiveDomainPlayMappingAsyncHandler; + typedef Outcome AddLivePackageConfigOutcome; + typedef std::future AddLivePackageConfigOutcomeCallable; + typedef std::function&)> AddLivePackageConfigAsyncHandler; typedef Outcome AddLivePullStreamInfoConfigOutcome; typedef std::future AddLivePullStreamInfoConfigOutcomeCallable; typedef std::function&)> AddLivePullStreamInfoConfigAsyncHandler; @@ -747,6 +806,9 @@ namespace AlibabaCloud typedef Outcome AddLiveSnapshotNotifyConfigOutcome; typedef std::future AddLiveSnapshotNotifyConfigOutcomeCallable; typedef std::function&)> AddLiveSnapshotNotifyConfigAsyncHandler; + typedef Outcome AddLiveStreamMergeOutcome; + typedef std::future AddLiveStreamMergeOutcomeCallable; + typedef std::function&)> AddLiveStreamMergeAsyncHandler; typedef Outcome AddLiveStreamTranscodeOutcome; typedef std::future AddLiveStreamTranscodeOutcomeCallable; typedef std::function&)> AddLiveStreamTranscodeAsyncHandler; @@ -807,6 +869,9 @@ namespace AlibabaCloud typedef Outcome CreateCustomTemplateOutcome; typedef std::future CreateCustomTemplateOutcomeCallable; typedef std::function&)> CreateCustomTemplateAsyncHandler; + typedef Outcome CreateEdgeTranscodeJobOutcome; + typedef std::future CreateEdgeTranscodeJobOutcomeCallable; + typedef std::function&)> CreateEdgeTranscodeJobAsyncHandler; typedef Outcome CreateEventSubOutcome; typedef std::future CreateEventSubOutcomeCallable; typedef std::function&)> CreateEventSubAsyncHandler; @@ -858,9 +923,15 @@ namespace AlibabaCloud typedef Outcome DeleteCasterVideoResourceOutcome; typedef std::future DeleteCasterVideoResourceOutcomeCallable; typedef std::function&)> DeleteCasterVideoResourceAsyncHandler; + typedef Outcome DeleteChannelOutcome; + typedef std::future DeleteChannelOutcomeCallable; + typedef std::function&)> DeleteChannelAsyncHandler; typedef Outcome DeleteCustomTemplateOutcome; typedef std::future DeleteCustomTemplateOutcomeCallable; typedef std::function&)> DeleteCustomTemplateAsyncHandler; + typedef Outcome DeleteEdgeTranscodeJobOutcome; + typedef std::future DeleteEdgeTranscodeJobOutcomeCallable; + typedef std::function&)> DeleteEdgeTranscodeJobAsyncHandler; typedef Outcome DeleteEventSubOutcome; typedef std::future DeleteEventSubOutcomeCallable; typedef std::function&)> DeleteEventSubAsyncHandler; @@ -900,6 +971,9 @@ namespace AlibabaCloud typedef Outcome DeleteLiveLazyPullStreamInfoConfigOutcome; typedef std::future DeleteLiveLazyPullStreamInfoConfigOutcomeCallable; typedef std::function&)> DeleteLiveLazyPullStreamInfoConfigAsyncHandler; + typedef Outcome DeleteLivePackageConfigOutcome; + typedef std::future DeleteLivePackageConfigOutcomeCallable; + typedef std::function&)> DeleteLivePackageConfigAsyncHandler; typedef Outcome DeleteLivePullStreamInfoConfigOutcome; typedef std::future DeleteLivePullStreamInfoConfigOutcomeCallable; typedef std::function&)> DeleteLivePullStreamInfoConfigAsyncHandler; @@ -927,6 +1001,9 @@ namespace AlibabaCloud typedef Outcome DeleteLiveStreamBlockOutcome; typedef std::future DeleteLiveStreamBlockOutcomeCallable; typedef std::function&)> DeleteLiveStreamBlockAsyncHandler; + typedef Outcome DeleteLiveStreamMergeOutcome; + typedef std::future DeleteLiveStreamMergeOutcomeCallable; + typedef std::function&)> DeleteLiveStreamMergeAsyncHandler; typedef Outcome DeleteLiveStreamMonitorOutcome; typedef std::future DeleteLiveStreamMonitorOutcomeCallable; typedef std::function&)> DeleteLiveStreamMonitorAsyncHandler; @@ -1065,6 +1142,9 @@ namespace AlibabaCloud typedef Outcome DescribeLiveDomainBpsDataByTimeStampOutcome; typedef std::future DescribeLiveDomainBpsDataByTimeStampOutcomeCallable; typedef std::function&)> DescribeLiveDomainBpsDataByTimeStampAsyncHandler; + typedef Outcome DescribeLiveDomainByCertificateOutcome; + typedef std::future DescribeLiveDomainByCertificateOutcomeCallable; + typedef std::function&)> DescribeLiveDomainByCertificateAsyncHandler; typedef Outcome DescribeLiveDomainCertificateInfoOutcome; typedef std::future DescribeLiveDomainCertificateInfoOutcomeCallable; typedef std::function&)> DescribeLiveDomainCertificateInfoAsyncHandler; @@ -1086,6 +1166,9 @@ namespace AlibabaCloud typedef Outcome DescribeLiveDomainMappingOutcome; typedef std::future DescribeLiveDomainMappingOutcomeCallable; typedef std::function&)> DescribeLiveDomainMappingAsyncHandler; + typedef Outcome DescribeLiveDomainMonitoringUsageDataOutcome; + typedef std::future DescribeLiveDomainMonitoringUsageDataOutcomeCallable; + typedef std::function&)> DescribeLiveDomainMonitoringUsageDataAsyncHandler; typedef Outcome DescribeLiveDomainOnlineUserNumOutcome; typedef std::future DescribeLiveDomainOnlineUserNumOutcomeCallable; typedef std::function&)> DescribeLiveDomainOnlineUserNumAsyncHandler; @@ -1143,15 +1226,33 @@ namespace AlibabaCloud typedef Outcome DescribeLiveEdgeTransferOutcome; typedef std::future DescribeLiveEdgeTransferOutcomeCallable; typedef std::function&)> DescribeLiveEdgeTransferAsyncHandler; + typedef Outcome DescribeLiveGrtnDurationOutcome; + typedef std::future DescribeLiveGrtnDurationOutcomeCallable; + typedef std::function&)> DescribeLiveGrtnDurationAsyncHandler; + typedef Outcome DescribeLiveHttpsDomainListOutcome; + typedef std::future DescribeLiveHttpsDomainListOutcomeCallable; + typedef std::function&)> DescribeLiveHttpsDomainListAsyncHandler; + typedef Outcome DescribeLiveIpInfoOutcome; + typedef std::future DescribeLiveIpInfoOutcomeCallable; + typedef std::function&)> DescribeLiveIpInfoAsyncHandler; typedef Outcome DescribeLiveLazyPullStreamConfigOutcome; typedef std::future DescribeLiveLazyPullStreamConfigOutcomeCallable; typedef std::function&)> DescribeLiveLazyPullStreamConfigAsyncHandler; + typedef Outcome DescribeLivePackageConfigOutcome; + typedef std::future DescribeLivePackageConfigOutcomeCallable; + typedef std::function&)> DescribeLivePackageConfigAsyncHandler; typedef Outcome DescribeLiveProducerUsageDataOutcome; typedef std::future DescribeLiveProducerUsageDataOutcomeCallable; typedef std::function&)> DescribeLiveProducerUsageDataAsyncHandler; typedef Outcome DescribeLivePullStreamConfigOutcome; typedef std::future DescribeLivePullStreamConfigOutcomeCallable; typedef std::function&)> DescribeLivePullStreamConfigAsyncHandler; + typedef Outcome DescribeLivePushProxyLogOutcome; + typedef std::future DescribeLivePushProxyLogOutcomeCallable; + typedef std::function&)> DescribeLivePushProxyLogAsyncHandler; + typedef Outcome DescribeLivePushProxyUsageDataOutcome; + typedef std::future DescribeLivePushProxyUsageDataOutcomeCallable; + typedef std::function&)> DescribeLivePushProxyUsageDataAsyncHandler; typedef Outcome DescribeLiveRealtimeDeliveryAccOutcome; typedef std::future DescribeLiveRealtimeDeliveryAccOutcomeCallable; typedef std::function&)> DescribeLiveRealtimeDeliveryAccAsyncHandler; @@ -1209,6 +1310,9 @@ namespace AlibabaCloud typedef Outcome DescribeLiveStreamPreloadTasksOutcome; typedef std::future DescribeLiveStreamPreloadTasksOutcomeCallable; typedef std::function&)> DescribeLiveStreamPreloadTasksAsyncHandler; + typedef Outcome DescribeLiveStreamPushMetricDetailDataOutcome; + typedef std::future DescribeLiveStreamPushMetricDetailDataOutcomeCallable; + typedef std::function&)> DescribeLiveStreamPushMetricDetailDataAsyncHandler; typedef Outcome DescribeLiveStreamRecordContentOutcome; typedef std::future DescribeLiveStreamRecordContentOutcomeCallable; typedef std::function&)> DescribeLiveStreamRecordContentAsyncHandler; @@ -1254,6 +1358,9 @@ namespace AlibabaCloud typedef Outcome DescribeLiveStreamsPublishListOutcome; typedef std::future DescribeLiveStreamsPublishListOutcomeCallable; typedef std::function&)> DescribeLiveStreamsPublishListAsyncHandler; + typedef Outcome DescribeLiveStreamsTotalCountOutcome; + typedef std::future DescribeLiveStreamsTotalCountOutcomeCallable; + typedef std::function&)> DescribeLiveStreamsTotalCountAsyncHandler; typedef Outcome DescribeLiveTagResourcesOutcome; typedef std::future DescribeLiveTagResourcesOutcomeCallable; typedef std::function&)> DescribeLiveTagResourcesAsyncHandler; @@ -1359,6 +1466,12 @@ namespace AlibabaCloud typedef Outcome GetCustomTemplateOutcome; typedef std::future GetCustomTemplateOutcomeCallable; typedef std::function&)> GetCustomTemplateAsyncHandler; + typedef Outcome GetEdgeTranscodeJobOutcome; + typedef std::future GetEdgeTranscodeJobOutcomeCallable; + typedef std::function&)> GetEdgeTranscodeJobAsyncHandler; + typedef Outcome GetEdgeTranscodeTemplateOutcome; + typedef std::future GetEdgeTranscodeTemplateOutcomeCallable; + typedef std::function&)> GetEdgeTranscodeTemplateAsyncHandler; typedef Outcome GetEditingJobInfoOutcome; typedef std::future GetEditingJobInfoOutcomeCallable; typedef std::function&)> GetEditingJobInfoAsyncHandler; @@ -1389,6 +1502,12 @@ namespace AlibabaCloud typedef Outcome LeaveMessageGroupOutcome; typedef std::future LeaveMessageGroupOutcomeCallable; typedef std::function&)> LeaveMessageGroupAsyncHandler; + typedef Outcome ListEdgeTranscodeJobOutcome; + typedef std::future ListEdgeTranscodeJobOutcomeCallable; + typedef std::function&)> ListEdgeTranscodeJobAsyncHandler; + typedef Outcome ListEdgeTranscodeTemplateOutcome; + typedef std::future ListEdgeTranscodeTemplateOutcomeCallable; + typedef std::function&)> ListEdgeTranscodeTemplateAsyncHandler; typedef Outcome ListLiveDelayConfigOutcome; typedef std::future ListLiveDelayConfigOutcomeCallable; typedef std::function&)> ListLiveDelayConfigAsyncHandler; @@ -1560,9 +1679,15 @@ namespace AlibabaCloud typedef Outcome StartCasterSceneOutcome; typedef std::future StartCasterSceneOutcomeCallable; typedef std::function&)> StartCasterSceneAsyncHandler; + typedef Outcome StartEdgeTranscodeJobOutcome; + typedef std::future StartEdgeTranscodeJobOutcomeCallable; + typedef std::function&)> StartEdgeTranscodeJobAsyncHandler; typedef Outcome StartLiveDomainOutcome; typedef std::future StartLiveDomainOutcomeCallable; typedef std::function&)> StartLiveDomainAsyncHandler; + typedef Outcome StartLiveMPUTaskOutcome; + typedef std::future StartLiveMPUTaskOutcomeCallable; + typedef std::function&)> StartLiveMPUTaskAsyncHandler; typedef Outcome StartLiveStreamMonitorOutcome; typedef std::future StartLiveStreamMonitorOutcomeCallable; typedef std::function&)> StartLiveStreamMonitorAsyncHandler; @@ -1575,9 +1700,15 @@ namespace AlibabaCloud typedef Outcome StopCasterSceneOutcome; typedef std::future StopCasterSceneOutcomeCallable; typedef std::function&)> StopCasterSceneAsyncHandler; + typedef Outcome StopEdgeTranscodeJobOutcome; + typedef std::future StopEdgeTranscodeJobOutcomeCallable; + typedef std::function&)> StopEdgeTranscodeJobAsyncHandler; typedef Outcome StopLiveDomainOutcome; typedef std::future StopLiveDomainOutcomeCallable; typedef std::function&)> StopLiveDomainAsyncHandler; + typedef Outcome StopLiveMPUTaskOutcome; + typedef std::future StopLiveMPUTaskOutcomeCallable; + typedef std::function&)> StopLiveMPUTaskAsyncHandler; typedef Outcome StopLiveStreamMonitorOutcome; typedef std::future StopLiveStreamMonitorOutcomeCallable; typedef std::function&)> StopLiveStreamMonitorAsyncHandler; @@ -1596,6 +1727,9 @@ namespace AlibabaCloud typedef Outcome UpdateCasterSceneConfigOutcome; typedef std::future UpdateCasterSceneConfigOutcomeCallable; typedef std::function&)> UpdateCasterSceneConfigAsyncHandler; + typedef Outcome UpdateEdgeTranscodeJobOutcome; + typedef std::future UpdateEdgeTranscodeJobOutcomeCallable; + typedef std::function&)> UpdateEdgeTranscodeJobAsyncHandler; typedef Outcome UpdateLiveAppRecordConfigOutcome; typedef std::future UpdateLiveAppRecordConfigOutcomeCallable; typedef std::function&)> UpdateLiveAppRecordConfigAsyncHandler; @@ -1617,6 +1751,12 @@ namespace AlibabaCloud typedef Outcome UpdateLiveDetectNotifyConfigOutcome; typedef std::future UpdateLiveDetectNotifyConfigOutcomeCallable; typedef std::function&)> UpdateLiveDetectNotifyConfigAsyncHandler; + typedef Outcome UpdateLiveMPUTaskOutcome; + typedef std::future UpdateLiveMPUTaskOutcomeCallable; + typedef std::function&)> UpdateLiveMPUTaskAsyncHandler; + typedef Outcome UpdateLivePackageConfigOutcome; + typedef std::future UpdateLivePackageConfigOutcomeCallable; + typedef std::function&)> UpdateLivePackageConfigAsyncHandler; typedef Outcome UpdateLivePullStreamInfoConfigOutcome; typedef std::future UpdateLivePullStreamInfoConfigOutcomeCallable; typedef std::function&)> UpdateLivePullStreamInfoConfigAsyncHandler; @@ -1712,6 +1852,9 @@ namespace AlibabaCloud AddLiveDomainPlayMappingOutcome addLiveDomainPlayMapping(const Model::AddLiveDomainPlayMappingRequest &request)const; void addLiveDomainPlayMappingAsync(const Model::AddLiveDomainPlayMappingRequest& request, const AddLiveDomainPlayMappingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddLiveDomainPlayMappingOutcomeCallable addLiveDomainPlayMappingCallable(const Model::AddLiveDomainPlayMappingRequest& request) const; + AddLivePackageConfigOutcome addLivePackageConfig(const Model::AddLivePackageConfigRequest &request)const; + void addLivePackageConfigAsync(const Model::AddLivePackageConfigRequest& request, const AddLivePackageConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddLivePackageConfigOutcomeCallable addLivePackageConfigCallable(const Model::AddLivePackageConfigRequest& request) const; AddLivePullStreamInfoConfigOutcome addLivePullStreamInfoConfig(const Model::AddLivePullStreamInfoConfigRequest &request)const; void addLivePullStreamInfoConfigAsync(const Model::AddLivePullStreamInfoConfigRequest& request, const AddLivePullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddLivePullStreamInfoConfigOutcomeCallable addLivePullStreamInfoConfigCallable(const Model::AddLivePullStreamInfoConfigRequest& request) const; @@ -1727,6 +1870,9 @@ namespace AlibabaCloud AddLiveSnapshotNotifyConfigOutcome addLiveSnapshotNotifyConfig(const Model::AddLiveSnapshotNotifyConfigRequest &request)const; void addLiveSnapshotNotifyConfigAsync(const Model::AddLiveSnapshotNotifyConfigRequest& request, const AddLiveSnapshotNotifyConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddLiveSnapshotNotifyConfigOutcomeCallable addLiveSnapshotNotifyConfigCallable(const Model::AddLiveSnapshotNotifyConfigRequest& request) const; + AddLiveStreamMergeOutcome addLiveStreamMerge(const Model::AddLiveStreamMergeRequest &request)const; + void addLiveStreamMergeAsync(const Model::AddLiveStreamMergeRequest& request, const AddLiveStreamMergeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddLiveStreamMergeOutcomeCallable addLiveStreamMergeCallable(const Model::AddLiveStreamMergeRequest& request) const; AddLiveStreamTranscodeOutcome addLiveStreamTranscode(const Model::AddLiveStreamTranscodeRequest &request)const; void addLiveStreamTranscodeAsync(const Model::AddLiveStreamTranscodeRequest& request, const AddLiveStreamTranscodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddLiveStreamTranscodeOutcomeCallable addLiveStreamTranscodeCallable(const Model::AddLiveStreamTranscodeRequest& request) const; @@ -1787,6 +1933,9 @@ namespace AlibabaCloud CreateCustomTemplateOutcome createCustomTemplate(const Model::CreateCustomTemplateRequest &request)const; void createCustomTemplateAsync(const Model::CreateCustomTemplateRequest& request, const CreateCustomTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateCustomTemplateOutcomeCallable createCustomTemplateCallable(const Model::CreateCustomTemplateRequest& request) const; + CreateEdgeTranscodeJobOutcome createEdgeTranscodeJob(const Model::CreateEdgeTranscodeJobRequest &request)const; + void createEdgeTranscodeJobAsync(const Model::CreateEdgeTranscodeJobRequest& request, const CreateEdgeTranscodeJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateEdgeTranscodeJobOutcomeCallable createEdgeTranscodeJobCallable(const Model::CreateEdgeTranscodeJobRequest& request) const; CreateEventSubOutcome createEventSub(const Model::CreateEventSubRequest &request)const; void createEventSubAsync(const Model::CreateEventSubRequest& request, const CreateEventSubAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateEventSubOutcomeCallable createEventSubCallable(const Model::CreateEventSubRequest& request) const; @@ -1838,9 +1987,15 @@ namespace AlibabaCloud DeleteCasterVideoResourceOutcome deleteCasterVideoResource(const Model::DeleteCasterVideoResourceRequest &request)const; void deleteCasterVideoResourceAsync(const Model::DeleteCasterVideoResourceRequest& request, const DeleteCasterVideoResourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteCasterVideoResourceOutcomeCallable deleteCasterVideoResourceCallable(const Model::DeleteCasterVideoResourceRequest& request) const; + DeleteChannelOutcome deleteChannel(const Model::DeleteChannelRequest &request)const; + void deleteChannelAsync(const Model::DeleteChannelRequest& request, const DeleteChannelAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteChannelOutcomeCallable deleteChannelCallable(const Model::DeleteChannelRequest& request) const; DeleteCustomTemplateOutcome deleteCustomTemplate(const Model::DeleteCustomTemplateRequest &request)const; void deleteCustomTemplateAsync(const Model::DeleteCustomTemplateRequest& request, const DeleteCustomTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteCustomTemplateOutcomeCallable deleteCustomTemplateCallable(const Model::DeleteCustomTemplateRequest& request) const; + DeleteEdgeTranscodeJobOutcome deleteEdgeTranscodeJob(const Model::DeleteEdgeTranscodeJobRequest &request)const; + void deleteEdgeTranscodeJobAsync(const Model::DeleteEdgeTranscodeJobRequest& request, const DeleteEdgeTranscodeJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteEdgeTranscodeJobOutcomeCallable deleteEdgeTranscodeJobCallable(const Model::DeleteEdgeTranscodeJobRequest& request) const; DeleteEventSubOutcome deleteEventSub(const Model::DeleteEventSubRequest &request)const; void deleteEventSubAsync(const Model::DeleteEventSubRequest& request, const DeleteEventSubAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteEventSubOutcomeCallable deleteEventSubCallable(const Model::DeleteEventSubRequest& request) const; @@ -1880,6 +2035,9 @@ namespace AlibabaCloud DeleteLiveLazyPullStreamInfoConfigOutcome deleteLiveLazyPullStreamInfoConfig(const Model::DeleteLiveLazyPullStreamInfoConfigRequest &request)const; void deleteLiveLazyPullStreamInfoConfigAsync(const Model::DeleteLiveLazyPullStreamInfoConfigRequest& request, const DeleteLiveLazyPullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteLiveLazyPullStreamInfoConfigOutcomeCallable deleteLiveLazyPullStreamInfoConfigCallable(const Model::DeleteLiveLazyPullStreamInfoConfigRequest& request) const; + DeleteLivePackageConfigOutcome deleteLivePackageConfig(const Model::DeleteLivePackageConfigRequest &request)const; + void deleteLivePackageConfigAsync(const Model::DeleteLivePackageConfigRequest& request, const DeleteLivePackageConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteLivePackageConfigOutcomeCallable deleteLivePackageConfigCallable(const Model::DeleteLivePackageConfigRequest& request) const; DeleteLivePullStreamInfoConfigOutcome deleteLivePullStreamInfoConfig(const Model::DeleteLivePullStreamInfoConfigRequest &request)const; void deleteLivePullStreamInfoConfigAsync(const Model::DeleteLivePullStreamInfoConfigRequest& request, const DeleteLivePullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteLivePullStreamInfoConfigOutcomeCallable deleteLivePullStreamInfoConfigCallable(const Model::DeleteLivePullStreamInfoConfigRequest& request) const; @@ -1907,6 +2065,9 @@ namespace AlibabaCloud DeleteLiveStreamBlockOutcome deleteLiveStreamBlock(const Model::DeleteLiveStreamBlockRequest &request)const; void deleteLiveStreamBlockAsync(const Model::DeleteLiveStreamBlockRequest& request, const DeleteLiveStreamBlockAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteLiveStreamBlockOutcomeCallable deleteLiveStreamBlockCallable(const Model::DeleteLiveStreamBlockRequest& request) const; + DeleteLiveStreamMergeOutcome deleteLiveStreamMerge(const Model::DeleteLiveStreamMergeRequest &request)const; + void deleteLiveStreamMergeAsync(const Model::DeleteLiveStreamMergeRequest& request, const DeleteLiveStreamMergeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteLiveStreamMergeOutcomeCallable deleteLiveStreamMergeCallable(const Model::DeleteLiveStreamMergeRequest& request) const; DeleteLiveStreamMonitorOutcome deleteLiveStreamMonitor(const Model::DeleteLiveStreamMonitorRequest &request)const; void deleteLiveStreamMonitorAsync(const Model::DeleteLiveStreamMonitorRequest& request, const DeleteLiveStreamMonitorAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteLiveStreamMonitorOutcomeCallable deleteLiveStreamMonitorCallable(const Model::DeleteLiveStreamMonitorRequest& request) const; @@ -2045,6 +2206,9 @@ namespace AlibabaCloud DescribeLiveDomainBpsDataByTimeStampOutcome describeLiveDomainBpsDataByTimeStamp(const Model::DescribeLiveDomainBpsDataByTimeStampRequest &request)const; void describeLiveDomainBpsDataByTimeStampAsync(const Model::DescribeLiveDomainBpsDataByTimeStampRequest& request, const DescribeLiveDomainBpsDataByTimeStampAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveDomainBpsDataByTimeStampOutcomeCallable describeLiveDomainBpsDataByTimeStampCallable(const Model::DescribeLiveDomainBpsDataByTimeStampRequest& request) const; + DescribeLiveDomainByCertificateOutcome describeLiveDomainByCertificate(const Model::DescribeLiveDomainByCertificateRequest &request)const; + void describeLiveDomainByCertificateAsync(const Model::DescribeLiveDomainByCertificateRequest& request, const DescribeLiveDomainByCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveDomainByCertificateOutcomeCallable describeLiveDomainByCertificateCallable(const Model::DescribeLiveDomainByCertificateRequest& request) const; DescribeLiveDomainCertificateInfoOutcome describeLiveDomainCertificateInfo(const Model::DescribeLiveDomainCertificateInfoRequest &request)const; void describeLiveDomainCertificateInfoAsync(const Model::DescribeLiveDomainCertificateInfoRequest& request, const DescribeLiveDomainCertificateInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveDomainCertificateInfoOutcomeCallable describeLiveDomainCertificateInfoCallable(const Model::DescribeLiveDomainCertificateInfoRequest& request) const; @@ -2066,6 +2230,9 @@ namespace AlibabaCloud DescribeLiveDomainMappingOutcome describeLiveDomainMapping(const Model::DescribeLiveDomainMappingRequest &request)const; void describeLiveDomainMappingAsync(const Model::DescribeLiveDomainMappingRequest& request, const DescribeLiveDomainMappingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveDomainMappingOutcomeCallable describeLiveDomainMappingCallable(const Model::DescribeLiveDomainMappingRequest& request) const; + DescribeLiveDomainMonitoringUsageDataOutcome describeLiveDomainMonitoringUsageData(const Model::DescribeLiveDomainMonitoringUsageDataRequest &request)const; + void describeLiveDomainMonitoringUsageDataAsync(const Model::DescribeLiveDomainMonitoringUsageDataRequest& request, const DescribeLiveDomainMonitoringUsageDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveDomainMonitoringUsageDataOutcomeCallable describeLiveDomainMonitoringUsageDataCallable(const Model::DescribeLiveDomainMonitoringUsageDataRequest& request) const; DescribeLiveDomainOnlineUserNumOutcome describeLiveDomainOnlineUserNum(const Model::DescribeLiveDomainOnlineUserNumRequest &request)const; void describeLiveDomainOnlineUserNumAsync(const Model::DescribeLiveDomainOnlineUserNumRequest& request, const DescribeLiveDomainOnlineUserNumAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveDomainOnlineUserNumOutcomeCallable describeLiveDomainOnlineUserNumCallable(const Model::DescribeLiveDomainOnlineUserNumRequest& request) const; @@ -2123,15 +2290,33 @@ namespace AlibabaCloud DescribeLiveEdgeTransferOutcome describeLiveEdgeTransfer(const Model::DescribeLiveEdgeTransferRequest &request)const; void describeLiveEdgeTransferAsync(const Model::DescribeLiveEdgeTransferRequest& request, const DescribeLiveEdgeTransferAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveEdgeTransferOutcomeCallable describeLiveEdgeTransferCallable(const Model::DescribeLiveEdgeTransferRequest& request) const; + DescribeLiveGrtnDurationOutcome describeLiveGrtnDuration(const Model::DescribeLiveGrtnDurationRequest &request)const; + void describeLiveGrtnDurationAsync(const Model::DescribeLiveGrtnDurationRequest& request, const DescribeLiveGrtnDurationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveGrtnDurationOutcomeCallable describeLiveGrtnDurationCallable(const Model::DescribeLiveGrtnDurationRequest& request) const; + DescribeLiveHttpsDomainListOutcome describeLiveHttpsDomainList(const Model::DescribeLiveHttpsDomainListRequest &request)const; + void describeLiveHttpsDomainListAsync(const Model::DescribeLiveHttpsDomainListRequest& request, const DescribeLiveHttpsDomainListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveHttpsDomainListOutcomeCallable describeLiveHttpsDomainListCallable(const Model::DescribeLiveHttpsDomainListRequest& request) const; + DescribeLiveIpInfoOutcome describeLiveIpInfo(const Model::DescribeLiveIpInfoRequest &request)const; + void describeLiveIpInfoAsync(const Model::DescribeLiveIpInfoRequest& request, const DescribeLiveIpInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveIpInfoOutcomeCallable describeLiveIpInfoCallable(const Model::DescribeLiveIpInfoRequest& request) const; DescribeLiveLazyPullStreamConfigOutcome describeLiveLazyPullStreamConfig(const Model::DescribeLiveLazyPullStreamConfigRequest &request)const; void describeLiveLazyPullStreamConfigAsync(const Model::DescribeLiveLazyPullStreamConfigRequest& request, const DescribeLiveLazyPullStreamConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveLazyPullStreamConfigOutcomeCallable describeLiveLazyPullStreamConfigCallable(const Model::DescribeLiveLazyPullStreamConfigRequest& request) const; + DescribeLivePackageConfigOutcome describeLivePackageConfig(const Model::DescribeLivePackageConfigRequest &request)const; + void describeLivePackageConfigAsync(const Model::DescribeLivePackageConfigRequest& request, const DescribeLivePackageConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLivePackageConfigOutcomeCallable describeLivePackageConfigCallable(const Model::DescribeLivePackageConfigRequest& request) const; DescribeLiveProducerUsageDataOutcome describeLiveProducerUsageData(const Model::DescribeLiveProducerUsageDataRequest &request)const; void describeLiveProducerUsageDataAsync(const Model::DescribeLiveProducerUsageDataRequest& request, const DescribeLiveProducerUsageDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveProducerUsageDataOutcomeCallable describeLiveProducerUsageDataCallable(const Model::DescribeLiveProducerUsageDataRequest& request) const; DescribeLivePullStreamConfigOutcome describeLivePullStreamConfig(const Model::DescribeLivePullStreamConfigRequest &request)const; void describeLivePullStreamConfigAsync(const Model::DescribeLivePullStreamConfigRequest& request, const DescribeLivePullStreamConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLivePullStreamConfigOutcomeCallable describeLivePullStreamConfigCallable(const Model::DescribeLivePullStreamConfigRequest& request) const; + DescribeLivePushProxyLogOutcome describeLivePushProxyLog(const Model::DescribeLivePushProxyLogRequest &request)const; + void describeLivePushProxyLogAsync(const Model::DescribeLivePushProxyLogRequest& request, const DescribeLivePushProxyLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLivePushProxyLogOutcomeCallable describeLivePushProxyLogCallable(const Model::DescribeLivePushProxyLogRequest& request) const; + DescribeLivePushProxyUsageDataOutcome describeLivePushProxyUsageData(const Model::DescribeLivePushProxyUsageDataRequest &request)const; + void describeLivePushProxyUsageDataAsync(const Model::DescribeLivePushProxyUsageDataRequest& request, const DescribeLivePushProxyUsageDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLivePushProxyUsageDataOutcomeCallable describeLivePushProxyUsageDataCallable(const Model::DescribeLivePushProxyUsageDataRequest& request) const; DescribeLiveRealtimeDeliveryAccOutcome describeLiveRealtimeDeliveryAcc(const Model::DescribeLiveRealtimeDeliveryAccRequest &request)const; void describeLiveRealtimeDeliveryAccAsync(const Model::DescribeLiveRealtimeDeliveryAccRequest& request, const DescribeLiveRealtimeDeliveryAccAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveRealtimeDeliveryAccOutcomeCallable describeLiveRealtimeDeliveryAccCallable(const Model::DescribeLiveRealtimeDeliveryAccRequest& request) const; @@ -2189,6 +2374,9 @@ namespace AlibabaCloud DescribeLiveStreamPreloadTasksOutcome describeLiveStreamPreloadTasks(const Model::DescribeLiveStreamPreloadTasksRequest &request)const; void describeLiveStreamPreloadTasksAsync(const Model::DescribeLiveStreamPreloadTasksRequest& request, const DescribeLiveStreamPreloadTasksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveStreamPreloadTasksOutcomeCallable describeLiveStreamPreloadTasksCallable(const Model::DescribeLiveStreamPreloadTasksRequest& request) const; + DescribeLiveStreamPushMetricDetailDataOutcome describeLiveStreamPushMetricDetailData(const Model::DescribeLiveStreamPushMetricDetailDataRequest &request)const; + void describeLiveStreamPushMetricDetailDataAsync(const Model::DescribeLiveStreamPushMetricDetailDataRequest& request, const DescribeLiveStreamPushMetricDetailDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveStreamPushMetricDetailDataOutcomeCallable describeLiveStreamPushMetricDetailDataCallable(const Model::DescribeLiveStreamPushMetricDetailDataRequest& request) const; DescribeLiveStreamRecordContentOutcome describeLiveStreamRecordContent(const Model::DescribeLiveStreamRecordContentRequest &request)const; void describeLiveStreamRecordContentAsync(const Model::DescribeLiveStreamRecordContentRequest& request, const DescribeLiveStreamRecordContentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveStreamRecordContentOutcomeCallable describeLiveStreamRecordContentCallable(const Model::DescribeLiveStreamRecordContentRequest& request) const; @@ -2234,6 +2422,9 @@ namespace AlibabaCloud DescribeLiveStreamsPublishListOutcome describeLiveStreamsPublishList(const Model::DescribeLiveStreamsPublishListRequest &request)const; void describeLiveStreamsPublishListAsync(const Model::DescribeLiveStreamsPublishListRequest& request, const DescribeLiveStreamsPublishListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveStreamsPublishListOutcomeCallable describeLiveStreamsPublishListCallable(const Model::DescribeLiveStreamsPublishListRequest& request) const; + DescribeLiveStreamsTotalCountOutcome describeLiveStreamsTotalCount(const Model::DescribeLiveStreamsTotalCountRequest &request)const; + void describeLiveStreamsTotalCountAsync(const Model::DescribeLiveStreamsTotalCountRequest& request, const DescribeLiveStreamsTotalCountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveStreamsTotalCountOutcomeCallable describeLiveStreamsTotalCountCallable(const Model::DescribeLiveStreamsTotalCountRequest& request) const; DescribeLiveTagResourcesOutcome describeLiveTagResources(const Model::DescribeLiveTagResourcesRequest &request)const; void describeLiveTagResourcesAsync(const Model::DescribeLiveTagResourcesRequest& request, const DescribeLiveTagResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveTagResourcesOutcomeCallable describeLiveTagResourcesCallable(const Model::DescribeLiveTagResourcesRequest& request) const; @@ -2339,6 +2530,12 @@ namespace AlibabaCloud GetCustomTemplateOutcome getCustomTemplate(const Model::GetCustomTemplateRequest &request)const; void getCustomTemplateAsync(const Model::GetCustomTemplateRequest& request, const GetCustomTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetCustomTemplateOutcomeCallable getCustomTemplateCallable(const Model::GetCustomTemplateRequest& request) const; + GetEdgeTranscodeJobOutcome getEdgeTranscodeJob(const Model::GetEdgeTranscodeJobRequest &request)const; + void getEdgeTranscodeJobAsync(const Model::GetEdgeTranscodeJobRequest& request, const GetEdgeTranscodeJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetEdgeTranscodeJobOutcomeCallable getEdgeTranscodeJobCallable(const Model::GetEdgeTranscodeJobRequest& request) const; + GetEdgeTranscodeTemplateOutcome getEdgeTranscodeTemplate(const Model::GetEdgeTranscodeTemplateRequest &request)const; + void getEdgeTranscodeTemplateAsync(const Model::GetEdgeTranscodeTemplateRequest& request, const GetEdgeTranscodeTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetEdgeTranscodeTemplateOutcomeCallable getEdgeTranscodeTemplateCallable(const Model::GetEdgeTranscodeTemplateRequest& request) const; GetEditingJobInfoOutcome getEditingJobInfo(const Model::GetEditingJobInfoRequest &request)const; void getEditingJobInfoAsync(const Model::GetEditingJobInfoRequest& request, const GetEditingJobInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetEditingJobInfoOutcomeCallable getEditingJobInfoCallable(const Model::GetEditingJobInfoRequest& request) const; @@ -2369,6 +2566,12 @@ namespace AlibabaCloud LeaveMessageGroupOutcome leaveMessageGroup(const Model::LeaveMessageGroupRequest &request)const; void leaveMessageGroupAsync(const Model::LeaveMessageGroupRequest& request, const LeaveMessageGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; LeaveMessageGroupOutcomeCallable leaveMessageGroupCallable(const Model::LeaveMessageGroupRequest& request) const; + ListEdgeTranscodeJobOutcome listEdgeTranscodeJob(const Model::ListEdgeTranscodeJobRequest &request)const; + void listEdgeTranscodeJobAsync(const Model::ListEdgeTranscodeJobRequest& request, const ListEdgeTranscodeJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListEdgeTranscodeJobOutcomeCallable listEdgeTranscodeJobCallable(const Model::ListEdgeTranscodeJobRequest& request) const; + ListEdgeTranscodeTemplateOutcome listEdgeTranscodeTemplate(const Model::ListEdgeTranscodeTemplateRequest &request)const; + void listEdgeTranscodeTemplateAsync(const Model::ListEdgeTranscodeTemplateRequest& request, const ListEdgeTranscodeTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListEdgeTranscodeTemplateOutcomeCallable listEdgeTranscodeTemplateCallable(const Model::ListEdgeTranscodeTemplateRequest& request) const; ListLiveDelayConfigOutcome listLiveDelayConfig(const Model::ListLiveDelayConfigRequest &request)const; void listLiveDelayConfigAsync(const Model::ListLiveDelayConfigRequest& request, const ListLiveDelayConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListLiveDelayConfigOutcomeCallable listLiveDelayConfigCallable(const Model::ListLiveDelayConfigRequest& request) const; @@ -2540,9 +2743,15 @@ namespace AlibabaCloud StartCasterSceneOutcome startCasterScene(const Model::StartCasterSceneRequest &request)const; void startCasterSceneAsync(const Model::StartCasterSceneRequest& request, const StartCasterSceneAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; StartCasterSceneOutcomeCallable startCasterSceneCallable(const Model::StartCasterSceneRequest& request) const; + StartEdgeTranscodeJobOutcome startEdgeTranscodeJob(const Model::StartEdgeTranscodeJobRequest &request)const; + void startEdgeTranscodeJobAsync(const Model::StartEdgeTranscodeJobRequest& request, const StartEdgeTranscodeJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StartEdgeTranscodeJobOutcomeCallable startEdgeTranscodeJobCallable(const Model::StartEdgeTranscodeJobRequest& request) const; StartLiveDomainOutcome startLiveDomain(const Model::StartLiveDomainRequest &request)const; void startLiveDomainAsync(const Model::StartLiveDomainRequest& request, const StartLiveDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; StartLiveDomainOutcomeCallable startLiveDomainCallable(const Model::StartLiveDomainRequest& request) const; + StartLiveMPUTaskOutcome startLiveMPUTask(const Model::StartLiveMPUTaskRequest &request)const; + void startLiveMPUTaskAsync(const Model::StartLiveMPUTaskRequest& request, const StartLiveMPUTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StartLiveMPUTaskOutcomeCallable startLiveMPUTaskCallable(const Model::StartLiveMPUTaskRequest& request) const; StartLiveStreamMonitorOutcome startLiveStreamMonitor(const Model::StartLiveStreamMonitorRequest &request)const; void startLiveStreamMonitorAsync(const Model::StartLiveStreamMonitorRequest& request, const StartLiveStreamMonitorAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; StartLiveStreamMonitorOutcomeCallable startLiveStreamMonitorCallable(const Model::StartLiveStreamMonitorRequest& request) const; @@ -2555,9 +2764,15 @@ namespace AlibabaCloud StopCasterSceneOutcome stopCasterScene(const Model::StopCasterSceneRequest &request)const; void stopCasterSceneAsync(const Model::StopCasterSceneRequest& request, const StopCasterSceneAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; StopCasterSceneOutcomeCallable stopCasterSceneCallable(const Model::StopCasterSceneRequest& request) const; + StopEdgeTranscodeJobOutcome stopEdgeTranscodeJob(const Model::StopEdgeTranscodeJobRequest &request)const; + void stopEdgeTranscodeJobAsync(const Model::StopEdgeTranscodeJobRequest& request, const StopEdgeTranscodeJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StopEdgeTranscodeJobOutcomeCallable stopEdgeTranscodeJobCallable(const Model::StopEdgeTranscodeJobRequest& request) const; StopLiveDomainOutcome stopLiveDomain(const Model::StopLiveDomainRequest &request)const; void stopLiveDomainAsync(const Model::StopLiveDomainRequest& request, const StopLiveDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; StopLiveDomainOutcomeCallable stopLiveDomainCallable(const Model::StopLiveDomainRequest& request) const; + StopLiveMPUTaskOutcome stopLiveMPUTask(const Model::StopLiveMPUTaskRequest &request)const; + void stopLiveMPUTaskAsync(const Model::StopLiveMPUTaskRequest& request, const StopLiveMPUTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StopLiveMPUTaskOutcomeCallable stopLiveMPUTaskCallable(const Model::StopLiveMPUTaskRequest& request) const; StopLiveStreamMonitorOutcome stopLiveStreamMonitor(const Model::StopLiveStreamMonitorRequest &request)const; void stopLiveStreamMonitorAsync(const Model::StopLiveStreamMonitorRequest& request, const StopLiveStreamMonitorAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; StopLiveStreamMonitorOutcomeCallable stopLiveStreamMonitorCallable(const Model::StopLiveStreamMonitorRequest& request) const; @@ -2576,6 +2791,9 @@ namespace AlibabaCloud UpdateCasterSceneConfigOutcome updateCasterSceneConfig(const Model::UpdateCasterSceneConfigRequest &request)const; void updateCasterSceneConfigAsync(const Model::UpdateCasterSceneConfigRequest& request, const UpdateCasterSceneConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateCasterSceneConfigOutcomeCallable updateCasterSceneConfigCallable(const Model::UpdateCasterSceneConfigRequest& request) const; + UpdateEdgeTranscodeJobOutcome updateEdgeTranscodeJob(const Model::UpdateEdgeTranscodeJobRequest &request)const; + void updateEdgeTranscodeJobAsync(const Model::UpdateEdgeTranscodeJobRequest& request, const UpdateEdgeTranscodeJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateEdgeTranscodeJobOutcomeCallable updateEdgeTranscodeJobCallable(const Model::UpdateEdgeTranscodeJobRequest& request) const; UpdateLiveAppRecordConfigOutcome updateLiveAppRecordConfig(const Model::UpdateLiveAppRecordConfigRequest &request)const; void updateLiveAppRecordConfigAsync(const Model::UpdateLiveAppRecordConfigRequest& request, const UpdateLiveAppRecordConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateLiveAppRecordConfigOutcomeCallable updateLiveAppRecordConfigCallable(const Model::UpdateLiveAppRecordConfigRequest& request) const; @@ -2597,6 +2815,12 @@ namespace AlibabaCloud UpdateLiveDetectNotifyConfigOutcome updateLiveDetectNotifyConfig(const Model::UpdateLiveDetectNotifyConfigRequest &request)const; void updateLiveDetectNotifyConfigAsync(const Model::UpdateLiveDetectNotifyConfigRequest& request, const UpdateLiveDetectNotifyConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateLiveDetectNotifyConfigOutcomeCallable updateLiveDetectNotifyConfigCallable(const Model::UpdateLiveDetectNotifyConfigRequest& request) const; + UpdateLiveMPUTaskOutcome updateLiveMPUTask(const Model::UpdateLiveMPUTaskRequest &request)const; + void updateLiveMPUTaskAsync(const Model::UpdateLiveMPUTaskRequest& request, const UpdateLiveMPUTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateLiveMPUTaskOutcomeCallable updateLiveMPUTaskCallable(const Model::UpdateLiveMPUTaskRequest& request) const; + UpdateLivePackageConfigOutcome updateLivePackageConfig(const Model::UpdateLivePackageConfigRequest &request)const; + void updateLivePackageConfigAsync(const Model::UpdateLivePackageConfigRequest& request, const UpdateLivePackageConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateLivePackageConfigOutcomeCallable updateLivePackageConfigCallable(const Model::UpdateLivePackageConfigRequest& request) const; UpdateLivePullStreamInfoConfigOutcome updateLivePullStreamInfoConfig(const Model::UpdateLivePullStreamInfoConfigRequest &request)const; void updateLivePullStreamInfoConfigAsync(const Model::UpdateLivePullStreamInfoConfigRequest& request, const UpdateLivePullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateLivePullStreamInfoConfigOutcomeCallable updateLivePullStreamInfoConfigCallable(const Model::UpdateLivePullStreamInfoConfigRequest& request) const; diff --git a/live/include/alibabacloud/live/model/AddLivePackageConfigRequest.h b/live/include/alibabacloud/live/model/AddLivePackageConfigRequest.h new file mode 100644 index 000000000..d62acf82c --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLivePackageConfigRequest.h @@ -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_ADDLIVEPACKAGECONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEPACKAGECONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddLivePackageConfigRequest : public RpcServiceRequest { +public: + AddLivePackageConfigRequest(); + ~AddLivePackageConfigRequest(); + int getSegmentNum() const; + void setSegmentNum(int segmentNum); + std::string getProtocol() const; + void setProtocol(const std::string &protocol); + std::string getAppName() const; + void setAppName(const std::string &appName); + int getPartDuration() const; + void setPartDuration(int partDuration); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + bool getIgnoreTranscode() const; + void setIgnoreTranscode(bool ignoreTranscode); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + int getSegmentDuration() const; + void setSegmentDuration(int segmentDuration); + +private: + int segmentNum_; + std::string protocol_; + std::string appName_; + int partDuration_; + std::string streamName_; + bool ignoreTranscode_; + std::string domainName_; + long ownerId_; + int segmentDuration_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEPACKAGECONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddLivePackageConfigResult.h b/live/include/alibabacloud/live/model/AddLivePackageConfigResult.h new file mode 100644 index 000000000..35a15437a --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLivePackageConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEPACKAGECONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEPACKAGECONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLivePackageConfigResult : public ServiceResult + { + public: + + + AddLivePackageConfigResult(); + explicit AddLivePackageConfigResult(const std::string &payload); + ~AddLivePackageConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEPACKAGECONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/AddLiveStreamMergeRequest.h b/live/include/alibabacloud/live/model/AddLiveStreamMergeRequest.h new file mode 100644 index 000000000..6353110b6 --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLiveStreamMergeRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMMERGEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMMERGEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT AddLiveStreamMergeRequest : public RpcServiceRequest { +public: + AddLiveStreamMergeRequest(); + ~AddLiveStreamMergeRequest(); + std::string getInAppName2() const; + void setInAppName2(const std::string &inAppName2); + std::string getInAppName1() const; + void setInAppName1(const std::string &inAppName1); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getProtocol() const; + void setProtocol(const std::string &protocol); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getInStreamName2() const; + void setInStreamName2(const std::string &inStreamName2); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getInStreamName1() const; + void setInStreamName1(const std::string &inStreamName1); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string inAppName2_; + std::string inAppName1_; + std::string startTime_; + std::string protocol_; + std::string appName_; + std::string inStreamName2_; + std::string streamName_; + std::string inStreamName1_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMMERGEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/AddLiveStreamMergeResult.h b/live/include/alibabacloud/live/model/AddLiveStreamMergeResult.h new file mode 100644 index 000000000..8608af0c3 --- /dev/null +++ b/live/include/alibabacloud/live/model/AddLiveStreamMergeResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMMERGERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMMERGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT AddLiveStreamMergeResult : public ServiceResult + { + public: + + + AddLiveStreamMergeResult(); + explicit AddLiveStreamMergeResult(const std::string &payload); + ~AddLiveStreamMergeResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMMERGERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CreateEdgeTranscodeJobRequest.h b/live/include/alibabacloud/live/model/CreateEdgeTranscodeJobRequest.h new file mode 100644 index 000000000..464a2c973 --- /dev/null +++ b/live/include/alibabacloud/live/model/CreateEdgeTranscodeJobRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_CREATEEDGETRANSCODEJOBREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATEEDGETRANSCODEJOBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT CreateEdgeTranscodeJobRequest : public RpcServiceRequest { +public: + CreateEdgeTranscodeJobRequest(); + ~CreateEdgeTranscodeJobRequest(); + std::string getStreamInput() const; + void setStreamInput(const std::string &streamInput); + std::string getStreamOutput() const; + void setStreamOutput(const std::string &streamOutput); + std::string getClusterId() const; + void setClusterId(const std::string &clusterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getTemplateId() const; + void setTemplateId(const std::string &templateId); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string streamInput_; + std::string streamOutput_; + std::string clusterId_; + long ownerId_; + std::string templateId_; + std::string name_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_CREATEEDGETRANSCODEJOBREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/CreateEdgeTranscodeJobResult.h b/live/include/alibabacloud/live/model/CreateEdgeTranscodeJobResult.h new file mode 100644 index 000000000..2cf933743 --- /dev/null +++ b/live/include/alibabacloud/live/model/CreateEdgeTranscodeJobResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_CREATEEDGETRANSCODEJOBRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_CREATEEDGETRANSCODEJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT CreateEdgeTranscodeJobResult : public ServiceResult + { + public: + + + CreateEdgeTranscodeJobResult(); + explicit CreateEdgeTranscodeJobResult(const std::string &payload); + ~CreateEdgeTranscodeJobResult(); + std::string getJobId()const; + + protected: + void parse(const std::string &payload); + private: + std::string jobId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_CREATEEDGETRANSCODEJOBRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/CreateLiveStreamMonitorRequest.h b/live/include/alibabacloud/live/model/CreateLiveStreamMonitorRequest.h index 95e332958..2347caa20 100644 --- a/live/include/alibabacloud/live/model/CreateLiveStreamMonitorRequest.h +++ b/live/include/alibabacloud/live/model/CreateLiveStreamMonitorRequest.h @@ -42,10 +42,14 @@ public: void setApp(const std::string &app); std::string getInputList() const; void setInputList(const std::string &inputList); + std::string getDingTalkWebHookUrl() const; + void setDingTalkWebHookUrl(const std::string &dingTalkWebHookUrl); long getOwnerId() const; void setOwnerId(long ownerId); std::string getDomain() const; void setDomain(const std::string &domain); + std::string getCallbackUrl() const; + void setCallbackUrl(const std::string &callbackUrl); private: std::string monitorConfig_; @@ -54,8 +58,10 @@ private: std::string outputTemplate_; std::string app_; std::string inputList_; + std::string dingTalkWebHookUrl_; long ownerId_; std::string domain_; + std::string callbackUrl_; }; } // namespace Model } // namespace Live diff --git a/live/include/alibabacloud/live/model/DeleteChannelRequest.h b/live/include/alibabacloud/live/model/DeleteChannelRequest.h new file mode 100644 index 000000000..da8b9c399 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteChannelRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECHANNELREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECHANNELREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteChannelRequest : public RpcServiceRequest { +public: + DeleteChannelRequest(); + ~DeleteChannelRequest(); + std::string getAppId() const; + void setAppId(const std::string &appId); + std::string getChannelId() const; + void setChannelId(const std::string &channelId); + +private: + std::string appId_; + std::string channelId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECHANNELREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteChannelResult.h b/live/include/alibabacloud/live/model/DeleteChannelResult.h new file mode 100644 index 000000000..617189e81 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteChannelResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETECHANNELRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETECHANNELRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteChannelResult : public ServiceResult + { + public: + + + DeleteChannelResult(); + explicit DeleteChannelResult(const std::string &payload); + ~DeleteChannelResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETECHANNELRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteEdgeTranscodeJobRequest.h b/live/include/alibabacloud/live/model/DeleteEdgeTranscodeJobRequest.h new file mode 100644 index 000000000..95e7566d4 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteEdgeTranscodeJobRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEEDGETRANSCODEJOBREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETEEDGETRANSCODEJOBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteEdgeTranscodeJobRequest : public RpcServiceRequest { +public: + DeleteEdgeTranscodeJobRequest(); + ~DeleteEdgeTranscodeJobRequest(); + std::string getJobId() const; + void setJobId(const std::string &jobId); + std::string getClusterId() const; + void setClusterId(const std::string &clusterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string jobId_; + std::string clusterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETEEDGETRANSCODEJOBREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteEdgeTranscodeJobResult.h b/live/include/alibabacloud/live/model/DeleteEdgeTranscodeJobResult.h new file mode 100644 index 000000000..add9f9249 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteEdgeTranscodeJobResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEEDGETRANSCODEJOBRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETEEDGETRANSCODEJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteEdgeTranscodeJobResult : public ServiceResult + { + public: + + + DeleteEdgeTranscodeJobResult(); + explicit DeleteEdgeTranscodeJobResult(const std::string &payload); + ~DeleteEdgeTranscodeJobResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETEEDGETRANSCODEJOBRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLivePackageConfigRequest.h b/live/include/alibabacloud/live/model/DeleteLivePackageConfigRequest.h new file mode 100644 index 000000000..ccdb62b1c --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLivePackageConfigRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEPACKAGECONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEPACKAGECONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLivePackageConfigRequest : public RpcServiceRequest { +public: + DeleteLivePackageConfigRequest(); + ~DeleteLivePackageConfigRequest(); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string appName_; + std::string streamName_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEPACKAGECONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLivePackageConfigResult.h b/live/include/alibabacloud/live/model/DeleteLivePackageConfigResult.h new file mode 100644 index 000000000..d207680b2 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLivePackageConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEPACKAGECONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEPACKAGECONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLivePackageConfigResult : public ServiceResult + { + public: + + + DeleteLivePackageConfigResult(); + explicit DeleteLivePackageConfigResult(const std::string &payload); + ~DeleteLivePackageConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEPACKAGECONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DeleteLiveStreamMergeRequest.h b/live/include/alibabacloud/live/model/DeleteLiveStreamMergeRequest.h new file mode 100644 index 000000000..2781f1657 --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamMergeRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMMERGEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMMERGEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DeleteLiveStreamMergeRequest : public RpcServiceRequest { +public: + DeleteLiveStreamMergeRequest(); + ~DeleteLiveStreamMergeRequest(); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string appName_; + std::string streamName_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMMERGEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DeleteLiveStreamMergeResult.h b/live/include/alibabacloud/live/model/DeleteLiveStreamMergeResult.h new file mode 100644 index 000000000..99b6a61cf --- /dev/null +++ b/live/include/alibabacloud/live/model/DeleteLiveStreamMergeResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMMERGERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMMERGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DeleteLiveStreamMergeResult : public ServiceResult + { + public: + + + DeleteLiveStreamMergeResult(); + explicit DeleteLiveStreamMergeResult(const std::string &payload); + ~DeleteLiveStreamMergeResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVESTREAMMERGERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainByCertificateRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainByCertificateRequest.h new file mode 100644 index 000000000..885fa26ec --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainByCertificateRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBYCERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBYCERTIFICATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainByCertificateRequest : public RpcServiceRequest { +public: + DescribeLiveDomainByCertificateRequest(); + ~DescribeLiveDomainByCertificateRequest(); + long getOwnerId() const; + void setOwnerId(long ownerId); + bool getSSLStatus() const; + void setSSLStatus(bool sSLStatus); + std::string getSSLPub() const; + void setSSLPub(const std::string &sSLPub); + +private: + long ownerId_; + bool sSLStatus_; + std::string sSLPub_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBYCERTIFICATEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainByCertificateResult.h b/live/include/alibabacloud/live/model/DescribeLiveDomainByCertificateResult.h new file mode 100644 index 000000000..b4f121cbb --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainByCertificateResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBYCERTIFICATERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBYCERTIFICATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainByCertificateResult : public ServiceResult + { + public: + struct CertInfo + { + std::string certExpired; + std::string certSubjectCommonName; + std::string issuer; + std::string certCaIsLegacy; + std::string certType; + std::string certExpireTime; + std::string domainList; + std::string certStartTime; + std::string domainNames; + }; + + + DescribeLiveDomainByCertificateResult(); + explicit DescribeLiveDomainByCertificateResult(const std::string &payload); + ~DescribeLiveDomainByCertificateResult(); + std::vector getCertInfos()const; + + protected: + void parse(const std::string &payload); + private: + std::vector certInfos_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBYCERTIFICATERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainMonitoringUsageDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainMonitoringUsageDataRequest.h new file mode 100644 index 000000000..b002ba35f --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainMonitoringUsageDataRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINMONITORINGUSAGEDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINMONITORINGUSAGEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainMonitoringUsageDataRequest : public RpcServiceRequest { +public: + DescribeLiveDomainMonitoringUsageDataRequest(); + ~DescribeLiveDomainMonitoringUsageDataRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getSplitBy() const; + void setSplitBy(const std::string &splitBy); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getInterval() const; + void setInterval(const std::string &interval); + std::string getRegion() const; + void setRegion(const std::string ®ion); + +private: + std::string startTime_; + std::string splitBy_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string instanceId_; + std::string interval_; + std::string region_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINMONITORINGUSAGEDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainMonitoringUsageDataResult.h b/live/include/alibabacloud/live/model/DescribeLiveDomainMonitoringUsageDataResult.h new file mode 100644 index 000000000..0579b637b --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainMonitoringUsageDataResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINMONITORINGUSAGEDATARESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINMONITORINGUSAGEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainMonitoringUsageDataResult : public ServiceResult + { + public: + struct MonitoringDataItem + { + std::string instanceId; + std::string domainName; + std::string region; + int duration; + std::string timeStamp; + std::string resolution; + }; + + + DescribeLiveDomainMonitoringUsageDataResult(); + explicit DescribeLiveDomainMonitoringUsageDataResult(const std::string &payload); + ~DescribeLiveDomainMonitoringUsageDataResult(); + std::vector getMonitoringData()const; + std::string getEndTime()const; + std::string getInstanceId()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::string getRegion()const; + + protected: + void parse(const std::string &payload); + private: + std::vector monitoringData_; + std::string endTime_; + std::string instanceId_; + std::string domainName_; + std::string startTime_; + std::string region_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINMONITORINGUSAGEDATARESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainStreamTranscodeDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainStreamTranscodeDataRequest.h index 93bc4dacd..be241d1f5 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveDomainStreamTranscodeDataRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainStreamTranscodeDataRequest.h @@ -30,6 +30,8 @@ class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainStreamTranscodeDataRequest : pu public: DescribeLiveDomainStreamTranscodeDataRequest(); ~DescribeLiveDomainStreamTranscodeDataRequest(); + std::string getPrecision() const; + void setPrecision(const std::string &precision); std::string getStartTime() const; void setStartTime(const std::string &startTime); std::string getSplit() const; @@ -44,6 +46,7 @@ public: void setInterval(const std::string &interval); private: + std::string precision_; std::string startTime_; std::string split_; std::string domainName_; diff --git a/live/include/alibabacloud/live/model/DescribeLiveGrtnDurationRequest.h b/live/include/alibabacloud/live/model/DescribeLiveGrtnDurationRequest.h new file mode 100644 index 000000000..b89d7d377 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveGrtnDurationRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEGRTNDURATIONREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEGRTNDURATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveGrtnDurationRequest : public RpcServiceRequest { +public: + DescribeLiveGrtnDurationRequest(); + ~DescribeLiveGrtnDurationRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getArea() const; + void setArea(const std::string &area); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getAppId() const; + void setAppId(const std::string &appId); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + std::string startTime_; + std::string area_; + std::string endTime_; + long ownerId_; + std::string appId_; + std::string interval_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEGRTNDURATIONREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveGrtnDurationResult.h b/live/include/alibabacloud/live/model/DescribeLiveGrtnDurationResult.h new file mode 100644 index 000000000..daaa00894 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveGrtnDurationResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEGRTNDURATIONRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEGRTNDURATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveGrtnDurationResult : public ServiceResult + { + public: + struct StreamData + { + std::string mediaProfile; + std::string appId; + std::string mediaType; + long duration; + std::string timeStamp; + }; + + + DescribeLiveGrtnDurationResult(); + explicit DescribeLiveGrtnDurationResult(const std::string &payload); + ~DescribeLiveGrtnDurationResult(); + std::vector getStreamDetailData()const; + + protected: + void parse(const std::string &payload); + private: + std::vector streamDetailData_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEGRTNDURATIONRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveHttpsDomainListRequest.h b/live/include/alibabacloud/live/model/DescribeLiveHttpsDomainListRequest.h new file mode 100644 index 000000000..ca391b975 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveHttpsDomainListRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEHTTPSDOMAINLISTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEHTTPSDOMAINLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveHttpsDomainListRequest : public RpcServiceRequest { +public: + DescribeLiveHttpsDomainListRequest(); + ~DescribeLiveHttpsDomainListRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getKeyword() const; + void setKeyword(const std::string &keyword); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + int pageNumber_; + int pageSize_; + std::string keyword_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEHTTPSDOMAINLISTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveHttpsDomainListResult.h b/live/include/alibabacloud/live/model/DescribeLiveHttpsDomainListResult.h new file mode 100644 index 000000000..369ae9559 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveHttpsDomainListResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEHTTPSDOMAINLISTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEHTTPSDOMAINLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveHttpsDomainListResult : public ServiceResult + { + public: + struct CertInfo + { + std::string certUpdateTime; + std::string certStatus; + std::string domainName; + std::string certType; + std::string certCommonName; + std::string certExpireTime; + std::string certName; + std::string certStartTime; + }; + + + DescribeLiveHttpsDomainListResult(); + explicit DescribeLiveHttpsDomainListResult(const std::string &payload); + ~DescribeLiveHttpsDomainListResult(); + std::vector getCertInfos()const; + int getTotalCount()const; + + protected: + void parse(const std::string &payload); + private: + std::vector certInfos_; + int totalCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEHTTPSDOMAINLISTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveIpInfoRequest.h b/live/include/alibabacloud/live/model/DescribeLiveIpInfoRequest.h new file mode 100644 index 000000000..fb3d800d6 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveIpInfoRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEIPINFOREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEIPINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveIpInfoRequest : public RpcServiceRequest { +public: + DescribeLiveIpInfoRequest(); + ~DescribeLiveIpInfoRequest(); + std::string getMethod() const; + void setMethod(const std::string &method); + std::string getIP() const; + void setIP(const std::string &iP); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string method_; + std::string iP_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEIPINFOREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveIpInfoResult.h b/live/include/alibabacloud/live/model/DescribeLiveIpInfoResult.h new file mode 100644 index 000000000..767329135 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveIpInfoResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEIPINFORESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEIPINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveIpInfoResult : public ServiceResult + { + public: + + + DescribeLiveIpInfoResult(); + explicit DescribeLiveIpInfoResult(const std::string &payload); + ~DescribeLiveIpInfoResult(); + std::string getISP()const; + std::string getRegion()const; + std::string getIspEname()const; + std::string getRegionEname()const; + + protected: + void parse(const std::string &payload); + private: + std::string iSP_; + std::string region_; + std::string ispEname_; + std::string regionEname_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEIPINFORESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h b/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h index f89998e81..f945394d0 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h @@ -35,6 +35,7 @@ namespace AlibabaCloud struct LiveLazyPullConfig { std::string pullArgs; + std::string transcodeLazy; std::string pullProtocol; std::string domainName; std::string pullAuthKey; diff --git a/live/include/alibabacloud/live/model/DescribeLivePackageConfigRequest.h b/live/include/alibabacloud/live/model/DescribeLivePackageConfigRequest.h new file mode 100644 index 000000000..54f42a1cf --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLivePackageConfigRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPACKAGECONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPACKAGECONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLivePackageConfigRequest : public RpcServiceRequest { +public: + DescribeLivePackageConfigRequest(); + ~DescribeLivePackageConfigRequest(); + int getPageNum() const; + void setPageNum(int pageNum); + std::string getAppName() const; + void setAppName(const std::string &appName); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getOrder() const; + void setOrder(const std::string &order); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + int pageNum_; + std::string appName_; + int pageSize_; + std::string streamName_; + std::string order_; + std::string domainName_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPACKAGECONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLivePackageConfigResult.h b/live/include/alibabacloud/live/model/DescribeLivePackageConfigResult.h new file mode 100644 index 000000000..3957daa40 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLivePackageConfigResult.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPACKAGECONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPACKAGECONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLivePackageConfigResult : public ServiceResult + { + public: + struct LivePackageConfig + { + bool ignoreTranscode; + std::string streamName; + std::string domainName; + int partDuration; + std::string protocol; + int segmentNum; + int segmentDuration; + std::string appName; + }; + + + DescribeLivePackageConfigResult(); + explicit DescribeLivePackageConfigResult(const std::string &payload); + ~DescribeLivePackageConfigResult(); + std::string getOrder()const; + int getTotalNum()const; + int getPageNum()const; + int getTotalPage()const; + int getPageSize()const; + std::vector getLivePackageConfigList()const; + + protected: + void parse(const std::string &payload); + private: + std::string order_; + int totalNum_; + int pageNum_; + int totalPage_; + int pageSize_; + std::vector livePackageConfigList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPACKAGECONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLivePushProxyLogRequest.h b/live/include/alibabacloud/live/model/DescribeLivePushProxyLogRequest.h new file mode 100644 index 000000000..6ce6ba9e7 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLivePushProxyLogRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPUSHPROXYLOGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPUSHPROXYLOGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLivePushProxyLogRequest : public RpcServiceRequest { +public: + DescribeLivePushProxyLogRequest(); + ~DescribeLivePushProxyLogRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + long getPageNumber() const; + void setPageNumber(long pageNumber); + std::string getLogType() const; + void setLogType(const std::string &logType); + long getPageSize() const; + void setPageSize(long pageSize); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string startTime_; + long pageNumber_; + std::string logType_; + long pageSize_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPUSHPROXYLOGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLivePushProxyLogResult.h b/live/include/alibabacloud/live/model/DescribeLivePushProxyLogResult.h new file mode 100644 index 000000000..3d2570b26 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLivePushProxyLogResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPUSHPROXYLOGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPUSHPROXYLOGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLivePushProxyLogResult : public ServiceResult + { + public: + struct DomainLogDetail + { + struct PageInfos + { + long pageSize; + long total; + long pageIndex; + }; + struct LogInfoDetail + { + long logSize; + std::string endTime; + std::string startTime; + std::string logName; + std::string logPath; + }; + std::vector logInfos; + PageInfos pageInfos; + long logCount; + }; + + + DescribeLivePushProxyLogResult(); + explicit DescribeLivePushProxyLogResult(const std::string &payload); + ~DescribeLivePushProxyLogResult(); + std::string getDomainName()const; + std::vector getDomainLogDetails()const; + + protected: + void parse(const std::string &payload); + private: + std::string domainName_; + std::vector domainLogDetails_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPUSHPROXYLOGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLivePushProxyUsageDataRequest.h b/live/include/alibabacloud/live/model/DescribeLivePushProxyUsageDataRequest.h new file mode 100644 index 000000000..864538a00 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLivePushProxyUsageDataRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPUSHPROXYUSAGEDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPUSHPROXYUSAGEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLivePushProxyUsageDataRequest : public RpcServiceRequest { +public: + DescribeLivePushProxyUsageDataRequest(); + ~DescribeLivePushProxyUsageDataRequest(); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getSplitBy() const; + void setSplitBy(const std::string &splitBy); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getRegion() const; + void setRegion(const std::string ®ion); + +private: + std::string startTime_; + std::string splitBy_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string region_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPUSHPROXYUSAGEDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLivePushProxyUsageDataResult.h b/live/include/alibabacloud/live/model/DescribeLivePushProxyUsageDataResult.h new file mode 100644 index 000000000..554e062c0 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLivePushProxyUsageDataResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPUSHPROXYUSAGEDATARESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPUSHPROXYUSAGEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLivePushProxyUsageDataResult : public ServiceResult + { + public: + struct PushProxyDataItem + { + long streamCount; + std::string domainName; + std::string region; + std::string timeStamp; + }; + + + DescribeLivePushProxyUsageDataResult(); + explicit DescribeLivePushProxyUsageDataResult(const std::string &payload); + ~DescribeLivePushProxyUsageDataResult(); + std::string getEndTime()const; + std::string getStartTime()const; + std::vector getPushProxyData()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::string startTime_; + std::vector pushProxyData_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEPUSHPROXYUSAGEDATARESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamMonitorListResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamMonitorListResult.h index 543f2a234..daa66b751 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamMonitorListResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamMonitorListResult.h @@ -61,11 +61,13 @@ namespace AlibabaCloud }; int status; OutputUrls outputUrls; - std::string outputTemplate; int audioFrom; std::vector inputList; - std::string startTime; std::string monitorName; + std::string startTime; + std::string callbackUrl; + std::string outputTemplate; + std::string dingTalkWebHookUrl; std::string region; std::string domain; std::string monitorId; diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamPushMetricDetailDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamPushMetricDetailDataRequest.h new file mode 100644 index 000000000..b59144404 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamPushMetricDetailDataRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMPUSHMETRICDETAILDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMPUSHMETRICDETAILDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamPushMetricDetailDataRequest : public RpcServiceRequest { +public: + DescribeLiveStreamPushMetricDetailDataRequest(); + ~DescribeLiveStreamPushMetricDetailDataRequest(); + std::string getNextPageToken() const; + void setNextPageToken(const std::string &nextPageToken); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string nextPageToken_; + std::string startTime_; + std::string appName_; + std::string streamName_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMPUSHMETRICDETAILDATAREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamPushMetricDetailDataResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamPushMetricDetailDataResult.h new file mode 100644 index 000000000..4fa987eca --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamPushMetricDetailDataResult.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMPUSHMETRICDETAILDATARESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMPUSHMETRICDETAILDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamPushMetricDetailDataResult : public ServiceResult + { + public: + struct StreamData + { + std::string streamName; + float reqBps; + long reqTraffic; + std::string timeStamp; + std::string appName; + }; + + + DescribeLiveStreamPushMetricDetailDataResult(); + explicit DescribeLiveStreamPushMetricDetailDataResult(const std::string &payload); + ~DescribeLiveStreamPushMetricDetailDataResult(); + std::string getEndTime()const; + int getPageSize()const; + std::string getDomainName()const; + std::string getNextPageToken()const; + std::string getStartTime()const; + std::vector getStreamDetailData()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + int pageSize_; + std::string domainName_; + std::string nextPageToken_; + std::string startTime_; + std::vector streamDetailData_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMPUSHMETRICDETAILDATARESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsTotalCountRequest.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsTotalCountRequest.h new file mode 100644 index 000000000..87aae3b58 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsTotalCountRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSTOTALCOUNTREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSTOTALCOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsTotalCountRequest : public RpcServiceRequest { +public: + DescribeLiveStreamsTotalCountRequest(); + ~DescribeLiveStreamsTotalCountRequest(); + std::string getTyp() const; + void setTyp(const std::string &typ); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string typ_; + std::string startTime_; + std::string domainName_; + std::string endTime_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSTOTALCOUNTREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsTotalCountResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsTotalCountResult.h new file mode 100644 index 000000000..e7eff04cb --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsTotalCountResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSTOTALCOUNTRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSTOTALCOUNTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamsTotalCountResult : public ServiceResult + { + public: + struct StreamCountInfos + { + int count; + std::string timestamp; + }; + + + DescribeLiveStreamsTotalCountResult(); + explicit DescribeLiveStreamsTotalCountResult(const std::string &payload); + ~DescribeLiveStreamsTotalCountResult(); + std::vector getStreamCountList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector streamCountList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMSTOTALCOUNTRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/GetEdgeTranscodeJobRequest.h b/live/include/alibabacloud/live/model/GetEdgeTranscodeJobRequest.h new file mode 100644 index 000000000..05d341ba8 --- /dev/null +++ b/live/include/alibabacloud/live/model/GetEdgeTranscodeJobRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_GETEDGETRANSCODEJOBREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_GETEDGETRANSCODEJOBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT GetEdgeTranscodeJobRequest : public RpcServiceRequest { +public: + GetEdgeTranscodeJobRequest(); + ~GetEdgeTranscodeJobRequest(); + std::string getJobId() const; + void setJobId(const std::string &jobId); + std::string getClusterId() const; + void setClusterId(const std::string &clusterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string jobId_; + std::string clusterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_GETEDGETRANSCODEJOBREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/GetEdgeTranscodeJobResult.h b/live/include/alibabacloud/live/model/GetEdgeTranscodeJobResult.h new file mode 100644 index 000000000..e0921c757 --- /dev/null +++ b/live/include/alibabacloud/live/model/GetEdgeTranscodeJobResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_GETEDGETRANSCODEJOBRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_GETEDGETRANSCODEJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT GetEdgeTranscodeJobResult : public ServiceResult + { + public: + struct Job + { + std::string status; + std::string type; + std::string lastStopAt; + std::string createTime; + std::string streamInput; + std::string templateName; + std::string streamOutput; + std::string lastStartAt; + std::string jobId; + std::string templateId; + std::string name; + }; + + + GetEdgeTranscodeJobResult(); + explicit GetEdgeTranscodeJobResult(const std::string &payload); + ~GetEdgeTranscodeJobResult(); + Job getJob()const; + + protected: + void parse(const std::string &payload); + private: + Job job_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_GETEDGETRANSCODEJOBRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/GetEdgeTranscodeTemplateRequest.h b/live/include/alibabacloud/live/model/GetEdgeTranscodeTemplateRequest.h new file mode 100644 index 000000000..d51e65246 --- /dev/null +++ b/live/include/alibabacloud/live/model/GetEdgeTranscodeTemplateRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_GETEDGETRANSCODETEMPLATEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_GETEDGETRANSCODETEMPLATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT GetEdgeTranscodeTemplateRequest : public RpcServiceRequest { +public: + GetEdgeTranscodeTemplateRequest(); + ~GetEdgeTranscodeTemplateRequest(); + std::string getClusterId() const; + void setClusterId(const std::string &clusterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getTemplateId() const; + void setTemplateId(const std::string &templateId); + +private: + std::string clusterId_; + long ownerId_; + std::string templateId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_GETEDGETRANSCODETEMPLATEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/GetEdgeTranscodeTemplateResult.h b/live/include/alibabacloud/live/model/GetEdgeTranscodeTemplateResult.h new file mode 100644 index 000000000..be4e0ea97 --- /dev/null +++ b/live/include/alibabacloud/live/model/GetEdgeTranscodeTemplateResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_GETEDGETRANSCODETEMPLATERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_GETEDGETRANSCODETEMPLATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT GetEdgeTranscodeTemplateResult : public ServiceResult + { + public: + struct _Template + { + std::string type; + std::string codec; + std::string createTime; + std::string fps; + std::string gop; + std::string bitrate; + std::string templateId; + std::string name; + std::string resolution; + }; + + + GetEdgeTranscodeTemplateResult(); + explicit GetEdgeTranscodeTemplateResult(const std::string &payload); + ~GetEdgeTranscodeTemplateResult(); + _Template get_Template()const; + + protected: + void parse(const std::string &payload); + private: + _Template _template_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_GETEDGETRANSCODETEMPLATERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ListEdgeTranscodeJobRequest.h b/live/include/alibabacloud/live/model/ListEdgeTranscodeJobRequest.h new file mode 100644 index 000000000..90a90f755 --- /dev/null +++ b/live/include/alibabacloud/live/model/ListEdgeTranscodeJobRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_LISTEDGETRANSCODEJOBREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_LISTEDGETRANSCODEJOBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT ListEdgeTranscodeJobRequest : public RpcServiceRequest { +public: + ListEdgeTranscodeJobRequest(); + ~ListEdgeTranscodeJobRequest(); + std::string getType() const; + void setType(const std::string &type); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getKeyword() const; + void setKeyword(const std::string &keyword); + std::string getClusterId() const; + void setClusterId(const std::string &clusterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + int getPageNo() const; + void setPageNo(int pageNo); + std::string getSortBy() const; + void setSortBy(const std::string &sortBy); + int getStatus() const; + void setStatus(int status); + +private: + std::string type_; + int pageSize_; + std::string keyword_; + std::string clusterId_; + long ownerId_; + int pageNo_; + std::string sortBy_; + int status_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_LISTEDGETRANSCODEJOBREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/ListEdgeTranscodeJobResult.h b/live/include/alibabacloud/live/model/ListEdgeTranscodeJobResult.h new file mode 100644 index 000000000..f312c363d --- /dev/null +++ b/live/include/alibabacloud/live/model/ListEdgeTranscodeJobResult.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_LISTEDGETRANSCODEJOBRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_LISTEDGETRANSCODEJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ListEdgeTranscodeJobResult : public ServiceResult + { + public: + struct Job + { + std::string status; + std::string type; + std::string lastStopAt; + std::string createTime; + std::string streamInput; + std::string templateName; + std::string streamOutput; + std::string lastStartAt; + std::string jobId; + std::string templateId; + std::string name; + }; + + + ListEdgeTranscodeJobResult(); + explicit ListEdgeTranscodeJobResult(const std::string &payload); + ~ListEdgeTranscodeJobResult(); + int getTotalCount()const; + std::vector getJobList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector jobList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_LISTEDGETRANSCODEJOBRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/ListEdgeTranscodeTemplateRequest.h b/live/include/alibabacloud/live/model/ListEdgeTranscodeTemplateRequest.h new file mode 100644 index 000000000..a77009da3 --- /dev/null +++ b/live/include/alibabacloud/live/model/ListEdgeTranscodeTemplateRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_LISTEDGETRANSCODETEMPLATEREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_LISTEDGETRANSCODETEMPLATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT ListEdgeTranscodeTemplateRequest : public RpcServiceRequest { +public: + ListEdgeTranscodeTemplateRequest(); + ~ListEdgeTranscodeTemplateRequest(); + std::string getType() const; + void setType(const std::string &type); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getKeyword() const; + void setKeyword(const std::string &keyword); + std::string getClusterId() const; + void setClusterId(const std::string &clusterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + int getPageNo() const; + void setPageNo(int pageNo); + std::string getSortBy() const; + void setSortBy(const std::string &sortBy); + std::string getVideoCodec() const; + void setVideoCodec(const std::string &videoCodec); + +private: + std::string type_; + int pageSize_; + std::string keyword_; + std::string clusterId_; + long ownerId_; + int pageNo_; + std::string sortBy_; + std::string videoCodec_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_LISTEDGETRANSCODETEMPLATEREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/ListEdgeTranscodeTemplateResult.h b/live/include/alibabacloud/live/model/ListEdgeTranscodeTemplateResult.h new file mode 100644 index 000000000..3696146f9 --- /dev/null +++ b/live/include/alibabacloud/live/model/ListEdgeTranscodeTemplateResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_LISTEDGETRANSCODETEMPLATERESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_LISTEDGETRANSCODETEMPLATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT ListEdgeTranscodeTemplateResult : public ServiceResult + { + public: + struct _Template + { + std::string type; + std::string codec; + std::string createTime; + std::string fps; + std::string gop; + std::string bitrate; + std::string templateId; + std::string name; + std::string resolution; + }; + + + ListEdgeTranscodeTemplateResult(); + explicit ListEdgeTranscodeTemplateResult(const std::string &payload); + ~ListEdgeTranscodeTemplateResult(); + int getTotalCount()const; + std::vector<_Template> getTemplateList()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector<_Template> templateList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_LISTEDGETRANSCODETEMPLATERESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigRequest.h b/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigRequest.h index 4b8651a3e..d02e5be95 100644 --- a/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigRequest.h +++ b/live/include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigRequest.h @@ -48,6 +48,8 @@ public: void setOwnerId(long ownerId); std::string getPullAppName() const; void setPullAppName(const std::string &pullAppName); + std::string getTranscodeLazy() const; + void setTranscodeLazy(const std::string &transcodeLazy); std::string getPullProtocol() const; void setPullProtocol(const std::string &pullProtocol); @@ -61,6 +63,7 @@ private: std::string pullDomainName_; long ownerId_; std::string pullAppName_; + std::string transcodeLazy_; std::string pullProtocol_; }; } // namespace Model diff --git a/live/include/alibabacloud/live/model/StartEdgeTranscodeJobRequest.h b/live/include/alibabacloud/live/model/StartEdgeTranscodeJobRequest.h new file mode 100644 index 000000000..0e259d925 --- /dev/null +++ b/live/include/alibabacloud/live/model/StartEdgeTranscodeJobRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STARTEDGETRANSCODEJOBREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STARTEDGETRANSCODEJOBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT StartEdgeTranscodeJobRequest : public RpcServiceRequest { +public: + StartEdgeTranscodeJobRequest(); + ~StartEdgeTranscodeJobRequest(); + std::string getJobId() const; + void setJobId(const std::string &jobId); + std::string getClusterId() const; + void setClusterId(const std::string &clusterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string jobId_; + std::string clusterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_STARTEDGETRANSCODEJOBREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/StartEdgeTranscodeJobResult.h b/live/include/alibabacloud/live/model/StartEdgeTranscodeJobResult.h new file mode 100644 index 000000000..86509b34f --- /dev/null +++ b/live/include/alibabacloud/live/model/StartEdgeTranscodeJobResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STARTEDGETRANSCODEJOBRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_STARTEDGETRANSCODEJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StartEdgeTranscodeJobResult : public ServiceResult + { + public: + + + StartEdgeTranscodeJobResult(); + explicit StartEdgeTranscodeJobResult(const std::string &payload); + ~StartEdgeTranscodeJobResult(); + std::string getJobId()const; + + protected: + void parse(const std::string &payload); + private: + std::string jobId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STARTEDGETRANSCODEJOBRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StartLiveMPUTaskRequest.h b/live/include/alibabacloud/live/model/StartLiveMPUTaskRequest.h new file mode 100644 index 000000000..c6c4db232 --- /dev/null +++ b/live/include/alibabacloud/live/model/StartLiveMPUTaskRequest.h @@ -0,0 +1,133 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STARTLIVEMPUTASKREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STARTLIVEMPUTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT StartLiveMPUTaskRequest : public RpcServiceRequest { +public: + struct SingleSubParams { + std::string streamType; + std::string sourceType; + std::string userId; + }; + struct SeiParams { + struct LayoutVolume { + std::string followIdr; + std::string payloadType; + std::string interval; + }; + LayoutVolume layoutVolume; + struct PassThrough { + std::string followIdr; + std::string payloadType; + std::string payloadContent; + std::string interval; + }; + PassThrough passThrough; + }; + struct TranscodeParams { + struct Layout { + struct UserPanesItem { + std::string backgroundImageUrl; + std::string zOrder; + std::string x; + std::string width; + std::string y; + struct UserInfo { + std::string sourceType; + std::string userId; + }; + UserInfo userInfo; + std::string renderMode; + std::string height; + }; + UserPanesItem userPanesItem; + std::vector userPanes; + std::string layoutMode; + struct MaxVideoUser { + std::string streamType; + std::string sourceType; + std::string userId; + }; + MaxVideoUser maxVideoUser; + }; + Layout layout; + struct UserInfosItem { + std::string streamType; + std::string sourceType; + std::string userId; + }; + UserInfosItem userInfosItem; + std::vector userInfos; + struct EncodeParams { + std::string audioOnly; + std::string videoWidth; + std::string audioBitrate; + std::string videoFramerate; + std::string vIdeoHeight; + std::string videoBitrate; + std::string audioSampleRate; + std::string videoGop; + std::string audioChannels; + }; + EncodeParams encodeParams; + }; + StartLiveMPUTaskRequest(); + ~StartLiveMPUTaskRequest(); + SingleSubParams getSingleSubParams() const; + void setSingleSubParams(const SingleSubParams &singleSubParams); + SeiParams getSeiParams() const; + void setSeiParams(const SeiParams &seiParams); + TranscodeParams getTranscodeParams() const; + void setTranscodeParams(const TranscodeParams &transcodeParams); + std::string getAppId() const; + void setAppId(const std::string &appId); + std::string getRegion() const; + void setRegion(const std::string ®ion); + std::string getMixMode() const; + void setMixMode(const std::string &mixMode); + std::string getChannelId() const; + void setChannelId(const std::string &channelId); + std::string getTaskId() const; + void setTaskId(const std::string &taskId); + std::string getStreamURL() const; + void setStreamURL(const std::string &streamURL); + +private: + SingleSubParams singleSubParams_; + SeiParams seiParams_; + TranscodeParams transcodeParams_; + std::string appId_; + std::string region_; + std::string mixMode_; + std::string channelId_; + std::string taskId_; + std::string streamURL_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_STARTLIVEMPUTASKREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/StartLiveMPUTaskResult.h b/live/include/alibabacloud/live/model/StartLiveMPUTaskResult.h new file mode 100644 index 000000000..d8e9eda81 --- /dev/null +++ b/live/include/alibabacloud/live/model/StartLiveMPUTaskResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STARTLIVEMPUTASKRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_STARTLIVEMPUTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StartLiveMPUTaskResult : public ServiceResult + { + public: + + + StartLiveMPUTaskResult(); + explicit StartLiveMPUTaskResult(const std::string &payload); + ~StartLiveMPUTaskResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STARTLIVEMPUTASKRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StopEdgeTranscodeJobRequest.h b/live/include/alibabacloud/live/model/StopEdgeTranscodeJobRequest.h new file mode 100644 index 000000000..d87b7b8c5 --- /dev/null +++ b/live/include/alibabacloud/live/model/StopEdgeTranscodeJobRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STOPEDGETRANSCODEJOBREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STOPEDGETRANSCODEJOBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT StopEdgeTranscodeJobRequest : public RpcServiceRequest { +public: + StopEdgeTranscodeJobRequest(); + ~StopEdgeTranscodeJobRequest(); + std::string getJobId() const; + void setJobId(const std::string &jobId); + std::string getClusterId() const; + void setClusterId(const std::string &clusterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + +private: + std::string jobId_; + std::string clusterId_; + long ownerId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_STOPEDGETRANSCODEJOBREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/StopEdgeTranscodeJobResult.h b/live/include/alibabacloud/live/model/StopEdgeTranscodeJobResult.h new file mode 100644 index 000000000..132975ec6 --- /dev/null +++ b/live/include/alibabacloud/live/model/StopEdgeTranscodeJobResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STOPEDGETRANSCODEJOBRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_STOPEDGETRANSCODEJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StopEdgeTranscodeJobResult : public ServiceResult + { + public: + + + StopEdgeTranscodeJobResult(); + explicit StopEdgeTranscodeJobResult(const std::string &payload); + ~StopEdgeTranscodeJobResult(); + std::string getJobId()const; + + protected: + void parse(const std::string &payload); + private: + std::string jobId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STOPEDGETRANSCODEJOBRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/StopLiveMPUTaskRequest.h b/live/include/alibabacloud/live/model/StopLiveMPUTaskRequest.h new file mode 100644 index 000000000..df7da0e84 --- /dev/null +++ b/live/include/alibabacloud/live/model/StopLiveMPUTaskRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STOPLIVEMPUTASKREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_STOPLIVEMPUTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT StopLiveMPUTaskRequest : public RpcServiceRequest { +public: + StopLiveMPUTaskRequest(); + ~StopLiveMPUTaskRequest(); + std::string getAppId() const; + void setAppId(const std::string &appId); + std::string getTaskId() const; + void setTaskId(const std::string &taskId); + +private: + std::string appId_; + std::string taskId_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_STOPLIVEMPUTASKREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/StopLiveMPUTaskResult.h b/live/include/alibabacloud/live/model/StopLiveMPUTaskResult.h new file mode 100644 index 000000000..ccb8a6b0b --- /dev/null +++ b/live/include/alibabacloud/live/model/StopLiveMPUTaskResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_STOPLIVEMPUTASKRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_STOPLIVEMPUTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT StopLiveMPUTaskResult : public ServiceResult + { + public: + + + StopLiveMPUTaskResult(); + explicit StopLiveMPUTaskResult(const std::string &payload); + ~StopLiveMPUTaskResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_STOPLIVEMPUTASKRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateEdgeTranscodeJobRequest.h b/live/include/alibabacloud/live/model/UpdateEdgeTranscodeJobRequest.h new file mode 100644 index 000000000..59ce6a78a --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateEdgeTranscodeJobRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATEEDGETRANSCODEJOBREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATEEDGETRANSCODEJOBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT UpdateEdgeTranscodeJobRequest : public RpcServiceRequest { +public: + UpdateEdgeTranscodeJobRequest(); + ~UpdateEdgeTranscodeJobRequest(); + std::string getStreamInput() const; + void setStreamInput(const std::string &streamInput); + std::string getStreamOutput() const; + void setStreamOutput(const std::string &streamOutput); + std::string getJobId() const; + void setJobId(const std::string &jobId); + std::string getClusterId() const; + void setClusterId(const std::string &clusterId); + long getOwnerId() const; + void setOwnerId(long ownerId); + std::string getTemplateId() const; + void setTemplateId(const std::string &templateId); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string streamInput_; + std::string streamOutput_; + std::string jobId_; + std::string clusterId_; + long ownerId_; + std::string templateId_; + std::string name_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATEEDGETRANSCODEJOBREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/UpdateEdgeTranscodeJobResult.h b/live/include/alibabacloud/live/model/UpdateEdgeTranscodeJobResult.h new file mode 100644 index 000000000..196bd05dc --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateEdgeTranscodeJobResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATEEDGETRANSCODEJOBRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATEEDGETRANSCODEJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateEdgeTranscodeJobResult : public ServiceResult + { + public: + + + UpdateEdgeTranscodeJobResult(); + explicit UpdateEdgeTranscodeJobResult(const std::string &payload); + ~UpdateEdgeTranscodeJobResult(); + std::string getJobId()const; + + protected: + void parse(const std::string &payload); + private: + std::string jobId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATEEDGETRANSCODEJOBRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateLiveMPUTaskRequest.h b/live/include/alibabacloud/live/model/UpdateLiveMPUTaskRequest.h new file mode 100644 index 000000000..20be81902 --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateLiveMPUTaskRequest.h @@ -0,0 +1,130 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVEMPUTASKREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEMPUTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT UpdateLiveMPUTaskRequest : public RpcServiceRequest { +public: + struct SingleSubParams { + std::string streamType; + std::string sourceType; + std::string userId; + }; + struct SeiParams { + struct LayoutVolume { + std::string followIdr; + std::string payloadType; + std::string interval; + }; + LayoutVolume layoutVolume; + struct PassThrough { + std::string followIdr; + std::string payloadType; + std::string payloadContent; + std::string interval; + }; + PassThrough passThrough; + }; + struct TranscodeParams { + struct Layout { + struct UserPanesItem { + std::string backgroundImageUrl; + std::string zOrder; + std::string x; + std::string width; + std::string y; + struct UserInfo { + std::string sourceType; + std::string userId; + }; + UserInfo userInfo; + std::string renderMode; + std::string height; + }; + UserPanesItem userPanesItem; + std::vector userPanes; + std::string layoutMode; + struct MaxVideoUser { + std::string streamType; + std::string sourceType; + std::string userId; + }; + MaxVideoUser maxVideoUser; + }; + Layout layout; + struct UserInfosItem { + std::string streamType; + std::string sourceType; + std::string userId; + }; + UserInfosItem userInfosItem; + std::vector userInfos; + struct EncodeParams { + std::string audioOnly; + std::string vIdeoWidth; + std::string audioBitrate; + std::string videoFramerate; + std::string vIdeoHeight; + std::string videoBitrate; + std::string audioSampleRate; + std::string videoGop; + std::string audioChannels; + }; + EncodeParams encodeParams; + }; + UpdateLiveMPUTaskRequest(); + ~UpdateLiveMPUTaskRequest(); + SingleSubParams getSingleSubParams() const; + void setSingleSubParams(const SingleSubParams &singleSubParams); + SeiParams getSeiParams() const; + void setSeiParams(const SeiParams &seiParams); + TranscodeParams getTranscodeParams() const; + void setTranscodeParams(const TranscodeParams &transcodeParams); + std::string getAppId() const; + void setAppId(const std::string &appId); + std::string getMixMode() const; + void setMixMode(const std::string &mixMode); + std::string getChannelId() const; + void setChannelId(const std::string &channelId); + std::string getTaskId() const; + void setTaskId(const std::string &taskId); + std::string getStreamURL() const; + void setStreamURL(const std::string &streamURL); + +private: + SingleSubParams singleSubParams_; + SeiParams seiParams_; + TranscodeParams transcodeParams_; + std::string appId_; + std::string mixMode_; + std::string channelId_; + std::string taskId_; + std::string streamURL_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVEMPUTASKREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/UpdateLiveMPUTaskResult.h b/live/include/alibabacloud/live/model/UpdateLiveMPUTaskResult.h new file mode 100644 index 000000000..b7973343d --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateLiveMPUTaskResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVEMPUTASKRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEMPUTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateLiveMPUTaskResult : public ServiceResult + { + public: + + + UpdateLiveMPUTaskResult(); + explicit UpdateLiveMPUTaskResult(const std::string &payload); + ~UpdateLiveMPUTaskResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVEMPUTASKRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateLivePackageConfigRequest.h b/live/include/alibabacloud/live/model/UpdateLivePackageConfigRequest.h new file mode 100644 index 000000000..99b481338 --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateLivePackageConfigRequest.h @@ -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_UPDATELIVEPACKAGECONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEPACKAGECONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Live { +namespace Model { +class ALIBABACLOUD_LIVE_EXPORT UpdateLivePackageConfigRequest : public RpcServiceRequest { +public: + UpdateLivePackageConfigRequest(); + ~UpdateLivePackageConfigRequest(); + int getSegmentNum() const; + void setSegmentNum(int segmentNum); + std::string getProtocol() const; + void setProtocol(const std::string &protocol); + std::string getAppName() const; + void setAppName(const std::string &appName); + int getPartDuration() const; + void setPartDuration(int partDuration); + std::string getStreamName() const; + void setStreamName(const std::string &streamName); + bool getIgnoreTranscode() const; + void setIgnoreTranscode(bool ignoreTranscode); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + long getOwnerId() const; + void setOwnerId(long ownerId); + int getSegmentDuration() const; + void setSegmentDuration(int segmentDuration); + +private: + int segmentNum_; + std::string protocol_; + std::string appName_; + int partDuration_; + std::string streamName_; + bool ignoreTranscode_; + std::string domainName_; + long ownerId_; + int segmentDuration_; +}; +} // namespace Model +} // namespace Live +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVEPACKAGECONFIGREQUEST_H_ diff --git a/live/include/alibabacloud/live/model/UpdateLivePackageConfigResult.h b/live/include/alibabacloud/live/model/UpdateLivePackageConfigResult.h new file mode 100644 index 000000000..daebda34c --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateLivePackageConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_LIVE_MODEL_UPDATELIVEPACKAGECONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEPACKAGECONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateLivePackageConfigResult : public ServiceResult + { + public: + + + UpdateLivePackageConfigResult(); + explicit UpdateLivePackageConfigResult(const std::string &payload); + ~UpdateLivePackageConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVEPACKAGECONFIGRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateLiveStreamMonitorRequest.h b/live/include/alibabacloud/live/model/UpdateLiveStreamMonitorRequest.h index efb4b5a0d..1cc7dbe0f 100644 --- a/live/include/alibabacloud/live/model/UpdateLiveStreamMonitorRequest.h +++ b/live/include/alibabacloud/live/model/UpdateLiveStreamMonitorRequest.h @@ -44,10 +44,14 @@ public: void setApp(const std::string &app); std::string getInputList() const; void setInputList(const std::string &inputList); + std::string getDingTalkWebHookUrl() const; + void setDingTalkWebHookUrl(const std::string &dingTalkWebHookUrl); long getOwnerId() const; void setOwnerId(long ownerId); std::string getDomain() const; void setDomain(const std::string &domain); + std::string getCallbackUrl() const; + void setCallbackUrl(const std::string &callbackUrl); private: std::string monitorId_; @@ -57,8 +61,10 @@ private: std::string outputTemplate_; std::string app_; std::string inputList_; + std::string dingTalkWebHookUrl_; long ownerId_; std::string domain_; + std::string callbackUrl_; }; } // namespace Model } // namespace Live diff --git a/live/src/LiveClient.cc b/live/src/LiveClient.cc index 573923b39..4b2ec0b6b 100644 --- a/live/src/LiveClient.cc +++ b/live/src/LiveClient.cc @@ -663,6 +663,42 @@ LiveClient::AddLiveDomainPlayMappingOutcomeCallable LiveClient::addLiveDomainPla return task->get_future(); } +LiveClient::AddLivePackageConfigOutcome LiveClient::addLivePackageConfig(const AddLivePackageConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddLivePackageConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddLivePackageConfigOutcome(AddLivePackageConfigResult(outcome.result())); + else + return AddLivePackageConfigOutcome(outcome.error()); +} + +void LiveClient::addLivePackageConfigAsync(const AddLivePackageConfigRequest& request, const AddLivePackageConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addLivePackageConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddLivePackageConfigOutcomeCallable LiveClient::addLivePackageConfigCallable(const AddLivePackageConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addLivePackageConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::AddLivePullStreamInfoConfigOutcome LiveClient::addLivePullStreamInfoConfig(const AddLivePullStreamInfoConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -843,6 +879,42 @@ LiveClient::AddLiveSnapshotNotifyConfigOutcomeCallable LiveClient::addLiveSnapsh return task->get_future(); } +LiveClient::AddLiveStreamMergeOutcome LiveClient::addLiveStreamMerge(const AddLiveStreamMergeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddLiveStreamMergeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddLiveStreamMergeOutcome(AddLiveStreamMergeResult(outcome.result())); + else + return AddLiveStreamMergeOutcome(outcome.error()); +} + +void LiveClient::addLiveStreamMergeAsync(const AddLiveStreamMergeRequest& request, const AddLiveStreamMergeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addLiveStreamMerge(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::AddLiveStreamMergeOutcomeCallable LiveClient::addLiveStreamMergeCallable(const AddLiveStreamMergeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addLiveStreamMerge(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::AddLiveStreamTranscodeOutcome LiveClient::addLiveStreamTranscode(const AddLiveStreamTranscodeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1563,6 +1635,42 @@ LiveClient::CreateCustomTemplateOutcomeCallable LiveClient::createCustomTemplate return task->get_future(); } +LiveClient::CreateEdgeTranscodeJobOutcome LiveClient::createEdgeTranscodeJob(const CreateEdgeTranscodeJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateEdgeTranscodeJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateEdgeTranscodeJobOutcome(CreateEdgeTranscodeJobResult(outcome.result())); + else + return CreateEdgeTranscodeJobOutcome(outcome.error()); +} + +void LiveClient::createEdgeTranscodeJobAsync(const CreateEdgeTranscodeJobRequest& request, const CreateEdgeTranscodeJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createEdgeTranscodeJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::CreateEdgeTranscodeJobOutcomeCallable LiveClient::createEdgeTranscodeJobCallable(const CreateEdgeTranscodeJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createEdgeTranscodeJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::CreateEventSubOutcome LiveClient::createEventSub(const CreateEventSubRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2175,6 +2283,42 @@ LiveClient::DeleteCasterVideoResourceOutcomeCallable LiveClient::deleteCasterVid return task->get_future(); } +LiveClient::DeleteChannelOutcome LiveClient::deleteChannel(const DeleteChannelRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteChannelOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteChannelOutcome(DeleteChannelResult(outcome.result())); + else + return DeleteChannelOutcome(outcome.error()); +} + +void LiveClient::deleteChannelAsync(const DeleteChannelRequest& request, const DeleteChannelAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteChannel(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteChannelOutcomeCallable LiveClient::deleteChannelCallable(const DeleteChannelRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteChannel(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DeleteCustomTemplateOutcome LiveClient::deleteCustomTemplate(const DeleteCustomTemplateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2211,6 +2355,42 @@ LiveClient::DeleteCustomTemplateOutcomeCallable LiveClient::deleteCustomTemplate return task->get_future(); } +LiveClient::DeleteEdgeTranscodeJobOutcome LiveClient::deleteEdgeTranscodeJob(const DeleteEdgeTranscodeJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteEdgeTranscodeJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteEdgeTranscodeJobOutcome(DeleteEdgeTranscodeJobResult(outcome.result())); + else + return DeleteEdgeTranscodeJobOutcome(outcome.error()); +} + +void LiveClient::deleteEdgeTranscodeJobAsync(const DeleteEdgeTranscodeJobRequest& request, const DeleteEdgeTranscodeJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteEdgeTranscodeJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteEdgeTranscodeJobOutcomeCallable LiveClient::deleteEdgeTranscodeJobCallable(const DeleteEdgeTranscodeJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteEdgeTranscodeJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DeleteEventSubOutcome LiveClient::deleteEventSub(const DeleteEventSubRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2679,6 +2859,42 @@ LiveClient::DeleteLiveLazyPullStreamInfoConfigOutcomeCallable LiveClient::delete return task->get_future(); } +LiveClient::DeleteLivePackageConfigOutcome LiveClient::deleteLivePackageConfig(const DeleteLivePackageConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLivePackageConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLivePackageConfigOutcome(DeleteLivePackageConfigResult(outcome.result())); + else + return DeleteLivePackageConfigOutcome(outcome.error()); +} + +void LiveClient::deleteLivePackageConfigAsync(const DeleteLivePackageConfigRequest& request, const DeleteLivePackageConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLivePackageConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteLivePackageConfigOutcomeCallable LiveClient::deleteLivePackageConfigCallable(const DeleteLivePackageConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLivePackageConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DeleteLivePullStreamInfoConfigOutcome LiveClient::deleteLivePullStreamInfoConfig(const DeleteLivePullStreamInfoConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3003,6 +3219,42 @@ LiveClient::DeleteLiveStreamBlockOutcomeCallable LiveClient::deleteLiveStreamBlo return task->get_future(); } +LiveClient::DeleteLiveStreamMergeOutcome LiveClient::deleteLiveStreamMerge(const DeleteLiveStreamMergeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLiveStreamMergeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLiveStreamMergeOutcome(DeleteLiveStreamMergeResult(outcome.result())); + else + return DeleteLiveStreamMergeOutcome(outcome.error()); +} + +void LiveClient::deleteLiveStreamMergeAsync(const DeleteLiveStreamMergeRequest& request, const DeleteLiveStreamMergeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLiveStreamMerge(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DeleteLiveStreamMergeOutcomeCallable LiveClient::deleteLiveStreamMergeCallable(const DeleteLiveStreamMergeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLiveStreamMerge(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DeleteLiveStreamMonitorOutcome LiveClient::deleteLiveStreamMonitor(const DeleteLiveStreamMonitorRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4659,6 +4911,42 @@ LiveClient::DescribeLiveDomainBpsDataByTimeStampOutcomeCallable LiveClient::desc return task->get_future(); } +LiveClient::DescribeLiveDomainByCertificateOutcome LiveClient::describeLiveDomainByCertificate(const DescribeLiveDomainByCertificateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveDomainByCertificateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveDomainByCertificateOutcome(DescribeLiveDomainByCertificateResult(outcome.result())); + else + return DescribeLiveDomainByCertificateOutcome(outcome.error()); +} + +void LiveClient::describeLiveDomainByCertificateAsync(const DescribeLiveDomainByCertificateRequest& request, const DescribeLiveDomainByCertificateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveDomainByCertificate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveDomainByCertificateOutcomeCallable LiveClient::describeLiveDomainByCertificateCallable(const DescribeLiveDomainByCertificateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveDomainByCertificate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeLiveDomainCertificateInfoOutcome LiveClient::describeLiveDomainCertificateInfo(const DescribeLiveDomainCertificateInfoRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4911,6 +5199,42 @@ LiveClient::DescribeLiveDomainMappingOutcomeCallable LiveClient::describeLiveDom return task->get_future(); } +LiveClient::DescribeLiveDomainMonitoringUsageDataOutcome LiveClient::describeLiveDomainMonitoringUsageData(const DescribeLiveDomainMonitoringUsageDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveDomainMonitoringUsageDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveDomainMonitoringUsageDataOutcome(DescribeLiveDomainMonitoringUsageDataResult(outcome.result())); + else + return DescribeLiveDomainMonitoringUsageDataOutcome(outcome.error()); +} + +void LiveClient::describeLiveDomainMonitoringUsageDataAsync(const DescribeLiveDomainMonitoringUsageDataRequest& request, const DescribeLiveDomainMonitoringUsageDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveDomainMonitoringUsageData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveDomainMonitoringUsageDataOutcomeCallable LiveClient::describeLiveDomainMonitoringUsageDataCallable(const DescribeLiveDomainMonitoringUsageDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveDomainMonitoringUsageData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeLiveDomainOnlineUserNumOutcome LiveClient::describeLiveDomainOnlineUserNum(const DescribeLiveDomainOnlineUserNumRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5595,6 +5919,114 @@ LiveClient::DescribeLiveEdgeTransferOutcomeCallable LiveClient::describeLiveEdge return task->get_future(); } +LiveClient::DescribeLiveGrtnDurationOutcome LiveClient::describeLiveGrtnDuration(const DescribeLiveGrtnDurationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveGrtnDurationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveGrtnDurationOutcome(DescribeLiveGrtnDurationResult(outcome.result())); + else + return DescribeLiveGrtnDurationOutcome(outcome.error()); +} + +void LiveClient::describeLiveGrtnDurationAsync(const DescribeLiveGrtnDurationRequest& request, const DescribeLiveGrtnDurationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveGrtnDuration(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveGrtnDurationOutcomeCallable LiveClient::describeLiveGrtnDurationCallable(const DescribeLiveGrtnDurationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveGrtnDuration(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveHttpsDomainListOutcome LiveClient::describeLiveHttpsDomainList(const DescribeLiveHttpsDomainListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveHttpsDomainListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveHttpsDomainListOutcome(DescribeLiveHttpsDomainListResult(outcome.result())); + else + return DescribeLiveHttpsDomainListOutcome(outcome.error()); +} + +void LiveClient::describeLiveHttpsDomainListAsync(const DescribeLiveHttpsDomainListRequest& request, const DescribeLiveHttpsDomainListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveHttpsDomainList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveHttpsDomainListOutcomeCallable LiveClient::describeLiveHttpsDomainListCallable(const DescribeLiveHttpsDomainListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveHttpsDomainList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLiveIpInfoOutcome LiveClient::describeLiveIpInfo(const DescribeLiveIpInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveIpInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveIpInfoOutcome(DescribeLiveIpInfoResult(outcome.result())); + else + return DescribeLiveIpInfoOutcome(outcome.error()); +} + +void LiveClient::describeLiveIpInfoAsync(const DescribeLiveIpInfoRequest& request, const DescribeLiveIpInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveIpInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveIpInfoOutcomeCallable LiveClient::describeLiveIpInfoCallable(const DescribeLiveIpInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveIpInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeLiveLazyPullStreamConfigOutcome LiveClient::describeLiveLazyPullStreamConfig(const DescribeLiveLazyPullStreamConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5631,6 +6063,42 @@ LiveClient::DescribeLiveLazyPullStreamConfigOutcomeCallable LiveClient::describe return task->get_future(); } +LiveClient::DescribeLivePackageConfigOutcome LiveClient::describeLivePackageConfig(const DescribeLivePackageConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLivePackageConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLivePackageConfigOutcome(DescribeLivePackageConfigResult(outcome.result())); + else + return DescribeLivePackageConfigOutcome(outcome.error()); +} + +void LiveClient::describeLivePackageConfigAsync(const DescribeLivePackageConfigRequest& request, const DescribeLivePackageConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLivePackageConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLivePackageConfigOutcomeCallable LiveClient::describeLivePackageConfigCallable(const DescribeLivePackageConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLivePackageConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeLiveProducerUsageDataOutcome LiveClient::describeLiveProducerUsageData(const DescribeLiveProducerUsageDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5703,6 +6171,78 @@ LiveClient::DescribeLivePullStreamConfigOutcomeCallable LiveClient::describeLive return task->get_future(); } +LiveClient::DescribeLivePushProxyLogOutcome LiveClient::describeLivePushProxyLog(const DescribeLivePushProxyLogRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLivePushProxyLogOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLivePushProxyLogOutcome(DescribeLivePushProxyLogResult(outcome.result())); + else + return DescribeLivePushProxyLogOutcome(outcome.error()); +} + +void LiveClient::describeLivePushProxyLogAsync(const DescribeLivePushProxyLogRequest& request, const DescribeLivePushProxyLogAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLivePushProxyLog(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLivePushProxyLogOutcomeCallable LiveClient::describeLivePushProxyLogCallable(const DescribeLivePushProxyLogRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLivePushProxyLog(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeLivePushProxyUsageDataOutcome LiveClient::describeLivePushProxyUsageData(const DescribeLivePushProxyUsageDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLivePushProxyUsageDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLivePushProxyUsageDataOutcome(DescribeLivePushProxyUsageDataResult(outcome.result())); + else + return DescribeLivePushProxyUsageDataOutcome(outcome.error()); +} + +void LiveClient::describeLivePushProxyUsageDataAsync(const DescribeLivePushProxyUsageDataRequest& request, const DescribeLivePushProxyUsageDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLivePushProxyUsageData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLivePushProxyUsageDataOutcomeCallable LiveClient::describeLivePushProxyUsageDataCallable(const DescribeLivePushProxyUsageDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLivePushProxyUsageData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeLiveRealtimeDeliveryAccOutcome LiveClient::describeLiveRealtimeDeliveryAcc(const DescribeLiveRealtimeDeliveryAccRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6387,6 +6927,42 @@ LiveClient::DescribeLiveStreamPreloadTasksOutcomeCallable LiveClient::describeLi return task->get_future(); } +LiveClient::DescribeLiveStreamPushMetricDetailDataOutcome LiveClient::describeLiveStreamPushMetricDetailData(const DescribeLiveStreamPushMetricDetailDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveStreamPushMetricDetailDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveStreamPushMetricDetailDataOutcome(DescribeLiveStreamPushMetricDetailDataResult(outcome.result())); + else + return DescribeLiveStreamPushMetricDetailDataOutcome(outcome.error()); +} + +void LiveClient::describeLiveStreamPushMetricDetailDataAsync(const DescribeLiveStreamPushMetricDetailDataRequest& request, const DescribeLiveStreamPushMetricDetailDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveStreamPushMetricDetailData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveStreamPushMetricDetailDataOutcomeCallable LiveClient::describeLiveStreamPushMetricDetailDataCallable(const DescribeLiveStreamPushMetricDetailDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveStreamPushMetricDetailData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeLiveStreamRecordContentOutcome LiveClient::describeLiveStreamRecordContent(const DescribeLiveStreamRecordContentRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6927,6 +7503,42 @@ LiveClient::DescribeLiveStreamsPublishListOutcomeCallable LiveClient::describeLi return task->get_future(); } +LiveClient::DescribeLiveStreamsTotalCountOutcome LiveClient::describeLiveStreamsTotalCount(const DescribeLiveStreamsTotalCountRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveStreamsTotalCountOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveStreamsTotalCountOutcome(DescribeLiveStreamsTotalCountResult(outcome.result())); + else + return DescribeLiveStreamsTotalCountOutcome(outcome.error()); +} + +void LiveClient::describeLiveStreamsTotalCountAsync(const DescribeLiveStreamsTotalCountRequest& request, const DescribeLiveStreamsTotalCountAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveStreamsTotalCount(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveStreamsTotalCountOutcomeCallable LiveClient::describeLiveStreamsTotalCountCallable(const DescribeLiveStreamsTotalCountRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveStreamsTotalCount(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeLiveTagResourcesOutcome LiveClient::describeLiveTagResources(const DescribeLiveTagResourcesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -8187,6 +8799,78 @@ LiveClient::GetCustomTemplateOutcomeCallable LiveClient::getCustomTemplateCallab return task->get_future(); } +LiveClient::GetEdgeTranscodeJobOutcome LiveClient::getEdgeTranscodeJob(const GetEdgeTranscodeJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetEdgeTranscodeJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetEdgeTranscodeJobOutcome(GetEdgeTranscodeJobResult(outcome.result())); + else + return GetEdgeTranscodeJobOutcome(outcome.error()); +} + +void LiveClient::getEdgeTranscodeJobAsync(const GetEdgeTranscodeJobRequest& request, const GetEdgeTranscodeJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getEdgeTranscodeJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::GetEdgeTranscodeJobOutcomeCallable LiveClient::getEdgeTranscodeJobCallable(const GetEdgeTranscodeJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getEdgeTranscodeJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::GetEdgeTranscodeTemplateOutcome LiveClient::getEdgeTranscodeTemplate(const GetEdgeTranscodeTemplateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetEdgeTranscodeTemplateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetEdgeTranscodeTemplateOutcome(GetEdgeTranscodeTemplateResult(outcome.result())); + else + return GetEdgeTranscodeTemplateOutcome(outcome.error()); +} + +void LiveClient::getEdgeTranscodeTemplateAsync(const GetEdgeTranscodeTemplateRequest& request, const GetEdgeTranscodeTemplateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getEdgeTranscodeTemplate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::GetEdgeTranscodeTemplateOutcomeCallable LiveClient::getEdgeTranscodeTemplateCallable(const GetEdgeTranscodeTemplateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getEdgeTranscodeTemplate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::GetEditingJobInfoOutcome LiveClient::getEditingJobInfo(const GetEditingJobInfoRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -8547,6 +9231,78 @@ LiveClient::LeaveMessageGroupOutcomeCallable LiveClient::leaveMessageGroupCallab return task->get_future(); } +LiveClient::ListEdgeTranscodeJobOutcome LiveClient::listEdgeTranscodeJob(const ListEdgeTranscodeJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListEdgeTranscodeJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListEdgeTranscodeJobOutcome(ListEdgeTranscodeJobResult(outcome.result())); + else + return ListEdgeTranscodeJobOutcome(outcome.error()); +} + +void LiveClient::listEdgeTranscodeJobAsync(const ListEdgeTranscodeJobRequest& request, const ListEdgeTranscodeJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listEdgeTranscodeJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::ListEdgeTranscodeJobOutcomeCallable LiveClient::listEdgeTranscodeJobCallable(const ListEdgeTranscodeJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listEdgeTranscodeJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::ListEdgeTranscodeTemplateOutcome LiveClient::listEdgeTranscodeTemplate(const ListEdgeTranscodeTemplateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListEdgeTranscodeTemplateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListEdgeTranscodeTemplateOutcome(ListEdgeTranscodeTemplateResult(outcome.result())); + else + return ListEdgeTranscodeTemplateOutcome(outcome.error()); +} + +void LiveClient::listEdgeTranscodeTemplateAsync(const ListEdgeTranscodeTemplateRequest& request, const ListEdgeTranscodeTemplateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listEdgeTranscodeTemplate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::ListEdgeTranscodeTemplateOutcomeCallable LiveClient::listEdgeTranscodeTemplateCallable(const ListEdgeTranscodeTemplateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listEdgeTranscodeTemplate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::ListLiveDelayConfigOutcome LiveClient::listLiveDelayConfig(const ListLiveDelayConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -10599,6 +11355,42 @@ LiveClient::StartCasterSceneOutcomeCallable LiveClient::startCasterSceneCallable return task->get_future(); } +LiveClient::StartEdgeTranscodeJobOutcome LiveClient::startEdgeTranscodeJob(const StartEdgeTranscodeJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StartEdgeTranscodeJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StartEdgeTranscodeJobOutcome(StartEdgeTranscodeJobResult(outcome.result())); + else + return StartEdgeTranscodeJobOutcome(outcome.error()); +} + +void LiveClient::startEdgeTranscodeJobAsync(const StartEdgeTranscodeJobRequest& request, const StartEdgeTranscodeJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, startEdgeTranscodeJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::StartEdgeTranscodeJobOutcomeCallable LiveClient::startEdgeTranscodeJobCallable(const StartEdgeTranscodeJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->startEdgeTranscodeJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::StartLiveDomainOutcome LiveClient::startLiveDomain(const StartLiveDomainRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -10635,6 +11427,42 @@ LiveClient::StartLiveDomainOutcomeCallable LiveClient::startLiveDomainCallable(c return task->get_future(); } +LiveClient::StartLiveMPUTaskOutcome LiveClient::startLiveMPUTask(const StartLiveMPUTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StartLiveMPUTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StartLiveMPUTaskOutcome(StartLiveMPUTaskResult(outcome.result())); + else + return StartLiveMPUTaskOutcome(outcome.error()); +} + +void LiveClient::startLiveMPUTaskAsync(const StartLiveMPUTaskRequest& request, const StartLiveMPUTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, startLiveMPUTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::StartLiveMPUTaskOutcomeCallable LiveClient::startLiveMPUTaskCallable(const StartLiveMPUTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->startLiveMPUTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::StartLiveStreamMonitorOutcome LiveClient::startLiveStreamMonitor(const StartLiveStreamMonitorRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -10779,6 +11607,42 @@ LiveClient::StopCasterSceneOutcomeCallable LiveClient::stopCasterSceneCallable(c return task->get_future(); } +LiveClient::StopEdgeTranscodeJobOutcome LiveClient::stopEdgeTranscodeJob(const StopEdgeTranscodeJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StopEdgeTranscodeJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StopEdgeTranscodeJobOutcome(StopEdgeTranscodeJobResult(outcome.result())); + else + return StopEdgeTranscodeJobOutcome(outcome.error()); +} + +void LiveClient::stopEdgeTranscodeJobAsync(const StopEdgeTranscodeJobRequest& request, const StopEdgeTranscodeJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, stopEdgeTranscodeJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::StopEdgeTranscodeJobOutcomeCallable LiveClient::stopEdgeTranscodeJobCallable(const StopEdgeTranscodeJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->stopEdgeTranscodeJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::StopLiveDomainOutcome LiveClient::stopLiveDomain(const StopLiveDomainRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -10815,6 +11679,42 @@ LiveClient::StopLiveDomainOutcomeCallable LiveClient::stopLiveDomainCallable(con return task->get_future(); } +LiveClient::StopLiveMPUTaskOutcome LiveClient::stopLiveMPUTask(const StopLiveMPUTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StopLiveMPUTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StopLiveMPUTaskOutcome(StopLiveMPUTaskResult(outcome.result())); + else + return StopLiveMPUTaskOutcome(outcome.error()); +} + +void LiveClient::stopLiveMPUTaskAsync(const StopLiveMPUTaskRequest& request, const StopLiveMPUTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, stopLiveMPUTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::StopLiveMPUTaskOutcomeCallable LiveClient::stopLiveMPUTaskCallable(const StopLiveMPUTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->stopLiveMPUTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::StopLiveStreamMonitorOutcome LiveClient::stopLiveStreamMonitor(const StopLiveStreamMonitorRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -11031,6 +11931,42 @@ LiveClient::UpdateCasterSceneConfigOutcomeCallable LiveClient::updateCasterScene return task->get_future(); } +LiveClient::UpdateEdgeTranscodeJobOutcome LiveClient::updateEdgeTranscodeJob(const UpdateEdgeTranscodeJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateEdgeTranscodeJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateEdgeTranscodeJobOutcome(UpdateEdgeTranscodeJobResult(outcome.result())); + else + return UpdateEdgeTranscodeJobOutcome(outcome.error()); +} + +void LiveClient::updateEdgeTranscodeJobAsync(const UpdateEdgeTranscodeJobRequest& request, const UpdateEdgeTranscodeJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateEdgeTranscodeJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::UpdateEdgeTranscodeJobOutcomeCallable LiveClient::updateEdgeTranscodeJobCallable(const UpdateEdgeTranscodeJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateEdgeTranscodeJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::UpdateLiveAppRecordConfigOutcome LiveClient::updateLiveAppRecordConfig(const UpdateLiveAppRecordConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -11283,6 +12219,78 @@ LiveClient::UpdateLiveDetectNotifyConfigOutcomeCallable LiveClient::updateLiveDe return task->get_future(); } +LiveClient::UpdateLiveMPUTaskOutcome LiveClient::updateLiveMPUTask(const UpdateLiveMPUTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateLiveMPUTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateLiveMPUTaskOutcome(UpdateLiveMPUTaskResult(outcome.result())); + else + return UpdateLiveMPUTaskOutcome(outcome.error()); +} + +void LiveClient::updateLiveMPUTaskAsync(const UpdateLiveMPUTaskRequest& request, const UpdateLiveMPUTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateLiveMPUTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::UpdateLiveMPUTaskOutcomeCallable LiveClient::updateLiveMPUTaskCallable(const UpdateLiveMPUTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateLiveMPUTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::UpdateLivePackageConfigOutcome LiveClient::updateLivePackageConfig(const UpdateLivePackageConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateLivePackageConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateLivePackageConfigOutcome(UpdateLivePackageConfigResult(outcome.result())); + else + return UpdateLivePackageConfigOutcome(outcome.error()); +} + +void LiveClient::updateLivePackageConfigAsync(const UpdateLivePackageConfigRequest& request, const UpdateLivePackageConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateLivePackageConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::UpdateLivePackageConfigOutcomeCallable LiveClient::updateLivePackageConfigCallable(const UpdateLivePackageConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateLivePackageConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::UpdateLivePullStreamInfoConfigOutcome LiveClient::updateLivePullStreamInfoConfig(const UpdateLivePullStreamInfoConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/live/src/model/AddLivePackageConfigRequest.cc b/live/src/model/AddLivePackageConfigRequest.cc new file mode 100644 index 000000000..4024a4d5f --- /dev/null +++ b/live/src/model/AddLivePackageConfigRequest.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::AddLivePackageConfigRequest; + +AddLivePackageConfigRequest::AddLivePackageConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "AddLivePackageConfig") { + setMethod(HttpRequest::Method::Post); +} + +AddLivePackageConfigRequest::~AddLivePackageConfigRequest() {} + +int AddLivePackageConfigRequest::getSegmentNum() const { + return segmentNum_; +} + +void AddLivePackageConfigRequest::setSegmentNum(int segmentNum) { + segmentNum_ = segmentNum; + setParameter(std::string("SegmentNum"), std::to_string(segmentNum)); +} + +std::string AddLivePackageConfigRequest::getProtocol() const { + return protocol_; +} + +void AddLivePackageConfigRequest::setProtocol(const std::string &protocol) { + protocol_ = protocol; + setParameter(std::string("Protocol"), protocol); +} + +std::string AddLivePackageConfigRequest::getAppName() const { + return appName_; +} + +void AddLivePackageConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); +} + +int AddLivePackageConfigRequest::getPartDuration() const { + return partDuration_; +} + +void AddLivePackageConfigRequest::setPartDuration(int partDuration) { + partDuration_ = partDuration; + setParameter(std::string("PartDuration"), std::to_string(partDuration)); +} + +std::string AddLivePackageConfigRequest::getStreamName() const { + return streamName_; +} + +void AddLivePackageConfigRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); +} + +bool AddLivePackageConfigRequest::getIgnoreTranscode() const { + return ignoreTranscode_; +} + +void AddLivePackageConfigRequest::setIgnoreTranscode(bool ignoreTranscode) { + ignoreTranscode_ = ignoreTranscode; + setParameter(std::string("IgnoreTranscode"), ignoreTranscode ? "true" : "false"); +} + +std::string AddLivePackageConfigRequest::getDomainName() const { + return domainName_; +} + +void AddLivePackageConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long AddLivePackageConfigRequest::getOwnerId() const { + return ownerId_; +} + +void AddLivePackageConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +int AddLivePackageConfigRequest::getSegmentDuration() const { + return segmentDuration_; +} + +void AddLivePackageConfigRequest::setSegmentDuration(int segmentDuration) { + segmentDuration_ = segmentDuration; + setParameter(std::string("SegmentDuration"), std::to_string(segmentDuration)); +} + diff --git a/live/src/model/AddLivePackageConfigResult.cc b/live/src/model/AddLivePackageConfigResult.cc new file mode 100644 index 000000000..19d4aac96 --- /dev/null +++ b/live/src/model/AddLivePackageConfigResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +AddLivePackageConfigResult::AddLivePackageConfigResult() : + ServiceResult() +{} + +AddLivePackageConfigResult::AddLivePackageConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddLivePackageConfigResult::~AddLivePackageConfigResult() +{} + +void AddLivePackageConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/AddLiveStreamMergeRequest.cc b/live/src/model/AddLiveStreamMergeRequest.cc new file mode 100644 index 000000000..81d69d52a --- /dev/null +++ b/live/src/model/AddLiveStreamMergeRequest.cc @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::AddLiveStreamMergeRequest; + +AddLiveStreamMergeRequest::AddLiveStreamMergeRequest() + : RpcServiceRequest("live", "2016-11-01", "AddLiveStreamMerge") { + setMethod(HttpRequest::Method::Post); +} + +AddLiveStreamMergeRequest::~AddLiveStreamMergeRequest() {} + +std::string AddLiveStreamMergeRequest::getInAppName2() const { + return inAppName2_; +} + +void AddLiveStreamMergeRequest::setInAppName2(const std::string &inAppName2) { + inAppName2_ = inAppName2; + setParameter(std::string("InAppName2"), inAppName2); +} + +std::string AddLiveStreamMergeRequest::getInAppName1() const { + return inAppName1_; +} + +void AddLiveStreamMergeRequest::setInAppName1(const std::string &inAppName1) { + inAppName1_ = inAppName1; + setParameter(std::string("InAppName1"), inAppName1); +} + +std::string AddLiveStreamMergeRequest::getStartTime() const { + return startTime_; +} + +void AddLiveStreamMergeRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string AddLiveStreamMergeRequest::getProtocol() const { + return protocol_; +} + +void AddLiveStreamMergeRequest::setProtocol(const std::string &protocol) { + protocol_ = protocol; + setParameter(std::string("Protocol"), protocol); +} + +std::string AddLiveStreamMergeRequest::getAppName() const { + return appName_; +} + +void AddLiveStreamMergeRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); +} + +std::string AddLiveStreamMergeRequest::getInStreamName2() const { + return inStreamName2_; +} + +void AddLiveStreamMergeRequest::setInStreamName2(const std::string &inStreamName2) { + inStreamName2_ = inStreamName2; + setParameter(std::string("InStreamName2"), inStreamName2); +} + +std::string AddLiveStreamMergeRequest::getStreamName() const { + return streamName_; +} + +void AddLiveStreamMergeRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); +} + +std::string AddLiveStreamMergeRequest::getInStreamName1() const { + return inStreamName1_; +} + +void AddLiveStreamMergeRequest::setInStreamName1(const std::string &inStreamName1) { + inStreamName1_ = inStreamName1; + setParameter(std::string("InStreamName1"), inStreamName1); +} + +std::string AddLiveStreamMergeRequest::getDomainName() const { + return domainName_; +} + +void AddLiveStreamMergeRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string AddLiveStreamMergeRequest::getEndTime() const { + return endTime_; +} + +void AddLiveStreamMergeRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long AddLiveStreamMergeRequest::getOwnerId() const { + return ownerId_; +} + +void AddLiveStreamMergeRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/live/src/model/AddLiveStreamMergeResult.cc b/live/src/model/AddLiveStreamMergeResult.cc new file mode 100644 index 000000000..ccbaccc65 --- /dev/null +++ b/live/src/model/AddLiveStreamMergeResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +AddLiveStreamMergeResult::AddLiveStreamMergeResult() : + ServiceResult() +{} + +AddLiveStreamMergeResult::AddLiveStreamMergeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddLiveStreamMergeResult::~AddLiveStreamMergeResult() +{} + +void AddLiveStreamMergeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/CreateEdgeTranscodeJobRequest.cc b/live/src/model/CreateEdgeTranscodeJobRequest.cc new file mode 100644 index 000000000..933a59a45 --- /dev/null +++ b/live/src/model/CreateEdgeTranscodeJobRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::CreateEdgeTranscodeJobRequest; + +CreateEdgeTranscodeJobRequest::CreateEdgeTranscodeJobRequest() + : RpcServiceRequest("live", "2016-11-01", "CreateEdgeTranscodeJob") { + setMethod(HttpRequest::Method::Post); +} + +CreateEdgeTranscodeJobRequest::~CreateEdgeTranscodeJobRequest() {} + +std::string CreateEdgeTranscodeJobRequest::getStreamInput() const { + return streamInput_; +} + +void CreateEdgeTranscodeJobRequest::setStreamInput(const std::string &streamInput) { + streamInput_ = streamInput; + setParameter(std::string("StreamInput"), streamInput); +} + +std::string CreateEdgeTranscodeJobRequest::getStreamOutput() const { + return streamOutput_; +} + +void CreateEdgeTranscodeJobRequest::setStreamOutput(const std::string &streamOutput) { + streamOutput_ = streamOutput; + setParameter(std::string("StreamOutput"), streamOutput); +} + +std::string CreateEdgeTranscodeJobRequest::getClusterId() const { + return clusterId_; +} + +void CreateEdgeTranscodeJobRequest::setClusterId(const std::string &clusterId) { + clusterId_ = clusterId; + setParameter(std::string("ClusterId"), clusterId); +} + +long CreateEdgeTranscodeJobRequest::getOwnerId() const { + return ownerId_; +} + +void CreateEdgeTranscodeJobRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string CreateEdgeTranscodeJobRequest::getTemplateId() const { + return templateId_; +} + +void CreateEdgeTranscodeJobRequest::setTemplateId(const std::string &templateId) { + templateId_ = templateId; + setParameter(std::string("TemplateId"), templateId); +} + +std::string CreateEdgeTranscodeJobRequest::getName() const { + return name_; +} + +void CreateEdgeTranscodeJobRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + diff --git a/live/src/model/CreateEdgeTranscodeJobResult.cc b/live/src/model/CreateEdgeTranscodeJobResult.cc new file mode 100644 index 000000000..21e7aca72 --- /dev/null +++ b/live/src/model/CreateEdgeTranscodeJobResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +CreateEdgeTranscodeJobResult::CreateEdgeTranscodeJobResult() : + ServiceResult() +{} + +CreateEdgeTranscodeJobResult::CreateEdgeTranscodeJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateEdgeTranscodeJobResult::~CreateEdgeTranscodeJobResult() +{} + +void CreateEdgeTranscodeJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["JobId"].isNull()) + jobId_ = value["JobId"].asString(); + +} + +std::string CreateEdgeTranscodeJobResult::getJobId()const +{ + return jobId_; +} + diff --git a/live/src/model/CreateLiveStreamMonitorRequest.cc b/live/src/model/CreateLiveStreamMonitorRequest.cc index fd4832e5c..f2f0b2f71 100644 --- a/live/src/model/CreateLiveStreamMonitorRequest.cc +++ b/live/src/model/CreateLiveStreamMonitorRequest.cc @@ -79,6 +79,15 @@ void CreateLiveStreamMonitorRequest::setInputList(const std::string &inputList) setParameter(std::string("InputList"), inputList); } +std::string CreateLiveStreamMonitorRequest::getDingTalkWebHookUrl() const { + return dingTalkWebHookUrl_; +} + +void CreateLiveStreamMonitorRequest::setDingTalkWebHookUrl(const std::string &dingTalkWebHookUrl) { + dingTalkWebHookUrl_ = dingTalkWebHookUrl; + setParameter(std::string("DingTalkWebHookUrl"), dingTalkWebHookUrl); +} + long CreateLiveStreamMonitorRequest::getOwnerId() const { return ownerId_; } @@ -97,3 +106,12 @@ void CreateLiveStreamMonitorRequest::setDomain(const std::string &domain) { setParameter(std::string("Domain"), domain); } +std::string CreateLiveStreamMonitorRequest::getCallbackUrl() const { + return callbackUrl_; +} + +void CreateLiveStreamMonitorRequest::setCallbackUrl(const std::string &callbackUrl) { + callbackUrl_ = callbackUrl; + setParameter(std::string("CallbackUrl"), callbackUrl); +} + diff --git a/live/src/model/DeleteChannelRequest.cc b/live/src/model/DeleteChannelRequest.cc new file mode 100644 index 000000000..38a9948ed --- /dev/null +++ b/live/src/model/DeleteChannelRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DeleteChannelRequest; + +DeleteChannelRequest::DeleteChannelRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteChannel") { + setMethod(HttpRequest::Method::Post); +} + +DeleteChannelRequest::~DeleteChannelRequest() {} + +std::string DeleteChannelRequest::getAppId() const { + return appId_; +} + +void DeleteChannelRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); +} + +std::string DeleteChannelRequest::getChannelId() const { + return channelId_; +} + +void DeleteChannelRequest::setChannelId(const std::string &channelId) { + channelId_ = channelId; + setParameter(std::string("ChannelId"), channelId); +} + diff --git a/live/src/model/DeleteChannelResult.cc b/live/src/model/DeleteChannelResult.cc new file mode 100644 index 000000000..f1eaaf46c --- /dev/null +++ b/live/src/model/DeleteChannelResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DeleteChannelResult::DeleteChannelResult() : + ServiceResult() +{} + +DeleteChannelResult::DeleteChannelResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteChannelResult::~DeleteChannelResult() +{} + +void DeleteChannelResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/DeleteEdgeTranscodeJobRequest.cc b/live/src/model/DeleteEdgeTranscodeJobRequest.cc new file mode 100644 index 000000000..13e80e3ce --- /dev/null +++ b/live/src/model/DeleteEdgeTranscodeJobRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DeleteEdgeTranscodeJobRequest; + +DeleteEdgeTranscodeJobRequest::DeleteEdgeTranscodeJobRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteEdgeTranscodeJob") { + setMethod(HttpRequest::Method::Post); +} + +DeleteEdgeTranscodeJobRequest::~DeleteEdgeTranscodeJobRequest() {} + +std::string DeleteEdgeTranscodeJobRequest::getJobId() const { + return jobId_; +} + +void DeleteEdgeTranscodeJobRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); +} + +std::string DeleteEdgeTranscodeJobRequest::getClusterId() const { + return clusterId_; +} + +void DeleteEdgeTranscodeJobRequest::setClusterId(const std::string &clusterId) { + clusterId_ = clusterId; + setParameter(std::string("ClusterId"), clusterId); +} + +long DeleteEdgeTranscodeJobRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteEdgeTranscodeJobRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/live/src/model/DeleteEdgeTranscodeJobResult.cc b/live/src/model/DeleteEdgeTranscodeJobResult.cc new file mode 100644 index 000000000..d1a53c908 --- /dev/null +++ b/live/src/model/DeleteEdgeTranscodeJobResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DeleteEdgeTranscodeJobResult::DeleteEdgeTranscodeJobResult() : + ServiceResult() +{} + +DeleteEdgeTranscodeJobResult::DeleteEdgeTranscodeJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteEdgeTranscodeJobResult::~DeleteEdgeTranscodeJobResult() +{} + +void DeleteEdgeTranscodeJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/DeleteLivePackageConfigRequest.cc b/live/src/model/DeleteLivePackageConfigRequest.cc new file mode 100644 index 000000000..8593c1bf8 --- /dev/null +++ b/live/src/model/DeleteLivePackageConfigRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLivePackageConfigRequest; + +DeleteLivePackageConfigRequest::DeleteLivePackageConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLivePackageConfig") { + setMethod(HttpRequest::Method::Post); +} + +DeleteLivePackageConfigRequest::~DeleteLivePackageConfigRequest() {} + +std::string DeleteLivePackageConfigRequest::getAppName() const { + return appName_; +} + +void DeleteLivePackageConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); +} + +std::string DeleteLivePackageConfigRequest::getStreamName() const { + return streamName_; +} + +void DeleteLivePackageConfigRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); +} + +std::string DeleteLivePackageConfigRequest::getDomainName() const { + return domainName_; +} + +void DeleteLivePackageConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long DeleteLivePackageConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteLivePackageConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/live/src/model/DeleteLivePackageConfigResult.cc b/live/src/model/DeleteLivePackageConfigResult.cc new file mode 100644 index 000000000..131f0e90a --- /dev/null +++ b/live/src/model/DeleteLivePackageConfigResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DeleteLivePackageConfigResult::DeleteLivePackageConfigResult() : + ServiceResult() +{} + +DeleteLivePackageConfigResult::DeleteLivePackageConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLivePackageConfigResult::~DeleteLivePackageConfigResult() +{} + +void DeleteLivePackageConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/DeleteLiveStreamMergeRequest.cc b/live/src/model/DeleteLiveStreamMergeRequest.cc new file mode 100644 index 000000000..c20f145d9 --- /dev/null +++ b/live/src/model/DeleteLiveStreamMergeRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DeleteLiveStreamMergeRequest; + +DeleteLiveStreamMergeRequest::DeleteLiveStreamMergeRequest() + : RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamMerge") { + setMethod(HttpRequest::Method::Post); +} + +DeleteLiveStreamMergeRequest::~DeleteLiveStreamMergeRequest() {} + +std::string DeleteLiveStreamMergeRequest::getAppName() const { + return appName_; +} + +void DeleteLiveStreamMergeRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); +} + +std::string DeleteLiveStreamMergeRequest::getStreamName() const { + return streamName_; +} + +void DeleteLiveStreamMergeRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); +} + +std::string DeleteLiveStreamMergeRequest::getDomainName() const { + return domainName_; +} + +void DeleteLiveStreamMergeRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long DeleteLiveStreamMergeRequest::getOwnerId() const { + return ownerId_; +} + +void DeleteLiveStreamMergeRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/live/src/model/DeleteLiveStreamMergeResult.cc b/live/src/model/DeleteLiveStreamMergeResult.cc new file mode 100644 index 000000000..925841659 --- /dev/null +++ b/live/src/model/DeleteLiveStreamMergeResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DeleteLiveStreamMergeResult::DeleteLiveStreamMergeResult() : + ServiceResult() +{} + +DeleteLiveStreamMergeResult::DeleteLiveStreamMergeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLiveStreamMergeResult::~DeleteLiveStreamMergeResult() +{} + +void DeleteLiveStreamMergeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/DescribeLiveDomainByCertificateRequest.cc b/live/src/model/DescribeLiveDomainByCertificateRequest.cc new file mode 100644 index 000000000..8f593b44c --- /dev/null +++ b/live/src/model/DescribeLiveDomainByCertificateRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainByCertificateRequest; + +DescribeLiveDomainByCertificateRequest::DescribeLiveDomainByCertificateRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainByCertificate") { + setMethod(HttpRequest::Method::Post); +} + +DescribeLiveDomainByCertificateRequest::~DescribeLiveDomainByCertificateRequest() {} + +long DescribeLiveDomainByCertificateRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveDomainByCertificateRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +bool DescribeLiveDomainByCertificateRequest::getSSLStatus() const { + return sSLStatus_; +} + +void DescribeLiveDomainByCertificateRequest::setSSLStatus(bool sSLStatus) { + sSLStatus_ = sSLStatus; + setParameter(std::string("SSLStatus"), sSLStatus ? "true" : "false"); +} + +std::string DescribeLiveDomainByCertificateRequest::getSSLPub() const { + return sSLPub_; +} + +void DescribeLiveDomainByCertificateRequest::setSSLPub(const std::string &sSLPub) { + sSLPub_ = sSLPub; + setParameter(std::string("SSLPub"), sSLPub); +} + diff --git a/live/src/model/DescribeLiveDomainByCertificateResult.cc b/live/src/model/DescribeLiveDomainByCertificateResult.cc new file mode 100644 index 000000000..600c7caed --- /dev/null +++ b/live/src/model/DescribeLiveDomainByCertificateResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveDomainByCertificateResult::DescribeLiveDomainByCertificateResult() : + ServiceResult() +{} + +DescribeLiveDomainByCertificateResult::DescribeLiveDomainByCertificateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveDomainByCertificateResult::~DescribeLiveDomainByCertificateResult() +{} + +void DescribeLiveDomainByCertificateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allCertInfosNode = value["CertInfos"]["CertInfo"]; + for (auto valueCertInfosCertInfo : allCertInfosNode) + { + CertInfo certInfosObject; + if(!valueCertInfosCertInfo["CertExpireTime"].isNull()) + certInfosObject.certExpireTime = valueCertInfosCertInfo["CertExpireTime"].asString(); + if(!valueCertInfosCertInfo["CertStartTime"].isNull()) + certInfosObject.certStartTime = valueCertInfosCertInfo["CertStartTime"].asString(); + if(!valueCertInfosCertInfo["CertType"].isNull()) + certInfosObject.certType = valueCertInfosCertInfo["CertType"].asString(); + if(!valueCertInfosCertInfo["CertSubjectCommonName"].isNull()) + certInfosObject.certSubjectCommonName = valueCertInfosCertInfo["CertSubjectCommonName"].asString(); + if(!valueCertInfosCertInfo["CertCaIsLegacy"].isNull()) + certInfosObject.certCaIsLegacy = valueCertInfosCertInfo["CertCaIsLegacy"].asString(); + if(!valueCertInfosCertInfo["DomainNames"].isNull()) + certInfosObject.domainNames = valueCertInfosCertInfo["DomainNames"].asString(); + if(!valueCertInfosCertInfo["CertExpired"].isNull()) + certInfosObject.certExpired = valueCertInfosCertInfo["CertExpired"].asString(); + if(!valueCertInfosCertInfo["Issuer"].isNull()) + certInfosObject.issuer = valueCertInfosCertInfo["Issuer"].asString(); + if(!valueCertInfosCertInfo["DomainList"].isNull()) + certInfosObject.domainList = valueCertInfosCertInfo["DomainList"].asString(); + certInfos_.push_back(certInfosObject); + } + +} + +std::vector DescribeLiveDomainByCertificateResult::getCertInfos()const +{ + return certInfos_; +} + diff --git a/live/src/model/DescribeLiveDomainMonitoringUsageDataRequest.cc b/live/src/model/DescribeLiveDomainMonitoringUsageDataRequest.cc new file mode 100644 index 000000000..57825e911 --- /dev/null +++ b/live/src/model/DescribeLiveDomainMonitoringUsageDataRequest.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDomainMonitoringUsageDataRequest; + +DescribeLiveDomainMonitoringUsageDataRequest::DescribeLiveDomainMonitoringUsageDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainMonitoringUsageData") { + setMethod(HttpRequest::Method::Post); +} + +DescribeLiveDomainMonitoringUsageDataRequest::~DescribeLiveDomainMonitoringUsageDataRequest() {} + +std::string DescribeLiveDomainMonitoringUsageDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeLiveDomainMonitoringUsageDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeLiveDomainMonitoringUsageDataRequest::getSplitBy() const { + return splitBy_; +} + +void DescribeLiveDomainMonitoringUsageDataRequest::setSplitBy(const std::string &splitBy) { + splitBy_ = splitBy; + setParameter(std::string("SplitBy"), splitBy); +} + +std::string DescribeLiveDomainMonitoringUsageDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeLiveDomainMonitoringUsageDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeLiveDomainMonitoringUsageDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeLiveDomainMonitoringUsageDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeLiveDomainMonitoringUsageDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveDomainMonitoringUsageDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeLiveDomainMonitoringUsageDataRequest::getInstanceId() const { + return instanceId_; +} + +void DescribeLiveDomainMonitoringUsageDataRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string DescribeLiveDomainMonitoringUsageDataRequest::getInterval() const { + return interval_; +} + +void DescribeLiveDomainMonitoringUsageDataRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); +} + +std::string DescribeLiveDomainMonitoringUsageDataRequest::getRegion() const { + return region_; +} + +void DescribeLiveDomainMonitoringUsageDataRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); +} + diff --git a/live/src/model/DescribeLiveDomainMonitoringUsageDataResult.cc b/live/src/model/DescribeLiveDomainMonitoringUsageDataResult.cc new file mode 100644 index 000000000..15ad68c20 --- /dev/null +++ b/live/src/model/DescribeLiveDomainMonitoringUsageDataResult.cc @@ -0,0 +1,102 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveDomainMonitoringUsageDataResult::DescribeLiveDomainMonitoringUsageDataResult() : + ServiceResult() +{} + +DescribeLiveDomainMonitoringUsageDataResult::DescribeLiveDomainMonitoringUsageDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveDomainMonitoringUsageDataResult::~DescribeLiveDomainMonitoringUsageDataResult() +{} + +void DescribeLiveDomainMonitoringUsageDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allMonitoringDataNode = value["MonitoringData"]["MonitoringDataItem"]; + for (auto valueMonitoringDataMonitoringDataItem : allMonitoringDataNode) + { + MonitoringDataItem monitoringDataObject; + if(!valueMonitoringDataMonitoringDataItem["Region"].isNull()) + monitoringDataObject.region = valueMonitoringDataMonitoringDataItem["Region"].asString(); + if(!valueMonitoringDataMonitoringDataItem["TimeStamp"].isNull()) + monitoringDataObject.timeStamp = valueMonitoringDataMonitoringDataItem["TimeStamp"].asString(); + if(!valueMonitoringDataMonitoringDataItem["Duration"].isNull()) + monitoringDataObject.duration = std::stoi(valueMonitoringDataMonitoringDataItem["Duration"].asString()); + if(!valueMonitoringDataMonitoringDataItem["InstanceId"].isNull()) + monitoringDataObject.instanceId = valueMonitoringDataMonitoringDataItem["InstanceId"].asString(); + if(!valueMonitoringDataMonitoringDataItem["DomainName"].isNull()) + monitoringDataObject.domainName = valueMonitoringDataMonitoringDataItem["DomainName"].asString(); + if(!valueMonitoringDataMonitoringDataItem["Resolution"].isNull()) + monitoringDataObject.resolution = valueMonitoringDataMonitoringDataItem["Resolution"].asString(); + monitoringData_.push_back(monitoringDataObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["Region"].isNull()) + region_ = value["Region"].asString(); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + +} + +std::vector DescribeLiveDomainMonitoringUsageDataResult::getMonitoringData()const +{ + return monitoringData_; +} + +std::string DescribeLiveDomainMonitoringUsageDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeLiveDomainMonitoringUsageDataResult::getInstanceId()const +{ + return instanceId_; +} + +std::string DescribeLiveDomainMonitoringUsageDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeLiveDomainMonitoringUsageDataResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeLiveDomainMonitoringUsageDataResult::getRegion()const +{ + return region_; +} + diff --git a/live/src/model/DescribeLiveDomainStreamTranscodeDataRequest.cc b/live/src/model/DescribeLiveDomainStreamTranscodeDataRequest.cc index 749d10093..cfde2a5c9 100644 --- a/live/src/model/DescribeLiveDomainStreamTranscodeDataRequest.cc +++ b/live/src/model/DescribeLiveDomainStreamTranscodeDataRequest.cc @@ -25,6 +25,15 @@ DescribeLiveDomainStreamTranscodeDataRequest::DescribeLiveDomainStreamTranscodeD DescribeLiveDomainStreamTranscodeDataRequest::~DescribeLiveDomainStreamTranscodeDataRequest() {} +std::string DescribeLiveDomainStreamTranscodeDataRequest::getPrecision() const { + return precision_; +} + +void DescribeLiveDomainStreamTranscodeDataRequest::setPrecision(const std::string &precision) { + precision_ = precision; + setParameter(std::string("Precision"), precision); +} + std::string DescribeLiveDomainStreamTranscodeDataRequest::getStartTime() const { return startTime_; } diff --git a/live/src/model/DescribeLiveGrtnDurationRequest.cc b/live/src/model/DescribeLiveGrtnDurationRequest.cc new file mode 100644 index 000000000..1ac14e3f4 --- /dev/null +++ b/live/src/model/DescribeLiveGrtnDurationRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveGrtnDurationRequest; + +DescribeLiveGrtnDurationRequest::DescribeLiveGrtnDurationRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveGrtnDuration") { + setMethod(HttpRequest::Method::Post); +} + +DescribeLiveGrtnDurationRequest::~DescribeLiveGrtnDurationRequest() {} + +std::string DescribeLiveGrtnDurationRequest::getStartTime() const { + return startTime_; +} + +void DescribeLiveGrtnDurationRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeLiveGrtnDurationRequest::getArea() const { + return area_; +} + +void DescribeLiveGrtnDurationRequest::setArea(const std::string &area) { + area_ = area; + setParameter(std::string("Area"), area); +} + +std::string DescribeLiveGrtnDurationRequest::getEndTime() const { + return endTime_; +} + +void DescribeLiveGrtnDurationRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeLiveGrtnDurationRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveGrtnDurationRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeLiveGrtnDurationRequest::getAppId() const { + return appId_; +} + +void DescribeLiveGrtnDurationRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); +} + +std::string DescribeLiveGrtnDurationRequest::getInterval() const { + return interval_; +} + +void DescribeLiveGrtnDurationRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); +} + diff --git a/live/src/model/DescribeLiveGrtnDurationResult.cc b/live/src/model/DescribeLiveGrtnDurationResult.cc new file mode 100644 index 000000000..62ffeb539 --- /dev/null +++ b/live/src/model/DescribeLiveGrtnDurationResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveGrtnDurationResult::DescribeLiveGrtnDurationResult() : + ServiceResult() +{} + +DescribeLiveGrtnDurationResult::DescribeLiveGrtnDurationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveGrtnDurationResult::~DescribeLiveGrtnDurationResult() +{} + +void DescribeLiveGrtnDurationResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allStreamDetailDataNode = value["StreamDetailData"]["StreamData"]; + for (auto valueStreamDetailDataStreamData : allStreamDetailDataNode) + { + StreamData streamDetailDataObject; + if(!valueStreamDetailDataStreamData["Duration"].isNull()) + streamDetailDataObject.duration = std::stol(valueStreamDetailDataStreamData["Duration"].asString()); + if(!valueStreamDetailDataStreamData["TimeStamp"].isNull()) + streamDetailDataObject.timeStamp = valueStreamDetailDataStreamData["TimeStamp"].asString(); + if(!valueStreamDetailDataStreamData["MediaProfile"].isNull()) + streamDetailDataObject.mediaProfile = valueStreamDetailDataStreamData["MediaProfile"].asString(); + if(!valueStreamDetailDataStreamData["MediaType"].isNull()) + streamDetailDataObject.mediaType = valueStreamDetailDataStreamData["MediaType"].asString(); + if(!valueStreamDetailDataStreamData["AppId"].isNull()) + streamDetailDataObject.appId = valueStreamDetailDataStreamData["AppId"].asString(); + streamDetailData_.push_back(streamDetailDataObject); + } + +} + +std::vector DescribeLiveGrtnDurationResult::getStreamDetailData()const +{ + return streamDetailData_; +} + diff --git a/live/src/model/DescribeLiveHttpsDomainListRequest.cc b/live/src/model/DescribeLiveHttpsDomainListRequest.cc new file mode 100644 index 000000000..0337d38f3 --- /dev/null +++ b/live/src/model/DescribeLiveHttpsDomainListRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveHttpsDomainListRequest; + +DescribeLiveHttpsDomainListRequest::DescribeLiveHttpsDomainListRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveHttpsDomainList") { + setMethod(HttpRequest::Method::Post); +} + +DescribeLiveHttpsDomainListRequest::~DescribeLiveHttpsDomainListRequest() {} + +int DescribeLiveHttpsDomainListRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeLiveHttpsDomainListRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +int DescribeLiveHttpsDomainListRequest::getPageSize() const { + return pageSize_; +} + +void DescribeLiveHttpsDomainListRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string DescribeLiveHttpsDomainListRequest::getKeyword() const { + return keyword_; +} + +void DescribeLiveHttpsDomainListRequest::setKeyword(const std::string &keyword) { + keyword_ = keyword; + setParameter(std::string("Keyword"), keyword); +} + +long DescribeLiveHttpsDomainListRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveHttpsDomainListRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/live/src/model/DescribeLiveHttpsDomainListResult.cc b/live/src/model/DescribeLiveHttpsDomainListResult.cc new file mode 100644 index 000000000..94c89d4bf --- /dev/null +++ b/live/src/model/DescribeLiveHttpsDomainListResult.cc @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveHttpsDomainListResult::DescribeLiveHttpsDomainListResult() : + ServiceResult() +{} + +DescribeLiveHttpsDomainListResult::DescribeLiveHttpsDomainListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveHttpsDomainListResult::~DescribeLiveHttpsDomainListResult() +{} + +void DescribeLiveHttpsDomainListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allCertInfosNode = value["CertInfos"]["CertInfo"]; + for (auto valueCertInfosCertInfo : allCertInfosNode) + { + CertInfo certInfosObject; + if(!valueCertInfosCertInfo["CertStartTime"].isNull()) + certInfosObject.certStartTime = valueCertInfosCertInfo["CertStartTime"].asString(); + if(!valueCertInfosCertInfo["CertExpireTime"].isNull()) + certInfosObject.certExpireTime = valueCertInfosCertInfo["CertExpireTime"].asString(); + if(!valueCertInfosCertInfo["CertUpdateTime"].isNull()) + certInfosObject.certUpdateTime = valueCertInfosCertInfo["CertUpdateTime"].asString(); + if(!valueCertInfosCertInfo["CertType"].isNull()) + certInfosObject.certType = valueCertInfosCertInfo["CertType"].asString(); + if(!valueCertInfosCertInfo["CertName"].isNull()) + certInfosObject.certName = valueCertInfosCertInfo["CertName"].asString(); + if(!valueCertInfosCertInfo["CertStatus"].isNull()) + certInfosObject.certStatus = valueCertInfosCertInfo["CertStatus"].asString(); + if(!valueCertInfosCertInfo["DomainName"].isNull()) + certInfosObject.domainName = valueCertInfosCertInfo["DomainName"].asString(); + if(!valueCertInfosCertInfo["CertCommonName"].isNull()) + certInfosObject.certCommonName = valueCertInfosCertInfo["CertCommonName"].asString(); + certInfos_.push_back(certInfosObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +std::vector DescribeLiveHttpsDomainListResult::getCertInfos()const +{ + return certInfos_; +} + +int DescribeLiveHttpsDomainListResult::getTotalCount()const +{ + return totalCount_; +} + diff --git a/live/src/model/DescribeLiveIpInfoRequest.cc b/live/src/model/DescribeLiveIpInfoRequest.cc new file mode 100644 index 000000000..575e59fce --- /dev/null +++ b/live/src/model/DescribeLiveIpInfoRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveIpInfoRequest; + +DescribeLiveIpInfoRequest::DescribeLiveIpInfoRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveIpInfo") { + setMethod(HttpRequest::Method::Post); +} + +DescribeLiveIpInfoRequest::~DescribeLiveIpInfoRequest() {} + +std::string DescribeLiveIpInfoRequest::getMethod() const { + return method_; +} + +void DescribeLiveIpInfoRequest::setMethod(const std::string &method) { + method_ = method; + setParameter(std::string("Method"), method); +} + +std::string DescribeLiveIpInfoRequest::getIP() const { + return iP_; +} + +void DescribeLiveIpInfoRequest::setIP(const std::string &iP) { + iP_ = iP; + setParameter(std::string("IP"), iP); +} + +long DescribeLiveIpInfoRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveIpInfoRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/live/src/model/DescribeLiveIpInfoResult.cc b/live/src/model/DescribeLiveIpInfoResult.cc new file mode 100644 index 000000000..09aa9a12b --- /dev/null +++ b/live/src/model/DescribeLiveIpInfoResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveIpInfoResult::DescribeLiveIpInfoResult() : + ServiceResult() +{} + +DescribeLiveIpInfoResult::DescribeLiveIpInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveIpInfoResult::~DescribeLiveIpInfoResult() +{} + +void DescribeLiveIpInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["IspEname"].isNull()) + ispEname_ = value["IspEname"].asString(); + if(!value["RegionEname"].isNull()) + regionEname_ = value["RegionEname"].asString(); + if(!value["ISP"].isNull()) + iSP_ = value["ISP"].asString(); + if(!value["Region"].isNull()) + region_ = value["Region"].asString(); + +} + +std::string DescribeLiveIpInfoResult::getISP()const +{ + return iSP_; +} + +std::string DescribeLiveIpInfoResult::getRegion()const +{ + return region_; +} + +std::string DescribeLiveIpInfoResult::getIspEname()const +{ + return ispEname_; +} + +std::string DescribeLiveIpInfoResult::getRegionEname()const +{ + return regionEname_; +} + diff --git a/live/src/model/DescribeLiveLazyPullStreamConfigResult.cc b/live/src/model/DescribeLiveLazyPullStreamConfigResult.cc index 70ce58e26..fe3fc1189 100644 --- a/live/src/model/DescribeLiveLazyPullStreamConfigResult.cc +++ b/live/src/model/DescribeLiveLazyPullStreamConfigResult.cc @@ -59,6 +59,8 @@ void DescribeLiveLazyPullStreamConfigResult::parse(const std::string &payload) liveLazyPullConfigListObject.domainName = valueLiveLazyPullConfigListLiveLazyPullConfig["DomainName"].asString(); if(!valueLiveLazyPullConfigListLiveLazyPullConfig["PullAuthType"].isNull()) liveLazyPullConfigListObject.pullAuthType = valueLiveLazyPullConfigListLiveLazyPullConfig["PullAuthType"].asString(); + if(!valueLiveLazyPullConfigListLiveLazyPullConfig["TranscodeLazy"].isNull()) + liveLazyPullConfigListObject.transcodeLazy = valueLiveLazyPullConfigListLiveLazyPullConfig["TranscodeLazy"].asString(); liveLazyPullConfigList_.push_back(liveLazyPullConfigListObject); } diff --git a/live/src/model/DescribeLivePackageConfigRequest.cc b/live/src/model/DescribeLivePackageConfigRequest.cc new file mode 100644 index 000000000..4f5fec47b --- /dev/null +++ b/live/src/model/DescribeLivePackageConfigRequest.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLivePackageConfigRequest; + +DescribeLivePackageConfigRequest::DescribeLivePackageConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLivePackageConfig") { + setMethod(HttpRequest::Method::Post); +} + +DescribeLivePackageConfigRequest::~DescribeLivePackageConfigRequest() {} + +int DescribeLivePackageConfigRequest::getPageNum() const { + return pageNum_; +} + +void DescribeLivePackageConfigRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setParameter(std::string("PageNum"), std::to_string(pageNum)); +} + +std::string DescribeLivePackageConfigRequest::getAppName() const { + return appName_; +} + +void DescribeLivePackageConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); +} + +int DescribeLivePackageConfigRequest::getPageSize() const { + return pageSize_; +} + +void DescribeLivePackageConfigRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string DescribeLivePackageConfigRequest::getStreamName() const { + return streamName_; +} + +void DescribeLivePackageConfigRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); +} + +std::string DescribeLivePackageConfigRequest::getOrder() const { + return order_; +} + +void DescribeLivePackageConfigRequest::setOrder(const std::string &order) { + order_ = order; + setParameter(std::string("Order"), order); +} + +std::string DescribeLivePackageConfigRequest::getDomainName() const { + return domainName_; +} + +void DescribeLivePackageConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long DescribeLivePackageConfigRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLivePackageConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/live/src/model/DescribeLivePackageConfigResult.cc b/live/src/model/DescribeLivePackageConfigResult.cc new file mode 100644 index 000000000..67bfbbd28 --- /dev/null +++ b/live/src/model/DescribeLivePackageConfigResult.cc @@ -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 +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLivePackageConfigResult::DescribeLivePackageConfigResult() : + ServiceResult() +{} + +DescribeLivePackageConfigResult::DescribeLivePackageConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLivePackageConfigResult::~DescribeLivePackageConfigResult() +{} + +void DescribeLivePackageConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allLivePackageConfigListNode = value["LivePackageConfigList"]["LivePackageConfig"]; + for (auto valueLivePackageConfigListLivePackageConfig : allLivePackageConfigListNode) + { + LivePackageConfig livePackageConfigListObject; + if(!valueLivePackageConfigListLivePackageConfig["AppName"].isNull()) + livePackageConfigListObject.appName = valueLivePackageConfigListLivePackageConfig["AppName"].asString(); + if(!valueLivePackageConfigListLivePackageConfig["SegmentNum"].isNull()) + livePackageConfigListObject.segmentNum = std::stoi(valueLivePackageConfigListLivePackageConfig["SegmentNum"].asString()); + if(!valueLivePackageConfigListLivePackageConfig["StreamName"].isNull()) + livePackageConfigListObject.streamName = valueLivePackageConfigListLivePackageConfig["StreamName"].asString(); + if(!valueLivePackageConfigListLivePackageConfig["Protocol"].isNull()) + livePackageConfigListObject.protocol = valueLivePackageConfigListLivePackageConfig["Protocol"].asString(); + if(!valueLivePackageConfigListLivePackageConfig["IgnoreTranscode"].isNull()) + livePackageConfigListObject.ignoreTranscode = valueLivePackageConfigListLivePackageConfig["IgnoreTranscode"].asString() == "true"; + if(!valueLivePackageConfigListLivePackageConfig["PartDuration"].isNull()) + livePackageConfigListObject.partDuration = std::stoi(valueLivePackageConfigListLivePackageConfig["PartDuration"].asString()); + if(!valueLivePackageConfigListLivePackageConfig["SegmentDuration"].isNull()) + livePackageConfigListObject.segmentDuration = std::stoi(valueLivePackageConfigListLivePackageConfig["SegmentDuration"].asString()); + if(!valueLivePackageConfigListLivePackageConfig["DomainName"].isNull()) + livePackageConfigListObject.domainName = valueLivePackageConfigListLivePackageConfig["DomainName"].asString(); + livePackageConfigList_.push_back(livePackageConfigListObject); + } + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + if(!value["Order"].isNull()) + order_ = value["Order"].asString(); + if(!value["TotalPage"].isNull()) + totalPage_ = std::stoi(value["TotalPage"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + +} + +std::string DescribeLivePackageConfigResult::getOrder()const +{ + return order_; +} + +int DescribeLivePackageConfigResult::getTotalNum()const +{ + return totalNum_; +} + +int DescribeLivePackageConfigResult::getPageNum()const +{ + return pageNum_; +} + +int DescribeLivePackageConfigResult::getTotalPage()const +{ + return totalPage_; +} + +int DescribeLivePackageConfigResult::getPageSize()const +{ + return pageSize_; +} + +std::vector DescribeLivePackageConfigResult::getLivePackageConfigList()const +{ + return livePackageConfigList_; +} + diff --git a/live/src/model/DescribeLivePushProxyLogRequest.cc b/live/src/model/DescribeLivePushProxyLogRequest.cc new file mode 100644 index 000000000..72060bb05 --- /dev/null +++ b/live/src/model/DescribeLivePushProxyLogRequest.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLivePushProxyLogRequest; + +DescribeLivePushProxyLogRequest::DescribeLivePushProxyLogRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLivePushProxyLog") { + setMethod(HttpRequest::Method::Post); +} + +DescribeLivePushProxyLogRequest::~DescribeLivePushProxyLogRequest() {} + +std::string DescribeLivePushProxyLogRequest::getStartTime() const { + return startTime_; +} + +void DescribeLivePushProxyLogRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +long DescribeLivePushProxyLogRequest::getPageNumber() const { + return pageNumber_; +} + +void DescribeLivePushProxyLogRequest::setPageNumber(long pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string DescribeLivePushProxyLogRequest::getLogType() const { + return logType_; +} + +void DescribeLivePushProxyLogRequest::setLogType(const std::string &logType) { + logType_ = logType; + setParameter(std::string("LogType"), logType); +} + +long DescribeLivePushProxyLogRequest::getPageSize() const { + return pageSize_; +} + +void DescribeLivePushProxyLogRequest::setPageSize(long pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string DescribeLivePushProxyLogRequest::getDomainName() const { + return domainName_; +} + +void DescribeLivePushProxyLogRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeLivePushProxyLogRequest::getEndTime() const { + return endTime_; +} + +void DescribeLivePushProxyLogRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeLivePushProxyLogRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLivePushProxyLogRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/live/src/model/DescribeLivePushProxyLogResult.cc b/live/src/model/DescribeLivePushProxyLogResult.cc new file mode 100644 index 000000000..85b1b7c65 --- /dev/null +++ b/live/src/model/DescribeLivePushProxyLogResult.cc @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLivePushProxyLogResult::DescribeLivePushProxyLogResult() : + ServiceResult() +{} + +DescribeLivePushProxyLogResult::DescribeLivePushProxyLogResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLivePushProxyLogResult::~DescribeLivePushProxyLogResult() +{} + +void DescribeLivePushProxyLogResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDomainLogDetailsNode = value["DomainLogDetails"]["DomainLogDetail"]; + for (auto valueDomainLogDetailsDomainLogDetail : allDomainLogDetailsNode) + { + DomainLogDetail domainLogDetailsObject; + if(!valueDomainLogDetailsDomainLogDetail["LogCount"].isNull()) + domainLogDetailsObject.logCount = std::stol(valueDomainLogDetailsDomainLogDetail["LogCount"].asString()); + auto allLogInfosNode = valueDomainLogDetailsDomainLogDetail["LogInfos"]["LogInfoDetail"]; + for (auto valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail : allLogInfosNode) + { + DomainLogDetail::LogInfoDetail logInfosObject; + if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["EndTime"].isNull()) + logInfosObject.endTime = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["EndTime"].asString(); + if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogSize"].isNull()) + logInfosObject.logSize = std::stol(valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogSize"].asString()); + if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["StartTime"].isNull()) + logInfosObject.startTime = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["StartTime"].asString(); + if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogName"].isNull()) + logInfosObject.logName = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogName"].asString(); + if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogPath"].isNull()) + logInfosObject.logPath = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogPath"].asString(); + domainLogDetailsObject.logInfos.push_back(logInfosObject); + } + auto pageInfosNode = value["PageInfos"]; + if(!pageInfosNode["PageIndex"].isNull()) + domainLogDetailsObject.pageInfos.pageIndex = std::stol(pageInfosNode["PageIndex"].asString()); + if(!pageInfosNode["PageSize"].isNull()) + domainLogDetailsObject.pageInfos.pageSize = std::stol(pageInfosNode["PageSize"].asString()); + if(!pageInfosNode["Total"].isNull()) + domainLogDetailsObject.pageInfos.total = std::stol(pageInfosNode["Total"].asString()); + domainLogDetails_.push_back(domainLogDetailsObject); + } + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + +} + +std::string DescribeLivePushProxyLogResult::getDomainName()const +{ + return domainName_; +} + +std::vector DescribeLivePushProxyLogResult::getDomainLogDetails()const +{ + return domainLogDetails_; +} + diff --git a/live/src/model/DescribeLivePushProxyUsageDataRequest.cc b/live/src/model/DescribeLivePushProxyUsageDataRequest.cc new file mode 100644 index 000000000..0d847ef7b --- /dev/null +++ b/live/src/model/DescribeLivePushProxyUsageDataRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLivePushProxyUsageDataRequest; + +DescribeLivePushProxyUsageDataRequest::DescribeLivePushProxyUsageDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLivePushProxyUsageData") { + setMethod(HttpRequest::Method::Post); +} + +DescribeLivePushProxyUsageDataRequest::~DescribeLivePushProxyUsageDataRequest() {} + +std::string DescribeLivePushProxyUsageDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeLivePushProxyUsageDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeLivePushProxyUsageDataRequest::getSplitBy() const { + return splitBy_; +} + +void DescribeLivePushProxyUsageDataRequest::setSplitBy(const std::string &splitBy) { + splitBy_ = splitBy; + setParameter(std::string("SplitBy"), splitBy); +} + +std::string DescribeLivePushProxyUsageDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeLivePushProxyUsageDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeLivePushProxyUsageDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeLivePushProxyUsageDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeLivePushProxyUsageDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLivePushProxyUsageDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string DescribeLivePushProxyUsageDataRequest::getRegion() const { + return region_; +} + +void DescribeLivePushProxyUsageDataRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); +} + diff --git a/live/src/model/DescribeLivePushProxyUsageDataResult.cc b/live/src/model/DescribeLivePushProxyUsageDataResult.cc new file mode 100644 index 000000000..a3bcd1b99 --- /dev/null +++ b/live/src/model/DescribeLivePushProxyUsageDataResult.cc @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLivePushProxyUsageDataResult::DescribeLivePushProxyUsageDataResult() : + ServiceResult() +{} + +DescribeLivePushProxyUsageDataResult::DescribeLivePushProxyUsageDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLivePushProxyUsageDataResult::~DescribeLivePushProxyUsageDataResult() +{} + +void DescribeLivePushProxyUsageDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allPushProxyDataNode = value["PushProxyData"]["PushProxyDataItem"]; + for (auto valuePushProxyDataPushProxyDataItem : allPushProxyDataNode) + { + PushProxyDataItem pushProxyDataObject; + if(!valuePushProxyDataPushProxyDataItem["TimeStamp"].isNull()) + pushProxyDataObject.timeStamp = valuePushProxyDataPushProxyDataItem["TimeStamp"].asString(); + if(!valuePushProxyDataPushProxyDataItem["StreamCount"].isNull()) + pushProxyDataObject.streamCount = std::stol(valuePushProxyDataPushProxyDataItem["StreamCount"].asString()); + if(!valuePushProxyDataPushProxyDataItem["DomainName"].isNull()) + pushProxyDataObject.domainName = valuePushProxyDataPushProxyDataItem["DomainName"].asString(); + if(!valuePushProxyDataPushProxyDataItem["Region"].isNull()) + pushProxyDataObject.region = valuePushProxyDataPushProxyDataItem["Region"].asString(); + pushProxyData_.push_back(pushProxyDataObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + +} + +std::string DescribeLivePushProxyUsageDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeLivePushProxyUsageDataResult::getStartTime()const +{ + return startTime_; +} + +std::vector DescribeLivePushProxyUsageDataResult::getPushProxyData()const +{ + return pushProxyData_; +} + diff --git a/live/src/model/DescribeLiveStreamMonitorListResult.cc b/live/src/model/DescribeLiveStreamMonitorListResult.cc index c98f94e2f..80a27373f 100644 --- a/live/src/model/DescribeLiveStreamMonitorListResult.cc +++ b/live/src/model/DescribeLiveStreamMonitorListResult.cc @@ -43,26 +43,30 @@ void DescribeLiveStreamMonitorListResult::parse(const std::string &payload) for (auto valueLiveStreamMonitorListLiveStreamMonitorInfo : allLiveStreamMonitorListNode) { LiveStreamMonitorInfo liveStreamMonitorListObject; - if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["Status"].isNull()) - liveStreamMonitorListObject.status = std::stoi(valueLiveStreamMonitorListLiveStreamMonitorInfo["Status"].asString()); if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["MonitorConfig"].isNull()) liveStreamMonitorListObject.monitorConfig = valueLiveStreamMonitorListLiveStreamMonitorInfo["MonitorConfig"].asString(); - if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["StartTime"].isNull()) - liveStreamMonitorListObject.startTime = valueLiveStreamMonitorListLiveStreamMonitorInfo["StartTime"].asString(); + if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["Status"].isNull()) + liveStreamMonitorListObject.status = std::stoi(valueLiveStreamMonitorListLiveStreamMonitorInfo["Status"].asString()); if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["MonitorId"].isNull()) liveStreamMonitorListObject.monitorId = valueLiveStreamMonitorListLiveStreamMonitorInfo["MonitorId"].asString(); if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["Domain"].isNull()) liveStreamMonitorListObject.domain = valueLiveStreamMonitorListLiveStreamMonitorInfo["Domain"].asString(); - if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["OutputTemplate"].isNull()) - liveStreamMonitorListObject.outputTemplate = valueLiveStreamMonitorListLiveStreamMonitorInfo["OutputTemplate"].asString(); - if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["Region"].isNull()) - liveStreamMonitorListObject.region = valueLiveStreamMonitorListLiveStreamMonitorInfo["Region"].asString(); + if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["CallbackUrl"].isNull()) + liveStreamMonitorListObject.callbackUrl = valueLiveStreamMonitorListLiveStreamMonitorInfo["CallbackUrl"].asString(); if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["AudioFrom"].isNull()) liveStreamMonitorListObject.audioFrom = std::stoi(valueLiveStreamMonitorListLiveStreamMonitorInfo["AudioFrom"].asString()); + if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["DingTalkWebHookUrl"].isNull()) + liveStreamMonitorListObject.dingTalkWebHookUrl = valueLiveStreamMonitorListLiveStreamMonitorInfo["DingTalkWebHookUrl"].asString(); if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["MonitorName"].isNull()) liveStreamMonitorListObject.monitorName = valueLiveStreamMonitorListLiveStreamMonitorInfo["MonitorName"].asString(); if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["StopTime"].isNull()) liveStreamMonitorListObject.stopTime = valueLiveStreamMonitorListLiveStreamMonitorInfo["StopTime"].asString(); + if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["StartTime"].isNull()) + liveStreamMonitorListObject.startTime = valueLiveStreamMonitorListLiveStreamMonitorInfo["StartTime"].asString(); + if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["OutputTemplate"].isNull()) + liveStreamMonitorListObject.outputTemplate = valueLiveStreamMonitorListLiveStreamMonitorInfo["OutputTemplate"].asString(); + if(!valueLiveStreamMonitorListLiveStreamMonitorInfo["Region"].isNull()) + liveStreamMonitorListObject.region = valueLiveStreamMonitorListLiveStreamMonitorInfo["Region"].asString(); auto allInputListNode = valueLiveStreamMonitorListLiveStreamMonitorInfo["InputList"]["InputConfig"]; for (auto valueLiveStreamMonitorListLiveStreamMonitorInfoInputListInputConfig : allInputListNode) { diff --git a/live/src/model/DescribeLiveStreamPushMetricDetailDataRequest.cc b/live/src/model/DescribeLiveStreamPushMetricDetailDataRequest.cc new file mode 100644 index 000000000..753fbc9e7 --- /dev/null +++ b/live/src/model/DescribeLiveStreamPushMetricDetailDataRequest.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamPushMetricDetailDataRequest; + +DescribeLiveStreamPushMetricDetailDataRequest::DescribeLiveStreamPushMetricDetailDataRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamPushMetricDetailData") { + setMethod(HttpRequest::Method::Post); +} + +DescribeLiveStreamPushMetricDetailDataRequest::~DescribeLiveStreamPushMetricDetailDataRequest() {} + +std::string DescribeLiveStreamPushMetricDetailDataRequest::getNextPageToken() const { + return nextPageToken_; +} + +void DescribeLiveStreamPushMetricDetailDataRequest::setNextPageToken(const std::string &nextPageToken) { + nextPageToken_ = nextPageToken; + setParameter(std::string("NextPageToken"), nextPageToken); +} + +std::string DescribeLiveStreamPushMetricDetailDataRequest::getStartTime() const { + return startTime_; +} + +void DescribeLiveStreamPushMetricDetailDataRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeLiveStreamPushMetricDetailDataRequest::getAppName() const { + return appName_; +} + +void DescribeLiveStreamPushMetricDetailDataRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); +} + +std::string DescribeLiveStreamPushMetricDetailDataRequest::getStreamName() const { + return streamName_; +} + +void DescribeLiveStreamPushMetricDetailDataRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); +} + +std::string DescribeLiveStreamPushMetricDetailDataRequest::getDomainName() const { + return domainName_; +} + +void DescribeLiveStreamPushMetricDetailDataRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeLiveStreamPushMetricDetailDataRequest::getEndTime() const { + return endTime_; +} + +void DescribeLiveStreamPushMetricDetailDataRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeLiveStreamPushMetricDetailDataRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveStreamPushMetricDetailDataRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/live/src/model/DescribeLiveStreamPushMetricDetailDataResult.cc b/live/src/model/DescribeLiveStreamPushMetricDetailDataResult.cc new file mode 100644 index 000000000..d4a488c30 --- /dev/null +++ b/live/src/model/DescribeLiveStreamPushMetricDetailDataResult.cc @@ -0,0 +1,100 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveStreamPushMetricDetailDataResult::DescribeLiveStreamPushMetricDetailDataResult() : + ServiceResult() +{} + +DescribeLiveStreamPushMetricDetailDataResult::DescribeLiveStreamPushMetricDetailDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveStreamPushMetricDetailDataResult::~DescribeLiveStreamPushMetricDetailDataResult() +{} + +void DescribeLiveStreamPushMetricDetailDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allStreamDetailDataNode = value["StreamDetailData"]["StreamData"]; + for (auto valueStreamDetailDataStreamData : allStreamDetailDataNode) + { + StreamData streamDetailDataObject; + if(!valueStreamDetailDataStreamData["AppName"].isNull()) + streamDetailDataObject.appName = valueStreamDetailDataStreamData["AppName"].asString(); + if(!valueStreamDetailDataStreamData["TimeStamp"].isNull()) + streamDetailDataObject.timeStamp = valueStreamDetailDataStreamData["TimeStamp"].asString(); + if(!valueStreamDetailDataStreamData["ReqBps"].isNull()) + streamDetailDataObject.reqBps = std::stof(valueStreamDetailDataStreamData["ReqBps"].asString()); + if(!valueStreamDetailDataStreamData["ReqTraffic"].isNull()) + streamDetailDataObject.reqTraffic = std::stol(valueStreamDetailDataStreamData["ReqTraffic"].asString()); + if(!valueStreamDetailDataStreamData["StreamName"].isNull()) + streamDetailDataObject.streamName = valueStreamDetailDataStreamData["StreamName"].asString(); + streamDetailData_.push_back(streamDetailDataObject); + } + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["NextPageToken"].isNull()) + nextPageToken_ = value["NextPageToken"].asString(); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + +} + +std::string DescribeLiveStreamPushMetricDetailDataResult::getEndTime()const +{ + return endTime_; +} + +int DescribeLiveStreamPushMetricDetailDataResult::getPageSize()const +{ + return pageSize_; +} + +std::string DescribeLiveStreamPushMetricDetailDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeLiveStreamPushMetricDetailDataResult::getNextPageToken()const +{ + return nextPageToken_; +} + +std::string DescribeLiveStreamPushMetricDetailDataResult::getStartTime()const +{ + return startTime_; +} + +std::vector DescribeLiveStreamPushMetricDetailDataResult::getStreamDetailData()const +{ + return streamDetailData_; +} + diff --git a/live/src/model/DescribeLiveStreamsTotalCountRequest.cc b/live/src/model/DescribeLiveStreamsTotalCountRequest.cc new file mode 100644 index 000000000..2293203a0 --- /dev/null +++ b/live/src/model/DescribeLiveStreamsTotalCountRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveStreamsTotalCountRequest; + +DescribeLiveStreamsTotalCountRequest::DescribeLiveStreamsTotalCountRequest() + : RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamsTotalCount") { + setMethod(HttpRequest::Method::Post); +} + +DescribeLiveStreamsTotalCountRequest::~DescribeLiveStreamsTotalCountRequest() {} + +std::string DescribeLiveStreamsTotalCountRequest::getTyp() const { + return typ_; +} + +void DescribeLiveStreamsTotalCountRequest::setTyp(const std::string &typ) { + typ_ = typ; + setParameter(std::string("Typ"), typ); +} + +std::string DescribeLiveStreamsTotalCountRequest::getStartTime() const { + return startTime_; +} + +void DescribeLiveStreamsTotalCountRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); +} + +std::string DescribeLiveStreamsTotalCountRequest::getDomainName() const { + return domainName_; +} + +void DescribeLiveStreamsTotalCountRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +std::string DescribeLiveStreamsTotalCountRequest::getEndTime() const { + return endTime_; +} + +void DescribeLiveStreamsTotalCountRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); +} + +long DescribeLiveStreamsTotalCountRequest::getOwnerId() const { + return ownerId_; +} + +void DescribeLiveStreamsTotalCountRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/live/src/model/DescribeLiveStreamsTotalCountResult.cc b/live/src/model/DescribeLiveStreamsTotalCountResult.cc new file mode 100644 index 000000000..2468e5023 --- /dev/null +++ b/live/src/model/DescribeLiveStreamsTotalCountResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +DescribeLiveStreamsTotalCountResult::DescribeLiveStreamsTotalCountResult() : + ServiceResult() +{} + +DescribeLiveStreamsTotalCountResult::DescribeLiveStreamsTotalCountResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveStreamsTotalCountResult::~DescribeLiveStreamsTotalCountResult() +{} + +void DescribeLiveStreamsTotalCountResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allStreamCountListNode = value["StreamCountList"]["StreamCountInfos"]; + for (auto valueStreamCountListStreamCountInfos : allStreamCountListNode) + { + StreamCountInfos streamCountListObject; + if(!valueStreamCountListStreamCountInfos["Count"].isNull()) + streamCountListObject.count = std::stoi(valueStreamCountListStreamCountInfos["Count"].asString()); + if(!valueStreamCountListStreamCountInfos["Timestamp"].isNull()) + streamCountListObject.timestamp = valueStreamCountListStreamCountInfos["Timestamp"].asString(); + streamCountList_.push_back(streamCountListObject); + } + +} + +std::vector DescribeLiveStreamsTotalCountResult::getStreamCountList()const +{ + return streamCountList_; +} + diff --git a/live/src/model/GetEdgeTranscodeJobRequest.cc b/live/src/model/GetEdgeTranscodeJobRequest.cc new file mode 100644 index 000000000..d73c69da5 --- /dev/null +++ b/live/src/model/GetEdgeTranscodeJobRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::GetEdgeTranscodeJobRequest; + +GetEdgeTranscodeJobRequest::GetEdgeTranscodeJobRequest() + : RpcServiceRequest("live", "2016-11-01", "GetEdgeTranscodeJob") { + setMethod(HttpRequest::Method::Post); +} + +GetEdgeTranscodeJobRequest::~GetEdgeTranscodeJobRequest() {} + +std::string GetEdgeTranscodeJobRequest::getJobId() const { + return jobId_; +} + +void GetEdgeTranscodeJobRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); +} + +std::string GetEdgeTranscodeJobRequest::getClusterId() const { + return clusterId_; +} + +void GetEdgeTranscodeJobRequest::setClusterId(const std::string &clusterId) { + clusterId_ = clusterId; + setParameter(std::string("ClusterId"), clusterId); +} + +long GetEdgeTranscodeJobRequest::getOwnerId() const { + return ownerId_; +} + +void GetEdgeTranscodeJobRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/live/src/model/GetEdgeTranscodeJobResult.cc b/live/src/model/GetEdgeTranscodeJobResult.cc new file mode 100644 index 000000000..e1d9bf3df --- /dev/null +++ b/live/src/model/GetEdgeTranscodeJobResult.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +GetEdgeTranscodeJobResult::GetEdgeTranscodeJobResult() : + ServiceResult() +{} + +GetEdgeTranscodeJobResult::GetEdgeTranscodeJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetEdgeTranscodeJobResult::~GetEdgeTranscodeJobResult() +{} + +void GetEdgeTranscodeJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto jobNode = value["Job"]; + if(!jobNode["Status"].isNull()) + job_.status = jobNode["Status"].asString(); + if(!jobNode["Type"].isNull()) + job_.type = jobNode["Type"].asString(); + if(!jobNode["StreamInput"].isNull()) + job_.streamInput = jobNode["StreamInput"].asString(); + if(!jobNode["StreamOutput"].isNull()) + job_.streamOutput = jobNode["StreamOutput"].asString(); + if(!jobNode["LastStopAt"].isNull()) + job_.lastStopAt = jobNode["LastStopAt"].asString(); + if(!jobNode["LastStartAt"].isNull()) + job_.lastStartAt = jobNode["LastStartAt"].asString(); + if(!jobNode["CreateTime"].isNull()) + job_.createTime = jobNode["CreateTime"].asString(); + if(!jobNode["JobId"].isNull()) + job_.jobId = jobNode["JobId"].asString(); + if(!jobNode["TemplateName"].isNull()) + job_.templateName = jobNode["TemplateName"].asString(); + if(!jobNode["Name"].isNull()) + job_.name = jobNode["Name"].asString(); + if(!jobNode["TemplateId"].isNull()) + job_.templateId = jobNode["TemplateId"].asString(); + +} + +GetEdgeTranscodeJobResult::Job GetEdgeTranscodeJobResult::getJob()const +{ + return job_; +} + diff --git a/live/src/model/GetEdgeTranscodeTemplateRequest.cc b/live/src/model/GetEdgeTranscodeTemplateRequest.cc new file mode 100644 index 000000000..480e02102 --- /dev/null +++ b/live/src/model/GetEdgeTranscodeTemplateRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::GetEdgeTranscodeTemplateRequest; + +GetEdgeTranscodeTemplateRequest::GetEdgeTranscodeTemplateRequest() + : RpcServiceRequest("live", "2016-11-01", "GetEdgeTranscodeTemplate") { + setMethod(HttpRequest::Method::Post); +} + +GetEdgeTranscodeTemplateRequest::~GetEdgeTranscodeTemplateRequest() {} + +std::string GetEdgeTranscodeTemplateRequest::getClusterId() const { + return clusterId_; +} + +void GetEdgeTranscodeTemplateRequest::setClusterId(const std::string &clusterId) { + clusterId_ = clusterId; + setParameter(std::string("ClusterId"), clusterId); +} + +long GetEdgeTranscodeTemplateRequest::getOwnerId() const { + return ownerId_; +} + +void GetEdgeTranscodeTemplateRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string GetEdgeTranscodeTemplateRequest::getTemplateId() const { + return templateId_; +} + +void GetEdgeTranscodeTemplateRequest::setTemplateId(const std::string &templateId) { + templateId_ = templateId; + setParameter(std::string("TemplateId"), templateId); +} + diff --git a/live/src/model/GetEdgeTranscodeTemplateResult.cc b/live/src/model/GetEdgeTranscodeTemplateResult.cc new file mode 100644 index 000000000..fefd82fc7 --- /dev/null +++ b/live/src/model/GetEdgeTranscodeTemplateResult.cc @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +GetEdgeTranscodeTemplateResult::GetEdgeTranscodeTemplateResult() : + ServiceResult() +{} + +GetEdgeTranscodeTemplateResult::GetEdgeTranscodeTemplateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetEdgeTranscodeTemplateResult::~GetEdgeTranscodeTemplateResult() +{} + +void GetEdgeTranscodeTemplateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto _templateNode = value["Template"]; + if(!_templateNode["Type"].isNull()) + _template_.type = _templateNode["Type"].asString(); + if(!_templateNode["Gop"].isNull()) + _template_.gop = _templateNode["Gop"].asString(); + if(!_templateNode["CreateTime"].isNull()) + _template_.createTime = _templateNode["CreateTime"].asString(); + if(!_templateNode["Codec"].isNull()) + _template_.codec = _templateNode["Codec"].asString(); + if(!_templateNode["Fps"].isNull()) + _template_.fps = _templateNode["Fps"].asString(); + if(!_templateNode["Bitrate"].isNull()) + _template_.bitrate = _templateNode["Bitrate"].asString(); + if(!_templateNode["Name"].isNull()) + _template_.name = _templateNode["Name"].asString(); + if(!_templateNode["Resolution"].isNull()) + _template_.resolution = _templateNode["Resolution"].asString(); + if(!_templateNode["TemplateId"].isNull()) + _template_.templateId = _templateNode["TemplateId"].asString(); + +} + +GetEdgeTranscodeTemplateResult::_Template GetEdgeTranscodeTemplateResult::get_Template()const +{ + return _template_; +} + diff --git a/live/src/model/ListEdgeTranscodeJobRequest.cc b/live/src/model/ListEdgeTranscodeJobRequest.cc new file mode 100644 index 000000000..a0f070fdf --- /dev/null +++ b/live/src/model/ListEdgeTranscodeJobRequest.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::ListEdgeTranscodeJobRequest; + +ListEdgeTranscodeJobRequest::ListEdgeTranscodeJobRequest() + : RpcServiceRequest("live", "2016-11-01", "ListEdgeTranscodeJob") { + setMethod(HttpRequest::Method::Post); +} + +ListEdgeTranscodeJobRequest::~ListEdgeTranscodeJobRequest() {} + +std::string ListEdgeTranscodeJobRequest::getType() const { + return type_; +} + +void ListEdgeTranscodeJobRequest::setType(const std::string &type) { + type_ = type; + setParameter(std::string("Type"), type); +} + +int ListEdgeTranscodeJobRequest::getPageSize() const { + return pageSize_; +} + +void ListEdgeTranscodeJobRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListEdgeTranscodeJobRequest::getKeyword() const { + return keyword_; +} + +void ListEdgeTranscodeJobRequest::setKeyword(const std::string &keyword) { + keyword_ = keyword; + setParameter(std::string("Keyword"), keyword); +} + +std::string ListEdgeTranscodeJobRequest::getClusterId() const { + return clusterId_; +} + +void ListEdgeTranscodeJobRequest::setClusterId(const std::string &clusterId) { + clusterId_ = clusterId; + setParameter(std::string("ClusterId"), clusterId); +} + +long ListEdgeTranscodeJobRequest::getOwnerId() const { + return ownerId_; +} + +void ListEdgeTranscodeJobRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +int ListEdgeTranscodeJobRequest::getPageNo() const { + return pageNo_; +} + +void ListEdgeTranscodeJobRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +std::string ListEdgeTranscodeJobRequest::getSortBy() const { + return sortBy_; +} + +void ListEdgeTranscodeJobRequest::setSortBy(const std::string &sortBy) { + sortBy_ = sortBy; + setParameter(std::string("SortBy"), sortBy); +} + +int ListEdgeTranscodeJobRequest::getStatus() const { + return status_; +} + +void ListEdgeTranscodeJobRequest::setStatus(int status) { + status_ = status; + setParameter(std::string("Status"), std::to_string(status)); +} + diff --git a/live/src/model/ListEdgeTranscodeJobResult.cc b/live/src/model/ListEdgeTranscodeJobResult.cc new file mode 100644 index 000000000..1bfba3850 --- /dev/null +++ b/live/src/model/ListEdgeTranscodeJobResult.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +ListEdgeTranscodeJobResult::ListEdgeTranscodeJobResult() : + ServiceResult() +{} + +ListEdgeTranscodeJobResult::ListEdgeTranscodeJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListEdgeTranscodeJobResult::~ListEdgeTranscodeJobResult() +{} + +void ListEdgeTranscodeJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allJobListNode = value["JobList"]["Job"]; + for (auto valueJobListJob : allJobListNode) + { + Job jobListObject; + if(!valueJobListJob["Status"].isNull()) + jobListObject.status = valueJobListJob["Status"].asString(); + if(!valueJobListJob["Type"].isNull()) + jobListObject.type = valueJobListJob["Type"].asString(); + if(!valueJobListJob["StreamInput"].isNull()) + jobListObject.streamInput = valueJobListJob["StreamInput"].asString(); + if(!valueJobListJob["StreamOutput"].isNull()) + jobListObject.streamOutput = valueJobListJob["StreamOutput"].asString(); + if(!valueJobListJob["LastStopAt"].isNull()) + jobListObject.lastStopAt = valueJobListJob["LastStopAt"].asString(); + if(!valueJobListJob["LastStartAt"].isNull()) + jobListObject.lastStartAt = valueJobListJob["LastStartAt"].asString(); + if(!valueJobListJob["CreateTime"].isNull()) + jobListObject.createTime = valueJobListJob["CreateTime"].asString(); + if(!valueJobListJob["JobId"].isNull()) + jobListObject.jobId = valueJobListJob["JobId"].asString(); + if(!valueJobListJob["TemplateName"].isNull()) + jobListObject.templateName = valueJobListJob["TemplateName"].asString(); + if(!valueJobListJob["Name"].isNull()) + jobListObject.name = valueJobListJob["Name"].asString(); + if(!valueJobListJob["TemplateId"].isNull()) + jobListObject.templateId = valueJobListJob["TemplateId"].asString(); + jobList_.push_back(jobListObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int ListEdgeTranscodeJobResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector ListEdgeTranscodeJobResult::getJobList()const +{ + return jobList_; +} + diff --git a/live/src/model/ListEdgeTranscodeTemplateRequest.cc b/live/src/model/ListEdgeTranscodeTemplateRequest.cc new file mode 100644 index 000000000..b7fbb2afb --- /dev/null +++ b/live/src/model/ListEdgeTranscodeTemplateRequest.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::ListEdgeTranscodeTemplateRequest; + +ListEdgeTranscodeTemplateRequest::ListEdgeTranscodeTemplateRequest() + : RpcServiceRequest("live", "2016-11-01", "ListEdgeTranscodeTemplate") { + setMethod(HttpRequest::Method::Post); +} + +ListEdgeTranscodeTemplateRequest::~ListEdgeTranscodeTemplateRequest() {} + +std::string ListEdgeTranscodeTemplateRequest::getType() const { + return type_; +} + +void ListEdgeTranscodeTemplateRequest::setType(const std::string &type) { + type_ = type; + setParameter(std::string("Type"), type); +} + +int ListEdgeTranscodeTemplateRequest::getPageSize() const { + return pageSize_; +} + +void ListEdgeTranscodeTemplateRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListEdgeTranscodeTemplateRequest::getKeyword() const { + return keyword_; +} + +void ListEdgeTranscodeTemplateRequest::setKeyword(const std::string &keyword) { + keyword_ = keyword; + setParameter(std::string("Keyword"), keyword); +} + +std::string ListEdgeTranscodeTemplateRequest::getClusterId() const { + return clusterId_; +} + +void ListEdgeTranscodeTemplateRequest::setClusterId(const std::string &clusterId) { + clusterId_ = clusterId; + setParameter(std::string("ClusterId"), clusterId); +} + +long ListEdgeTranscodeTemplateRequest::getOwnerId() const { + return ownerId_; +} + +void ListEdgeTranscodeTemplateRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +int ListEdgeTranscodeTemplateRequest::getPageNo() const { + return pageNo_; +} + +void ListEdgeTranscodeTemplateRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +std::string ListEdgeTranscodeTemplateRequest::getSortBy() const { + return sortBy_; +} + +void ListEdgeTranscodeTemplateRequest::setSortBy(const std::string &sortBy) { + sortBy_ = sortBy; + setParameter(std::string("SortBy"), sortBy); +} + +std::string ListEdgeTranscodeTemplateRequest::getVideoCodec() const { + return videoCodec_; +} + +void ListEdgeTranscodeTemplateRequest::setVideoCodec(const std::string &videoCodec) { + videoCodec_ = videoCodec; + setParameter(std::string("VideoCodec"), videoCodec); +} + diff --git a/live/src/model/ListEdgeTranscodeTemplateResult.cc b/live/src/model/ListEdgeTranscodeTemplateResult.cc new file mode 100644 index 000000000..21d8f1265 --- /dev/null +++ b/live/src/model/ListEdgeTranscodeTemplateResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +ListEdgeTranscodeTemplateResult::ListEdgeTranscodeTemplateResult() : + ServiceResult() +{} + +ListEdgeTranscodeTemplateResult::ListEdgeTranscodeTemplateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListEdgeTranscodeTemplateResult::~ListEdgeTranscodeTemplateResult() +{} + +void ListEdgeTranscodeTemplateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allTemplateListNode = value["TemplateList"]["Template"]; + for (auto valueTemplateListTemplate : allTemplateListNode) + { + _Template templateListObject; + if(!valueTemplateListTemplate["Type"].isNull()) + templateListObject.type = valueTemplateListTemplate["Type"].asString(); + if(!valueTemplateListTemplate["Gop"].isNull()) + templateListObject.gop = valueTemplateListTemplate["Gop"].asString(); + if(!valueTemplateListTemplate["CreateTime"].isNull()) + templateListObject.createTime = valueTemplateListTemplate["CreateTime"].asString(); + if(!valueTemplateListTemplate["Codec"].isNull()) + templateListObject.codec = valueTemplateListTemplate["Codec"].asString(); + if(!valueTemplateListTemplate["Fps"].isNull()) + templateListObject.fps = valueTemplateListTemplate["Fps"].asString(); + if(!valueTemplateListTemplate["Bitrate"].isNull()) + templateListObject.bitrate = valueTemplateListTemplate["Bitrate"].asString(); + if(!valueTemplateListTemplate["Name"].isNull()) + templateListObject.name = valueTemplateListTemplate["Name"].asString(); + if(!valueTemplateListTemplate["Resolution"].isNull()) + templateListObject.resolution = valueTemplateListTemplate["Resolution"].asString(); + if(!valueTemplateListTemplate["TemplateId"].isNull()) + templateListObject.templateId = valueTemplateListTemplate["TemplateId"].asString(); + templateList_.push_back(templateListObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int ListEdgeTranscodeTemplateResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector ListEdgeTranscodeTemplateResult::getTemplateList()const +{ + return templateList_; +} + diff --git a/live/src/model/SetLiveLazyPullStreamInfoConfigRequest.cc b/live/src/model/SetLiveLazyPullStreamInfoConfigRequest.cc index d68a8a156..dee75b03a 100644 --- a/live/src/model/SetLiveLazyPullStreamInfoConfigRequest.cc +++ b/live/src/model/SetLiveLazyPullStreamInfoConfigRequest.cc @@ -106,6 +106,15 @@ void SetLiveLazyPullStreamInfoConfigRequest::setPullAppName(const std::string &p setParameter(std::string("PullAppName"), pullAppName); } +std::string SetLiveLazyPullStreamInfoConfigRequest::getTranscodeLazy() const { + return transcodeLazy_; +} + +void SetLiveLazyPullStreamInfoConfigRequest::setTranscodeLazy(const std::string &transcodeLazy) { + transcodeLazy_ = transcodeLazy; + setParameter(std::string("TranscodeLazy"), transcodeLazy); +} + std::string SetLiveLazyPullStreamInfoConfigRequest::getPullProtocol() const { return pullProtocol_; } diff --git a/live/src/model/StartEdgeTranscodeJobRequest.cc b/live/src/model/StartEdgeTranscodeJobRequest.cc new file mode 100644 index 000000000..e98e0bca5 --- /dev/null +++ b/live/src/model/StartEdgeTranscodeJobRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::StartEdgeTranscodeJobRequest; + +StartEdgeTranscodeJobRequest::StartEdgeTranscodeJobRequest() + : RpcServiceRequest("live", "2016-11-01", "StartEdgeTranscodeJob") { + setMethod(HttpRequest::Method::Post); +} + +StartEdgeTranscodeJobRequest::~StartEdgeTranscodeJobRequest() {} + +std::string StartEdgeTranscodeJobRequest::getJobId() const { + return jobId_; +} + +void StartEdgeTranscodeJobRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); +} + +std::string StartEdgeTranscodeJobRequest::getClusterId() const { + return clusterId_; +} + +void StartEdgeTranscodeJobRequest::setClusterId(const std::string &clusterId) { + clusterId_ = clusterId; + setParameter(std::string("ClusterId"), clusterId); +} + +long StartEdgeTranscodeJobRequest::getOwnerId() const { + return ownerId_; +} + +void StartEdgeTranscodeJobRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/live/src/model/StartEdgeTranscodeJobResult.cc b/live/src/model/StartEdgeTranscodeJobResult.cc new file mode 100644 index 000000000..cdb22c2b1 --- /dev/null +++ b/live/src/model/StartEdgeTranscodeJobResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +StartEdgeTranscodeJobResult::StartEdgeTranscodeJobResult() : + ServiceResult() +{} + +StartEdgeTranscodeJobResult::StartEdgeTranscodeJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StartEdgeTranscodeJobResult::~StartEdgeTranscodeJobResult() +{} + +void StartEdgeTranscodeJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["JobId"].isNull()) + jobId_ = value["JobId"].asString(); + +} + +std::string StartEdgeTranscodeJobResult::getJobId()const +{ + return jobId_; +} + diff --git a/live/src/model/StartLiveMPUTaskRequest.cc b/live/src/model/StartLiveMPUTaskRequest.cc new file mode 100644 index 000000000..57173819d --- /dev/null +++ b/live/src/model/StartLiveMPUTaskRequest.cc @@ -0,0 +1,144 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::StartLiveMPUTaskRequest; + +StartLiveMPUTaskRequest::StartLiveMPUTaskRequest() + : RpcServiceRequest("live", "2016-11-01", "StartLiveMPUTask") { + setMethod(HttpRequest::Method::Post); +} + +StartLiveMPUTaskRequest::~StartLiveMPUTaskRequest() {} + +StartLiveMPUTaskRequest::SingleSubParams StartLiveMPUTaskRequest::getSingleSubParams() const { + return singleSubParams_; +} + +void StartLiveMPUTaskRequest::setSingleSubParams(const StartLiveMPUTaskRequest::SingleSubParams &singleSubParams) { + singleSubParams_ = singleSubParams; + setParameter(std::string("SingleSubParams") + ".StreamType", singleSubParams.streamType); + setParameter(std::string("SingleSubParams") + ".SourceType", singleSubParams.sourceType); + setParameter(std::string("SingleSubParams") + ".UserId", singleSubParams.userId); +} + +StartLiveMPUTaskRequest::SeiParams StartLiveMPUTaskRequest::getSeiParams() const { + return seiParams_; +} + +void StartLiveMPUTaskRequest::setSeiParams(const StartLiveMPUTaskRequest::SeiParams &seiParams) { + seiParams_ = seiParams; + setParameter(std::string("SeiParams") + ".LayoutVolume.FollowIdr", seiParams.layoutVolume.followIdr); + setParameter(std::string("SeiParams") + ".LayoutVolume.PayloadType", seiParams.layoutVolume.payloadType); + setParameter(std::string("SeiParams") + ".LayoutVolume.Interval", seiParams.layoutVolume.interval); + setParameter(std::string("SeiParams") + ".PassThrough.FollowIdr", seiParams.passThrough.followIdr); + setParameter(std::string("SeiParams") + ".PassThrough.PayloadType", seiParams.passThrough.payloadType); + setParameter(std::string("SeiParams") + ".PassThrough.PayloadContent", seiParams.passThrough.payloadContent); + setParameter(std::string("SeiParams") + ".PassThrough.Interval", seiParams.passThrough.interval); +} + +StartLiveMPUTaskRequest::TranscodeParams StartLiveMPUTaskRequest::getTranscodeParams() const { + return transcodeParams_; +} + +void StartLiveMPUTaskRequest::setTranscodeParams(const StartLiveMPUTaskRequest::TranscodeParams &transcodeParams) { + transcodeParams_ = transcodeParams; + for(int dep1 = 0; dep1 != transcodeParams.layout.userPanes.size(); dep1++) { + setParameter(std::string("TranscodeParams") + ".Layout.UserPanes." + std::to_string(dep1 + 1) + ".BackgroundImageUrl", transcodeParams.layout.userPanes[dep1].backgroundImageUrl); + setParameter(std::string("TranscodeParams") + ".Layout.UserPanes." + std::to_string(dep1 + 1) + ".ZOrder", transcodeParams.layout.userPanes[dep1].zOrder); + setParameter(std::string("TranscodeParams") + ".Layout.UserPanes." + std::to_string(dep1 + 1) + ".X", transcodeParams.layout.userPanes[dep1].x); + setParameter(std::string("TranscodeParams") + ".Layout.UserPanes." + std::to_string(dep1 + 1) + ".Width", transcodeParams.layout.userPanes[dep1].width); + setParameter(std::string("TranscodeParams") + ".Layout.UserPanes." + std::to_string(dep1 + 1) + ".Y", transcodeParams.layout.userPanes[dep1].y); + setParameter(std::string("TranscodeParams") + ".Layout.UserPanes." + std::to_string(dep1 + 1) + ".UserInfo.SourceType", transcodeParams.layout.userPanes[dep1].userInfo.sourceType); + setParameter(std::string("TranscodeParams") + ".Layout.UserPanes." + std::to_string(dep1 + 1) + ".UserInfo.UserId", transcodeParams.layout.userPanes[dep1].userInfo.userId); + setParameter(std::string("TranscodeParams") + ".Layout.UserPanes." + std::to_string(dep1 + 1) + ".RenderMode", transcodeParams.layout.userPanes[dep1].renderMode); + setParameter(std::string("TranscodeParams") + ".Layout.UserPanes." + std::to_string(dep1 + 1) + ".Height", transcodeParams.layout.userPanes[dep1].height); + } + setParameter(std::string("TranscodeParams") + ".Layout.LayoutMode", transcodeParams.layout.layoutMode); + setParameter(std::string("TranscodeParams") + ".Layout.MaxVideoUser.StreamType", transcodeParams.layout.maxVideoUser.streamType); + setParameter(std::string("TranscodeParams") + ".Layout.MaxVideoUser.SourceType", transcodeParams.layout.maxVideoUser.sourceType); + setParameter(std::string("TranscodeParams") + ".Layout.MaxVideoUser.UserId", transcodeParams.layout.maxVideoUser.userId); + for(int dep1 = 0; dep1 != transcodeParams.userInfos.size(); dep1++) { + setParameter(std::string("TranscodeParams") + ".UserInfos." + std::to_string(dep1 + 1) + ".StreamType", transcodeParams.userInfos[dep1].streamType); + setParameter(std::string("TranscodeParams") + ".UserInfos." + std::to_string(dep1 + 1) + ".SourceType", transcodeParams.userInfos[dep1].sourceType); + setParameter(std::string("TranscodeParams") + ".UserInfos." + std::to_string(dep1 + 1) + ".UserId", transcodeParams.userInfos[dep1].userId); + } + setParameter(std::string("TranscodeParams") + ".EncodeParams.AudioOnly", transcodeParams.encodeParams.audioOnly); + setParameter(std::string("TranscodeParams") + ".EncodeParams.VideoWidth", transcodeParams.encodeParams.videoWidth); + setParameter(std::string("TranscodeParams") + ".EncodeParams.AudioBitrate", transcodeParams.encodeParams.audioBitrate); + setParameter(std::string("TranscodeParams") + ".EncodeParams.VideoFramerate", transcodeParams.encodeParams.videoFramerate); + setParameter(std::string("TranscodeParams") + ".EncodeParams.VIdeoHeight", transcodeParams.encodeParams.vIdeoHeight); + setParameter(std::string("TranscodeParams") + ".EncodeParams.VideoBitrate", transcodeParams.encodeParams.videoBitrate); + setParameter(std::string("TranscodeParams") + ".EncodeParams.AudioSampleRate", transcodeParams.encodeParams.audioSampleRate); + setParameter(std::string("TranscodeParams") + ".EncodeParams.VideoGop", transcodeParams.encodeParams.videoGop); + setParameter(std::string("TranscodeParams") + ".EncodeParams.AudioChannels", transcodeParams.encodeParams.audioChannels); +} + +std::string StartLiveMPUTaskRequest::getAppId() const { + return appId_; +} + +void StartLiveMPUTaskRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); +} + +std::string StartLiveMPUTaskRequest::getRegion() const { + return region_; +} + +void StartLiveMPUTaskRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); +} + +std::string StartLiveMPUTaskRequest::getMixMode() const { + return mixMode_; +} + +void StartLiveMPUTaskRequest::setMixMode(const std::string &mixMode) { + mixMode_ = mixMode; + setParameter(std::string("MixMode"), mixMode); +} + +std::string StartLiveMPUTaskRequest::getChannelId() const { + return channelId_; +} + +void StartLiveMPUTaskRequest::setChannelId(const std::string &channelId) { + channelId_ = channelId; + setParameter(std::string("ChannelId"), channelId); +} + +std::string StartLiveMPUTaskRequest::getTaskId() const { + return taskId_; +} + +void StartLiveMPUTaskRequest::setTaskId(const std::string &taskId) { + taskId_ = taskId; + setParameter(std::string("TaskId"), taskId); +} + +std::string StartLiveMPUTaskRequest::getStreamURL() const { + return streamURL_; +} + +void StartLiveMPUTaskRequest::setStreamURL(const std::string &streamURL) { + streamURL_ = streamURL; + setParameter(std::string("StreamURL"), streamURL); +} + diff --git a/live/src/model/StartLiveMPUTaskResult.cc b/live/src/model/StartLiveMPUTaskResult.cc new file mode 100644 index 000000000..49b17eaef --- /dev/null +++ b/live/src/model/StartLiveMPUTaskResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +StartLiveMPUTaskResult::StartLiveMPUTaskResult() : + ServiceResult() +{} + +StartLiveMPUTaskResult::StartLiveMPUTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StartLiveMPUTaskResult::~StartLiveMPUTaskResult() +{} + +void StartLiveMPUTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/StopEdgeTranscodeJobRequest.cc b/live/src/model/StopEdgeTranscodeJobRequest.cc new file mode 100644 index 000000000..95d7abb71 --- /dev/null +++ b/live/src/model/StopEdgeTranscodeJobRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::StopEdgeTranscodeJobRequest; + +StopEdgeTranscodeJobRequest::StopEdgeTranscodeJobRequest() + : RpcServiceRequest("live", "2016-11-01", "StopEdgeTranscodeJob") { + setMethod(HttpRequest::Method::Post); +} + +StopEdgeTranscodeJobRequest::~StopEdgeTranscodeJobRequest() {} + +std::string StopEdgeTranscodeJobRequest::getJobId() const { + return jobId_; +} + +void StopEdgeTranscodeJobRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); +} + +std::string StopEdgeTranscodeJobRequest::getClusterId() const { + return clusterId_; +} + +void StopEdgeTranscodeJobRequest::setClusterId(const std::string &clusterId) { + clusterId_ = clusterId; + setParameter(std::string("ClusterId"), clusterId); +} + +long StopEdgeTranscodeJobRequest::getOwnerId() const { + return ownerId_; +} + +void StopEdgeTranscodeJobRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + diff --git a/live/src/model/StopEdgeTranscodeJobResult.cc b/live/src/model/StopEdgeTranscodeJobResult.cc new file mode 100644 index 000000000..0b8c3b36b --- /dev/null +++ b/live/src/model/StopEdgeTranscodeJobResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +StopEdgeTranscodeJobResult::StopEdgeTranscodeJobResult() : + ServiceResult() +{} + +StopEdgeTranscodeJobResult::StopEdgeTranscodeJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StopEdgeTranscodeJobResult::~StopEdgeTranscodeJobResult() +{} + +void StopEdgeTranscodeJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["JobId"].isNull()) + jobId_ = value["JobId"].asString(); + +} + +std::string StopEdgeTranscodeJobResult::getJobId()const +{ + return jobId_; +} + diff --git a/live/src/model/StopLiveMPUTaskRequest.cc b/live/src/model/StopLiveMPUTaskRequest.cc new file mode 100644 index 000000000..1d6002315 --- /dev/null +++ b/live/src/model/StopLiveMPUTaskRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::StopLiveMPUTaskRequest; + +StopLiveMPUTaskRequest::StopLiveMPUTaskRequest() + : RpcServiceRequest("live", "2016-11-01", "StopLiveMPUTask") { + setMethod(HttpRequest::Method::Post); +} + +StopLiveMPUTaskRequest::~StopLiveMPUTaskRequest() {} + +std::string StopLiveMPUTaskRequest::getAppId() const { + return appId_; +} + +void StopLiveMPUTaskRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); +} + +std::string StopLiveMPUTaskRequest::getTaskId() const { + return taskId_; +} + +void StopLiveMPUTaskRequest::setTaskId(const std::string &taskId) { + taskId_ = taskId; + setParameter(std::string("TaskId"), taskId); +} + diff --git a/live/src/model/StopLiveMPUTaskResult.cc b/live/src/model/StopLiveMPUTaskResult.cc new file mode 100644 index 000000000..f2df68857 --- /dev/null +++ b/live/src/model/StopLiveMPUTaskResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +StopLiveMPUTaskResult::StopLiveMPUTaskResult() : + ServiceResult() +{} + +StopLiveMPUTaskResult::StopLiveMPUTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StopLiveMPUTaskResult::~StopLiveMPUTaskResult() +{} + +void StopLiveMPUTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/UpdateEdgeTranscodeJobRequest.cc b/live/src/model/UpdateEdgeTranscodeJobRequest.cc new file mode 100644 index 000000000..a46085e5a --- /dev/null +++ b/live/src/model/UpdateEdgeTranscodeJobRequest.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::UpdateEdgeTranscodeJobRequest; + +UpdateEdgeTranscodeJobRequest::UpdateEdgeTranscodeJobRequest() + : RpcServiceRequest("live", "2016-11-01", "UpdateEdgeTranscodeJob") { + setMethod(HttpRequest::Method::Post); +} + +UpdateEdgeTranscodeJobRequest::~UpdateEdgeTranscodeJobRequest() {} + +std::string UpdateEdgeTranscodeJobRequest::getStreamInput() const { + return streamInput_; +} + +void UpdateEdgeTranscodeJobRequest::setStreamInput(const std::string &streamInput) { + streamInput_ = streamInput; + setParameter(std::string("StreamInput"), streamInput); +} + +std::string UpdateEdgeTranscodeJobRequest::getStreamOutput() const { + return streamOutput_; +} + +void UpdateEdgeTranscodeJobRequest::setStreamOutput(const std::string &streamOutput) { + streamOutput_ = streamOutput; + setParameter(std::string("StreamOutput"), streamOutput); +} + +std::string UpdateEdgeTranscodeJobRequest::getJobId() const { + return jobId_; +} + +void UpdateEdgeTranscodeJobRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); +} + +std::string UpdateEdgeTranscodeJobRequest::getClusterId() const { + return clusterId_; +} + +void UpdateEdgeTranscodeJobRequest::setClusterId(const std::string &clusterId) { + clusterId_ = clusterId; + setParameter(std::string("ClusterId"), clusterId); +} + +long UpdateEdgeTranscodeJobRequest::getOwnerId() const { + return ownerId_; +} + +void UpdateEdgeTranscodeJobRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +std::string UpdateEdgeTranscodeJobRequest::getTemplateId() const { + return templateId_; +} + +void UpdateEdgeTranscodeJobRequest::setTemplateId(const std::string &templateId) { + templateId_ = templateId; + setParameter(std::string("TemplateId"), templateId); +} + +std::string UpdateEdgeTranscodeJobRequest::getName() const { + return name_; +} + +void UpdateEdgeTranscodeJobRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + diff --git a/live/src/model/UpdateEdgeTranscodeJobResult.cc b/live/src/model/UpdateEdgeTranscodeJobResult.cc new file mode 100644 index 000000000..7be7dbf11 --- /dev/null +++ b/live/src/model/UpdateEdgeTranscodeJobResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +UpdateEdgeTranscodeJobResult::UpdateEdgeTranscodeJobResult() : + ServiceResult() +{} + +UpdateEdgeTranscodeJobResult::UpdateEdgeTranscodeJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateEdgeTranscodeJobResult::~UpdateEdgeTranscodeJobResult() +{} + +void UpdateEdgeTranscodeJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["JobId"].isNull()) + jobId_ = value["JobId"].asString(); + +} + +std::string UpdateEdgeTranscodeJobResult::getJobId()const +{ + return jobId_; +} + diff --git a/live/src/model/UpdateLiveMPUTaskRequest.cc b/live/src/model/UpdateLiveMPUTaskRequest.cc new file mode 100644 index 000000000..e4aed464f --- /dev/null +++ b/live/src/model/UpdateLiveMPUTaskRequest.cc @@ -0,0 +1,135 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::UpdateLiveMPUTaskRequest; + +UpdateLiveMPUTaskRequest::UpdateLiveMPUTaskRequest() + : RpcServiceRequest("live", "2016-11-01", "UpdateLiveMPUTask") { + setMethod(HttpRequest::Method::Post); +} + +UpdateLiveMPUTaskRequest::~UpdateLiveMPUTaskRequest() {} + +UpdateLiveMPUTaskRequest::SingleSubParams UpdateLiveMPUTaskRequest::getSingleSubParams() const { + return singleSubParams_; +} + +void UpdateLiveMPUTaskRequest::setSingleSubParams(const UpdateLiveMPUTaskRequest::SingleSubParams &singleSubParams) { + singleSubParams_ = singleSubParams; + setParameter(std::string("SingleSubParams") + ".StreamType", singleSubParams.streamType); + setParameter(std::string("SingleSubParams") + ".SourceType", singleSubParams.sourceType); + setParameter(std::string("SingleSubParams") + ".UserId", singleSubParams.userId); +} + +UpdateLiveMPUTaskRequest::SeiParams UpdateLiveMPUTaskRequest::getSeiParams() const { + return seiParams_; +} + +void UpdateLiveMPUTaskRequest::setSeiParams(const UpdateLiveMPUTaskRequest::SeiParams &seiParams) { + seiParams_ = seiParams; + setParameter(std::string("SeiParams") + ".LayoutVolume.FollowIdr", seiParams.layoutVolume.followIdr); + setParameter(std::string("SeiParams") + ".LayoutVolume.PayloadType", seiParams.layoutVolume.payloadType); + setParameter(std::string("SeiParams") + ".LayoutVolume.Interval", seiParams.layoutVolume.interval); + setParameter(std::string("SeiParams") + ".PassThrough.FollowIdr", seiParams.passThrough.followIdr); + setParameter(std::string("SeiParams") + ".PassThrough.PayloadType", seiParams.passThrough.payloadType); + setParameter(std::string("SeiParams") + ".PassThrough.PayloadContent", seiParams.passThrough.payloadContent); + setParameter(std::string("SeiParams") + ".PassThrough.Interval", seiParams.passThrough.interval); +} + +UpdateLiveMPUTaskRequest::TranscodeParams UpdateLiveMPUTaskRequest::getTranscodeParams() const { + return transcodeParams_; +} + +void UpdateLiveMPUTaskRequest::setTranscodeParams(const UpdateLiveMPUTaskRequest::TranscodeParams &transcodeParams) { + transcodeParams_ = transcodeParams; + for(int dep1 = 0; dep1 != transcodeParams.layout.userPanes.size(); dep1++) { + setParameter(std::string("TranscodeParams") + ".Layout.UserPanes." + std::to_string(dep1 + 1) + ".BackgroundImageUrl", transcodeParams.layout.userPanes[dep1].backgroundImageUrl); + setParameter(std::string("TranscodeParams") + ".Layout.UserPanes." + std::to_string(dep1 + 1) + ".ZOrder", transcodeParams.layout.userPanes[dep1].zOrder); + setParameter(std::string("TranscodeParams") + ".Layout.UserPanes." + std::to_string(dep1 + 1) + ".X", transcodeParams.layout.userPanes[dep1].x); + setParameter(std::string("TranscodeParams") + ".Layout.UserPanes." + std::to_string(dep1 + 1) + ".Width", transcodeParams.layout.userPanes[dep1].width); + setParameter(std::string("TranscodeParams") + ".Layout.UserPanes." + std::to_string(dep1 + 1) + ".Y", transcodeParams.layout.userPanes[dep1].y); + setParameter(std::string("TranscodeParams") + ".Layout.UserPanes." + std::to_string(dep1 + 1) + ".UserInfo.SourceType", transcodeParams.layout.userPanes[dep1].userInfo.sourceType); + setParameter(std::string("TranscodeParams") + ".Layout.UserPanes." + std::to_string(dep1 + 1) + ".UserInfo.UserId", transcodeParams.layout.userPanes[dep1].userInfo.userId); + setParameter(std::string("TranscodeParams") + ".Layout.UserPanes." + std::to_string(dep1 + 1) + ".RenderMode", transcodeParams.layout.userPanes[dep1].renderMode); + setParameter(std::string("TranscodeParams") + ".Layout.UserPanes." + std::to_string(dep1 + 1) + ".Height", transcodeParams.layout.userPanes[dep1].height); + } + setParameter(std::string("TranscodeParams") + ".Layout.LayoutMode", transcodeParams.layout.layoutMode); + setParameter(std::string("TranscodeParams") + ".Layout.MaxVideoUser.StreamType", transcodeParams.layout.maxVideoUser.streamType); + setParameter(std::string("TranscodeParams") + ".Layout.MaxVideoUser.SourceType", transcodeParams.layout.maxVideoUser.sourceType); + setParameter(std::string("TranscodeParams") + ".Layout.MaxVideoUser.UserId", transcodeParams.layout.maxVideoUser.userId); + for(int dep1 = 0; dep1 != transcodeParams.userInfos.size(); dep1++) { + setParameter(std::string("TranscodeParams") + ".UserInfos." + std::to_string(dep1 + 1) + ".StreamType", transcodeParams.userInfos[dep1].streamType); + setParameter(std::string("TranscodeParams") + ".UserInfos." + std::to_string(dep1 + 1) + ".SourceType", transcodeParams.userInfos[dep1].sourceType); + setParameter(std::string("TranscodeParams") + ".UserInfos." + std::to_string(dep1 + 1) + ".UserId", transcodeParams.userInfos[dep1].userId); + } + setParameter(std::string("TranscodeParams") + ".EncodeParams.AudioOnly", transcodeParams.encodeParams.audioOnly); + setParameter(std::string("TranscodeParams") + ".EncodeParams.VIdeoWidth", transcodeParams.encodeParams.vIdeoWidth); + setParameter(std::string("TranscodeParams") + ".EncodeParams.AudioBitrate", transcodeParams.encodeParams.audioBitrate); + setParameter(std::string("TranscodeParams") + ".EncodeParams.VideoFramerate", transcodeParams.encodeParams.videoFramerate); + setParameter(std::string("TranscodeParams") + ".EncodeParams.VIdeoHeight", transcodeParams.encodeParams.vIdeoHeight); + setParameter(std::string("TranscodeParams") + ".EncodeParams.VideoBitrate", transcodeParams.encodeParams.videoBitrate); + setParameter(std::string("TranscodeParams") + ".EncodeParams.AudioSampleRate", transcodeParams.encodeParams.audioSampleRate); + setParameter(std::string("TranscodeParams") + ".EncodeParams.VideoGop", transcodeParams.encodeParams.videoGop); + setParameter(std::string("TranscodeParams") + ".EncodeParams.AudioChannels", transcodeParams.encodeParams.audioChannels); +} + +std::string UpdateLiveMPUTaskRequest::getAppId() const { + return appId_; +} + +void UpdateLiveMPUTaskRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); +} + +std::string UpdateLiveMPUTaskRequest::getMixMode() const { + return mixMode_; +} + +void UpdateLiveMPUTaskRequest::setMixMode(const std::string &mixMode) { + mixMode_ = mixMode; + setParameter(std::string("MixMode"), mixMode); +} + +std::string UpdateLiveMPUTaskRequest::getChannelId() const { + return channelId_; +} + +void UpdateLiveMPUTaskRequest::setChannelId(const std::string &channelId) { + channelId_ = channelId; + setParameter(std::string("ChannelId"), channelId); +} + +std::string UpdateLiveMPUTaskRequest::getTaskId() const { + return taskId_; +} + +void UpdateLiveMPUTaskRequest::setTaskId(const std::string &taskId) { + taskId_ = taskId; + setParameter(std::string("TaskId"), taskId); +} + +std::string UpdateLiveMPUTaskRequest::getStreamURL() const { + return streamURL_; +} + +void UpdateLiveMPUTaskRequest::setStreamURL(const std::string &streamURL) { + streamURL_ = streamURL; + setParameter(std::string("StreamURL"), streamURL); +} + diff --git a/live/src/model/UpdateLiveMPUTaskResult.cc b/live/src/model/UpdateLiveMPUTaskResult.cc new file mode 100644 index 000000000..25f6615eb --- /dev/null +++ b/live/src/model/UpdateLiveMPUTaskResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +UpdateLiveMPUTaskResult::UpdateLiveMPUTaskResult() : + ServiceResult() +{} + +UpdateLiveMPUTaskResult::UpdateLiveMPUTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateLiveMPUTaskResult::~UpdateLiveMPUTaskResult() +{} + +void UpdateLiveMPUTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/UpdateLivePackageConfigRequest.cc b/live/src/model/UpdateLivePackageConfigRequest.cc new file mode 100644 index 000000000..3985b2d94 --- /dev/null +++ b/live/src/model/UpdateLivePackageConfigRequest.cc @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::UpdateLivePackageConfigRequest; + +UpdateLivePackageConfigRequest::UpdateLivePackageConfigRequest() + : RpcServiceRequest("live", "2016-11-01", "UpdateLivePackageConfig") { + setMethod(HttpRequest::Method::Post); +} + +UpdateLivePackageConfigRequest::~UpdateLivePackageConfigRequest() {} + +int UpdateLivePackageConfigRequest::getSegmentNum() const { + return segmentNum_; +} + +void UpdateLivePackageConfigRequest::setSegmentNum(int segmentNum) { + segmentNum_ = segmentNum; + setParameter(std::string("SegmentNum"), std::to_string(segmentNum)); +} + +std::string UpdateLivePackageConfigRequest::getProtocol() const { + return protocol_; +} + +void UpdateLivePackageConfigRequest::setProtocol(const std::string &protocol) { + protocol_ = protocol; + setParameter(std::string("Protocol"), protocol); +} + +std::string UpdateLivePackageConfigRequest::getAppName() const { + return appName_; +} + +void UpdateLivePackageConfigRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); +} + +int UpdateLivePackageConfigRequest::getPartDuration() const { + return partDuration_; +} + +void UpdateLivePackageConfigRequest::setPartDuration(int partDuration) { + partDuration_ = partDuration; + setParameter(std::string("PartDuration"), std::to_string(partDuration)); +} + +std::string UpdateLivePackageConfigRequest::getStreamName() const { + return streamName_; +} + +void UpdateLivePackageConfigRequest::setStreamName(const std::string &streamName) { + streamName_ = streamName; + setParameter(std::string("StreamName"), streamName); +} + +bool UpdateLivePackageConfigRequest::getIgnoreTranscode() const { + return ignoreTranscode_; +} + +void UpdateLivePackageConfigRequest::setIgnoreTranscode(bool ignoreTranscode) { + ignoreTranscode_ = ignoreTranscode; + setParameter(std::string("IgnoreTranscode"), ignoreTranscode ? "true" : "false"); +} + +std::string UpdateLivePackageConfigRequest::getDomainName() const { + return domainName_; +} + +void UpdateLivePackageConfigRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); +} + +long UpdateLivePackageConfigRequest::getOwnerId() const { + return ownerId_; +} + +void UpdateLivePackageConfigRequest::setOwnerId(long ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), std::to_string(ownerId)); +} + +int UpdateLivePackageConfigRequest::getSegmentDuration() const { + return segmentDuration_; +} + +void UpdateLivePackageConfigRequest::setSegmentDuration(int segmentDuration) { + segmentDuration_ = segmentDuration; + setParameter(std::string("SegmentDuration"), std::to_string(segmentDuration)); +} + diff --git a/live/src/model/UpdateLivePackageConfigResult.cc b/live/src/model/UpdateLivePackageConfigResult.cc new file mode 100644 index 000000000..ab9d52962 --- /dev/null +++ b/live/src/model/UpdateLivePackageConfigResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Live; +using namespace AlibabaCloud::Live::Model; + +UpdateLivePackageConfigResult::UpdateLivePackageConfigResult() : + ServiceResult() +{} + +UpdateLivePackageConfigResult::UpdateLivePackageConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateLivePackageConfigResult::~UpdateLivePackageConfigResult() +{} + +void UpdateLivePackageConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/live/src/model/UpdateLiveStreamMonitorRequest.cc b/live/src/model/UpdateLiveStreamMonitorRequest.cc index 70df7b1ff..cfeec00d8 100644 --- a/live/src/model/UpdateLiveStreamMonitorRequest.cc +++ b/live/src/model/UpdateLiveStreamMonitorRequest.cc @@ -88,6 +88,15 @@ void UpdateLiveStreamMonitorRequest::setInputList(const std::string &inputList) setParameter(std::string("InputList"), inputList); } +std::string UpdateLiveStreamMonitorRequest::getDingTalkWebHookUrl() const { + return dingTalkWebHookUrl_; +} + +void UpdateLiveStreamMonitorRequest::setDingTalkWebHookUrl(const std::string &dingTalkWebHookUrl) { + dingTalkWebHookUrl_ = dingTalkWebHookUrl; + setParameter(std::string("DingTalkWebHookUrl"), dingTalkWebHookUrl); +} + long UpdateLiveStreamMonitorRequest::getOwnerId() const { return ownerId_; } @@ -106,3 +115,12 @@ void UpdateLiveStreamMonitorRequest::setDomain(const std::string &domain) { setParameter(std::string("Domain"), domain); } +std::string UpdateLiveStreamMonitorRequest::getCallbackUrl() const { + return callbackUrl_; +} + +void UpdateLiveStreamMonitorRequest::setCallbackUrl(const std::string &callbackUrl) { + callbackUrl_ = callbackUrl; + setParameter(std::string("CallbackUrl"), callbackUrl); +} +