Update to support new apis.
This commit is contained in:
@@ -319,8 +319,6 @@ set(live_public_header_model
|
||||
include/alibabacloud/live/model/DescribeLiveDomainBpsDataResult.h
|
||||
include/alibabacloud/live/model/DescribeLiveDomainBpsDataByLayerRequest.h
|
||||
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
|
||||
@@ -385,8 +383,6 @@ set(live_public_header_model
|
||||
include/alibabacloud/live/model/DescribeLiveEdgeTransferResult.h
|
||||
include/alibabacloud/live/model/DescribeLiveGrtnDurationRequest.h
|
||||
include/alibabacloud/live/model/DescribeLiveGrtnDurationResult.h
|
||||
include/alibabacloud/live/model/DescribeLiveGrtnTrafficUsageRequest.h
|
||||
include/alibabacloud/live/model/DescribeLiveGrtnTrafficUsageResult.h
|
||||
include/alibabacloud/live/model/DescribeLiveHttpsDomainListRequest.h
|
||||
include/alibabacloud/live/model/DescribeLiveHttpsDomainListResult.h
|
||||
include/alibabacloud/live/model/DescribeLiveInteractionMetricDataRequest.h
|
||||
@@ -453,8 +449,6 @@ set(live_public_header_model
|
||||
include/alibabacloud/live/model/DescribeLiveStreamMetricDetailDataResult.h
|
||||
include/alibabacloud/live/model/DescribeLiveStreamMonitorListRequest.h
|
||||
include/alibabacloud/live/model/DescribeLiveStreamMonitorListResult.h
|
||||
include/alibabacloud/live/model/DescribeLiveStreamOptimizedFeatureConfigRequest.h
|
||||
include/alibabacloud/live/model/DescribeLiveStreamOptimizedFeatureConfigResult.h
|
||||
include/alibabacloud/live/model/DescribeLiveStreamPreloadTasksRequest.h
|
||||
include/alibabacloud/live/model/DescribeLiveStreamPreloadTasksResult.h
|
||||
include/alibabacloud/live/model/DescribeLiveStreamPushMetricDetailDataRequest.h
|
||||
@@ -735,6 +729,8 @@ set(live_public_header_model
|
||||
include/alibabacloud/live/model/SetLiveStreamPreloadTasksResult.h
|
||||
include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigRequest.h
|
||||
include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigResult.h
|
||||
include/alibabacloud/live/model/SetShowListBackgroundRequest.h
|
||||
include/alibabacloud/live/model/SetShowListBackgroundResult.h
|
||||
include/alibabacloud/live/model/SetSnapshotCallbackAuthRequest.h
|
||||
include/alibabacloud/live/model/SetSnapshotCallbackAuthResult.h
|
||||
include/alibabacloud/live/model/StartCasterRequest.h
|
||||
@@ -1130,8 +1126,6 @@ set(live_src
|
||||
src/model/DescribeLiveDomainBpsDataResult.cc
|
||||
src/model/DescribeLiveDomainBpsDataByLayerRequest.cc
|
||||
src/model/DescribeLiveDomainBpsDataByLayerResult.cc
|
||||
src/model/DescribeLiveDomainBpsDataByTimeStampRequest.cc
|
||||
src/model/DescribeLiveDomainBpsDataByTimeStampResult.cc
|
||||
src/model/DescribeLiveDomainByCertificateRequest.cc
|
||||
src/model/DescribeLiveDomainByCertificateResult.cc
|
||||
src/model/DescribeLiveDomainCertificateInfoRequest.cc
|
||||
@@ -1196,8 +1190,6 @@ set(live_src
|
||||
src/model/DescribeLiveEdgeTransferResult.cc
|
||||
src/model/DescribeLiveGrtnDurationRequest.cc
|
||||
src/model/DescribeLiveGrtnDurationResult.cc
|
||||
src/model/DescribeLiveGrtnTrafficUsageRequest.cc
|
||||
src/model/DescribeLiveGrtnTrafficUsageResult.cc
|
||||
src/model/DescribeLiveHttpsDomainListRequest.cc
|
||||
src/model/DescribeLiveHttpsDomainListResult.cc
|
||||
src/model/DescribeLiveInteractionMetricDataRequest.cc
|
||||
@@ -1264,8 +1256,6 @@ set(live_src
|
||||
src/model/DescribeLiveStreamMetricDetailDataResult.cc
|
||||
src/model/DescribeLiveStreamMonitorListRequest.cc
|
||||
src/model/DescribeLiveStreamMonitorListResult.cc
|
||||
src/model/DescribeLiveStreamOptimizedFeatureConfigRequest.cc
|
||||
src/model/DescribeLiveStreamOptimizedFeatureConfigResult.cc
|
||||
src/model/DescribeLiveStreamPreloadTasksRequest.cc
|
||||
src/model/DescribeLiveStreamPreloadTasksResult.cc
|
||||
src/model/DescribeLiveStreamPushMetricDetailDataRequest.cc
|
||||
@@ -1546,6 +1536,8 @@ set(live_src
|
||||
src/model/SetLiveStreamPreloadTasksResult.cc
|
||||
src/model/SetLiveStreamsNotifyUrlConfigRequest.cc
|
||||
src/model/SetLiveStreamsNotifyUrlConfigResult.cc
|
||||
src/model/SetShowListBackgroundRequest.cc
|
||||
src/model/SetShowListBackgroundResult.cc
|
||||
src/model/SetSnapshotCallbackAuthRequest.cc
|
||||
src/model/SetSnapshotCallbackAuthResult.cc
|
||||
src/model/StartCasterRequest.cc
|
||||
|
||||
@@ -320,8 +320,6 @@
|
||||
#include "model/DescribeLiveDomainBpsDataResult.h"
|
||||
#include "model/DescribeLiveDomainBpsDataByLayerRequest.h"
|
||||
#include "model/DescribeLiveDomainBpsDataByLayerResult.h"
|
||||
#include "model/DescribeLiveDomainBpsDataByTimeStampRequest.h"
|
||||
#include "model/DescribeLiveDomainBpsDataByTimeStampResult.h"
|
||||
#include "model/DescribeLiveDomainByCertificateRequest.h"
|
||||
#include "model/DescribeLiveDomainByCertificateResult.h"
|
||||
#include "model/DescribeLiveDomainCertificateInfoRequest.h"
|
||||
@@ -386,8 +384,6 @@
|
||||
#include "model/DescribeLiveEdgeTransferResult.h"
|
||||
#include "model/DescribeLiveGrtnDurationRequest.h"
|
||||
#include "model/DescribeLiveGrtnDurationResult.h"
|
||||
#include "model/DescribeLiveGrtnTrafficUsageRequest.h"
|
||||
#include "model/DescribeLiveGrtnTrafficUsageResult.h"
|
||||
#include "model/DescribeLiveHttpsDomainListRequest.h"
|
||||
#include "model/DescribeLiveHttpsDomainListResult.h"
|
||||
#include "model/DescribeLiveInteractionMetricDataRequest.h"
|
||||
@@ -454,8 +450,6 @@
|
||||
#include "model/DescribeLiveStreamMetricDetailDataResult.h"
|
||||
#include "model/DescribeLiveStreamMonitorListRequest.h"
|
||||
#include "model/DescribeLiveStreamMonitorListResult.h"
|
||||
#include "model/DescribeLiveStreamOptimizedFeatureConfigRequest.h"
|
||||
#include "model/DescribeLiveStreamOptimizedFeatureConfigResult.h"
|
||||
#include "model/DescribeLiveStreamPreloadTasksRequest.h"
|
||||
#include "model/DescribeLiveStreamPreloadTasksResult.h"
|
||||
#include "model/DescribeLiveStreamPushMetricDetailDataRequest.h"
|
||||
@@ -736,6 +730,8 @@
|
||||
#include "model/SetLiveStreamPreloadTasksResult.h"
|
||||
#include "model/SetLiveStreamsNotifyUrlConfigRequest.h"
|
||||
#include "model/SetLiveStreamsNotifyUrlConfigResult.h"
|
||||
#include "model/SetShowListBackgroundRequest.h"
|
||||
#include "model/SetShowListBackgroundResult.h"
|
||||
#include "model/SetSnapshotCallbackAuthRequest.h"
|
||||
#include "model/SetSnapshotCallbackAuthResult.h"
|
||||
#include "model/StartCasterRequest.h"
|
||||
@@ -1286,9 +1282,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeLiveDomainBpsDataByLayerResult> DescribeLiveDomainBpsDataByLayerOutcome;
|
||||
typedef std::future<DescribeLiveDomainBpsDataByLayerOutcome> DescribeLiveDomainBpsDataByLayerOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveDomainBpsDataByLayerRequest&, const DescribeLiveDomainBpsDataByLayerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveDomainBpsDataByLayerAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveDomainBpsDataByTimeStampResult> DescribeLiveDomainBpsDataByTimeStampOutcome;
|
||||
typedef std::future<DescribeLiveDomainBpsDataByTimeStampOutcome> DescribeLiveDomainBpsDataByTimeStampOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveDomainBpsDataByTimeStampRequest&, const DescribeLiveDomainBpsDataByTimeStampOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveDomainBpsDataByTimeStampAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveDomainByCertificateResult> DescribeLiveDomainByCertificateOutcome;
|
||||
typedef std::future<DescribeLiveDomainByCertificateOutcome> DescribeLiveDomainByCertificateOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveDomainByCertificateRequest&, const DescribeLiveDomainByCertificateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveDomainByCertificateAsyncHandler;
|
||||
@@ -1385,9 +1378,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeLiveGrtnDurationResult> DescribeLiveGrtnDurationOutcome;
|
||||
typedef std::future<DescribeLiveGrtnDurationOutcome> DescribeLiveGrtnDurationOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveGrtnDurationRequest&, const DescribeLiveGrtnDurationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveGrtnDurationAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveGrtnTrafficUsageResult> DescribeLiveGrtnTrafficUsageOutcome;
|
||||
typedef std::future<DescribeLiveGrtnTrafficUsageOutcome> DescribeLiveGrtnTrafficUsageOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveGrtnTrafficUsageRequest&, const DescribeLiveGrtnTrafficUsageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveGrtnTrafficUsageAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveHttpsDomainListResult> DescribeLiveHttpsDomainListOutcome;
|
||||
typedef std::future<DescribeLiveHttpsDomainListOutcome> DescribeLiveHttpsDomainListOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveHttpsDomainListRequest&, const DescribeLiveHttpsDomainListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveHttpsDomainListAsyncHandler;
|
||||
@@ -1487,9 +1477,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeLiveStreamMonitorListResult> DescribeLiveStreamMonitorListOutcome;
|
||||
typedef std::future<DescribeLiveStreamMonitorListOutcome> DescribeLiveStreamMonitorListOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveStreamMonitorListRequest&, const DescribeLiveStreamMonitorListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamMonitorListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveStreamOptimizedFeatureConfigResult> DescribeLiveStreamOptimizedFeatureConfigOutcome;
|
||||
typedef std::future<DescribeLiveStreamOptimizedFeatureConfigOutcome> DescribeLiveStreamOptimizedFeatureConfigOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveStreamOptimizedFeatureConfigRequest&, const DescribeLiveStreamOptimizedFeatureConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamOptimizedFeatureConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveStreamPreloadTasksResult> DescribeLiveStreamPreloadTasksOutcome;
|
||||
typedef std::future<DescribeLiveStreamPreloadTasksOutcome> DescribeLiveStreamPreloadTasksOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveStreamPreloadTasksRequest&, const DescribeLiveStreamPreloadTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveStreamPreloadTasksAsyncHandler;
|
||||
@@ -1910,6 +1897,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SetLiveStreamsNotifyUrlConfigResult> SetLiveStreamsNotifyUrlConfigOutcome;
|
||||
typedef std::future<SetLiveStreamsNotifyUrlConfigOutcome> SetLiveStreamsNotifyUrlConfigOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::SetLiveStreamsNotifyUrlConfigRequest&, const SetLiveStreamsNotifyUrlConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetLiveStreamsNotifyUrlConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetShowListBackgroundResult> SetShowListBackgroundOutcome;
|
||||
typedef std::future<SetShowListBackgroundOutcome> SetShowListBackgroundOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::SetShowListBackgroundRequest&, const SetShowListBackgroundOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetShowListBackgroundAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetSnapshotCallbackAuthResult> SetSnapshotCallbackAuthOutcome;
|
||||
typedef std::future<SetSnapshotCallbackAuthOutcome> SetSnapshotCallbackAuthOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::SetSnapshotCallbackAuthRequest&, const SetSnapshotCallbackAuthOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetSnapshotCallbackAuthAsyncHandler;
|
||||
@@ -2503,9 +2493,6 @@ namespace AlibabaCloud
|
||||
DescribeLiveDomainBpsDataByLayerOutcome describeLiveDomainBpsDataByLayer(const Model::DescribeLiveDomainBpsDataByLayerRequest &request)const;
|
||||
void describeLiveDomainBpsDataByLayerAsync(const Model::DescribeLiveDomainBpsDataByLayerRequest& request, const DescribeLiveDomainBpsDataByLayerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveDomainBpsDataByLayerOutcomeCallable describeLiveDomainBpsDataByLayerCallable(const Model::DescribeLiveDomainBpsDataByLayerRequest& request) const;
|
||||
DescribeLiveDomainBpsDataByTimeStampOutcome describeLiveDomainBpsDataByTimeStamp(const Model::DescribeLiveDomainBpsDataByTimeStampRequest &request)const;
|
||||
void describeLiveDomainBpsDataByTimeStampAsync(const Model::DescribeLiveDomainBpsDataByTimeStampRequest& request, const DescribeLiveDomainBpsDataByTimeStampAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& 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<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveDomainByCertificateOutcomeCallable describeLiveDomainByCertificateCallable(const Model::DescribeLiveDomainByCertificateRequest& request) const;
|
||||
@@ -2602,9 +2589,6 @@ namespace AlibabaCloud
|
||||
DescribeLiveGrtnDurationOutcome describeLiveGrtnDuration(const Model::DescribeLiveGrtnDurationRequest &request)const;
|
||||
void describeLiveGrtnDurationAsync(const Model::DescribeLiveGrtnDurationRequest& request, const DescribeLiveGrtnDurationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveGrtnDurationOutcomeCallable describeLiveGrtnDurationCallable(const Model::DescribeLiveGrtnDurationRequest& request) const;
|
||||
DescribeLiveGrtnTrafficUsageOutcome describeLiveGrtnTrafficUsage(const Model::DescribeLiveGrtnTrafficUsageRequest &request)const;
|
||||
void describeLiveGrtnTrafficUsageAsync(const Model::DescribeLiveGrtnTrafficUsageRequest& request, const DescribeLiveGrtnTrafficUsageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveGrtnTrafficUsageOutcomeCallable describeLiveGrtnTrafficUsageCallable(const Model::DescribeLiveGrtnTrafficUsageRequest& request) const;
|
||||
DescribeLiveHttpsDomainListOutcome describeLiveHttpsDomainList(const Model::DescribeLiveHttpsDomainListRequest &request)const;
|
||||
void describeLiveHttpsDomainListAsync(const Model::DescribeLiveHttpsDomainListRequest& request, const DescribeLiveHttpsDomainListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveHttpsDomainListOutcomeCallable describeLiveHttpsDomainListCallable(const Model::DescribeLiveHttpsDomainListRequest& request) const;
|
||||
@@ -2704,9 +2688,6 @@ namespace AlibabaCloud
|
||||
DescribeLiveStreamMonitorListOutcome describeLiveStreamMonitorList(const Model::DescribeLiveStreamMonitorListRequest &request)const;
|
||||
void describeLiveStreamMonitorListAsync(const Model::DescribeLiveStreamMonitorListRequest& request, const DescribeLiveStreamMonitorListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveStreamMonitorListOutcomeCallable describeLiveStreamMonitorListCallable(const Model::DescribeLiveStreamMonitorListRequest& request) const;
|
||||
DescribeLiveStreamOptimizedFeatureConfigOutcome describeLiveStreamOptimizedFeatureConfig(const Model::DescribeLiveStreamOptimizedFeatureConfigRequest &request)const;
|
||||
void describeLiveStreamOptimizedFeatureConfigAsync(const Model::DescribeLiveStreamOptimizedFeatureConfigRequest& request, const DescribeLiveStreamOptimizedFeatureConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveStreamOptimizedFeatureConfigOutcomeCallable describeLiveStreamOptimizedFeatureConfigCallable(const Model::DescribeLiveStreamOptimizedFeatureConfigRequest& request) const;
|
||||
DescribeLiveStreamPreloadTasksOutcome describeLiveStreamPreloadTasks(const Model::DescribeLiveStreamPreloadTasksRequest &request)const;
|
||||
void describeLiveStreamPreloadTasksAsync(const Model::DescribeLiveStreamPreloadTasksRequest& request, const DescribeLiveStreamPreloadTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveStreamPreloadTasksOutcomeCallable describeLiveStreamPreloadTasksCallable(const Model::DescribeLiveStreamPreloadTasksRequest& request) const;
|
||||
@@ -3127,6 +3108,9 @@ namespace AlibabaCloud
|
||||
SetLiveStreamsNotifyUrlConfigOutcome setLiveStreamsNotifyUrlConfig(const Model::SetLiveStreamsNotifyUrlConfigRequest &request)const;
|
||||
void setLiveStreamsNotifyUrlConfigAsync(const Model::SetLiveStreamsNotifyUrlConfigRequest& request, const SetLiveStreamsNotifyUrlConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetLiveStreamsNotifyUrlConfigOutcomeCallable setLiveStreamsNotifyUrlConfigCallable(const Model::SetLiveStreamsNotifyUrlConfigRequest& request) const;
|
||||
SetShowListBackgroundOutcome setShowListBackground(const Model::SetShowListBackgroundRequest &request)const;
|
||||
void setShowListBackgroundAsync(const Model::SetShowListBackgroundRequest& request, const SetShowListBackgroundAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetShowListBackgroundOutcomeCallable setShowListBackgroundCallable(const Model::SetShowListBackgroundRequest& request) const;
|
||||
SetSnapshotCallbackAuthOutcome setSnapshotCallbackAuth(const Model::SetSnapshotCallbackAuthRequest &request)const;
|
||||
void setSnapshotCallbackAuthAsync(const Model::SetSnapshotCallbackAuthRequest& request, const SetSnapshotCallbackAuthAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetSnapshotCallbackAuthOutcomeCallable setSnapshotCallbackAuthCallable(const Model::SetSnapshotCallbackAuthRequest& request) const;
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
/*
|
||||
* 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_DESCRIBELIVEDOMAINBPSDATABYTIMESTAMPREQUEST_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATABYTIMESTAMPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Live {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainBpsDataByTimeStampRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeLiveDomainBpsDataByTimeStampRequest();
|
||||
~DescribeLiveDomainBpsDataByTimeStampRequest();
|
||||
std::string getLocationNames() const;
|
||||
void setLocationNames(const std::string &locationNames);
|
||||
std::string getIspNames() const;
|
||||
void setIspNames(const std::string &ispNames);
|
||||
std::string getDomainName() const;
|
||||
void setDomainName(const std::string &domainName);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTimePoint() const;
|
||||
void setTimePoint(const std::string &timePoint);
|
||||
|
||||
private:
|
||||
std::string locationNames_;
|
||||
std::string ispNames_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string timePoint_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Live
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATABYTIMESTAMPREQUEST_H_
|
||||
@@ -1,60 +0,0 @@
|
||||
/*
|
||||
* 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_DESCRIBELIVEGRTNTRAFFICUSAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEGRTNTRAFFICUSAGEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Live {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_LIVE_EXPORT DescribeLiveGrtnTrafficUsageRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeLiveGrtnTrafficUsageRequest();
|
||||
~DescribeLiveGrtnTrafficUsageRequest();
|
||||
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 getField() const;
|
||||
void setField(const std::string &field);
|
||||
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 field_;
|
||||
std::string appId_;
|
||||
std::string interval_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Live
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEGRTNTRAFFICUSAGEREQUEST_H_
|
||||
@@ -1,66 +0,0 @@
|
||||
/*
|
||||
* 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_DESCRIBELIVEGRTNTRAFFICUSAGERESULT_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEGRTNTRAFFICUSAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Live
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LIVE_EXPORT DescribeLiveGrtnTrafficUsageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct UsageData
|
||||
{
|
||||
double value;
|
||||
std::string timeStamp;
|
||||
};
|
||||
|
||||
|
||||
DescribeLiveGrtnTrafficUsageResult();
|
||||
explicit DescribeLiveGrtnTrafficUsageResult(const std::string &payload);
|
||||
~DescribeLiveGrtnTrafficUsageResult();
|
||||
std::vector<UsageData> getUsageDataPerInterval()const;
|
||||
std::string getArea()const;
|
||||
std::string getFiled()const;
|
||||
std::string getAppId()const;
|
||||
std::string getEndTime()const;
|
||||
std::string getStartTime()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<UsageData> usageDataPerInterval_;
|
||||
std::string area_;
|
||||
std::string filed_;
|
||||
std::string appId_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEGRTNTRAFFICUSAGERESULT_H_
|
||||
@@ -37,34 +37,36 @@ namespace AlibabaCloud
|
||||
DescribeLiveMessageAppResult();
|
||||
explicit DescribeLiveMessageAppResult(const std::string &payload);
|
||||
~DescribeLiveMessageAppResult();
|
||||
std::string getCallbackUrl()const;
|
||||
long getModifyTime()const;
|
||||
int getAuditType()const;
|
||||
long getCreateTime()const;
|
||||
int getMsgLifeCycle()const;
|
||||
std::string getEventCallbackUrl()const;
|
||||
std::string getAppName()const;
|
||||
std::string getCallbackUrl()const;
|
||||
std::string getAuditUrl()const;
|
||||
std::string getDataCenter()const;
|
||||
std::string getAppId()const;
|
||||
int getAuditType()const;
|
||||
std::string getAppKey()const;
|
||||
long getCreateTime()const;
|
||||
std::string getEventCallbackUrl()const;
|
||||
std::string getAppSign()const;
|
||||
bool getDisable()const;
|
||||
std::string getAppName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string callbackUrl_;
|
||||
long modifyTime_;
|
||||
int auditType_;
|
||||
long createTime_;
|
||||
int msgLifeCycle_;
|
||||
std::string eventCallbackUrl_;
|
||||
std::string appName_;
|
||||
std::string callbackUrl_;
|
||||
std::string auditUrl_;
|
||||
std::string dataCenter_;
|
||||
std::string appId_;
|
||||
int auditType_;
|
||||
std::string appKey_;
|
||||
long createTime_;
|
||||
std::string eventCallbackUrl_;
|
||||
std::string appSign_;
|
||||
bool disable_;
|
||||
std::string appName_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
/*
|
||||
* 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_DESCRIBELIVESTREAMOPTIMIZEDFEATURECONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMOPTIMIZEDFEATURECONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Live
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamOptimizedFeatureConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct LiveStreamOptimizedFeatureConfig
|
||||
{
|
||||
std::string configValue;
|
||||
std::string configName;
|
||||
std::string domainName;
|
||||
std::string configStatus;
|
||||
};
|
||||
|
||||
|
||||
DescribeLiveStreamOptimizedFeatureConfigResult();
|
||||
explicit DescribeLiveStreamOptimizedFeatureConfigResult(const std::string &payload);
|
||||
~DescribeLiveStreamOptimizedFeatureConfigResult();
|
||||
std::vector<LiveStreamOptimizedFeatureConfig> getLiveStreamOptimizedFeatureConfigList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<LiveStreamOptimizedFeatureConfig> liveStreamOptimizedFeatureConfigList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMOPTIMIZEDFEATURECONFIGRESULT_H_
|
||||
@@ -40,6 +40,8 @@ public:
|
||||
void setAppName(const std::string &appName);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
bool getIsGetCurrentRate() const;
|
||||
void setIsGetCurrentRate(bool isGetCurrentRate);
|
||||
std::string getStreamName() const;
|
||||
void setStreamName(const std::string &streamName);
|
||||
std::string getQueryType() const;
|
||||
@@ -61,6 +63,7 @@ private:
|
||||
int pageNum_;
|
||||
std::string appName_;
|
||||
int pageSize_;
|
||||
bool isGetCurrentRate_;
|
||||
std::string streamName_;
|
||||
std::string queryType_;
|
||||
std::string streamType_;
|
||||
|
||||
@@ -35,25 +35,31 @@ namespace AlibabaCloud
|
||||
struct LiveStreamOnlineInfo
|
||||
{
|
||||
std::string publishUrl;
|
||||
int frameRate;
|
||||
std::string domainName;
|
||||
std::string transcodeId;
|
||||
std::string serverIp;
|
||||
int currAudioDataRate;
|
||||
std::string streamUrlArgs;
|
||||
int currWidth;
|
||||
std::string transcodeDrm;
|
||||
std::string clientIp;
|
||||
int currFrameRate;
|
||||
std::string publishType;
|
||||
std::string appName;
|
||||
int audioDataRate;
|
||||
std::string streamName;
|
||||
std::string publishDomain;
|
||||
std::string transcoded;
|
||||
int height;
|
||||
std::string publishTime;
|
||||
int audioCodecId;
|
||||
int videoDataRate;
|
||||
int width;
|
||||
int videoCodecId;
|
||||
int frameRate;
|
||||
int currVideoDataRate;
|
||||
std::string domainName;
|
||||
std::string transcodeId;
|
||||
std::string serverIp;
|
||||
int currHeight;
|
||||
int currVideoCodecId;
|
||||
std::string transcoded;
|
||||
int videoDataRate;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -49,10 +49,12 @@ namespace AlibabaCloud
|
||||
int repeatTimes;
|
||||
std::string showName;
|
||||
};
|
||||
std::string background;
|
||||
std::string currentShowId;
|
||||
std::string highPriorityShowId;
|
||||
std::string highPriorityShowStartTime;
|
||||
int totalShowListRepeatTimes;
|
||||
std::string watermark;
|
||||
int showListRepeatTimes;
|
||||
std::vector<Show> showList;
|
||||
};
|
||||
|
||||
@@ -39,6 +39,7 @@ namespace AlibabaCloud
|
||||
std::string appId;
|
||||
std::string appKey;
|
||||
long createTime;
|
||||
int msgLifeCycle;
|
||||
std::string appSign;
|
||||
std::string disable;
|
||||
std::string appName;
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMOPTIMIZEDFEATURECONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMOPTIMIZEDFEATURECONFIGREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_SETSHOWLISTBACKGROUNDREQUEST_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_SETSHOWLISTBACKGROUNDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
@@ -26,23 +26,29 @@
|
||||
namespace AlibabaCloud {
|
||||
namespace Live {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_LIVE_EXPORT DescribeLiveStreamOptimizedFeatureConfigRequest : public RpcServiceRequest {
|
||||
class ALIBABACLOUD_LIVE_EXPORT SetShowListBackgroundRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeLiveStreamOptimizedFeatureConfigRequest();
|
||||
~DescribeLiveStreamOptimizedFeatureConfigRequest();
|
||||
std::string getConfigName() const;
|
||||
void setConfigName(const std::string &configName);
|
||||
std::string getDomainName() const;
|
||||
void setDomainName(const std::string &domainName);
|
||||
SetShowListBackgroundRequest();
|
||||
~SetShowListBackgroundRequest();
|
||||
std::string getMaterialId() const;
|
||||
void setMaterialId(const std::string &materialId);
|
||||
std::string getCasterId() const;
|
||||
void setCasterId(const std::string &casterId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getResourceType() const;
|
||||
void setResourceType(const std::string &resourceType);
|
||||
std::string getResourceUrl() const;
|
||||
void setResourceUrl(const std::string &resourceUrl);
|
||||
|
||||
private:
|
||||
std::string configName_;
|
||||
std::string domainName_;
|
||||
std::string materialId_;
|
||||
std::string casterId_;
|
||||
long ownerId_;
|
||||
std::string resourceType_;
|
||||
std::string resourceUrl_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Live
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVESTREAMOPTIMIZEDFEATURECONFIGREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_SETSHOWLISTBACKGROUNDREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATABYTIMESTAMPRESULT_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATABYTIMESTAMPRESULT_H_
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_SETSHOWLISTBACKGROUNDRESULT_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_SETSHOWLISTBACKGROUNDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,34 +29,21 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainBpsDataByTimeStampResult : public ServiceResult
|
||||
class ALIBABACLOUD_LIVE_EXPORT SetShowListBackgroundResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct BpsDataModel
|
||||
{
|
||||
std::string ispName;
|
||||
long bps;
|
||||
std::string timeStamp;
|
||||
std::string locationName;
|
||||
};
|
||||
|
||||
|
||||
DescribeLiveDomainBpsDataByTimeStampResult();
|
||||
explicit DescribeLiveDomainBpsDataByTimeStampResult(const std::string &payload);
|
||||
~DescribeLiveDomainBpsDataByTimeStampResult();
|
||||
std::vector<BpsDataModel> getBpsDataList()const;
|
||||
std::string getDomainName()const;
|
||||
std::string getTimeStamp()const;
|
||||
SetShowListBackgroundResult();
|
||||
explicit SetShowListBackgroundResult(const std::string &payload);
|
||||
~SetShowListBackgroundResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<BpsDataModel> bpsDataList_;
|
||||
std::string domainName_;
|
||||
std::string timeStamp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATABYTIMESTAMPRESULT_H_
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_SETSHOWLISTBACKGROUNDRESULT_H_
|
||||
@@ -5415,42 +5415,6 @@ LiveClient::DescribeLiveDomainBpsDataByLayerOutcomeCallable LiveClient::describe
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::DescribeLiveDomainBpsDataByTimeStampOutcome LiveClient::describeLiveDomainBpsDataByTimeStamp(const DescribeLiveDomainBpsDataByTimeStampRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLiveDomainBpsDataByTimeStampOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLiveDomainBpsDataByTimeStampOutcome(DescribeLiveDomainBpsDataByTimeStampResult(outcome.result()));
|
||||
else
|
||||
return DescribeLiveDomainBpsDataByTimeStampOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::describeLiveDomainBpsDataByTimeStampAsync(const DescribeLiveDomainBpsDataByTimeStampRequest& request, const DescribeLiveDomainBpsDataByTimeStampAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLiveDomainBpsDataByTimeStamp(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::DescribeLiveDomainBpsDataByTimeStampOutcomeCallable LiveClient::describeLiveDomainBpsDataByTimeStampCallable(const DescribeLiveDomainBpsDataByTimeStampRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLiveDomainBpsDataByTimeStampOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLiveDomainBpsDataByTimeStamp(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::DescribeLiveDomainByCertificateOutcome LiveClient::describeLiveDomainByCertificate(const DescribeLiveDomainByCertificateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -6603,42 +6567,6 @@ LiveClient::DescribeLiveGrtnDurationOutcomeCallable LiveClient::describeLiveGrtn
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::DescribeLiveGrtnTrafficUsageOutcome LiveClient::describeLiveGrtnTrafficUsage(const DescribeLiveGrtnTrafficUsageRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLiveGrtnTrafficUsageOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLiveGrtnTrafficUsageOutcome(DescribeLiveGrtnTrafficUsageResult(outcome.result()));
|
||||
else
|
||||
return DescribeLiveGrtnTrafficUsageOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::describeLiveGrtnTrafficUsageAsync(const DescribeLiveGrtnTrafficUsageRequest& request, const DescribeLiveGrtnTrafficUsageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLiveGrtnTrafficUsage(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::DescribeLiveGrtnTrafficUsageOutcomeCallable LiveClient::describeLiveGrtnTrafficUsageCallable(const DescribeLiveGrtnTrafficUsageRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLiveGrtnTrafficUsageOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLiveGrtnTrafficUsage(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::DescribeLiveHttpsDomainListOutcome LiveClient::describeLiveHttpsDomainList(const DescribeLiveHttpsDomainListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -7827,42 +7755,6 @@ LiveClient::DescribeLiveStreamMonitorListOutcomeCallable LiveClient::describeLiv
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::DescribeLiveStreamOptimizedFeatureConfigOutcome LiveClient::describeLiveStreamOptimizedFeatureConfig(const DescribeLiveStreamOptimizedFeatureConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLiveStreamOptimizedFeatureConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLiveStreamOptimizedFeatureConfigOutcome(DescribeLiveStreamOptimizedFeatureConfigResult(outcome.result()));
|
||||
else
|
||||
return DescribeLiveStreamOptimizedFeatureConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::describeLiveStreamOptimizedFeatureConfigAsync(const DescribeLiveStreamOptimizedFeatureConfigRequest& request, const DescribeLiveStreamOptimizedFeatureConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLiveStreamOptimizedFeatureConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::DescribeLiveStreamOptimizedFeatureConfigOutcomeCallable LiveClient::describeLiveStreamOptimizedFeatureConfigCallable(const DescribeLiveStreamOptimizedFeatureConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLiveStreamOptimizedFeatureConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLiveStreamOptimizedFeatureConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::DescribeLiveStreamPreloadTasksOutcome LiveClient::describeLiveStreamPreloadTasks(const DescribeLiveStreamPreloadTasksRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -12903,6 +12795,42 @@ LiveClient::SetLiveStreamsNotifyUrlConfigOutcomeCallable LiveClient::setLiveStre
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::SetShowListBackgroundOutcome LiveClient::setShowListBackground(const SetShowListBackgroundRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SetShowListBackgroundOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SetShowListBackgroundOutcome(SetShowListBackgroundResult(outcome.result()));
|
||||
else
|
||||
return SetShowListBackgroundOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::setShowListBackgroundAsync(const SetShowListBackgroundRequest& request, const SetShowListBackgroundAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, setShowListBackground(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::SetShowListBackgroundOutcomeCallable LiveClient::setShowListBackgroundCallable(const SetShowListBackgroundRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SetShowListBackgroundOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->setShowListBackground(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::SetSnapshotCallbackAuthOutcome LiveClient::setSnapshotCallbackAuth(const SetSnapshotCallbackAuthRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DescribeLiveDomainBpsDataByTimeStampRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DescribeLiveDomainBpsDataByTimeStampRequest;
|
||||
|
||||
DescribeLiveDomainBpsDataByTimeStampRequest::DescribeLiveDomainBpsDataByTimeStampRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainBpsDataByTimeStamp") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeLiveDomainBpsDataByTimeStampRequest::~DescribeLiveDomainBpsDataByTimeStampRequest() {}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getLocationNames() const {
|
||||
return locationNames_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setLocationNames(const std::string &locationNames) {
|
||||
locationNames_ = locationNames;
|
||||
setParameter(std::string("LocationNames"), locationNames);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getIspNames() const {
|
||||
return ispNames_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setIspNames(const std::string &ispNames) {
|
||||
ispNames_ = ispNames;
|
||||
setParameter(std::string("IspNames"), ispNames);
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
long DescribeLiveDomainBpsDataByTimeStampRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampRequest::getTimePoint() const {
|
||||
return timePoint_;
|
||||
}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampRequest::setTimePoint(const std::string &timePoint) {
|
||||
timePoint_ = timePoint;
|
||||
setParameter(std::string("TimePoint"), timePoint);
|
||||
}
|
||||
|
||||
@@ -1,77 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DescribeLiveDomainBpsDataByTimeStampResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DescribeLiveDomainBpsDataByTimeStampResult::DescribeLiveDomainBpsDataByTimeStampResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLiveDomainBpsDataByTimeStampResult::DescribeLiveDomainBpsDataByTimeStampResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLiveDomainBpsDataByTimeStampResult::~DescribeLiveDomainBpsDataByTimeStampResult()
|
||||
{}
|
||||
|
||||
void DescribeLiveDomainBpsDataByTimeStampResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allBpsDataListNode = value["BpsDataList"]["BpsDataModel"];
|
||||
for (auto valueBpsDataListBpsDataModel : allBpsDataListNode)
|
||||
{
|
||||
BpsDataModel bpsDataListObject;
|
||||
if(!valueBpsDataListBpsDataModel["LocationName"].isNull())
|
||||
bpsDataListObject.locationName = valueBpsDataListBpsDataModel["LocationName"].asString();
|
||||
if(!valueBpsDataListBpsDataModel["TimeStamp"].isNull())
|
||||
bpsDataListObject.timeStamp = valueBpsDataListBpsDataModel["TimeStamp"].asString();
|
||||
if(!valueBpsDataListBpsDataModel["IspName"].isNull())
|
||||
bpsDataListObject.ispName = valueBpsDataListBpsDataModel["IspName"].asString();
|
||||
if(!valueBpsDataListBpsDataModel["Bps"].isNull())
|
||||
bpsDataListObject.bps = std::stol(valueBpsDataListBpsDataModel["Bps"].asString());
|
||||
bpsDataList_.push_back(bpsDataListObject);
|
||||
}
|
||||
if(!value["TimeStamp"].isNull())
|
||||
timeStamp_ = value["TimeStamp"].asString();
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeLiveDomainBpsDataByTimeStampResult::BpsDataModel> DescribeLiveDomainBpsDataByTimeStampResult::getBpsDataList()const
|
||||
{
|
||||
return bpsDataList_;
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeLiveDomainBpsDataByTimeStampResult::getTimeStamp()const
|
||||
{
|
||||
return timeStamp_;
|
||||
}
|
||||
|
||||
@@ -1,90 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DescribeLiveGrtnTrafficUsageRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DescribeLiveGrtnTrafficUsageRequest;
|
||||
|
||||
DescribeLiveGrtnTrafficUsageRequest::DescribeLiveGrtnTrafficUsageRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DescribeLiveGrtnTrafficUsage") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeLiveGrtnTrafficUsageRequest::~DescribeLiveGrtnTrafficUsageRequest() {}
|
||||
|
||||
std::string DescribeLiveGrtnTrafficUsageRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeLiveGrtnTrafficUsageRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
std::string DescribeLiveGrtnTrafficUsageRequest::getArea() const {
|
||||
return area_;
|
||||
}
|
||||
|
||||
void DescribeLiveGrtnTrafficUsageRequest::setArea(const std::string &area) {
|
||||
area_ = area;
|
||||
setParameter(std::string("Area"), area);
|
||||
}
|
||||
|
||||
std::string DescribeLiveGrtnTrafficUsageRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeLiveGrtnTrafficUsageRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
long DescribeLiveGrtnTrafficUsageRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLiveGrtnTrafficUsageRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeLiveGrtnTrafficUsageRequest::getField() const {
|
||||
return field_;
|
||||
}
|
||||
|
||||
void DescribeLiveGrtnTrafficUsageRequest::setField(const std::string &field) {
|
||||
field_ = field;
|
||||
setParameter(std::string("Field"), field);
|
||||
}
|
||||
|
||||
std::string DescribeLiveGrtnTrafficUsageRequest::getAppId() const {
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DescribeLiveGrtnTrafficUsageRequest::setAppId(const std::string &appId) {
|
||||
appId_ = appId;
|
||||
setParameter(std::string("AppId"), appId);
|
||||
}
|
||||
|
||||
std::string DescribeLiveGrtnTrafficUsageRequest::getInterval() const {
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void DescribeLiveGrtnTrafficUsageRequest::setInterval(const std::string &interval) {
|
||||
interval_ = interval;
|
||||
setParameter(std::string("Interval"), interval);
|
||||
}
|
||||
|
||||
@@ -1,94 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DescribeLiveGrtnTrafficUsageResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DescribeLiveGrtnTrafficUsageResult::DescribeLiveGrtnTrafficUsageResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLiveGrtnTrafficUsageResult::DescribeLiveGrtnTrafficUsageResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLiveGrtnTrafficUsageResult::~DescribeLiveGrtnTrafficUsageResult()
|
||||
{}
|
||||
|
||||
void DescribeLiveGrtnTrafficUsageResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allUsageDataPerIntervalNode = value["UsageDataPerInterval"]["UsageData"];
|
||||
for (auto valueUsageDataPerIntervalUsageData : allUsageDataPerIntervalNode)
|
||||
{
|
||||
UsageData usageDataPerIntervalObject;
|
||||
if(!valueUsageDataPerIntervalUsageData["TimeStamp"].isNull())
|
||||
usageDataPerIntervalObject.timeStamp = valueUsageDataPerIntervalUsageData["TimeStamp"].asString();
|
||||
if(!valueUsageDataPerIntervalUsageData["Value"].isNull())
|
||||
usageDataPerIntervalObject.value = valueUsageDataPerIntervalUsageData["Value"].asString();
|
||||
usageDataPerInterval_.push_back(usageDataPerIntervalObject);
|
||||
}
|
||||
if(!value["AppId"].isNull())
|
||||
appId_ = value["AppId"].asString();
|
||||
if(!value["Area"].isNull())
|
||||
area_ = value["Area"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
if(!value["Filed"].isNull())
|
||||
filed_ = value["Filed"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeLiveGrtnTrafficUsageResult::UsageData> DescribeLiveGrtnTrafficUsageResult::getUsageDataPerInterval()const
|
||||
{
|
||||
return usageDataPerInterval_;
|
||||
}
|
||||
|
||||
std::string DescribeLiveGrtnTrafficUsageResult::getArea()const
|
||||
{
|
||||
return area_;
|
||||
}
|
||||
|
||||
std::string DescribeLiveGrtnTrafficUsageResult::getFiled()const
|
||||
{
|
||||
return filed_;
|
||||
}
|
||||
|
||||
std::string DescribeLiveGrtnTrafficUsageResult::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
std::string DescribeLiveGrtnTrafficUsageResult::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
std::string DescribeLiveGrtnTrafficUsageResult::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
@@ -61,21 +61,48 @@ void DescribeLiveMessageAppResult::parse(const std::string &payload)
|
||||
createTime_ = std::stol(value["CreateTime"].asString());
|
||||
if(!value["ModifyTime"].isNull())
|
||||
modifyTime_ = std::stol(value["ModifyTime"].asString());
|
||||
if(!value["MsgLifeCycle"].isNull())
|
||||
msgLifeCycle_ = std::stoi(value["MsgLifeCycle"].asString());
|
||||
if(!value["DataCenter"].isNull())
|
||||
dataCenter_ = value["DataCenter"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeLiveMessageAppResult::getCallbackUrl()const
|
||||
{
|
||||
return callbackUrl_;
|
||||
}
|
||||
|
||||
long DescribeLiveMessageAppResult::getModifyTime()const
|
||||
{
|
||||
return modifyTime_;
|
||||
}
|
||||
|
||||
int DescribeLiveMessageAppResult::getAuditType()const
|
||||
{
|
||||
return auditType_;
|
||||
}
|
||||
|
||||
long DescribeLiveMessageAppResult::getCreateTime()const
|
||||
{
|
||||
return createTime_;
|
||||
}
|
||||
|
||||
int DescribeLiveMessageAppResult::getMsgLifeCycle()const
|
||||
{
|
||||
return msgLifeCycle_;
|
||||
}
|
||||
|
||||
std::string DescribeLiveMessageAppResult::getEventCallbackUrl()const
|
||||
{
|
||||
return eventCallbackUrl_;
|
||||
}
|
||||
|
||||
std::string DescribeLiveMessageAppResult::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
std::string DescribeLiveMessageAppResult::getCallbackUrl()const
|
||||
{
|
||||
return callbackUrl_;
|
||||
}
|
||||
|
||||
std::string DescribeLiveMessageAppResult::getAuditUrl()const
|
||||
{
|
||||
return auditUrl_;
|
||||
@@ -91,26 +118,11 @@ std::string DescribeLiveMessageAppResult::getAppId()const
|
||||
return appId_;
|
||||
}
|
||||
|
||||
int DescribeLiveMessageAppResult::getAuditType()const
|
||||
{
|
||||
return auditType_;
|
||||
}
|
||||
|
||||
std::string DescribeLiveMessageAppResult::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
long DescribeLiveMessageAppResult::getCreateTime()const
|
||||
{
|
||||
return createTime_;
|
||||
}
|
||||
|
||||
std::string DescribeLiveMessageAppResult::getEventCallbackUrl()const
|
||||
{
|
||||
return eventCallbackUrl_;
|
||||
}
|
||||
|
||||
std::string DescribeLiveMessageAppResult::getAppSign()const
|
||||
{
|
||||
return appSign_;
|
||||
@@ -121,8 +133,3 @@ bool DescribeLiveMessageAppResult::getDisable()const
|
||||
return disable_;
|
||||
}
|
||||
|
||||
std::string DescribeLiveMessageAppResult::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DescribeLiveStreamOptimizedFeatureConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DescribeLiveStreamOptimizedFeatureConfigRequest;
|
||||
|
||||
DescribeLiveStreamOptimizedFeatureConfigRequest::DescribeLiveStreamOptimizedFeatureConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DescribeLiveStreamOptimizedFeatureConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeLiveStreamOptimizedFeatureConfigRequest::~DescribeLiveStreamOptimizedFeatureConfigRequest() {}
|
||||
|
||||
std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getConfigName() const {
|
||||
return configName_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamOptimizedFeatureConfigRequest::setConfigName(const std::string &configName) {
|
||||
configName_ = configName;
|
||||
setParameter(std::string("ConfigName"), configName);
|
||||
}
|
||||
|
||||
std::string DescribeLiveStreamOptimizedFeatureConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamOptimizedFeatureConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
long DescribeLiveStreamOptimizedFeatureConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamOptimizedFeatureConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DescribeLiveStreamOptimizedFeatureConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DescribeLiveStreamOptimizedFeatureConfigResult::DescribeLiveStreamOptimizedFeatureConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLiveStreamOptimizedFeatureConfigResult::DescribeLiveStreamOptimizedFeatureConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLiveStreamOptimizedFeatureConfigResult::~DescribeLiveStreamOptimizedFeatureConfigResult()
|
||||
{}
|
||||
|
||||
void DescribeLiveStreamOptimizedFeatureConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allLiveStreamOptimizedFeatureConfigListNode = value["LiveStreamOptimizedFeatureConfigList"]["LiveStreamOptimizedFeatureConfig"];
|
||||
for (auto valueLiveStreamOptimizedFeatureConfigListLiveStreamOptimizedFeatureConfig : allLiveStreamOptimizedFeatureConfigListNode)
|
||||
{
|
||||
LiveStreamOptimizedFeatureConfig liveStreamOptimizedFeatureConfigListObject;
|
||||
if(!valueLiveStreamOptimizedFeatureConfigListLiveStreamOptimizedFeatureConfig["ConfigName"].isNull())
|
||||
liveStreamOptimizedFeatureConfigListObject.configName = valueLiveStreamOptimizedFeatureConfigListLiveStreamOptimizedFeatureConfig["ConfigName"].asString();
|
||||
if(!valueLiveStreamOptimizedFeatureConfigListLiveStreamOptimizedFeatureConfig["ConfigStatus"].isNull())
|
||||
liveStreamOptimizedFeatureConfigListObject.configStatus = valueLiveStreamOptimizedFeatureConfigListLiveStreamOptimizedFeatureConfig["ConfigStatus"].asString();
|
||||
if(!valueLiveStreamOptimizedFeatureConfigListLiveStreamOptimizedFeatureConfig["DomainName"].isNull())
|
||||
liveStreamOptimizedFeatureConfigListObject.domainName = valueLiveStreamOptimizedFeatureConfigListLiveStreamOptimizedFeatureConfig["DomainName"].asString();
|
||||
if(!valueLiveStreamOptimizedFeatureConfigListLiveStreamOptimizedFeatureConfig["ConfigValue"].isNull())
|
||||
liveStreamOptimizedFeatureConfigListObject.configValue = valueLiveStreamOptimizedFeatureConfigListLiveStreamOptimizedFeatureConfig["ConfigValue"].asString();
|
||||
liveStreamOptimizedFeatureConfigList_.push_back(liveStreamOptimizedFeatureConfigListObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeLiveStreamOptimizedFeatureConfigResult::LiveStreamOptimizedFeatureConfig> DescribeLiveStreamOptimizedFeatureConfigResult::getLiveStreamOptimizedFeatureConfigList()const
|
||||
{
|
||||
return liveStreamOptimizedFeatureConfigList_;
|
||||
}
|
||||
|
||||
@@ -70,6 +70,15 @@ void DescribeLiveStreamsOnlineListRequest::setPageSize(int pageSize) {
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
bool DescribeLiveStreamsOnlineListRequest::getIsGetCurrentRate() const {
|
||||
return isGetCurrentRate_;
|
||||
}
|
||||
|
||||
void DescribeLiveStreamsOnlineListRequest::setIsGetCurrentRate(bool isGetCurrentRate) {
|
||||
isGetCurrentRate_ = isGetCurrentRate;
|
||||
setParameter(std::string("IsGetCurrentRate"), isGetCurrentRate ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeLiveStreamsOnlineListRequest::getStreamName() const {
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
@@ -83,6 +83,18 @@ void DescribeLiveStreamsOnlineListResult::parse(const std::string &payload)
|
||||
onlineInfoObject.serverIp = valueOnlineInfoLiveStreamOnlineInfo["ServerIp"].asString();
|
||||
if(!valueOnlineInfoLiveStreamOnlineInfo["StreamUrlArgs"].isNull())
|
||||
onlineInfoObject.streamUrlArgs = valueOnlineInfoLiveStreamOnlineInfo["StreamUrlArgs"].asString();
|
||||
if(!valueOnlineInfoLiveStreamOnlineInfo["CurrAudioDataRate"].isNull())
|
||||
onlineInfoObject.currAudioDataRate = std::stoi(valueOnlineInfoLiveStreamOnlineInfo["CurrAudioDataRate"].asString());
|
||||
if(!valueOnlineInfoLiveStreamOnlineInfo["CurrVideoDataRate"].isNull())
|
||||
onlineInfoObject.currVideoDataRate = std::stoi(valueOnlineInfoLiveStreamOnlineInfo["CurrVideoDataRate"].asString());
|
||||
if(!valueOnlineInfoLiveStreamOnlineInfo["CurrWidth"].isNull())
|
||||
onlineInfoObject.currWidth = std::stoi(valueOnlineInfoLiveStreamOnlineInfo["CurrWidth"].asString());
|
||||
if(!valueOnlineInfoLiveStreamOnlineInfo["CurrHeight"].isNull())
|
||||
onlineInfoObject.currHeight = std::stoi(valueOnlineInfoLiveStreamOnlineInfo["CurrHeight"].asString());
|
||||
if(!valueOnlineInfoLiveStreamOnlineInfo["CurrFrameRate"].isNull())
|
||||
onlineInfoObject.currFrameRate = std::stoi(valueOnlineInfoLiveStreamOnlineInfo["CurrFrameRate"].asString());
|
||||
if(!valueOnlineInfoLiveStreamOnlineInfo["CurrVideoCodecId"].isNull())
|
||||
onlineInfoObject.currVideoCodecId = std::stoi(valueOnlineInfoLiveStreamOnlineInfo["CurrVideoCodecId"].asString());
|
||||
onlineInfo_.push_back(onlineInfoObject);
|
||||
}
|
||||
if(!value["TotalPage"].isNull())
|
||||
|
||||
@@ -42,6 +42,10 @@ void DescribeShowListResult::parse(const std::string &payload)
|
||||
auto showListInfoNode = value["ShowListInfo"];
|
||||
if(!showListInfoNode["CurrentShowId"].isNull())
|
||||
showListInfo_.currentShowId = showListInfoNode["CurrentShowId"].asString();
|
||||
if(!showListInfoNode["Background"].isNull())
|
||||
showListInfo_.background = showListInfoNode["Background"].asString();
|
||||
if(!showListInfoNode["Watermark"].isNull())
|
||||
showListInfo_.watermark = showListInfoNode["Watermark"].asString();
|
||||
if(!showListInfoNode["HighPriorityShowId"].isNull())
|
||||
showListInfo_.highPriorityShowId = showListInfoNode["HighPriorityShowId"].asString();
|
||||
if(!showListInfoNode["HighPriorityShowStartTime"].isNull())
|
||||
|
||||
@@ -59,6 +59,8 @@ void ListLiveMessageAppsResult::parse(const std::string &payload)
|
||||
appListObject.disable = valueAppListApps["Disable"].asString();
|
||||
if(!valueAppListApps["ModifyTime"].isNull())
|
||||
appListObject.modifyTime = std::stol(valueAppListApps["ModifyTime"].asString());
|
||||
if(!valueAppListApps["MsgLifeCycle"].isNull())
|
||||
appListObject.msgLifeCycle = std::stoi(valueAppListApps["MsgLifeCycle"].asString());
|
||||
appList_.push_back(appListObject);
|
||||
}
|
||||
if(!value["HasMore"].isNull())
|
||||
|
||||
72
live/src/model/SetShowListBackgroundRequest.cc
Normal file
72
live/src/model/SetShowListBackgroundRequest.cc
Normal file
@@ -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 <alibabacloud/live/model/SetShowListBackgroundRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::SetShowListBackgroundRequest;
|
||||
|
||||
SetShowListBackgroundRequest::SetShowListBackgroundRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "SetShowListBackground") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SetShowListBackgroundRequest::~SetShowListBackgroundRequest() {}
|
||||
|
||||
std::string SetShowListBackgroundRequest::getMaterialId() const {
|
||||
return materialId_;
|
||||
}
|
||||
|
||||
void SetShowListBackgroundRequest::setMaterialId(const std::string &materialId) {
|
||||
materialId_ = materialId;
|
||||
setParameter(std::string("MaterialId"), materialId);
|
||||
}
|
||||
|
||||
std::string SetShowListBackgroundRequest::getCasterId() const {
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
void SetShowListBackgroundRequest::setCasterId(const std::string &casterId) {
|
||||
casterId_ = casterId;
|
||||
setParameter(std::string("CasterId"), casterId);
|
||||
}
|
||||
|
||||
long SetShowListBackgroundRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void SetShowListBackgroundRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string SetShowListBackgroundRequest::getResourceType() const {
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void SetShowListBackgroundRequest::setResourceType(const std::string &resourceType) {
|
||||
resourceType_ = resourceType;
|
||||
setParameter(std::string("ResourceType"), resourceType);
|
||||
}
|
||||
|
||||
std::string SetShowListBackgroundRequest::getResourceUrl() const {
|
||||
return resourceUrl_;
|
||||
}
|
||||
|
||||
void SetShowListBackgroundRequest::setResourceUrl(const std::string &resourceUrl) {
|
||||
resourceUrl_ = resourceUrl;
|
||||
setParameter(std::string("ResourceUrl"), resourceUrl);
|
||||
}
|
||||
|
||||
44
live/src/model/SetShowListBackgroundResult.cc
Normal file
44
live/src/model/SetShowListBackgroundResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/SetShowListBackgroundResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
SetShowListBackgroundResult::SetShowListBackgroundResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SetShowListBackgroundResult::SetShowListBackgroundResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SetShowListBackgroundResult::~SetShowListBackgroundResult()
|
||||
{}
|
||||
|
||||
void SetShowListBackgroundResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user