Generated 2016-11-01 for live.

This commit is contained in:
sdk-team
2022-01-06 07:34:35 +00:00
parent fae23e0d83
commit 5ea308961d
43 changed files with 1846 additions and 8 deletions

View File

@@ -73,6 +73,8 @@ set(live_public_header_model
include/alibabacloud/live/model/AddPlaylistItemsResult.h
include/alibabacloud/live/model/AddRtsLiveStreamTranscodeRequest.h
include/alibabacloud/live/model/AddRtsLiveStreamTranscodeResult.h
include/alibabacloud/live/model/AddShowIntoShowListRequest.h
include/alibabacloud/live/model/AddShowIntoShowListResult.h
include/alibabacloud/live/model/AddStudioLayoutRequest.h
include/alibabacloud/live/model/AddStudioLayoutResult.h
include/alibabacloud/live/model/AddTrancodeSEIRequest.h
@@ -293,6 +295,8 @@ set(live_public_header_model
include/alibabacloud/live/model/DescribeLiveDomainStagingConfigResult.h
include/alibabacloud/live/model/DescribeLiveDomainStreamTranscodeDataRequest.h
include/alibabacloud/live/model/DescribeLiveDomainStreamTranscodeDataResult.h
include/alibabacloud/live/model/DescribeLiveDomainStreamWaterLevelRequest.h
include/alibabacloud/live/model/DescribeLiveDomainStreamWaterLevelResult.h
include/alibabacloud/live/model/DescribeLiveDomainTimeShiftDataRequest.h
include/alibabacloud/live/model/DescribeLiveDomainTimeShiftDataResult.h
include/alibabacloud/live/model/DescribeLiveDomainTrafficDataRequest.h
@@ -385,6 +389,8 @@ set(live_public_header_model
include/alibabacloud/live/model/DescribeRoomListResult.h
include/alibabacloud/live/model/DescribeRoomStatusRequest.h
include/alibabacloud/live/model/DescribeRoomStatusResult.h
include/alibabacloud/live/model/DescribeShowListRequest.h
include/alibabacloud/live/model/DescribeShowListResult.h
include/alibabacloud/live/model/DescribeStudioLayoutsRequest.h
include/alibabacloud/live/model/DescribeStudioLayoutsResult.h
include/alibabacloud/live/model/DescribeToutiaoLivePlayRequest.h
@@ -449,16 +455,22 @@ set(live_public_header_model
include/alibabacloud/live/model/ModifyLiveDomainSchdmByPropertyResult.h
include/alibabacloud/live/model/ModifyLiveRealtimeLogDeliveryRequest.h
include/alibabacloud/live/model/ModifyLiveRealtimeLogDeliveryResult.h
include/alibabacloud/live/model/ModifyShowListRequest.h
include/alibabacloud/live/model/ModifyShowListResult.h
include/alibabacloud/live/model/ModifyStudioLayoutRequest.h
include/alibabacloud/live/model/ModifyStudioLayoutResult.h
include/alibabacloud/live/model/OpenLiveShiftRequest.h
include/alibabacloud/live/model/OpenLiveShiftResult.h
include/alibabacloud/live/model/PlayChoosenShowRequest.h
include/alibabacloud/live/model/PlayChoosenShowResult.h
include/alibabacloud/live/model/PublishLiveStagingConfigToProductionRequest.h
include/alibabacloud/live/model/PublishLiveStagingConfigToProductionResult.h
include/alibabacloud/live/model/RealTimeRecordCommandRequest.h
include/alibabacloud/live/model/RealTimeRecordCommandResult.h
include/alibabacloud/live/model/RealTimeSnapshotCommandRequest.h
include/alibabacloud/live/model/RealTimeSnapshotCommandResult.h
include/alibabacloud/live/model/RemoveShowFromShowListRequest.h
include/alibabacloud/live/model/RemoveShowFromShowListResult.h
include/alibabacloud/live/model/ResumeLiveStreamRequest.h
include/alibabacloud/live/model/ResumeLiveStreamResult.h
include/alibabacloud/live/model/RollbackLiveStagingConfigRequest.h
@@ -608,6 +620,8 @@ set(live_src
src/model/AddPlaylistItemsResult.cc
src/model/AddRtsLiveStreamTranscodeRequest.cc
src/model/AddRtsLiveStreamTranscodeResult.cc
src/model/AddShowIntoShowListRequest.cc
src/model/AddShowIntoShowListResult.cc
src/model/AddStudioLayoutRequest.cc
src/model/AddStudioLayoutResult.cc
src/model/AddTrancodeSEIRequest.cc
@@ -828,6 +842,8 @@ set(live_src
src/model/DescribeLiveDomainStagingConfigResult.cc
src/model/DescribeLiveDomainStreamTranscodeDataRequest.cc
src/model/DescribeLiveDomainStreamTranscodeDataResult.cc
src/model/DescribeLiveDomainStreamWaterLevelRequest.cc
src/model/DescribeLiveDomainStreamWaterLevelResult.cc
src/model/DescribeLiveDomainTimeShiftDataRequest.cc
src/model/DescribeLiveDomainTimeShiftDataResult.cc
src/model/DescribeLiveDomainTrafficDataRequest.cc
@@ -920,6 +936,8 @@ set(live_src
src/model/DescribeRoomListResult.cc
src/model/DescribeRoomStatusRequest.cc
src/model/DescribeRoomStatusResult.cc
src/model/DescribeShowListRequest.cc
src/model/DescribeShowListResult.cc
src/model/DescribeStudioLayoutsRequest.cc
src/model/DescribeStudioLayoutsResult.cc
src/model/DescribeToutiaoLivePlayRequest.cc
@@ -984,16 +1002,22 @@ set(live_src
src/model/ModifyLiveDomainSchdmByPropertyResult.cc
src/model/ModifyLiveRealtimeLogDeliveryRequest.cc
src/model/ModifyLiveRealtimeLogDeliveryResult.cc
src/model/ModifyShowListRequest.cc
src/model/ModifyShowListResult.cc
src/model/ModifyStudioLayoutRequest.cc
src/model/ModifyStudioLayoutResult.cc
src/model/OpenLiveShiftRequest.cc
src/model/OpenLiveShiftResult.cc
src/model/PlayChoosenShowRequest.cc
src/model/PlayChoosenShowResult.cc
src/model/PublishLiveStagingConfigToProductionRequest.cc
src/model/PublishLiveStagingConfigToProductionResult.cc
src/model/RealTimeRecordCommandRequest.cc
src/model/RealTimeRecordCommandResult.cc
src/model/RealTimeSnapshotCommandRequest.cc
src/model/RealTimeSnapshotCommandResult.cc
src/model/RemoveShowFromShowListRequest.cc
src/model/RemoveShowFromShowListResult.cc
src/model/ResumeLiveStreamRequest.cc
src/model/ResumeLiveStreamResult.cc
src/model/RollbackLiveStagingConfigRequest.cc

View File

@@ -74,6 +74,8 @@
#include "model/AddPlaylistItemsResult.h"
#include "model/AddRtsLiveStreamTranscodeRequest.h"
#include "model/AddRtsLiveStreamTranscodeResult.h"
#include "model/AddShowIntoShowListRequest.h"
#include "model/AddShowIntoShowListResult.h"
#include "model/AddStudioLayoutRequest.h"
#include "model/AddStudioLayoutResult.h"
#include "model/AddTrancodeSEIRequest.h"
@@ -294,6 +296,8 @@
#include "model/DescribeLiveDomainStagingConfigResult.h"
#include "model/DescribeLiveDomainStreamTranscodeDataRequest.h"
#include "model/DescribeLiveDomainStreamTranscodeDataResult.h"
#include "model/DescribeLiveDomainStreamWaterLevelRequest.h"
#include "model/DescribeLiveDomainStreamWaterLevelResult.h"
#include "model/DescribeLiveDomainTimeShiftDataRequest.h"
#include "model/DescribeLiveDomainTimeShiftDataResult.h"
#include "model/DescribeLiveDomainTrafficDataRequest.h"
@@ -386,6 +390,8 @@
#include "model/DescribeRoomListResult.h"
#include "model/DescribeRoomStatusRequest.h"
#include "model/DescribeRoomStatusResult.h"
#include "model/DescribeShowListRequest.h"
#include "model/DescribeShowListResult.h"
#include "model/DescribeStudioLayoutsRequest.h"
#include "model/DescribeStudioLayoutsResult.h"
#include "model/DescribeToutiaoLivePlayRequest.h"
@@ -450,16 +456,22 @@
#include "model/ModifyLiveDomainSchdmByPropertyResult.h"
#include "model/ModifyLiveRealtimeLogDeliveryRequest.h"
#include "model/ModifyLiveRealtimeLogDeliveryResult.h"
#include "model/ModifyShowListRequest.h"
#include "model/ModifyShowListResult.h"
#include "model/ModifyStudioLayoutRequest.h"
#include "model/ModifyStudioLayoutResult.h"
#include "model/OpenLiveShiftRequest.h"
#include "model/OpenLiveShiftResult.h"
#include "model/PlayChoosenShowRequest.h"
#include "model/PlayChoosenShowResult.h"
#include "model/PublishLiveStagingConfigToProductionRequest.h"
#include "model/PublishLiveStagingConfigToProductionResult.h"
#include "model/RealTimeRecordCommandRequest.h"
#include "model/RealTimeRecordCommandResult.h"
#include "model/RealTimeSnapshotCommandRequest.h"
#include "model/RealTimeSnapshotCommandResult.h"
#include "model/RemoveShowFromShowListRequest.h"
#include "model/RemoveShowFromShowListResult.h"
#include "model/ResumeLiveStreamRequest.h"
#include "model/ResumeLiveStreamResult.h"
#include "model/RollbackLiveStagingConfigRequest.h"
@@ -641,6 +653,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::AddRtsLiveStreamTranscodeResult> AddRtsLiveStreamTranscodeOutcome;
typedef std::future<AddRtsLiveStreamTranscodeOutcome> AddRtsLiveStreamTranscodeOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::AddRtsLiveStreamTranscodeRequest&, const AddRtsLiveStreamTranscodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddRtsLiveStreamTranscodeAsyncHandler;
typedef Outcome<Error, Model::AddShowIntoShowListResult> AddShowIntoShowListOutcome;
typedef std::future<AddShowIntoShowListOutcome> AddShowIntoShowListOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::AddShowIntoShowListRequest&, const AddShowIntoShowListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddShowIntoShowListAsyncHandler;
typedef Outcome<Error, Model::AddStudioLayoutResult> AddStudioLayoutOutcome;
typedef std::future<AddStudioLayoutOutcome> AddStudioLayoutOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::AddStudioLayoutRequest&, const AddStudioLayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddStudioLayoutAsyncHandler;
@@ -971,6 +986,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeLiveDomainStreamTranscodeDataResult> DescribeLiveDomainStreamTranscodeDataOutcome;
typedef std::future<DescribeLiveDomainStreamTranscodeDataOutcome> DescribeLiveDomainStreamTranscodeDataOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeLiveDomainStreamTranscodeDataRequest&, const DescribeLiveDomainStreamTranscodeDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveDomainStreamTranscodeDataAsyncHandler;
typedef Outcome<Error, Model::DescribeLiveDomainStreamWaterLevelResult> DescribeLiveDomainStreamWaterLevelOutcome;
typedef std::future<DescribeLiveDomainStreamWaterLevelOutcome> DescribeLiveDomainStreamWaterLevelOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeLiveDomainStreamWaterLevelRequest&, const DescribeLiveDomainStreamWaterLevelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveDomainStreamWaterLevelAsyncHandler;
typedef Outcome<Error, Model::DescribeLiveDomainTimeShiftDataResult> DescribeLiveDomainTimeShiftDataOutcome;
typedef std::future<DescribeLiveDomainTimeShiftDataOutcome> DescribeLiveDomainTimeShiftDataOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeLiveDomainTimeShiftDataRequest&, const DescribeLiveDomainTimeShiftDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveDomainTimeShiftDataAsyncHandler;
@@ -1109,6 +1127,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeRoomStatusResult> DescribeRoomStatusOutcome;
typedef std::future<DescribeRoomStatusOutcome> DescribeRoomStatusOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeRoomStatusRequest&, const DescribeRoomStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRoomStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeShowListResult> DescribeShowListOutcome;
typedef std::future<DescribeShowListOutcome> DescribeShowListOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeShowListRequest&, const DescribeShowListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeShowListAsyncHandler;
typedef Outcome<Error, Model::DescribeStudioLayoutsResult> DescribeStudioLayoutsOutcome;
typedef std::future<DescribeStudioLayoutsOutcome> DescribeStudioLayoutsOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeStudioLayoutsRequest&, const DescribeStudioLayoutsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStudioLayoutsAsyncHandler;
@@ -1205,12 +1226,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyLiveRealtimeLogDeliveryResult> ModifyLiveRealtimeLogDeliveryOutcome;
typedef std::future<ModifyLiveRealtimeLogDeliveryOutcome> ModifyLiveRealtimeLogDeliveryOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::ModifyLiveRealtimeLogDeliveryRequest&, const ModifyLiveRealtimeLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyLiveRealtimeLogDeliveryAsyncHandler;
typedef Outcome<Error, Model::ModifyShowListResult> ModifyShowListOutcome;
typedef std::future<ModifyShowListOutcome> ModifyShowListOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::ModifyShowListRequest&, const ModifyShowListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyShowListAsyncHandler;
typedef Outcome<Error, Model::ModifyStudioLayoutResult> ModifyStudioLayoutOutcome;
typedef std::future<ModifyStudioLayoutOutcome> ModifyStudioLayoutOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::ModifyStudioLayoutRequest&, const ModifyStudioLayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyStudioLayoutAsyncHandler;
typedef Outcome<Error, Model::OpenLiveShiftResult> OpenLiveShiftOutcome;
typedef std::future<OpenLiveShiftOutcome> OpenLiveShiftOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::OpenLiveShiftRequest&, const OpenLiveShiftOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenLiveShiftAsyncHandler;
typedef Outcome<Error, Model::PlayChoosenShowResult> PlayChoosenShowOutcome;
typedef std::future<PlayChoosenShowOutcome> PlayChoosenShowOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::PlayChoosenShowRequest&, const PlayChoosenShowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PlayChoosenShowAsyncHandler;
typedef Outcome<Error, Model::PublishLiveStagingConfigToProductionResult> PublishLiveStagingConfigToProductionOutcome;
typedef std::future<PublishLiveStagingConfigToProductionOutcome> PublishLiveStagingConfigToProductionOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::PublishLiveStagingConfigToProductionRequest&, const PublishLiveStagingConfigToProductionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishLiveStagingConfigToProductionAsyncHandler;
@@ -1220,6 +1247,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::RealTimeSnapshotCommandResult> RealTimeSnapshotCommandOutcome;
typedef std::future<RealTimeSnapshotCommandOutcome> RealTimeSnapshotCommandOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::RealTimeSnapshotCommandRequest&, const RealTimeSnapshotCommandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RealTimeSnapshotCommandAsyncHandler;
typedef Outcome<Error, Model::RemoveShowFromShowListResult> RemoveShowFromShowListOutcome;
typedef std::future<RemoveShowFromShowListOutcome> RemoveShowFromShowListOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::RemoveShowFromShowListRequest&, const RemoveShowFromShowListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveShowFromShowListAsyncHandler;
typedef Outcome<Error, Model::ResumeLiveStreamResult> ResumeLiveStreamOutcome;
typedef std::future<ResumeLiveStreamOutcome> ResumeLiveStreamOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::ResumeLiveStreamRequest&, const ResumeLiveStreamOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResumeLiveStreamAsyncHandler;
@@ -1444,6 +1474,9 @@ namespace AlibabaCloud
AddRtsLiveStreamTranscodeOutcome addRtsLiveStreamTranscode(const Model::AddRtsLiveStreamTranscodeRequest &request)const;
void addRtsLiveStreamTranscodeAsync(const Model::AddRtsLiveStreamTranscodeRequest& request, const AddRtsLiveStreamTranscodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddRtsLiveStreamTranscodeOutcomeCallable addRtsLiveStreamTranscodeCallable(const Model::AddRtsLiveStreamTranscodeRequest& request) const;
AddShowIntoShowListOutcome addShowIntoShowList(const Model::AddShowIntoShowListRequest &request)const;
void addShowIntoShowListAsync(const Model::AddShowIntoShowListRequest& request, const AddShowIntoShowListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddShowIntoShowListOutcomeCallable addShowIntoShowListCallable(const Model::AddShowIntoShowListRequest& request) const;
AddStudioLayoutOutcome addStudioLayout(const Model::AddStudioLayoutRequest &request)const;
void addStudioLayoutAsync(const Model::AddStudioLayoutRequest& request, const AddStudioLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddStudioLayoutOutcomeCallable addStudioLayoutCallable(const Model::AddStudioLayoutRequest& request) const;
@@ -1774,6 +1807,9 @@ namespace AlibabaCloud
DescribeLiveDomainStreamTranscodeDataOutcome describeLiveDomainStreamTranscodeData(const Model::DescribeLiveDomainStreamTranscodeDataRequest &request)const;
void describeLiveDomainStreamTranscodeDataAsync(const Model::DescribeLiveDomainStreamTranscodeDataRequest& request, const DescribeLiveDomainStreamTranscodeDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeLiveDomainStreamTranscodeDataOutcomeCallable describeLiveDomainStreamTranscodeDataCallable(const Model::DescribeLiveDomainStreamTranscodeDataRequest& request) const;
DescribeLiveDomainStreamWaterLevelOutcome describeLiveDomainStreamWaterLevel(const Model::DescribeLiveDomainStreamWaterLevelRequest &request)const;
void describeLiveDomainStreamWaterLevelAsync(const Model::DescribeLiveDomainStreamWaterLevelRequest& request, const DescribeLiveDomainStreamWaterLevelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeLiveDomainStreamWaterLevelOutcomeCallable describeLiveDomainStreamWaterLevelCallable(const Model::DescribeLiveDomainStreamWaterLevelRequest& request) const;
DescribeLiveDomainTimeShiftDataOutcome describeLiveDomainTimeShiftData(const Model::DescribeLiveDomainTimeShiftDataRequest &request)const;
void describeLiveDomainTimeShiftDataAsync(const Model::DescribeLiveDomainTimeShiftDataRequest& request, const DescribeLiveDomainTimeShiftDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeLiveDomainTimeShiftDataOutcomeCallable describeLiveDomainTimeShiftDataCallable(const Model::DescribeLiveDomainTimeShiftDataRequest& request) const;
@@ -1912,6 +1948,9 @@ namespace AlibabaCloud
DescribeRoomStatusOutcome describeRoomStatus(const Model::DescribeRoomStatusRequest &request)const;
void describeRoomStatusAsync(const Model::DescribeRoomStatusRequest& request, const DescribeRoomStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRoomStatusOutcomeCallable describeRoomStatusCallable(const Model::DescribeRoomStatusRequest& request) const;
DescribeShowListOutcome describeShowList(const Model::DescribeShowListRequest &request)const;
void describeShowListAsync(const Model::DescribeShowListRequest& request, const DescribeShowListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeShowListOutcomeCallable describeShowListCallable(const Model::DescribeShowListRequest& request) const;
DescribeStudioLayoutsOutcome describeStudioLayouts(const Model::DescribeStudioLayoutsRequest &request)const;
void describeStudioLayoutsAsync(const Model::DescribeStudioLayoutsRequest& request, const DescribeStudioLayoutsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeStudioLayoutsOutcomeCallable describeStudioLayoutsCallable(const Model::DescribeStudioLayoutsRequest& request) const;
@@ -2008,12 +2047,18 @@ namespace AlibabaCloud
ModifyLiveRealtimeLogDeliveryOutcome modifyLiveRealtimeLogDelivery(const Model::ModifyLiveRealtimeLogDeliveryRequest &request)const;
void modifyLiveRealtimeLogDeliveryAsync(const Model::ModifyLiveRealtimeLogDeliveryRequest& request, const ModifyLiveRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyLiveRealtimeLogDeliveryOutcomeCallable modifyLiveRealtimeLogDeliveryCallable(const Model::ModifyLiveRealtimeLogDeliveryRequest& request) const;
ModifyShowListOutcome modifyShowList(const Model::ModifyShowListRequest &request)const;
void modifyShowListAsync(const Model::ModifyShowListRequest& request, const ModifyShowListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyShowListOutcomeCallable modifyShowListCallable(const Model::ModifyShowListRequest& request) const;
ModifyStudioLayoutOutcome modifyStudioLayout(const Model::ModifyStudioLayoutRequest &request)const;
void modifyStudioLayoutAsync(const Model::ModifyStudioLayoutRequest& request, const ModifyStudioLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyStudioLayoutOutcomeCallable modifyStudioLayoutCallable(const Model::ModifyStudioLayoutRequest& request) const;
OpenLiveShiftOutcome openLiveShift(const Model::OpenLiveShiftRequest &request)const;
void openLiveShiftAsync(const Model::OpenLiveShiftRequest& request, const OpenLiveShiftAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
OpenLiveShiftOutcomeCallable openLiveShiftCallable(const Model::OpenLiveShiftRequest& request) const;
PlayChoosenShowOutcome playChoosenShow(const Model::PlayChoosenShowRequest &request)const;
void playChoosenShowAsync(const Model::PlayChoosenShowRequest& request, const PlayChoosenShowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PlayChoosenShowOutcomeCallable playChoosenShowCallable(const Model::PlayChoosenShowRequest& request) const;
PublishLiveStagingConfigToProductionOutcome publishLiveStagingConfigToProduction(const Model::PublishLiveStagingConfigToProductionRequest &request)const;
void publishLiveStagingConfigToProductionAsync(const Model::PublishLiveStagingConfigToProductionRequest& request, const PublishLiveStagingConfigToProductionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PublishLiveStagingConfigToProductionOutcomeCallable publishLiveStagingConfigToProductionCallable(const Model::PublishLiveStagingConfigToProductionRequest& request) const;
@@ -2023,6 +2068,9 @@ namespace AlibabaCloud
RealTimeSnapshotCommandOutcome realTimeSnapshotCommand(const Model::RealTimeSnapshotCommandRequest &request)const;
void realTimeSnapshotCommandAsync(const Model::RealTimeSnapshotCommandRequest& request, const RealTimeSnapshotCommandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RealTimeSnapshotCommandOutcomeCallable realTimeSnapshotCommandCallable(const Model::RealTimeSnapshotCommandRequest& request) const;
RemoveShowFromShowListOutcome removeShowFromShowList(const Model::RemoveShowFromShowListRequest &request)const;
void removeShowFromShowListAsync(const Model::RemoveShowFromShowListRequest& request, const RemoveShowFromShowListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveShowFromShowListOutcomeCallable removeShowFromShowListCallable(const Model::RemoveShowFromShowListRequest& request) const;
ResumeLiveStreamOutcome resumeLiveStream(const Model::ResumeLiveStreamRequest &request)const;
void resumeLiveStreamAsync(const Model::ResumeLiveStreamRequest& request, const ResumeLiveStreamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResumeLiveStreamOutcomeCallable resumeLiveStreamCallable(const Model::ResumeLiveStreamRequest& request) const;

View File

@@ -0,0 +1,75 @@
/*
* 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_ADDSHOWINTOSHOWLISTREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDSHOWINTOSHOWLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddShowIntoShowListRequest : public RpcServiceRequest
{
public:
AddShowIntoShowListRequest();
~AddShowIntoShowListRequest();
int getLiveInputType()const;
void setLiveInputType(int liveInputType);
long getDuration()const;
void setDuration(long duration);
int getRepeatTimes()const;
void setRepeatTimes(int repeatTimes);
std::string getShowName()const;
void setShowName(const std::string& showName);
std::string getResourceId()const;
void setResourceId(const std::string& resourceId);
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);
int getSpot()const;
void setSpot(int spot);
private:
int liveInputType_;
long duration_;
int repeatTimes_;
std::string showName_;
std::string resourceId_;
std::string casterId_;
long ownerId_;
std::string resourceType_;
std::string resourceUrl_;
int spot_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDSHOWINTOSHOWLISTREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_ADDSHOWINTOSHOWLISTRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDSHOWINTOSHOWLISTRESULT_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 AddShowIntoShowListResult : public ServiceResult
{
public:
AddShowIntoShowListResult();
explicit AddShowIntoShowListResult(const std::string &payload);
~AddShowIntoShowListResult();
std::string getShowId()const;
protected:
void parse(const std::string &payload);
private:
std::string showId_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDSHOWINTOSHOWLISTRESULT_H_

View File

@@ -49,6 +49,8 @@ namespace AlibabaCloud
void setOwnerId(long ownerId);
std::string getPurchaseTime()const;
void setPurchaseTime(const std::string& purchaseTime);
int getMicMode()const;
void setMicMode(int micMode);
std::string getChargeType()const;
void setChargeType(const std::string& chargeType);
@@ -60,6 +62,7 @@ namespace AlibabaCloud
int normType_;
long ownerId_;
std::string purchaseTime_;
int micMode_;
std::string chargeType_;
};

View File

@@ -42,6 +42,7 @@ namespace AlibabaCloud
};
std::string sceneId;
std::vector<CasterStream::StreamInfo> streamInfos;
std::string rtsUrl;
std::string streamUrl;
std::string rtmpUrl;
int outputType;

View File

@@ -49,6 +49,10 @@ namespace AlibabaCloud
void setEndTime(const std::string& endTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getOrderByModifyAsc()const;
void setOrderByModifyAsc(const std::string& orderByModifyAsc);
int getChargeType()const;
void setChargeType(int chargeType);
int getStatus()const;
void setStatus(int status);
@@ -60,6 +64,8 @@ namespace AlibabaCloud
std::string casterId_;
std::string endTime_;
long ownerId_;
std::string orderByModifyAsc_;
int chargeType_;
int status_;
};

View File

@@ -35,14 +35,17 @@ namespace AlibabaCloud
struct Caster
{
int status;
std::string purchaseTime;
std::string casterTemplate;
std::string casterName;
int channelEnable;
std::string chargeType;
std::string createTime;
std::string startTime;
int normType;
std::string duration;
int roomId;
std::string lastModified;
std::string purchaseTime;
std::string casterName;
std::string chargeType;
std::string expireTime;
std::string casterId;
};

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTREAMWATERLEVELREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTREAMWATERLEVELREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainStreamWaterLevelRequest : public RpcServiceRequest
{
public:
DescribeLiveDomainStreamWaterLevelRequest();
~DescribeLiveDomainStreamWaterLevelRequest();
std::string getLiveRegion()const;
void setLiveRegion(const std::string& liveRegion);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string liveRegion_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTREAMWATERLEVELREQUEST_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTREAMWATERLEVELRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTREAMWATERLEVELRESULT_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 DescribeLiveDomainStreamWaterLevelResult : public ServiceResult
{
public:
struct LiveUidWaterLevel
{
int uidRawLimit;
int uidTranscodeLimit;
int uidRawCount;
int uidTranscodeCount;
std::string aliUid;
};
struct LiveDomainWaterLevel
{
std::string domainName;
int domainTranscodeCount;
int domainRawCount;
int domainTranscodeLimit;
int domainRawLimit;
};
DescribeLiveDomainStreamWaterLevelResult();
explicit DescribeLiveDomainStreamWaterLevelResult(const std::string &payload);
~DescribeLiveDomainStreamWaterLevelResult();
LiveUidWaterLevel getLiveUidWaterLevel()const;
std::vector<LiveDomainWaterLevel> getLiveDomainWaterLevelList()const;
protected:
void parse(const std::string &payload);
private:
LiveUidWaterLevel liveUidWaterLevel_;
std::vector<LiveDomainWaterLevel> liveDomainWaterLevelList_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINSTREAMWATERLEVELRESULT_H_

View File

@@ -34,6 +34,7 @@ namespace AlibabaCloud
public:
struct Config
{
bool ignoreTranscode;
std::string streamName;
std::string domainName;
int vision;

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBESHOWLISTREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBESHOWLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT DescribeShowListRequest : public RpcServiceRequest
{
public:
DescribeShowListRequest();
~DescribeShowListRequest();
std::string getCasterId()const;
void setCasterId(const std::string& casterId);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string casterId_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBESHOWLISTREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBESHOWLISTRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBESHOWLISTRESULT_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 DescribeShowListResult : public ServiceResult
{
public:
DescribeShowListResult();
explicit DescribeShowListResult(const std::string &payload);
~DescribeShowListResult();
std::string getShowList()const;
protected:
void parse(const std::string &payload);
private:
std::string showList_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBESHOWLISTRESULT_H_

View File

@@ -42,6 +42,7 @@ namespace AlibabaCloud
struct BgImageConfig
{
std::string materialId;
std::string locationId;
std::string imageUrl;
std::string id;
};

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_MODIFYSHOWLISTREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_MODIFYSHOWLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT ModifyShowListRequest : public RpcServiceRequest
{
public:
ModifyShowListRequest();
~ModifyShowListRequest();
int getRepeatTimes()const;
void setRepeatTimes(int repeatTimes);
std::string getHighPriorityShowStartTime()const;
void setHighPriorityShowStartTime(const std::string& highPriorityShowStartTime);
std::string getCasterId()const;
void setCasterId(const std::string& casterId);
std::string getHighPriorityShowId()const;
void setHighPriorityShowId(const std::string& highPriorityShowId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getShowId()const;
void setShowId(const std::string& showId);
int getSpot()const;
void setSpot(int spot);
private:
int repeatTimes_;
std::string highPriorityShowStartTime_;
std::string casterId_;
std::string highPriorityShowId_;
long ownerId_;
std::string showId_;
int spot_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYSHOWLISTREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_MODIFYSHOWLISTRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_MODIFYSHOWLISTRESULT_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 ModifyShowListResult : public ServiceResult
{
public:
ModifyShowListResult();
explicit ModifyShowListResult(const std::string &payload);
~ModifyShowListResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_MODIFYSHOWLISTRESULT_H_

View File

@@ -41,6 +41,8 @@ namespace AlibabaCloud
void setAppName(const std::string& appName);
std::string getStreamName()const;
void setStreamName(const std::string& streamName);
bool getIgnoreTranscode()const;
void setIgnoreTranscode(bool ignoreTranscode);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
@@ -52,6 +54,7 @@ namespace AlibabaCloud
int duration_;
std::string appName_;
std::string streamName_;
bool ignoreTranscode_;
std::string domainName_;
long ownerId_;
int vision_;

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_PLAYCHOOSENSHOWREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_PLAYCHOOSENSHOWREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT PlayChoosenShowRequest : public RpcServiceRequest
{
public:
PlayChoosenShowRequest();
~PlayChoosenShowRequest();
std::string getCasterId()const;
void setCasterId(const std::string& casterId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getShowId()const;
void setShowId(const std::string& showId);
private:
std::string casterId_;
long ownerId_;
std::string showId_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_PLAYCHOOSENSHOWREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_PLAYCHOOSENSHOWRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_PLAYCHOOSENSHOWRESULT_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 PlayChoosenShowResult : public ServiceResult
{
public:
PlayChoosenShowResult();
explicit PlayChoosenShowResult(const std::string &payload);
~PlayChoosenShowResult();
std::string getShowId()const;
protected:
void parse(const std::string &payload);
private:
std::string showId_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_PLAYCHOOSENSHOWRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_REMOVESHOWFROMSHOWLISTREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_REMOVESHOWFROMSHOWLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT RemoveShowFromShowListRequest : public RpcServiceRequest
{
public:
RemoveShowFromShowListRequest();
~RemoveShowFromShowListRequest();
std::string getCasterId()const;
void setCasterId(const std::string& casterId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getShowId()const;
void setShowId(const std::string& showId);
private:
std::string casterId_;
long ownerId_;
std::string showId_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_REMOVESHOWFROMSHOWLISTREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_REMOVESHOWFROMSHOWLISTRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_REMOVESHOWFROMSHOWLISTRESULT_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 RemoveShowFromShowListResult : public ServiceResult
{
public:
RemoveShowFromShowListResult();
explicit RemoveShowFromShowListResult(const std::string &payload);
~RemoveShowFromShowListResult();
std::string getShowId()const;
protected:
void parse(const std::string &payload);
private:
std::string showId_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_REMOVESHOWFROMSHOWLISTRESULT_H_

View File

@@ -987,6 +987,42 @@ LiveClient::AddRtsLiveStreamTranscodeOutcomeCallable LiveClient::addRtsLiveStrea
return task->get_future();
}
LiveClient::AddShowIntoShowListOutcome LiveClient::addShowIntoShowList(const AddShowIntoShowListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AddShowIntoShowListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return AddShowIntoShowListOutcome(AddShowIntoShowListResult(outcome.result()));
else
return AddShowIntoShowListOutcome(outcome.error());
}
void LiveClient::addShowIntoShowListAsync(const AddShowIntoShowListRequest& request, const AddShowIntoShowListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, addShowIntoShowList(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::AddShowIntoShowListOutcomeCallable LiveClient::addShowIntoShowListCallable(const AddShowIntoShowListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<AddShowIntoShowListOutcome()>>(
[this, request]()
{
return this->addShowIntoShowList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::AddStudioLayoutOutcome LiveClient::addStudioLayout(const AddStudioLayoutRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -4947,6 +4983,42 @@ LiveClient::DescribeLiveDomainStreamTranscodeDataOutcomeCallable LiveClient::des
return task->get_future();
}
LiveClient::DescribeLiveDomainStreamWaterLevelOutcome LiveClient::describeLiveDomainStreamWaterLevel(const DescribeLiveDomainStreamWaterLevelRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeLiveDomainStreamWaterLevelOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeLiveDomainStreamWaterLevelOutcome(DescribeLiveDomainStreamWaterLevelResult(outcome.result()));
else
return DescribeLiveDomainStreamWaterLevelOutcome(outcome.error());
}
void LiveClient::describeLiveDomainStreamWaterLevelAsync(const DescribeLiveDomainStreamWaterLevelRequest& request, const DescribeLiveDomainStreamWaterLevelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeLiveDomainStreamWaterLevel(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::DescribeLiveDomainStreamWaterLevelOutcomeCallable LiveClient::describeLiveDomainStreamWaterLevelCallable(const DescribeLiveDomainStreamWaterLevelRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeLiveDomainStreamWaterLevelOutcome()>>(
[this, request]()
{
return this->describeLiveDomainStreamWaterLevel(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::DescribeLiveDomainTimeShiftDataOutcome LiveClient::describeLiveDomainTimeShiftData(const DescribeLiveDomainTimeShiftDataRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -6603,6 +6675,42 @@ LiveClient::DescribeRoomStatusOutcomeCallable LiveClient::describeRoomStatusCall
return task->get_future();
}
LiveClient::DescribeShowListOutcome LiveClient::describeShowList(const DescribeShowListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeShowListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeShowListOutcome(DescribeShowListResult(outcome.result()));
else
return DescribeShowListOutcome(outcome.error());
}
void LiveClient::describeShowListAsync(const DescribeShowListRequest& request, const DescribeShowListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeShowList(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::DescribeShowListOutcomeCallable LiveClient::describeShowListCallable(const DescribeShowListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeShowListOutcome()>>(
[this, request]()
{
return this->describeShowList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::DescribeStudioLayoutsOutcome LiveClient::describeStudioLayouts(const DescribeStudioLayoutsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -7755,6 +7863,42 @@ LiveClient::ModifyLiveRealtimeLogDeliveryOutcomeCallable LiveClient::modifyLiveR
return task->get_future();
}
LiveClient::ModifyShowListOutcome LiveClient::modifyShowList(const ModifyShowListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyShowListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ModifyShowListOutcome(ModifyShowListResult(outcome.result()));
else
return ModifyShowListOutcome(outcome.error());
}
void LiveClient::modifyShowListAsync(const ModifyShowListRequest& request, const ModifyShowListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, modifyShowList(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::ModifyShowListOutcomeCallable LiveClient::modifyShowListCallable(const ModifyShowListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ModifyShowListOutcome()>>(
[this, request]()
{
return this->modifyShowList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::ModifyStudioLayoutOutcome LiveClient::modifyStudioLayout(const ModifyStudioLayoutRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -7827,6 +7971,42 @@ LiveClient::OpenLiveShiftOutcomeCallable LiveClient::openLiveShiftCallable(const
return task->get_future();
}
LiveClient::PlayChoosenShowOutcome LiveClient::playChoosenShow(const PlayChoosenShowRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return PlayChoosenShowOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return PlayChoosenShowOutcome(PlayChoosenShowResult(outcome.result()));
else
return PlayChoosenShowOutcome(outcome.error());
}
void LiveClient::playChoosenShowAsync(const PlayChoosenShowRequest& request, const PlayChoosenShowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, playChoosenShow(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::PlayChoosenShowOutcomeCallable LiveClient::playChoosenShowCallable(const PlayChoosenShowRequest &request) const
{
auto task = std::make_shared<std::packaged_task<PlayChoosenShowOutcome()>>(
[this, request]()
{
return this->playChoosenShow(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::PublishLiveStagingConfigToProductionOutcome LiveClient::publishLiveStagingConfigToProduction(const PublishLiveStagingConfigToProductionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -7935,6 +8115,42 @@ LiveClient::RealTimeSnapshotCommandOutcomeCallable LiveClient::realTimeSnapshotC
return task->get_future();
}
LiveClient::RemoveShowFromShowListOutcome LiveClient::removeShowFromShowList(const RemoveShowFromShowListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RemoveShowFromShowListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return RemoveShowFromShowListOutcome(RemoveShowFromShowListResult(outcome.result()));
else
return RemoveShowFromShowListOutcome(outcome.error());
}
void LiveClient::removeShowFromShowListAsync(const RemoveShowFromShowListRequest& request, const RemoveShowFromShowListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, removeShowFromShowList(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::RemoveShowFromShowListOutcomeCallable LiveClient::removeShowFromShowListCallable(const RemoveShowFromShowListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<RemoveShowFromShowListOutcome()>>(
[this, request]()
{
return this->removeShowFromShowList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::ResumeLiveStreamOutcome LiveClient::resumeLiveStream(const ResumeLiveStreamRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,139 @@
/*
* 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/AddShowIntoShowListRequest.h>
using AlibabaCloud::Live::Model::AddShowIntoShowListRequest;
AddShowIntoShowListRequest::AddShowIntoShowListRequest() :
RpcServiceRequest("live", "2016-11-01", "AddShowIntoShowList")
{
setMethod(HttpRequest::Method::Post);
}
AddShowIntoShowListRequest::~AddShowIntoShowListRequest()
{}
int AddShowIntoShowListRequest::getLiveInputType()const
{
return liveInputType_;
}
void AddShowIntoShowListRequest::setLiveInputType(int liveInputType)
{
liveInputType_ = liveInputType;
setParameter("LiveInputType", std::to_string(liveInputType));
}
long AddShowIntoShowListRequest::getDuration()const
{
return duration_;
}
void AddShowIntoShowListRequest::setDuration(long duration)
{
duration_ = duration;
setParameter("Duration", std::to_string(duration));
}
int AddShowIntoShowListRequest::getRepeatTimes()const
{
return repeatTimes_;
}
void AddShowIntoShowListRequest::setRepeatTimes(int repeatTimes)
{
repeatTimes_ = repeatTimes;
setParameter("RepeatTimes", std::to_string(repeatTimes));
}
std::string AddShowIntoShowListRequest::getShowName()const
{
return showName_;
}
void AddShowIntoShowListRequest::setShowName(const std::string& showName)
{
showName_ = showName;
setParameter("ShowName", showName);
}
std::string AddShowIntoShowListRequest::getResourceId()const
{
return resourceId_;
}
void AddShowIntoShowListRequest::setResourceId(const std::string& resourceId)
{
resourceId_ = resourceId;
setParameter("ResourceId", resourceId);
}
std::string AddShowIntoShowListRequest::getCasterId()const
{
return casterId_;
}
void AddShowIntoShowListRequest::setCasterId(const std::string& casterId)
{
casterId_ = casterId;
setParameter("CasterId", casterId);
}
long AddShowIntoShowListRequest::getOwnerId()const
{
return ownerId_;
}
void AddShowIntoShowListRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string AddShowIntoShowListRequest::getResourceType()const
{
return resourceType_;
}
void AddShowIntoShowListRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setParameter("ResourceType", resourceType);
}
std::string AddShowIntoShowListRequest::getResourceUrl()const
{
return resourceUrl_;
}
void AddShowIntoShowListRequest::setResourceUrl(const std::string& resourceUrl)
{
resourceUrl_ = resourceUrl;
setParameter("ResourceUrl", resourceUrl);
}
int AddShowIntoShowListRequest::getSpot()const
{
return spot_;
}
void AddShowIntoShowListRequest::setSpot(int spot)
{
spot_ = spot;
setParameter("Spot", std::to_string(spot));
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/AddShowIntoShowListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
AddShowIntoShowListResult::AddShowIntoShowListResult() :
ServiceResult()
{}
AddShowIntoShowListResult::AddShowIntoShowListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddShowIntoShowListResult::~AddShowIntoShowListResult()
{}
void AddShowIntoShowListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ShowId"].isNull())
showId_ = value["ShowId"].asString();
}
std::string AddShowIntoShowListResult::getShowId()const
{
return showId_;
}

View File

@@ -104,6 +104,17 @@ void CreateCasterRequest::setPurchaseTime(const std::string& purchaseTime)
setParameter("PurchaseTime", purchaseTime);
}
int CreateCasterRequest::getMicMode()const
{
return micMode_;
}
void CreateCasterRequest::setMicMode(int micMode)
{
micMode_ = micMode;
setParameter("MicMode", std::to_string(micMode));
}
std::string CreateCasterRequest::getChargeType()const
{
return chargeType_;

View File

@@ -49,6 +49,8 @@ void DescribeCasterStreamUrlResult::parse(const std::string &payload)
casterStreamsObject.streamUrl = valueCasterStreamsCasterStream["StreamUrl"].asString();
if(!valueCasterStreamsCasterStream["RtmpUrl"].isNull())
casterStreamsObject.rtmpUrl = valueCasterStreamsCasterStream["RtmpUrl"].asString();
if(!valueCasterStreamsCasterStream["RtsUrl"].isNull())
casterStreamsObject.rtsUrl = valueCasterStreamsCasterStream["RtsUrl"].asString();
if(!valueCasterStreamsCasterStream["OutputType"].isNull())
casterStreamsObject.outputType = std::stoi(valueCasterStreamsCasterStream["OutputType"].asString());
auto allStreamInfosNode = valueCasterStreamsCasterStream["StreamInfos"]["StreamInfo"];

View File

@@ -104,6 +104,28 @@ void DescribeCastersRequest::setOwnerId(long ownerId)
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DescribeCastersRequest::getOrderByModifyAsc()const
{
return orderByModifyAsc_;
}
void DescribeCastersRequest::setOrderByModifyAsc(const std::string& orderByModifyAsc)
{
orderByModifyAsc_ = orderByModifyAsc;
setParameter("OrderByModifyAsc", orderByModifyAsc);
}
int DescribeCastersRequest::getChargeType()const
{
return chargeType_;
}
void DescribeCastersRequest::setChargeType(int chargeType)
{
chargeType_ = chargeType;
setParameter("ChargeType", std::to_string(chargeType));
}
int DescribeCastersRequest::getStatus()const
{
return status_;

View File

@@ -65,6 +65,12 @@ void DescribeCastersResult::parse(const std::string &payload)
casterListObject.casterTemplate = valueCasterListCaster["CasterTemplate"].asString();
if(!valueCasterListCaster["ChannelEnable"].isNull())
casterListObject.channelEnable = std::stoi(valueCasterListCaster["ChannelEnable"].asString());
if(!valueCasterListCaster["LastModified"].isNull())
casterListObject.lastModified = valueCasterListCaster["LastModified"].asString();
if(!valueCasterListCaster["Duration"].isNull())
casterListObject.duration = valueCasterListCaster["Duration"].asString();
if(!valueCasterListCaster["RoomId"].isNull())
casterListObject.roomId = std::stoi(valueCasterListCaster["RoomId"].asString());
casterList_.push_back(casterListObject);
}
if(!value["Total"].isNull())

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/DescribeLiveDomainStreamWaterLevelRequest.h>
using AlibabaCloud::Live::Model::DescribeLiveDomainStreamWaterLevelRequest;
DescribeLiveDomainStreamWaterLevelRequest::DescribeLiveDomainStreamWaterLevelRequest() :
RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainStreamWaterLevel")
{
setMethod(HttpRequest::Method::Post);
}
DescribeLiveDomainStreamWaterLevelRequest::~DescribeLiveDomainStreamWaterLevelRequest()
{}
std::string DescribeLiveDomainStreamWaterLevelRequest::getLiveRegion()const
{
return liveRegion_;
}
void DescribeLiveDomainStreamWaterLevelRequest::setLiveRegion(const std::string& liveRegion)
{
liveRegion_ = liveRegion;
setParameter("LiveRegion", liveRegion);
}
long DescribeLiveDomainStreamWaterLevelRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeLiveDomainStreamWaterLevelRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -0,0 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/DescribeLiveDomainStreamWaterLevelResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
DescribeLiveDomainStreamWaterLevelResult::DescribeLiveDomainStreamWaterLevelResult() :
ServiceResult()
{}
DescribeLiveDomainStreamWaterLevelResult::DescribeLiveDomainStreamWaterLevelResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeLiveDomainStreamWaterLevelResult::~DescribeLiveDomainStreamWaterLevelResult()
{}
void DescribeLiveDomainStreamWaterLevelResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allLiveDomainWaterLevelListNode = value["LiveDomainWaterLevelList"]["LiveDomainWaterLevel"];
for (auto valueLiveDomainWaterLevelListLiveDomainWaterLevel : allLiveDomainWaterLevelListNode)
{
LiveDomainWaterLevel liveDomainWaterLevelListObject;
if(!valueLiveDomainWaterLevelListLiveDomainWaterLevel["DomainName"].isNull())
liveDomainWaterLevelListObject.domainName = valueLiveDomainWaterLevelListLiveDomainWaterLevel["DomainName"].asString();
if(!valueLiveDomainWaterLevelListLiveDomainWaterLevel["DomainRawCount"].isNull())
liveDomainWaterLevelListObject.domainRawCount = std::stoi(valueLiveDomainWaterLevelListLiveDomainWaterLevel["DomainRawCount"].asString());
if(!valueLiveDomainWaterLevelListLiveDomainWaterLevel["DomainTranscodeCount"].isNull())
liveDomainWaterLevelListObject.domainTranscodeCount = std::stoi(valueLiveDomainWaterLevelListLiveDomainWaterLevel["DomainTranscodeCount"].asString());
if(!valueLiveDomainWaterLevelListLiveDomainWaterLevel["DomainRawLimit"].isNull())
liveDomainWaterLevelListObject.domainRawLimit = std::stoi(valueLiveDomainWaterLevelListLiveDomainWaterLevel["DomainRawLimit"].asString());
if(!valueLiveDomainWaterLevelListLiveDomainWaterLevel["DomainTranscodeLimit"].isNull())
liveDomainWaterLevelListObject.domainTranscodeLimit = std::stoi(valueLiveDomainWaterLevelListLiveDomainWaterLevel["DomainTranscodeLimit"].asString());
liveDomainWaterLevelList_.push_back(liveDomainWaterLevelListObject);
}
auto liveUidWaterLevelNode = value["LiveUidWaterLevel"];
if(!liveUidWaterLevelNode["AliUid"].isNull())
liveUidWaterLevel_.aliUid = liveUidWaterLevelNode["AliUid"].asString();
if(!liveUidWaterLevelNode["UidRawCount"].isNull())
liveUidWaterLevel_.uidRawCount = std::stoi(liveUidWaterLevelNode["UidRawCount"].asString());
if(!liveUidWaterLevelNode["UidTranscodeCount"].isNull())
liveUidWaterLevel_.uidTranscodeCount = std::stoi(liveUidWaterLevelNode["UidTranscodeCount"].asString());
if(!liveUidWaterLevelNode["UidRawLimit"].isNull())
liveUidWaterLevel_.uidRawLimit = std::stoi(liveUidWaterLevelNode["UidRawLimit"].asString());
if(!liveUidWaterLevelNode["UidTranscodeLimit"].isNull())
liveUidWaterLevel_.uidTranscodeLimit = std::stoi(liveUidWaterLevelNode["UidTranscodeLimit"].asString());
}
DescribeLiveDomainStreamWaterLevelResult::LiveUidWaterLevel DescribeLiveDomainStreamWaterLevelResult::getLiveUidWaterLevel()const
{
return liveUidWaterLevel_;
}
std::vector<DescribeLiveDomainStreamWaterLevelResult::LiveDomainWaterLevel> DescribeLiveDomainStreamWaterLevelResult::getLiveDomainWaterLevelList()const
{
return liveDomainWaterLevelList_;
}

View File

@@ -43,14 +43,16 @@ void DescribeLiveShiftConfigsResult::parse(const std::string &payload)
for (auto valueContentConfig : allContentNode)
{
Config contentObject;
if(!valueContentConfig["DomainName"].isNull())
contentObject.domainName = valueContentConfig["DomainName"].asString();
if(!valueContentConfig["AppName"].isNull())
contentObject.appName = valueContentConfig["AppName"].asString();
if(!valueContentConfig["StreamName"].isNull())
contentObject.streamName = valueContentConfig["StreamName"].asString();
if(!valueContentConfig["Vision"].isNull())
contentObject.vision = std::stoi(valueContentConfig["Vision"].asString());
if(!valueContentConfig["DomainName"].isNull())
contentObject.domainName = valueContentConfig["DomainName"].asString();
if(!valueContentConfig["StreamName"].isNull())
contentObject.streamName = valueContentConfig["StreamName"].asString();
if(!valueContentConfig["IgnoreTranscode"].isNull())
contentObject.ignoreTranscode = valueContentConfig["IgnoreTranscode"].asString() == "true";
content_.push_back(contentObject);
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/DescribeShowListRequest.h>
using AlibabaCloud::Live::Model::DescribeShowListRequest;
DescribeShowListRequest::DescribeShowListRequest() :
RpcServiceRequest("live", "2016-11-01", "DescribeShowList")
{
setMethod(HttpRequest::Method::Post);
}
DescribeShowListRequest::~DescribeShowListRequest()
{}
std::string DescribeShowListRequest::getCasterId()const
{
return casterId_;
}
void DescribeShowListRequest::setCasterId(const std::string& casterId)
{
casterId_ = casterId;
setParameter("CasterId", casterId);
}
long DescribeShowListRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeShowListRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/DescribeShowListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
DescribeShowListResult::DescribeShowListResult() :
ServiceResult()
{}
DescribeShowListResult::DescribeShowListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeShowListResult::~DescribeShowListResult()
{}
void DescribeShowListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ShowList"].isNull())
showList_ = value["ShowList"].asString();
}
std::string DescribeShowListResult::getShowList()const
{
return showList_;
}

View File

@@ -122,6 +122,8 @@ void DescribeStudioLayoutsResult::parse(const std::string &payload)
studioLayoutsObject.bgImageConfig.materialId = bgImageConfigNode["MaterialId"].asString();
if(!bgImageConfigNode["ImageUrl"].isNull())
studioLayoutsObject.bgImageConfig.imageUrl = bgImageConfigNode["ImageUrl"].asString();
if(!bgImageConfigNode["LocationId"].isNull())
studioLayoutsObject.bgImageConfig.locationId = bgImageConfigNode["LocationId"].asString();
studioLayouts_.push_back(studioLayoutsObject);
}
if(!value["Total"].isNull())

View File

@@ -0,0 +1,106 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/ModifyShowListRequest.h>
using AlibabaCloud::Live::Model::ModifyShowListRequest;
ModifyShowListRequest::ModifyShowListRequest() :
RpcServiceRequest("live", "2016-11-01", "ModifyShowList")
{
setMethod(HttpRequest::Method::Post);
}
ModifyShowListRequest::~ModifyShowListRequest()
{}
int ModifyShowListRequest::getRepeatTimes()const
{
return repeatTimes_;
}
void ModifyShowListRequest::setRepeatTimes(int repeatTimes)
{
repeatTimes_ = repeatTimes;
setParameter("RepeatTimes", std::to_string(repeatTimes));
}
std::string ModifyShowListRequest::getHighPriorityShowStartTime()const
{
return highPriorityShowStartTime_;
}
void ModifyShowListRequest::setHighPriorityShowStartTime(const std::string& highPriorityShowStartTime)
{
highPriorityShowStartTime_ = highPriorityShowStartTime;
setParameter("HighPriorityShowStartTime", highPriorityShowStartTime);
}
std::string ModifyShowListRequest::getCasterId()const
{
return casterId_;
}
void ModifyShowListRequest::setCasterId(const std::string& casterId)
{
casterId_ = casterId;
setParameter("CasterId", casterId);
}
std::string ModifyShowListRequest::getHighPriorityShowId()const
{
return highPriorityShowId_;
}
void ModifyShowListRequest::setHighPriorityShowId(const std::string& highPriorityShowId)
{
highPriorityShowId_ = highPriorityShowId;
setParameter("HighPriorityShowId", highPriorityShowId);
}
long ModifyShowListRequest::getOwnerId()const
{
return ownerId_;
}
void ModifyShowListRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string ModifyShowListRequest::getShowId()const
{
return showId_;
}
void ModifyShowListRequest::setShowId(const std::string& showId)
{
showId_ = showId;
setParameter("ShowId", showId);
}
int ModifyShowListRequest::getSpot()const
{
return spot_;
}
void ModifyShowListRequest::setSpot(int spot)
{
spot_ = spot;
setParameter("Spot", std::to_string(spot));
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/ModifyShowListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
ModifyShowListResult::ModifyShowListResult() :
ServiceResult()
{}
ModifyShowListResult::ModifyShowListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ModifyShowListResult::~ModifyShowListResult()
{}
void ModifyShowListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -60,6 +60,17 @@ void OpenLiveShiftRequest::setStreamName(const std::string& streamName)
setParameter("StreamName", streamName);
}
bool OpenLiveShiftRequest::getIgnoreTranscode()const
{
return ignoreTranscode_;
}
void OpenLiveShiftRequest::setIgnoreTranscode(bool ignoreTranscode)
{
ignoreTranscode_ = ignoreTranscode;
setParameter("IgnoreTranscode", ignoreTranscode ? "true" : "false");
}
std::string OpenLiveShiftRequest::getDomainName()const
{
return domainName_;

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/PlayChoosenShowRequest.h>
using AlibabaCloud::Live::Model::PlayChoosenShowRequest;
PlayChoosenShowRequest::PlayChoosenShowRequest() :
RpcServiceRequest("live", "2016-11-01", "PlayChoosenShow")
{
setMethod(HttpRequest::Method::Post);
}
PlayChoosenShowRequest::~PlayChoosenShowRequest()
{}
std::string PlayChoosenShowRequest::getCasterId()const
{
return casterId_;
}
void PlayChoosenShowRequest::setCasterId(const std::string& casterId)
{
casterId_ = casterId;
setParameter("CasterId", casterId);
}
long PlayChoosenShowRequest::getOwnerId()const
{
return ownerId_;
}
void PlayChoosenShowRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string PlayChoosenShowRequest::getShowId()const
{
return showId_;
}
void PlayChoosenShowRequest::setShowId(const std::string& showId)
{
showId_ = showId;
setParameter("ShowId", showId);
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/PlayChoosenShowResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
PlayChoosenShowResult::PlayChoosenShowResult() :
ServiceResult()
{}
PlayChoosenShowResult::PlayChoosenShowResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
PlayChoosenShowResult::~PlayChoosenShowResult()
{}
void PlayChoosenShowResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ShowId"].isNull())
showId_ = value["ShowId"].asString();
}
std::string PlayChoosenShowResult::getShowId()const
{
return showId_;
}

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/RemoveShowFromShowListRequest.h>
using AlibabaCloud::Live::Model::RemoveShowFromShowListRequest;
RemoveShowFromShowListRequest::RemoveShowFromShowListRequest() :
RpcServiceRequest("live", "2016-11-01", "RemoveShowFromShowList")
{
setMethod(HttpRequest::Method::Post);
}
RemoveShowFromShowListRequest::~RemoveShowFromShowListRequest()
{}
std::string RemoveShowFromShowListRequest::getCasterId()const
{
return casterId_;
}
void RemoveShowFromShowListRequest::setCasterId(const std::string& casterId)
{
casterId_ = casterId;
setParameter("CasterId", casterId);
}
long RemoveShowFromShowListRequest::getOwnerId()const
{
return ownerId_;
}
void RemoveShowFromShowListRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string RemoveShowFromShowListRequest::getShowId()const
{
return showId_;
}
void RemoveShowFromShowListRequest::setShowId(const std::string& showId)
{
showId_ = showId;
setParameter("ShowId", showId);
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/RemoveShowFromShowListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
RemoveShowFromShowListResult::RemoveShowFromShowListResult() :
ServiceResult()
{}
RemoveShowFromShowListResult::RemoveShowFromShowListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
RemoveShowFromShowListResult::~RemoveShowFromShowListResult()
{}
void RemoveShowFromShowListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ShowId"].isNull())
showId_ = value["ShowId"].asString();
}
std::string RemoveShowFromShowListResult::getShowId()const
{
return showId_;
}