From ff3b6aec0af77fe545fd533c812920f68c7f6156 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Thu, 8 Jul 2021 02:32:29 +0000 Subject: [PATCH] Generated 2016-11-01 for live. --- CHANGELOG | 3 + VERSION | 2 +- live/CMakeLists.txt | 20 ++ live/include/alibabacloud/live/LiveClient.h | 40 ++++ .../AddCustomLiveStreamTranscodeRequest.h | 12 ++ .../live/model/DescribeDRMCertListResult.h | 1 + ...DescribeLiveDomainRecordUsageDataRequest.h | 60 ++++++ .../DescribeLiveDomainRecordUsageDataResult.h | 59 ++++++ .../model/DescribeLiveDrmUsageDataRequest.h | 63 ++++++ .../model/DescribeLiveDrmUsageDataResult.h | 59 ++++++ .../DescribeLiveRealtimeDeliveryAccRequest.h | 3 + .../DescribeLiveStreamsOnlineListResult.h | 1 + .../model/DescribeToutiaoLivePlayRequest.h | 63 ++++++ .../model/DescribeToutiaoLivePlayResult.h | 63 ++++++ .../model/DescribeToutiaoLivePublishRequest.h | 63 ++++++ .../model/DescribeToutiaoLivePublishResult.h | 65 +++++++ .../UpdateLivePullStreamInfoConfigRequest.h | 69 +++++++ .../UpdateLivePullStreamInfoConfigResult.h | 49 +++++ live/src/LiveClient.cc | 180 ++++++++++++++++++ .../AddCustomLiveStreamTranscodeRequest.cc | 44 +++++ live/src/model/DescribeDRMCertListResult.cc | 2 + ...escribeLiveDomainRecordUsageDataRequest.cc | 84 ++++++++ ...DescribeLiveDomainRecordUsageDataResult.cc | 65 +++++++ .../model/DescribeLiveDrmUsageDataRequest.cc | 95 +++++++++ .../model/DescribeLiveDrmUsageDataResult.cc | 65 +++++++ .../DescribeLiveRealtimeDeliveryAccRequest.cc | 11 ++ .../DescribeLiveStreamsOnlineListResult.cc | 2 + .../model/DescribeToutiaoLivePlayRequest.cc | 95 +++++++++ .../model/DescribeToutiaoLivePlayResult.cc | 76 ++++++++ .../DescribeToutiaoLivePublishRequest.cc | 95 +++++++++ .../model/DescribeToutiaoLivePublishResult.cc | 80 ++++++++ .../UpdateLivePullStreamInfoConfigRequest.cc | 117 ++++++++++++ .../UpdateLivePullStreamInfoConfigResult.cc | 44 +++++ 33 files changed, 1749 insertions(+), 1 deletion(-) create mode 100644 live/include/alibabacloud/live/model/DescribeLiveDomainRecordUsageDataRequest.h create mode 100644 live/include/alibabacloud/live/model/DescribeLiveDomainRecordUsageDataResult.h create mode 100644 live/include/alibabacloud/live/model/DescribeLiveDrmUsageDataRequest.h create mode 100644 live/include/alibabacloud/live/model/DescribeLiveDrmUsageDataResult.h create mode 100644 live/include/alibabacloud/live/model/DescribeToutiaoLivePlayRequest.h create mode 100644 live/include/alibabacloud/live/model/DescribeToutiaoLivePlayResult.h create mode 100644 live/include/alibabacloud/live/model/DescribeToutiaoLivePublishRequest.h create mode 100644 live/include/alibabacloud/live/model/DescribeToutiaoLivePublishResult.h create mode 100644 live/include/alibabacloud/live/model/UpdateLivePullStreamInfoConfigRequest.h create mode 100644 live/include/alibabacloud/live/model/UpdateLivePullStreamInfoConfigResult.h create mode 100644 live/src/model/DescribeLiveDomainRecordUsageDataRequest.cc create mode 100644 live/src/model/DescribeLiveDomainRecordUsageDataResult.cc create mode 100644 live/src/model/DescribeLiveDrmUsageDataRequest.cc create mode 100644 live/src/model/DescribeLiveDrmUsageDataResult.cc create mode 100644 live/src/model/DescribeToutiaoLivePlayRequest.cc create mode 100644 live/src/model/DescribeToutiaoLivePlayResult.cc create mode 100644 live/src/model/DescribeToutiaoLivePublishRequest.cc create mode 100644 live/src/model/DescribeToutiaoLivePublishResult.cc create mode 100644 live/src/model/UpdateLivePullStreamInfoConfigRequest.cc create mode 100644 live/src/model/UpdateLivePullStreamInfoConfigResult.cc diff --git a/CHANGELOG b/CHANGELOG index cae2bcd34..92132b251 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2021-07-08 Version: 1.36.812 +- Generated 2016-11-01 for `live`. + 2021-07-07 Version: 1.36.811 - Supported DescribeGlobalDatabaseNetworks set pages. diff --git a/VERSION b/VERSION index f01b8170f..b9aed034b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.811 \ No newline at end of file +1.36.812 \ No newline at end of file diff --git a/live/CMakeLists.txt b/live/CMakeLists.txt index a0f389a99..accc29331 100644 --- a/live/CMakeLists.txt +++ b/live/CMakeLists.txt @@ -271,6 +271,8 @@ set(live_public_header_model include/alibabacloud/live/model/DescribeLiveDomainRealtimeLogDeliveryResult.h include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.h include/alibabacloud/live/model/DescribeLiveDomainRecordDataResult.h + include/alibabacloud/live/model/DescribeLiveDomainRecordUsageDataRequest.h + include/alibabacloud/live/model/DescribeLiveDomainRecordUsageDataResult.h include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataRequest.h include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataResult.h include/alibabacloud/live/model/DescribeLiveDomainStagingConfigRequest.h @@ -283,6 +285,8 @@ set(live_public_header_model include/alibabacloud/live/model/DescribeLiveDomainTrafficDataResult.h include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.h include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataResult.h + include/alibabacloud/live/model/DescribeLiveDrmUsageDataRequest.h + include/alibabacloud/live/model/DescribeLiveDrmUsageDataResult.h include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigRequest.h include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h include/alibabacloud/live/model/DescribeLivePullStreamConfigRequest.h @@ -361,6 +365,10 @@ set(live_public_header_model include/alibabacloud/live/model/DescribeRoomStatusResult.h include/alibabacloud/live/model/DescribeStudioLayoutsRequest.h include/alibabacloud/live/model/DescribeStudioLayoutsResult.h + include/alibabacloud/live/model/DescribeToutiaoLivePlayRequest.h + include/alibabacloud/live/model/DescribeToutiaoLivePlayResult.h + include/alibabacloud/live/model/DescribeToutiaoLivePublishRequest.h + include/alibabacloud/live/model/DescribeToutiaoLivePublishResult.h include/alibabacloud/live/model/DescribeUpBpsPeakDataRequest.h include/alibabacloud/live/model/DescribeUpBpsPeakDataResult.h include/alibabacloud/live/model/DescribeUpBpsPeakOfLineRequest.h @@ -497,6 +505,8 @@ set(live_public_header_model include/alibabacloud/live/model/UpdateLiveAudioAuditNotifyConfigResult.h include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigRequest.h include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigResult.h + include/alibabacloud/live/model/UpdateLivePullStreamInfoConfigRequest.h + include/alibabacloud/live/model/UpdateLivePullStreamInfoConfigResult.h include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigRequest.h include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigResult.h include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigRequest.h @@ -760,6 +770,8 @@ set(live_src src/model/DescribeLiveDomainRealtimeLogDeliveryResult.cc src/model/DescribeLiveDomainRecordDataRequest.cc src/model/DescribeLiveDomainRecordDataResult.cc + src/model/DescribeLiveDomainRecordUsageDataRequest.cc + src/model/DescribeLiveDomainRecordUsageDataResult.cc src/model/DescribeLiveDomainSnapshotDataRequest.cc src/model/DescribeLiveDomainSnapshotDataResult.cc src/model/DescribeLiveDomainStagingConfigRequest.cc @@ -772,6 +784,8 @@ set(live_src src/model/DescribeLiveDomainTrafficDataResult.cc src/model/DescribeLiveDomainTranscodeDataRequest.cc src/model/DescribeLiveDomainTranscodeDataResult.cc + src/model/DescribeLiveDrmUsageDataRequest.cc + src/model/DescribeLiveDrmUsageDataResult.cc src/model/DescribeLiveLazyPullStreamConfigRequest.cc src/model/DescribeLiveLazyPullStreamConfigResult.cc src/model/DescribeLivePullStreamConfigRequest.cc @@ -850,6 +864,10 @@ set(live_src src/model/DescribeRoomStatusResult.cc src/model/DescribeStudioLayoutsRequest.cc src/model/DescribeStudioLayoutsResult.cc + src/model/DescribeToutiaoLivePlayRequest.cc + src/model/DescribeToutiaoLivePlayResult.cc + src/model/DescribeToutiaoLivePublishRequest.cc + src/model/DescribeToutiaoLivePublishResult.cc src/model/DescribeUpBpsPeakDataRequest.cc src/model/DescribeUpBpsPeakDataResult.cc src/model/DescribeUpBpsPeakOfLineRequest.cc @@ -986,6 +1004,8 @@ set(live_src src/model/UpdateLiveAudioAuditNotifyConfigResult.cc src/model/UpdateLiveDetectNotifyConfigRequest.cc src/model/UpdateLiveDetectNotifyConfigResult.cc + src/model/UpdateLivePullStreamInfoConfigRequest.cc + src/model/UpdateLivePullStreamInfoConfigResult.cc src/model/UpdateLiveRecordNotifyConfigRequest.cc src/model/UpdateLiveRecordNotifyConfigResult.cc src/model/UpdateLiveSnapshotDetectPornConfigRequest.cc diff --git a/live/include/alibabacloud/live/LiveClient.h b/live/include/alibabacloud/live/LiveClient.h index eef3f4cea..012d24167 100644 --- a/live/include/alibabacloud/live/LiveClient.h +++ b/live/include/alibabacloud/live/LiveClient.h @@ -272,6 +272,8 @@ #include "model/DescribeLiveDomainRealtimeLogDeliveryResult.h" #include "model/DescribeLiveDomainRecordDataRequest.h" #include "model/DescribeLiveDomainRecordDataResult.h" +#include "model/DescribeLiveDomainRecordUsageDataRequest.h" +#include "model/DescribeLiveDomainRecordUsageDataResult.h" #include "model/DescribeLiveDomainSnapshotDataRequest.h" #include "model/DescribeLiveDomainSnapshotDataResult.h" #include "model/DescribeLiveDomainStagingConfigRequest.h" @@ -284,6 +286,8 @@ #include "model/DescribeLiveDomainTrafficDataResult.h" #include "model/DescribeLiveDomainTranscodeDataRequest.h" #include "model/DescribeLiveDomainTranscodeDataResult.h" +#include "model/DescribeLiveDrmUsageDataRequest.h" +#include "model/DescribeLiveDrmUsageDataResult.h" #include "model/DescribeLiveLazyPullStreamConfigRequest.h" #include "model/DescribeLiveLazyPullStreamConfigResult.h" #include "model/DescribeLivePullStreamConfigRequest.h" @@ -362,6 +366,10 @@ #include "model/DescribeRoomStatusResult.h" #include "model/DescribeStudioLayoutsRequest.h" #include "model/DescribeStudioLayoutsResult.h" +#include "model/DescribeToutiaoLivePlayRequest.h" +#include "model/DescribeToutiaoLivePlayResult.h" +#include "model/DescribeToutiaoLivePublishRequest.h" +#include "model/DescribeToutiaoLivePublishResult.h" #include "model/DescribeUpBpsPeakDataRequest.h" #include "model/DescribeUpBpsPeakDataResult.h" #include "model/DescribeUpBpsPeakOfLineRequest.h" @@ -498,6 +506,8 @@ #include "model/UpdateLiveAudioAuditNotifyConfigResult.h" #include "model/UpdateLiveDetectNotifyConfigRequest.h" #include "model/UpdateLiveDetectNotifyConfigResult.h" +#include "model/UpdateLivePullStreamInfoConfigRequest.h" +#include "model/UpdateLivePullStreamInfoConfigResult.h" #include "model/UpdateLiveRecordNotifyConfigRequest.h" #include "model/UpdateLiveRecordNotifyConfigResult.h" #include "model/UpdateLiveSnapshotDetectPornConfigRequest.h" @@ -892,6 +902,9 @@ namespace AlibabaCloud typedef Outcome DescribeLiveDomainRecordDataOutcome; typedef std::future DescribeLiveDomainRecordDataOutcomeCallable; typedef std::function&)> DescribeLiveDomainRecordDataAsyncHandler; + typedef Outcome DescribeLiveDomainRecordUsageDataOutcome; + typedef std::future DescribeLiveDomainRecordUsageDataOutcomeCallable; + typedef std::function&)> DescribeLiveDomainRecordUsageDataAsyncHandler; typedef Outcome DescribeLiveDomainSnapshotDataOutcome; typedef std::future DescribeLiveDomainSnapshotDataOutcomeCallable; typedef std::function&)> DescribeLiveDomainSnapshotDataAsyncHandler; @@ -910,6 +923,9 @@ namespace AlibabaCloud typedef Outcome DescribeLiveDomainTranscodeDataOutcome; typedef std::future DescribeLiveDomainTranscodeDataOutcomeCallable; typedef std::function&)> DescribeLiveDomainTranscodeDataAsyncHandler; + typedef Outcome DescribeLiveDrmUsageDataOutcome; + typedef std::future DescribeLiveDrmUsageDataOutcomeCallable; + typedef std::function&)> DescribeLiveDrmUsageDataAsyncHandler; typedef Outcome DescribeLiveLazyPullStreamConfigOutcome; typedef std::future DescribeLiveLazyPullStreamConfigOutcomeCallable; typedef std::function&)> DescribeLiveLazyPullStreamConfigAsyncHandler; @@ -1027,6 +1043,12 @@ namespace AlibabaCloud typedef Outcome DescribeStudioLayoutsOutcome; typedef std::future DescribeStudioLayoutsOutcomeCallable; typedef std::function&)> DescribeStudioLayoutsAsyncHandler; + typedef Outcome DescribeToutiaoLivePlayOutcome; + typedef std::future DescribeToutiaoLivePlayOutcomeCallable; + typedef std::function&)> DescribeToutiaoLivePlayAsyncHandler; + typedef Outcome DescribeToutiaoLivePublishOutcome; + typedef std::future DescribeToutiaoLivePublishOutcomeCallable; + typedef std::function&)> DescribeToutiaoLivePublishAsyncHandler; typedef Outcome DescribeUpBpsPeakDataOutcome; typedef std::future DescribeUpBpsPeakDataOutcomeCallable; typedef std::function&)> DescribeUpBpsPeakDataAsyncHandler; @@ -1231,6 +1253,9 @@ namespace AlibabaCloud typedef Outcome UpdateLiveDetectNotifyConfigOutcome; typedef std::future UpdateLiveDetectNotifyConfigOutcomeCallable; typedef std::function&)> UpdateLiveDetectNotifyConfigAsyncHandler; + typedef Outcome UpdateLivePullStreamInfoConfigOutcome; + typedef std::future UpdateLivePullStreamInfoConfigOutcomeCallable; + typedef std::function&)> UpdateLivePullStreamInfoConfigAsyncHandler; typedef Outcome UpdateLiveRecordNotifyConfigOutcome; typedef std::future UpdateLiveRecordNotifyConfigOutcomeCallable; typedef std::function&)> UpdateLiveRecordNotifyConfigAsyncHandler; @@ -1626,6 +1651,9 @@ namespace AlibabaCloud DescribeLiveDomainRecordDataOutcome describeLiveDomainRecordData(const Model::DescribeLiveDomainRecordDataRequest &request)const; void describeLiveDomainRecordDataAsync(const Model::DescribeLiveDomainRecordDataRequest& request, const DescribeLiveDomainRecordDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveDomainRecordDataOutcomeCallable describeLiveDomainRecordDataCallable(const Model::DescribeLiveDomainRecordDataRequest& request) const; + DescribeLiveDomainRecordUsageDataOutcome describeLiveDomainRecordUsageData(const Model::DescribeLiveDomainRecordUsageDataRequest &request)const; + void describeLiveDomainRecordUsageDataAsync(const Model::DescribeLiveDomainRecordUsageDataRequest& request, const DescribeLiveDomainRecordUsageDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveDomainRecordUsageDataOutcomeCallable describeLiveDomainRecordUsageDataCallable(const Model::DescribeLiveDomainRecordUsageDataRequest& request) const; DescribeLiveDomainSnapshotDataOutcome describeLiveDomainSnapshotData(const Model::DescribeLiveDomainSnapshotDataRequest &request)const; void describeLiveDomainSnapshotDataAsync(const Model::DescribeLiveDomainSnapshotDataRequest& request, const DescribeLiveDomainSnapshotDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveDomainSnapshotDataOutcomeCallable describeLiveDomainSnapshotDataCallable(const Model::DescribeLiveDomainSnapshotDataRequest& request) const; @@ -1644,6 +1672,9 @@ namespace AlibabaCloud DescribeLiveDomainTranscodeDataOutcome describeLiveDomainTranscodeData(const Model::DescribeLiveDomainTranscodeDataRequest &request)const; void describeLiveDomainTranscodeDataAsync(const Model::DescribeLiveDomainTranscodeDataRequest& request, const DescribeLiveDomainTranscodeDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLiveDomainTranscodeDataOutcomeCallable describeLiveDomainTranscodeDataCallable(const Model::DescribeLiveDomainTranscodeDataRequest& request) const; + DescribeLiveDrmUsageDataOutcome describeLiveDrmUsageData(const Model::DescribeLiveDrmUsageDataRequest &request)const; + void describeLiveDrmUsageDataAsync(const Model::DescribeLiveDrmUsageDataRequest& request, const DescribeLiveDrmUsageDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLiveDrmUsageDataOutcomeCallable describeLiveDrmUsageDataCallable(const Model::DescribeLiveDrmUsageDataRequest& 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; @@ -1761,6 +1792,12 @@ namespace AlibabaCloud DescribeStudioLayoutsOutcome describeStudioLayouts(const Model::DescribeStudioLayoutsRequest &request)const; void describeStudioLayoutsAsync(const Model::DescribeStudioLayoutsRequest& request, const DescribeStudioLayoutsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeStudioLayoutsOutcomeCallable describeStudioLayoutsCallable(const Model::DescribeStudioLayoutsRequest& request) const; + DescribeToutiaoLivePlayOutcome describeToutiaoLivePlay(const Model::DescribeToutiaoLivePlayRequest &request)const; + void describeToutiaoLivePlayAsync(const Model::DescribeToutiaoLivePlayRequest& request, const DescribeToutiaoLivePlayAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeToutiaoLivePlayOutcomeCallable describeToutiaoLivePlayCallable(const Model::DescribeToutiaoLivePlayRequest& request) const; + DescribeToutiaoLivePublishOutcome describeToutiaoLivePublish(const Model::DescribeToutiaoLivePublishRequest &request)const; + void describeToutiaoLivePublishAsync(const Model::DescribeToutiaoLivePublishRequest& request, const DescribeToutiaoLivePublishAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeToutiaoLivePublishOutcomeCallable describeToutiaoLivePublishCallable(const Model::DescribeToutiaoLivePublishRequest& request) const; DescribeUpBpsPeakDataOutcome describeUpBpsPeakData(const Model::DescribeUpBpsPeakDataRequest &request)const; void describeUpBpsPeakDataAsync(const Model::DescribeUpBpsPeakDataRequest& request, const DescribeUpBpsPeakDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeUpBpsPeakDataOutcomeCallable describeUpBpsPeakDataCallable(const Model::DescribeUpBpsPeakDataRequest& request) const; @@ -1965,6 +2002,9 @@ 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; + 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; UpdateLiveRecordNotifyConfigOutcome updateLiveRecordNotifyConfig(const Model::UpdateLiveRecordNotifyConfigRequest &request)const; void updateLiveRecordNotifyConfigAsync(const Model::UpdateLiveRecordNotifyConfigRequest& request, const UpdateLiveRecordNotifyConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateLiveRecordNotifyConfigOutcomeCallable updateLiveRecordNotifyConfigCallable(const Model::UpdateLiveRecordNotifyConfigRequest& request) const; diff --git a/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h b/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h index 12eecdb78..85341becf 100644 --- a/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h +++ b/live/include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h @@ -41,8 +41,12 @@ namespace AlibabaCloud void setLazy(const std::string& lazy); std::string getGop()const; void setGop(const std::string& gop); + std::string getKmsKeyExpireInterval()const; + void setKmsKeyExpireInterval(const std::string& kmsKeyExpireInterval); std::string getAudioCodec()const; void setAudioCodec(const std::string& audioCodec); + std::string getKmsUID()const; + void setKmsUID(const std::string& kmsUID); std::string getTemplateType()const; void setTemplateType(const std::string& templateType); std::string getAudioProfile()const; @@ -51,6 +55,8 @@ namespace AlibabaCloud void setHeight(int height); std::string getApp()const; void setApp(const std::string& app); + std::string getEncryptParameters()const; + void setEncryptParameters(const std::string& encryptParameters); int getAudioChannelNum()const; void setAudioChannelNum(int audioChannelNum); int getProfile()const; @@ -69,16 +75,21 @@ namespace AlibabaCloud void setWidth(int width); int getVideoBitrate()const; void setVideoBitrate(int videoBitrate); + std::string getKmsKeyID()const; + void setKmsKeyID(const std::string& kmsKeyID); private: std::string _template_; std::string lazy_; std::string gop_; + std::string kmsKeyExpireInterval_; std::string audioCodec_; + std::string kmsUID_; std::string templateType_; std::string audioProfile_; int height_; std::string app_; + std::string encryptParameters_; int audioChannelNum_; int profile_; int fPS_; @@ -88,6 +99,7 @@ namespace AlibabaCloud std::string domain_; int width_; int videoBitrate_; + std::string kmsKeyID_; }; } diff --git a/live/include/alibabacloud/live/model/DescribeDRMCertListResult.h b/live/include/alibabacloud/live/model/DescribeDRMCertListResult.h index 8d9ae1c47..f420d42c5 100644 --- a/live/include/alibabacloud/live/model/DescribeDRMCertListResult.h +++ b/live/include/alibabacloud/live/model/DescribeDRMCertListResult.h @@ -41,6 +41,7 @@ namespace AlibabaCloud std::string passphrase; std::string ask; std::string certName; + std::string createDate; }; diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRecordUsageDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRecordUsageDataRequest.h new file mode 100644 index 000000000..a9c7846d4 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRecordUsageDataRequest.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_DESCRIBELIVEDOMAINRECORDUSAGEDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDUSAGEDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRecordUsageDataRequest : public RpcServiceRequest + { + + public: + DescribeLiveDomainRecordUsageDataRequest(); + ~DescribeLiveDomainRecordUsageDataRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getSplitBy()const; + void setSplitBy(const std::string& splitBy); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string startTime_; + std::string splitBy_; + std::string domainName_; + std::string endTime_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDUSAGEDATAREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDomainRecordUsageDataResult.h b/live/include/alibabacloud/live/model/DescribeLiveDomainRecordUsageDataResult.h new file mode 100644 index 000000000..24f0d2bce --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveDomainRecordUsageDataResult.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_DESCRIBELIVEDOMAINRECORDUSAGEDATARESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDUSAGEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainRecordUsageDataResult : public ServiceResult + { + public: + struct DataModule + { + std::string type; + long size; + long count; + std::string domain; + std::string timeStamp; + }; + + + DescribeLiveDomainRecordUsageDataResult(); + explicit DescribeLiveDomainRecordUsageDataResult(const std::string &payload); + ~DescribeLiveDomainRecordUsageDataResult(); + std::vector getRecordUsageData()const; + + protected: + void parse(const std::string &payload); + private: + std::vector recordUsageData_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINRECORDUSAGEDATARESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDrmUsageDataRequest.h b/live/include/alibabacloud/live/model/DescribeLiveDrmUsageDataRequest.h new file mode 100644 index 000000000..9fd306fa4 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveDrmUsageDataRequest.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_DESCRIBELIVEDRMUSAGEDATAREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDRMUSAGEDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDrmUsageDataRequest : public RpcServiceRequest + { + + public: + DescribeLiveDrmUsageDataRequest(); + ~DescribeLiveDrmUsageDataRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getSplitBy()const; + void setSplitBy(const std::string& splitBy); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getInterval()const; + void setInterval(const std::string& interval); + + private: + std::string startTime_; + std::string splitBy_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDRMUSAGEDATAREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveDrmUsageDataResult.h b/live/include/alibabacloud/live/model/DescribeLiveDrmUsageDataResult.h new file mode 100644 index 000000000..8c42d0270 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeLiveDrmUsageDataResult.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_DESCRIBELIVEDRMUSAGEDATARESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDRMUSAGEDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDrmUsageDataResult : public ServiceResult + { + public: + struct DataModule + { + std::string drmType; + std::string region; + long count; + std::string domain; + std::string timeStamp; + }; + + + DescribeLiveDrmUsageDataResult(); + explicit DescribeLiveDrmUsageDataResult(const std::string &payload); + ~DescribeLiveDrmUsageDataResult(); + std::vector getDrmUsageData()const; + + protected: + void parse(const std::string &payload); + private: + std::vector drmUsageData_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDRMUSAGEDATARESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeLiveRealtimeDeliveryAccRequest.h b/live/include/alibabacloud/live/model/DescribeLiveRealtimeDeliveryAccRequest.h index eedb4eeff..b27b5f940 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveRealtimeDeliveryAccRequest.h +++ b/live/include/alibabacloud/live/model/DescribeLiveRealtimeDeliveryAccRequest.h @@ -39,6 +39,8 @@ namespace AlibabaCloud void setProject(const std::string& project); std::string getStartTime()const; void setStartTime(const std::string& startTime); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); std::string getEndTime()const; void setEndTime(const std::string& endTime); long getOwnerId()const; @@ -51,6 +53,7 @@ namespace AlibabaCloud private: std::string project_; std::string startTime_; + std::string domainName_; std::string endTime_; long ownerId_; std::string interval_; diff --git a/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListResult.h b/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListResult.h index e5a37eee9..aa730e88f 100644 --- a/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListResult.h +++ b/live/include/alibabacloud/live/model/DescribeLiveStreamsOnlineListResult.h @@ -40,6 +40,7 @@ namespace AlibabaCloud std::string transcodeId; std::string serverIp; std::string streamUrlArgs; + std::string transcodeDrm; std::string clientIp; std::string publishType; std::string appName; diff --git a/live/include/alibabacloud/live/model/DescribeToutiaoLivePlayRequest.h b/live/include/alibabacloud/live/model/DescribeToutiaoLivePlayRequest.h new file mode 100644 index 000000000..71160a88e --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeToutiaoLivePlayRequest.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_DESCRIBETOUTIAOLIVEPLAYREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBETOUTIAOLIVEPLAYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeToutiaoLivePlayRequest : public RpcServiceRequest + { + + public: + DescribeToutiaoLivePlayRequest(); + ~DescribeToutiaoLivePlayRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getStream()const; + void setStream(const std::string& stream); + std::string getApp()const; + void setApp(const std::string& app); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getDomain()const; + void setDomain(const std::string& domain); + + private: + std::string startTime_; + std::string stream_; + std::string app_; + std::string endTime_; + long ownerId_; + std::string domain_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBETOUTIAOLIVEPLAYREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeToutiaoLivePlayResult.h b/live/include/alibabacloud/live/model/DescribeToutiaoLivePlayResult.h new file mode 100644 index 000000000..da1b8c0d6 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeToutiaoLivePlayResult.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_DESCRIBETOUTIAOLIVEPLAYRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBETOUTIAOLIVEPLAYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeToutiaoLivePlayResult : public ServiceResult + { + public: + struct ContentItem + { + std::string app; + std::string cdnName; + std::string streamName; + float bandwidth; + std::string domain; + long timestamp; + long playNum; + }; + + + DescribeToutiaoLivePlayResult(); + explicit DescribeToutiaoLivePlayResult(const std::string &payload); + ~DescribeToutiaoLivePlayResult(); + std::string getDescription()const; + std::vector getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string description_; + std::vector content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBETOUTIAOLIVEPLAYRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeToutiaoLivePublishRequest.h b/live/include/alibabacloud/live/model/DescribeToutiaoLivePublishRequest.h new file mode 100644 index 000000000..288a6f619 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeToutiaoLivePublishRequest.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_DESCRIBETOUTIAOLIVEPUBLISHREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBETOUTIAOLIVEPUBLISHREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeToutiaoLivePublishRequest : public RpcServiceRequest + { + + public: + DescribeToutiaoLivePublishRequest(); + ~DescribeToutiaoLivePublishRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getStream()const; + void setStream(const std::string& stream); + std::string getApp()const; + void setApp(const std::string& app); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getDomain()const; + void setDomain(const std::string& domain); + + private: + std::string startTime_; + std::string stream_; + std::string app_; + std::string endTime_; + long ownerId_; + std::string domain_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBETOUTIAOLIVEPUBLISHREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/DescribeToutiaoLivePublishResult.h b/live/include/alibabacloud/live/model/DescribeToutiaoLivePublishResult.h new file mode 100644 index 000000000..e6cfd35f0 --- /dev/null +++ b/live/include/alibabacloud/live/model/DescribeToutiaoLivePublishResult.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_DESCRIBETOUTIAOLIVEPUBLISHRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_DESCRIBETOUTIAOLIVEPUBLISHRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT DescribeToutiaoLivePublishResult : public ServiceResult + { + public: + struct ContentItem + { + std::string app; + std::string cdnName; + std::string streamName; + float bwDiff; + float fps; + std::string domain; + float bitrate; + float flr; + long timestamp; + }; + + + DescribeToutiaoLivePublishResult(); + explicit DescribeToutiaoLivePublishResult(const std::string &payload); + ~DescribeToutiaoLivePublishResult(); + std::string getDescription()const; + std::vector getContent()const; + + protected: + void parse(const std::string &payload); + private: + std::string description_; + std::vector content_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBETOUTIAOLIVEPUBLISHRESULT_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateLivePullStreamInfoConfigRequest.h b/live/include/alibabacloud/live/model/UpdateLivePullStreamInfoConfigRequest.h new file mode 100644 index 000000000..6fd1b534c --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateLivePullStreamInfoConfigRequest.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_UPDATELIVEPULLSTREAMINFOCONFIGREQUEST_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEPULLSTREAMINFOCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateLivePullStreamInfoConfigRequest : public RpcServiceRequest + { + + public: + UpdateLivePullStreamInfoConfigRequest(); + ~UpdateLivePullStreamInfoConfigRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getAppName()const; + void setAppName(const std::string& appName); + std::string getStreamName()const; + void setStreamName(const std::string& streamName); + std::string getPullAlways()const; + void setPullAlways(const std::string& pullAlways); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getSourceUrl()const; + void setSourceUrl(const std::string& sourceUrl); + + private: + std::string startTime_; + std::string appName_; + std::string streamName_; + std::string pullAlways_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string sourceUrl_; + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVEPULLSTREAMINFOCONFIGREQUEST_H_ \ No newline at end of file diff --git a/live/include/alibabacloud/live/model/UpdateLivePullStreamInfoConfigResult.h b/live/include/alibabacloud/live/model/UpdateLivePullStreamInfoConfigResult.h new file mode 100644 index 000000000..8ddc4c5f7 --- /dev/null +++ b/live/include/alibabacloud/live/model/UpdateLivePullStreamInfoConfigResult.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_UPDATELIVEPULLSTREAMINFOCONFIGRESULT_H_ +#define ALIBABACLOUD_LIVE_MODEL_UPDATELIVEPULLSTREAMINFOCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Live + { + namespace Model + { + class ALIBABACLOUD_LIVE_EXPORT UpdateLivePullStreamInfoConfigResult : public ServiceResult + { + public: + + + UpdateLivePullStreamInfoConfigResult(); + explicit UpdateLivePullStreamInfoConfigResult(const std::string &payload); + ~UpdateLivePullStreamInfoConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_LIVE_MODEL_UPDATELIVEPULLSTREAMINFOCONFIGRESULT_H_ \ No newline at end of file diff --git a/live/src/LiveClient.cc b/live/src/LiveClient.cc index 12b7fcb46..89e13c9ea 100644 --- a/live/src/LiveClient.cc +++ b/live/src/LiveClient.cc @@ -4551,6 +4551,42 @@ LiveClient::DescribeLiveDomainRecordDataOutcomeCallable LiveClient::describeLive return task->get_future(); } +LiveClient::DescribeLiveDomainRecordUsageDataOutcome LiveClient::describeLiveDomainRecordUsageData(const DescribeLiveDomainRecordUsageDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveDomainRecordUsageDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveDomainRecordUsageDataOutcome(DescribeLiveDomainRecordUsageDataResult(outcome.result())); + else + return DescribeLiveDomainRecordUsageDataOutcome(outcome.error()); +} + +void LiveClient::describeLiveDomainRecordUsageDataAsync(const DescribeLiveDomainRecordUsageDataRequest& request, const DescribeLiveDomainRecordUsageDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveDomainRecordUsageData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveDomainRecordUsageDataOutcomeCallable LiveClient::describeLiveDomainRecordUsageDataCallable(const DescribeLiveDomainRecordUsageDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveDomainRecordUsageData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeLiveDomainSnapshotDataOutcome LiveClient::describeLiveDomainSnapshotData(const DescribeLiveDomainSnapshotDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4767,6 +4803,42 @@ LiveClient::DescribeLiveDomainTranscodeDataOutcomeCallable LiveClient::describeL return task->get_future(); } +LiveClient::DescribeLiveDrmUsageDataOutcome LiveClient::describeLiveDrmUsageData(const DescribeLiveDrmUsageDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLiveDrmUsageDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLiveDrmUsageDataOutcome(DescribeLiveDrmUsageDataResult(outcome.result())); + else + return DescribeLiveDrmUsageDataOutcome(outcome.error()); +} + +void LiveClient::describeLiveDrmUsageDataAsync(const DescribeLiveDrmUsageDataRequest& request, const DescribeLiveDrmUsageDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLiveDrmUsageData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeLiveDrmUsageDataOutcomeCallable LiveClient::describeLiveDrmUsageDataCallable(const DescribeLiveDrmUsageDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLiveDrmUsageData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeLiveLazyPullStreamConfigOutcome LiveClient::describeLiveLazyPullStreamConfig(const DescribeLiveLazyPullStreamConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6171,6 +6243,78 @@ LiveClient::DescribeStudioLayoutsOutcomeCallable LiveClient::describeStudioLayou return task->get_future(); } +LiveClient::DescribeToutiaoLivePlayOutcome LiveClient::describeToutiaoLivePlay(const DescribeToutiaoLivePlayRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeToutiaoLivePlayOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeToutiaoLivePlayOutcome(DescribeToutiaoLivePlayResult(outcome.result())); + else + return DescribeToutiaoLivePlayOutcome(outcome.error()); +} + +void LiveClient::describeToutiaoLivePlayAsync(const DescribeToutiaoLivePlayRequest& request, const DescribeToutiaoLivePlayAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeToutiaoLivePlay(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeToutiaoLivePlayOutcomeCallable LiveClient::describeToutiaoLivePlayCallable(const DescribeToutiaoLivePlayRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeToutiaoLivePlay(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +LiveClient::DescribeToutiaoLivePublishOutcome LiveClient::describeToutiaoLivePublish(const DescribeToutiaoLivePublishRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeToutiaoLivePublishOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeToutiaoLivePublishOutcome(DescribeToutiaoLivePublishResult(outcome.result())); + else + return DescribeToutiaoLivePublishOutcome(outcome.error()); +} + +void LiveClient::describeToutiaoLivePublishAsync(const DescribeToutiaoLivePublishRequest& request, const DescribeToutiaoLivePublishAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeToutiaoLivePublish(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::DescribeToutiaoLivePublishOutcomeCallable LiveClient::describeToutiaoLivePublishCallable(const DescribeToutiaoLivePublishRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeToutiaoLivePublish(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::DescribeUpBpsPeakDataOutcome LiveClient::describeUpBpsPeakData(const DescribeUpBpsPeakDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -8619,6 +8763,42 @@ LiveClient::UpdateLiveDetectNotifyConfigOutcomeCallable LiveClient::updateLiveDe return task->get_future(); } +LiveClient::UpdateLivePullStreamInfoConfigOutcome LiveClient::updateLivePullStreamInfoConfig(const UpdateLivePullStreamInfoConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateLivePullStreamInfoConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateLivePullStreamInfoConfigOutcome(UpdateLivePullStreamInfoConfigResult(outcome.result())); + else + return UpdateLivePullStreamInfoConfigOutcome(outcome.error()); +} + +void LiveClient::updateLivePullStreamInfoConfigAsync(const UpdateLivePullStreamInfoConfigRequest& request, const UpdateLivePullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateLivePullStreamInfoConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +LiveClient::UpdateLivePullStreamInfoConfigOutcomeCallable LiveClient::updateLivePullStreamInfoConfigCallable(const UpdateLivePullStreamInfoConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateLivePullStreamInfoConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + LiveClient::UpdateLiveRecordNotifyConfigOutcome LiveClient::updateLiveRecordNotifyConfig(const UpdateLiveRecordNotifyConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/live/src/model/AddCustomLiveStreamTranscodeRequest.cc b/live/src/model/AddCustomLiveStreamTranscodeRequest.cc index 338c0ccff..64a714a49 100644 --- a/live/src/model/AddCustomLiveStreamTranscodeRequest.cc +++ b/live/src/model/AddCustomLiveStreamTranscodeRequest.cc @@ -60,6 +60,17 @@ void AddCustomLiveStreamTranscodeRequest::setGop(const std::string& gop) setParameter("Gop", gop); } +std::string AddCustomLiveStreamTranscodeRequest::getKmsKeyExpireInterval()const +{ + return kmsKeyExpireInterval_; +} + +void AddCustomLiveStreamTranscodeRequest::setKmsKeyExpireInterval(const std::string& kmsKeyExpireInterval) +{ + kmsKeyExpireInterval_ = kmsKeyExpireInterval; + setParameter("KmsKeyExpireInterval", kmsKeyExpireInterval); +} + std::string AddCustomLiveStreamTranscodeRequest::getAudioCodec()const { return audioCodec_; @@ -71,6 +82,17 @@ void AddCustomLiveStreamTranscodeRequest::setAudioCodec(const std::string& audio setParameter("AudioCodec", audioCodec); } +std::string AddCustomLiveStreamTranscodeRequest::getKmsUID()const +{ + return kmsUID_; +} + +void AddCustomLiveStreamTranscodeRequest::setKmsUID(const std::string& kmsUID) +{ + kmsUID_ = kmsUID; + setParameter("KmsUID", kmsUID); +} + std::string AddCustomLiveStreamTranscodeRequest::getTemplateType()const { return templateType_; @@ -115,6 +137,17 @@ void AddCustomLiveStreamTranscodeRequest::setApp(const std::string& app) setParameter("App", app); } +std::string AddCustomLiveStreamTranscodeRequest::getEncryptParameters()const +{ + return encryptParameters_; +} + +void AddCustomLiveStreamTranscodeRequest::setEncryptParameters(const std::string& encryptParameters) +{ + encryptParameters_ = encryptParameters; + setParameter("EncryptParameters", encryptParameters); +} + int AddCustomLiveStreamTranscodeRequest::getAudioChannelNum()const { return audioChannelNum_; @@ -214,3 +247,14 @@ void AddCustomLiveStreamTranscodeRequest::setVideoBitrate(int videoBitrate) setParameter("VideoBitrate", std::to_string(videoBitrate)); } +std::string AddCustomLiveStreamTranscodeRequest::getKmsKeyID()const +{ + return kmsKeyID_; +} + +void AddCustomLiveStreamTranscodeRequest::setKmsKeyID(const std::string& kmsKeyID) +{ + kmsKeyID_ = kmsKeyID; + setParameter("KmsKeyID", kmsKeyID); +} + diff --git a/live/src/model/DescribeDRMCertListResult.cc b/live/src/model/DescribeDRMCertListResult.cc index 1a2ff5c8b..c8aa913b7 100644 --- a/live/src/model/DescribeDRMCertListResult.cc +++ b/live/src/model/DescribeDRMCertListResult.cc @@ -57,6 +57,8 @@ void DescribeDRMCertListResult::parse(const std::string &payload) dRMCertInfoListListObject.ask = valueDRMCertInfoListListCertInfo["Ask"].asString(); if(!valueDRMCertInfoListListCertInfo["Description"].isNull()) dRMCertInfoListListObject.description = valueDRMCertInfoListListCertInfo["Description"].asString(); + if(!valueDRMCertInfoListListCertInfo["CreateDate"].isNull()) + dRMCertInfoListListObject.createDate = valueDRMCertInfoListListCertInfo["CreateDate"].asString(); dRMCertInfoListList_.push_back(dRMCertInfoListListObject); } diff --git a/live/src/model/DescribeLiveDomainRecordUsageDataRequest.cc b/live/src/model/DescribeLiveDomainRecordUsageDataRequest.cc new file mode 100644 index 000000000..75fcc225d --- /dev/null +++ b/live/src/model/DescribeLiveDomainRecordUsageDataRequest.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 + +using AlibabaCloud::Live::Model::DescribeLiveDomainRecordUsageDataRequest; + +DescribeLiveDomainRecordUsageDataRequest::DescribeLiveDomainRecordUsageDataRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainRecordUsageData") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeLiveDomainRecordUsageDataRequest::~DescribeLiveDomainRecordUsageDataRequest() +{} + +std::string DescribeLiveDomainRecordUsageDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeLiveDomainRecordUsageDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeLiveDomainRecordUsageDataRequest::getSplitBy()const +{ + return splitBy_; +} + +void DescribeLiveDomainRecordUsageDataRequest::setSplitBy(const std::string& splitBy) +{ + splitBy_ = splitBy; + setParameter("SplitBy", splitBy); +} + +std::string DescribeLiveDomainRecordUsageDataRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveDomainRecordUsageDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeLiveDomainRecordUsageDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeLiveDomainRecordUsageDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeLiveDomainRecordUsageDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveDomainRecordUsageDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/live/src/model/DescribeLiveDomainRecordUsageDataResult.cc b/live/src/model/DescribeLiveDomainRecordUsageDataResult.cc new file mode 100644 index 000000000..2e6c7ef9b --- /dev/null +++ b/live/src/model/DescribeLiveDomainRecordUsageDataResult.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; + +DescribeLiveDomainRecordUsageDataResult::DescribeLiveDomainRecordUsageDataResult() : + ServiceResult() +{} + +DescribeLiveDomainRecordUsageDataResult::DescribeLiveDomainRecordUsageDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveDomainRecordUsageDataResult::~DescribeLiveDomainRecordUsageDataResult() +{} + +void DescribeLiveDomainRecordUsageDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allRecordUsageDataNode = value["RecordUsageData"]["DataModule"]; + for (auto valueRecordUsageDataDataModule : allRecordUsageDataNode) + { + DataModule recordUsageDataObject; + if(!valueRecordUsageDataDataModule["TimeStamp"].isNull()) + recordUsageDataObject.timeStamp = valueRecordUsageDataDataModule["TimeStamp"].asString(); + if(!valueRecordUsageDataDataModule["Domain"].isNull()) + recordUsageDataObject.domain = valueRecordUsageDataDataModule["Domain"].asString(); + if(!valueRecordUsageDataDataModule["Type"].isNull()) + recordUsageDataObject.type = valueRecordUsageDataDataModule["Type"].asString(); + if(!valueRecordUsageDataDataModule["Size"].isNull()) + recordUsageDataObject.size = std::stol(valueRecordUsageDataDataModule["Size"].asString()); + if(!valueRecordUsageDataDataModule["Count"].isNull()) + recordUsageDataObject.count = std::stol(valueRecordUsageDataDataModule["Count"].asString()); + recordUsageData_.push_back(recordUsageDataObject); + } + +} + +std::vector DescribeLiveDomainRecordUsageDataResult::getRecordUsageData()const +{ + return recordUsageData_; +} + diff --git a/live/src/model/DescribeLiveDrmUsageDataRequest.cc b/live/src/model/DescribeLiveDrmUsageDataRequest.cc new file mode 100644 index 000000000..24d1ccb47 --- /dev/null +++ b/live/src/model/DescribeLiveDrmUsageDataRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeLiveDrmUsageDataRequest; + +DescribeLiveDrmUsageDataRequest::DescribeLiveDrmUsageDataRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeLiveDrmUsageData") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeLiveDrmUsageDataRequest::~DescribeLiveDrmUsageDataRequest() +{} + +std::string DescribeLiveDrmUsageDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeLiveDrmUsageDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeLiveDrmUsageDataRequest::getSplitBy()const +{ + return splitBy_; +} + +void DescribeLiveDrmUsageDataRequest::setSplitBy(const std::string& splitBy) +{ + splitBy_ = splitBy; + setParameter("SplitBy", splitBy); +} + +std::string DescribeLiveDrmUsageDataRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveDrmUsageDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeLiveDrmUsageDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeLiveDrmUsageDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeLiveDrmUsageDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLiveDrmUsageDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeLiveDrmUsageDataRequest::getInterval()const +{ + return interval_; +} + +void DescribeLiveDrmUsageDataRequest::setInterval(const std::string& interval) +{ + interval_ = interval; + setParameter("Interval", interval); +} + diff --git a/live/src/model/DescribeLiveDrmUsageDataResult.cc b/live/src/model/DescribeLiveDrmUsageDataResult.cc new file mode 100644 index 000000000..06b203dca --- /dev/null +++ b/live/src/model/DescribeLiveDrmUsageDataResult.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; + +DescribeLiveDrmUsageDataResult::DescribeLiveDrmUsageDataResult() : + ServiceResult() +{} + +DescribeLiveDrmUsageDataResult::DescribeLiveDrmUsageDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLiveDrmUsageDataResult::~DescribeLiveDrmUsageDataResult() +{} + +void DescribeLiveDrmUsageDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDrmUsageDataNode = value["DrmUsageData"]["DataModule"]; + for (auto valueDrmUsageDataDataModule : allDrmUsageDataNode) + { + DataModule drmUsageDataObject; + if(!valueDrmUsageDataDataModule["TimeStamp"].isNull()) + drmUsageDataObject.timeStamp = valueDrmUsageDataDataModule["TimeStamp"].asString(); + if(!valueDrmUsageDataDataModule["Domain"].isNull()) + drmUsageDataObject.domain = valueDrmUsageDataDataModule["Domain"].asString(); + if(!valueDrmUsageDataDataModule["Region"].isNull()) + drmUsageDataObject.region = valueDrmUsageDataDataModule["Region"].asString(); + if(!valueDrmUsageDataDataModule["DrmType"].isNull()) + drmUsageDataObject.drmType = valueDrmUsageDataDataModule["DrmType"].asString(); + if(!valueDrmUsageDataDataModule["Count"].isNull()) + drmUsageDataObject.count = std::stol(valueDrmUsageDataDataModule["Count"].asString()); + drmUsageData_.push_back(drmUsageDataObject); + } + +} + +std::vector DescribeLiveDrmUsageDataResult::getDrmUsageData()const +{ + return drmUsageData_; +} + diff --git a/live/src/model/DescribeLiveRealtimeDeliveryAccRequest.cc b/live/src/model/DescribeLiveRealtimeDeliveryAccRequest.cc index cba60034d..30585bd14 100644 --- a/live/src/model/DescribeLiveRealtimeDeliveryAccRequest.cc +++ b/live/src/model/DescribeLiveRealtimeDeliveryAccRequest.cc @@ -49,6 +49,17 @@ void DescribeLiveRealtimeDeliveryAccRequest::setStartTime(const std::string& sta setParameter("StartTime", startTime); } +std::string DescribeLiveRealtimeDeliveryAccRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeLiveRealtimeDeliveryAccRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + std::string DescribeLiveRealtimeDeliveryAccRequest::getEndTime()const { return endTime_; diff --git a/live/src/model/DescribeLiveStreamsOnlineListResult.cc b/live/src/model/DescribeLiveStreamsOnlineListResult.cc index 78da490bc..835295074 100644 --- a/live/src/model/DescribeLiveStreamsOnlineListResult.cc +++ b/live/src/model/DescribeLiveStreamsOnlineListResult.cc @@ -63,6 +63,8 @@ void DescribeLiveStreamsOnlineListResult::parse(const std::string &payload) onlineInfoObject.transcoded = valueOnlineInfoLiveStreamOnlineInfo["Transcoded"].asString(); if(!valueOnlineInfoLiveStreamOnlineInfo["TranscodeId"].isNull()) onlineInfoObject.transcodeId = valueOnlineInfoLiveStreamOnlineInfo["TranscodeId"].asString(); + if(!valueOnlineInfoLiveStreamOnlineInfo["TranscodeDrm"].isNull()) + onlineInfoObject.transcodeDrm = valueOnlineInfoLiveStreamOnlineInfo["TranscodeDrm"].asString(); if(!valueOnlineInfoLiveStreamOnlineInfo["ServerIp"].isNull()) onlineInfoObject.serverIp = valueOnlineInfoLiveStreamOnlineInfo["ServerIp"].asString(); if(!valueOnlineInfoLiveStreamOnlineInfo["ClientIp"].isNull()) diff --git a/live/src/model/DescribeToutiaoLivePlayRequest.cc b/live/src/model/DescribeToutiaoLivePlayRequest.cc new file mode 100644 index 000000000..f9a8d74d2 --- /dev/null +++ b/live/src/model/DescribeToutiaoLivePlayRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeToutiaoLivePlayRequest; + +DescribeToutiaoLivePlayRequest::DescribeToutiaoLivePlayRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeToutiaoLivePlay") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeToutiaoLivePlayRequest::~DescribeToutiaoLivePlayRequest() +{} + +std::string DescribeToutiaoLivePlayRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeToutiaoLivePlayRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeToutiaoLivePlayRequest::getStream()const +{ + return stream_; +} + +void DescribeToutiaoLivePlayRequest::setStream(const std::string& stream) +{ + stream_ = stream; + setParameter("Stream", stream); +} + +std::string DescribeToutiaoLivePlayRequest::getApp()const +{ + return app_; +} + +void DescribeToutiaoLivePlayRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); +} + +std::string DescribeToutiaoLivePlayRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeToutiaoLivePlayRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeToutiaoLivePlayRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeToutiaoLivePlayRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeToutiaoLivePlayRequest::getDomain()const +{ + return domain_; +} + +void DescribeToutiaoLivePlayRequest::setDomain(const std::string& domain) +{ + domain_ = domain; + setParameter("Domain", domain); +} + diff --git a/live/src/model/DescribeToutiaoLivePlayResult.cc b/live/src/model/DescribeToutiaoLivePlayResult.cc new file mode 100644 index 000000000..1c95753df --- /dev/null +++ b/live/src/model/DescribeToutiaoLivePlayResult.cc @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; + +DescribeToutiaoLivePlayResult::DescribeToutiaoLivePlayResult() : + ServiceResult() +{} + +DescribeToutiaoLivePlayResult::DescribeToutiaoLivePlayResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeToutiaoLivePlayResult::~DescribeToutiaoLivePlayResult() +{} + +void DescribeToutiaoLivePlayResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allContentNode = value["Content"]["ContentItem"]; + for (auto valueContentContentItem : allContentNode) + { + ContentItem contentObject; + if(!valueContentContentItem["App"].isNull()) + contentObject.app = valueContentContentItem["App"].asString(); + if(!valueContentContentItem["Bandwidth"].isNull()) + contentObject.bandwidth = std::stof(valueContentContentItem["Bandwidth"].asString()); + if(!valueContentContentItem["CdnName"].isNull()) + contentObject.cdnName = valueContentContentItem["CdnName"].asString(); + if(!valueContentContentItem["Domain"].isNull()) + contentObject.domain = valueContentContentItem["Domain"].asString(); + if(!valueContentContentItem["PlayNum"].isNull()) + contentObject.playNum = std::stol(valueContentContentItem["PlayNum"].asString()); + if(!valueContentContentItem["StreamName"].isNull()) + contentObject.streamName = valueContentContentItem["StreamName"].asString(); + if(!valueContentContentItem["Timestamp"].isNull()) + contentObject.timestamp = std::stol(valueContentContentItem["Timestamp"].asString()); + content_.push_back(contentObject); + } + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + +} + +std::string DescribeToutiaoLivePlayResult::getDescription()const +{ + return description_; +} + +std::vector DescribeToutiaoLivePlayResult::getContent()const +{ + return content_; +} + diff --git a/live/src/model/DescribeToutiaoLivePublishRequest.cc b/live/src/model/DescribeToutiaoLivePublishRequest.cc new file mode 100644 index 000000000..32725ddab --- /dev/null +++ b/live/src/model/DescribeToutiaoLivePublishRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::DescribeToutiaoLivePublishRequest; + +DescribeToutiaoLivePublishRequest::DescribeToutiaoLivePublishRequest() : + RpcServiceRequest("live", "2016-11-01", "DescribeToutiaoLivePublish") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeToutiaoLivePublishRequest::~DescribeToutiaoLivePublishRequest() +{} + +std::string DescribeToutiaoLivePublishRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeToutiaoLivePublishRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeToutiaoLivePublishRequest::getStream()const +{ + return stream_; +} + +void DescribeToutiaoLivePublishRequest::setStream(const std::string& stream) +{ + stream_ = stream; + setParameter("Stream", stream); +} + +std::string DescribeToutiaoLivePublishRequest::getApp()const +{ + return app_; +} + +void DescribeToutiaoLivePublishRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); +} + +std::string DescribeToutiaoLivePublishRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeToutiaoLivePublishRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeToutiaoLivePublishRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeToutiaoLivePublishRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeToutiaoLivePublishRequest::getDomain()const +{ + return domain_; +} + +void DescribeToutiaoLivePublishRequest::setDomain(const std::string& domain) +{ + domain_ = domain; + setParameter("Domain", domain); +} + diff --git a/live/src/model/DescribeToutiaoLivePublishResult.cc b/live/src/model/DescribeToutiaoLivePublishResult.cc new file mode 100644 index 000000000..30124d9e7 --- /dev/null +++ b/live/src/model/DescribeToutiaoLivePublishResult.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; + +DescribeToutiaoLivePublishResult::DescribeToutiaoLivePublishResult() : + ServiceResult() +{} + +DescribeToutiaoLivePublishResult::DescribeToutiaoLivePublishResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeToutiaoLivePublishResult::~DescribeToutiaoLivePublishResult() +{} + +void DescribeToutiaoLivePublishResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allContentNode = value["Content"]["ContentItem"]; + for (auto valueContentContentItem : allContentNode) + { + ContentItem contentObject; + if(!valueContentContentItem["App"].isNull()) + contentObject.app = valueContentContentItem["App"].asString(); + if(!valueContentContentItem["Bitrate"].isNull()) + contentObject.bitrate = std::stof(valueContentContentItem["Bitrate"].asString()); + if(!valueContentContentItem["BwDiff"].isNull()) + contentObject.bwDiff = std::stof(valueContentContentItem["BwDiff"].asString()); + if(!valueContentContentItem["CdnName"].isNull()) + contentObject.cdnName = valueContentContentItem["CdnName"].asString(); + if(!valueContentContentItem["Domain"].isNull()) + contentObject.domain = valueContentContentItem["Domain"].asString(); + if(!valueContentContentItem["Flr"].isNull()) + contentObject.flr = std::stof(valueContentContentItem["Flr"].asString()); + if(!valueContentContentItem["Fps"].isNull()) + contentObject.fps = std::stof(valueContentContentItem["Fps"].asString()); + if(!valueContentContentItem["StreamName"].isNull()) + contentObject.streamName = valueContentContentItem["StreamName"].asString(); + if(!valueContentContentItem["Timestamp"].isNull()) + contentObject.timestamp = std::stol(valueContentContentItem["Timestamp"].asString()); + content_.push_back(contentObject); + } + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + +} + +std::string DescribeToutiaoLivePublishResult::getDescription()const +{ + return description_; +} + +std::vector DescribeToutiaoLivePublishResult::getContent()const +{ + return content_; +} + diff --git a/live/src/model/UpdateLivePullStreamInfoConfigRequest.cc b/live/src/model/UpdateLivePullStreamInfoConfigRequest.cc new file mode 100644 index 000000000..c20810f64 --- /dev/null +++ b/live/src/model/UpdateLivePullStreamInfoConfigRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Live::Model::UpdateLivePullStreamInfoConfigRequest; + +UpdateLivePullStreamInfoConfigRequest::UpdateLivePullStreamInfoConfigRequest() : + RpcServiceRequest("live", "2016-11-01", "UpdateLivePullStreamInfoConfig") +{ + setMethod(HttpRequest::Method::Get); +} + +UpdateLivePullStreamInfoConfigRequest::~UpdateLivePullStreamInfoConfigRequest() +{} + +std::string UpdateLivePullStreamInfoConfigRequest::getStartTime()const +{ + return startTime_; +} + +void UpdateLivePullStreamInfoConfigRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string UpdateLivePullStreamInfoConfigRequest::getAppName()const +{ + return appName_; +} + +void UpdateLivePullStreamInfoConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string UpdateLivePullStreamInfoConfigRequest::getStreamName()const +{ + return streamName_; +} + +void UpdateLivePullStreamInfoConfigRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string UpdateLivePullStreamInfoConfigRequest::getPullAlways()const +{ + return pullAlways_; +} + +void UpdateLivePullStreamInfoConfigRequest::setPullAlways(const std::string& pullAlways) +{ + pullAlways_ = pullAlways; + setParameter("PullAlways", pullAlways); +} + +std::string UpdateLivePullStreamInfoConfigRequest::getDomainName()const +{ + return domainName_; +} + +void UpdateLivePullStreamInfoConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string UpdateLivePullStreamInfoConfigRequest::getEndTime()const +{ + return endTime_; +} + +void UpdateLivePullStreamInfoConfigRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long UpdateLivePullStreamInfoConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void UpdateLivePullStreamInfoConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string UpdateLivePullStreamInfoConfigRequest::getSourceUrl()const +{ + return sourceUrl_; +} + +void UpdateLivePullStreamInfoConfigRequest::setSourceUrl(const std::string& sourceUrl) +{ + sourceUrl_ = sourceUrl; + setParameter("SourceUrl", sourceUrl); +} + diff --git a/live/src/model/UpdateLivePullStreamInfoConfigResult.cc b/live/src/model/UpdateLivePullStreamInfoConfigResult.cc new file mode 100644 index 000000000..1f58b9014 --- /dev/null +++ b/live/src/model/UpdateLivePullStreamInfoConfigResult.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; + +UpdateLivePullStreamInfoConfigResult::UpdateLivePullStreamInfoConfigResult() : + ServiceResult() +{} + +UpdateLivePullStreamInfoConfigResult::UpdateLivePullStreamInfoConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateLivePullStreamInfoConfigResult::~UpdateLivePullStreamInfoConfigResult() +{} + +void UpdateLivePullStreamInfoConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} +