Generated 2016-11-01 for live.

This commit is contained in:
sdk-team
2022-03-09 07:45:32 +00:00
parent db5e193d08
commit ffd9d00a13
25 changed files with 1092 additions and 317 deletions

View File

@@ -205,6 +205,8 @@ set(live_public_header_model
include/alibabacloud/live/model/DeleteSnapshotCallbackAuthResult.h
include/alibabacloud/live/model/DeleteStudioLayoutRequest.h
include/alibabacloud/live/model/DeleteStudioLayoutResult.h
include/alibabacloud/live/model/DescribeAutoShowListTasksRequest.h
include/alibabacloud/live/model/DescribeAutoShowListTasksResult.h
include/alibabacloud/live/model/DescribeBoardEventsRequest.h
include/alibabacloud/live/model/DescribeBoardEventsResult.h
include/alibabacloud/live/model/DescribeBoardSnapshotRequest.h
@@ -423,14 +425,14 @@ set(live_public_header_model
include/alibabacloud/live/model/EditHtmlResourceResult.h
include/alibabacloud/live/model/EditPlaylistRequest.h
include/alibabacloud/live/model/EditPlaylistResult.h
include/alibabacloud/live/model/EditShowAndReplaceRequest.h
include/alibabacloud/live/model/EditShowAndReplaceResult.h
include/alibabacloud/live/model/EffectCasterUrgentRequest.h
include/alibabacloud/live/model/EffectCasterUrgentResult.h
include/alibabacloud/live/model/EffectCasterVideoResourceRequest.h
include/alibabacloud/live/model/EffectCasterVideoResourceResult.h
include/alibabacloud/live/model/EnableLiveRealtimeLogDeliveryRequest.h
include/alibabacloud/live/model/EnableLiveRealtimeLogDeliveryResult.h
include/alibabacloud/live/model/ForbidLiveCustomStreamRequest.h
include/alibabacloud/live/model/ForbidLiveCustomStreamResult.h
include/alibabacloud/live/model/ForbidLiveStreamRequest.h
include/alibabacloud/live/model/ForbidLiveStreamResult.h
include/alibabacloud/live/model/ForbidPushStreamRequest.h
@@ -439,10 +441,14 @@ set(live_public_header_model
include/alibabacloud/live/model/GetAllCustomTemplatesResult.h
include/alibabacloud/live/model/GetCustomTemplateRequest.h
include/alibabacloud/live/model/GetCustomTemplateResult.h
include/alibabacloud/live/model/GetEditingJobInfoRequest.h
include/alibabacloud/live/model/GetEditingJobInfoResult.h
include/alibabacloud/live/model/GetMultiRateConfigRequest.h
include/alibabacloud/live/model/GetMultiRateConfigResult.h
include/alibabacloud/live/model/GetMultiRateConfigListRequest.h
include/alibabacloud/live/model/GetMultiRateConfigListResult.h
include/alibabacloud/live/model/InitializeAutoShowListTaskRequest.h
include/alibabacloud/live/model/InitializeAutoShowListTaskResult.h
include/alibabacloud/live/model/JoinBoardRequest.h
include/alibabacloud/live/model/JoinBoardResult.h
include/alibabacloud/live/model/ListLiveRealtimeLogDeliveryRequest.h
@@ -774,6 +780,8 @@ set(live_src
src/model/DeleteSnapshotCallbackAuthResult.cc
src/model/DeleteStudioLayoutRequest.cc
src/model/DeleteStudioLayoutResult.cc
src/model/DescribeAutoShowListTasksRequest.cc
src/model/DescribeAutoShowListTasksResult.cc
src/model/DescribeBoardEventsRequest.cc
src/model/DescribeBoardEventsResult.cc
src/model/DescribeBoardSnapshotRequest.cc
@@ -992,14 +1000,14 @@ set(live_src
src/model/EditHtmlResourceResult.cc
src/model/EditPlaylistRequest.cc
src/model/EditPlaylistResult.cc
src/model/EditShowAndReplaceRequest.cc
src/model/EditShowAndReplaceResult.cc
src/model/EffectCasterUrgentRequest.cc
src/model/EffectCasterUrgentResult.cc
src/model/EffectCasterVideoResourceRequest.cc
src/model/EffectCasterVideoResourceResult.cc
src/model/EnableLiveRealtimeLogDeliveryRequest.cc
src/model/EnableLiveRealtimeLogDeliveryResult.cc
src/model/ForbidLiveCustomStreamRequest.cc
src/model/ForbidLiveCustomStreamResult.cc
src/model/ForbidLiveStreamRequest.cc
src/model/ForbidLiveStreamResult.cc
src/model/ForbidPushStreamRequest.cc
@@ -1008,10 +1016,14 @@ set(live_src
src/model/GetAllCustomTemplatesResult.cc
src/model/GetCustomTemplateRequest.cc
src/model/GetCustomTemplateResult.cc
src/model/GetEditingJobInfoRequest.cc
src/model/GetEditingJobInfoResult.cc
src/model/GetMultiRateConfigRequest.cc
src/model/GetMultiRateConfigResult.cc
src/model/GetMultiRateConfigListRequest.cc
src/model/GetMultiRateConfigListResult.cc
src/model/InitializeAutoShowListTaskRequest.cc
src/model/InitializeAutoShowListTaskResult.cc
src/model/JoinBoardRequest.cc
src/model/JoinBoardResult.cc
src/model/ListLiveRealtimeLogDeliveryRequest.cc

View File

@@ -206,6 +206,8 @@
#include "model/DeleteSnapshotCallbackAuthResult.h"
#include "model/DeleteStudioLayoutRequest.h"
#include "model/DeleteStudioLayoutResult.h"
#include "model/DescribeAutoShowListTasksRequest.h"
#include "model/DescribeAutoShowListTasksResult.h"
#include "model/DescribeBoardEventsRequest.h"
#include "model/DescribeBoardEventsResult.h"
#include "model/DescribeBoardSnapshotRequest.h"
@@ -424,14 +426,14 @@
#include "model/EditHtmlResourceResult.h"
#include "model/EditPlaylistRequest.h"
#include "model/EditPlaylistResult.h"
#include "model/EditShowAndReplaceRequest.h"
#include "model/EditShowAndReplaceResult.h"
#include "model/EffectCasterUrgentRequest.h"
#include "model/EffectCasterUrgentResult.h"
#include "model/EffectCasterVideoResourceRequest.h"
#include "model/EffectCasterVideoResourceResult.h"
#include "model/EnableLiveRealtimeLogDeliveryRequest.h"
#include "model/EnableLiveRealtimeLogDeliveryResult.h"
#include "model/ForbidLiveCustomStreamRequest.h"
#include "model/ForbidLiveCustomStreamResult.h"
#include "model/ForbidLiveStreamRequest.h"
#include "model/ForbidLiveStreamResult.h"
#include "model/ForbidPushStreamRequest.h"
@@ -440,10 +442,14 @@
#include "model/GetAllCustomTemplatesResult.h"
#include "model/GetCustomTemplateRequest.h"
#include "model/GetCustomTemplateResult.h"
#include "model/GetEditingJobInfoRequest.h"
#include "model/GetEditingJobInfoResult.h"
#include "model/GetMultiRateConfigRequest.h"
#include "model/GetMultiRateConfigResult.h"
#include "model/GetMultiRateConfigListRequest.h"
#include "model/GetMultiRateConfigListResult.h"
#include "model/InitializeAutoShowListTaskRequest.h"
#include "model/InitializeAutoShowListTaskResult.h"
#include "model/JoinBoardRequest.h"
#include "model/JoinBoardResult.h"
#include "model/ListLiveRealtimeLogDeliveryRequest.h"
@@ -873,6 +879,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteStudioLayoutResult> DeleteStudioLayoutOutcome;
typedef std::future<DeleteStudioLayoutOutcome> DeleteStudioLayoutOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DeleteStudioLayoutRequest&, const DeleteStudioLayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteStudioLayoutAsyncHandler;
typedef Outcome<Error, Model::DescribeAutoShowListTasksResult> DescribeAutoShowListTasksOutcome;
typedef std::future<DescribeAutoShowListTasksOutcome> DescribeAutoShowListTasksOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeAutoShowListTasksRequest&, const DescribeAutoShowListTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAutoShowListTasksAsyncHandler;
typedef Outcome<Error, Model::DescribeBoardEventsResult> DescribeBoardEventsOutcome;
typedef std::future<DescribeBoardEventsOutcome> DescribeBoardEventsOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::DescribeBoardEventsRequest&, const DescribeBoardEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBoardEventsAsyncHandler;
@@ -1200,6 +1209,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::EditPlaylistResult> EditPlaylistOutcome;
typedef std::future<EditPlaylistOutcome> EditPlaylistOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::EditPlaylistRequest&, const EditPlaylistOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EditPlaylistAsyncHandler;
typedef Outcome<Error, Model::EditShowAndReplaceResult> EditShowAndReplaceOutcome;
typedef std::future<EditShowAndReplaceOutcome> EditShowAndReplaceOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::EditShowAndReplaceRequest&, const EditShowAndReplaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EditShowAndReplaceAsyncHandler;
typedef Outcome<Error, Model::EffectCasterUrgentResult> EffectCasterUrgentOutcome;
typedef std::future<EffectCasterUrgentOutcome> EffectCasterUrgentOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::EffectCasterUrgentRequest&, const EffectCasterUrgentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EffectCasterUrgentAsyncHandler;
@@ -1209,9 +1221,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::EnableLiveRealtimeLogDeliveryResult> EnableLiveRealtimeLogDeliveryOutcome;
typedef std::future<EnableLiveRealtimeLogDeliveryOutcome> EnableLiveRealtimeLogDeliveryOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::EnableLiveRealtimeLogDeliveryRequest&, const EnableLiveRealtimeLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableLiveRealtimeLogDeliveryAsyncHandler;
typedef Outcome<Error, Model::ForbidLiveCustomStreamResult> ForbidLiveCustomStreamOutcome;
typedef std::future<ForbidLiveCustomStreamOutcome> ForbidLiveCustomStreamOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::ForbidLiveCustomStreamRequest&, const ForbidLiveCustomStreamOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ForbidLiveCustomStreamAsyncHandler;
typedef Outcome<Error, Model::ForbidLiveStreamResult> ForbidLiveStreamOutcome;
typedef std::future<ForbidLiveStreamOutcome> ForbidLiveStreamOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::ForbidLiveStreamRequest&, const ForbidLiveStreamOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ForbidLiveStreamAsyncHandler;
@@ -1224,12 +1233,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetCustomTemplateResult> GetCustomTemplateOutcome;
typedef std::future<GetCustomTemplateOutcome> GetCustomTemplateOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::GetCustomTemplateRequest&, const GetCustomTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCustomTemplateAsyncHandler;
typedef Outcome<Error, Model::GetEditingJobInfoResult> GetEditingJobInfoOutcome;
typedef std::future<GetEditingJobInfoOutcome> GetEditingJobInfoOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::GetEditingJobInfoRequest&, const GetEditingJobInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetEditingJobInfoAsyncHandler;
typedef Outcome<Error, Model::GetMultiRateConfigResult> GetMultiRateConfigOutcome;
typedef std::future<GetMultiRateConfigOutcome> GetMultiRateConfigOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::GetMultiRateConfigRequest&, const GetMultiRateConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMultiRateConfigAsyncHandler;
typedef Outcome<Error, Model::GetMultiRateConfigListResult> GetMultiRateConfigListOutcome;
typedef std::future<GetMultiRateConfigListOutcome> GetMultiRateConfigListOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::GetMultiRateConfigListRequest&, const GetMultiRateConfigListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMultiRateConfigListAsyncHandler;
typedef Outcome<Error, Model::InitializeAutoShowListTaskResult> InitializeAutoShowListTaskOutcome;
typedef std::future<InitializeAutoShowListTaskOutcome> InitializeAutoShowListTaskOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::InitializeAutoShowListTaskRequest&, const InitializeAutoShowListTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InitializeAutoShowListTaskAsyncHandler;
typedef Outcome<Error, Model::JoinBoardResult> JoinBoardOutcome;
typedef std::future<JoinBoardOutcome> JoinBoardOutcomeCallable;
typedef std::function<void(const LiveClient*, const Model::JoinBoardRequest&, const JoinBoardOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> JoinBoardAsyncHandler;
@@ -1727,6 +1742,9 @@ namespace AlibabaCloud
DeleteStudioLayoutOutcome deleteStudioLayout(const Model::DeleteStudioLayoutRequest &request)const;
void deleteStudioLayoutAsync(const Model::DeleteStudioLayoutRequest& request, const DeleteStudioLayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteStudioLayoutOutcomeCallable deleteStudioLayoutCallable(const Model::DeleteStudioLayoutRequest& request) const;
DescribeAutoShowListTasksOutcome describeAutoShowListTasks(const Model::DescribeAutoShowListTasksRequest &request)const;
void describeAutoShowListTasksAsync(const Model::DescribeAutoShowListTasksRequest& request, const DescribeAutoShowListTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAutoShowListTasksOutcomeCallable describeAutoShowListTasksCallable(const Model::DescribeAutoShowListTasksRequest& request) const;
DescribeBoardEventsOutcome describeBoardEvents(const Model::DescribeBoardEventsRequest &request)const;
void describeBoardEventsAsync(const Model::DescribeBoardEventsRequest& request, const DescribeBoardEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeBoardEventsOutcomeCallable describeBoardEventsCallable(const Model::DescribeBoardEventsRequest& request) const;
@@ -2054,6 +2072,9 @@ namespace AlibabaCloud
EditPlaylistOutcome editPlaylist(const Model::EditPlaylistRequest &request)const;
void editPlaylistAsync(const Model::EditPlaylistRequest& request, const EditPlaylistAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EditPlaylistOutcomeCallable editPlaylistCallable(const Model::EditPlaylistRequest& request) const;
EditShowAndReplaceOutcome editShowAndReplace(const Model::EditShowAndReplaceRequest &request)const;
void editShowAndReplaceAsync(const Model::EditShowAndReplaceRequest& request, const EditShowAndReplaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EditShowAndReplaceOutcomeCallable editShowAndReplaceCallable(const Model::EditShowAndReplaceRequest& request) const;
EffectCasterUrgentOutcome effectCasterUrgent(const Model::EffectCasterUrgentRequest &request)const;
void effectCasterUrgentAsync(const Model::EffectCasterUrgentRequest& request, const EffectCasterUrgentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EffectCasterUrgentOutcomeCallable effectCasterUrgentCallable(const Model::EffectCasterUrgentRequest& request) const;
@@ -2063,9 +2084,6 @@ namespace AlibabaCloud
EnableLiveRealtimeLogDeliveryOutcome enableLiveRealtimeLogDelivery(const Model::EnableLiveRealtimeLogDeliveryRequest &request)const;
void enableLiveRealtimeLogDeliveryAsync(const Model::EnableLiveRealtimeLogDeliveryRequest& request, const EnableLiveRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EnableLiveRealtimeLogDeliveryOutcomeCallable enableLiveRealtimeLogDeliveryCallable(const Model::EnableLiveRealtimeLogDeliveryRequest& request) const;
ForbidLiveCustomStreamOutcome forbidLiveCustomStream(const Model::ForbidLiveCustomStreamRequest &request)const;
void forbidLiveCustomStreamAsync(const Model::ForbidLiveCustomStreamRequest& request, const ForbidLiveCustomStreamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ForbidLiveCustomStreamOutcomeCallable forbidLiveCustomStreamCallable(const Model::ForbidLiveCustomStreamRequest& request) const;
ForbidLiveStreamOutcome forbidLiveStream(const Model::ForbidLiveStreamRequest &request)const;
void forbidLiveStreamAsync(const Model::ForbidLiveStreamRequest& request, const ForbidLiveStreamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ForbidLiveStreamOutcomeCallable forbidLiveStreamCallable(const Model::ForbidLiveStreamRequest& request) const;
@@ -2078,12 +2096,18 @@ namespace AlibabaCloud
GetCustomTemplateOutcome getCustomTemplate(const Model::GetCustomTemplateRequest &request)const;
void getCustomTemplateAsync(const Model::GetCustomTemplateRequest& request, const GetCustomTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCustomTemplateOutcomeCallable getCustomTemplateCallable(const Model::GetCustomTemplateRequest& request) const;
GetEditingJobInfoOutcome getEditingJobInfo(const Model::GetEditingJobInfoRequest &request)const;
void getEditingJobInfoAsync(const Model::GetEditingJobInfoRequest& request, const GetEditingJobInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetEditingJobInfoOutcomeCallable getEditingJobInfoCallable(const Model::GetEditingJobInfoRequest& request) const;
GetMultiRateConfigOutcome getMultiRateConfig(const Model::GetMultiRateConfigRequest &request)const;
void getMultiRateConfigAsync(const Model::GetMultiRateConfigRequest& request, const GetMultiRateConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetMultiRateConfigOutcomeCallable getMultiRateConfigCallable(const Model::GetMultiRateConfigRequest& request) const;
GetMultiRateConfigListOutcome getMultiRateConfigList(const Model::GetMultiRateConfigListRequest &request)const;
void getMultiRateConfigListAsync(const Model::GetMultiRateConfigListRequest& request, const GetMultiRateConfigListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetMultiRateConfigListOutcomeCallable getMultiRateConfigListCallable(const Model::GetMultiRateConfigListRequest& request) const;
InitializeAutoShowListTaskOutcome initializeAutoShowListTask(const Model::InitializeAutoShowListTaskRequest &request)const;
void initializeAutoShowListTaskAsync(const Model::InitializeAutoShowListTaskRequest& request, const InitializeAutoShowListTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
InitializeAutoShowListTaskOutcomeCallable initializeAutoShowListTaskCallable(const Model::InitializeAutoShowListTaskRequest& request) const;
JoinBoardOutcome joinBoard(const Model::JoinBoardRequest &request)const;
void joinBoardAsync(const Model::JoinBoardRequest& request, const JoinBoardAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
JoinBoardOutcomeCallable joinBoardCallable(const Model::JoinBoardRequest& request) const;

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_DESCRIBEAUTOSHOWLISTTASKSREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEAUTOSHOWLISTTASKSREQUEST_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 DescribeAutoShowListTasksRequest : public RpcServiceRequest
{
public:
DescribeAutoShowListTasksRequest();
~DescribeAutoShowListTasksRequest();
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_DESCRIBEAUTOSHOWLISTTASKSREQUEST_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_DESCRIBEAUTOSHOWLISTTASKSRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_DESCRIBEAUTOSHOWLISTTASKSRESULT_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 DescribeAutoShowListTasksResult : public ServiceResult
{
public:
DescribeAutoShowListTasksResult();
explicit DescribeAutoShowListTasksResult(const std::string &payload);
~DescribeAutoShowListTasksResult();
std::string getAutoShowListTasks()const;
protected:
void parse(const std::string &payload);
private:
std::string autoShowListTasks_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBEAUTOSHOWLISTTASKSRESULT_H_

View File

@@ -40,6 +40,7 @@ namespace AlibabaCloud
std::string domainName;
std::string startTime;
std::string sourceUsing;
std::string always;
std::string appName;
};

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_EDITSHOWANDREPLACEREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_EDITSHOWANDREPLACEREQUEST_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 EditShowAndReplaceRequest : public RpcServiceRequest
{
public:
EditShowAndReplaceRequest();
~EditShowAndReplaceRequest();
float getStartTime()const;
void setStartTime(float startTime);
std::string getUserData()const;
void setUserData(const std::string& userData);
std::string getStorageInfo()const;
void setStorageInfo(const std::string& storageInfo);
std::string getCasterId()const;
void setCasterId(const std::string& casterId);
float getEndTime()const;
void setEndTime(float endTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getShowId()const;
void setShowId(const std::string& showId);
private:
float startTime_;
std::string userData_;
std::string storageInfo_;
std::string casterId_;
float endTime_;
long ownerId_;
std::string showId_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_EDITSHOWANDREPLACEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_FORBIDLIVECUSTOMSTREAMRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_FORBIDLIVECUSTOMSTREAMRESULT_H_
#ifndef ALIBABACLOUD_LIVE_MODEL_EDITSHOWANDREPLACERESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_EDITSHOWANDREPLACERESULT_H_
#include <string>
#include <vector>
@@ -29,21 +29,23 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT ForbidLiveCustomStreamResult : public ServiceResult
class ALIBABACLOUD_LIVE_EXPORT EditShowAndReplaceResult : public ServiceResult
{
public:
ForbidLiveCustomStreamResult();
explicit ForbidLiveCustomStreamResult(const std::string &payload);
~ForbidLiveCustomStreamResult();
EditShowAndReplaceResult();
explicit EditShowAndReplaceResult(const std::string &payload);
~EditShowAndReplaceResult();
std::string getJobInfo()const;
protected:
void parse(const std::string &payload);
private:
std::string jobInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_FORBIDLIVECUSTOMSTREAMRESULT_H_
#endif // !ALIBABACLOUD_LIVE_MODEL_EDITSHOWANDREPLACERESULT_H_

View File

@@ -1,84 +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_FORBIDLIVECUSTOMSTREAMREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_FORBIDLIVECUSTOMSTREAMREQUEST_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 ForbidLiveCustomStreamRequest : public RpcServiceRequest
{
public:
ForbidLiveCustomStreamRequest();
~ForbidLiveCustomStreamRequest();
std::string getStyp()const;
void setStyp(const std::string& styp);
std::string getAppName()const;
void setAppName(const std::string& appName);
std::string getStreamName()const;
void setStreamName(const std::string& streamName);
std::string getControlStreamAction()const;
void setControlStreamAction(const std::string& controlStreamAction);
std::string getNeedwm()const;
void setNeedwm(const std::string& needwm);
std::string getResumeTime()const;
void setResumeTime(const std::string& resumeTime);
std::string getLiveStreamType()const;
void setLiveStreamType(const std::string& liveStreamType);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getSphd()const;
void setSphd(const std::string& sphd);
std::string getOneshot()const;
void setOneshot(const std::string& oneshot);
std::string getAppid()const;
void setAppid(const std::string& appid);
std::string getRatio()const;
void setRatio(const std::string& ratio);
private:
std::string styp_;
std::string appName_;
std::string streamName_;
std::string controlStreamAction_;
std::string needwm_;
std::string resumeTime_;
std::string liveStreamType_;
std::string domainName_;
long ownerId_;
std::string sphd_;
std::string oneshot_;
std::string appid_;
std::string ratio_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_FORBIDLIVECUSTOMSTREAMREQUEST_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_GETEDITINGJOBINFOREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_GETEDITINGJOBINFOREQUEST_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 GetEditingJobInfoRequest : public RpcServiceRequest
{
public:
GetEditingJobInfoRequest();
~GetEditingJobInfoRequest();
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_GETEDITINGJOBINFOREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* 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_GETEDITINGJOBINFORESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_GETEDITINGJOBINFORESULT_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 GetEditingJobInfoResult : public ServiceResult
{
public:
GetEditingJobInfoResult();
explicit GetEditingJobInfoResult(const std::string &payload);
~GetEditingJobInfoResult();
std::string getEditingTasksInfo()const;
std::string getCasterId()const;
protected:
void parse(const std::string &payload);
private:
std::string editingTasksInfo_;
std::string casterId_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_GETEDITINGJOBINFORESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_INITIALIZEAUTOSHOWLISTTASKREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_INITIALIZEAUTOSHOWLISTTASKREQUEST_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 InitializeAutoShowListTaskRequest : public RpcServiceRequest
{
public:
InitializeAutoShowListTaskRequest();
~InitializeAutoShowListTaskRequest();
long getStartTime()const;
void setStartTime(long startTime);
std::string getCasterConfig()const;
void setCasterConfig(const std::string& casterConfig);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getEndTime()const;
void setEndTime(long endTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getResourceIds()const;
void setResourceIds(const std::string& resourceIds);
private:
long startTime_;
std::string casterConfig_;
std::string domainName_;
long endTime_;
long ownerId_;
std::string resourceIds_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_INITIALIZEAUTOSHOWLISTTASKREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* 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_INITIALIZEAUTOSHOWLISTTASKRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_INITIALIZEAUTOSHOWLISTTASKRESULT_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 InitializeAutoShowListTaskResult : public ServiceResult
{
public:
InitializeAutoShowListTaskResult();
explicit InitializeAutoShowListTaskResult(const std::string &payload);
~InitializeAutoShowListTaskResult();
std::string getStreamList()const;
std::string getCasterId()const;
protected:
void parse(const std::string &payload);
private:
std::string streamList_;
std::string casterId_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_INITIALIZEAUTOSHOWLISTTASKRESULT_H_

View File

@@ -3363,6 +3363,42 @@ LiveClient::DeleteStudioLayoutOutcomeCallable LiveClient::deleteStudioLayoutCall
return task->get_future();
}
LiveClient::DescribeAutoShowListTasksOutcome LiveClient::describeAutoShowListTasks(const DescribeAutoShowListTasksRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeAutoShowListTasksOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeAutoShowListTasksOutcome(DescribeAutoShowListTasksResult(outcome.result()));
else
return DescribeAutoShowListTasksOutcome(outcome.error());
}
void LiveClient::describeAutoShowListTasksAsync(const DescribeAutoShowListTasksRequest& request, const DescribeAutoShowListTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeAutoShowListTasks(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::DescribeAutoShowListTasksOutcomeCallable LiveClient::describeAutoShowListTasksCallable(const DescribeAutoShowListTasksRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeAutoShowListTasksOutcome()>>(
[this, request]()
{
return this->describeAutoShowListTasks(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::DescribeBoardEventsOutcome LiveClient::describeBoardEvents(const DescribeBoardEventsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -7287,6 +7323,42 @@ LiveClient::EditPlaylistOutcomeCallable LiveClient::editPlaylistCallable(const E
return task->get_future();
}
LiveClient::EditShowAndReplaceOutcome LiveClient::editShowAndReplace(const EditShowAndReplaceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return EditShowAndReplaceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return EditShowAndReplaceOutcome(EditShowAndReplaceResult(outcome.result()));
else
return EditShowAndReplaceOutcome(outcome.error());
}
void LiveClient::editShowAndReplaceAsync(const EditShowAndReplaceRequest& request, const EditShowAndReplaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, editShowAndReplace(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::EditShowAndReplaceOutcomeCallable LiveClient::editShowAndReplaceCallable(const EditShowAndReplaceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<EditShowAndReplaceOutcome()>>(
[this, request]()
{
return this->editShowAndReplace(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::EffectCasterUrgentOutcome LiveClient::effectCasterUrgent(const EffectCasterUrgentRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -7395,42 +7467,6 @@ LiveClient::EnableLiveRealtimeLogDeliveryOutcomeCallable LiveClient::enableLiveR
return task->get_future();
}
LiveClient::ForbidLiveCustomStreamOutcome LiveClient::forbidLiveCustomStream(const ForbidLiveCustomStreamRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ForbidLiveCustomStreamOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ForbidLiveCustomStreamOutcome(ForbidLiveCustomStreamResult(outcome.result()));
else
return ForbidLiveCustomStreamOutcome(outcome.error());
}
void LiveClient::forbidLiveCustomStreamAsync(const ForbidLiveCustomStreamRequest& request, const ForbidLiveCustomStreamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, forbidLiveCustomStream(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::ForbidLiveCustomStreamOutcomeCallable LiveClient::forbidLiveCustomStreamCallable(const ForbidLiveCustomStreamRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ForbidLiveCustomStreamOutcome()>>(
[this, request]()
{
return this->forbidLiveCustomStream(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::ForbidLiveStreamOutcome LiveClient::forbidLiveStream(const ForbidLiveStreamRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -7575,6 +7611,42 @@ LiveClient::GetCustomTemplateOutcomeCallable LiveClient::getCustomTemplateCallab
return task->get_future();
}
LiveClient::GetEditingJobInfoOutcome LiveClient::getEditingJobInfo(const GetEditingJobInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetEditingJobInfoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetEditingJobInfoOutcome(GetEditingJobInfoResult(outcome.result()));
else
return GetEditingJobInfoOutcome(outcome.error());
}
void LiveClient::getEditingJobInfoAsync(const GetEditingJobInfoRequest& request, const GetEditingJobInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getEditingJobInfo(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::GetEditingJobInfoOutcomeCallable LiveClient::getEditingJobInfoCallable(const GetEditingJobInfoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetEditingJobInfoOutcome()>>(
[this, request]()
{
return this->getEditingJobInfo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::GetMultiRateConfigOutcome LiveClient::getMultiRateConfig(const GetMultiRateConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -7647,6 +7719,42 @@ LiveClient::GetMultiRateConfigListOutcomeCallable LiveClient::getMultiRateConfig
return task->get_future();
}
LiveClient::InitializeAutoShowListTaskOutcome LiveClient::initializeAutoShowListTask(const InitializeAutoShowListTaskRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return InitializeAutoShowListTaskOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return InitializeAutoShowListTaskOutcome(InitializeAutoShowListTaskResult(outcome.result()));
else
return InitializeAutoShowListTaskOutcome(outcome.error());
}
void LiveClient::initializeAutoShowListTaskAsync(const InitializeAutoShowListTaskRequest& request, const InitializeAutoShowListTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, initializeAutoShowListTask(request), context);
};
asyncExecute(new Runnable(fn));
}
LiveClient::InitializeAutoShowListTaskOutcomeCallable LiveClient::initializeAutoShowListTaskCallable(const InitializeAutoShowListTaskRequest &request) const
{
auto task = std::make_shared<std::packaged_task<InitializeAutoShowListTaskOutcome()>>(
[this, request]()
{
return this->initializeAutoShowListTask(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
LiveClient::JoinBoardOutcome LiveClient::joinBoard(const JoinBoardRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

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/DescribeAutoShowListTasksRequest.h>
using AlibabaCloud::Live::Model::DescribeAutoShowListTasksRequest;
DescribeAutoShowListTasksRequest::DescribeAutoShowListTasksRequest() :
RpcServiceRequest("live", "2016-11-01", "DescribeAutoShowListTasks")
{
setMethod(HttpRequest::Method::Post);
}
DescribeAutoShowListTasksRequest::~DescribeAutoShowListTasksRequest()
{}
std::string DescribeAutoShowListTasksRequest::getCasterId()const
{
return casterId_;
}
void DescribeAutoShowListTasksRequest::setCasterId(const std::string& casterId)
{
casterId_ = casterId;
setParameter("CasterId", casterId);
}
long DescribeAutoShowListTasksRequest::getOwnerId()const
{
return ownerId_;
}
void DescribeAutoShowListTasksRequest::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/DescribeAutoShowListTasksResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
DescribeAutoShowListTasksResult::DescribeAutoShowListTasksResult() :
ServiceResult()
{}
DescribeAutoShowListTasksResult::DescribeAutoShowListTasksResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeAutoShowListTasksResult::~DescribeAutoShowListTasksResult()
{}
void DescribeAutoShowListTasksResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["AutoShowListTasks"].isNull())
autoShowListTasks_ = value["AutoShowListTasks"].asString();
}
std::string DescribeAutoShowListTasksResult::getAutoShowListTasks()const
{
return autoShowListTasks_;
}

View File

@@ -57,6 +57,8 @@ void DescribeLivePullStreamConfigResult::parse(const std::string &payload)
liveAppRecordListObject.startTime = valueLiveAppRecordListLiveAppRecord["StartTime"].asString();
if(!valueLiveAppRecordListLiveAppRecord["EndTime"].isNull())
liveAppRecordListObject.endTime = valueLiveAppRecordListLiveAppRecord["EndTime"].asString();
if(!valueLiveAppRecordListLiveAppRecord["Always"].isNull())
liveAppRecordListObject.always = valueLiveAppRecordListLiveAppRecord["Always"].asString();
liveAppRecordList_.push_back(liveAppRecordListObject);
}

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/EditShowAndReplaceRequest.h>
using AlibabaCloud::Live::Model::EditShowAndReplaceRequest;
EditShowAndReplaceRequest::EditShowAndReplaceRequest() :
RpcServiceRequest("live", "2016-11-01", "EditShowAndReplace")
{
setMethod(HttpRequest::Method::Post);
}
EditShowAndReplaceRequest::~EditShowAndReplaceRequest()
{}
float EditShowAndReplaceRequest::getStartTime()const
{
return startTime_;
}
void EditShowAndReplaceRequest::setStartTime(float startTime)
{
startTime_ = startTime;
setParameter("StartTime", std::to_string(startTime));
}
std::string EditShowAndReplaceRequest::getUserData()const
{
return userData_;
}
void EditShowAndReplaceRequest::setUserData(const std::string& userData)
{
userData_ = userData;
setParameter("UserData", userData);
}
std::string EditShowAndReplaceRequest::getStorageInfo()const
{
return storageInfo_;
}
void EditShowAndReplaceRequest::setStorageInfo(const std::string& storageInfo)
{
storageInfo_ = storageInfo;
setParameter("StorageInfo", storageInfo);
}
std::string EditShowAndReplaceRequest::getCasterId()const
{
return casterId_;
}
void EditShowAndReplaceRequest::setCasterId(const std::string& casterId)
{
casterId_ = casterId;
setParameter("CasterId", casterId);
}
float EditShowAndReplaceRequest::getEndTime()const
{
return endTime_;
}
void EditShowAndReplaceRequest::setEndTime(float endTime)
{
endTime_ = endTime;
setParameter("EndTime", std::to_string(endTime));
}
long EditShowAndReplaceRequest::getOwnerId()const
{
return ownerId_;
}
void EditShowAndReplaceRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string EditShowAndReplaceRequest::getShowId()const
{
return showId_;
}
void EditShowAndReplaceRequest::setShowId(const std::string& showId)
{
showId_ = showId;
setParameter("ShowId", showId);
}

View File

@@ -14,31 +14,38 @@
* limitations under the License.
*/
#include <alibabacloud/live/model/ForbidLiveCustomStreamResult.h>
#include <alibabacloud/live/model/EditShowAndReplaceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
ForbidLiveCustomStreamResult::ForbidLiveCustomStreamResult() :
EditShowAndReplaceResult::EditShowAndReplaceResult() :
ServiceResult()
{}
ForbidLiveCustomStreamResult::ForbidLiveCustomStreamResult(const std::string &payload) :
EditShowAndReplaceResult::EditShowAndReplaceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ForbidLiveCustomStreamResult::~ForbidLiveCustomStreamResult()
EditShowAndReplaceResult::~EditShowAndReplaceResult()
{}
void ForbidLiveCustomStreamResult::parse(const std::string &payload)
void EditShowAndReplaceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["JobInfo"].isNull())
jobInfo_ = value["JobInfo"].asString();
}
std::string EditShowAndReplaceResult::getJobInfo()const
{
return jobInfo_;
}

View File

@@ -1,172 +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/ForbidLiveCustomStreamRequest.h>
using AlibabaCloud::Live::Model::ForbidLiveCustomStreamRequest;
ForbidLiveCustomStreamRequest::ForbidLiveCustomStreamRequest() :
RpcServiceRequest("live", "2016-11-01", "ForbidLiveCustomStream")
{
setMethod(HttpRequest::Method::Post);
}
ForbidLiveCustomStreamRequest::~ForbidLiveCustomStreamRequest()
{}
std::string ForbidLiveCustomStreamRequest::getStyp()const
{
return styp_;
}
void ForbidLiveCustomStreamRequest::setStyp(const std::string& styp)
{
styp_ = styp;
setParameter("Styp", styp);
}
std::string ForbidLiveCustomStreamRequest::getAppName()const
{
return appName_;
}
void ForbidLiveCustomStreamRequest::setAppName(const std::string& appName)
{
appName_ = appName;
setParameter("AppName", appName);
}
std::string ForbidLiveCustomStreamRequest::getStreamName()const
{
return streamName_;
}
void ForbidLiveCustomStreamRequest::setStreamName(const std::string& streamName)
{
streamName_ = streamName;
setParameter("StreamName", streamName);
}
std::string ForbidLiveCustomStreamRequest::getControlStreamAction()const
{
return controlStreamAction_;
}
void ForbidLiveCustomStreamRequest::setControlStreamAction(const std::string& controlStreamAction)
{
controlStreamAction_ = controlStreamAction;
setParameter("ControlStreamAction", controlStreamAction);
}
std::string ForbidLiveCustomStreamRequest::getNeedwm()const
{
return needwm_;
}
void ForbidLiveCustomStreamRequest::setNeedwm(const std::string& needwm)
{
needwm_ = needwm;
setParameter("Needwm", needwm);
}
std::string ForbidLiveCustomStreamRequest::getResumeTime()const
{
return resumeTime_;
}
void ForbidLiveCustomStreamRequest::setResumeTime(const std::string& resumeTime)
{
resumeTime_ = resumeTime;
setParameter("ResumeTime", resumeTime);
}
std::string ForbidLiveCustomStreamRequest::getLiveStreamType()const
{
return liveStreamType_;
}
void ForbidLiveCustomStreamRequest::setLiveStreamType(const std::string& liveStreamType)
{
liveStreamType_ = liveStreamType;
setParameter("LiveStreamType", liveStreamType);
}
std::string ForbidLiveCustomStreamRequest::getDomainName()const
{
return domainName_;
}
void ForbidLiveCustomStreamRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
long ForbidLiveCustomStreamRequest::getOwnerId()const
{
return ownerId_;
}
void ForbidLiveCustomStreamRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string ForbidLiveCustomStreamRequest::getSphd()const
{
return sphd_;
}
void ForbidLiveCustomStreamRequest::setSphd(const std::string& sphd)
{
sphd_ = sphd;
setParameter("Sphd", sphd);
}
std::string ForbidLiveCustomStreamRequest::getOneshot()const
{
return oneshot_;
}
void ForbidLiveCustomStreamRequest::setOneshot(const std::string& oneshot)
{
oneshot_ = oneshot;
setParameter("Oneshot", oneshot);
}
std::string ForbidLiveCustomStreamRequest::getAppid()const
{
return appid_;
}
void ForbidLiveCustomStreamRequest::setAppid(const std::string& appid)
{
appid_ = appid;
setParameter("Appid", appid);
}
std::string ForbidLiveCustomStreamRequest::getRatio()const
{
return ratio_;
}
void ForbidLiveCustomStreamRequest::setRatio(const std::string& ratio)
{
ratio_ = ratio;
setParameter("Ratio", ratio);
}

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/GetEditingJobInfoRequest.h>
using AlibabaCloud::Live::Model::GetEditingJobInfoRequest;
GetEditingJobInfoRequest::GetEditingJobInfoRequest() :
RpcServiceRequest("live", "2016-11-01", "GetEditingJobInfo")
{
setMethod(HttpRequest::Method::Post);
}
GetEditingJobInfoRequest::~GetEditingJobInfoRequest()
{}
std::string GetEditingJobInfoRequest::getCasterId()const
{
return casterId_;
}
void GetEditingJobInfoRequest::setCasterId(const std::string& casterId)
{
casterId_ = casterId;
setParameter("CasterId", casterId);
}
long GetEditingJobInfoRequest::getOwnerId()const
{
return ownerId_;
}
void GetEditingJobInfoRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string GetEditingJobInfoRequest::getShowId()const
{
return showId_;
}
void GetEditingJobInfoRequest::setShowId(const std::string& showId)
{
showId_ = showId;
setParameter("ShowId", showId);
}

View File

@@ -0,0 +1,58 @@
/*
* 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/GetEditingJobInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
GetEditingJobInfoResult::GetEditingJobInfoResult() :
ServiceResult()
{}
GetEditingJobInfoResult::GetEditingJobInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetEditingJobInfoResult::~GetEditingJobInfoResult()
{}
void GetEditingJobInfoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["CasterId"].isNull())
casterId_ = value["CasterId"].asString();
if(!value["EditingTasksInfo"].isNull())
editingTasksInfo_ = value["EditingTasksInfo"].asString();
}
std::string GetEditingJobInfoResult::getEditingTasksInfo()const
{
return editingTasksInfo_;
}
std::string GetEditingJobInfoResult::getCasterId()const
{
return casterId_;
}

View File

@@ -0,0 +1,95 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/InitializeAutoShowListTaskRequest.h>
using AlibabaCloud::Live::Model::InitializeAutoShowListTaskRequest;
InitializeAutoShowListTaskRequest::InitializeAutoShowListTaskRequest() :
RpcServiceRequest("live", "2016-11-01", "InitializeAutoShowListTask")
{
setMethod(HttpRequest::Method::Post);
}
InitializeAutoShowListTaskRequest::~InitializeAutoShowListTaskRequest()
{}
long InitializeAutoShowListTaskRequest::getStartTime()const
{
return startTime_;
}
void InitializeAutoShowListTaskRequest::setStartTime(long startTime)
{
startTime_ = startTime;
setParameter("StartTime", std::to_string(startTime));
}
std::string InitializeAutoShowListTaskRequest::getCasterConfig()const
{
return casterConfig_;
}
void InitializeAutoShowListTaskRequest::setCasterConfig(const std::string& casterConfig)
{
casterConfig_ = casterConfig;
setParameter("CasterConfig", casterConfig);
}
std::string InitializeAutoShowListTaskRequest::getDomainName()const
{
return domainName_;
}
void InitializeAutoShowListTaskRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
long InitializeAutoShowListTaskRequest::getEndTime()const
{
return endTime_;
}
void InitializeAutoShowListTaskRequest::setEndTime(long endTime)
{
endTime_ = endTime;
setParameter("EndTime", std::to_string(endTime));
}
long InitializeAutoShowListTaskRequest::getOwnerId()const
{
return ownerId_;
}
void InitializeAutoShowListTaskRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string InitializeAutoShowListTaskRequest::getResourceIds()const
{
return resourceIds_;
}
void InitializeAutoShowListTaskRequest::setResourceIds(const std::string& resourceIds)
{
resourceIds_ = resourceIds;
setParameter("ResourceIds", resourceIds);
}

View File

@@ -0,0 +1,58 @@
/*
* 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/InitializeAutoShowListTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
InitializeAutoShowListTaskResult::InitializeAutoShowListTaskResult() :
ServiceResult()
{}
InitializeAutoShowListTaskResult::InitializeAutoShowListTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
InitializeAutoShowListTaskResult::~InitializeAutoShowListTaskResult()
{}
void InitializeAutoShowListTaskResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["CasterId"].isNull())
casterId_ = value["CasterId"].asString();
if(!value["StreamList"].isNull())
streamList_ = value["StreamList"].asString();
}
std::string InitializeAutoShowListTaskResult::getStreamList()const
{
return streamList_;
}
std::string InitializeAutoShowListTaskResult::getCasterId()const
{
return casterId_;
}