Generated 2016-11-01 for live.

This commit is contained in:
sdk-team
2022-03-30 03:25:31 +00:00
parent 7052337f54
commit f3e4ab14ee
770 changed files with 22948 additions and 36846 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,161 +1,135 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/AddCasterComponentRequest.h>
using AlibabaCloud::Live::Model::AddCasterComponentRequest;
AddCasterComponentRequest::AddCasterComponentRequest() :
RpcServiceRequest("live", "2016-11-01", "AddCasterComponent")
{
setMethod(HttpRequest::Method::Post);
}
AddCasterComponentRequest::~AddCasterComponentRequest()
{}
std::string AddCasterComponentRequest::getHtmlLayerContent()const
{
return htmlLayerContent_;
*/
#include <alibabacloud/live/model/AddCasterComponentRequest.h>
using AlibabaCloud::Live::Model::AddCasterComponentRequest;
AddCasterComponentRequest::AddCasterComponentRequest()
: RpcServiceRequest("live", "2016-11-01", "AddCasterComponent") {
setMethod(HttpRequest::Method::Post);
}
void AddCasterComponentRequest::setHtmlLayerContent(const std::string& htmlLayerContent)
{
htmlLayerContent_ = htmlLayerContent;
setParameter("HtmlLayerContent", htmlLayerContent);
AddCasterComponentRequest::~AddCasterComponentRequest() {}
std::string AddCasterComponentRequest::getHtmlLayerContent() const {
return htmlLayerContent_;
}
std::string AddCasterComponentRequest::getImageLayerContent()const
{
return imageLayerContent_;
void AddCasterComponentRequest::setHtmlLayerContent(const std::string &htmlLayerContent) {
htmlLayerContent_ = htmlLayerContent;
setParameter(std::string("HtmlLayerContent"), htmlLayerContent);
}
void AddCasterComponentRequest::setImageLayerContent(const std::string& imageLayerContent)
{
imageLayerContent_ = imageLayerContent;
setParameter("ImageLayerContent", imageLayerContent);
std::string AddCasterComponentRequest::getImageLayerContent() const {
return imageLayerContent_;
}
std::string AddCasterComponentRequest::getComponentName()const
{
return componentName_;
void AddCasterComponentRequest::setImageLayerContent(const std::string &imageLayerContent) {
imageLayerContent_ = imageLayerContent;
setParameter(std::string("ImageLayerContent"), imageLayerContent);
}
void AddCasterComponentRequest::setComponentName(const std::string& componentName)
{
componentName_ = componentName;
setParameter("ComponentName", componentName);
std::string AddCasterComponentRequest::getComponentName() const {
return componentName_;
}
std::string AddCasterComponentRequest::getLayerOrder()const
{
return layerOrder_;
void AddCasterComponentRequest::setComponentName(const std::string &componentName) {
componentName_ = componentName;
setParameter(std::string("ComponentName"), componentName);
}
void AddCasterComponentRequest::setLayerOrder(const std::string& layerOrder)
{
layerOrder_ = layerOrder;
setParameter("LayerOrder", layerOrder);
std::string AddCasterComponentRequest::getLayerOrder() const {
return layerOrder_;
}
std::string AddCasterComponentRequest::getCasterId()const
{
return casterId_;
void AddCasterComponentRequest::setLayerOrder(const std::string &layerOrder) {
layerOrder_ = layerOrder;
setParameter(std::string("LayerOrder"), layerOrder);
}
void AddCasterComponentRequest::setCasterId(const std::string& casterId)
{
casterId_ = casterId;
setParameter("CasterId", casterId);
std::string AddCasterComponentRequest::getCasterId() const {
return casterId_;
}
std::string AddCasterComponentRequest::getComponentLayer()const
{
return componentLayer_;
void AddCasterComponentRequest::setCasterId(const std::string &casterId) {
casterId_ = casterId;
setParameter(std::string("CasterId"), casterId);
}
void AddCasterComponentRequest::setComponentLayer(const std::string& componentLayer)
{
componentLayer_ = componentLayer;
setParameter("ComponentLayer", componentLayer);
std::string AddCasterComponentRequest::getComponentLayer() const {
return componentLayer_;
}
long AddCasterComponentRequest::getOwnerId()const
{
return ownerId_;
void AddCasterComponentRequest::setComponentLayer(const std::string &componentLayer) {
componentLayer_ = componentLayer;
setParameter(std::string("ComponentLayer"), componentLayer);
}
void AddCasterComponentRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long AddCasterComponentRequest::getOwnerId() const {
return ownerId_;
}
std::string AddCasterComponentRequest::getComponentType()const
{
return componentType_;
void AddCasterComponentRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void AddCasterComponentRequest::setComponentType(const std::string& componentType)
{
componentType_ = componentType;
setParameter("ComponentType", componentType);
std::string AddCasterComponentRequest::getComponentType() const {
return componentType_;
}
std::string AddCasterComponentRequest::getLocationId()const
{
return locationId_;
void AddCasterComponentRequest::setComponentType(const std::string &componentType) {
componentType_ = componentType;
setParameter(std::string("ComponentType"), componentType);
}
void AddCasterComponentRequest::setLocationId(const std::string& locationId)
{
locationId_ = locationId;
setParameter("LocationId", locationId);
std::string AddCasterComponentRequest::getLocationId() const {
return locationId_;
}
std::string AddCasterComponentRequest::getEffect()const
{
return effect_;
void AddCasterComponentRequest::setLocationId(const std::string &locationId) {
locationId_ = locationId;
setParameter(std::string("LocationId"), locationId);
}
void AddCasterComponentRequest::setEffect(const std::string& effect)
{
effect_ = effect;
setParameter("Effect", effect);
std::string AddCasterComponentRequest::getEffect() const {
return effect_;
}
std::string AddCasterComponentRequest::getCaptionLayerContent()const
{
return captionLayerContent_;
void AddCasterComponentRequest::setEffect(const std::string &effect) {
effect_ = effect;
setParameter(std::string("Effect"), effect);
}
void AddCasterComponentRequest::setCaptionLayerContent(const std::string& captionLayerContent)
{
captionLayerContent_ = captionLayerContent;
setParameter("CaptionLayerContent", captionLayerContent);
std::string AddCasterComponentRequest::getCaptionLayerContent() const {
return captionLayerContent_;
}
std::string AddCasterComponentRequest::getTextLayerContent()const
{
return textLayerContent_;
void AddCasterComponentRequest::setCaptionLayerContent(const std::string &captionLayerContent) {
captionLayerContent_ = captionLayerContent;
setParameter(std::string("CaptionLayerContent"), captionLayerContent);
}
void AddCasterComponentRequest::setTextLayerContent(const std::string& textLayerContent)
{
textLayerContent_ = textLayerContent;
setParameter("TextLayerContent", textLayerContent);
std::string AddCasterComponentRequest::getTextLayerContent() const {
return textLayerContent_;
}
void AddCasterComponentRequest::setTextLayerContent(const std::string &textLayerContent) {
textLayerContent_ = textLayerContent;
setParameter(std::string("TextLayerContent"), textLayerContent);
}

View File

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

View File

@@ -1,122 +1,104 @@
/*
* 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/AddCasterEpisodeGroupRequest.h>
using AlibabaCloud::Live::Model::AddCasterEpisodeGroupRequest;
AddCasterEpisodeGroupRequest::AddCasterEpisodeGroupRequest() :
RpcServiceRequest("live", "2016-11-01", "AddCasterEpisodeGroup")
{
setMethod(HttpRequest::Method::Post);
}
AddCasterEpisodeGroupRequest::~AddCasterEpisodeGroupRequest()
{}
std::string AddCasterEpisodeGroupRequest::getClientToken()const
{
return clientToken_;
*/
#include <alibabacloud/live/model/AddCasterEpisodeGroupRequest.h>
using AlibabaCloud::Live::Model::AddCasterEpisodeGroupRequest;
AddCasterEpisodeGroupRequest::AddCasterEpisodeGroupRequest()
: RpcServiceRequest("live", "2016-11-01", "AddCasterEpisodeGroup") {
setMethod(HttpRequest::Method::Post);
}
void AddCasterEpisodeGroupRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
AddCasterEpisodeGroupRequest::~AddCasterEpisodeGroupRequest() {}
std::string AddCasterEpisodeGroupRequest::getClientToken() const {
return clientToken_;
}
std::string AddCasterEpisodeGroupRequest::getStartTime()const
{
return startTime_;
void AddCasterEpisodeGroupRequest::setClientToken(const std::string &clientToken) {
clientToken_ = clientToken;
setParameter(std::string("ClientToken"), clientToken);
}
void AddCasterEpisodeGroupRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
std::string AddCasterEpisodeGroupRequest::getStartTime() const {
return startTime_;
}
std::string AddCasterEpisodeGroupRequest::getSideOutputUrl()const
{
return sideOutputUrl_;
void AddCasterEpisodeGroupRequest::setStartTime(const std::string &startTime) {
startTime_ = startTime;
setParameter(std::string("StartTime"), startTime);
}
void AddCasterEpisodeGroupRequest::setSideOutputUrl(const std::string& sideOutputUrl)
{
sideOutputUrl_ = sideOutputUrl;
setParameter("SideOutputUrl", sideOutputUrl);
std::string AddCasterEpisodeGroupRequest::getSideOutputUrl() const {
return sideOutputUrl_;
}
std::vector<AddCasterEpisodeGroupRequest::Item> AddCasterEpisodeGroupRequest::getItem()const
{
return item_;
void AddCasterEpisodeGroupRequest::setSideOutputUrl(const std::string &sideOutputUrl) {
sideOutputUrl_ = sideOutputUrl;
setParameter(std::string("SideOutputUrl"), sideOutputUrl);
}
void AddCasterEpisodeGroupRequest::setItem(const std::vector<Item>& item)
{
item_ = item;
for(int dep1 = 0; dep1!= item.size(); dep1++) {
auto itemObj = item.at(dep1);
std::string itemObjStr = "Item." + std::to_string(dep1 + 1);
setParameter(itemObjStr + ".ItemName", itemObj.itemName);
setParameter(itemObjStr + ".VodUrl", itemObj.vodUrl);
}
std::vector<AddCasterEpisodeGroupRequest::Item> AddCasterEpisodeGroupRequest::getItem() const {
return item_;
}
std::string AddCasterEpisodeGroupRequest::getDomainName()const
{
return domainName_;
void AddCasterEpisodeGroupRequest::setItem(const std::vector<AddCasterEpisodeGroupRequest::Item> &item) {
item_ = item;
for(int dep1 = 0; dep1 != item.size(); dep1++) {
auto itemObj = item.at(dep1);
std::string itemObjStr = std::string("Item") + "." + std::to_string(dep1 + 1);
setParameter(itemObjStr + ".ItemName", itemObj.itemName);
setParameter(itemObjStr + ".VodUrl", itemObj.vodUrl);
}
}
void AddCasterEpisodeGroupRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
std::string AddCasterEpisodeGroupRequest::getDomainName() const {
return domainName_;
}
long AddCasterEpisodeGroupRequest::getOwnerId()const
{
return ownerId_;
void AddCasterEpisodeGroupRequest::setDomainName(const std::string &domainName) {
domainName_ = domainName;
setParameter(std::string("DomainName"), domainName);
}
void AddCasterEpisodeGroupRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long AddCasterEpisodeGroupRequest::getOwnerId() const {
return ownerId_;
}
int AddCasterEpisodeGroupRequest::getRepeatNum()const
{
return repeatNum_;
void AddCasterEpisodeGroupRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void AddCasterEpisodeGroupRequest::setRepeatNum(int repeatNum)
{
repeatNum_ = repeatNum;
setParameter("RepeatNum", std::to_string(repeatNum));
int AddCasterEpisodeGroupRequest::getRepeatNum() const {
return repeatNum_;
}
std::string AddCasterEpisodeGroupRequest::getCallbackUrl()const
{
return callbackUrl_;
void AddCasterEpisodeGroupRequest::setRepeatNum(int repeatNum) {
repeatNum_ = repeatNum;
setParameter(std::string("RepeatNum"), std::to_string(repeatNum));
}
void AddCasterEpisodeGroupRequest::setCallbackUrl(const std::string& callbackUrl)
{
callbackUrl_ = callbackUrl;
setParameter("CallbackUrl", callbackUrl);
std::string AddCasterEpisodeGroupRequest::getCallbackUrl() const {
return callbackUrl_;
}
void AddCasterEpisodeGroupRequest::setCallbackUrl(const std::string &callbackUrl) {
callbackUrl_ = callbackUrl;
setParameter(std::string("CallbackUrl"), callbackUrl);
}

View File

@@ -1,130 +1,107 @@
/*
* 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/AddCasterEpisodeRequest.h>
using AlibabaCloud::Live::Model::AddCasterEpisodeRequest;
AddCasterEpisodeRequest::AddCasterEpisodeRequest() :
RpcServiceRequest("live", "2016-11-01", "AddCasterEpisode")
{
setMethod(HttpRequest::Method::Post);
}
AddCasterEpisodeRequest::~AddCasterEpisodeRequest()
{}
std::string AddCasterEpisodeRequest::getEpisodeName()const
{
return episodeName_;
*/
#include <alibabacloud/live/model/AddCasterEpisodeRequest.h>
using AlibabaCloud::Live::Model::AddCasterEpisodeRequest;
AddCasterEpisodeRequest::AddCasterEpisodeRequest()
: RpcServiceRequest("live", "2016-11-01", "AddCasterEpisode") {
setMethod(HttpRequest::Method::Post);
}
void AddCasterEpisodeRequest::setEpisodeName(const std::string& episodeName)
{
episodeName_ = episodeName;
setParameter("EpisodeName", episodeName);
AddCasterEpisodeRequest::~AddCasterEpisodeRequest() {}
std::string AddCasterEpisodeRequest::getEpisodeName() const {
return episodeName_;
}
std::string AddCasterEpisodeRequest::getStartTime()const
{
return startTime_;
void AddCasterEpisodeRequest::setEpisodeName(const std::string &episodeName) {
episodeName_ = episodeName;
setParameter(std::string("EpisodeName"), episodeName);
}
void AddCasterEpisodeRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
std::string AddCasterEpisodeRequest::getStartTime() const {
return startTime_;
}
std::string AddCasterEpisodeRequest::getResourceId()const
{
return resourceId_;
void AddCasterEpisodeRequest::setStartTime(const std::string &startTime) {
startTime_ = startTime;
setParameter(std::string("StartTime"), startTime);
}
void AddCasterEpisodeRequest::setResourceId(const std::string& resourceId)
{
resourceId_ = resourceId;
setParameter("ResourceId", resourceId);
std::string AddCasterEpisodeRequest::getResourceId() const {
return resourceId_;
}
std::vector<std::string> AddCasterEpisodeRequest::getComponentId()const
{
return componentId_;
void AddCasterEpisodeRequest::setResourceId(const std::string &resourceId) {
resourceId_ = resourceId;
setParameter(std::string("ResourceId"), resourceId);
}
void AddCasterEpisodeRequest::setComponentId(const std::vector<std::string>& componentId)
{
componentId_ = componentId;
for(int dep1 = 0; dep1!= componentId.size(); dep1++) {
setParameter("ComponentId."+ std::to_string(dep1), componentId.at(dep1));
}
std::vector<std::string> AddCasterEpisodeRequest::getComponentId() const {
return componentId_;
}
std::string AddCasterEpisodeRequest::getCasterId()const
{
return casterId_;
void AddCasterEpisodeRequest::setComponentId(const std::vector<std::string> &componentId) {
componentId_ = componentId;
}
void AddCasterEpisodeRequest::setCasterId(const std::string& casterId)
{
casterId_ = casterId;
setParameter("CasterId", casterId);
std::string AddCasterEpisodeRequest::getCasterId() const {
return casterId_;
}
std::string AddCasterEpisodeRequest::getEpisodeType()const
{
return episodeType_;
void AddCasterEpisodeRequest::setCasterId(const std::string &casterId) {
casterId_ = casterId;
setParameter(std::string("CasterId"), casterId);
}
void AddCasterEpisodeRequest::setEpisodeType(const std::string& episodeType)
{
episodeType_ = episodeType;
setParameter("EpisodeType", episodeType);
std::string AddCasterEpisodeRequest::getEpisodeType() const {
return episodeType_;
}
std::string AddCasterEpisodeRequest::getEndTime()const
{
return endTime_;
void AddCasterEpisodeRequest::setEpisodeType(const std::string &episodeType) {
episodeType_ = episodeType;
setParameter(std::string("EpisodeType"), episodeType);
}
void AddCasterEpisodeRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
std::string AddCasterEpisodeRequest::getEndTime() const {
return endTime_;
}
long AddCasterEpisodeRequest::getOwnerId()const
{
return ownerId_;
void AddCasterEpisodeRequest::setEndTime(const std::string &endTime) {
endTime_ = endTime;
setParameter(std::string("EndTime"), endTime);
}
void AddCasterEpisodeRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long AddCasterEpisodeRequest::getOwnerId() const {
return ownerId_;
}
std::string AddCasterEpisodeRequest::getSwitchType()const
{
return switchType_;
void AddCasterEpisodeRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void AddCasterEpisodeRequest::setSwitchType(const std::string& switchType)
{
switchType_ = switchType;
setParameter("SwitchType", switchType);
std::string AddCasterEpisodeRequest::getSwitchType() const {
return switchType_;
}
void AddCasterEpisodeRequest::setSwitchType(const std::string &switchType) {
switchType_ = switchType;
setParameter(std::string("SwitchType"), switchType);
}

View File

@@ -1,116 +1,93 @@
/*
* 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/AddCasterLayoutRequest.h>
using AlibabaCloud::Live::Model::AddCasterLayoutRequest;
AddCasterLayoutRequest::AddCasterLayoutRequest() :
RpcServiceRequest("live", "2016-11-01", "AddCasterLayout")
{
setMethod(HttpRequest::Method::Post);
}
AddCasterLayoutRequest::~AddCasterLayoutRequest()
{}
std::vector<std::string> AddCasterLayoutRequest::getBlendList()const
{
return blendList_;
*/
#include <alibabacloud/live/model/AddCasterLayoutRequest.h>
using AlibabaCloud::Live::Model::AddCasterLayoutRequest;
AddCasterLayoutRequest::AddCasterLayoutRequest()
: RpcServiceRequest("live", "2016-11-01", "AddCasterLayout") {
setMethod(HttpRequest::Method::Post);
}
void AddCasterLayoutRequest::setBlendList(const std::vector<std::string>& blendList)
{
blendList_ = blendList;
for(int dep1 = 0; dep1!= blendList.size(); dep1++) {
setParameter("BlendList."+ std::to_string(dep1), blendList.at(dep1));
}
AddCasterLayoutRequest::~AddCasterLayoutRequest() {}
std::vector<std::string> AddCasterLayoutRequest::getBlendList() const {
return blendList_;
}
std::string AddCasterLayoutRequest::getCasterId()const
{
return casterId_;
void AddCasterLayoutRequest::setBlendList(const std::vector<std::string> &blendList) {
blendList_ = blendList;
}
void AddCasterLayoutRequest::setCasterId(const std::string& casterId)
{
casterId_ = casterId;
setParameter("CasterId", casterId);
std::string AddCasterLayoutRequest::getCasterId() const {
return casterId_;
}
long AddCasterLayoutRequest::getOwnerId()const
{
return ownerId_;
void AddCasterLayoutRequest::setCasterId(const std::string &casterId) {
casterId_ = casterId;
setParameter(std::string("CasterId"), casterId);
}
void AddCasterLayoutRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long AddCasterLayoutRequest::getOwnerId() const {
return ownerId_;
}
std::vector<AddCasterLayoutRequest::AudioLayer> AddCasterLayoutRequest::getAudioLayer()const
{
return audioLayer_;
void AddCasterLayoutRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void AddCasterLayoutRequest::setAudioLayer(const std::vector<AudioLayer>& audioLayer)
{
audioLayer_ = audioLayer;
for(int dep1 = 0; dep1!= audioLayer.size(); dep1++) {
auto audioLayerObj = audioLayer.at(dep1);
std::string audioLayerObjStr = "AudioLayer." + std::to_string(dep1 + 1);
setParameter(audioLayerObjStr + ".VolumeRate", std::to_string(audioLayerObj.volumeRate));
setParameter(audioLayerObjStr + ".ValidChannel", audioLayerObj.validChannel);
setParameter(audioLayerObjStr + ".FixedDelayDuration", std::to_string(audioLayerObj.fixedDelayDuration));
}
std::vector<AddCasterLayoutRequest::AudioLayer> AddCasterLayoutRequest::getAudioLayer() const {
return audioLayer_;
}
std::vector<AddCasterLayoutRequest::VideoLayer> AddCasterLayoutRequest::getVideoLayer()const
{
return videoLayer_;
void AddCasterLayoutRequest::setAudioLayer(const std::vector<AddCasterLayoutRequest::AudioLayer> &audioLayer) {
audioLayer_ = audioLayer;
for(int dep1 = 0; dep1 != audioLayer.size(); dep1++) {
auto audioLayerObj = audioLayer.at(dep1);
std::string audioLayerObjStr = std::string("AudioLayer") + "." + std::to_string(dep1 + 1);
setParameter(audioLayerObjStr + ".VolumeRate", std::to_string(audioLayerObj.volumeRate));
setParameter(audioLayerObjStr + ".FixedDelayDuration", std::to_string(audioLayerObj.fixedDelayDuration));
setParameter(audioLayerObjStr + ".ValidChannel", audioLayerObj.validChannel);
}
}
void AddCasterLayoutRequest::setVideoLayer(const std::vector<VideoLayer>& videoLayer)
{
videoLayer_ = videoLayer;
for(int dep1 = 0; dep1!= videoLayer.size(); dep1++) {
auto videoLayerObj = videoLayer.at(dep1);
std::string videoLayerObjStr = "VideoLayer." + std::to_string(dep1 + 1);
setParameter(videoLayerObjStr + ".FillMode", videoLayerObj.fillMode);
setParameter(videoLayerObjStr + ".HeightNormalized", std::to_string(videoLayerObj.heightNormalized));
setParameter(videoLayerObjStr + ".WidthNormalized", std::to_string(videoLayerObj.widthNormalized));
setParameter(videoLayerObjStr + ".PositionRefer", videoLayerObj.positionRefer);
for(int dep2 = 0; dep2!= videoLayerObj.positionNormalized.size(); dep2++) {
setParameter(videoLayerObjStr + ".PositionNormalized."+ std::to_string(dep2), std::to_string(videoLayerObj.positionNormalized.at(dep2)));
}
setParameter(videoLayerObjStr + ".FixedDelayDuration", std::to_string(videoLayerObj.fixedDelayDuration));
}
std::vector<AddCasterLayoutRequest::VideoLayer> AddCasterLayoutRequest::getVideoLayer() const {
return videoLayer_;
}
std::vector<std::string> AddCasterLayoutRequest::getMixList()const
{
return mixList_;
void AddCasterLayoutRequest::setVideoLayer(const std::vector<AddCasterLayoutRequest::VideoLayer> &videoLayer) {
videoLayer_ = videoLayer;
for(int dep1 = 0; dep1 != videoLayer.size(); dep1++) {
auto videoLayerObj = videoLayer.at(dep1);
std::string videoLayerObjStr = std::string("VideoLayer") + "." + std::to_string(dep1 + 1);
setParameter(videoLayerObjStr + ".FixedDelayDuration", std::to_string(videoLayerObj.fixedDelayDuration));
setParameter(videoLayerObjStr + ".FillMode", videoLayerObj.fillMode);
setParameter(videoLayerObjStr + ".HeightNormalized", std::to_string(videoLayerObj.heightNormalized));
setParameter(videoLayerObjStr + ".PositionRefer", videoLayerObj.positionRefer);
setParameter(videoLayerObjStr + ".WidthNormalized", std::to_string(videoLayerObj.widthNormalized));
}
}
void AddCasterLayoutRequest::setMixList(const std::vector<std::string>& mixList)
{
mixList_ = mixList;
for(int dep1 = 0; dep1!= mixList.size(); dep1++) {
setParameter("MixList."+ std::to_string(dep1), mixList.at(dep1));
}
std::vector<std::string> AddCasterLayoutRequest::getMixList() const {
return mixList_;
}
void AddCasterLayoutRequest::setMixList(const std::vector<std::string> &mixList) {
mixList_ = mixList;
}

View File

@@ -1,74 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/AddCasterProgramRequest.h>
using AlibabaCloud::Live::Model::AddCasterProgramRequest;
AddCasterProgramRequest::AddCasterProgramRequest() :
RpcServiceRequest("live", "2016-11-01", "AddCasterProgram")
{
setMethod(HttpRequest::Method::Post);
}
AddCasterProgramRequest::~AddCasterProgramRequest()
{}
std::vector<AddCasterProgramRequest::Episode> AddCasterProgramRequest::getEpisode()const
{
return episode_;
*/
#include <alibabacloud/live/model/AddCasterProgramRequest.h>
using AlibabaCloud::Live::Model::AddCasterProgramRequest;
AddCasterProgramRequest::AddCasterProgramRequest()
: RpcServiceRequest("live", "2016-11-01", "AddCasterProgram") {
setMethod(HttpRequest::Method::Post);
}
void AddCasterProgramRequest::setEpisode(const std::vector<Episode>& episode)
{
episode_ = episode;
for(int dep1 = 0; dep1!= episode.size(); dep1++) {
auto episodeObj = episode.at(dep1);
std::string episodeObjStr = "Episode." + std::to_string(dep1 + 1);
setParameter(episodeObjStr + ".EpisodeType", episodeObj.episodeType);
setParameter(episodeObjStr + ".EpisodeName", episodeObj.episodeName);
setParameter(episodeObjStr + ".ResourceId", episodeObj.resourceId);
for(int dep2 = 0; dep2!= episodeObj.componentId.size(); dep2++) {
setParameter(episodeObjStr + ".ComponentId."+ std::to_string(dep2), episodeObj.componentId.at(dep2));
}
setParameter(episodeObjStr + ".StartTime", episodeObj.startTime);
setParameter(episodeObjStr + ".EndTime", episodeObj.endTime);
setParameter(episodeObjStr + ".SwitchType", episodeObj.switchType);
}
AddCasterProgramRequest::~AddCasterProgramRequest() {}
std::vector<AddCasterProgramRequest::Episode> AddCasterProgramRequest::getEpisode() const {
return episode_;
}
std::string AddCasterProgramRequest::getCasterId()const
{
return casterId_;
void AddCasterProgramRequest::setEpisode(const std::vector<AddCasterProgramRequest::Episode> &episode) {
episode_ = episode;
for(int dep1 = 0; dep1 != episode.size(); dep1++) {
auto episodeObj = episode.at(dep1);
std::string episodeObjStr = std::string("Episode") + "." + std::to_string(dep1 + 1);
setParameter(episodeObjStr + ".EndTime", episodeObj.endTime);
setParameter(episodeObjStr + ".StartTime", episodeObj.startTime);
setParameter(episodeObjStr + ".EpisodeName", episodeObj.episodeName);
setParameter(episodeObjStr + ".EpisodeType", episodeObj.episodeType);
setParameter(episodeObjStr + ".ResourceId", episodeObj.resourceId);
setParameter(episodeObjStr + ".SwitchType", episodeObj.switchType);
}
}
void AddCasterProgramRequest::setCasterId(const std::string& casterId)
{
casterId_ = casterId;
setParameter("CasterId", casterId);
std::string AddCasterProgramRequest::getCasterId() const {
return casterId_;
}
long AddCasterProgramRequest::getOwnerId()const
{
return ownerId_;
void AddCasterProgramRequest::setCasterId(const std::string &casterId) {
casterId_ = casterId;
setParameter(std::string("CasterId"), casterId);
}
void AddCasterProgramRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long AddCasterProgramRequest::getOwnerId() const {
return ownerId_;
}
void AddCasterProgramRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}

View File

@@ -1,194 +1,162 @@
/*
* 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/AddCasterVideoResourceRequest.h>
using AlibabaCloud::Live::Model::AddCasterVideoResourceRequest;
AddCasterVideoResourceRequest::AddCasterVideoResourceRequest() :
RpcServiceRequest("live", "2016-11-01", "AddCasterVideoResource")
{
setMethod(HttpRequest::Method::Post);
}
AddCasterVideoResourceRequest::~AddCasterVideoResourceRequest()
{}
int AddCasterVideoResourceRequest::getInputType()const
{
return inputType_;
*/
#include <alibabacloud/live/model/AddCasterVideoResourceRequest.h>
using AlibabaCloud::Live::Model::AddCasterVideoResourceRequest;
AddCasterVideoResourceRequest::AddCasterVideoResourceRequest()
: RpcServiceRequest("live", "2016-11-01", "AddCasterVideoResource") {
setMethod(HttpRequest::Method::Post);
}
void AddCasterVideoResourceRequest::setInputType(int inputType)
{
inputType_ = inputType;
setParameter("InputType", std::to_string(inputType));
AddCasterVideoResourceRequest::~AddCasterVideoResourceRequest() {}
int AddCasterVideoResourceRequest::getInputType() const {
return inputType_;
}
int AddCasterVideoResourceRequest::getEndOffset()const
{
return endOffset_;
void AddCasterVideoResourceRequest::setInputType(int inputType) {
inputType_ = inputType;
setParameter(std::string("InputType"), std::to_string(inputType));
}
void AddCasterVideoResourceRequest::setEndOffset(int endOffset)
{
endOffset_ = endOffset;
setParameter("EndOffset", std::to_string(endOffset));
int AddCasterVideoResourceRequest::getEndOffset() const {
return endOffset_;
}
std::string AddCasterVideoResourceRequest::getMaterialId()const
{
return materialId_;
void AddCasterVideoResourceRequest::setEndOffset(int endOffset) {
endOffset_ = endOffset;
setParameter(std::string("EndOffset"), std::to_string(endOffset));
}
void AddCasterVideoResourceRequest::setMaterialId(const std::string& materialId)
{
materialId_ = materialId;
setParameter("MaterialId", materialId);
std::string AddCasterVideoResourceRequest::getMaterialId() const {
return materialId_;
}
std::string AddCasterVideoResourceRequest::getVodUrl()const
{
return vodUrl_;
void AddCasterVideoResourceRequest::setMaterialId(const std::string &materialId) {
materialId_ = materialId;
setParameter(std::string("MaterialId"), materialId);
}
void AddCasterVideoResourceRequest::setVodUrl(const std::string& vodUrl)
{
vodUrl_ = vodUrl;
setParameter("VodUrl", vodUrl);
std::string AddCasterVideoResourceRequest::getVodUrl() const {
return vodUrl_;
}
std::string AddCasterVideoResourceRequest::getStreamId()const
{
return streamId_;
void AddCasterVideoResourceRequest::setVodUrl(const std::string &vodUrl) {
vodUrl_ = vodUrl;
setParameter(std::string("VodUrl"), vodUrl);
}
void AddCasterVideoResourceRequest::setStreamId(const std::string& streamId)
{
streamId_ = streamId;
setParameter("StreamId", streamId);
std::string AddCasterVideoResourceRequest::getStreamId() const {
return streamId_;
}
std::string AddCasterVideoResourceRequest::getCasterId()const
{
return casterId_;
void AddCasterVideoResourceRequest::setStreamId(const std::string &streamId) {
streamId_ = streamId;
setParameter(std::string("StreamId"), streamId);
}
void AddCasterVideoResourceRequest::setCasterId(const std::string& casterId)
{
casterId_ = casterId;
setParameter("CasterId", casterId);
std::string AddCasterVideoResourceRequest::getCasterId() const {
return casterId_;
}
long AddCasterVideoResourceRequest::getOwnerId()const
{
return ownerId_;
void AddCasterVideoResourceRequest::setCasterId(const std::string &casterId) {
casterId_ = casterId;
setParameter(std::string("CasterId"), casterId);
}
void AddCasterVideoResourceRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long AddCasterVideoResourceRequest::getOwnerId() const {
return ownerId_;
}
int AddCasterVideoResourceRequest::getStreamMonitor()const
{
return streamMonitor_;
void AddCasterVideoResourceRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void AddCasterVideoResourceRequest::setStreamMonitor(int streamMonitor)
{
streamMonitor_ = streamMonitor;
setParameter("StreamMonitor", std::to_string(streamMonitor));
int AddCasterVideoResourceRequest::getStreamMonitor() const {
return streamMonitor_;
}
int AddCasterVideoResourceRequest::getBeginOffset()const
{
return beginOffset_;
void AddCasterVideoResourceRequest::setStreamMonitor(int streamMonitor) {
streamMonitor_ = streamMonitor;
setParameter(std::string("StreamMonitor"), std::to_string(streamMonitor));
}
void AddCasterVideoResourceRequest::setBeginOffset(int beginOffset)
{
beginOffset_ = beginOffset;
setParameter("BeginOffset", std::to_string(beginOffset));
int AddCasterVideoResourceRequest::getBeginOffset() const {
return beginOffset_;
}
int AddCasterVideoResourceRequest::getFixedDelayDuration()const
{
return fixedDelayDuration_;
void AddCasterVideoResourceRequest::setBeginOffset(int beginOffset) {
beginOffset_ = beginOffset;
setParameter(std::string("BeginOffset"), std::to_string(beginOffset));
}
void AddCasterVideoResourceRequest::setFixedDelayDuration(int fixedDelayDuration)
{
fixedDelayDuration_ = fixedDelayDuration;
setParameter("FixedDelayDuration", std::to_string(fixedDelayDuration));
int AddCasterVideoResourceRequest::getFixedDelayDuration() const {
return fixedDelayDuration_;
}
std::string AddCasterVideoResourceRequest::getLiveStreamUrl()const
{
return liveStreamUrl_;
void AddCasterVideoResourceRequest::setFixedDelayDuration(int fixedDelayDuration) {
fixedDelayDuration_ = fixedDelayDuration;
setParameter(std::string("FixedDelayDuration"), std::to_string(fixedDelayDuration));
}
void AddCasterVideoResourceRequest::setLiveStreamUrl(const std::string& liveStreamUrl)
{
liveStreamUrl_ = liveStreamUrl;
setParameter("LiveStreamUrl", liveStreamUrl);
std::string AddCasterVideoResourceRequest::getLiveStreamUrl() const {
return liveStreamUrl_;
}
std::string AddCasterVideoResourceRequest::getLocationId()const
{
return locationId_;
void AddCasterVideoResourceRequest::setLiveStreamUrl(const std::string &liveStreamUrl) {
liveStreamUrl_ = liveStreamUrl;
setParameter(std::string("LiveStreamUrl"), liveStreamUrl);
}
void AddCasterVideoResourceRequest::setLocationId(const std::string& locationId)
{
locationId_ = locationId;
setParameter("LocationId", locationId);
std::string AddCasterVideoResourceRequest::getLocationId() const {
return locationId_;
}
int AddCasterVideoResourceRequest::getPtsCallbackInterval()const
{
return ptsCallbackInterval_;
void AddCasterVideoResourceRequest::setLocationId(const std::string &locationId) {
locationId_ = locationId;
setParameter(std::string("LocationId"), locationId);
}
void AddCasterVideoResourceRequest::setPtsCallbackInterval(int ptsCallbackInterval)
{
ptsCallbackInterval_ = ptsCallbackInterval;
setParameter("PtsCallbackInterval", std::to_string(ptsCallbackInterval));
int AddCasterVideoResourceRequest::getPtsCallbackInterval() const {
return ptsCallbackInterval_;
}
std::string AddCasterVideoResourceRequest::getResourceName()const
{
return resourceName_;
void AddCasterVideoResourceRequest::setPtsCallbackInterval(int ptsCallbackInterval) {
ptsCallbackInterval_ = ptsCallbackInterval;
setParameter(std::string("PtsCallbackInterval"), std::to_string(ptsCallbackInterval));
}
void AddCasterVideoResourceRequest::setResourceName(const std::string& resourceName)
{
resourceName_ = resourceName;
setParameter("ResourceName", resourceName);
std::string AddCasterVideoResourceRequest::getResourceName() const {
return resourceName_;
}
int AddCasterVideoResourceRequest::getRepeatNum()const
{
return repeatNum_;
void AddCasterVideoResourceRequest::setResourceName(const std::string &resourceName) {
resourceName_ = resourceName;
setParameter(std::string("ResourceName"), resourceName);
}
void AddCasterVideoResourceRequest::setRepeatNum(int repeatNum)
{
repeatNum_ = repeatNum;
setParameter("RepeatNum", std::to_string(repeatNum));
int AddCasterVideoResourceRequest::getRepeatNum() const {
return repeatNum_;
}
void AddCasterVideoResourceRequest::setRepeatNum(int repeatNum) {
repeatNum_ = repeatNum;
setParameter(std::string("RepeatNum"), std::to_string(repeatNum));
}

View File

@@ -1,260 +1,216 @@
/*
* 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/AddCustomLiveStreamTranscodeRequest.h>
using AlibabaCloud::Live::Model::AddCustomLiveStreamTranscodeRequest;
AddCustomLiveStreamTranscodeRequest::AddCustomLiveStreamTranscodeRequest() :
RpcServiceRequest("live", "2016-11-01", "AddCustomLiveStreamTranscode")
{
setMethod(HttpRequest::Method::Post);
}
AddCustomLiveStreamTranscodeRequest::~AddCustomLiveStreamTranscodeRequest()
{}
std::string AddCustomLiveStreamTranscodeRequest::get_Template()const
{
return _template_;
*/
#include <alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h>
using AlibabaCloud::Live::Model::AddCustomLiveStreamTranscodeRequest;
AddCustomLiveStreamTranscodeRequest::AddCustomLiveStreamTranscodeRequest()
: RpcServiceRequest("live", "2016-11-01", "AddCustomLiveStreamTranscode") {
setMethod(HttpRequest::Method::Post);
}
void AddCustomLiveStreamTranscodeRequest::set_Template(const std::string& _template)
{
_template_ = _template;
setParameter("_Template", _template);
AddCustomLiveStreamTranscodeRequest::~AddCustomLiveStreamTranscodeRequest() {}
std::string AddCustomLiveStreamTranscodeRequest::get_Template() const {
return _template_;
}
std::string AddCustomLiveStreamTranscodeRequest::getLazy()const
{
return lazy_;
void AddCustomLiveStreamTranscodeRequest::set_Template(const std::string &_template) {
_template_ = _template;
setParameter(std::string("Template"), _template);
}
void AddCustomLiveStreamTranscodeRequest::setLazy(const std::string& lazy)
{
lazy_ = lazy;
setParameter("Lazy", lazy);
std::string AddCustomLiveStreamTranscodeRequest::getLazy() const {
return lazy_;
}
std::string AddCustomLiveStreamTranscodeRequest::getGop()const
{
return gop_;
void AddCustomLiveStreamTranscodeRequest::setLazy(const std::string &lazy) {
lazy_ = lazy;
setParameter(std::string("Lazy"), lazy);
}
void AddCustomLiveStreamTranscodeRequest::setGop(const std::string& gop)
{
gop_ = gop;
setParameter("Gop", gop);
std::string AddCustomLiveStreamTranscodeRequest::getGop() const {
return gop_;
}
std::string AddCustomLiveStreamTranscodeRequest::getKmsKeyExpireInterval()const
{
return kmsKeyExpireInterval_;
void AddCustomLiveStreamTranscodeRequest::setGop(const std::string &gop) {
gop_ = gop;
setParameter(std::string("Gop"), gop);
}
void AddCustomLiveStreamTranscodeRequest::setKmsKeyExpireInterval(const std::string& kmsKeyExpireInterval)
{
kmsKeyExpireInterval_ = kmsKeyExpireInterval;
setParameter("KmsKeyExpireInterval", kmsKeyExpireInterval);
std::string AddCustomLiveStreamTranscodeRequest::getKmsKeyExpireInterval() const {
return kmsKeyExpireInterval_;
}
std::string AddCustomLiveStreamTranscodeRequest::getAudioCodec()const
{
return audioCodec_;
void AddCustomLiveStreamTranscodeRequest::setKmsKeyExpireInterval(const std::string &kmsKeyExpireInterval) {
kmsKeyExpireInterval_ = kmsKeyExpireInterval;
setParameter(std::string("KmsKeyExpireInterval"), kmsKeyExpireInterval);
}
void AddCustomLiveStreamTranscodeRequest::setAudioCodec(const std::string& audioCodec)
{
audioCodec_ = audioCodec;
setParameter("AudioCodec", audioCodec);
std::string AddCustomLiveStreamTranscodeRequest::getAudioCodec() const {
return audioCodec_;
}
std::string AddCustomLiveStreamTranscodeRequest::getKmsUID()const
{
return kmsUID_;
void AddCustomLiveStreamTranscodeRequest::setAudioCodec(const std::string &audioCodec) {
audioCodec_ = audioCodec;
setParameter(std::string("AudioCodec"), audioCodec);
}
void AddCustomLiveStreamTranscodeRequest::setKmsUID(const std::string& kmsUID)
{
kmsUID_ = kmsUID;
setParameter("KmsUID", kmsUID);
std::string AddCustomLiveStreamTranscodeRequest::getKmsUID() const {
return kmsUID_;
}
std::string AddCustomLiveStreamTranscodeRequest::getTemplateType()const
{
return templateType_;
void AddCustomLiveStreamTranscodeRequest::setKmsUID(const std::string &kmsUID) {
kmsUID_ = kmsUID;
setParameter(std::string("KmsUID"), kmsUID);
}
void AddCustomLiveStreamTranscodeRequest::setTemplateType(const std::string& templateType)
{
templateType_ = templateType;
setParameter("TemplateType", templateType);
std::string AddCustomLiveStreamTranscodeRequest::getTemplateType() const {
return templateType_;
}
std::string AddCustomLiveStreamTranscodeRequest::getAudioProfile()const
{
return audioProfile_;
void AddCustomLiveStreamTranscodeRequest::setTemplateType(const std::string &templateType) {
templateType_ = templateType;
setParameter(std::string("TemplateType"), templateType);
}
void AddCustomLiveStreamTranscodeRequest::setAudioProfile(const std::string& audioProfile)
{
audioProfile_ = audioProfile;
setParameter("AudioProfile", audioProfile);
std::string AddCustomLiveStreamTranscodeRequest::getAudioProfile() const {
return audioProfile_;
}
int AddCustomLiveStreamTranscodeRequest::getHeight()const
{
return height_;
void AddCustomLiveStreamTranscodeRequest::setAudioProfile(const std::string &audioProfile) {
audioProfile_ = audioProfile;
setParameter(std::string("AudioProfile"), audioProfile);
}
void AddCustomLiveStreamTranscodeRequest::setHeight(int height)
{
height_ = height;
setParameter("Height", std::to_string(height));
int AddCustomLiveStreamTranscodeRequest::getHeight() const {
return height_;
}
std::string AddCustomLiveStreamTranscodeRequest::getApp()const
{
return app_;
void AddCustomLiveStreamTranscodeRequest::setHeight(int height) {
height_ = height;
setParameter(std::string("Height"), std::to_string(height));
}
void AddCustomLiveStreamTranscodeRequest::setApp(const std::string& app)
{
app_ = app;
setParameter("App", app);
std::string AddCustomLiveStreamTranscodeRequest::getApp() const {
return app_;
}
std::string AddCustomLiveStreamTranscodeRequest::getEncryptParameters()const
{
return encryptParameters_;
void AddCustomLiveStreamTranscodeRequest::setApp(const std::string &app) {
app_ = app;
setParameter(std::string("App"), app);
}
void AddCustomLiveStreamTranscodeRequest::setEncryptParameters(const std::string& encryptParameters)
{
encryptParameters_ = encryptParameters;
setParameter("EncryptParameters", encryptParameters);
std::string AddCustomLiveStreamTranscodeRequest::getEncryptParameters() const {
return encryptParameters_;
}
int AddCustomLiveStreamTranscodeRequest::getAudioChannelNum()const
{
return audioChannelNum_;
void AddCustomLiveStreamTranscodeRequest::setEncryptParameters(const std::string &encryptParameters) {
encryptParameters_ = encryptParameters;
setParameter(std::string("EncryptParameters"), encryptParameters);
}
void AddCustomLiveStreamTranscodeRequest::setAudioChannelNum(int audioChannelNum)
{
audioChannelNum_ = audioChannelNum;
setParameter("AudioChannelNum", std::to_string(audioChannelNum));
int AddCustomLiveStreamTranscodeRequest::getAudioChannelNum() const {
return audioChannelNum_;
}
int AddCustomLiveStreamTranscodeRequest::getProfile()const
{
return profile_;
void AddCustomLiveStreamTranscodeRequest::setAudioChannelNum(int audioChannelNum) {
audioChannelNum_ = audioChannelNum;
setParameter(std::string("AudioChannelNum"), std::to_string(audioChannelNum));
}
void AddCustomLiveStreamTranscodeRequest::setProfile(int profile)
{
profile_ = profile;
setParameter("Profile", std::to_string(profile));
int AddCustomLiveStreamTranscodeRequest::getProfile() const {
return profile_;
}
int AddCustomLiveStreamTranscodeRequest::getFPS()const
{
return fPS_;
void AddCustomLiveStreamTranscodeRequest::setProfile(int profile) {
profile_ = profile;
setParameter(std::string("Profile"), std::to_string(profile));
}
void AddCustomLiveStreamTranscodeRequest::setFPS(int fPS)
{
fPS_ = fPS;
setParameter("FPS", std::to_string(fPS));
int AddCustomLiveStreamTranscodeRequest::getFPS() const {
return fPS_;
}
long AddCustomLiveStreamTranscodeRequest::getOwnerId()const
{
return ownerId_;
void AddCustomLiveStreamTranscodeRequest::setFPS(int fPS) {
fPS_ = fPS;
setParameter(std::string("FPS"), std::to_string(fPS));
}
void AddCustomLiveStreamTranscodeRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long AddCustomLiveStreamTranscodeRequest::getOwnerId() const {
return ownerId_;
}
int AddCustomLiveStreamTranscodeRequest::getAudioRate()const
{
return audioRate_;
void AddCustomLiveStreamTranscodeRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void AddCustomLiveStreamTranscodeRequest::setAudioRate(int audioRate)
{
audioRate_ = audioRate;
setParameter("AudioRate", std::to_string(audioRate));
int AddCustomLiveStreamTranscodeRequest::getAudioRate() const {
return audioRate_;
}
int AddCustomLiveStreamTranscodeRequest::getAudioBitrate()const
{
return audioBitrate_;
void AddCustomLiveStreamTranscodeRequest::setAudioRate(int audioRate) {
audioRate_ = audioRate;
setParameter(std::string("AudioRate"), std::to_string(audioRate));
}
void AddCustomLiveStreamTranscodeRequest::setAudioBitrate(int audioBitrate)
{
audioBitrate_ = audioBitrate;
setParameter("AudioBitrate", std::to_string(audioBitrate));
int AddCustomLiveStreamTranscodeRequest::getAudioBitrate() const {
return audioBitrate_;
}
std::string AddCustomLiveStreamTranscodeRequest::getDomain()const
{
return domain_;
void AddCustomLiveStreamTranscodeRequest::setAudioBitrate(int audioBitrate) {
audioBitrate_ = audioBitrate;
setParameter(std::string("AudioBitrate"), std::to_string(audioBitrate));
}
void AddCustomLiveStreamTranscodeRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string AddCustomLiveStreamTranscodeRequest::getDomain() const {
return domain_;
}
int AddCustomLiveStreamTranscodeRequest::getWidth()const
{
return width_;
void AddCustomLiveStreamTranscodeRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
void AddCustomLiveStreamTranscodeRequest::setWidth(int width)
{
width_ = width;
setParameter("Width", std::to_string(width));
int AddCustomLiveStreamTranscodeRequest::getWidth() const {
return width_;
}
int AddCustomLiveStreamTranscodeRequest::getVideoBitrate()const
{
return videoBitrate_;
void AddCustomLiveStreamTranscodeRequest::setWidth(int width) {
width_ = width;
setParameter(std::string("Width"), std::to_string(width));
}
void AddCustomLiveStreamTranscodeRequest::setVideoBitrate(int videoBitrate)
{
videoBitrate_ = videoBitrate;
setParameter("VideoBitrate", std::to_string(videoBitrate));
int AddCustomLiveStreamTranscodeRequest::getVideoBitrate() const {
return videoBitrate_;
}
std::string AddCustomLiveStreamTranscodeRequest::getKmsKeyID()const
{
return kmsKeyID_;
void AddCustomLiveStreamTranscodeRequest::setVideoBitrate(int videoBitrate) {
videoBitrate_ = videoBitrate;
setParameter(std::string("VideoBitrate"), std::to_string(videoBitrate));
}
void AddCustomLiveStreamTranscodeRequest::setKmsKeyID(const std::string& kmsKeyID)
{
kmsKeyID_ = kmsKeyID;
setParameter("KmsKeyID", kmsKeyID);
std::string AddCustomLiveStreamTranscodeRequest::getKmsKeyID() const {
return kmsKeyID_;
}
void AddCustomLiveStreamTranscodeRequest::setKmsKeyID(const std::string &kmsKeyID) {
kmsKeyID_ = kmsKeyID;
setParameter(std::string("KmsKeyID"), kmsKeyID);
}

View File

@@ -1,106 +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/AddDRMCertificateRequest.h>
using AlibabaCloud::Live::Model::AddDRMCertificateRequest;
AddDRMCertificateRequest::AddDRMCertificateRequest() :
RpcServiceRequest("live", "2016-11-01", "AddDRMCertificate")
{
setMethod(HttpRequest::Method::Post);
}
AddDRMCertificateRequest::~AddDRMCertificateRequest()
{}
std::string AddDRMCertificateRequest::getServCert()const
{
return servCert_;
}
void AddDRMCertificateRequest::setServCert(const std::string& servCert)
{
servCert_ = servCert;
setParameter("ServCert", servCert);
}
std::string AddDRMCertificateRequest::getDescription()const
{
return description_;
}
void AddDRMCertificateRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
}
std::string AddDRMCertificateRequest::getPrivateKey()const
{
return privateKey_;
}
void AddDRMCertificateRequest::setPrivateKey(const std::string& privateKey)
{
privateKey_ = privateKey;
setParameter("PrivateKey", privateKey);
}
std::string AddDRMCertificateRequest::getCertName()const
{
return certName_;
}
void AddDRMCertificateRequest::setCertName(const std::string& certName)
{
certName_ = certName;
setParameter("CertName", certName);
}
long AddDRMCertificateRequest::getOwnerId()const
{
return ownerId_;
}
void AddDRMCertificateRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string AddDRMCertificateRequest::getAsk()const
{
return ask_;
}
void AddDRMCertificateRequest::setAsk(const std::string& ask)
{
ask_ = ask;
setParameter("Ask", ask);
}
std::string AddDRMCertificateRequest::getPassphrase()const
{
return passphrase_;
}
void AddDRMCertificateRequest::setPassphrase(const std::string& passphrase)
{
passphrase_ = passphrase;
setParameter("Passphrase", passphrase);
}

View File

@@ -1,51 +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/AddDRMCertificateResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
AddDRMCertificateResult::AddDRMCertificateResult() :
ServiceResult()
{}
AddDRMCertificateResult::AddDRMCertificateResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddDRMCertificateResult::~AddDRMCertificateResult()
{}
void AddDRMCertificateResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["CertId"].isNull())
certId_ = value["CertId"].asString();
}
std::string AddDRMCertificateResult::getCertId()const
{
return certId_;
}

View File

@@ -1,117 +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/AddLiveASRConfigRequest.h>
using AlibabaCloud::Live::Model::AddLiveASRConfigRequest;
AddLiveASRConfigRequest::AddLiveASRConfigRequest() :
RpcServiceRequest("live", "2016-11-01", "AddLiveASRConfig")
{
setMethod(HttpRequest::Method::Post);
}
AddLiveASRConfigRequest::~AddLiveASRConfigRequest()
{}
std::string AddLiveASRConfigRequest::getAppName()const
{
return appName_;
}
void AddLiveASRConfigRequest::setAppName(const std::string& appName)
{
appName_ = appName;
setParameter("AppName", appName);
}
std::string AddLiveASRConfigRequest::getMnsTopic()const
{
return mnsTopic_;
}
void AddLiveASRConfigRequest::setMnsTopic(const std::string& mnsTopic)
{
mnsTopic_ = mnsTopic;
setParameter("MnsTopic", mnsTopic);
}
std::string AddLiveASRConfigRequest::getStreamName()const
{
return streamName_;
}
void AddLiveASRConfigRequest::setStreamName(const std::string& streamName)
{
streamName_ = streamName;
setParameter("StreamName", streamName);
}
int AddLiveASRConfigRequest::getPeriod()const
{
return period_;
}
void AddLiveASRConfigRequest::setPeriod(int period)
{
period_ = period;
setParameter("Period", std::to_string(period));
}
std::string AddLiveASRConfigRequest::getDomainName()const
{
return domainName_;
}
void AddLiveASRConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
std::string AddLiveASRConfigRequest::getHttpCallbackURL()const
{
return httpCallbackURL_;
}
void AddLiveASRConfigRequest::setHttpCallbackURL(const std::string& httpCallbackURL)
{
httpCallbackURL_ = httpCallbackURL;
setParameter("HttpCallbackURL", httpCallbackURL);
}
long AddLiveASRConfigRequest::getOwnerId()const
{
return ownerId_;
}
void AddLiveASRConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string AddLiveASRConfigRequest::getMnsRegion()const
{
return mnsRegion_;
}
void AddLiveASRConfigRequest::setMnsRegion(const std::string& mnsRegion)
{
mnsRegion_ = mnsRegion;
setParameter("MnsRegion", mnsRegion);
}

View File

@@ -1,44 +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/AddLiveASRConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
AddLiveASRConfigResult::AddLiveASRConfigResult() :
ServiceResult()
{}
AddLiveASRConfigResult::AddLiveASRConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddLiveASRConfigResult::~AddLiveASRConfigResult()
{}
void AddLiveASRConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,190 +1,159 @@
/*
* 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/AddLiveAppRecordConfigRequest.h>
using AlibabaCloud::Live::Model::AddLiveAppRecordConfigRequest;
AddLiveAppRecordConfigRequest::AddLiveAppRecordConfigRequest() :
RpcServiceRequest("live", "2016-11-01", "AddLiveAppRecordConfig")
{
setMethod(HttpRequest::Method::Post);
}
AddLiveAppRecordConfigRequest::~AddLiveAppRecordConfigRequest()
{}
std::string AddLiveAppRecordConfigRequest::getOssEndpoint()const
{
return ossEndpoint_;
*/
#include <alibabacloud/live/model/AddLiveAppRecordConfigRequest.h>
using AlibabaCloud::Live::Model::AddLiveAppRecordConfigRequest;
AddLiveAppRecordConfigRequest::AddLiveAppRecordConfigRequest()
: RpcServiceRequest("live", "2016-11-01", "AddLiveAppRecordConfig") {
setMethod(HttpRequest::Method::Post);
}
void AddLiveAppRecordConfigRequest::setOssEndpoint(const std::string& ossEndpoint)
{
ossEndpoint_ = ossEndpoint;
setParameter("OssEndpoint", ossEndpoint);
AddLiveAppRecordConfigRequest::~AddLiveAppRecordConfigRequest() {}
std::string AddLiveAppRecordConfigRequest::getOssEndpoint() const {
return ossEndpoint_;
}
std::vector<std::string> AddLiveAppRecordConfigRequest::getTranscodeTemplates()const
{
return transcodeTemplates_;
void AddLiveAppRecordConfigRequest::setOssEndpoint(const std::string &ossEndpoint) {
ossEndpoint_ = ossEndpoint;
setParameter(std::string("OssEndpoint"), ossEndpoint);
}
void AddLiveAppRecordConfigRequest::setTranscodeTemplates(const std::vector<std::string>& transcodeTemplates)
{
transcodeTemplates_ = transcodeTemplates;
for(int dep1 = 0; dep1!= transcodeTemplates.size(); dep1++) {
setParameter("TranscodeTemplates."+ std::to_string(dep1), transcodeTemplates.at(dep1));
}
std::vector<std::string> AddLiveAppRecordConfigRequest::getTranscodeTemplates() const {
return transcodeTemplates_;
}
std::string AddLiveAppRecordConfigRequest::getStartTime()const
{
return startTime_;
void AddLiveAppRecordConfigRequest::setTranscodeTemplates(const std::vector<std::string> &transcodeTemplates) {
transcodeTemplates_ = transcodeTemplates;
}
void AddLiveAppRecordConfigRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
std::string AddLiveAppRecordConfigRequest::getStartTime() const {
return startTime_;
}
std::string AddLiveAppRecordConfigRequest::getAppName()const
{
return appName_;
void AddLiveAppRecordConfigRequest::setStartTime(const std::string &startTime) {
startTime_ = startTime;
setParameter(std::string("StartTime"), startTime);
}
void AddLiveAppRecordConfigRequest::setAppName(const std::string& appName)
{
appName_ = appName;
setParameter("AppName", appName);
std::string AddLiveAppRecordConfigRequest::getAppName() const {
return appName_;
}
std::string AddLiveAppRecordConfigRequest::getSecurityToken()const
{
return securityToken_;
void AddLiveAppRecordConfigRequest::setAppName(const std::string &appName) {
appName_ = appName;
setParameter(std::string("AppName"), appName);
}
void AddLiveAppRecordConfigRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
std::string AddLiveAppRecordConfigRequest::getSecurityToken() const {
return securityToken_;
}
std::vector<AddLiveAppRecordConfigRequest::TranscodeRecordFormat> AddLiveAppRecordConfigRequest::getTranscodeRecordFormat()const
{
return transcodeRecordFormat_;
void AddLiveAppRecordConfigRequest::setSecurityToken(const std::string &securityToken) {
securityToken_ = securityToken;
setParameter(std::string("SecurityToken"), securityToken);
}
void AddLiveAppRecordConfigRequest::setTranscodeRecordFormat(const std::vector<TranscodeRecordFormat>& transcodeRecordFormat)
{
transcodeRecordFormat_ = transcodeRecordFormat;
for(int dep1 = 0; dep1!= transcodeRecordFormat.size(); dep1++) {
auto transcodeRecordFormatObj = transcodeRecordFormat.at(dep1);
std::string transcodeRecordFormatObjStr = "TranscodeRecordFormat." + std::to_string(dep1 + 1);
setParameter(transcodeRecordFormatObjStr + ".SliceOssObjectPrefix", transcodeRecordFormatObj.sliceOssObjectPrefix);
setParameter(transcodeRecordFormatObjStr + ".SliceDuration", std::to_string(transcodeRecordFormatObj.sliceDuration));
setParameter(transcodeRecordFormatObjStr + ".Format", transcodeRecordFormatObj.format);
setParameter(transcodeRecordFormatObjStr + ".OssObjectPrefix", transcodeRecordFormatObj.ossObjectPrefix);
setParameter(transcodeRecordFormatObjStr + ".CycleDuration", std::to_string(transcodeRecordFormatObj.cycleDuration));
}
std::vector<AddLiveAppRecordConfigRequest::TranscodeRecordFormat> AddLiveAppRecordConfigRequest::getTranscodeRecordFormat() const {
return transcodeRecordFormat_;
}
int AddLiveAppRecordConfigRequest::getOnDemand()const
{
return onDemand_;
void AddLiveAppRecordConfigRequest::setTranscodeRecordFormat(const std::vector<AddLiveAppRecordConfigRequest::TranscodeRecordFormat> &transcodeRecordFormat) {
transcodeRecordFormat_ = transcodeRecordFormat;
for(int dep1 = 0; dep1 != transcodeRecordFormat.size(); dep1++) {
auto transcodeRecordFormatObj = transcodeRecordFormat.at(dep1);
std::string transcodeRecordFormatObjStr = std::string("TranscodeRecordFormat") + "." + std::to_string(dep1 + 1);
setParameter(transcodeRecordFormatObjStr + ".SliceOssObjectPrefix", transcodeRecordFormatObj.sliceOssObjectPrefix);
setParameter(transcodeRecordFormatObjStr + ".SliceDuration", std::to_string(transcodeRecordFormatObj.sliceDuration));
setParameter(transcodeRecordFormatObjStr + ".OssObjectPrefix", transcodeRecordFormatObj.ossObjectPrefix);
setParameter(transcodeRecordFormatObjStr + ".Format", transcodeRecordFormatObj.format);
setParameter(transcodeRecordFormatObjStr + ".CycleDuration", std::to_string(transcodeRecordFormatObj.cycleDuration));
}
}
void AddLiveAppRecordConfigRequest::setOnDemand(int onDemand)
{
onDemand_ = onDemand;
setParameter("OnDemand", std::to_string(onDemand));
int AddLiveAppRecordConfigRequest::getOnDemand() const {
return onDemand_;
}
std::string AddLiveAppRecordConfigRequest::getStreamName()const
{
return streamName_;
void AddLiveAppRecordConfigRequest::setOnDemand(int onDemand) {
onDemand_ = onDemand;
setParameter(std::string("OnDemand"), std::to_string(onDemand));
}
void AddLiveAppRecordConfigRequest::setStreamName(const std::string& streamName)
{
streamName_ = streamName;
setParameter("StreamName", streamName);
std::string AddLiveAppRecordConfigRequest::getStreamName() const {
return streamName_;
}
std::string AddLiveAppRecordConfigRequest::getOssBucket()const
{
return ossBucket_;
void AddLiveAppRecordConfigRequest::setStreamName(const std::string &streamName) {
streamName_ = streamName;
setParameter(std::string("StreamName"), streamName);
}
void AddLiveAppRecordConfigRequest::setOssBucket(const std::string& ossBucket)
{
ossBucket_ = ossBucket;
setParameter("OssBucket", ossBucket);
std::string AddLiveAppRecordConfigRequest::getOssBucket() const {
return ossBucket_;
}
std::string AddLiveAppRecordConfigRequest::getDomainName()const
{
return domainName_;
void AddLiveAppRecordConfigRequest::setOssBucket(const std::string &ossBucket) {
ossBucket_ = ossBucket;
setParameter(std::string("OssBucket"), ossBucket);
}
void AddLiveAppRecordConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
std::string AddLiveAppRecordConfigRequest::getDomainName() const {
return domainName_;
}
std::string AddLiveAppRecordConfigRequest::getEndTime()const
{
return endTime_;
void AddLiveAppRecordConfigRequest::setDomainName(const std::string &domainName) {
domainName_ = domainName;
setParameter(std::string("DomainName"), domainName);
}
void AddLiveAppRecordConfigRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
std::string AddLiveAppRecordConfigRequest::getEndTime() const {
return endTime_;
}
long AddLiveAppRecordConfigRequest::getOwnerId()const
{
return ownerId_;
void AddLiveAppRecordConfigRequest::setEndTime(const std::string &endTime) {
endTime_ = endTime;
setParameter(std::string("EndTime"), endTime);
}
void AddLiveAppRecordConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long AddLiveAppRecordConfigRequest::getOwnerId() const {
return ownerId_;
}
std::vector<AddLiveAppRecordConfigRequest::RecordFormat> AddLiveAppRecordConfigRequest::getRecordFormat()const
{
return recordFormat_;
void AddLiveAppRecordConfigRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void AddLiveAppRecordConfigRequest::setRecordFormat(const std::vector<RecordFormat>& recordFormat)
{
recordFormat_ = recordFormat;
for(int dep1 = 0; dep1!= recordFormat.size(); dep1++) {
auto recordFormatObj = recordFormat.at(dep1);
std::string recordFormatObjStr = "RecordFormat." + std::to_string(dep1 + 1);
setParameter(recordFormatObjStr + ".SliceOssObjectPrefix", recordFormatObj.sliceOssObjectPrefix);
setParameter(recordFormatObjStr + ".SliceDuration", std::to_string(recordFormatObj.sliceDuration));
setParameter(recordFormatObjStr + ".Format", recordFormatObj.format);
setParameter(recordFormatObjStr + ".OssObjectPrefix", recordFormatObj.ossObjectPrefix);
setParameter(recordFormatObjStr + ".CycleDuration", std::to_string(recordFormatObj.cycleDuration));
}
std::vector<AddLiveAppRecordConfigRequest::RecordFormat> AddLiveAppRecordConfigRequest::getRecordFormat() const {
return recordFormat_;
}
void AddLiveAppRecordConfigRequest::setRecordFormat(const std::vector<AddLiveAppRecordConfigRequest::RecordFormat> &recordFormat) {
recordFormat_ = recordFormat;
for(int dep1 = 0; dep1 != recordFormat.size(); dep1++) {
auto recordFormatObj = recordFormat.at(dep1);
std::string recordFormatObjStr = std::string("RecordFormat") + "." + std::to_string(dep1 + 1);
setParameter(recordFormatObjStr + ".SliceOssObjectPrefix", recordFormatObj.sliceOssObjectPrefix);
setParameter(recordFormatObjStr + ".SliceDuration", std::to_string(recordFormatObj.sliceDuration));
setParameter(recordFormatObjStr + ".OssObjectPrefix", recordFormatObj.ossObjectPrefix);
setParameter(recordFormatObjStr + ".Format", recordFormatObj.format);
setParameter(recordFormatObjStr + ".CycleDuration", std::to_string(recordFormatObj.cycleDuration));
}
}

View File

@@ -1,139 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/AddLiveAppSnapshotConfigRequest.h>
using AlibabaCloud::Live::Model::AddLiveAppSnapshotConfigRequest;
AddLiveAppSnapshotConfigRequest::AddLiveAppSnapshotConfigRequest() :
RpcServiceRequest("live", "2016-11-01", "AddLiveAppSnapshotConfig")
{
setMethod(HttpRequest::Method::Post);
}
AddLiveAppSnapshotConfigRequest::~AddLiveAppSnapshotConfigRequest()
{}
int AddLiveAppSnapshotConfigRequest::getTimeInterval()const
{
return timeInterval_;
*/
#include <alibabacloud/live/model/AddLiveAppSnapshotConfigRequest.h>
using AlibabaCloud::Live::Model::AddLiveAppSnapshotConfigRequest;
AddLiveAppSnapshotConfigRequest::AddLiveAppSnapshotConfigRequest()
: RpcServiceRequest("live", "2016-11-01", "AddLiveAppSnapshotConfig") {
setMethod(HttpRequest::Method::Post);
}
void AddLiveAppSnapshotConfigRequest::setTimeInterval(int timeInterval)
{
timeInterval_ = timeInterval;
setParameter("TimeInterval", std::to_string(timeInterval));
AddLiveAppSnapshotConfigRequest::~AddLiveAppSnapshotConfigRequest() {}
int AddLiveAppSnapshotConfigRequest::getTimeInterval() const {
return timeInterval_;
}
std::string AddLiveAppSnapshotConfigRequest::getOssEndpoint()const
{
return ossEndpoint_;
void AddLiveAppSnapshotConfigRequest::setTimeInterval(int timeInterval) {
timeInterval_ = timeInterval;
setParameter(std::string("TimeInterval"), std::to_string(timeInterval));
}
void AddLiveAppSnapshotConfigRequest::setOssEndpoint(const std::string& ossEndpoint)
{
ossEndpoint_ = ossEndpoint;
setParameter("OssEndpoint", ossEndpoint);
std::string AddLiveAppSnapshotConfigRequest::getOssEndpoint() const {
return ossEndpoint_;
}
std::string AddLiveAppSnapshotConfigRequest::getAppName()const
{
return appName_;
void AddLiveAppSnapshotConfigRequest::setOssEndpoint(const std::string &ossEndpoint) {
ossEndpoint_ = ossEndpoint;
setParameter(std::string("OssEndpoint"), ossEndpoint);
}
void AddLiveAppSnapshotConfigRequest::setAppName(const std::string& appName)
{
appName_ = appName;
setParameter("AppName", appName);
std::string AddLiveAppSnapshotConfigRequest::getAppName() const {
return appName_;
}
std::string AddLiveAppSnapshotConfigRequest::getSecurityToken()const
{
return securityToken_;
void AddLiveAppSnapshotConfigRequest::setAppName(const std::string &appName) {
appName_ = appName;
setParameter(std::string("AppName"), appName);
}
void AddLiveAppSnapshotConfigRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
std::string AddLiveAppSnapshotConfigRequest::getSecurityToken() const {
return securityToken_;
}
std::string AddLiveAppSnapshotConfigRequest::getOverwriteOssObject()const
{
return overwriteOssObject_;
void AddLiveAppSnapshotConfigRequest::setSecurityToken(const std::string &securityToken) {
securityToken_ = securityToken;
setParameter(std::string("SecurityToken"), securityToken);
}
void AddLiveAppSnapshotConfigRequest::setOverwriteOssObject(const std::string& overwriteOssObject)
{
overwriteOssObject_ = overwriteOssObject;
setParameter("OverwriteOssObject", overwriteOssObject);
std::string AddLiveAppSnapshotConfigRequest::getOverwriteOssObject() const {
return overwriteOssObject_;
}
std::string AddLiveAppSnapshotConfigRequest::getOssBucket()const
{
return ossBucket_;
void AddLiveAppSnapshotConfigRequest::setOverwriteOssObject(const std::string &overwriteOssObject) {
overwriteOssObject_ = overwriteOssObject;
setParameter(std::string("OverwriteOssObject"), overwriteOssObject);
}
void AddLiveAppSnapshotConfigRequest::setOssBucket(const std::string& ossBucket)
{
ossBucket_ = ossBucket;
setParameter("OssBucket", ossBucket);
std::string AddLiveAppSnapshotConfigRequest::getOssBucket() const {
return ossBucket_;
}
std::string AddLiveAppSnapshotConfigRequest::getDomainName()const
{
return domainName_;
void AddLiveAppSnapshotConfigRequest::setOssBucket(const std::string &ossBucket) {
ossBucket_ = ossBucket;
setParameter(std::string("OssBucket"), ossBucket);
}
void AddLiveAppSnapshotConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
std::string AddLiveAppSnapshotConfigRequest::getDomainName() const {
return domainName_;
}
std::string AddLiveAppSnapshotConfigRequest::getSequenceOssObject()const
{
return sequenceOssObject_;
void AddLiveAppSnapshotConfigRequest::setDomainName(const std::string &domainName) {
domainName_ = domainName;
setParameter(std::string("DomainName"), domainName);
}
void AddLiveAppSnapshotConfigRequest::setSequenceOssObject(const std::string& sequenceOssObject)
{
sequenceOssObject_ = sequenceOssObject;
setParameter("SequenceOssObject", sequenceOssObject);
std::string AddLiveAppSnapshotConfigRequest::getSequenceOssObject() const {
return sequenceOssObject_;
}
long AddLiveAppSnapshotConfigRequest::getOwnerId()const
{
return ownerId_;
void AddLiveAppSnapshotConfigRequest::setSequenceOssObject(const std::string &sequenceOssObject) {
sequenceOssObject_ = sequenceOssObject;
setParameter(std::string("SequenceOssObject"), sequenceOssObject);
}
void AddLiveAppSnapshotConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long AddLiveAppSnapshotConfigRequest::getOwnerId() const {
return ownerId_;
}
std::string AddLiveAppSnapshotConfigRequest::getCallback()const
{
return callback_;
void AddLiveAppSnapshotConfigRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void AddLiveAppSnapshotConfigRequest::setCallback(const std::string& callback)
{
callback_ = callback;
setParameter("Callback", callback);
std::string AddLiveAppSnapshotConfigRequest::getCallback() const {
return callback_;
}
void AddLiveAppSnapshotConfigRequest::setCallback(const std::string &callback) {
callback_ = callback;
setParameter(std::string("Callback"), callback);
}

View File

@@ -1,117 +1,99 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/AddLiveAudioAuditConfigRequest.h>
using AlibabaCloud::Live::Model::AddLiveAudioAuditConfigRequest;
AddLiveAudioAuditConfigRequest::AddLiveAudioAuditConfigRequest() :
RpcServiceRequest("live", "2016-11-01", "AddLiveAudioAuditConfig")
{
setMethod(HttpRequest::Method::Post);
}
AddLiveAudioAuditConfigRequest::~AddLiveAudioAuditConfigRequest()
{}
std::string AddLiveAudioAuditConfigRequest::getOssEndpoint()const
{
return ossEndpoint_;
*/
#include <alibabacloud/live/model/AddLiveAudioAuditConfigRequest.h>
using AlibabaCloud::Live::Model::AddLiveAudioAuditConfigRequest;
AddLiveAudioAuditConfigRequest::AddLiveAudioAuditConfigRequest()
: RpcServiceRequest("live", "2016-11-01", "AddLiveAudioAuditConfig") {
setMethod(HttpRequest::Method::Post);
}
void AddLiveAudioAuditConfigRequest::setOssEndpoint(const std::string& ossEndpoint)
{
ossEndpoint_ = ossEndpoint;
setParameter("OssEndpoint", ossEndpoint);
AddLiveAudioAuditConfigRequest::~AddLiveAudioAuditConfigRequest() {}
std::string AddLiveAudioAuditConfigRequest::getOssEndpoint() const {
return ossEndpoint_;
}
std::string AddLiveAudioAuditConfigRequest::getOssObject()const
{
return ossObject_;
void AddLiveAudioAuditConfigRequest::setOssEndpoint(const std::string &ossEndpoint) {
ossEndpoint_ = ossEndpoint;
setParameter(std::string("OssEndpoint"), ossEndpoint);
}
void AddLiveAudioAuditConfigRequest::setOssObject(const std::string& ossObject)
{
ossObject_ = ossObject;
setParameter("OssObject", ossObject);
std::string AddLiveAudioAuditConfigRequest::getOssObject() const {
return ossObject_;
}
std::string AddLiveAudioAuditConfigRequest::getAppName()const
{
return appName_;
void AddLiveAudioAuditConfigRequest::setOssObject(const std::string &ossObject) {
ossObject_ = ossObject;
setParameter(std::string("OssObject"), ossObject);
}
void AddLiveAudioAuditConfigRequest::setAppName(const std::string& appName)
{
appName_ = appName;
setParameter("AppName", appName);
std::string AddLiveAudioAuditConfigRequest::getAppName() const {
return appName_;
}
std::string AddLiveAudioAuditConfigRequest::getStreamName()const
{
return streamName_;
void AddLiveAudioAuditConfigRequest::setAppName(const std::string &appName) {
appName_ = appName;
setParameter(std::string("AppName"), appName);
}
void AddLiveAudioAuditConfigRequest::setStreamName(const std::string& streamName)
{
streamName_ = streamName;
setParameter("StreamName", streamName);
std::string AddLiveAudioAuditConfigRequest::getStreamName() const {
return streamName_;
}
std::string AddLiveAudioAuditConfigRequest::getOssBucket()const
{
return ossBucket_;
void AddLiveAudioAuditConfigRequest::setStreamName(const std::string &streamName) {
streamName_ = streamName;
setParameter(std::string("StreamName"), streamName);
}
void AddLiveAudioAuditConfigRequest::setOssBucket(const std::string& ossBucket)
{
ossBucket_ = ossBucket;
setParameter("OssBucket", ossBucket);
std::string AddLiveAudioAuditConfigRequest::getOssBucket() const {
return ossBucket_;
}
std::string AddLiveAudioAuditConfigRequest::getDomainName()const
{
return domainName_;
void AddLiveAudioAuditConfigRequest::setOssBucket(const std::string &ossBucket) {
ossBucket_ = ossBucket;
setParameter(std::string("OssBucket"), ossBucket);
}
void AddLiveAudioAuditConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
std::string AddLiveAudioAuditConfigRequest::getDomainName() const {
return domainName_;
}
long AddLiveAudioAuditConfigRequest::getOwnerId()const
{
return ownerId_;
void AddLiveAudioAuditConfigRequest::setDomainName(const std::string &domainName) {
domainName_ = domainName;
setParameter(std::string("DomainName"), domainName);
}
void AddLiveAudioAuditConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long AddLiveAudioAuditConfigRequest::getOwnerId() const {
return ownerId_;
}
std::string AddLiveAudioAuditConfigRequest::getBizType()const
{
return bizType_;
void AddLiveAudioAuditConfigRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void AddLiveAudioAuditConfigRequest::setBizType(const std::string& bizType)
{
bizType_ = bizType;
setParameter("BizType", bizType);
std::string AddLiveAudioAuditConfigRequest::getBizType() const {
return bizType_;
}
void AddLiveAudioAuditConfigRequest::setBizType(const std::string &bizType) {
bizType_ = bizType;
setParameter(std::string("BizType"), bizType);
}

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,128 +1,108 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/AddLiveDomainRequest.h>
using AlibabaCloud::Live::Model::AddLiveDomainRequest;
AddLiveDomainRequest::AddLiveDomainRequest() :
RpcServiceRequest("live", "2016-11-01", "AddLiveDomain")
{
setMethod(HttpRequest::Method::Post);
}
AddLiveDomainRequest::~AddLiveDomainRequest()
{}
std::string AddLiveDomainRequest::getSecurityToken()const
{
return securityToken_;
*/
#include <alibabacloud/live/model/AddLiveDomainRequest.h>
using AlibabaCloud::Live::Model::AddLiveDomainRequest;
AddLiveDomainRequest::AddLiveDomainRequest()
: RpcServiceRequest("live", "2016-11-01", "AddLiveDomain") {
setMethod(HttpRequest::Method::Post);
}
void AddLiveDomainRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
AddLiveDomainRequest::~AddLiveDomainRequest() {}
std::string AddLiveDomainRequest::getSecurityToken() const {
return securityToken_;
}
std::string AddLiveDomainRequest::getScope()const
{
return scope_;
void AddLiveDomainRequest::setSecurityToken(const std::string &securityToken) {
securityToken_ = securityToken;
setParameter(std::string("SecurityToken"), securityToken);
}
void AddLiveDomainRequest::setScope(const std::string& scope)
{
scope_ = scope;
setParameter("Scope", scope);
std::string AddLiveDomainRequest::getScope() const {
return scope_;
}
std::string AddLiveDomainRequest::getTopLevelDomain()const
{
return topLevelDomain_;
void AddLiveDomainRequest::setScope(const std::string &scope) {
scope_ = scope;
setParameter(std::string("Scope"), scope);
}
void AddLiveDomainRequest::setTopLevelDomain(const std::string& topLevelDomain)
{
topLevelDomain_ = topLevelDomain;
setParameter("TopLevelDomain", topLevelDomain);
std::string AddLiveDomainRequest::getTopLevelDomain() const {
return topLevelDomain_;
}
std::string AddLiveDomainRequest::getOwnerAccount()const
{
return ownerAccount_;
void AddLiveDomainRequest::setTopLevelDomain(const std::string &topLevelDomain) {
topLevelDomain_ = topLevelDomain;
setParameter(std::string("TopLevelDomain"), topLevelDomain);
}
void AddLiveDomainRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
std::string AddLiveDomainRequest::getOwnerAccount() const {
return ownerAccount_;
}
std::string AddLiveDomainRequest::getDomainName()const
{
return domainName_;
void AddLiveDomainRequest::setOwnerAccount(const std::string &ownerAccount) {
ownerAccount_ = ownerAccount;
setParameter(std::string("OwnerAccount"), ownerAccount);
}
void AddLiveDomainRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
std::string AddLiveDomainRequest::getDomainName() const {
return domainName_;
}
long AddLiveDomainRequest::getOwnerId()const
{
return ownerId_;
void AddLiveDomainRequest::setDomainName(const std::string &domainName) {
domainName_ = domainName;
setParameter(std::string("DomainName"), domainName);
}
void AddLiveDomainRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long AddLiveDomainRequest::getOwnerId() const {
return ownerId_;
}
std::string AddLiveDomainRequest::getRegion()const
{
return region_;
void AddLiveDomainRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void AddLiveDomainRequest::setRegion(const std::string& region)
{
region_ = region;
setParameter("Region", region);
std::string AddLiveDomainRequest::getRegion() const {
return region_;
}
std::string AddLiveDomainRequest::getCheckUrl()const
{
return checkUrl_;
void AddLiveDomainRequest::setRegion(const std::string &region) {
region_ = region;
setParameter(std::string("Region"), region);
}
void AddLiveDomainRequest::setCheckUrl(const std::string& checkUrl)
{
checkUrl_ = checkUrl;
setParameter("CheckUrl", checkUrl);
std::string AddLiveDomainRequest::getCheckUrl() const {
return checkUrl_;
}
std::string AddLiveDomainRequest::getLiveDomainType()const
{
return liveDomainType_;
void AddLiveDomainRequest::setCheckUrl(const std::string &checkUrl) {
checkUrl_ = checkUrl;
setParameter(std::string("CheckUrl"), checkUrl);
}
void AddLiveDomainRequest::setLiveDomainType(const std::string& liveDomainType)
{
liveDomainType_ = liveDomainType;
setParameter("LiveDomainType", liveDomainType);
std::string AddLiveDomainRequest::getLiveDomainType() const {
return liveDomainType_;
}
void AddLiveDomainRequest::setLiveDomainType(const std::string &liveDomainType) {
liveDomainType_ = liveDomainType;
setParameter(std::string("LiveDomainType"), liveDomainType);
}

View File

@@ -1,117 +1,99 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/AddLivePullStreamInfoConfigRequest.h>
using AlibabaCloud::Live::Model::AddLivePullStreamInfoConfigRequest;
AddLivePullStreamInfoConfigRequest::AddLivePullStreamInfoConfigRequest() :
RpcServiceRequest("live", "2016-11-01", "AddLivePullStreamInfoConfig")
{
setMethod(HttpRequest::Method::Post);
}
AddLivePullStreamInfoConfigRequest::~AddLivePullStreamInfoConfigRequest()
{}
std::string AddLivePullStreamInfoConfigRequest::getStartTime()const
{
return startTime_;
*/
#include <alibabacloud/live/model/AddLivePullStreamInfoConfigRequest.h>
using AlibabaCloud::Live::Model::AddLivePullStreamInfoConfigRequest;
AddLivePullStreamInfoConfigRequest::AddLivePullStreamInfoConfigRequest()
: RpcServiceRequest("live", "2016-11-01", "AddLivePullStreamInfoConfig") {
setMethod(HttpRequest::Method::Post);
}
void AddLivePullStreamInfoConfigRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
AddLivePullStreamInfoConfigRequest::~AddLivePullStreamInfoConfigRequest() {}
std::string AddLivePullStreamInfoConfigRequest::getStartTime() const {
return startTime_;
}
std::string AddLivePullStreamInfoConfigRequest::getAppName()const
{
return appName_;
void AddLivePullStreamInfoConfigRequest::setStartTime(const std::string &startTime) {
startTime_ = startTime;
setParameter(std::string("StartTime"), startTime);
}
void AddLivePullStreamInfoConfigRequest::setAppName(const std::string& appName)
{
appName_ = appName;
setParameter("AppName", appName);
std::string AddLivePullStreamInfoConfigRequest::getAppName() const {
return appName_;
}
std::string AddLivePullStreamInfoConfigRequest::getStreamName()const
{
return streamName_;
void AddLivePullStreamInfoConfigRequest::setAppName(const std::string &appName) {
appName_ = appName;
setParameter(std::string("AppName"), appName);
}
void AddLivePullStreamInfoConfigRequest::setStreamName(const std::string& streamName)
{
streamName_ = streamName;
setParameter("StreamName", streamName);
std::string AddLivePullStreamInfoConfigRequest::getStreamName() const {
return streamName_;
}
std::string AddLivePullStreamInfoConfigRequest::getPullAlways()const
{
return pullAlways_;
void AddLivePullStreamInfoConfigRequest::setStreamName(const std::string &streamName) {
streamName_ = streamName;
setParameter(std::string("StreamName"), streamName);
}
void AddLivePullStreamInfoConfigRequest::setPullAlways(const std::string& pullAlways)
{
pullAlways_ = pullAlways;
setParameter("PullAlways", pullAlways);
std::string AddLivePullStreamInfoConfigRequest::getPullAlways() const {
return pullAlways_;
}
std::string AddLivePullStreamInfoConfigRequest::getDomainName()const
{
return domainName_;
void AddLivePullStreamInfoConfigRequest::setPullAlways(const std::string &pullAlways) {
pullAlways_ = pullAlways;
setParameter(std::string("PullAlways"), pullAlways);
}
void AddLivePullStreamInfoConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
std::string AddLivePullStreamInfoConfigRequest::getDomainName() const {
return domainName_;
}
std::string AddLivePullStreamInfoConfigRequest::getEndTime()const
{
return endTime_;
void AddLivePullStreamInfoConfigRequest::setDomainName(const std::string &domainName) {
domainName_ = domainName;
setParameter(std::string("DomainName"), domainName);
}
void AddLivePullStreamInfoConfigRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
std::string AddLivePullStreamInfoConfigRequest::getEndTime() const {
return endTime_;
}
long AddLivePullStreamInfoConfigRequest::getOwnerId()const
{
return ownerId_;
void AddLivePullStreamInfoConfigRequest::setEndTime(const std::string &endTime) {
endTime_ = endTime;
setParameter(std::string("EndTime"), endTime);
}
void AddLivePullStreamInfoConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long AddLivePullStreamInfoConfigRequest::getOwnerId() const {
return ownerId_;
}
std::string AddLivePullStreamInfoConfigRequest::getSourceUrl()const
{
return sourceUrl_;
void AddLivePullStreamInfoConfigRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void AddLivePullStreamInfoConfigRequest::setSourceUrl(const std::string& sourceUrl)
{
sourceUrl_ = sourceUrl;
setParameter("SourceUrl", sourceUrl);
std::string AddLivePullStreamInfoConfigRequest::getSourceUrl() const {
return sourceUrl_;
}
void AddLivePullStreamInfoConfigRequest::setSourceUrl(const std::string &sourceUrl) {
sourceUrl_ = sourceUrl;
setParameter(std::string("SourceUrl"), sourceUrl);
}

View File

@@ -1,95 +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/AddLiveRecordNotifyConfigRequest.h>
using AlibabaCloud::Live::Model::AddLiveRecordNotifyConfigRequest;
AddLiveRecordNotifyConfigRequest::AddLiveRecordNotifyConfigRequest() :
RpcServiceRequest("live", "2016-11-01", "AddLiveRecordNotifyConfig")
{
setMethod(HttpRequest::Method::Post);
}
AddLiveRecordNotifyConfigRequest::~AddLiveRecordNotifyConfigRequest()
{}
std::string AddLiveRecordNotifyConfigRequest::getOnDemandUrl()const
{
return onDemandUrl_;
*/
#include <alibabacloud/live/model/AddLiveRecordNotifyConfigRequest.h>
using AlibabaCloud::Live::Model::AddLiveRecordNotifyConfigRequest;
AddLiveRecordNotifyConfigRequest::AddLiveRecordNotifyConfigRequest()
: RpcServiceRequest("live", "2016-11-01", "AddLiveRecordNotifyConfig") {
setMethod(HttpRequest::Method::Post);
}
void AddLiveRecordNotifyConfigRequest::setOnDemandUrl(const std::string& onDemandUrl)
{
onDemandUrl_ = onDemandUrl;
setParameter("OnDemandUrl", onDemandUrl);
AddLiveRecordNotifyConfigRequest::~AddLiveRecordNotifyConfigRequest() {}
std::string AddLiveRecordNotifyConfigRequest::getOnDemandUrl() const {
return onDemandUrl_;
}
std::string AddLiveRecordNotifyConfigRequest::getSecurityToken()const
{
return securityToken_;
void AddLiveRecordNotifyConfigRequest::setOnDemandUrl(const std::string &onDemandUrl) {
onDemandUrl_ = onDemandUrl;
setParameter(std::string("OnDemandUrl"), onDemandUrl);
}
void AddLiveRecordNotifyConfigRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
std::string AddLiveRecordNotifyConfigRequest::getSecurityToken() const {
return securityToken_;
}
std::string AddLiveRecordNotifyConfigRequest::getNotifyUrl()const
{
return notifyUrl_;
void AddLiveRecordNotifyConfigRequest::setSecurityToken(const std::string &securityToken) {
securityToken_ = securityToken;
setParameter(std::string("SecurityToken"), securityToken);
}
void AddLiveRecordNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl)
{
notifyUrl_ = notifyUrl;
setParameter("NotifyUrl", notifyUrl);
std::string AddLiveRecordNotifyConfigRequest::getNotifyUrl() const {
return notifyUrl_;
}
bool AddLiveRecordNotifyConfigRequest::getNeedStatusNotify()const
{
return needStatusNotify_;
void AddLiveRecordNotifyConfigRequest::setNotifyUrl(const std::string &notifyUrl) {
notifyUrl_ = notifyUrl;
setParameter(std::string("NotifyUrl"), notifyUrl);
}
void AddLiveRecordNotifyConfigRequest::setNeedStatusNotify(bool needStatusNotify)
{
needStatusNotify_ = needStatusNotify;
setParameter("NeedStatusNotify", needStatusNotify ? "true" : "false");
bool AddLiveRecordNotifyConfigRequest::getNeedStatusNotify() const {
return needStatusNotify_;
}
std::string AddLiveRecordNotifyConfigRequest::getDomainName()const
{
return domainName_;
void AddLiveRecordNotifyConfigRequest::setNeedStatusNotify(bool needStatusNotify) {
needStatusNotify_ = needStatusNotify;
setParameter(std::string("NeedStatusNotify"), needStatusNotify ? "true" : "false");
}
void AddLiveRecordNotifyConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
std::string AddLiveRecordNotifyConfigRequest::getDomainName() const {
return domainName_;
}
long AddLiveRecordNotifyConfigRequest::getOwnerId()const
{
return ownerId_;
void AddLiveRecordNotifyConfigRequest::setDomainName(const std::string &domainName) {
domainName_ = domainName;
setParameter(std::string("DomainName"), domainName);
}
void AddLiveRecordNotifyConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long AddLiveRecordNotifyConfigRequest::getOwnerId() const {
return ownerId_;
}
void AddLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}

View File

@@ -1,128 +1,108 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/AddLiveRecordVodConfigRequest.h>
using AlibabaCloud::Live::Model::AddLiveRecordVodConfigRequest;
AddLiveRecordVodConfigRequest::AddLiveRecordVodConfigRequest() :
RpcServiceRequest("live", "2016-11-01", "AddLiveRecordVodConfig")
{
setMethod(HttpRequest::Method::Post);
}
AddLiveRecordVodConfigRequest::~AddLiveRecordVodConfigRequest()
{}
std::string AddLiveRecordVodConfigRequest::getAutoCompose()const
{
return autoCompose_;
*/
#include <alibabacloud/live/model/AddLiveRecordVodConfigRequest.h>
using AlibabaCloud::Live::Model::AddLiveRecordVodConfigRequest;
AddLiveRecordVodConfigRequest::AddLiveRecordVodConfigRequest()
: RpcServiceRequest("live", "2016-11-01", "AddLiveRecordVodConfig") {
setMethod(HttpRequest::Method::Post);
}
void AddLiveRecordVodConfigRequest::setAutoCompose(const std::string& autoCompose)
{
autoCompose_ = autoCompose;
setParameter("AutoCompose", autoCompose);
AddLiveRecordVodConfigRequest::~AddLiveRecordVodConfigRequest() {}
std::string AddLiveRecordVodConfigRequest::getAutoCompose() const {
return autoCompose_;
}
std::string AddLiveRecordVodConfigRequest::getComposeVodTranscodeGroupId()const
{
return composeVodTranscodeGroupId_;
void AddLiveRecordVodConfigRequest::setAutoCompose(const std::string &autoCompose) {
autoCompose_ = autoCompose;
setParameter(std::string("AutoCompose"), autoCompose);
}
void AddLiveRecordVodConfigRequest::setComposeVodTranscodeGroupId(const std::string& composeVodTranscodeGroupId)
{
composeVodTranscodeGroupId_ = composeVodTranscodeGroupId;
setParameter("ComposeVodTranscodeGroupId", composeVodTranscodeGroupId);
std::string AddLiveRecordVodConfigRequest::getComposeVodTranscodeGroupId() const {
return composeVodTranscodeGroupId_;
}
std::string AddLiveRecordVodConfigRequest::getStorageLocation()const
{
return storageLocation_;
void AddLiveRecordVodConfigRequest::setComposeVodTranscodeGroupId(const std::string &composeVodTranscodeGroupId) {
composeVodTranscodeGroupId_ = composeVodTranscodeGroupId;
setParameter(std::string("ComposeVodTranscodeGroupId"), composeVodTranscodeGroupId);
}
void AddLiveRecordVodConfigRequest::setStorageLocation(const std::string& storageLocation)
{
storageLocation_ = storageLocation;
setParameter("StorageLocation", storageLocation);
std::string AddLiveRecordVodConfigRequest::getStorageLocation() const {
return storageLocation_;
}
std::string AddLiveRecordVodConfigRequest::getAppName()const
{
return appName_;
void AddLiveRecordVodConfigRequest::setStorageLocation(const std::string &storageLocation) {
storageLocation_ = storageLocation;
setParameter(std::string("StorageLocation"), storageLocation);
}
void AddLiveRecordVodConfigRequest::setAppName(const std::string& appName)
{
appName_ = appName;
setParameter("AppName", appName);
std::string AddLiveRecordVodConfigRequest::getAppName() const {
return appName_;
}
std::string AddLiveRecordVodConfigRequest::getStreamName()const
{
return streamName_;
void AddLiveRecordVodConfigRequest::setAppName(const std::string &appName) {
appName_ = appName;
setParameter(std::string("AppName"), appName);
}
void AddLiveRecordVodConfigRequest::setStreamName(const std::string& streamName)
{
streamName_ = streamName;
setParameter("StreamName", streamName);
std::string AddLiveRecordVodConfigRequest::getStreamName() const {
return streamName_;
}
std::string AddLiveRecordVodConfigRequest::getVodTranscodeGroupId()const
{
return vodTranscodeGroupId_;
void AddLiveRecordVodConfigRequest::setStreamName(const std::string &streamName) {
streamName_ = streamName;
setParameter(std::string("StreamName"), streamName);
}
void AddLiveRecordVodConfigRequest::setVodTranscodeGroupId(const std::string& vodTranscodeGroupId)
{
vodTranscodeGroupId_ = vodTranscodeGroupId;
setParameter("VodTranscodeGroupId", vodTranscodeGroupId);
std::string AddLiveRecordVodConfigRequest::getVodTranscodeGroupId() const {
return vodTranscodeGroupId_;
}
std::string AddLiveRecordVodConfigRequest::getDomainName()const
{
return domainName_;
void AddLiveRecordVodConfigRequest::setVodTranscodeGroupId(const std::string &vodTranscodeGroupId) {
vodTranscodeGroupId_ = vodTranscodeGroupId;
setParameter(std::string("VodTranscodeGroupId"), vodTranscodeGroupId);
}
void AddLiveRecordVodConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
std::string AddLiveRecordVodConfigRequest::getDomainName() const {
return domainName_;
}
int AddLiveRecordVodConfigRequest::getCycleDuration()const
{
return cycleDuration_;
void AddLiveRecordVodConfigRequest::setDomainName(const std::string &domainName) {
domainName_ = domainName;
setParameter(std::string("DomainName"), domainName);
}
void AddLiveRecordVodConfigRequest::setCycleDuration(int cycleDuration)
{
cycleDuration_ = cycleDuration;
setParameter("CycleDuration", std::to_string(cycleDuration));
int AddLiveRecordVodConfigRequest::getCycleDuration() const {
return cycleDuration_;
}
long AddLiveRecordVodConfigRequest::getOwnerId()const
{
return ownerId_;
void AddLiveRecordVodConfigRequest::setCycleDuration(int cycleDuration) {
cycleDuration_ = cycleDuration;
setParameter(std::string("CycleDuration"), std::to_string(cycleDuration));
}
void AddLiveRecordVodConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long AddLiveRecordVodConfigRequest::getOwnerId() const {
return ownerId_;
}
void AddLiveRecordVodConfigRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}

View File

@@ -1,130 +1,107 @@
/*
* 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/AddLiveSnapshotDetectPornConfigRequest.h>
using AlibabaCloud::Live::Model::AddLiveSnapshotDetectPornConfigRequest;
AddLiveSnapshotDetectPornConfigRequest::AddLiveSnapshotDetectPornConfigRequest() :
RpcServiceRequest("live", "2016-11-01", "AddLiveSnapshotDetectPornConfig")
{
setMethod(HttpRequest::Method::Post);
}
AddLiveSnapshotDetectPornConfigRequest::~AddLiveSnapshotDetectPornConfigRequest()
{}
std::string AddLiveSnapshotDetectPornConfigRequest::getOssEndpoint()const
{
return ossEndpoint_;
*/
#include <alibabacloud/live/model/AddLiveSnapshotDetectPornConfigRequest.h>
using AlibabaCloud::Live::Model::AddLiveSnapshotDetectPornConfigRequest;
AddLiveSnapshotDetectPornConfigRequest::AddLiveSnapshotDetectPornConfigRequest()
: RpcServiceRequest("live", "2016-11-01", "AddLiveSnapshotDetectPornConfig") {
setMethod(HttpRequest::Method::Post);
}
void AddLiveSnapshotDetectPornConfigRequest::setOssEndpoint(const std::string& ossEndpoint)
{
ossEndpoint_ = ossEndpoint;
setParameter("OssEndpoint", ossEndpoint);
AddLiveSnapshotDetectPornConfigRequest::~AddLiveSnapshotDetectPornConfigRequest() {}
std::string AddLiveSnapshotDetectPornConfigRequest::getOssEndpoint() const {
return ossEndpoint_;
}
std::string AddLiveSnapshotDetectPornConfigRequest::getOssObject()const
{
return ossObject_;
void AddLiveSnapshotDetectPornConfigRequest::setOssEndpoint(const std::string &ossEndpoint) {
ossEndpoint_ = ossEndpoint;
setParameter(std::string("OssEndpoint"), ossEndpoint);
}
void AddLiveSnapshotDetectPornConfigRequest::setOssObject(const std::string& ossObject)
{
ossObject_ = ossObject;
setParameter("OssObject", ossObject);
std::string AddLiveSnapshotDetectPornConfigRequest::getOssObject() const {
return ossObject_;
}
std::vector<std::string> AddLiveSnapshotDetectPornConfigRequest::getScene()const
{
return scene_;
void AddLiveSnapshotDetectPornConfigRequest::setOssObject(const std::string &ossObject) {
ossObject_ = ossObject;
setParameter(std::string("OssObject"), ossObject);
}
void AddLiveSnapshotDetectPornConfigRequest::setScene(const std::vector<std::string>& scene)
{
scene_ = scene;
for(int dep1 = 0; dep1!= scene.size(); dep1++) {
setParameter("Scene."+ std::to_string(dep1), scene.at(dep1));
}
std::vector<std::string> AddLiveSnapshotDetectPornConfigRequest::getScene() const {
return scene_;
}
std::string AddLiveSnapshotDetectPornConfigRequest::getAppName()const
{
return appName_;
void AddLiveSnapshotDetectPornConfigRequest::setScene(const std::vector<std::string> &scene) {
scene_ = scene;
}
void AddLiveSnapshotDetectPornConfigRequest::setAppName(const std::string& appName)
{
appName_ = appName;
setParameter("AppName", appName);
std::string AddLiveSnapshotDetectPornConfigRequest::getAppName() const {
return appName_;
}
std::string AddLiveSnapshotDetectPornConfigRequest::getSecurityToken()const
{
return securityToken_;
void AddLiveSnapshotDetectPornConfigRequest::setAppName(const std::string &appName) {
appName_ = appName;
setParameter(std::string("AppName"), appName);
}
void AddLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
std::string AddLiveSnapshotDetectPornConfigRequest::getSecurityToken() const {
return securityToken_;
}
std::string AddLiveSnapshotDetectPornConfigRequest::getOssBucket()const
{
return ossBucket_;
void AddLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string &securityToken) {
securityToken_ = securityToken;
setParameter(std::string("SecurityToken"), securityToken);
}
void AddLiveSnapshotDetectPornConfigRequest::setOssBucket(const std::string& ossBucket)
{
ossBucket_ = ossBucket;
setParameter("OssBucket", ossBucket);
std::string AddLiveSnapshotDetectPornConfigRequest::getOssBucket() const {
return ossBucket_;
}
std::string AddLiveSnapshotDetectPornConfigRequest::getDomainName()const
{
return domainName_;
void AddLiveSnapshotDetectPornConfigRequest::setOssBucket(const std::string &ossBucket) {
ossBucket_ = ossBucket;
setParameter(std::string("OssBucket"), ossBucket);
}
void AddLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
std::string AddLiveSnapshotDetectPornConfigRequest::getDomainName() const {
return domainName_;
}
long AddLiveSnapshotDetectPornConfigRequest::getOwnerId()const
{
return ownerId_;
void AddLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string &domainName) {
domainName_ = domainName;
setParameter(std::string("DomainName"), domainName);
}
void AddLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long AddLiveSnapshotDetectPornConfigRequest::getOwnerId() const {
return ownerId_;
}
int AddLiveSnapshotDetectPornConfigRequest::getInterval()const
{
return interval_;
void AddLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void AddLiveSnapshotDetectPornConfigRequest::setInterval(int interval)
{
interval_ = interval;
setParameter("Interval", std::to_string(interval));
int AddLiveSnapshotDetectPornConfigRequest::getInterval() const {
return interval_;
}
void AddLiveSnapshotDetectPornConfigRequest::setInterval(int interval) {
interval_ = interval;
setParameter(std::string("Interval"), std::to_string(interval));
}

View File

@@ -1,139 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/AddLiveStreamTranscodeRequest.h>
using AlibabaCloud::Live::Model::AddLiveStreamTranscodeRequest;
AddLiveStreamTranscodeRequest::AddLiveStreamTranscodeRequest() :
RpcServiceRequest("live", "2016-11-01", "AddLiveStreamTranscode")
{
setMethod(HttpRequest::Method::Post);
}
AddLiveStreamTranscodeRequest::~AddLiveStreamTranscodeRequest()
{}
std::string AddLiveStreamTranscodeRequest::get_Template()const
{
return _template_;
*/
#include <alibabacloud/live/model/AddLiveStreamTranscodeRequest.h>
using AlibabaCloud::Live::Model::AddLiveStreamTranscodeRequest;
AddLiveStreamTranscodeRequest::AddLiveStreamTranscodeRequest()
: RpcServiceRequest("live", "2016-11-01", "AddLiveStreamTranscode") {
setMethod(HttpRequest::Method::Post);
}
void AddLiveStreamTranscodeRequest::set_Template(const std::string& _template)
{
_template_ = _template;
setParameter("_Template", _template);
AddLiveStreamTranscodeRequest::~AddLiveStreamTranscodeRequest() {}
std::string AddLiveStreamTranscodeRequest::get_Template() const {
return _template_;
}
std::string AddLiveStreamTranscodeRequest::getLazy()const
{
return lazy_;
void AddLiveStreamTranscodeRequest::set_Template(const std::string &_template) {
_template_ = _template;
setParameter(std::string("Template"), _template);
}
void AddLiveStreamTranscodeRequest::setLazy(const std::string& lazy)
{
lazy_ = lazy;
setParameter("Lazy", lazy);
std::string AddLiveStreamTranscodeRequest::getLazy() const {
return lazy_;
}
std::string AddLiveStreamTranscodeRequest::getMix()const
{
return mix_;
void AddLiveStreamTranscodeRequest::setLazy(const std::string &lazy) {
lazy_ = lazy;
setParameter(std::string("Lazy"), lazy);
}
void AddLiveStreamTranscodeRequest::setMix(const std::string& mix)
{
mix_ = mix;
setParameter("Mix", mix);
std::string AddLiveStreamTranscodeRequest::getMix() const {
return mix_;
}
std::string AddLiveStreamTranscodeRequest::getApp()const
{
return app_;
void AddLiveStreamTranscodeRequest::setMix(const std::string &mix) {
mix_ = mix;
setParameter(std::string("Mix"), mix);
}
void AddLiveStreamTranscodeRequest::setApp(const std::string& app)
{
app_ = app;
setParameter("App", app);
std::string AddLiveStreamTranscodeRequest::getApp() const {
return app_;
}
std::string AddLiveStreamTranscodeRequest::getEncryptParameters()const
{
return encryptParameters_;
void AddLiveStreamTranscodeRequest::setApp(const std::string &app) {
app_ = app;
setParameter(std::string("App"), app);
}
void AddLiveStreamTranscodeRequest::setEncryptParameters(const std::string& encryptParameters)
{
encryptParameters_ = encryptParameters;
setParameter("EncryptParameters", encryptParameters);
std::string AddLiveStreamTranscodeRequest::getEncryptParameters() const {
return encryptParameters_;
}
std::string AddLiveStreamTranscodeRequest::getWatermark()const
{
return watermark_;
void AddLiveStreamTranscodeRequest::setEncryptParameters(const std::string &encryptParameters) {
encryptParameters_ = encryptParameters;
setParameter(std::string("EncryptParameters"), encryptParameters);
}
void AddLiveStreamTranscodeRequest::setWatermark(const std::string& watermark)
{
watermark_ = watermark;
setParameter("Watermark", watermark);
std::string AddLiveStreamTranscodeRequest::getWatermark() const {
return watermark_;
}
long AddLiveStreamTranscodeRequest::getOwnerId()const
{
return ownerId_;
void AddLiveStreamTranscodeRequest::setWatermark(const std::string &watermark) {
watermark_ = watermark;
setParameter(std::string("Watermark"), watermark);
}
void AddLiveStreamTranscodeRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long AddLiveStreamTranscodeRequest::getOwnerId() const {
return ownerId_;
}
std::string AddLiveStreamTranscodeRequest::getDomain()const
{
return domain_;
void AddLiveStreamTranscodeRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void AddLiveStreamTranscodeRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string AddLiveStreamTranscodeRequest::getDomain() const {
return domain_;
}
std::string AddLiveStreamTranscodeRequest::getWaterPattern()const
{
return waterPattern_;
void AddLiveStreamTranscodeRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
void AddLiveStreamTranscodeRequest::setWaterPattern(const std::string& waterPattern)
{
waterPattern_ = waterPattern;
setParameter("WaterPattern", waterPattern);
std::string AddLiveStreamTranscodeRequest::getWaterPattern() const {
return waterPattern_;
}
std::string AddLiveStreamTranscodeRequest::getOnlyAudio()const
{
return onlyAudio_;
void AddLiveStreamTranscodeRequest::setWaterPattern(const std::string &waterPattern) {
waterPattern_ = waterPattern;
setParameter(std::string("WaterPattern"), waterPattern);
}
void AddLiveStreamTranscodeRequest::setOnlyAudio(const std::string& onlyAudio)
{
onlyAudio_ = onlyAudio;
setParameter("OnlyAudio", onlyAudio);
std::string AddLiveStreamTranscodeRequest::getOnlyAudio() const {
return onlyAudio_;
}
void AddLiveStreamTranscodeRequest::setOnlyAudio(const std::string &onlyAudio) {
onlyAudio_ = onlyAudio;
setParameter(std::string("OnlyAudio"), onlyAudio);
}

View File

@@ -1,161 +1,135 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/AddLiveStreamWatermarkRequest.h>
using AlibabaCloud::Live::Model::AddLiveStreamWatermarkRequest;
AddLiveStreamWatermarkRequest::AddLiveStreamWatermarkRequest() :
RpcServiceRequest("live", "2016-11-01", "AddLiveStreamWatermark")
{
setMethod(HttpRequest::Method::Post);
}
AddLiveStreamWatermarkRequest::~AddLiveStreamWatermarkRequest()
{}
float AddLiveStreamWatermarkRequest::getYOffset()const
{
return yOffset_;
*/
#include <alibabacloud/live/model/AddLiveStreamWatermarkRequest.h>
using AlibabaCloud::Live::Model::AddLiveStreamWatermarkRequest;
AddLiveStreamWatermarkRequest::AddLiveStreamWatermarkRequest()
: RpcServiceRequest("live", "2016-11-01", "AddLiveStreamWatermark") {
setMethod(HttpRequest::Method::Post);
}
void AddLiveStreamWatermarkRequest::setYOffset(float yOffset)
{
yOffset_ = yOffset;
setParameter("YOffset", std::to_string(yOffset));
AddLiveStreamWatermarkRequest::~AddLiveStreamWatermarkRequest() {}
float AddLiveStreamWatermarkRequest::getYOffset() const {
return yOffset_;
}
std::string AddLiveStreamWatermarkRequest::getPictureUrl()const
{
return pictureUrl_;
void AddLiveStreamWatermarkRequest::setYOffset(float yOffset) {
yOffset_ = yOffset;
setParameter(std::string("YOffset"), std::to_string(yOffset));
}
void AddLiveStreamWatermarkRequest::setPictureUrl(const std::string& pictureUrl)
{
pictureUrl_ = pictureUrl;
setParameter("PictureUrl", pictureUrl);
std::string AddLiveStreamWatermarkRequest::getPictureUrl() const {
return pictureUrl_;
}
std::string AddLiveStreamWatermarkRequest::getDescription()const
{
return description_;
void AddLiveStreamWatermarkRequest::setPictureUrl(const std::string &pictureUrl) {
pictureUrl_ = pictureUrl;
setParameter(std::string("PictureUrl"), pictureUrl);
}
void AddLiveStreamWatermarkRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
std::string AddLiveStreamWatermarkRequest::getDescription() const {
return description_;
}
int AddLiveStreamWatermarkRequest::getType()const
{
return type_;
void AddLiveStreamWatermarkRequest::setDescription(const std::string &description) {
description_ = description;
setParameter(std::string("Description"), description);
}
void AddLiveStreamWatermarkRequest::setType(int type)
{
type_ = type;
setParameter("Type", std::to_string(type));
int AddLiveStreamWatermarkRequest::getType() const {
return type_;
}
int AddLiveStreamWatermarkRequest::getHeight()const
{
return height_;
void AddLiveStreamWatermarkRequest::setType(int type) {
type_ = type;
setParameter(std::string("Type"), std::to_string(type));
}
void AddLiveStreamWatermarkRequest::setHeight(int height)
{
height_ = height;
setParameter("Height", std::to_string(height));
int AddLiveStreamWatermarkRequest::getHeight() const {
return height_;
}
float AddLiveStreamWatermarkRequest::getXOffset()const
{
return xOffset_;
void AddLiveStreamWatermarkRequest::setHeight(int height) {
height_ = height;
setParameter(std::string("Height"), std::to_string(height));
}
void AddLiveStreamWatermarkRequest::setXOffset(float xOffset)
{
xOffset_ = xOffset;
setParameter("XOffset", std::to_string(xOffset));
float AddLiveStreamWatermarkRequest::getXOffset() const {
return xOffset_;
}
long AddLiveStreamWatermarkRequest::getOwnerId()const
{
return ownerId_;
void AddLiveStreamWatermarkRequest::setXOffset(float xOffset) {
xOffset_ = xOffset;
setParameter(std::string("XOffset"), std::to_string(xOffset));
}
void AddLiveStreamWatermarkRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long AddLiveStreamWatermarkRequest::getOwnerId() const {
return ownerId_;
}
int AddLiveStreamWatermarkRequest::getRefWidth()const
{
return refWidth_;
void AddLiveStreamWatermarkRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void AddLiveStreamWatermarkRequest::setRefWidth(int refWidth)
{
refWidth_ = refWidth;
setParameter("RefWidth", std::to_string(refWidth));
int AddLiveStreamWatermarkRequest::getRefWidth() const {
return refWidth_;
}
int AddLiveStreamWatermarkRequest::getTransparency()const
{
return transparency_;
void AddLiveStreamWatermarkRequest::setRefWidth(int refWidth) {
refWidth_ = refWidth;
setParameter(std::string("RefWidth"), std::to_string(refWidth));
}
void AddLiveStreamWatermarkRequest::setTransparency(int transparency)
{
transparency_ = transparency;
setParameter("Transparency", std::to_string(transparency));
int AddLiveStreamWatermarkRequest::getTransparency() const {
return transparency_;
}
std::string AddLiveStreamWatermarkRequest::getName()const
{
return name_;
void AddLiveStreamWatermarkRequest::setTransparency(int transparency) {
transparency_ = transparency;
setParameter(std::string("Transparency"), std::to_string(transparency));
}
void AddLiveStreamWatermarkRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
std::string AddLiveStreamWatermarkRequest::getName() const {
return name_;
}
std::string AddLiveStreamWatermarkRequest::getOffsetCorner()const
{
return offsetCorner_;
void AddLiveStreamWatermarkRequest::setName(const std::string &name) {
name_ = name;
setParameter(std::string("Name"), name);
}
void AddLiveStreamWatermarkRequest::setOffsetCorner(const std::string& offsetCorner)
{
offsetCorner_ = offsetCorner;
setParameter("OffsetCorner", offsetCorner);
std::string AddLiveStreamWatermarkRequest::getOffsetCorner() const {
return offsetCorner_;
}
int AddLiveStreamWatermarkRequest::getRefHeight()const
{
return refHeight_;
void AddLiveStreamWatermarkRequest::setOffsetCorner(const std::string &offsetCorner) {
offsetCorner_ = offsetCorner;
setParameter(std::string("OffsetCorner"), offsetCorner);
}
void AddLiveStreamWatermarkRequest::setRefHeight(int refHeight)
{
refHeight_ = refHeight;
setParameter("RefHeight", std::to_string(refHeight));
int AddLiveStreamWatermarkRequest::getRefHeight() const {
return refHeight_;
}
void AddLiveStreamWatermarkRequest::setRefHeight(int refHeight) {
refHeight_ = refHeight;
setParameter(std::string("RefHeight"), std::to_string(refHeight));
}

View File

@@ -1,106 +1,90 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/AddLiveStreamWatermarkRuleRequest.h>
using AlibabaCloud::Live::Model::AddLiveStreamWatermarkRuleRequest;
AddLiveStreamWatermarkRuleRequest::AddLiveStreamWatermarkRuleRequest() :
RpcServiceRequest("live", "2016-11-01", "AddLiveStreamWatermarkRule")
{
setMethod(HttpRequest::Method::Post);
}
AddLiveStreamWatermarkRuleRequest::~AddLiveStreamWatermarkRuleRequest()
{}
std::string AddLiveStreamWatermarkRuleRequest::getDescription()const
{
return description_;
*/
#include <alibabacloud/live/model/AddLiveStreamWatermarkRuleRequest.h>
using AlibabaCloud::Live::Model::AddLiveStreamWatermarkRuleRequest;
AddLiveStreamWatermarkRuleRequest::AddLiveStreamWatermarkRuleRequest()
: RpcServiceRequest("live", "2016-11-01", "AddLiveStreamWatermarkRule") {
setMethod(HttpRequest::Method::Post);
}
void AddLiveStreamWatermarkRuleRequest::setDescription(const std::string& description)
{
description_ = description;
setParameter("Description", description);
AddLiveStreamWatermarkRuleRequest::~AddLiveStreamWatermarkRuleRequest() {}
std::string AddLiveStreamWatermarkRuleRequest::getDescription() const {
return description_;
}
std::string AddLiveStreamWatermarkRuleRequest::getStream()const
{
return stream_;
void AddLiveStreamWatermarkRuleRequest::setDescription(const std::string &description) {
description_ = description;
setParameter(std::string("Description"), description);
}
void AddLiveStreamWatermarkRuleRequest::setStream(const std::string& stream)
{
stream_ = stream;
setParameter("Stream", stream);
std::string AddLiveStreamWatermarkRuleRequest::getStream() const {
return stream_;
}
std::string AddLiveStreamWatermarkRuleRequest::getApp()const
{
return app_;
void AddLiveStreamWatermarkRuleRequest::setStream(const std::string &stream) {
stream_ = stream;
setParameter(std::string("Stream"), stream);
}
void AddLiveStreamWatermarkRuleRequest::setApp(const std::string& app)
{
app_ = app;
setParameter("App", app);
std::string AddLiveStreamWatermarkRuleRequest::getApp() const {
return app_;
}
long AddLiveStreamWatermarkRuleRequest::getOwnerId()const
{
return ownerId_;
void AddLiveStreamWatermarkRuleRequest::setApp(const std::string &app) {
app_ = app;
setParameter(std::string("App"), app);
}
void AddLiveStreamWatermarkRuleRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long AddLiveStreamWatermarkRuleRequest::getOwnerId() const {
return ownerId_;
}
std::string AddLiveStreamWatermarkRuleRequest::getTemplateId()const
{
return templateId_;
void AddLiveStreamWatermarkRuleRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void AddLiveStreamWatermarkRuleRequest::setTemplateId(const std::string& templateId)
{
templateId_ = templateId;
setParameter("TemplateId", templateId);
std::string AddLiveStreamWatermarkRuleRequest::getTemplateId() const {
return templateId_;
}
std::string AddLiveStreamWatermarkRuleRequest::getDomain()const
{
return domain_;
void AddLiveStreamWatermarkRuleRequest::setTemplateId(const std::string &templateId) {
templateId_ = templateId;
setParameter(std::string("TemplateId"), templateId);
}
void AddLiveStreamWatermarkRuleRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string AddLiveStreamWatermarkRuleRequest::getDomain() const {
return domain_;
}
std::string AddLiveStreamWatermarkRuleRequest::getName()const
{
return name_;
void AddLiveStreamWatermarkRuleRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
void AddLiveStreamWatermarkRuleRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
std::string AddLiveStreamWatermarkRuleRequest::getName() const {
return name_;
}
void AddLiveStreamWatermarkRuleRequest::setName(const std::string &name) {
name_ = name;
setParameter(std::string("Name"), name);
}

View File

@@ -1,117 +1,99 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/AddMultiRateConfigRequest.h>
using AlibabaCloud::Live::Model::AddMultiRateConfigRequest;
AddMultiRateConfigRequest::AddMultiRateConfigRequest() :
RpcServiceRequest("live", "2016-11-01", "AddMultiRateConfig")
{
setMethod(HttpRequest::Method::Post);
}
AddMultiRateConfigRequest::~AddMultiRateConfigRequest()
{}
std::string AddMultiRateConfigRequest::getApp()const
{
return app_;
*/
#include <alibabacloud/live/model/AddMultiRateConfigRequest.h>
using AlibabaCloud::Live::Model::AddMultiRateConfigRequest;
AddMultiRateConfigRequest::AddMultiRateConfigRequest()
: RpcServiceRequest("live", "2016-11-01", "AddMultiRateConfig") {
setMethod(HttpRequest::Method::Post);
}
void AddMultiRateConfigRequest::setApp(const std::string& app)
{
app_ = app;
setParameter("App", app);
AddMultiRateConfigRequest::~AddMultiRateConfigRequest() {}
std::string AddMultiRateConfigRequest::getApp() const {
return app_;
}
std::string AddMultiRateConfigRequest::getGroupId()const
{
return groupId_;
void AddMultiRateConfigRequest::setApp(const std::string &app) {
app_ = app;
setParameter(std::string("App"), app);
}
void AddMultiRateConfigRequest::setGroupId(const std::string& groupId)
{
groupId_ = groupId;
setParameter("GroupId", groupId);
std::string AddMultiRateConfigRequest::getGroupId() const {
return groupId_;
}
std::string AddMultiRateConfigRequest::getTemplates()const
{
return templates_;
void AddMultiRateConfigRequest::setGroupId(const std::string &groupId) {
groupId_ = groupId;
setParameter(std::string("GroupId"), groupId);
}
void AddMultiRateConfigRequest::setTemplates(const std::string& templates)
{
templates_ = templates;
setParameter("Templates", templates);
std::string AddMultiRateConfigRequest::getTemplates() const {
return templates_;
}
std::string AddMultiRateConfigRequest::getDomainName()const
{
return domainName_;
void AddMultiRateConfigRequest::setTemplates(const std::string &templates) {
templates_ = templates;
setParameter(std::string("Templates"), templates);
}
void AddMultiRateConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
std::string AddMultiRateConfigRequest::getDomainName() const {
return domainName_;
}
long AddMultiRateConfigRequest::getOwnerId()const
{
return ownerId_;
void AddMultiRateConfigRequest::setDomainName(const std::string &domainName) {
domainName_ = domainName;
setParameter(std::string("DomainName"), domainName);
}
void AddMultiRateConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long AddMultiRateConfigRequest::getOwnerId() const {
return ownerId_;
}
std::string AddMultiRateConfigRequest::getIsLazy()const
{
return isLazy_;
void AddMultiRateConfigRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void AddMultiRateConfigRequest::setIsLazy(const std::string& isLazy)
{
isLazy_ = isLazy;
setParameter("IsLazy", isLazy);
std::string AddMultiRateConfigRequest::getIsLazy() const {
return isLazy_;
}
std::string AddMultiRateConfigRequest::getAvFormat()const
{
return avFormat_;
void AddMultiRateConfigRequest::setIsLazy(const std::string &isLazy) {
isLazy_ = isLazy;
setParameter(std::string("IsLazy"), isLazy);
}
void AddMultiRateConfigRequest::setAvFormat(const std::string& avFormat)
{
avFormat_ = avFormat;
setParameter("AvFormat", avFormat);
std::string AddMultiRateConfigRequest::getAvFormat() const {
return avFormat_;
}
std::string AddMultiRateConfigRequest::getIsTimeAlign()const
{
return isTimeAlign_;
void AddMultiRateConfigRequest::setAvFormat(const std::string &avFormat) {
avFormat_ = avFormat;
setParameter(std::string("AvFormat"), avFormat);
}
void AddMultiRateConfigRequest::setIsTimeAlign(const std::string& isTimeAlign)
{
isTimeAlign_ = isTimeAlign;
setParameter("IsTimeAlign", isTimeAlign);
std::string AddMultiRateConfigRequest::getIsTimeAlign() const {
return isTimeAlign_;
}
void AddMultiRateConfigRequest::setIsTimeAlign(const std::string &isTimeAlign) {
isTimeAlign_ = isTimeAlign;
setParameter(std::string("IsTimeAlign"), isTimeAlign);
}

View File

@@ -43,40 +43,40 @@ void AddMultiRateConfigResult::parse(const std::string &payload)
for (auto valueBodyFailedTemplates : allBodyNode)
{
FailedTemplates bodyObject;
if(!valueBodyFailedTemplates["Template"].isNull())
bodyObject._template = valueBodyFailedTemplates["Template"].asString();
if(!valueBodyFailedTemplates["TemplateType"].isNull())
bodyObject.templateType = valueBodyFailedTemplates["TemplateType"].asString();
if(!valueBodyFailedTemplates["Height"].isNull())
bodyObject.height = std::stoi(valueBodyFailedTemplates["Height"].asString());
if(!valueBodyFailedTemplates["Width"].isNull())
bodyObject.width = std::stoi(valueBodyFailedTemplates["Width"].asString());
if(!valueBodyFailedTemplates["Fps"].isNull())
bodyObject.fps = std::stoi(valueBodyFailedTemplates["Fps"].asString());
if(!valueBodyFailedTemplates["Gop"].isNull())
bodyObject.gop = valueBodyFailedTemplates["Gop"].asString();
if(!valueBodyFailedTemplates["VideoBitrate"].isNull())
bodyObject.videoBitrate = std::stoi(valueBodyFailedTemplates["VideoBitrate"].asString());
if(!valueBodyFailedTemplates["Profile"].isNull())
bodyObject.profile = std::stoi(valueBodyFailedTemplates["Profile"].asString());
if(!valueBodyFailedTemplates["AudioProfile"].isNull())
bodyObject.audioProfile = valueBodyFailedTemplates["AudioProfile"].asString();
if(!valueBodyFailedTemplates["AudioCodec"].isNull())
bodyObject.audioCodec = valueBodyFailedTemplates["AudioCodec"].asString();
if(!valueBodyFailedTemplates["AudioRate"].isNull())
bodyObject.audioRate = std::stoi(valueBodyFailedTemplates["AudioRate"].asString());
if(!valueBodyFailedTemplates["AudioBitrate"].isNull())
bodyObject.audioBitrate = std::stoi(valueBodyFailedTemplates["AudioBitrate"].asString());
if(!valueBodyFailedTemplates["AudioChannelNum"].isNull())
bodyObject.audioChannelNum = std::stoi(valueBodyFailedTemplates["AudioChannelNum"].asString());
if(!valueBodyFailedTemplates["Template"].isNull())
bodyObject._template = valueBodyFailedTemplates["Template"].asString();
if(!valueBodyFailedTemplates["Height"].isNull())
bodyObject.height = std::stoi(valueBodyFailedTemplates["Height"].asString());
if(!valueBodyFailedTemplates["TemplateType"].isNull())
bodyObject.templateType = valueBodyFailedTemplates["TemplateType"].asString();
if(!valueBodyFailedTemplates["BandWidth"].isNull())
bodyObject.bandWidth = std::stoi(valueBodyFailedTemplates["BandWidth"].asString());
if(!valueBodyFailedTemplates["Profile"].isNull())
bodyObject.profile = std::stoi(valueBodyFailedTemplates["Profile"].asString());
if(!valueBodyFailedTemplates["AudioRate"].isNull())
bodyObject.audioRate = std::stoi(valueBodyFailedTemplates["AudioRate"].asString());
if(!valueBodyFailedTemplates["AudioCodec"].isNull())
bodyObject.audioCodec = valueBodyFailedTemplates["AudioCodec"].asString();
if(!valueBodyFailedTemplates["Gop"].isNull())
bodyObject.gop = valueBodyFailedTemplates["Gop"].asString();
if(!valueBodyFailedTemplates["Width"].isNull())
bodyObject.width = std::stoi(valueBodyFailedTemplates["Width"].asString());
if(!valueBodyFailedTemplates["VideoBitrate"].isNull())
bodyObject.videoBitrate = std::stoi(valueBodyFailedTemplates["VideoBitrate"].asString());
if(!valueBodyFailedTemplates["AudioChannelNum"].isNull())
bodyObject.audioChannelNum = std::stoi(valueBodyFailedTemplates["AudioChannelNum"].asString());
if(!valueBodyFailedTemplates["Fps"].isNull())
bodyObject.fps = std::stoi(valueBodyFailedTemplates["Fps"].asString());
if(!valueBodyFailedTemplates["AudioProfile"].isNull())
bodyObject.audioProfile = valueBodyFailedTemplates["AudioProfile"].asString();
body_.push_back(bodyObject);
}
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}

View File

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

View File

@@ -44,20 +44,20 @@ void AddPlaylistItemsResult::parse(const std::string &payload)
for (auto itemsNodeSuccessItemsSuccessItem : allSuccessItemsNode)
{
Items::SuccessItem successItemObject;
if(!itemsNodeSuccessItemsSuccessItem["ItemId"].isNull())
successItemObject.itemId = itemsNodeSuccessItemsSuccessItem["ItemId"].asString();
if(!itemsNodeSuccessItemsSuccessItem["ItemName"].isNull())
successItemObject.itemName = itemsNodeSuccessItemsSuccessItem["ItemName"].asString();
if(!itemsNodeSuccessItemsSuccessItem["ItemId"].isNull())
successItemObject.itemId = itemsNodeSuccessItemsSuccessItem["ItemId"].asString();
items_.successItems.push_back(successItemObject);
}
auto allFailedItemsNode = itemsNode["FailedItems"]["FailedItem"];
for (auto itemsNodeFailedItemsFailedItem : allFailedItemsNode)
{
Items::FailedItem failedItemObject;
if(!itemsNodeFailedItemsFailedItem["ItemId"].isNull())
failedItemObject.itemId = itemsNodeFailedItemsFailedItem["ItemId"].asString();
if(!itemsNodeFailedItemsFailedItem["ItemName"].isNull())
failedItemObject.itemName = itemsNodeFailedItemsFailedItem["ItemName"].asString();
if(!itemsNodeFailedItemsFailedItem["ItemId"].isNull())
failedItemObject.itemId = itemsNodeFailedItemsFailedItem["ItemId"].asString();
items_.failedItems.push_back(failedItemObject);
}
if(!value["ProgramId"].isNull())

View File

@@ -1,238 +1,198 @@
/*
* 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/AddRtsLiveStreamTranscodeRequest.h>
using AlibabaCloud::Live::Model::AddRtsLiveStreamTranscodeRequest;
AddRtsLiveStreamTranscodeRequest::AddRtsLiveStreamTranscodeRequest() :
RpcServiceRequest("live", "2016-11-01", "AddRtsLiveStreamTranscode")
{
setMethod(HttpRequest::Method::Post);
}
AddRtsLiveStreamTranscodeRequest::~AddRtsLiveStreamTranscodeRequest()
{}
std::string AddRtsLiveStreamTranscodeRequest::get_Template()const
{
return _template_;
*/
#include <alibabacloud/live/model/AddRtsLiveStreamTranscodeRequest.h>
using AlibabaCloud::Live::Model::AddRtsLiveStreamTranscodeRequest;
AddRtsLiveStreamTranscodeRequest::AddRtsLiveStreamTranscodeRequest()
: RpcServiceRequest("live", "2016-11-01", "AddRtsLiveStreamTranscode") {
setMethod(HttpRequest::Method::Post);
}
void AddRtsLiveStreamTranscodeRequest::set_Template(const std::string& _template)
{
_template_ = _template;
setParameter("_Template", _template);
AddRtsLiveStreamTranscodeRequest::~AddRtsLiveStreamTranscodeRequest() {}
std::string AddRtsLiveStreamTranscodeRequest::get_Template() const {
return _template_;
}
bool AddRtsLiveStreamTranscodeRequest::getDeleteBframes()const
{
return deleteBframes_;
void AddRtsLiveStreamTranscodeRequest::set_Template(const std::string &_template) {
_template_ = _template;
setParameter(std::string("Template"), _template);
}
void AddRtsLiveStreamTranscodeRequest::setDeleteBframes(bool deleteBframes)
{
deleteBframes_ = deleteBframes;
setParameter("DeleteBframes", deleteBframes ? "true" : "false");
bool AddRtsLiveStreamTranscodeRequest::getDeleteBframes() const {
return deleteBframes_;
}
std::string AddRtsLiveStreamTranscodeRequest::getLazy()const
{
return lazy_;
void AddRtsLiveStreamTranscodeRequest::setDeleteBframes(bool deleteBframes) {
deleteBframes_ = deleteBframes;
setParameter(std::string("DeleteBframes"), deleteBframes ? "true" : "false");
}
void AddRtsLiveStreamTranscodeRequest::setLazy(const std::string& lazy)
{
lazy_ = lazy;
setParameter("Lazy", lazy);
std::string AddRtsLiveStreamTranscodeRequest::getLazy() const {
return lazy_;
}
std::string AddRtsLiveStreamTranscodeRequest::getGop()const
{
return gop_;
void AddRtsLiveStreamTranscodeRequest::setLazy(const std::string &lazy) {
lazy_ = lazy;
setParameter(std::string("Lazy"), lazy);
}
void AddRtsLiveStreamTranscodeRequest::setGop(const std::string& gop)
{
gop_ = gop;
setParameter("Gop", gop);
std::string AddRtsLiveStreamTranscodeRequest::getGop() const {
return gop_;
}
bool AddRtsLiveStreamTranscodeRequest::getOpus()const
{
return opus_;
void AddRtsLiveStreamTranscodeRequest::setGop(const std::string &gop) {
gop_ = gop;
setParameter(std::string("Gop"), gop);
}
void AddRtsLiveStreamTranscodeRequest::setOpus(bool opus)
{
opus_ = opus;
setParameter("Opus", opus ? "true" : "false");
bool AddRtsLiveStreamTranscodeRequest::getOpus() const {
return opus_;
}
std::string AddRtsLiveStreamTranscodeRequest::getAudioCodec()const
{
return audioCodec_;
void AddRtsLiveStreamTranscodeRequest::setOpus(bool opus) {
opus_ = opus;
setParameter(std::string("Opus"), opus ? "true" : "false");
}
void AddRtsLiveStreamTranscodeRequest::setAudioCodec(const std::string& audioCodec)
{
audioCodec_ = audioCodec;
setParameter("AudioCodec", audioCodec);
std::string AddRtsLiveStreamTranscodeRequest::getAudioCodec() const {
return audioCodec_;
}
std::string AddRtsLiveStreamTranscodeRequest::getTemplateType()const
{
return templateType_;
void AddRtsLiveStreamTranscodeRequest::setAudioCodec(const std::string &audioCodec) {
audioCodec_ = audioCodec;
setParameter(std::string("AudioCodec"), audioCodec);
}
void AddRtsLiveStreamTranscodeRequest::setTemplateType(const std::string& templateType)
{
templateType_ = templateType;
setParameter("TemplateType", templateType);
std::string AddRtsLiveStreamTranscodeRequest::getTemplateType() const {
return templateType_;
}
std::string AddRtsLiveStreamTranscodeRequest::getAudioProfile()const
{
return audioProfile_;
void AddRtsLiveStreamTranscodeRequest::setTemplateType(const std::string &templateType) {
templateType_ = templateType;
setParameter(std::string("TemplateType"), templateType);
}
void AddRtsLiveStreamTranscodeRequest::setAudioProfile(const std::string& audioProfile)
{
audioProfile_ = audioProfile;
setParameter("AudioProfile", audioProfile);
std::string AddRtsLiveStreamTranscodeRequest::getAudioProfile() const {
return audioProfile_;
}
int AddRtsLiveStreamTranscodeRequest::getHeight()const
{
return height_;
void AddRtsLiveStreamTranscodeRequest::setAudioProfile(const std::string &audioProfile) {
audioProfile_ = audioProfile;
setParameter(std::string("AudioProfile"), audioProfile);
}
void AddRtsLiveStreamTranscodeRequest::setHeight(int height)
{
height_ = height;
setParameter("Height", std::to_string(height));
int AddRtsLiveStreamTranscodeRequest::getHeight() const {
return height_;
}
std::string AddRtsLiveStreamTranscodeRequest::getApp()const
{
return app_;
void AddRtsLiveStreamTranscodeRequest::setHeight(int height) {
height_ = height;
setParameter(std::string("Height"), std::to_string(height));
}
void AddRtsLiveStreamTranscodeRequest::setApp(const std::string& app)
{
app_ = app;
setParameter("App", app);
std::string AddRtsLiveStreamTranscodeRequest::getApp() const {
return app_;
}
int AddRtsLiveStreamTranscodeRequest::getAudioChannelNum()const
{
return audioChannelNum_;
void AddRtsLiveStreamTranscodeRequest::setApp(const std::string &app) {
app_ = app;
setParameter(std::string("App"), app);
}
void AddRtsLiveStreamTranscodeRequest::setAudioChannelNum(int audioChannelNum)
{
audioChannelNum_ = audioChannelNum;
setParameter("AudioChannelNum", std::to_string(audioChannelNum));
int AddRtsLiveStreamTranscodeRequest::getAudioChannelNum() const {
return audioChannelNum_;
}
int AddRtsLiveStreamTranscodeRequest::getProfile()const
{
return profile_;
void AddRtsLiveStreamTranscodeRequest::setAudioChannelNum(int audioChannelNum) {
audioChannelNum_ = audioChannelNum;
setParameter(std::string("AudioChannelNum"), std::to_string(audioChannelNum));
}
void AddRtsLiveStreamTranscodeRequest::setProfile(int profile)
{
profile_ = profile;
setParameter("Profile", std::to_string(profile));
int AddRtsLiveStreamTranscodeRequest::getProfile() const {
return profile_;
}
int AddRtsLiveStreamTranscodeRequest::getFPS()const
{
return fPS_;
void AddRtsLiveStreamTranscodeRequest::setProfile(int profile) {
profile_ = profile;
setParameter(std::string("Profile"), std::to_string(profile));
}
void AddRtsLiveStreamTranscodeRequest::setFPS(int fPS)
{
fPS_ = fPS;
setParameter("FPS", std::to_string(fPS));
int AddRtsLiveStreamTranscodeRequest::getFPS() const {
return fPS_;
}
long AddRtsLiveStreamTranscodeRequest::getOwnerId()const
{
return ownerId_;
void AddRtsLiveStreamTranscodeRequest::setFPS(int fPS) {
fPS_ = fPS;
setParameter(std::string("FPS"), std::to_string(fPS));
}
void AddRtsLiveStreamTranscodeRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long AddRtsLiveStreamTranscodeRequest::getOwnerId() const {
return ownerId_;
}
int AddRtsLiveStreamTranscodeRequest::getAudioRate()const
{
return audioRate_;
void AddRtsLiveStreamTranscodeRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void AddRtsLiveStreamTranscodeRequest::setAudioRate(int audioRate)
{
audioRate_ = audioRate;
setParameter("AudioRate", std::to_string(audioRate));
int AddRtsLiveStreamTranscodeRequest::getAudioRate() const {
return audioRate_;
}
int AddRtsLiveStreamTranscodeRequest::getAudioBitrate()const
{
return audioBitrate_;
void AddRtsLiveStreamTranscodeRequest::setAudioRate(int audioRate) {
audioRate_ = audioRate;
setParameter(std::string("AudioRate"), std::to_string(audioRate));
}
void AddRtsLiveStreamTranscodeRequest::setAudioBitrate(int audioBitrate)
{
audioBitrate_ = audioBitrate;
setParameter("AudioBitrate", std::to_string(audioBitrate));
int AddRtsLiveStreamTranscodeRequest::getAudioBitrate() const {
return audioBitrate_;
}
std::string AddRtsLiveStreamTranscodeRequest::getDomain()const
{
return domain_;
void AddRtsLiveStreamTranscodeRequest::setAudioBitrate(int audioBitrate) {
audioBitrate_ = audioBitrate;
setParameter(std::string("AudioBitrate"), std::to_string(audioBitrate));
}
void AddRtsLiveStreamTranscodeRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string AddRtsLiveStreamTranscodeRequest::getDomain() const {
return domain_;
}
int AddRtsLiveStreamTranscodeRequest::getWidth()const
{
return width_;
void AddRtsLiveStreamTranscodeRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
void AddRtsLiveStreamTranscodeRequest::setWidth(int width)
{
width_ = width;
setParameter("Width", std::to_string(width));
int AddRtsLiveStreamTranscodeRequest::getWidth() const {
return width_;
}
int AddRtsLiveStreamTranscodeRequest::getVideoBitrate()const
{
return videoBitrate_;
void AddRtsLiveStreamTranscodeRequest::setWidth(int width) {
width_ = width;
setParameter(std::string("Width"), std::to_string(width));
}
void AddRtsLiveStreamTranscodeRequest::setVideoBitrate(int videoBitrate)
{
videoBitrate_ = videoBitrate;
setParameter("VideoBitrate", std::to_string(videoBitrate));
int AddRtsLiveStreamTranscodeRequest::getVideoBitrate() const {
return videoBitrate_;
}
void AddRtsLiveStreamTranscodeRequest::setVideoBitrate(int videoBitrate) {
videoBitrate_ = videoBitrate;
setParameter(std::string("VideoBitrate"), std::to_string(videoBitrate));
}

View File

@@ -1,139 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <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_;
*/
#include <alibabacloud/live/model/AddShowIntoShowListRequest.h>
using AlibabaCloud::Live::Model::AddShowIntoShowListRequest;
AddShowIntoShowListRequest::AddShowIntoShowListRequest()
: RpcServiceRequest("live", "2016-11-01", "AddShowIntoShowList") {
setMethod(HttpRequest::Method::Post);
}
void AddShowIntoShowListRequest::setLiveInputType(int liveInputType)
{
liveInputType_ = liveInputType;
setParameter("LiveInputType", std::to_string(liveInputType));
AddShowIntoShowListRequest::~AddShowIntoShowListRequest() {}
int AddShowIntoShowListRequest::getLiveInputType() const {
return liveInputType_;
}
long AddShowIntoShowListRequest::getDuration()const
{
return duration_;
void AddShowIntoShowListRequest::setLiveInputType(int liveInputType) {
liveInputType_ = liveInputType;
setParameter(std::string("LiveInputType"), std::to_string(liveInputType));
}
void AddShowIntoShowListRequest::setDuration(long duration)
{
duration_ = duration;
setParameter("Duration", std::to_string(duration));
long AddShowIntoShowListRequest::getDuration() const {
return duration_;
}
int AddShowIntoShowListRequest::getRepeatTimes()const
{
return repeatTimes_;
void AddShowIntoShowListRequest::setDuration(long duration) {
duration_ = duration;
setParameter(std::string("Duration"), std::to_string(duration));
}
void AddShowIntoShowListRequest::setRepeatTimes(int repeatTimes)
{
repeatTimes_ = repeatTimes;
setParameter("RepeatTimes", std::to_string(repeatTimes));
int AddShowIntoShowListRequest::getRepeatTimes() const {
return repeatTimes_;
}
std::string AddShowIntoShowListRequest::getShowName()const
{
return showName_;
void AddShowIntoShowListRequest::setRepeatTimes(int repeatTimes) {
repeatTimes_ = repeatTimes;
setParameter(std::string("RepeatTimes"), std::to_string(repeatTimes));
}
void AddShowIntoShowListRequest::setShowName(const std::string& showName)
{
showName_ = showName;
setParameter("ShowName", showName);
std::string AddShowIntoShowListRequest::getShowName() const {
return showName_;
}
std::string AddShowIntoShowListRequest::getResourceId()const
{
return resourceId_;
void AddShowIntoShowListRequest::setShowName(const std::string &showName) {
showName_ = showName;
setParameter(std::string("ShowName"), showName);
}
void AddShowIntoShowListRequest::setResourceId(const std::string& resourceId)
{
resourceId_ = resourceId;
setParameter("ResourceId", resourceId);
std::string AddShowIntoShowListRequest::getResourceId() const {
return resourceId_;
}
std::string AddShowIntoShowListRequest::getCasterId()const
{
return casterId_;
void AddShowIntoShowListRequest::setResourceId(const std::string &resourceId) {
resourceId_ = resourceId;
setParameter(std::string("ResourceId"), resourceId);
}
void AddShowIntoShowListRequest::setCasterId(const std::string& casterId)
{
casterId_ = casterId;
setParameter("CasterId", casterId);
std::string AddShowIntoShowListRequest::getCasterId() const {
return casterId_;
}
long AddShowIntoShowListRequest::getOwnerId()const
{
return ownerId_;
void AddShowIntoShowListRequest::setCasterId(const std::string &casterId) {
casterId_ = casterId;
setParameter(std::string("CasterId"), casterId);
}
void AddShowIntoShowListRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long AddShowIntoShowListRequest::getOwnerId() const {
return ownerId_;
}
std::string AddShowIntoShowListRequest::getResourceType()const
{
return resourceType_;
void AddShowIntoShowListRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void AddShowIntoShowListRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setParameter("ResourceType", resourceType);
std::string AddShowIntoShowListRequest::getResourceType() const {
return resourceType_;
}
std::string AddShowIntoShowListRequest::getResourceUrl()const
{
return resourceUrl_;
void AddShowIntoShowListRequest::setResourceType(const std::string &resourceType) {
resourceType_ = resourceType;
setParameter(std::string("ResourceType"), resourceType);
}
void AddShowIntoShowListRequest::setResourceUrl(const std::string& resourceUrl)
{
resourceUrl_ = resourceUrl;
setParameter("ResourceUrl", resourceUrl);
std::string AddShowIntoShowListRequest::getResourceUrl() const {
return resourceUrl_;
}
int AddShowIntoShowListRequest::getSpot()const
{
return spot_;
void AddShowIntoShowListRequest::setResourceUrl(const std::string &resourceUrl) {
resourceUrl_ = resourceUrl;
setParameter(std::string("ResourceUrl"), resourceUrl);
}
void AddShowIntoShowListRequest::setSpot(int spot)
{
spot_ = spot;
setParameter("Spot", std::to_string(spot));
int AddShowIntoShowListRequest::getSpot() const {
return spot_;
}
void AddShowIntoShowListRequest::setSpot(int spot) {
spot_ = spot;
setParameter(std::string("Spot"), std::to_string(spot));
}

View File

@@ -1,128 +1,108 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/AddStudioLayoutRequest.h>
using AlibabaCloud::Live::Model::AddStudioLayoutRequest;
AddStudioLayoutRequest::AddStudioLayoutRequest() :
RpcServiceRequest("live", "2016-11-01", "AddStudioLayout")
{
setMethod(HttpRequest::Method::Post);
}
AddStudioLayoutRequest::~AddStudioLayoutRequest()
{}
std::string AddStudioLayoutRequest::getScreenInputConfigList()const
{
return screenInputConfigList_;
*/
#include <alibabacloud/live/model/AddStudioLayoutRequest.h>
using AlibabaCloud::Live::Model::AddStudioLayoutRequest;
AddStudioLayoutRequest::AddStudioLayoutRequest()
: RpcServiceRequest("live", "2016-11-01", "AddStudioLayout") {
setMethod(HttpRequest::Method::Post);
}
void AddStudioLayoutRequest::setScreenInputConfigList(const std::string& screenInputConfigList)
{
screenInputConfigList_ = screenInputConfigList;
setParameter("ScreenInputConfigList", screenInputConfigList);
AddStudioLayoutRequest::~AddStudioLayoutRequest() {}
std::string AddStudioLayoutRequest::getScreenInputConfigList() const {
return screenInputConfigList_;
}
std::string AddStudioLayoutRequest::getLayoutType()const
{
return layoutType_;
void AddStudioLayoutRequest::setScreenInputConfigList(const std::string &screenInputConfigList) {
screenInputConfigList_ = screenInputConfigList;
setParameter(std::string("ScreenInputConfigList"), screenInputConfigList);
}
void AddStudioLayoutRequest::setLayoutType(const std::string& layoutType)
{
layoutType_ = layoutType;
setParameter("LayoutType", layoutType);
std::string AddStudioLayoutRequest::getLayoutType() const {
return layoutType_;
}
std::string AddStudioLayoutRequest::getLayoutName()const
{
return layoutName_;
void AddStudioLayoutRequest::setLayoutType(const std::string &layoutType) {
layoutType_ = layoutType;
setParameter(std::string("LayoutType"), layoutType);
}
void AddStudioLayoutRequest::setLayoutName(const std::string& layoutName)
{
layoutName_ = layoutName;
setParameter("LayoutName", layoutName);
std::string AddStudioLayoutRequest::getLayoutName() const {
return layoutName_;
}
std::string AddStudioLayoutRequest::getLayerOrderConfigList()const
{
return layerOrderConfigList_;
void AddStudioLayoutRequest::setLayoutName(const std::string &layoutName) {
layoutName_ = layoutName;
setParameter(std::string("LayoutName"), layoutName);
}
void AddStudioLayoutRequest::setLayerOrderConfigList(const std::string& layerOrderConfigList)
{
layerOrderConfigList_ = layerOrderConfigList;
setParameter("LayerOrderConfigList", layerOrderConfigList);
std::string AddStudioLayoutRequest::getLayerOrderConfigList() const {
return layerOrderConfigList_;
}
std::string AddStudioLayoutRequest::getMediaInputConfigList()const
{
return mediaInputConfigList_;
void AddStudioLayoutRequest::setLayerOrderConfigList(const std::string &layerOrderConfigList) {
layerOrderConfigList_ = layerOrderConfigList;
setParameter(std::string("LayerOrderConfigList"), layerOrderConfigList);
}
void AddStudioLayoutRequest::setMediaInputConfigList(const std::string& mediaInputConfigList)
{
mediaInputConfigList_ = mediaInputConfigList;
setParameter("MediaInputConfigList", mediaInputConfigList);
std::string AddStudioLayoutRequest::getMediaInputConfigList() const {
return mediaInputConfigList_;
}
std::string AddStudioLayoutRequest::getCasterId()const
{
return casterId_;
void AddStudioLayoutRequest::setMediaInputConfigList(const std::string &mediaInputConfigList) {
mediaInputConfigList_ = mediaInputConfigList;
setParameter(std::string("MediaInputConfigList"), mediaInputConfigList);
}
void AddStudioLayoutRequest::setCasterId(const std::string& casterId)
{
casterId_ = casterId;
setParameter("CasterId", casterId);
std::string AddStudioLayoutRequest::getCasterId() const {
return casterId_;
}
std::string AddStudioLayoutRequest::getBgImageConfig()const
{
return bgImageConfig_;
void AddStudioLayoutRequest::setCasterId(const std::string &casterId) {
casterId_ = casterId;
setParameter(std::string("CasterId"), casterId);
}
void AddStudioLayoutRequest::setBgImageConfig(const std::string& bgImageConfig)
{
bgImageConfig_ = bgImageConfig;
setParameter("BgImageConfig", bgImageConfig);
std::string AddStudioLayoutRequest::getBgImageConfig() const {
return bgImageConfig_;
}
long AddStudioLayoutRequest::getOwnerId()const
{
return ownerId_;
void AddStudioLayoutRequest::setBgImageConfig(const std::string &bgImageConfig) {
bgImageConfig_ = bgImageConfig;
setParameter(std::string("BgImageConfig"), bgImageConfig);
}
void AddStudioLayoutRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long AddStudioLayoutRequest::getOwnerId() const {
return ownerId_;
}
std::string AddStudioLayoutRequest::getCommonConfig()const
{
return commonConfig_;
void AddStudioLayoutRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void AddStudioLayoutRequest::setCommonConfig(const std::string& commonConfig)
{
commonConfig_ = commonConfig;
setParameter("CommonConfig", commonConfig);
std::string AddStudioLayoutRequest::getCommonConfig() const {
return commonConfig_;
}
void AddStudioLayoutRequest::setCommonConfig(const std::string &commonConfig) {
commonConfig_ = commonConfig;
setParameter(std::string("CommonConfig"), commonConfig);
}

View File

@@ -1,117 +1,99 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/AddTrancodeSEIRequest.h>
using AlibabaCloud::Live::Model::AddTrancodeSEIRequest;
AddTrancodeSEIRequest::AddTrancodeSEIRequest() :
RpcServiceRequest("live", "2016-11-01", "AddTrancodeSEI")
{
setMethod(HttpRequest::Method::Post);
}
AddTrancodeSEIRequest::~AddTrancodeSEIRequest()
{}
std::string AddTrancodeSEIRequest::getPattern()const
{
return pattern_;
*/
#include <alibabacloud/live/model/AddTrancodeSEIRequest.h>
using AlibabaCloud::Live::Model::AddTrancodeSEIRequest;
AddTrancodeSEIRequest::AddTrancodeSEIRequest()
: RpcServiceRequest("live", "2016-11-01", "AddTrancodeSEI") {
setMethod(HttpRequest::Method::Post);
}
void AddTrancodeSEIRequest::setPattern(const std::string& pattern)
{
pattern_ = pattern;
setParameter("Pattern", pattern);
AddTrancodeSEIRequest::~AddTrancodeSEIRequest() {}
std::string AddTrancodeSEIRequest::getPattern() const {
return pattern_;
}
std::string AddTrancodeSEIRequest::getAppName()const
{
return appName_;
void AddTrancodeSEIRequest::setPattern(const std::string &pattern) {
pattern_ = pattern;
setParameter(std::string("Pattern"), pattern);
}
void AddTrancodeSEIRequest::setAppName(const std::string& appName)
{
appName_ = appName;
setParameter("AppName", appName);
std::string AddTrancodeSEIRequest::getAppName() const {
return appName_;
}
int AddTrancodeSEIRequest::getRepeat()const
{
return repeat_;
void AddTrancodeSEIRequest::setAppName(const std::string &appName) {
appName_ = appName;
setParameter(std::string("AppName"), appName);
}
void AddTrancodeSEIRequest::setRepeat(int repeat)
{
repeat_ = repeat;
setParameter("Repeat", std::to_string(repeat));
int AddTrancodeSEIRequest::getRepeat() const {
return repeat_;
}
std::string AddTrancodeSEIRequest::getText()const
{
return text_;
void AddTrancodeSEIRequest::setRepeat(int repeat) {
repeat_ = repeat;
setParameter(std::string("Repeat"), std::to_string(repeat));
}
void AddTrancodeSEIRequest::setText(const std::string& text)
{
text_ = text;
setParameter("Text", text);
std::string AddTrancodeSEIRequest::getText() const {
return text_;
}
std::string AddTrancodeSEIRequest::getStreamName()const
{
return streamName_;
void AddTrancodeSEIRequest::setText(const std::string &text) {
text_ = text;
setParameter(std::string("Text"), text);
}
void AddTrancodeSEIRequest::setStreamName(const std::string& streamName)
{
streamName_ = streamName;
setParameter("StreamName", streamName);
std::string AddTrancodeSEIRequest::getStreamName() const {
return streamName_;
}
std::string AddTrancodeSEIRequest::getDomainName()const
{
return domainName_;
void AddTrancodeSEIRequest::setStreamName(const std::string &streamName) {
streamName_ = streamName;
setParameter(std::string("StreamName"), streamName);
}
void AddTrancodeSEIRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
std::string AddTrancodeSEIRequest::getDomainName() const {
return domainName_;
}
long AddTrancodeSEIRequest::getOwnerId()const
{
return ownerId_;
void AddTrancodeSEIRequest::setDomainName(const std::string &domainName) {
domainName_ = domainName;
setParameter(std::string("DomainName"), domainName);
}
void AddTrancodeSEIRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long AddTrancodeSEIRequest::getOwnerId() const {
return ownerId_;
}
int AddTrancodeSEIRequest::getDelay()const
{
return delay_;
void AddTrancodeSEIRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void AddTrancodeSEIRequest::setDelay(int delay)
{
delay_ = delay;
setParameter("Delay", std::to_string(delay));
int AddTrancodeSEIRequest::getDelay() const {
return delay_;
}
void AddTrancodeSEIRequest::setDelay(int delay) {
delay_ = delay;
setParameter(std::string("Delay"), std::to_string(delay));
}

View File

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

View File

@@ -1,73 +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/ApplyBoardTokenRequest.h>
using AlibabaCloud::Live::Model::ApplyBoardTokenRequest;
ApplyBoardTokenRequest::ApplyBoardTokenRequest() :
RpcServiceRequest("live", "2016-11-01", "ApplyBoardToken")
{
setMethod(HttpRequest::Method::Post);
}
ApplyBoardTokenRequest::~ApplyBoardTokenRequest()
{}
std::string ApplyBoardTokenRequest::getBoardId()const
{
return boardId_;
}
void ApplyBoardTokenRequest::setBoardId(const std::string& boardId)
{
boardId_ = boardId;
setParameter("BoardId", boardId);
}
std::string ApplyBoardTokenRequest::getAppUid()const
{
return appUid_;
}
void ApplyBoardTokenRequest::setAppUid(const std::string& appUid)
{
appUid_ = appUid;
setParameter("AppUid", appUid);
}
long ApplyBoardTokenRequest::getOwnerId()const
{
return ownerId_;
}
void ApplyBoardTokenRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string ApplyBoardTokenRequest::getAppId()const
{
return appId_;
}
void ApplyBoardTokenRequest::setAppId(const std::string& appId)
{
appId_ = appId;
setParameter("AppId", appId);
}

View File

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

View File

@@ -1,51 +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/ApplyRecordTokenRequest.h>
using AlibabaCloud::Live::Model::ApplyRecordTokenRequest;
ApplyRecordTokenRequest::ApplyRecordTokenRequest() :
RpcServiceRequest("live", "2016-11-01", "ApplyRecordToken")
{
setMethod(HttpRequest::Method::Post);
}
ApplyRecordTokenRequest::~ApplyRecordTokenRequest()
{}
long ApplyRecordTokenRequest::getOwnerId()const
{
return ownerId_;
}
void ApplyRecordTokenRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string ApplyRecordTokenRequest::getAppId()const
{
return appId_;
}
void ApplyRecordTokenRequest::setAppId(const std::string& appId)
{
appId_ = appId;
setParameter("AppId", appId);
}

View File

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

View File

@@ -1,84 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/BatchDeleteLiveDomainConfigsRequest.h>
using AlibabaCloud::Live::Model::BatchDeleteLiveDomainConfigsRequest;
BatchDeleteLiveDomainConfigsRequest::BatchDeleteLiveDomainConfigsRequest() :
RpcServiceRequest("live", "2016-11-01", "BatchDeleteLiveDomainConfigs")
{
setMethod(HttpRequest::Method::Post);
}
BatchDeleteLiveDomainConfigsRequest::~BatchDeleteLiveDomainConfigsRequest()
{}
std::string BatchDeleteLiveDomainConfigsRequest::getFunctionNames()const
{
return functionNames_;
*/
#include <alibabacloud/live/model/BatchDeleteLiveDomainConfigsRequest.h>
using AlibabaCloud::Live::Model::BatchDeleteLiveDomainConfigsRequest;
BatchDeleteLiveDomainConfigsRequest::BatchDeleteLiveDomainConfigsRequest()
: RpcServiceRequest("live", "2016-11-01", "BatchDeleteLiveDomainConfigs") {
setMethod(HttpRequest::Method::Post);
}
void BatchDeleteLiveDomainConfigsRequest::setFunctionNames(const std::string& functionNames)
{
functionNames_ = functionNames;
setParameter("FunctionNames", functionNames);
BatchDeleteLiveDomainConfigsRequest::~BatchDeleteLiveDomainConfigsRequest() {}
std::string BatchDeleteLiveDomainConfigsRequest::getFunctionNames() const {
return functionNames_;
}
std::string BatchDeleteLiveDomainConfigsRequest::getDomainNames()const
{
return domainNames_;
void BatchDeleteLiveDomainConfigsRequest::setFunctionNames(const std::string &functionNames) {
functionNames_ = functionNames;
setParameter(std::string("FunctionNames"), functionNames);
}
void BatchDeleteLiveDomainConfigsRequest::setDomainNames(const std::string& domainNames)
{
domainNames_ = domainNames;
setParameter("DomainNames", domainNames);
std::string BatchDeleteLiveDomainConfigsRequest::getDomainNames() const {
return domainNames_;
}
std::string BatchDeleteLiveDomainConfigsRequest::getOwnerAccount()const
{
return ownerAccount_;
void BatchDeleteLiveDomainConfigsRequest::setDomainNames(const std::string &domainNames) {
domainNames_ = domainNames;
setParameter(std::string("DomainNames"), domainNames);
}
void BatchDeleteLiveDomainConfigsRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
std::string BatchDeleteLiveDomainConfigsRequest::getOwnerAccount() const {
return ownerAccount_;
}
long BatchDeleteLiveDomainConfigsRequest::getOwnerId()const
{
return ownerId_;
void BatchDeleteLiveDomainConfigsRequest::setOwnerAccount(const std::string &ownerAccount) {
ownerAccount_ = ownerAccount;
setParameter(std::string("OwnerAccount"), ownerAccount);
}
void BatchDeleteLiveDomainConfigsRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long BatchDeleteLiveDomainConfigsRequest::getOwnerId() const {
return ownerId_;
}
std::string BatchDeleteLiveDomainConfigsRequest::getSecurityToken()const
{
return securityToken_;
void BatchDeleteLiveDomainConfigsRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void BatchDeleteLiveDomainConfigsRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
std::string BatchDeleteLiveDomainConfigsRequest::getSecurityToken() const {
return securityToken_;
}
void BatchDeleteLiveDomainConfigsRequest::setSecurityToken(const std::string &securityToken) {
securityToken_ = securityToken;
setParameter(std::string("SecurityToken"), securityToken);
}

View File

@@ -1,84 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/BatchSetLiveDomainConfigsRequest.h>
using AlibabaCloud::Live::Model::BatchSetLiveDomainConfigsRequest;
BatchSetLiveDomainConfigsRequest::BatchSetLiveDomainConfigsRequest() :
RpcServiceRequest("live", "2016-11-01", "BatchSetLiveDomainConfigs")
{
setMethod(HttpRequest::Method::Post);
}
BatchSetLiveDomainConfigsRequest::~BatchSetLiveDomainConfigsRequest()
{}
std::string BatchSetLiveDomainConfigsRequest::getFunctions()const
{
return functions_;
*/
#include <alibabacloud/live/model/BatchSetLiveDomainConfigsRequest.h>
using AlibabaCloud::Live::Model::BatchSetLiveDomainConfigsRequest;
BatchSetLiveDomainConfigsRequest::BatchSetLiveDomainConfigsRequest()
: RpcServiceRequest("live", "2016-11-01", "BatchSetLiveDomainConfigs") {
setMethod(HttpRequest::Method::Post);
}
void BatchSetLiveDomainConfigsRequest::setFunctions(const std::string& functions)
{
functions_ = functions;
setParameter("Functions", functions);
BatchSetLiveDomainConfigsRequest::~BatchSetLiveDomainConfigsRequest() {}
std::string BatchSetLiveDomainConfigsRequest::getFunctions() const {
return functions_;
}
std::string BatchSetLiveDomainConfigsRequest::getDomainNames()const
{
return domainNames_;
void BatchSetLiveDomainConfigsRequest::setFunctions(const std::string &functions) {
functions_ = functions;
setParameter(std::string("Functions"), functions);
}
void BatchSetLiveDomainConfigsRequest::setDomainNames(const std::string& domainNames)
{
domainNames_ = domainNames;
setParameter("DomainNames", domainNames);
std::string BatchSetLiveDomainConfigsRequest::getDomainNames() const {
return domainNames_;
}
std::string BatchSetLiveDomainConfigsRequest::getOwnerAccount()const
{
return ownerAccount_;
void BatchSetLiveDomainConfigsRequest::setDomainNames(const std::string &domainNames) {
domainNames_ = domainNames;
setParameter(std::string("DomainNames"), domainNames);
}
void BatchSetLiveDomainConfigsRequest::setOwnerAccount(const std::string& ownerAccount)
{
ownerAccount_ = ownerAccount;
setParameter("OwnerAccount", ownerAccount);
std::string BatchSetLiveDomainConfigsRequest::getOwnerAccount() const {
return ownerAccount_;
}
long BatchSetLiveDomainConfigsRequest::getOwnerId()const
{
return ownerId_;
void BatchSetLiveDomainConfigsRequest::setOwnerAccount(const std::string &ownerAccount) {
ownerAccount_ = ownerAccount;
setParameter(std::string("OwnerAccount"), ownerAccount);
}
void BatchSetLiveDomainConfigsRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long BatchSetLiveDomainConfigsRequest::getOwnerId() const {
return ownerId_;
}
std::string BatchSetLiveDomainConfigsRequest::getSecurityToken()const
{
return securityToken_;
void BatchSetLiveDomainConfigsRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void BatchSetLiveDomainConfigsRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
std::string BatchSetLiveDomainConfigsRequest::getSecurityToken() const {
return securityToken_;
}
void BatchSetLiveDomainConfigsRequest::setSecurityToken(const std::string &securityToken) {
securityToken_ = securityToken;
setParameter(std::string("SecurityToken"), securityToken);
}

View File

@@ -1,84 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/CheckServiceForRoleRequest.h>
using AlibabaCloud::Live::Model::CheckServiceForRoleRequest;
CheckServiceForRoleRequest::CheckServiceForRoleRequest() :
RpcServiceRequest("live", "2016-11-01", "CheckServiceForRole")
{
setMethod(HttpRequest::Method::Post);
}
CheckServiceForRoleRequest::~CheckServiceForRoleRequest()
{}
std::string CheckServiceForRoleRequest::getAccountId()const
{
return accountId_;
*/
#include <alibabacloud/live/model/CheckServiceForRoleRequest.h>
using AlibabaCloud::Live::Model::CheckServiceForRoleRequest;
CheckServiceForRoleRequest::CheckServiceForRoleRequest()
: RpcServiceRequest("live", "2016-11-01", "CheckServiceForRole") {
setMethod(HttpRequest::Method::Post);
}
void CheckServiceForRoleRequest::setAccountId(const std::string& accountId)
{
accountId_ = accountId;
setParameter("AccountId", accountId);
CheckServiceForRoleRequest::~CheckServiceForRoleRequest() {}
std::string CheckServiceForRoleRequest::getAccountId() const {
return accountId_;
}
std::string CheckServiceForRoleRequest::getSPIRegionId()const
{
return sPIRegionId_;
void CheckServiceForRoleRequest::setAccountId(const std::string &accountId) {
accountId_ = accountId;
setParameter(std::string("AccountId"), accountId);
}
void CheckServiceForRoleRequest::setSPIRegionId(const std::string& sPIRegionId)
{
sPIRegionId_ = sPIRegionId;
setParameter("SPIRegionId", sPIRegionId);
std::string CheckServiceForRoleRequest::getSPIRegionId() const {
return sPIRegionId_;
}
std::string CheckServiceForRoleRequest::getRoleArn()const
{
return roleArn_;
void CheckServiceForRoleRequest::setSPIRegionId(const std::string &sPIRegionId) {
sPIRegionId_ = sPIRegionId;
setParameter(std::string("SPIRegionId"), sPIRegionId);
}
void CheckServiceForRoleRequest::setRoleArn(const std::string& roleArn)
{
roleArn_ = roleArn;
setParameter("RoleArn", roleArn);
std::string CheckServiceForRoleRequest::getRoleArn() const {
return roleArn_;
}
std::string CheckServiceForRoleRequest::getDeletionTaskId()const
{
return deletionTaskId_;
void CheckServiceForRoleRequest::setRoleArn(const std::string &roleArn) {
roleArn_ = roleArn;
setParameter(std::string("RoleArn"), roleArn);
}
void CheckServiceForRoleRequest::setDeletionTaskId(const std::string& deletionTaskId)
{
deletionTaskId_ = deletionTaskId;
setParameter("DeletionTaskId", deletionTaskId);
std::string CheckServiceForRoleRequest::getDeletionTaskId() const {
return deletionTaskId_;
}
std::string CheckServiceForRoleRequest::getServiceName()const
{
return serviceName_;
void CheckServiceForRoleRequest::setDeletionTaskId(const std::string &deletionTaskId) {
deletionTaskId_ = deletionTaskId;
setParameter(std::string("DeletionTaskId"), deletionTaskId);
}
void CheckServiceForRoleRequest::setServiceName(const std::string& serviceName)
{
serviceName_ = serviceName;
setParameter("ServiceName", serviceName);
std::string CheckServiceForRoleRequest::getServiceName() const {
return serviceName_;
}
void CheckServiceForRoleRequest::setServiceName(const std::string &serviceName) {
serviceName_ = serviceName;
setParameter(std::string("ServiceName"), serviceName);
}

View File

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

View File

@@ -1,73 +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/CompleteBoardRecordRequest.h>
using AlibabaCloud::Live::Model::CompleteBoardRecordRequest;
CompleteBoardRecordRequest::CompleteBoardRecordRequest() :
RpcServiceRequest("live", "2016-11-01", "CompleteBoardRecord")
{
setMethod(HttpRequest::Method::Post);
}
CompleteBoardRecordRequest::~CompleteBoardRecordRequest()
{}
std::string CompleteBoardRecordRequest::getEndTime()const
{
return endTime_;
}
void CompleteBoardRecordRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
}
long CompleteBoardRecordRequest::getOwnerId()const
{
return ownerId_;
}
void CompleteBoardRecordRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CompleteBoardRecordRequest::getRecordId()const
{
return recordId_;
}
void CompleteBoardRecordRequest::setRecordId(const std::string& recordId)
{
recordId_ = recordId;
setParameter("RecordId", recordId);
}
std::string CompleteBoardRecordRequest::getAppId()const
{
return appId_;
}
void CompleteBoardRecordRequest::setAppId(const std::string& appId)
{
appId_ = appId;
setParameter("AppId", appId);
}

View File

@@ -1,51 +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/CompleteBoardRecordResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
CompleteBoardRecordResult::CompleteBoardRecordResult() :
ServiceResult()
{}
CompleteBoardRecordResult::CompleteBoardRecordResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CompleteBoardRecordResult::~CompleteBoardRecordResult()
{}
void CompleteBoardRecordResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["OssPath"].isNull())
ossPath_ = value["OssPath"].asString();
}
std::string CompleteBoardRecordResult::getOssPath()const
{
return ossPath_;
}

View File

@@ -1,62 +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/CompleteBoardRequest.h>
using AlibabaCloud::Live::Model::CompleteBoardRequest;
CompleteBoardRequest::CompleteBoardRequest() :
RpcServiceRequest("live", "2016-11-01", "CompleteBoard")
{
setMethod(HttpRequest::Method::Post);
}
CompleteBoardRequest::~CompleteBoardRequest()
{}
long CompleteBoardRequest::getOwnerId()const
{
return ownerId_;
}
void CompleteBoardRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CompleteBoardRequest::getAppId()const
{
return appId_;
}
void CompleteBoardRequest::setAppId(const std::string& appId)
{
appId_ = appId;
setParameter("AppId", appId);
}
std::string CompleteBoardRequest::getBoardId()const
{
return boardId_;
}
void CompleteBoardRequest::setBoardId(const std::string& boardId)
{
boardId_ = boardId;
setParameter("BoardId", boardId);
}

View File

@@ -1,44 +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/CompleteBoardResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
CompleteBoardResult::CompleteBoardResult() :
ServiceResult()
{}
CompleteBoardResult::CompleteBoardResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CompleteBoardResult::~CompleteBoardResult()
{}
void CompleteBoardResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/live/model/ControlHtmlResourceRequest.h>
using AlibabaCloud::Live::Model::ControlHtmlResourceRequest;
ControlHtmlResourceRequest::ControlHtmlResourceRequest() :
RpcServiceRequest("live", "2016-11-01", "ControlHtmlResource")
{
setMethod(HttpRequest::Method::Post);
}
ControlHtmlResourceRequest::~ControlHtmlResourceRequest()
{}
std::string ControlHtmlResourceRequest::getHtmlUrl()const
{
return htmlUrl_;
}
void ControlHtmlResourceRequest::setHtmlUrl(const std::string& htmlUrl)
{
htmlUrl_ = htmlUrl;
setParameter("HtmlUrl", htmlUrl);
}
std::string ControlHtmlResourceRequest::getCasterId()const
{
return casterId_;
}
void ControlHtmlResourceRequest::setCasterId(const std::string& casterId)
{
casterId_ = casterId;
setParameter("CasterId", casterId);
}
long ControlHtmlResourceRequest::getOwnerId()const
{
return ownerId_;
}
void ControlHtmlResourceRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string ControlHtmlResourceRequest::getOperate()const
{
return operate_;
}
void ControlHtmlResourceRequest::setOperate(const std::string& operate)
{
operate_ = operate;
setParameter("Operate", operate);
}
std::string ControlHtmlResourceRequest::getHtmlResourceId()const
{
return htmlResourceId_;
}
void ControlHtmlResourceRequest::setHtmlResourceId(const std::string& htmlResourceId)
{
htmlResourceId_ = htmlResourceId;
setParameter("HtmlResourceId", htmlResourceId);
}

View File

@@ -1,51 +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/ControlHtmlResourceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
ControlHtmlResourceResult::ControlHtmlResourceResult() :
ServiceResult()
{}
ControlHtmlResourceResult::ControlHtmlResourceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ControlHtmlResourceResult::~ControlHtmlResourceResult()
{}
void ControlHtmlResourceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["StreamId"].isNull())
streamId_ = value["StreamId"].asString();
}
std::string ControlHtmlResourceResult::getStreamId()const
{
return streamId_;
}

View File

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

View File

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

View File

@@ -1,62 +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/CreateBoardRequest.h>
using AlibabaCloud::Live::Model::CreateBoardRequest;
CreateBoardRequest::CreateBoardRequest() :
RpcServiceRequest("live", "2016-11-01", "CreateBoard")
{
setMethod(HttpRequest::Method::Post);
}
CreateBoardRequest::~CreateBoardRequest()
{}
std::string CreateBoardRequest::getAppUid()const
{
return appUid_;
}
void CreateBoardRequest::setAppUid(const std::string& appUid)
{
appUid_ = appUid;
setParameter("AppUid", appUid);
}
long CreateBoardRequest::getOwnerId()const
{
return ownerId_;
}
void CreateBoardRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateBoardRequest::getAppId()const
{
return appId_;
}
void CreateBoardRequest::setAppId(const std::string& appId)
{
appId_ = appId;
setParameter("AppId", appId);
}

View File

@@ -1,51 +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/CreateBoardResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
CreateBoardResult::CreateBoardResult() :
ServiceResult()
{}
CreateBoardResult::CreateBoardResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateBoardResult::~CreateBoardResult()
{}
void CreateBoardResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["BoardId"].isNull())
boardId_ = value["BoardId"].asString();
}
std::string CreateBoardResult::getBoardId()const
{
return boardId_;
}

View File

@@ -1,128 +1,108 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/CreateCasterRequest.h>
using AlibabaCloud::Live::Model::CreateCasterRequest;
CreateCasterRequest::CreateCasterRequest() :
RpcServiceRequest("live", "2016-11-01", "CreateCaster")
{
setMethod(HttpRequest::Method::Post);
}
CreateCasterRequest::~CreateCasterRequest()
{}
std::string CreateCasterRequest::getClientToken()const
{
return clientToken_;
*/
#include <alibabacloud/live/model/CreateCasterRequest.h>
using AlibabaCloud::Live::Model::CreateCasterRequest;
CreateCasterRequest::CreateCasterRequest()
: RpcServiceRequest("live", "2016-11-01", "CreateCaster") {
setMethod(HttpRequest::Method::Post);
}
void CreateCasterRequest::setClientToken(const std::string& clientToken)
{
clientToken_ = clientToken;
setParameter("ClientToken", clientToken);
CreateCasterRequest::~CreateCasterRequest() {}
std::string CreateCasterRequest::getClientToken() const {
return clientToken_;
}
std::string CreateCasterRequest::getCasterName()const
{
return casterName_;
void CreateCasterRequest::setClientToken(const std::string &clientToken) {
clientToken_ = clientToken;
setParameter(std::string("ClientToken"), clientToken);
}
void CreateCasterRequest::setCasterName(const std::string& casterName)
{
casterName_ = casterName;
setParameter("CasterName", casterName);
std::string CreateCasterRequest::getCasterName() const {
return casterName_;
}
std::string CreateCasterRequest::getCasterTemplate()const
{
return casterTemplate_;
void CreateCasterRequest::setCasterName(const std::string &casterName) {
casterName_ = casterName;
setParameter(std::string("CasterName"), casterName);
}
void CreateCasterRequest::setCasterTemplate(const std::string& casterTemplate)
{
casterTemplate_ = casterTemplate;
setParameter("CasterTemplate", casterTemplate);
std::string CreateCasterRequest::getCasterTemplate() const {
return casterTemplate_;
}
std::string CreateCasterRequest::getExpireTime()const
{
return expireTime_;
void CreateCasterRequest::setCasterTemplate(const std::string &casterTemplate) {
casterTemplate_ = casterTemplate;
setParameter(std::string("CasterTemplate"), casterTemplate);
}
void CreateCasterRequest::setExpireTime(const std::string& expireTime)
{
expireTime_ = expireTime;
setParameter("ExpireTime", expireTime);
std::string CreateCasterRequest::getExpireTime() const {
return expireTime_;
}
int CreateCasterRequest::getNormType()const
{
return normType_;
void CreateCasterRequest::setExpireTime(const std::string &expireTime) {
expireTime_ = expireTime;
setParameter(std::string("ExpireTime"), expireTime);
}
void CreateCasterRequest::setNormType(int normType)
{
normType_ = normType;
setParameter("NormType", std::to_string(normType));
int CreateCasterRequest::getNormType() const {
return normType_;
}
long CreateCasterRequest::getOwnerId()const
{
return ownerId_;
void CreateCasterRequest::setNormType(int normType) {
normType_ = normType;
setParameter(std::string("NormType"), std::to_string(normType));
}
void CreateCasterRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long CreateCasterRequest::getOwnerId() const {
return ownerId_;
}
std::string CreateCasterRequest::getPurchaseTime()const
{
return purchaseTime_;
void CreateCasterRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void CreateCasterRequest::setPurchaseTime(const std::string& purchaseTime)
{
purchaseTime_ = purchaseTime;
setParameter("PurchaseTime", purchaseTime);
std::string CreateCasterRequest::getPurchaseTime() const {
return purchaseTime_;
}
int CreateCasterRequest::getMicMode()const
{
return micMode_;
void CreateCasterRequest::setPurchaseTime(const std::string &purchaseTime) {
purchaseTime_ = purchaseTime;
setParameter(std::string("PurchaseTime"), purchaseTime);
}
void CreateCasterRequest::setMicMode(int micMode)
{
micMode_ = micMode;
setParameter("MicMode", std::to_string(micMode));
int CreateCasterRequest::getMicMode() const {
return micMode_;
}
std::string CreateCasterRequest::getChargeType()const
{
return chargeType_;
void CreateCasterRequest::setMicMode(int micMode) {
micMode_ = micMode;
setParameter(std::string("MicMode"), std::to_string(micMode));
}
void CreateCasterRequest::setChargeType(const std::string& chargeType)
{
chargeType_ = chargeType;
setParameter("ChargeType", chargeType);
std::string CreateCasterRequest::getChargeType() const {
return chargeType_;
}
void CreateCasterRequest::setChargeType(const std::string &chargeType) {
chargeType_ = chargeType;
setParameter(std::string("ChargeType"), chargeType);
}

View File

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

View File

@@ -1,84 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/CreateLiveRealTimeLogDeliveryRequest.h>
using AlibabaCloud::Live::Model::CreateLiveRealTimeLogDeliveryRequest;
CreateLiveRealTimeLogDeliveryRequest::CreateLiveRealTimeLogDeliveryRequest() :
RpcServiceRequest("live", "2016-11-01", "CreateLiveRealTimeLogDelivery")
{
setMethod(HttpRequest::Method::Get);
}
CreateLiveRealTimeLogDeliveryRequest::~CreateLiveRealTimeLogDeliveryRequest()
{}
std::string CreateLiveRealTimeLogDeliveryRequest::getProject()const
{
return project_;
*/
#include <alibabacloud/live/model/CreateLiveRealTimeLogDeliveryRequest.h>
using AlibabaCloud::Live::Model::CreateLiveRealTimeLogDeliveryRequest;
CreateLiveRealTimeLogDeliveryRequest::CreateLiveRealTimeLogDeliveryRequest()
: RpcServiceRequest("live", "2016-11-01", "CreateLiveRealTimeLogDelivery") {
setMethod(HttpRequest::Method::Get);
}
void CreateLiveRealTimeLogDeliveryRequest::setProject(const std::string& project)
{
project_ = project;
setParameter("Project", project);
CreateLiveRealTimeLogDeliveryRequest::~CreateLiveRealTimeLogDeliveryRequest() {}
std::string CreateLiveRealTimeLogDeliveryRequest::getProject() const {
return project_;
}
std::string CreateLiveRealTimeLogDeliveryRequest::getDomainName()const
{
return domainName_;
void CreateLiveRealTimeLogDeliveryRequest::setProject(const std::string &project) {
project_ = project;
setParameter(std::string("Project"), project);
}
void CreateLiveRealTimeLogDeliveryRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
std::string CreateLiveRealTimeLogDeliveryRequest::getDomainName() const {
return domainName_;
}
long CreateLiveRealTimeLogDeliveryRequest::getOwnerId()const
{
return ownerId_;
void CreateLiveRealTimeLogDeliveryRequest::setDomainName(const std::string &domainName) {
domainName_ = domainName;
setParameter(std::string("DomainName"), domainName);
}
void CreateLiveRealTimeLogDeliveryRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long CreateLiveRealTimeLogDeliveryRequest::getOwnerId() const {
return ownerId_;
}
std::string CreateLiveRealTimeLogDeliveryRequest::getRegion()const
{
return region_;
void CreateLiveRealTimeLogDeliveryRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void CreateLiveRealTimeLogDeliveryRequest::setRegion(const std::string& region)
{
region_ = region;
setParameter("Region", region);
std::string CreateLiveRealTimeLogDeliveryRequest::getRegion() const {
return region_;
}
std::string CreateLiveRealTimeLogDeliveryRequest::getLogstore()const
{
return logstore_;
void CreateLiveRealTimeLogDeliveryRequest::setRegion(const std::string &region) {
region_ = region;
setParameter(std::string("Region"), region);
}
void CreateLiveRealTimeLogDeliveryRequest::setLogstore(const std::string& logstore)
{
logstore_ = logstore;
setParameter("Logstore", logstore);
std::string CreateLiveRealTimeLogDeliveryRequest::getLogstore() const {
return logstore_;
}
void CreateLiveRealTimeLogDeliveryRequest::setLogstore(const std::string &logstore) {
logstore_ = logstore;
setParameter(std::string("Logstore"), logstore);
}

View File

@@ -1,106 +1,90 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/CreateLiveStreamMonitorRequest.h>
using AlibabaCloud::Live::Model::CreateLiveStreamMonitorRequest;
CreateLiveStreamMonitorRequest::CreateLiveStreamMonitorRequest() :
RpcServiceRequest("live", "2016-11-01", "CreateLiveStreamMonitor")
{
setMethod(HttpRequest::Method::Post);
}
CreateLiveStreamMonitorRequest::~CreateLiveStreamMonitorRequest()
{}
std::string CreateLiveStreamMonitorRequest::getMonitorName()const
{
return monitorName_;
*/
#include <alibabacloud/live/model/CreateLiveStreamMonitorRequest.h>
using AlibabaCloud::Live::Model::CreateLiveStreamMonitorRequest;
CreateLiveStreamMonitorRequest::CreateLiveStreamMonitorRequest()
: RpcServiceRequest("live", "2016-11-01", "CreateLiveStreamMonitor") {
setMethod(HttpRequest::Method::Post);
}
void CreateLiveStreamMonitorRequest::setMonitorName(const std::string& monitorName)
{
monitorName_ = monitorName;
setParameter("MonitorName", monitorName);
CreateLiveStreamMonitorRequest::~CreateLiveStreamMonitorRequest() {}
std::string CreateLiveStreamMonitorRequest::getMonitorName() const {
return monitorName_;
}
std::string CreateLiveStreamMonitorRequest::getStream()const
{
return stream_;
void CreateLiveStreamMonitorRequest::setMonitorName(const std::string &monitorName) {
monitorName_ = monitorName;
setParameter(std::string("MonitorName"), monitorName);
}
void CreateLiveStreamMonitorRequest::setStream(const std::string& stream)
{
stream_ = stream;
setParameter("Stream", stream);
std::string CreateLiveStreamMonitorRequest::getStream() const {
return stream_;
}
std::string CreateLiveStreamMonitorRequest::getOutputTemplate()const
{
return outputTemplate_;
void CreateLiveStreamMonitorRequest::setStream(const std::string &stream) {
stream_ = stream;
setParameter(std::string("Stream"), stream);
}
void CreateLiveStreamMonitorRequest::setOutputTemplate(const std::string& outputTemplate)
{
outputTemplate_ = outputTemplate;
setParameter("OutputTemplate", outputTemplate);
std::string CreateLiveStreamMonitorRequest::getOutputTemplate() const {
return outputTemplate_;
}
std::string CreateLiveStreamMonitorRequest::getApp()const
{
return app_;
void CreateLiveStreamMonitorRequest::setOutputTemplate(const std::string &outputTemplate) {
outputTemplate_ = outputTemplate;
setParameter(std::string("OutputTemplate"), outputTemplate);
}
void CreateLiveStreamMonitorRequest::setApp(const std::string& app)
{
app_ = app;
setParameter("App", app);
std::string CreateLiveStreamMonitorRequest::getApp() const {
return app_;
}
std::string CreateLiveStreamMonitorRequest::getInputList()const
{
return inputList_;
void CreateLiveStreamMonitorRequest::setApp(const std::string &app) {
app_ = app;
setParameter(std::string("App"), app);
}
void CreateLiveStreamMonitorRequest::setInputList(const std::string& inputList)
{
inputList_ = inputList;
setParameter("InputList", inputList);
std::string CreateLiveStreamMonitorRequest::getInputList() const {
return inputList_;
}
long CreateLiveStreamMonitorRequest::getOwnerId()const
{
return ownerId_;
void CreateLiveStreamMonitorRequest::setInputList(const std::string &inputList) {
inputList_ = inputList;
setParameter(std::string("InputList"), inputList);
}
void CreateLiveStreamMonitorRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long CreateLiveStreamMonitorRequest::getOwnerId() const {
return ownerId_;
}
std::string CreateLiveStreamMonitorRequest::getDomain()const
{
return domain_;
void CreateLiveStreamMonitorRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void CreateLiveStreamMonitorRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string CreateLiveStreamMonitorRequest::getDomain() const {
return domain_;
}
void CreateLiveStreamMonitorRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}

View File

@@ -1,139 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/CreateLiveStreamRecordIndexFilesRequest.h>
using AlibabaCloud::Live::Model::CreateLiveStreamRecordIndexFilesRequest;
CreateLiveStreamRecordIndexFilesRequest::CreateLiveStreamRecordIndexFilesRequest() :
RpcServiceRequest("live", "2016-11-01", "CreateLiveStreamRecordIndexFiles")
{
setMethod(HttpRequest::Method::Post);
}
CreateLiveStreamRecordIndexFilesRequest::~CreateLiveStreamRecordIndexFilesRequest()
{}
std::string CreateLiveStreamRecordIndexFilesRequest::getOssEndpoint()const
{
return ossEndpoint_;
*/
#include <alibabacloud/live/model/CreateLiveStreamRecordIndexFilesRequest.h>
using AlibabaCloud::Live::Model::CreateLiveStreamRecordIndexFilesRequest;
CreateLiveStreamRecordIndexFilesRequest::CreateLiveStreamRecordIndexFilesRequest()
: RpcServiceRequest("live", "2016-11-01", "CreateLiveStreamRecordIndexFiles") {
setMethod(HttpRequest::Method::Post);
}
void CreateLiveStreamRecordIndexFilesRequest::setOssEndpoint(const std::string& ossEndpoint)
{
ossEndpoint_ = ossEndpoint;
setParameter("OssEndpoint", ossEndpoint);
CreateLiveStreamRecordIndexFilesRequest::~CreateLiveStreamRecordIndexFilesRequest() {}
std::string CreateLiveStreamRecordIndexFilesRequest::getOssEndpoint() const {
return ossEndpoint_;
}
std::string CreateLiveStreamRecordIndexFilesRequest::getStartTime()const
{
return startTime_;
void CreateLiveStreamRecordIndexFilesRequest::setOssEndpoint(const std::string &ossEndpoint) {
ossEndpoint_ = ossEndpoint;
setParameter(std::string("OssEndpoint"), ossEndpoint);
}
void CreateLiveStreamRecordIndexFilesRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setParameter("StartTime", startTime);
std::string CreateLiveStreamRecordIndexFilesRequest::getStartTime() const {
return startTime_;
}
std::string CreateLiveStreamRecordIndexFilesRequest::getOssObject()const
{
return ossObject_;
void CreateLiveStreamRecordIndexFilesRequest::setStartTime(const std::string &startTime) {
startTime_ = startTime;
setParameter(std::string("StartTime"), startTime);
}
void CreateLiveStreamRecordIndexFilesRequest::setOssObject(const std::string& ossObject)
{
ossObject_ = ossObject;
setParameter("OssObject", ossObject);
std::string CreateLiveStreamRecordIndexFilesRequest::getOssObject() const {
return ossObject_;
}
std::string CreateLiveStreamRecordIndexFilesRequest::getAppName()const
{
return appName_;
void CreateLiveStreamRecordIndexFilesRequest::setOssObject(const std::string &ossObject) {
ossObject_ = ossObject;
setParameter(std::string("OssObject"), ossObject);
}
void CreateLiveStreamRecordIndexFilesRequest::setAppName(const std::string& appName)
{
appName_ = appName;
setParameter("AppName", appName);
std::string CreateLiveStreamRecordIndexFilesRequest::getAppName() const {
return appName_;
}
std::string CreateLiveStreamRecordIndexFilesRequest::getSecurityToken()const
{
return securityToken_;
void CreateLiveStreamRecordIndexFilesRequest::setAppName(const std::string &appName) {
appName_ = appName;
setParameter(std::string("AppName"), appName);
}
void CreateLiveStreamRecordIndexFilesRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
std::string CreateLiveStreamRecordIndexFilesRequest::getSecurityToken() const {
return securityToken_;
}
std::string CreateLiveStreamRecordIndexFilesRequest::getStreamName()const
{
return streamName_;
void CreateLiveStreamRecordIndexFilesRequest::setSecurityToken(const std::string &securityToken) {
securityToken_ = securityToken;
setParameter(std::string("SecurityToken"), securityToken);
}
void CreateLiveStreamRecordIndexFilesRequest::setStreamName(const std::string& streamName)
{
streamName_ = streamName;
setParameter("StreamName", streamName);
std::string CreateLiveStreamRecordIndexFilesRequest::getStreamName() const {
return streamName_;
}
std::string CreateLiveStreamRecordIndexFilesRequest::getOssBucket()const
{
return ossBucket_;
void CreateLiveStreamRecordIndexFilesRequest::setStreamName(const std::string &streamName) {
streamName_ = streamName;
setParameter(std::string("StreamName"), streamName);
}
void CreateLiveStreamRecordIndexFilesRequest::setOssBucket(const std::string& ossBucket)
{
ossBucket_ = ossBucket;
setParameter("OssBucket", ossBucket);
std::string CreateLiveStreamRecordIndexFilesRequest::getOssBucket() const {
return ossBucket_;
}
std::string CreateLiveStreamRecordIndexFilesRequest::getDomainName()const
{
return domainName_;
void CreateLiveStreamRecordIndexFilesRequest::setOssBucket(const std::string &ossBucket) {
ossBucket_ = ossBucket;
setParameter(std::string("OssBucket"), ossBucket);
}
void CreateLiveStreamRecordIndexFilesRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
std::string CreateLiveStreamRecordIndexFilesRequest::getDomainName() const {
return domainName_;
}
std::string CreateLiveStreamRecordIndexFilesRequest::getEndTime()const
{
return endTime_;
void CreateLiveStreamRecordIndexFilesRequest::setDomainName(const std::string &domainName) {
domainName_ = domainName;
setParameter(std::string("DomainName"), domainName);
}
void CreateLiveStreamRecordIndexFilesRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setParameter("EndTime", endTime);
std::string CreateLiveStreamRecordIndexFilesRequest::getEndTime() const {
return endTime_;
}
long CreateLiveStreamRecordIndexFilesRequest::getOwnerId()const
{
return ownerId_;
void CreateLiveStreamRecordIndexFilesRequest::setEndTime(const std::string &endTime) {
endTime_ = endTime;
setParameter(std::string("EndTime"), endTime);
}
void CreateLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long CreateLiveStreamRecordIndexFilesRequest::getOwnerId() const {
return ownerId_;
}
void CreateLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}

View File

@@ -40,34 +40,34 @@ void CreateLiveStreamRecordIndexFilesResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto recordInfoNode = value["RecordInfo"];
if(!recordInfoNode["RecordId"].isNull())
recordInfo_.recordId = recordInfoNode["RecordId"].asString();
if(!recordInfoNode["RecordUrl"].isNull())
recordInfo_.recordUrl = recordInfoNode["RecordUrl"].asString();
if(!recordInfoNode["DomainName"].isNull())
recordInfo_.domainName = recordInfoNode["DomainName"].asString();
if(!recordInfoNode["AppName"].isNull())
recordInfo_.appName = recordInfoNode["AppName"].asString();
if(!recordInfoNode["StreamName"].isNull())
recordInfo_.streamName = recordInfoNode["StreamName"].asString();
if(!recordInfoNode["OssBucket"].isNull())
recordInfo_.ossBucket = recordInfoNode["OssBucket"].asString();
if(!recordInfoNode["OssEndpoint"].isNull())
recordInfo_.ossEndpoint = recordInfoNode["OssEndpoint"].asString();
if(!recordInfoNode["OssObject"].isNull())
recordInfo_.ossObject = recordInfoNode["OssObject"].asString();
if(!recordInfoNode["StartTime"].isNull())
recordInfo_.startTime = recordInfoNode["StartTime"].asString();
if(!recordInfoNode["EndTime"].isNull())
recordInfo_.endTime = recordInfoNode["EndTime"].asString();
if(!recordInfoNode["Duration"].isNull())
recordInfo_.duration = std::stof(recordInfoNode["Duration"].asString());
if(!recordInfoNode["Height"].isNull())
recordInfo_.height = std::stoi(recordInfoNode["Height"].asString());
if(!recordInfoNode["Width"].isNull())
recordInfo_.width = std::stoi(recordInfoNode["Width"].asString());
if(!recordInfoNode["CreateTime"].isNull())
recordInfo_.createTime = recordInfoNode["CreateTime"].asString();
if(!recordInfoNode["RecordId"].isNull())
recordInfo_.recordId = recordInfoNode["RecordId"].asString();
if(!recordInfoNode["Height"].isNull())
recordInfo_.height = std::stoi(recordInfoNode["Height"].asString());
if(!recordInfoNode["OssBucket"].isNull())
recordInfo_.ossBucket = recordInfoNode["OssBucket"].asString();
if(!recordInfoNode["DomainName"].isNull())
recordInfo_.domainName = recordInfoNode["DomainName"].asString();
if(!recordInfoNode["OssObject"].isNull())
recordInfo_.ossObject = recordInfoNode["OssObject"].asString();
if(!recordInfoNode["EndTime"].isNull())
recordInfo_.endTime = recordInfoNode["EndTime"].asString();
if(!recordInfoNode["AppName"].isNull())
recordInfo_.appName = recordInfoNode["AppName"].asString();
if(!recordInfoNode["StartTime"].isNull())
recordInfo_.startTime = recordInfoNode["StartTime"].asString();
if(!recordInfoNode["Width"].isNull())
recordInfo_.width = std::stoi(recordInfoNode["Width"].asString());
if(!recordInfoNode["Duration"].isNull())
recordInfo_.duration = std::stof(recordInfoNode["Duration"].asString());
if(!recordInfoNode["OssEndpoint"].isNull())
recordInfo_.ossEndpoint = recordInfoNode["OssEndpoint"].asString();
}

View File

@@ -1,95 +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/CreateMixStreamRequest.h>
using AlibabaCloud::Live::Model::CreateMixStreamRequest;
CreateMixStreamRequest::CreateMixStreamRequest() :
RpcServiceRequest("live", "2016-11-01", "CreateMixStream")
{
setMethod(HttpRequest::Method::Post);
}
CreateMixStreamRequest::~CreateMixStreamRequest()
{}
std::string CreateMixStreamRequest::getOutputConfig()const
{
return outputConfig_;
*/
#include <alibabacloud/live/model/CreateMixStreamRequest.h>
using AlibabaCloud::Live::Model::CreateMixStreamRequest;
CreateMixStreamRequest::CreateMixStreamRequest()
: RpcServiceRequest("live", "2016-11-01", "CreateMixStream") {
setMethod(HttpRequest::Method::Post);
}
void CreateMixStreamRequest::setOutputConfig(const std::string& outputConfig)
{
outputConfig_ = outputConfig;
setParameter("OutputConfig", outputConfig);
CreateMixStreamRequest::~CreateMixStreamRequest() {}
std::string CreateMixStreamRequest::getOutputConfig() const {
return outputConfig_;
}
std::string CreateMixStreamRequest::getLayoutId()const
{
return layoutId_;
void CreateMixStreamRequest::setOutputConfig(const std::string &outputConfig) {
outputConfig_ = outputConfig;
setParameter(std::string("OutputConfig"), outputConfig);
}
void CreateMixStreamRequest::setLayoutId(const std::string& layoutId)
{
layoutId_ = layoutId;
setParameter("LayoutId", layoutId);
std::string CreateMixStreamRequest::getLayoutId() const {
return layoutId_;
}
std::string CreateMixStreamRequest::getDomainName()const
{
return domainName_;
void CreateMixStreamRequest::setLayoutId(const std::string &layoutId) {
layoutId_ = layoutId;
setParameter(std::string("LayoutId"), layoutId);
}
void CreateMixStreamRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
std::string CreateMixStreamRequest::getDomainName() const {
return domainName_;
}
std::string CreateMixStreamRequest::getInputStreamList()const
{
return inputStreamList_;
void CreateMixStreamRequest::setDomainName(const std::string &domainName) {
domainName_ = domainName;
setParameter(std::string("DomainName"), domainName);
}
void CreateMixStreamRequest::setInputStreamList(const std::string& inputStreamList)
{
inputStreamList_ = inputStreamList;
setParameter("InputStreamList", inputStreamList);
std::string CreateMixStreamRequest::getInputStreamList() const {
return inputStreamList_;
}
long CreateMixStreamRequest::getOwnerId()const
{
return ownerId_;
void CreateMixStreamRequest::setInputStreamList(const std::string &inputStreamList) {
inputStreamList_ = inputStreamList;
setParameter(std::string("InputStreamList"), inputStreamList);
}
void CreateMixStreamRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long CreateMixStreamRequest::getOwnerId() const {
return ownerId_;
}
std::string CreateMixStreamRequest::getCallbackConfig()const
{
return callbackConfig_;
void CreateMixStreamRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void CreateMixStreamRequest::setCallbackConfig(const std::string& callbackConfig)
{
callbackConfig_ = callbackConfig;
setParameter("CallbackConfig", callbackConfig);
std::string CreateMixStreamRequest::getCallbackConfig() const {
return callbackConfig_;
}
void CreateMixStreamRequest::setCallbackConfig(const std::string &callbackConfig) {
callbackConfig_ = callbackConfig;
setParameter(std::string("CallbackConfig"), callbackConfig);
}

View File

@@ -1,95 +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/CreateRoomRequest.h>
using AlibabaCloud::Live::Model::CreateRoomRequest;
CreateRoomRequest::CreateRoomRequest() :
RpcServiceRequest("live", "2016-11-01", "CreateRoom")
{
setMethod(HttpRequest::Method::Post);
}
CreateRoomRequest::~CreateRoomRequest()
{}
std::string CreateRoomRequest::getTemplateIds()const
{
return templateIds_;
}
void CreateRoomRequest::setTemplateIds(const std::string& templateIds)
{
templateIds_ = templateIds;
setParameter("TemplateIds", templateIds);
}
std::string CreateRoomRequest::getAnchorId()const
{
return anchorId_;
}
void CreateRoomRequest::setAnchorId(const std::string& anchorId)
{
anchorId_ = anchorId;
setParameter("AnchorId", anchorId);
}
bool CreateRoomRequest::getUseAppTranscode()const
{
return useAppTranscode_;
}
void CreateRoomRequest::setUseAppTranscode(bool useAppTranscode)
{
useAppTranscode_ = useAppTranscode;
setParameter("UseAppTranscode", useAppTranscode ? "true" : "false");
}
long CreateRoomRequest::getOwnerId()const
{
return ownerId_;
}
void CreateRoomRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateRoomRequest::getRoomId()const
{
return roomId_;
}
void CreateRoomRequest::setRoomId(const std::string& roomId)
{
roomId_ = roomId;
setParameter("RoomId", roomId);
}
std::string CreateRoomRequest::getAppId()const
{
return appId_;
}
void CreateRoomRequest::setAppId(const std::string& appId)
{
appId_ = appId;
setParameter("AppId", appId);
}

View File

@@ -1,65 +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/CreateRoomResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
CreateRoomResult::CreateRoomResult() :
ServiceResult()
{}
CreateRoomResult::CreateRoomResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateRoomResult::~CreateRoomResult()
{}
void CreateRoomResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["AppId"].isNull())
appId_ = value["AppId"].asString();
if(!value["RoomId"].isNull())
roomId_ = value["RoomId"].asString();
if(!value["AnchorId"].isNull())
anchorId_ = value["AnchorId"].asString();
}
std::string CreateRoomResult::getAppId()const
{
return appId_;
}
std::string CreateRoomResult::getAnchorId()const
{
return anchorId_;
}
std::string CreateRoomResult::getRoomId()const
{
return roomId_;
}

View File

@@ -1,62 +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/DeleteBoardRequest.h>
using AlibabaCloud::Live::Model::DeleteBoardRequest;
DeleteBoardRequest::DeleteBoardRequest() :
RpcServiceRequest("live", "2016-11-01", "DeleteBoard")
{
setMethod(HttpRequest::Method::Post);
}
DeleteBoardRequest::~DeleteBoardRequest()
{}
long DeleteBoardRequest::getOwnerId()const
{
return ownerId_;
}
void DeleteBoardRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeleteBoardRequest::getAppId()const
{
return appId_;
}
void DeleteBoardRequest::setAppId(const std::string& appId)
{
appId_ = appId;
setParameter("AppId", appId);
}
std::string DeleteBoardRequest::getBoardId()const
{
return boardId_;
}
void DeleteBoardRequest::setBoardId(const std::string& boardId)
{
boardId_ = boardId;
setParameter("BoardId", boardId);
}

View File

@@ -1,44 +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/DeleteBoardResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
DeleteBoardResult::DeleteBoardResult() :
ServiceResult()
{}
DeleteBoardResult::DeleteBoardResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteBoardResult::~DeleteBoardResult()
{}
void DeleteBoardResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

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

View File

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

View File

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

View File

@@ -39,10 +39,10 @@ void DeleteCasterEpisodeResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["CasterId"].isNull())
casterId_ = value["CasterId"].asString();
if(!value["EpisodeId"].isNull())
episodeId_ = value["EpisodeId"].asString();
if(!value["CasterId"].isNull())
casterId_ = value["CasterId"].asString();
}

View File

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

View File

@@ -39,10 +39,10 @@ void DeleteCasterLayoutResult::parse(const std::string &payload)
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["CasterId"].isNull())
casterId_ = value["CasterId"].asString();
if(!value["LayoutId"].isNull())
layoutId_ = value["LayoutId"].asString();
if(!value["CasterId"].isNull())
casterId_ = value["CasterId"].asString();
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,73 +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/DeleteHtmlResourceRequest.h>
using AlibabaCloud::Live::Model::DeleteHtmlResourceRequest;
DeleteHtmlResourceRequest::DeleteHtmlResourceRequest() :
RpcServiceRequest("live", "2016-11-01", "DeleteHtmlResource")
{
setMethod(HttpRequest::Method::Post);
}
DeleteHtmlResourceRequest::~DeleteHtmlResourceRequest()
{}
std::string DeleteHtmlResourceRequest::getHtmlUrl()const
{
return htmlUrl_;
}
void DeleteHtmlResourceRequest::setHtmlUrl(const std::string& htmlUrl)
{
htmlUrl_ = htmlUrl;
setParameter("HtmlUrl", htmlUrl);
}
std::string DeleteHtmlResourceRequest::getCasterId()const
{
return casterId_;
}
void DeleteHtmlResourceRequest::setCasterId(const std::string& casterId)
{
casterId_ = casterId;
setParameter("CasterId", casterId);
}
long DeleteHtmlResourceRequest::getOwnerId()const
{
return ownerId_;
}
void DeleteHtmlResourceRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}
std::string DeleteHtmlResourceRequest::getHtmlResourceId()const
{
return htmlResourceId_;
}
void DeleteHtmlResourceRequest::setHtmlResourceId(const std::string& htmlResourceId)
{
htmlResourceId_ = htmlResourceId;
setParameter("HtmlResourceId", htmlResourceId);
}

View File

@@ -1,44 +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/DeleteHtmlResourceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
DeleteHtmlResourceResult::DeleteHtmlResourceResult() :
ServiceResult()
{}
DeleteHtmlResourceResult::DeleteHtmlResourceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteHtmlResourceResult::~DeleteHtmlResourceResult()
{}
void DeleteHtmlResourceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,73 +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/DeleteLiveASRConfigRequest.h>
using AlibabaCloud::Live::Model::DeleteLiveASRConfigRequest;
DeleteLiveASRConfigRequest::DeleteLiveASRConfigRequest() :
RpcServiceRequest("live", "2016-11-01", "DeleteLiveASRConfig")
{
setMethod(HttpRequest::Method::Post);
}
DeleteLiveASRConfigRequest::~DeleteLiveASRConfigRequest()
{}
std::string DeleteLiveASRConfigRequest::getAppName()const
{
return appName_;
}
void DeleteLiveASRConfigRequest::setAppName(const std::string& appName)
{
appName_ = appName;
setParameter("AppName", appName);
}
std::string DeleteLiveASRConfigRequest::getStreamName()const
{
return streamName_;
}
void DeleteLiveASRConfigRequest::setStreamName(const std::string& streamName)
{
streamName_ = streamName;
setParameter("StreamName", streamName);
}
std::string DeleteLiveASRConfigRequest::getDomainName()const
{
return domainName_;
}
void DeleteLiveASRConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
}
long DeleteLiveASRConfigRequest::getOwnerId()const
{
return ownerId_;
}
void DeleteLiveASRConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
}

View File

@@ -1,44 +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/DeleteLiveASRConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Live;
using namespace AlibabaCloud::Live::Model;
DeleteLiveASRConfigResult::DeleteLiveASRConfigResult() :
ServiceResult()
{}
DeleteLiveASRConfigResult::DeleteLiveASRConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteLiveASRConfigResult::~DeleteLiveASRConfigResult()
{}
void DeleteLiveASRConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -1,84 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/DeleteLiveAppRecordConfigRequest.h>
using AlibabaCloud::Live::Model::DeleteLiveAppRecordConfigRequest;
DeleteLiveAppRecordConfigRequest::DeleteLiveAppRecordConfigRequest() :
RpcServiceRequest("live", "2016-11-01", "DeleteLiveAppRecordConfig")
{
setMethod(HttpRequest::Method::Post);
}
DeleteLiveAppRecordConfigRequest::~DeleteLiveAppRecordConfigRequest()
{}
std::string DeleteLiveAppRecordConfigRequest::getAppName()const
{
return appName_;
*/
#include <alibabacloud/live/model/DeleteLiveAppRecordConfigRequest.h>
using AlibabaCloud::Live::Model::DeleteLiveAppRecordConfigRequest;
DeleteLiveAppRecordConfigRequest::DeleteLiveAppRecordConfigRequest()
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveAppRecordConfig") {
setMethod(HttpRequest::Method::Post);
}
void DeleteLiveAppRecordConfigRequest::setAppName(const std::string& appName)
{
appName_ = appName;
setParameter("AppName", appName);
DeleteLiveAppRecordConfigRequest::~DeleteLiveAppRecordConfigRequest() {}
std::string DeleteLiveAppRecordConfigRequest::getAppName() const {
return appName_;
}
std::string DeleteLiveAppRecordConfigRequest::getSecurityToken()const
{
return securityToken_;
void DeleteLiveAppRecordConfigRequest::setAppName(const std::string &appName) {
appName_ = appName;
setParameter(std::string("AppName"), appName);
}
void DeleteLiveAppRecordConfigRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
std::string DeleteLiveAppRecordConfigRequest::getSecurityToken() const {
return securityToken_;
}
std::string DeleteLiveAppRecordConfigRequest::getStreamName()const
{
return streamName_;
void DeleteLiveAppRecordConfigRequest::setSecurityToken(const std::string &securityToken) {
securityToken_ = securityToken;
setParameter(std::string("SecurityToken"), securityToken);
}
void DeleteLiveAppRecordConfigRequest::setStreamName(const std::string& streamName)
{
streamName_ = streamName;
setParameter("StreamName", streamName);
std::string DeleteLiveAppRecordConfigRequest::getStreamName() const {
return streamName_;
}
std::string DeleteLiveAppRecordConfigRequest::getDomainName()const
{
return domainName_;
void DeleteLiveAppRecordConfigRequest::setStreamName(const std::string &streamName) {
streamName_ = streamName;
setParameter(std::string("StreamName"), streamName);
}
void DeleteLiveAppRecordConfigRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
std::string DeleteLiveAppRecordConfigRequest::getDomainName() const {
return domainName_;
}
long DeleteLiveAppRecordConfigRequest::getOwnerId()const
{
return ownerId_;
void DeleteLiveAppRecordConfigRequest::setDomainName(const std::string &domainName) {
domainName_ = domainName;
setParameter(std::string("DomainName"), domainName);
}
void DeleteLiveAppRecordConfigRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long DeleteLiveAppRecordConfigRequest::getOwnerId() const {
return ownerId_;
}
void DeleteLiveAppRecordConfigRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,84 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/DeleteLiveRealtimeLogDeliveryRequest.h>
using AlibabaCloud::Live::Model::DeleteLiveRealtimeLogDeliveryRequest;
DeleteLiveRealtimeLogDeliveryRequest::DeleteLiveRealtimeLogDeliveryRequest() :
RpcServiceRequest("live", "2016-11-01", "DeleteLiveRealtimeLogDelivery")
{
setMethod(HttpRequest::Method::Get);
}
DeleteLiveRealtimeLogDeliveryRequest::~DeleteLiveRealtimeLogDeliveryRequest()
{}
std::string DeleteLiveRealtimeLogDeliveryRequest::getProject()const
{
return project_;
*/
#include <alibabacloud/live/model/DeleteLiveRealtimeLogDeliveryRequest.h>
using AlibabaCloud::Live::Model::DeleteLiveRealtimeLogDeliveryRequest;
DeleteLiveRealtimeLogDeliveryRequest::DeleteLiveRealtimeLogDeliveryRequest()
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveRealtimeLogDelivery") {
setMethod(HttpRequest::Method::Get);
}
void DeleteLiveRealtimeLogDeliveryRequest::setProject(const std::string& project)
{
project_ = project;
setParameter("Project", project);
DeleteLiveRealtimeLogDeliveryRequest::~DeleteLiveRealtimeLogDeliveryRequest() {}
std::string DeleteLiveRealtimeLogDeliveryRequest::getProject() const {
return project_;
}
std::string DeleteLiveRealtimeLogDeliveryRequest::getDomainName()const
{
return domainName_;
void DeleteLiveRealtimeLogDeliveryRequest::setProject(const std::string &project) {
project_ = project;
setParameter(std::string("Project"), project);
}
void DeleteLiveRealtimeLogDeliveryRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
std::string DeleteLiveRealtimeLogDeliveryRequest::getDomainName() const {
return domainName_;
}
long DeleteLiveRealtimeLogDeliveryRequest::getOwnerId()const
{
return ownerId_;
void DeleteLiveRealtimeLogDeliveryRequest::setDomainName(const std::string &domainName) {
domainName_ = domainName;
setParameter(std::string("DomainName"), domainName);
}
void DeleteLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long DeleteLiveRealtimeLogDeliveryRequest::getOwnerId() const {
return ownerId_;
}
std::string DeleteLiveRealtimeLogDeliveryRequest::getRegion()const
{
return region_;
void DeleteLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void DeleteLiveRealtimeLogDeliveryRequest::setRegion(const std::string& region)
{
region_ = region;
setParameter("Region", region);
std::string DeleteLiveRealtimeLogDeliveryRequest::getRegion() const {
return region_;
}
std::string DeleteLiveRealtimeLogDeliveryRequest::getLogstore()const
{
return logstore_;
void DeleteLiveRealtimeLogDeliveryRequest::setRegion(const std::string &region) {
region_ = region;
setParameter(std::string("Region"), region);
}
void DeleteLiveRealtimeLogDeliveryRequest::setLogstore(const std::string& logstore)
{
logstore_ = logstore;
setParameter("Logstore", logstore);
std::string DeleteLiveRealtimeLogDeliveryRequest::getLogstore() const {
return logstore_;
}
void DeleteLiveRealtimeLogDeliveryRequest::setLogstore(const std::string &logstore) {
logstore_ = logstore;
setParameter(std::string("Logstore"), logstore);
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,84 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/live/model/DeleteLiveStreamTranscodeRequest.h>
using AlibabaCloud::Live::Model::DeleteLiveStreamTranscodeRequest;
DeleteLiveStreamTranscodeRequest::DeleteLiveStreamTranscodeRequest() :
RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamTranscode")
{
setMethod(HttpRequest::Method::Post);
}
DeleteLiveStreamTranscodeRequest::~DeleteLiveStreamTranscodeRequest()
{}
std::string DeleteLiveStreamTranscodeRequest::get_Template()const
{
return _template_;
*/
#include <alibabacloud/live/model/DeleteLiveStreamTranscodeRequest.h>
using AlibabaCloud::Live::Model::DeleteLiveStreamTranscodeRequest;
DeleteLiveStreamTranscodeRequest::DeleteLiveStreamTranscodeRequest()
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamTranscode") {
setMethod(HttpRequest::Method::Post);
}
void DeleteLiveStreamTranscodeRequest::set_Template(const std::string& _template)
{
_template_ = _template;
setParameter("_Template", _template);
DeleteLiveStreamTranscodeRequest::~DeleteLiveStreamTranscodeRequest() {}
std::string DeleteLiveStreamTranscodeRequest::get_Template() const {
return _template_;
}
std::string DeleteLiveStreamTranscodeRequest::getSecurityToken()const
{
return securityToken_;
void DeleteLiveStreamTranscodeRequest::set_Template(const std::string &_template) {
_template_ = _template;
setParameter(std::string("Template"), _template);
}
void DeleteLiveStreamTranscodeRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
std::string DeleteLiveStreamTranscodeRequest::getSecurityToken() const {
return securityToken_;
}
std::string DeleteLiveStreamTranscodeRequest::getApp()const
{
return app_;
void DeleteLiveStreamTranscodeRequest::setSecurityToken(const std::string &securityToken) {
securityToken_ = securityToken;
setParameter(std::string("SecurityToken"), securityToken);
}
void DeleteLiveStreamTranscodeRequest::setApp(const std::string& app)
{
app_ = app;
setParameter("App", app);
std::string DeleteLiveStreamTranscodeRequest::getApp() const {
return app_;
}
long DeleteLiveStreamTranscodeRequest::getOwnerId()const
{
return ownerId_;
void DeleteLiveStreamTranscodeRequest::setApp(const std::string &app) {
app_ = app;
setParameter(std::string("App"), app);
}
void DeleteLiveStreamTranscodeRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setParameter("OwnerId", std::to_string(ownerId));
long DeleteLiveStreamTranscodeRequest::getOwnerId() const {
return ownerId_;
}
std::string DeleteLiveStreamTranscodeRequest::getDomain()const
{
return domain_;
void DeleteLiveStreamTranscodeRequest::setOwnerId(long ownerId) {
ownerId_ = ownerId;
setParameter(std::string("OwnerId"), std::to_string(ownerId));
}
void DeleteLiveStreamTranscodeRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string DeleteLiveStreamTranscodeRequest::getDomain() const {
return domain_;
}
void DeleteLiveStreamTranscodeRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}

Some files were not shown because too many files have changed in this diff Show More