LIVE SDK Auto Released By renrang.yl,Version:1.17.4
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
3905
live/src/LiveClient.cc
Normal file
3905
live/src/LiveClient.cc
Normal file
File diff suppressed because it is too large
Load Diff
137
live/src/model/AddCasterComponentRequest.cc
Normal file
137
live/src/model/AddCasterComponentRequest.cc
Normal file
@@ -0,0 +1,137 @@
|
||||
/*
|
||||
* 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")
|
||||
{}
|
||||
|
||||
AddCasterComponentRequest::~AddCasterComponentRequest()
|
||||
{}
|
||||
|
||||
std::string AddCasterComponentRequest::getComponentType()const
|
||||
{
|
||||
return componentType_;
|
||||
}
|
||||
|
||||
void AddCasterComponentRequest::setComponentType(const std::string& componentType)
|
||||
{
|
||||
componentType_ = componentType;
|
||||
setParameter("ComponentType", componentType);
|
||||
}
|
||||
|
||||
std::string AddCasterComponentRequest::getLocationId()const
|
||||
{
|
||||
return locationId_;
|
||||
}
|
||||
|
||||
void AddCasterComponentRequest::setLocationId(const std::string& locationId)
|
||||
{
|
||||
locationId_ = locationId;
|
||||
setParameter("LocationId", locationId);
|
||||
}
|
||||
|
||||
std::string AddCasterComponentRequest::getImageLayerContent()const
|
||||
{
|
||||
return imageLayerContent_;
|
||||
}
|
||||
|
||||
void AddCasterComponentRequest::setImageLayerContent(const std::string& imageLayerContent)
|
||||
{
|
||||
imageLayerContent_ = imageLayerContent;
|
||||
setParameter("ImageLayerContent", imageLayerContent);
|
||||
}
|
||||
|
||||
std::string AddCasterComponentRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
void AddCasterComponentRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
}
|
||||
|
||||
std::string AddCasterComponentRequest::getEffect()const
|
||||
{
|
||||
return effect_;
|
||||
}
|
||||
|
||||
void AddCasterComponentRequest::setEffect(const std::string& effect)
|
||||
{
|
||||
effect_ = effect;
|
||||
setParameter("Effect", effect);
|
||||
}
|
||||
|
||||
std::string AddCasterComponentRequest::getComponentLayer()const
|
||||
{
|
||||
return componentLayer_;
|
||||
}
|
||||
|
||||
void AddCasterComponentRequest::setComponentLayer(const std::string& componentLayer)
|
||||
{
|
||||
componentLayer_ = componentLayer;
|
||||
setParameter("ComponentLayer", componentLayer);
|
||||
}
|
||||
|
||||
std::string AddCasterComponentRequest::getCaptionLayerContent()const
|
||||
{
|
||||
return captionLayerContent_;
|
||||
}
|
||||
|
||||
void AddCasterComponentRequest::setCaptionLayerContent(const std::string& captionLayerContent)
|
||||
{
|
||||
captionLayerContent_ = captionLayerContent;
|
||||
setParameter("CaptionLayerContent", captionLayerContent);
|
||||
}
|
||||
|
||||
std::string AddCasterComponentRequest::getComponentName()const
|
||||
{
|
||||
return componentName_;
|
||||
}
|
||||
|
||||
void AddCasterComponentRequest::setComponentName(const std::string& componentName)
|
||||
{
|
||||
componentName_ = componentName;
|
||||
setParameter("ComponentName", componentName);
|
||||
}
|
||||
|
||||
long AddCasterComponentRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddCasterComponentRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddCasterComponentRequest::getTextLayerContent()const
|
||||
{
|
||||
return textLayerContent_;
|
||||
}
|
||||
|
||||
void AddCasterComponentRequest::setTextLayerContent(const std::string& textLayerContent)
|
||||
{
|
||||
textLayerContent_ = textLayerContent;
|
||||
setParameter("TextLayerContent", textLayerContent);
|
||||
}
|
||||
|
||||
52
live/src/model/AddCasterComponentResult.cc
Normal file
52
live/src/model/AddCasterComponentResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* 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/AddCasterComponentResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
AddCasterComponentResult::AddCasterComponentResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddCasterComponentResult::AddCasterComponentResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddCasterComponentResult::~AddCasterComponentResult()
|
||||
{}
|
||||
|
||||
void AddCasterComponentResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ComponentId"].isNull())
|
||||
componentId_ = value["ComponentId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AddCasterComponentResult::getComponentId()const
|
||||
{
|
||||
return componentId_;
|
||||
}
|
||||
|
||||
60
live/src/model/AddCasterEpisodeGroupContentRequest.cc
Normal file
60
live/src/model/AddCasterEpisodeGroupContentRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddCasterEpisodeGroupContentRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddCasterEpisodeGroupContentRequest;
|
||||
|
||||
AddCasterEpisodeGroupContentRequest::AddCasterEpisodeGroupContentRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddCasterEpisodeGroupContent")
|
||||
{}
|
||||
|
||||
AddCasterEpisodeGroupContentRequest::~AddCasterEpisodeGroupContentRequest()
|
||||
{}
|
||||
|
||||
std::string AddCasterEpisodeGroupContentRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupContentRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
long AddCasterEpisodeGroupContentRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupContentRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeGroupContentRequest::getContent()const
|
||||
{
|
||||
return content_;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupContentRequest::setContent(const std::string& content)
|
||||
{
|
||||
content_ = content;
|
||||
setParameter("Content", content);
|
||||
}
|
||||
|
||||
60
live/src/model/AddCasterEpisodeGroupContentResult.cc
Normal file
60
live/src/model/AddCasterEpisodeGroupContentResult.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddCasterEpisodeGroupContentResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
AddCasterEpisodeGroupContentResult::AddCasterEpisodeGroupContentResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddCasterEpisodeGroupContentResult::AddCasterEpisodeGroupContentResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddCasterEpisodeGroupContentResult::~AddCasterEpisodeGroupContentResult()
|
||||
{}
|
||||
|
||||
void AddCasterEpisodeGroupContentResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemIds = value["ItemIds"]["ItemId"];
|
||||
for (const auto &item : allItemIds)
|
||||
itemIds_.push_back(item.asString());
|
||||
if(!value["ProgramId"].isNull())
|
||||
programId_ = value["ProgramId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeGroupContentResult::getProgramId()const
|
||||
{
|
||||
return programId_;
|
||||
}
|
||||
|
||||
std::vector<std::string> AddCasterEpisodeGroupContentResult::getItemIds()const
|
||||
{
|
||||
return itemIds_;
|
||||
}
|
||||
|
||||
121
live/src/model/AddCasterEpisodeGroupRequest.cc
Normal file
121
live/src/model/AddCasterEpisodeGroupRequest.cc
Normal file
@@ -0,0 +1,121 @@
|
||||
/*
|
||||
* 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")
|
||||
{}
|
||||
|
||||
AddCasterEpisodeGroupRequest::~AddCasterEpisodeGroupRequest()
|
||||
{}
|
||||
|
||||
std::string AddCasterEpisodeGroupRequest::getSideOutputUrl()const
|
||||
{
|
||||
return sideOutputUrl_;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupRequest::setSideOutputUrl(const std::string& sideOutputUrl)
|
||||
{
|
||||
sideOutputUrl_ = sideOutputUrl;
|
||||
setParameter("SideOutputUrl", sideOutputUrl);
|
||||
}
|
||||
|
||||
std::vector<AddCasterEpisodeGroupRequest::Item> AddCasterEpisodeGroupRequest::getItem()const
|
||||
{
|
||||
return item_;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupRequest::setItem(const std::vector<Item>& item)
|
||||
{
|
||||
item_ = item;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= item.size(); i++) {
|
||||
auto obj = item.at(i);
|
||||
std::string str ="Item."+ std::to_string(i);
|
||||
setParameter(str + ".ItemName", obj.itemName);
|
||||
setParameter(str + ".VodUrl", obj.vodUrl);
|
||||
}
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeGroupRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeGroupRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeGroupRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
int AddCasterEpisodeGroupRequest::getRepeatNum()const
|
||||
{
|
||||
return repeatNum_;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupRequest::setRepeatNum(int repeatNum)
|
||||
{
|
||||
repeatNum_ = repeatNum;
|
||||
setParameter("RepeatNum", std::to_string(repeatNum));
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeGroupRequest::getCallbackUrl()const
|
||||
{
|
||||
return callbackUrl_;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupRequest::setCallbackUrl(const std::string& callbackUrl)
|
||||
{
|
||||
callbackUrl_ = callbackUrl;
|
||||
setParameter("CallbackUrl", callbackUrl);
|
||||
}
|
||||
|
||||
long AddCasterEpisodeGroupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
60
live/src/model/AddCasterEpisodeGroupResult.cc
Normal file
60
live/src/model/AddCasterEpisodeGroupResult.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddCasterEpisodeGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
AddCasterEpisodeGroupResult::AddCasterEpisodeGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddCasterEpisodeGroupResult::AddCasterEpisodeGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddCasterEpisodeGroupResult::~AddCasterEpisodeGroupResult()
|
||||
{}
|
||||
|
||||
void AddCasterEpisodeGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemIds = value["ItemIds"]["ItemId"];
|
||||
for (const auto &item : allItemIds)
|
||||
itemIds_.push_back(item.asString());
|
||||
if(!value["ProgramId"].isNull())
|
||||
programId_ = value["ProgramId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeGroupResult::getProgramId()const
|
||||
{
|
||||
return programId_;
|
||||
}
|
||||
|
||||
std::vector<std::string> AddCasterEpisodeGroupResult::getItemIds()const
|
||||
{
|
||||
return itemIds_;
|
||||
}
|
||||
|
||||
127
live/src/model/AddCasterEpisodeRequest.cc
Normal file
127
live/src/model/AddCasterEpisodeRequest.cc
Normal file
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
* 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")
|
||||
{}
|
||||
|
||||
AddCasterEpisodeRequest::~AddCasterEpisodeRequest()
|
||||
{}
|
||||
|
||||
std::string AddCasterEpisodeRequest::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeRequest::setResourceId(const std::string& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
setParameter("ResourceId", resourceId);
|
||||
}
|
||||
|
||||
std::vector<std::string> AddCasterEpisodeRequest::getComponentId()const
|
||||
{
|
||||
return componentId_;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeRequest::setComponentId(const std::vector<std::string>& componentId)
|
||||
{
|
||||
componentId_ = componentId;
|
||||
for(int i = 0; i!= componentId.size(); i++)
|
||||
setParameter("ComponentId."+ std::to_string(i), componentId.at(i));
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeRequest::getSwitchType()const
|
||||
{
|
||||
return switchType_;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeRequest::setSwitchType(const std::string& switchType)
|
||||
{
|
||||
switchType_ = switchType;
|
||||
setParameter("SwitchType", switchType);
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeRequest::getEpisodeType()const
|
||||
{
|
||||
return episodeType_;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeRequest::setEpisodeType(const std::string& episodeType)
|
||||
{
|
||||
episodeType_ = episodeType;
|
||||
setParameter("EpisodeType", episodeType);
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeRequest::getEpisodeName()const
|
||||
{
|
||||
return episodeName_;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeRequest::setEpisodeName(const std::string& episodeName)
|
||||
{
|
||||
episodeName_ = episodeName;
|
||||
setParameter("EpisodeName", episodeName);
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
long AddCasterEpisodeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
52
live/src/model/AddCasterEpisodeResult.cc
Normal file
52
live/src/model/AddCasterEpisodeResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* 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/AddCasterEpisodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
AddCasterEpisodeResult::AddCasterEpisodeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddCasterEpisodeResult::AddCasterEpisodeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddCasterEpisodeResult::~AddCasterEpisodeResult()
|
||||
{}
|
||||
|
||||
void AddCasterEpisodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["EpisodeId"].isNull())
|
||||
episodeId_ = value["EpisodeId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeResult::getEpisodeId()const
|
||||
{
|
||||
return episodeId_;
|
||||
}
|
||||
|
||||
112
live/src/model/AddCasterLayoutRequest.cc
Normal file
112
live/src/model/AddCasterLayoutRequest.cc
Normal file
@@ -0,0 +1,112 @@
|
||||
/*
|
||||
* 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")
|
||||
{}
|
||||
|
||||
AddCasterLayoutRequest::~AddCasterLayoutRequest()
|
||||
{}
|
||||
|
||||
std::vector<std::string> AddCasterLayoutRequest::getBlendList()const
|
||||
{
|
||||
return blendList_;
|
||||
}
|
||||
|
||||
void AddCasterLayoutRequest::setBlendList(const std::vector<std::string>& blendList)
|
||||
{
|
||||
blendList_ = blendList;
|
||||
for(int i = 0; i!= blendList.size(); i++)
|
||||
setParameter("BlendList."+ std::to_string(i), blendList.at(i));
|
||||
}
|
||||
|
||||
std::vector<AddCasterLayoutRequest::AudioLayer> AddCasterLayoutRequest::getAudioLayer()const
|
||||
{
|
||||
return audioLayer_;
|
||||
}
|
||||
|
||||
void AddCasterLayoutRequest::setAudioLayer(const std::vector<AudioLayer>& audioLayer)
|
||||
{
|
||||
audioLayer_ = audioLayer;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= audioLayer.size(); i++) {
|
||||
auto obj = audioLayer.at(i);
|
||||
std::string str ="AudioLayer."+ std::to_string(i);
|
||||
setParameter(str + ".VolumeRate", std::to_string(obj.volumeRate));
|
||||
setParameter(str + ".ValidChannel", obj.validChannel);
|
||||
setParameter(str + ".FixedDelayDuration", std::to_string(obj.fixedDelayDuration));
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<AddCasterLayoutRequest::VideoLayer> AddCasterLayoutRequest::getVideoLayer()const
|
||||
{
|
||||
return videoLayer_;
|
||||
}
|
||||
|
||||
void AddCasterLayoutRequest::setVideoLayer(const std::vector<VideoLayer>& videoLayer)
|
||||
{
|
||||
videoLayer_ = videoLayer;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= videoLayer.size(); i++) {
|
||||
auto obj = videoLayer.at(i);
|
||||
std::string str ="VideoLayer."+ std::to_string(i);
|
||||
setParameter(str + ".FillMode", obj.fillMode);
|
||||
setParameter(str + ".HeightNormalized", std::to_string(obj.heightNormalized));
|
||||
setParameter(str + ".WidthNormalized", std::to_string(obj.widthNormalized));
|
||||
setParameter(str + ".PositionRefer", obj.positionRefer);
|
||||
for(int i = 0; i!= obj.positionNormalized.size(); i++)
|
||||
setParameter(str + ".PositionNormalized."+ std::to_string(i), std::to_string(obj.positionNormalized.at(i)));
|
||||
setParameter(str + ".FixedDelayDuration", std::to_string(obj.fixedDelayDuration));
|
||||
}
|
||||
}
|
||||
|
||||
std::string AddCasterLayoutRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
void AddCasterLayoutRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
}
|
||||
|
||||
std::vector<std::string> AddCasterLayoutRequest::getMixList()const
|
||||
{
|
||||
return mixList_;
|
||||
}
|
||||
|
||||
void AddCasterLayoutRequest::setMixList(const std::vector<std::string>& mixList)
|
||||
{
|
||||
mixList_ = mixList;
|
||||
for(int i = 0; i!= mixList.size(); i++)
|
||||
setParameter("MixList."+ std::to_string(i), mixList.at(i));
|
||||
}
|
||||
|
||||
long AddCasterLayoutRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddCasterLayoutRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
52
live/src/model/AddCasterLayoutResult.cc
Normal file
52
live/src/model/AddCasterLayoutResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* 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/AddCasterLayoutResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
AddCasterLayoutResult::AddCasterLayoutResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddCasterLayoutResult::AddCasterLayoutResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddCasterLayoutResult::~AddCasterLayoutResult()
|
||||
{}
|
||||
|
||||
void AddCasterLayoutResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["LayoutId"].isNull())
|
||||
layoutId_ = value["LayoutId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AddCasterLayoutResult::getLayoutId()const
|
||||
{
|
||||
return layoutId_;
|
||||
}
|
||||
|
||||
71
live/src/model/AddCasterProgramRequest.cc
Normal file
71
live/src/model/AddCasterProgramRequest.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* 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")
|
||||
{}
|
||||
|
||||
AddCasterProgramRequest::~AddCasterProgramRequest()
|
||||
{}
|
||||
|
||||
std::string AddCasterProgramRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
void AddCasterProgramRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
}
|
||||
|
||||
std::vector<AddCasterProgramRequest::Episode> AddCasterProgramRequest::getEpisode()const
|
||||
{
|
||||
return episode_;
|
||||
}
|
||||
|
||||
void AddCasterProgramRequest::setEpisode(const std::vector<Episode>& episode)
|
||||
{
|
||||
episode_ = episode;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= episode.size(); i++) {
|
||||
auto obj = episode.at(i);
|
||||
std::string str ="Episode."+ std::to_string(i);
|
||||
setParameter(str + ".EpisodeType", obj.episodeType);
|
||||
setParameter(str + ".EpisodeName", obj.episodeName);
|
||||
setParameter(str + ".ResourceId", obj.resourceId);
|
||||
for(int i = 0; i!= obj.componentId.size(); i++)
|
||||
setParameter(str + ".ComponentId."+ std::to_string(i), obj.componentId.at(i));
|
||||
setParameter(str + ".StartTime", obj.startTime);
|
||||
setParameter(str + ".EndTime", obj.endTime);
|
||||
setParameter(str + ".SwitchType", obj.switchType);
|
||||
}
|
||||
}
|
||||
|
||||
long AddCasterProgramRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddCasterProgramRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
58
live/src/model/AddCasterProgramResult.cc
Normal file
58
live/src/model/AddCasterProgramResult.cc
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddCasterProgramResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
AddCasterProgramResult::AddCasterProgramResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddCasterProgramResult::AddCasterProgramResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddCasterProgramResult::~AddCasterProgramResult()
|
||||
{}
|
||||
|
||||
void AddCasterProgramResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allEpisodeIds = value["EpisodeIds"]["EpisodeId"];
|
||||
for (auto value : allEpisodeIds)
|
||||
{
|
||||
EpisodeId episodeIdsObject;
|
||||
if(!value["EpisodeId"].isNull())
|
||||
episodeIdsObject.episodeId = value["EpisodeId"].asString();
|
||||
episodeIds_.push_back(episodeIdsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<AddCasterProgramResult::EpisodeId> AddCasterProgramResult::getEpisodeIds()const
|
||||
{
|
||||
return episodeIds_;
|
||||
}
|
||||
|
||||
137
live/src/model/AddCasterVideoResourceRequest.cc
Normal file
137
live/src/model/AddCasterVideoResourceRequest.cc
Normal file
@@ -0,0 +1,137 @@
|
||||
/*
|
||||
* 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")
|
||||
{}
|
||||
|
||||
AddCasterVideoResourceRequest::~AddCasterVideoResourceRequest()
|
||||
{}
|
||||
|
||||
int AddCasterVideoResourceRequest::getBeginOffset()const
|
||||
{
|
||||
return beginOffset_;
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setBeginOffset(int beginOffset)
|
||||
{
|
||||
beginOffset_ = beginOffset;
|
||||
setParameter("BeginOffset", std::to_string(beginOffset));
|
||||
}
|
||||
|
||||
std::string AddCasterVideoResourceRequest::getVodUrl()const
|
||||
{
|
||||
return vodUrl_;
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setVodUrl(const std::string& vodUrl)
|
||||
{
|
||||
vodUrl_ = vodUrl;
|
||||
setParameter("VodUrl", vodUrl);
|
||||
}
|
||||
|
||||
std::string AddCasterVideoResourceRequest::getLiveStreamUrl()const
|
||||
{
|
||||
return liveStreamUrl_;
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setLiveStreamUrl(const std::string& liveStreamUrl)
|
||||
{
|
||||
liveStreamUrl_ = liveStreamUrl;
|
||||
setParameter("LiveStreamUrl", liveStreamUrl);
|
||||
}
|
||||
|
||||
std::string AddCasterVideoResourceRequest::getLocationId()const
|
||||
{
|
||||
return locationId_;
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setLocationId(const std::string& locationId)
|
||||
{
|
||||
locationId_ = locationId;
|
||||
setParameter("LocationId", locationId);
|
||||
}
|
||||
|
||||
std::string AddCasterVideoResourceRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
}
|
||||
|
||||
int AddCasterVideoResourceRequest::getEndOffset()const
|
||||
{
|
||||
return endOffset_;
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setEndOffset(int endOffset)
|
||||
{
|
||||
endOffset_ = endOffset;
|
||||
setParameter("EndOffset", std::to_string(endOffset));
|
||||
}
|
||||
|
||||
std::string AddCasterVideoResourceRequest::getResourceName()const
|
||||
{
|
||||
return resourceName_;
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setResourceName(const std::string& resourceName)
|
||||
{
|
||||
resourceName_ = resourceName;
|
||||
setParameter("ResourceName", resourceName);
|
||||
}
|
||||
|
||||
int AddCasterVideoResourceRequest::getRepeatNum()const
|
||||
{
|
||||
return repeatNum_;
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setRepeatNum(int repeatNum)
|
||||
{
|
||||
repeatNum_ = repeatNum;
|
||||
setParameter("RepeatNum", std::to_string(repeatNum));
|
||||
}
|
||||
|
||||
long AddCasterVideoResourceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddCasterVideoResourceRequest::getMaterialId()const
|
||||
{
|
||||
return materialId_;
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setMaterialId(const std::string& materialId)
|
||||
{
|
||||
materialId_ = materialId;
|
||||
setParameter("MaterialId", materialId);
|
||||
}
|
||||
|
||||
52
live/src/model/AddCasterVideoResourceResult.cc
Normal file
52
live/src/model/AddCasterVideoResourceResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* 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/AddCasterVideoResourceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
AddCasterVideoResourceResult::AddCasterVideoResourceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddCasterVideoResourceResult::AddCasterVideoResourceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddCasterVideoResourceResult::~AddCasterVideoResourceResult()
|
||||
{}
|
||||
|
||||
void AddCasterVideoResourceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ResourceId"].isNull())
|
||||
resourceId_ = value["ResourceId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AddCasterVideoResourceResult::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
159
live/src/model/AddCustomLiveStreamTranscodeRequest.cc
Normal file
159
live/src/model/AddCustomLiveStreamTranscodeRequest.cc
Normal file
@@ -0,0 +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/AddCustomLiveStreamTranscodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddCustomLiveStreamTranscodeRequest;
|
||||
|
||||
AddCustomLiveStreamTranscodeRequest::AddCustomLiveStreamTranscodeRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddCustomLiveStreamTranscode")
|
||||
{}
|
||||
|
||||
AddCustomLiveStreamTranscodeRequest::~AddCustomLiveStreamTranscodeRequest()
|
||||
{}
|
||||
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getApp()const
|
||||
{
|
||||
return app_;
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setApp(const std::string& app)
|
||||
{
|
||||
app_ = app;
|
||||
setParameter("App", app);
|
||||
}
|
||||
|
||||
std::string AddCustomLiveStreamTranscodeRequest::get_Template()const
|
||||
{
|
||||
return _template_;
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::set_Template(const std::string& _template)
|
||||
{
|
||||
_template_ = _template;
|
||||
setParameter("_Template", _template);
|
||||
}
|
||||
|
||||
int AddCustomLiveStreamTranscodeRequest::getFPS()const
|
||||
{
|
||||
return fPS_;
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setFPS(int fPS)
|
||||
{
|
||||
fPS_ = fPS;
|
||||
setParameter("FPS", std::to_string(fPS));
|
||||
}
|
||||
|
||||
long AddCustomLiveStreamTranscodeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getTemplateType()const
|
||||
{
|
||||
return templateType_;
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setTemplateType(const std::string& templateType)
|
||||
{
|
||||
templateType_ = templateType;
|
||||
setParameter("TemplateType", templateType);
|
||||
}
|
||||
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getDomain()const
|
||||
{
|
||||
return domain_;
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setDomain(const std::string& domain)
|
||||
{
|
||||
domain_ = domain;
|
||||
setParameter("Domain", domain);
|
||||
}
|
||||
|
||||
int AddCustomLiveStreamTranscodeRequest::getWidth()const
|
||||
{
|
||||
return width_;
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setWidth(int width)
|
||||
{
|
||||
width_ = width;
|
||||
setParameter("Width", std::to_string(width));
|
||||
}
|
||||
|
||||
int AddCustomLiveStreamTranscodeRequest::getVideoBitrate()const
|
||||
{
|
||||
return videoBitrate_;
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setVideoBitrate(int videoBitrate)
|
||||
{
|
||||
videoBitrate_ = videoBitrate;
|
||||
setParameter("VideoBitrate", std::to_string(videoBitrate));
|
||||
}
|
||||
|
||||
int AddCustomLiveStreamTranscodeRequest::getHeight()const
|
||||
{
|
||||
return height_;
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setHeight(int height)
|
||||
{
|
||||
height_ = height;
|
||||
setParameter("Height", std::to_string(height));
|
||||
}
|
||||
|
||||
45
live/src/model/AddCustomLiveStreamTranscodeResult.cc
Normal file
45
live/src/model/AddCustomLiveStreamTranscodeResult.cc
Normal file
@@ -0,0 +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/AddCustomLiveStreamTranscodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
AddCustomLiveStreamTranscodeResult::AddCustomLiveStreamTranscodeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddCustomLiveStreamTranscodeResult::AddCustomLiveStreamTranscodeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddCustomLiveStreamTranscodeResult::~AddCustomLiveStreamTranscodeResult()
|
||||
{}
|
||||
|
||||
void AddCustomLiveStreamTranscodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
167
live/src/model/AddLiveAppRecordConfigRequest.cc
Normal file
167
live/src/model/AddLiveAppRecordConfigRequest.cc
Normal file
@@ -0,0 +1,167 @@
|
||||
/*
|
||||
* 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")
|
||||
{}
|
||||
|
||||
AddLiveAppRecordConfigRequest::~AddLiveAppRecordConfigRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getOssBucket()const
|
||||
{
|
||||
return ossBucket_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setOssBucket(const std::string& ossBucket)
|
||||
{
|
||||
ossBucket_ = ossBucket;
|
||||
setParameter("OssBucket", ossBucket);
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getOssEndpoint()const
|
||||
{
|
||||
return ossEndpoint_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setOssEndpoint(const std::string& ossEndpoint)
|
||||
{
|
||||
ossEndpoint_ = ossEndpoint;
|
||||
setParameter("OssEndpoint", ossEndpoint);
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
long AddLiveAppRecordConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::vector<AddLiveAppRecordConfigRequest::RecordFormat> AddLiveAppRecordConfigRequest::getRecordFormat()const
|
||||
{
|
||||
return recordFormat_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setRecordFormat(const std::vector<RecordFormat>& recordFormat)
|
||||
{
|
||||
recordFormat_ = recordFormat;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= recordFormat.size(); i++) {
|
||||
auto obj = recordFormat.at(i);
|
||||
std::string str ="RecordFormat."+ std::to_string(i);
|
||||
setParameter(str + ".Format", obj.format);
|
||||
setParameter(str + ".OssObjectPrefix", obj.ossObjectPrefix);
|
||||
setParameter(str + ".SliceOssObjectPrefix", obj.sliceOssObjectPrefix);
|
||||
setParameter(str + ".CycleDuration", std::to_string(obj.cycleDuration));
|
||||
}
|
||||
}
|
||||
|
||||
int AddLiveAppRecordConfigRequest::getOnDemand()const
|
||||
{
|
||||
return onDemand_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setOnDemand(int onDemand)
|
||||
{
|
||||
onDemand_ = onDemand;
|
||||
setParameter("OnDemand", std::to_string(onDemand));
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
}
|
||||
|
||||
45
live/src/model/AddLiveAppRecordConfigResult.cc
Normal file
45
live/src/model/AddLiveAppRecordConfigResult.cc
Normal file
@@ -0,0 +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/AddLiveAppRecordConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
AddLiveAppRecordConfigResult::AddLiveAppRecordConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddLiveAppRecordConfigResult::AddLiveAppRecordConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddLiveAppRecordConfigResult::~AddLiveAppRecordConfigResult()
|
||||
{}
|
||||
|
||||
void AddLiveAppRecordConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
137
live/src/model/AddLiveAppSnapshotConfigRequest.cc
Normal file
137
live/src/model/AddLiveAppSnapshotConfigRequest.cc
Normal file
@@ -0,0 +1,137 @@
|
||||
/*
|
||||
* 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")
|
||||
{}
|
||||
|
||||
AddLiveAppSnapshotConfigRequest::~AddLiveAppSnapshotConfigRequest()
|
||||
{}
|
||||
|
||||
int AddLiveAppSnapshotConfigRequest::getTimeInterval()const
|
||||
{
|
||||
return timeInterval_;
|
||||
}
|
||||
|
||||
void AddLiveAppSnapshotConfigRequest::setTimeInterval(int timeInterval)
|
||||
{
|
||||
timeInterval_ = timeInterval;
|
||||
setParameter("TimeInterval", std::to_string(timeInterval));
|
||||
}
|
||||
|
||||
std::string AddLiveAppSnapshotConfigRequest::getOssBucket()const
|
||||
{
|
||||
return ossBucket_;
|
||||
}
|
||||
|
||||
void AddLiveAppSnapshotConfigRequest::setOssBucket(const std::string& ossBucket)
|
||||
{
|
||||
ossBucket_ = ossBucket;
|
||||
setParameter("OssBucket", ossBucket);
|
||||
}
|
||||
|
||||
std::string AddLiveAppSnapshotConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void AddLiveAppSnapshotConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string AddLiveAppSnapshotConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AddLiveAppSnapshotConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AddLiveAppSnapshotConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void AddLiveAppSnapshotConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string AddLiveAppSnapshotConfigRequest::getOssEndpoint()const
|
||||
{
|
||||
return ossEndpoint_;
|
||||
}
|
||||
|
||||
void AddLiveAppSnapshotConfigRequest::setOssEndpoint(const std::string& ossEndpoint)
|
||||
{
|
||||
ossEndpoint_ = ossEndpoint;
|
||||
setParameter("OssEndpoint", ossEndpoint);
|
||||
}
|
||||
|
||||
std::string AddLiveAppSnapshotConfigRequest::getSequenceOssObject()const
|
||||
{
|
||||
return sequenceOssObject_;
|
||||
}
|
||||
|
||||
void AddLiveAppSnapshotConfigRequest::setSequenceOssObject(const std::string& sequenceOssObject)
|
||||
{
|
||||
sequenceOssObject_ = sequenceOssObject;
|
||||
setParameter("SequenceOssObject", sequenceOssObject);
|
||||
}
|
||||
|
||||
std::string AddLiveAppSnapshotConfigRequest::getOverwriteOssObject()const
|
||||
{
|
||||
return overwriteOssObject_;
|
||||
}
|
||||
|
||||
void AddLiveAppSnapshotConfigRequest::setOverwriteOssObject(const std::string& overwriteOssObject)
|
||||
{
|
||||
overwriteOssObject_ = overwriteOssObject;
|
||||
setParameter("OverwriteOssObject", overwriteOssObject);
|
||||
}
|
||||
|
||||
long AddLiveAppSnapshotConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddLiveAppSnapshotConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddLiveAppSnapshotConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddLiveAppSnapshotConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
45
live/src/model/AddLiveAppSnapshotConfigResult.cc
Normal file
45
live/src/model/AddLiveAppSnapshotConfigResult.cc
Normal file
@@ -0,0 +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/AddLiveAppSnapshotConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
AddLiveAppSnapshotConfigResult::AddLiveAppSnapshotConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddLiveAppSnapshotConfigResult::AddLiveAppSnapshotConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddLiveAppSnapshotConfigResult::~AddLiveAppSnapshotConfigResult()
|
||||
{}
|
||||
|
||||
void AddLiveAppSnapshotConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
82
live/src/model/AddLiveDetectNotifyConfigRequest.cc
Normal file
82
live/src/model/AddLiveDetectNotifyConfigRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* 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")
|
||||
{}
|
||||
|
||||
AddLiveDetectNotifyConfigRequest::~AddLiveDetectNotifyConfigRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveDetectNotifyConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AddLiveDetectNotifyConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AddLiveDetectNotifyConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void AddLiveDetectNotifyConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string AddLiveDetectNotifyConfigRequest::getNotifyUrl()const
|
||||
{
|
||||
return notifyUrl_;
|
||||
}
|
||||
|
||||
void AddLiveDetectNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl)
|
||||
{
|
||||
notifyUrl_ = notifyUrl;
|
||||
setParameter("NotifyUrl", notifyUrl);
|
||||
}
|
||||
|
||||
long AddLiveDetectNotifyConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddLiveDetectNotifyConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddLiveDetectNotifyConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddLiveDetectNotifyConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
45
live/src/model/AddLiveDetectNotifyConfigResult.cc
Normal file
45
live/src/model/AddLiveDetectNotifyConfigResult.cc
Normal file
@@ -0,0 +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/AddLiveDetectNotifyConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
AddLiveDetectNotifyConfigResult::AddLiveDetectNotifyConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddLiveDetectNotifyConfigResult::AddLiveDetectNotifyConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddLiveDetectNotifyConfigResult::~AddLiveDetectNotifyConfigResult()
|
||||
{}
|
||||
|
||||
void AddLiveDetectNotifyConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
93
live/src/model/AddLiveMixConfigRequest.cc
Normal file
93
live/src/model/AddLiveMixConfigRequest.cc
Normal file
@@ -0,0 +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/AddLiveMixConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveMixConfigRequest;
|
||||
|
||||
AddLiveMixConfigRequest::AddLiveMixConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddLiveMixConfig")
|
||||
{}
|
||||
|
||||
AddLiveMixConfigRequest::~AddLiveMixConfigRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveMixConfigRequest::get_Template()const
|
||||
{
|
||||
return _template_;
|
||||
}
|
||||
|
||||
void AddLiveMixConfigRequest::set_Template(const std::string& _template)
|
||||
{
|
||||
_template_ = _template;
|
||||
setParameter("_Template", _template);
|
||||
}
|
||||
|
||||
std::string AddLiveMixConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void AddLiveMixConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string AddLiveMixConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AddLiveMixConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AddLiveMixConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void AddLiveMixConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long AddLiveMixConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddLiveMixConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddLiveMixConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddLiveMixConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
45
live/src/model/AddLiveMixConfigResult.cc
Normal file
45
live/src/model/AddLiveMixConfigResult.cc
Normal file
@@ -0,0 +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/AddLiveMixConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
AddLiveMixConfigResult::AddLiveMixConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddLiveMixConfigResult::AddLiveMixConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddLiveMixConfigResult::~AddLiveMixConfigResult()
|
||||
{}
|
||||
|
||||
void AddLiveMixConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
82
live/src/model/AddLiveMixNotifyConfigRequest.cc
Normal file
82
live/src/model/AddLiveMixNotifyConfigRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* 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/AddLiveMixNotifyConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveMixNotifyConfigRequest;
|
||||
|
||||
AddLiveMixNotifyConfigRequest::AddLiveMixNotifyConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddLiveMixNotifyConfig")
|
||||
{}
|
||||
|
||||
AddLiveMixNotifyConfigRequest::~AddLiveMixNotifyConfigRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveMixNotifyConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AddLiveMixNotifyConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AddLiveMixNotifyConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void AddLiveMixNotifyConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string AddLiveMixNotifyConfigRequest::getNotifyUrl()const
|
||||
{
|
||||
return notifyUrl_;
|
||||
}
|
||||
|
||||
void AddLiveMixNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl)
|
||||
{
|
||||
notifyUrl_ = notifyUrl;
|
||||
setParameter("NotifyUrl", notifyUrl);
|
||||
}
|
||||
|
||||
long AddLiveMixNotifyConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddLiveMixNotifyConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddLiveMixNotifyConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddLiveMixNotifyConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
45
live/src/model/AddLiveMixNotifyConfigResult.cc
Normal file
45
live/src/model/AddLiveMixNotifyConfigResult.cc
Normal file
@@ -0,0 +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/AddLiveMixNotifyConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
AddLiveMixNotifyConfigResult::AddLiveMixNotifyConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddLiveMixNotifyConfigResult::AddLiveMixNotifyConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddLiveMixNotifyConfigResult::~AddLiveMixNotifyConfigResult()
|
||||
{}
|
||||
|
||||
void AddLiveMixNotifyConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
126
live/src/model/AddLivePullStreamInfoConfigRequest.cc
Normal file
126
live/src/model/AddLivePullStreamInfoConfigRequest.cc
Normal file
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* 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")
|
||||
{}
|
||||
|
||||
AddLivePullStreamInfoConfigRequest::~AddLivePullStreamInfoConfigRequest()
|
||||
{}
|
||||
|
||||
std::string AddLivePullStreamInfoConfigRequest::getSourceUrl()const
|
||||
{
|
||||
return sourceUrl_;
|
||||
}
|
||||
|
||||
void AddLivePullStreamInfoConfigRequest::setSourceUrl(const std::string& sourceUrl)
|
||||
{
|
||||
sourceUrl_ = sourceUrl;
|
||||
setParameter("SourceUrl", sourceUrl);
|
||||
}
|
||||
|
||||
std::string AddLivePullStreamInfoConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void AddLivePullStreamInfoConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string AddLivePullStreamInfoConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AddLivePullStreamInfoConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AddLivePullStreamInfoConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void AddLivePullStreamInfoConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string AddLivePullStreamInfoConfigRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void AddLivePullStreamInfoConfigRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string AddLivePullStreamInfoConfigRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void AddLivePullStreamInfoConfigRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
long AddLivePullStreamInfoConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddLivePullStreamInfoConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddLivePullStreamInfoConfigRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
void AddLivePullStreamInfoConfigRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
}
|
||||
|
||||
std::string AddLivePullStreamInfoConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddLivePullStreamInfoConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
45
live/src/model/AddLivePullStreamInfoConfigResult.cc
Normal file
45
live/src/model/AddLivePullStreamInfoConfigResult.cc
Normal file
@@ -0,0 +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/AddLivePullStreamInfoConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
AddLivePullStreamInfoConfigResult::AddLivePullStreamInfoConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddLivePullStreamInfoConfigResult::AddLivePullStreamInfoConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddLivePullStreamInfoConfigResult::~AddLivePullStreamInfoConfigResult()
|
||||
{}
|
||||
|
||||
void AddLivePullStreamInfoConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
104
live/src/model/AddLiveRecordNotifyConfigRequest.cc
Normal file
104
live/src/model/AddLiveRecordNotifyConfigRequest.cc
Normal file
@@ -0,0 +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/AddLiveRecordNotifyConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveRecordNotifyConfigRequest;
|
||||
|
||||
AddLiveRecordNotifyConfigRequest::AddLiveRecordNotifyConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddLiveRecordNotifyConfig")
|
||||
{}
|
||||
|
||||
AddLiveRecordNotifyConfigRequest::~AddLiveRecordNotifyConfigRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveRecordNotifyConfigRequest::getOnDemandUrl()const
|
||||
{
|
||||
return onDemandUrl_;
|
||||
}
|
||||
|
||||
void AddLiveRecordNotifyConfigRequest::setOnDemandUrl(const std::string& onDemandUrl)
|
||||
{
|
||||
onDemandUrl_ = onDemandUrl;
|
||||
setParameter("OnDemandUrl", onDemandUrl);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordNotifyConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AddLiveRecordNotifyConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordNotifyConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void AddLiveRecordNotifyConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordNotifyConfigRequest::getNotifyUrl()const
|
||||
{
|
||||
return notifyUrl_;
|
||||
}
|
||||
|
||||
void AddLiveRecordNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl)
|
||||
{
|
||||
notifyUrl_ = notifyUrl;
|
||||
setParameter("NotifyUrl", notifyUrl);
|
||||
}
|
||||
|
||||
long AddLiveRecordNotifyConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddLiveRecordNotifyConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
bool AddLiveRecordNotifyConfigRequest::getNeedStatusNotify()const
|
||||
{
|
||||
return needStatusNotify_;
|
||||
}
|
||||
|
||||
void AddLiveRecordNotifyConfigRequest::setNeedStatusNotify(bool needStatusNotify)
|
||||
{
|
||||
needStatusNotify_ = needStatusNotify;
|
||||
setParameter("NeedStatusNotify", std::to_string(needStatusNotify));
|
||||
}
|
||||
|
||||
std::string AddLiveRecordNotifyConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddLiveRecordNotifyConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
45
live/src/model/AddLiveRecordNotifyConfigResult.cc
Normal file
45
live/src/model/AddLiveRecordNotifyConfigResult.cc
Normal file
@@ -0,0 +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/AddLiveRecordNotifyConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
AddLiveRecordNotifyConfigResult::AddLiveRecordNotifyConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddLiveRecordNotifyConfigResult::AddLiveRecordNotifyConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddLiveRecordNotifyConfigResult::~AddLiveRecordNotifyConfigResult()
|
||||
{}
|
||||
|
||||
void AddLiveRecordNotifyConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
115
live/src/model/AddLiveRecordVodConfigRequest.cc
Normal file
115
live/src/model/AddLiveRecordVodConfigRequest.cc
Normal file
@@ -0,0 +1,115 @@
|
||||
/*
|
||||
* 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")
|
||||
{}
|
||||
|
||||
AddLiveRecordVodConfigRequest::~AddLiveRecordVodConfigRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getAutoCompose()const
|
||||
{
|
||||
return autoCompose_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setAutoCompose(const std::string& autoCompose)
|
||||
{
|
||||
autoCompose_ = autoCompose;
|
||||
setParameter("AutoCompose", autoCompose);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
int AddLiveRecordVodConfigRequest::getCycleDuration()const
|
||||
{
|
||||
return cycleDuration_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setCycleDuration(int cycleDuration)
|
||||
{
|
||||
cycleDuration_ = cycleDuration;
|
||||
setParameter("CycleDuration", std::to_string(cycleDuration));
|
||||
}
|
||||
|
||||
long AddLiveRecordVodConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getComposeVodTranscodeGroupId()const
|
||||
{
|
||||
return composeVodTranscodeGroupId_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setComposeVodTranscodeGroupId(const std::string& composeVodTranscodeGroupId)
|
||||
{
|
||||
composeVodTranscodeGroupId_ = composeVodTranscodeGroupId;
|
||||
setParameter("ComposeVodTranscodeGroupId", composeVodTranscodeGroupId);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getVodTranscodeGroupId()const
|
||||
{
|
||||
return vodTranscodeGroupId_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setVodTranscodeGroupId(const std::string& vodTranscodeGroupId)
|
||||
{
|
||||
vodTranscodeGroupId_ = vodTranscodeGroupId;
|
||||
setParameter("VodTranscodeGroupId", vodTranscodeGroupId);
|
||||
}
|
||||
|
||||
45
live/src/model/AddLiveRecordVodConfigResult.cc
Normal file
45
live/src/model/AddLiveRecordVodConfigResult.cc
Normal file
@@ -0,0 +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/AddLiveRecordVodConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
AddLiveRecordVodConfigResult::AddLiveRecordVodConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddLiveRecordVodConfigResult::AddLiveRecordVodConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddLiveRecordVodConfigResult::~AddLiveRecordVodConfigResult()
|
||||
{}
|
||||
|
||||
void AddLiveRecordVodConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
138
live/src/model/AddLiveSnapshotDetectPornConfigRequest.cc
Normal file
138
live/src/model/AddLiveSnapshotDetectPornConfigRequest.cc
Normal file
@@ -0,0 +1,138 @@
|
||||
/*
|
||||
* 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")
|
||||
{}
|
||||
|
||||
AddLiveSnapshotDetectPornConfigRequest::~AddLiveSnapshotDetectPornConfigRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveSnapshotDetectPornConfigRequest::getOssBucket()const
|
||||
{
|
||||
return ossBucket_;
|
||||
}
|
||||
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setOssBucket(const std::string& ossBucket)
|
||||
{
|
||||
ossBucket_ = ossBucket;
|
||||
setParameter("OssBucket", ossBucket);
|
||||
}
|
||||
|
||||
std::string AddLiveSnapshotDetectPornConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string AddLiveSnapshotDetectPornConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AddLiveSnapshotDetectPornConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string AddLiveSnapshotDetectPornConfigRequest::getOssEndpoint()const
|
||||
{
|
||||
return ossEndpoint_;
|
||||
}
|
||||
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setOssEndpoint(const std::string& ossEndpoint)
|
||||
{
|
||||
ossEndpoint_ = ossEndpoint;
|
||||
setParameter("OssEndpoint", ossEndpoint);
|
||||
}
|
||||
|
||||
int AddLiveSnapshotDetectPornConfigRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setInterval(int interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setParameter("Interval", std::to_string(interval));
|
||||
}
|
||||
|
||||
long AddLiveSnapshotDetectPornConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddLiveSnapshotDetectPornConfigRequest::getOssObject()const
|
||||
{
|
||||
return ossObject_;
|
||||
}
|
||||
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setOssObject(const std::string& ossObject)
|
||||
{
|
||||
ossObject_ = ossObject;
|
||||
setParameter("OssObject", ossObject);
|
||||
}
|
||||
|
||||
std::string AddLiveSnapshotDetectPornConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::vector<std::string> AddLiveSnapshotDetectPornConfigRequest::getScene()const
|
||||
{
|
||||
return scene_;
|
||||
}
|
||||
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setScene(const std::vector<std::string>& scene)
|
||||
{
|
||||
scene_ = scene;
|
||||
for(int i = 0; i!= scene.size(); i++)
|
||||
setParameter("Scene."+ std::to_string(i), scene.at(i));
|
||||
}
|
||||
|
||||
45
live/src/model/AddLiveSnapshotDetectPornConfigResult.cc
Normal file
45
live/src/model/AddLiveSnapshotDetectPornConfigResult.cc
Normal file
@@ -0,0 +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/AddLiveSnapshotDetectPornConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
AddLiveSnapshotDetectPornConfigResult::AddLiveSnapshotDetectPornConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddLiveSnapshotDetectPornConfigResult::AddLiveSnapshotDetectPornConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddLiveSnapshotDetectPornConfigResult::~AddLiveSnapshotDetectPornConfigResult()
|
||||
{}
|
||||
|
||||
void AddLiveSnapshotDetectPornConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
93
live/src/model/AddLiveStreamTranscodeRequest.cc
Normal file
93
live/src/model/AddLiveStreamTranscodeRequest.cc
Normal file
@@ -0,0 +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/AddLiveStreamTranscodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveStreamTranscodeRequest;
|
||||
|
||||
AddLiveStreamTranscodeRequest::AddLiveStreamTranscodeRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddLiveStreamTranscode")
|
||||
{}
|
||||
|
||||
AddLiveStreamTranscodeRequest::~AddLiveStreamTranscodeRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveStreamTranscodeRequest::getApp()const
|
||||
{
|
||||
return app_;
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::setApp(const std::string& app)
|
||||
{
|
||||
app_ = app;
|
||||
setParameter("App", app);
|
||||
}
|
||||
|
||||
std::string AddLiveStreamTranscodeRequest::get_Template()const
|
||||
{
|
||||
return _template_;
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::set_Template(const std::string& _template)
|
||||
{
|
||||
_template_ = _template;
|
||||
setParameter("_Template", _template);
|
||||
}
|
||||
|
||||
std::string AddLiveStreamTranscodeRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AddLiveStreamTranscodeRequest::getDomain()const
|
||||
{
|
||||
return domain_;
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::setDomain(const std::string& domain)
|
||||
{
|
||||
domain_ = domain;
|
||||
setParameter("Domain", domain);
|
||||
}
|
||||
|
||||
long AddLiveStreamTranscodeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddLiveStreamTranscodeRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
45
live/src/model/AddLiveStreamTranscodeResult.cc
Normal file
45
live/src/model/AddLiveStreamTranscodeResult.cc
Normal file
@@ -0,0 +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/AddLiveStreamTranscodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
AddLiveStreamTranscodeResult::AddLiveStreamTranscodeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddLiveStreamTranscodeResult::AddLiveStreamTranscodeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddLiveStreamTranscodeResult::~AddLiveStreamTranscodeResult()
|
||||
{}
|
||||
|
||||
void AddLiveStreamTranscodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
126
live/src/model/AddMultipleStreamMixServiceRequest.cc
Normal file
126
live/src/model/AddMultipleStreamMixServiceRequest.cc
Normal file
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* 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/AddMultipleStreamMixServiceRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddMultipleStreamMixServiceRequest;
|
||||
|
||||
AddMultipleStreamMixServiceRequest::AddMultipleStreamMixServiceRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddMultipleStreamMixService")
|
||||
{}
|
||||
|
||||
AddMultipleStreamMixServiceRequest::~AddMultipleStreamMixServiceRequest()
|
||||
{}
|
||||
|
||||
std::string AddMultipleStreamMixServiceRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void AddMultipleStreamMixServiceRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string AddMultipleStreamMixServiceRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void AddMultipleStreamMixServiceRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string AddMultipleStreamMixServiceRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void AddMultipleStreamMixServiceRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string AddMultipleStreamMixServiceRequest::getMixStreamName()const
|
||||
{
|
||||
return mixStreamName_;
|
||||
}
|
||||
|
||||
void AddMultipleStreamMixServiceRequest::setMixStreamName(const std::string& mixStreamName)
|
||||
{
|
||||
mixStreamName_ = mixStreamName;
|
||||
setParameter("MixStreamName", mixStreamName);
|
||||
}
|
||||
|
||||
std::string AddMultipleStreamMixServiceRequest::getMixDomainName()const
|
||||
{
|
||||
return mixDomainName_;
|
||||
}
|
||||
|
||||
void AddMultipleStreamMixServiceRequest::setMixDomainName(const std::string& mixDomainName)
|
||||
{
|
||||
mixDomainName_ = mixDomainName;
|
||||
setParameter("MixDomainName", mixDomainName);
|
||||
}
|
||||
|
||||
long AddMultipleStreamMixServiceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddMultipleStreamMixServiceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddMultipleStreamMixServiceRequest::getMixAppName()const
|
||||
{
|
||||
return mixAppName_;
|
||||
}
|
||||
|
||||
void AddMultipleStreamMixServiceRequest::setMixAppName(const std::string& mixAppName)
|
||||
{
|
||||
mixAppName_ = mixAppName;
|
||||
setParameter("MixAppName", mixAppName);
|
||||
}
|
||||
|
||||
std::string AddMultipleStreamMixServiceRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
void AddMultipleStreamMixServiceRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
}
|
||||
|
||||
std::string AddMultipleStreamMixServiceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddMultipleStreamMixServiceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
45
live/src/model/AddMultipleStreamMixServiceResult.cc
Normal file
45
live/src/model/AddMultipleStreamMixServiceResult.cc
Normal file
@@ -0,0 +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/AddMultipleStreamMixServiceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
AddMultipleStreamMixServiceResult::AddMultipleStreamMixServiceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddMultipleStreamMixServiceResult::AddMultipleStreamMixServiceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddMultipleStreamMixServiceResult::~AddMultipleStreamMixServiceResult()
|
||||
{}
|
||||
|
||||
void AddMultipleStreamMixServiceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
115
live/src/model/AddTrancodeSEIRequest.cc
Normal file
115
live/src/model/AddTrancodeSEIRequest.cc
Normal file
@@ -0,0 +1,115 @@
|
||||
/*
|
||||
* 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")
|
||||
{}
|
||||
|
||||
AddTrancodeSEIRequest::~AddTrancodeSEIRequest()
|
||||
{}
|
||||
|
||||
int AddTrancodeSEIRequest::getDelay()const
|
||||
{
|
||||
return delay_;
|
||||
}
|
||||
|
||||
void AddTrancodeSEIRequest::setDelay(int delay)
|
||||
{
|
||||
delay_ = delay;
|
||||
setParameter("Delay", std::to_string(delay));
|
||||
}
|
||||
|
||||
std::string AddTrancodeSEIRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void AddTrancodeSEIRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
int AddTrancodeSEIRequest::getRepeat()const
|
||||
{
|
||||
return repeat_;
|
||||
}
|
||||
|
||||
void AddTrancodeSEIRequest::setRepeat(int repeat)
|
||||
{
|
||||
repeat_ = repeat;
|
||||
setParameter("Repeat", std::to_string(repeat));
|
||||
}
|
||||
|
||||
std::string AddTrancodeSEIRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void AddTrancodeSEIRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string AddTrancodeSEIRequest::getPattern()const
|
||||
{
|
||||
return pattern_;
|
||||
}
|
||||
|
||||
void AddTrancodeSEIRequest::setPattern(const std::string& pattern)
|
||||
{
|
||||
pattern_ = pattern;
|
||||
setParameter("Pattern", pattern);
|
||||
}
|
||||
|
||||
std::string AddTrancodeSEIRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void AddTrancodeSEIRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setParameter("Text", text);
|
||||
}
|
||||
|
||||
long AddTrancodeSEIRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddTrancodeSEIRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddTrancodeSEIRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
void AddTrancodeSEIRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
}
|
||||
|
||||
45
live/src/model/AddTrancodeSEIResult.cc
Normal file
45
live/src/model/AddTrancodeSEIResult.cc
Normal file
@@ -0,0 +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/AddTrancodeSEIResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
AddTrancodeSEIResult::AddTrancodeSEIResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddTrancodeSEIResult::AddTrancodeSEIResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddTrancodeSEIResult::~AddTrancodeSEIResult()
|
||||
{}
|
||||
|
||||
void AddTrancodeSEIResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
71
live/src/model/CopyCasterRequest.cc
Normal file
71
live/src/model/CopyCasterRequest.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* 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")
|
||||
{}
|
||||
|
||||
CopyCasterRequest::~CopyCasterRequest()
|
||||
{}
|
||||
|
||||
std::string CopyCasterRequest::getSrcCasterId()const
|
||||
{
|
||||
return srcCasterId_;
|
||||
}
|
||||
|
||||
void CopyCasterRequest::setSrcCasterId(const std::string& srcCasterId)
|
||||
{
|
||||
srcCasterId_ = srcCasterId;
|
||||
setParameter("SrcCasterId", srcCasterId);
|
||||
}
|
||||
|
||||
std::string CopyCasterRequest::getCasterName()const
|
||||
{
|
||||
return casterName_;
|
||||
}
|
||||
|
||||
void CopyCasterRequest::setCasterName(const std::string& casterName)
|
||||
{
|
||||
casterName_ = casterName;
|
||||
setParameter("CasterName", casterName);
|
||||
}
|
||||
|
||||
std::string CopyCasterRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CopyCasterRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
long CopyCasterRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CopyCasterRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
52
live/src/model/CopyCasterResult.cc
Normal file
52
live/src/model/CopyCasterResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* 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/CopyCasterResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
CopyCasterResult::CopyCasterResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CopyCasterResult::CopyCasterResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CopyCasterResult::~CopyCasterResult()
|
||||
{}
|
||||
|
||||
void CopyCasterResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CasterId"].isNull())
|
||||
casterId_ = value["CasterId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CopyCasterResult::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
71
live/src/model/CopyCasterSceneConfigRequest.cc
Normal file
71
live/src/model/CopyCasterSceneConfigRequest.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* 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")
|
||||
{}
|
||||
|
||||
CopyCasterSceneConfigRequest::~CopyCasterSceneConfigRequest()
|
||||
{}
|
||||
|
||||
std::string CopyCasterSceneConfigRequest::getFromSceneId()const
|
||||
{
|
||||
return fromSceneId_;
|
||||
}
|
||||
|
||||
void CopyCasterSceneConfigRequest::setFromSceneId(const std::string& fromSceneId)
|
||||
{
|
||||
fromSceneId_ = fromSceneId;
|
||||
setParameter("FromSceneId", fromSceneId);
|
||||
}
|
||||
|
||||
std::string CopyCasterSceneConfigRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
void CopyCasterSceneConfigRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
}
|
||||
|
||||
long CopyCasterSceneConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CopyCasterSceneConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CopyCasterSceneConfigRequest::getToSceneId()const
|
||||
{
|
||||
return toSceneId_;
|
||||
}
|
||||
|
||||
void CopyCasterSceneConfigRequest::setToSceneId(const std::string& toSceneId)
|
||||
{
|
||||
toSceneId_ = toSceneId;
|
||||
setParameter("ToSceneId", toSceneId);
|
||||
}
|
||||
|
||||
45
live/src/model/CopyCasterSceneConfigResult.cc
Normal file
45
live/src/model/CopyCasterSceneConfigResult.cc
Normal file
@@ -0,0 +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/CopyCasterSceneConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
CopyCasterSceneConfigResult::CopyCasterSceneConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CopyCasterSceneConfigResult::CopyCasterSceneConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CopyCasterSceneConfigResult::~CopyCasterSceneConfigResult()
|
||||
{}
|
||||
|
||||
void CopyCasterSceneConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
115
live/src/model/CreateCasterRequest.cc
Normal file
115
live/src/model/CreateCasterRequest.cc
Normal file
@@ -0,0 +1,115 @@
|
||||
/*
|
||||
* 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")
|
||||
{}
|
||||
|
||||
CreateCasterRequest::~CreateCasterRequest()
|
||||
{}
|
||||
|
||||
std::string CreateCasterRequest::getCasterTemplate()const
|
||||
{
|
||||
return casterTemplate_;
|
||||
}
|
||||
|
||||
void CreateCasterRequest::setCasterTemplate(const std::string& casterTemplate)
|
||||
{
|
||||
casterTemplate_ = casterTemplate;
|
||||
setParameter("CasterTemplate", casterTemplate);
|
||||
}
|
||||
|
||||
std::string CreateCasterRequest::getExpireTime()const
|
||||
{
|
||||
return expireTime_;
|
||||
}
|
||||
|
||||
void CreateCasterRequest::setExpireTime(const std::string& expireTime)
|
||||
{
|
||||
expireTime_ = expireTime;
|
||||
setParameter("ExpireTime", expireTime);
|
||||
}
|
||||
|
||||
int CreateCasterRequest::getNormType()const
|
||||
{
|
||||
return normType_;
|
||||
}
|
||||
|
||||
void CreateCasterRequest::setNormType(int normType)
|
||||
{
|
||||
normType_ = normType;
|
||||
setParameter("NormType", std::to_string(normType));
|
||||
}
|
||||
|
||||
std::string CreateCasterRequest::getCasterName()const
|
||||
{
|
||||
return casterName_;
|
||||
}
|
||||
|
||||
void CreateCasterRequest::setCasterName(const std::string& casterName)
|
||||
{
|
||||
casterName_ = casterName;
|
||||
setParameter("CasterName", casterName);
|
||||
}
|
||||
|
||||
std::string CreateCasterRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateCasterRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateCasterRequest::getChargeType()const
|
||||
{
|
||||
return chargeType_;
|
||||
}
|
||||
|
||||
void CreateCasterRequest::setChargeType(const std::string& chargeType)
|
||||
{
|
||||
chargeType_ = chargeType;
|
||||
setParameter("ChargeType", chargeType);
|
||||
}
|
||||
|
||||
long CreateCasterRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateCasterRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateCasterRequest::getPurchaseTime()const
|
||||
{
|
||||
return purchaseTime_;
|
||||
}
|
||||
|
||||
void CreateCasterRequest::setPurchaseTime(const std::string& purchaseTime)
|
||||
{
|
||||
purchaseTime_ = purchaseTime;
|
||||
setParameter("PurchaseTime", purchaseTime);
|
||||
}
|
||||
|
||||
52
live/src/model/CreateCasterResult.cc
Normal file
52
live/src/model/CreateCasterResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* 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/CreateCasterResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
CreateCasterResult::CreateCasterResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateCasterResult::CreateCasterResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateCasterResult::~CreateCasterResult()
|
||||
{}
|
||||
|
||||
void CreateCasterResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CasterId"].isNull())
|
||||
casterId_ = value["CasterId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateCasterResult::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
148
live/src/model/CreateLiveStreamRecordIndexFilesRequest.cc
Normal file
148
live/src/model/CreateLiveStreamRecordIndexFilesRequest.cc
Normal file
@@ -0,0 +1,148 @@
|
||||
/*
|
||||
* 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")
|
||||
{}
|
||||
|
||||
CreateLiveStreamRecordIndexFilesRequest::~CreateLiveStreamRecordIndexFilesRequest()
|
||||
{}
|
||||
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getOssBucket()const
|
||||
{
|
||||
return ossBucket_;
|
||||
}
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setOssBucket(const std::string& ossBucket)
|
||||
{
|
||||
ossBucket_ = ossBucket;
|
||||
setParameter("OssBucket", ossBucket);
|
||||
}
|
||||
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getOssEndpoint()const
|
||||
{
|
||||
return ossEndpoint_;
|
||||
}
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setOssEndpoint(const std::string& ossEndpoint)
|
||||
{
|
||||
ossEndpoint_ = ossEndpoint;
|
||||
setParameter("OssEndpoint", ossEndpoint);
|
||||
}
|
||||
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
long CreateLiveStreamRecordIndexFilesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
}
|
||||
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getOssObject()const
|
||||
{
|
||||
return ossObject_;
|
||||
}
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setOssObject(const std::string& ossObject)
|
||||
{
|
||||
ossObject_ = ossObject;
|
||||
setParameter("OssObject", ossObject);
|
||||
}
|
||||
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
79
live/src/model/CreateLiveStreamRecordIndexFilesResult.cc
Normal file
79
live/src/model/CreateLiveStreamRecordIndexFilesResult.cc
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* 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/CreateLiveStreamRecordIndexFilesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
CreateLiveStreamRecordIndexFilesResult::CreateLiveStreamRecordIndexFilesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateLiveStreamRecordIndexFilesResult::CreateLiveStreamRecordIndexFilesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateLiveStreamRecordIndexFilesResult::~CreateLiveStreamRecordIndexFilesResult()
|
||||
{}
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
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();
|
||||
|
||||
}
|
||||
|
||||
CreateLiveStreamRecordIndexFilesResult::RecordInfo CreateLiveStreamRecordIndexFilesResult::getRecordInfo()const
|
||||
{
|
||||
return recordInfo_;
|
||||
}
|
||||
|
||||
60
live/src/model/DeleteCasterComponentRequest.cc
Normal file
60
live/src/model/DeleteCasterComponentRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterComponentRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCasterComponentRequest;
|
||||
|
||||
DeleteCasterComponentRequest::DeleteCasterComponentRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteCasterComponent")
|
||||
{}
|
||||
|
||||
DeleteCasterComponentRequest::~DeleteCasterComponentRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteCasterComponentRequest::getComponentId()const
|
||||
{
|
||||
return componentId_;
|
||||
}
|
||||
|
||||
void DeleteCasterComponentRequest::setComponentId(const std::string& componentId)
|
||||
{
|
||||
componentId_ = componentId;
|
||||
setParameter("ComponentId", componentId);
|
||||
}
|
||||
|
||||
std::string DeleteCasterComponentRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
void DeleteCasterComponentRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
}
|
||||
|
||||
long DeleteCasterComponentRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCasterComponentRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
59
live/src/model/DeleteCasterComponentResult.cc
Normal file
59
live/src/model/DeleteCasterComponentResult.cc
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterComponentResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DeleteCasterComponentResult::DeleteCasterComponentResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteCasterComponentResult::DeleteCasterComponentResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteCasterComponentResult::~DeleteCasterComponentResult()
|
||||
{}
|
||||
|
||||
void DeleteCasterComponentResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CasterId"].isNull())
|
||||
casterId_ = value["CasterId"].asString();
|
||||
if(!value["ComponentId"].isNull())
|
||||
componentId_ = value["ComponentId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteCasterComponentResult::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
std::string DeleteCasterComponentResult::getComponentId()const
|
||||
{
|
||||
return componentId_;
|
||||
}
|
||||
|
||||
49
live/src/model/DeleteCasterEpisodeGroupRequest.cc
Normal file
49
live/src/model/DeleteCasterEpisodeGroupRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterEpisodeGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCasterEpisodeGroupRequest;
|
||||
|
||||
DeleteCasterEpisodeGroupRequest::DeleteCasterEpisodeGroupRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteCasterEpisodeGroup")
|
||||
{}
|
||||
|
||||
DeleteCasterEpisodeGroupRequest::~DeleteCasterEpisodeGroupRequest()
|
||||
{}
|
||||
|
||||
long DeleteCasterEpisodeGroupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCasterEpisodeGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteCasterEpisodeGroupRequest::getProgramId()const
|
||||
{
|
||||
return programId_;
|
||||
}
|
||||
|
||||
void DeleteCasterEpisodeGroupRequest::setProgramId(const std::string& programId)
|
||||
{
|
||||
programId_ = programId;
|
||||
setParameter("ProgramId", programId);
|
||||
}
|
||||
|
||||
45
live/src/model/DeleteCasterEpisodeGroupResult.cc
Normal file
45
live/src/model/DeleteCasterEpisodeGroupResult.cc
Normal file
@@ -0,0 +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/DeleteCasterEpisodeGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DeleteCasterEpisodeGroupResult::DeleteCasterEpisodeGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteCasterEpisodeGroupResult::DeleteCasterEpisodeGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteCasterEpisodeGroupResult::~DeleteCasterEpisodeGroupResult()
|
||||
{}
|
||||
|
||||
void DeleteCasterEpisodeGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
60
live/src/model/DeleteCasterEpisodeRequest.cc
Normal file
60
live/src/model/DeleteCasterEpisodeRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterEpisodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCasterEpisodeRequest;
|
||||
|
||||
DeleteCasterEpisodeRequest::DeleteCasterEpisodeRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteCasterEpisode")
|
||||
{}
|
||||
|
||||
DeleteCasterEpisodeRequest::~DeleteCasterEpisodeRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteCasterEpisodeRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
void DeleteCasterEpisodeRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
}
|
||||
|
||||
long DeleteCasterEpisodeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCasterEpisodeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteCasterEpisodeRequest::getEpisodeId()const
|
||||
{
|
||||
return episodeId_;
|
||||
}
|
||||
|
||||
void DeleteCasterEpisodeRequest::setEpisodeId(const std::string& episodeId)
|
||||
{
|
||||
episodeId_ = episodeId;
|
||||
setParameter("EpisodeId", episodeId);
|
||||
}
|
||||
|
||||
59
live/src/model/DeleteCasterEpisodeResult.cc
Normal file
59
live/src/model/DeleteCasterEpisodeResult.cc
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterEpisodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DeleteCasterEpisodeResult::DeleteCasterEpisodeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteCasterEpisodeResult::DeleteCasterEpisodeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteCasterEpisodeResult::~DeleteCasterEpisodeResult()
|
||||
{}
|
||||
|
||||
void DeleteCasterEpisodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CasterId"].isNull())
|
||||
casterId_ = value["CasterId"].asString();
|
||||
if(!value["EpisodeId"].isNull())
|
||||
episodeId_ = value["EpisodeId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteCasterEpisodeResult::getEpisodeId()const
|
||||
{
|
||||
return episodeId_;
|
||||
}
|
||||
|
||||
std::string DeleteCasterEpisodeResult::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
60
live/src/model/DeleteCasterLayoutRequest.cc
Normal file
60
live/src/model/DeleteCasterLayoutRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterLayoutRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCasterLayoutRequest;
|
||||
|
||||
DeleteCasterLayoutRequest::DeleteCasterLayoutRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteCasterLayout")
|
||||
{}
|
||||
|
||||
DeleteCasterLayoutRequest::~DeleteCasterLayoutRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteCasterLayoutRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
void DeleteCasterLayoutRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
}
|
||||
|
||||
long DeleteCasterLayoutRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCasterLayoutRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteCasterLayoutRequest::getLayoutId()const
|
||||
{
|
||||
return layoutId_;
|
||||
}
|
||||
|
||||
void DeleteCasterLayoutRequest::setLayoutId(const std::string& layoutId)
|
||||
{
|
||||
layoutId_ = layoutId;
|
||||
setParameter("LayoutId", layoutId);
|
||||
}
|
||||
|
||||
59
live/src/model/DeleteCasterLayoutResult.cc
Normal file
59
live/src/model/DeleteCasterLayoutResult.cc
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterLayoutResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DeleteCasterLayoutResult::DeleteCasterLayoutResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteCasterLayoutResult::DeleteCasterLayoutResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteCasterLayoutResult::~DeleteCasterLayoutResult()
|
||||
{}
|
||||
|
||||
void DeleteCasterLayoutResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CasterId"].isNull())
|
||||
casterId_ = value["CasterId"].asString();
|
||||
if(!value["LayoutId"].isNull())
|
||||
layoutId_ = value["LayoutId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteCasterLayoutResult::getLayoutId()const
|
||||
{
|
||||
return layoutId_;
|
||||
}
|
||||
|
||||
std::string DeleteCasterLayoutResult::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
49
live/src/model/DeleteCasterProgramRequest.cc
Normal file
49
live/src/model/DeleteCasterProgramRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterProgramRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCasterProgramRequest;
|
||||
|
||||
DeleteCasterProgramRequest::DeleteCasterProgramRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteCasterProgram")
|
||||
{}
|
||||
|
||||
DeleteCasterProgramRequest::~DeleteCasterProgramRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteCasterProgramRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
void DeleteCasterProgramRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
}
|
||||
|
||||
long DeleteCasterProgramRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCasterProgramRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
52
live/src/model/DeleteCasterProgramResult.cc
Normal file
52
live/src/model/DeleteCasterProgramResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* 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/DeleteCasterProgramResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DeleteCasterProgramResult::DeleteCasterProgramResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteCasterProgramResult::DeleteCasterProgramResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteCasterProgramResult::~DeleteCasterProgramResult()
|
||||
{}
|
||||
|
||||
void DeleteCasterProgramResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CasterId"].isNull())
|
||||
casterId_ = value["CasterId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteCasterProgramResult::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
49
live/src/model/DeleteCasterRequest.cc
Normal file
49
live/src/model/DeleteCasterRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCasterRequest;
|
||||
|
||||
DeleteCasterRequest::DeleteCasterRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteCaster")
|
||||
{}
|
||||
|
||||
DeleteCasterRequest::~DeleteCasterRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteCasterRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
void DeleteCasterRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
}
|
||||
|
||||
long DeleteCasterRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCasterRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
52
live/src/model/DeleteCasterResult.cc
Normal file
52
live/src/model/DeleteCasterResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* 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/DeleteCasterResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DeleteCasterResult::DeleteCasterResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteCasterResult::DeleteCasterResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteCasterResult::~DeleteCasterResult()
|
||||
{}
|
||||
|
||||
void DeleteCasterResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CasterId"].isNull())
|
||||
casterId_ = value["CasterId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteCasterResult::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
71
live/src/model/DeleteCasterSceneConfigRequest.cc
Normal file
71
live/src/model/DeleteCasterSceneConfigRequest.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* 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")
|
||||
{}
|
||||
|
||||
DeleteCasterSceneConfigRequest::~DeleteCasterSceneConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteCasterSceneConfigRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
void DeleteCasterSceneConfigRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
}
|
||||
|
||||
std::string DeleteCasterSceneConfigRequest::getSceneId()const
|
||||
{
|
||||
return sceneId_;
|
||||
}
|
||||
|
||||
void DeleteCasterSceneConfigRequest::setSceneId(const std::string& sceneId)
|
||||
{
|
||||
sceneId_ = sceneId;
|
||||
setParameter("SceneId", sceneId);
|
||||
}
|
||||
|
||||
long DeleteCasterSceneConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCasterSceneConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteCasterSceneConfigRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
void DeleteCasterSceneConfigRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
}
|
||||
|
||||
45
live/src/model/DeleteCasterSceneConfigResult.cc
Normal file
45
live/src/model/DeleteCasterSceneConfigResult.cc
Normal file
@@ -0,0 +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/DeleteCasterSceneConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DeleteCasterSceneConfigResult::DeleteCasterSceneConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteCasterSceneConfigResult::DeleteCasterSceneConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteCasterSceneConfigResult::~DeleteCasterSceneConfigResult()
|
||||
{}
|
||||
|
||||
void DeleteCasterSceneConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
60
live/src/model/DeleteCasterVideoResourceRequest.cc
Normal file
60
live/src/model/DeleteCasterVideoResourceRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterVideoResourceRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCasterVideoResourceRequest;
|
||||
|
||||
DeleteCasterVideoResourceRequest::DeleteCasterVideoResourceRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteCasterVideoResource")
|
||||
{}
|
||||
|
||||
DeleteCasterVideoResourceRequest::~DeleteCasterVideoResourceRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteCasterVideoResourceRequest::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
void DeleteCasterVideoResourceRequest::setResourceId(const std::string& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
setParameter("ResourceId", resourceId);
|
||||
}
|
||||
|
||||
std::string DeleteCasterVideoResourceRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
void DeleteCasterVideoResourceRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
}
|
||||
|
||||
long DeleteCasterVideoResourceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCasterVideoResourceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
45
live/src/model/DeleteCasterVideoResourceResult.cc
Normal file
45
live/src/model/DeleteCasterVideoResourceResult.cc
Normal file
@@ -0,0 +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/DeleteCasterVideoResourceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DeleteCasterVideoResourceResult::DeleteCasterVideoResourceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteCasterVideoResourceResult::DeleteCasterVideoResourceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteCasterVideoResourceResult::~DeleteCasterVideoResourceResult()
|
||||
{}
|
||||
|
||||
void DeleteCasterVideoResourceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
93
live/src/model/DeleteLiveAppRecordConfigRequest.cc
Normal file
93
live/src/model/DeleteLiveAppRecordConfigRequest.cc
Normal file
@@ -0,0 +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/DeleteLiveAppRecordConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveAppRecordConfigRequest;
|
||||
|
||||
DeleteLiveAppRecordConfigRequest::DeleteLiveAppRecordConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveAppRecordConfig")
|
||||
{}
|
||||
|
||||
DeleteLiveAppRecordConfigRequest::~DeleteLiveAppRecordConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveAppRecordConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppRecordConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string DeleteLiveAppRecordConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppRecordConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteLiveAppRecordConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppRecordConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DeleteLiveAppRecordConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppRecordConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteLiveAppRecordConfigRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppRecordConfigRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
}
|
||||
|
||||
std::string DeleteLiveAppRecordConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppRecordConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
45
live/src/model/DeleteLiveAppRecordConfigResult.cc
Normal file
45
live/src/model/DeleteLiveAppRecordConfigResult.cc
Normal file
@@ -0,0 +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/DeleteLiveAppRecordConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DeleteLiveAppRecordConfigResult::DeleteLiveAppRecordConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteLiveAppRecordConfigResult::DeleteLiveAppRecordConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteLiveAppRecordConfigResult::~DeleteLiveAppRecordConfigResult()
|
||||
{}
|
||||
|
||||
void DeleteLiveAppRecordConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
82
live/src/model/DeleteLiveAppSnapshotConfigRequest.cc
Normal file
82
live/src/model/DeleteLiveAppSnapshotConfigRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* 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")
|
||||
{}
|
||||
|
||||
DeleteLiveAppSnapshotConfigRequest::~DeleteLiveAppSnapshotConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveAppSnapshotConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppSnapshotConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string DeleteLiveAppSnapshotConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppSnapshotConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteLiveAppSnapshotConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppSnapshotConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DeleteLiveAppSnapshotConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppSnapshotConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteLiveAppSnapshotConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppSnapshotConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
45
live/src/model/DeleteLiveAppSnapshotConfigResult.cc
Normal file
45
live/src/model/DeleteLiveAppSnapshotConfigResult.cc
Normal file
@@ -0,0 +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/DeleteLiveAppSnapshotConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DeleteLiveAppSnapshotConfigResult::DeleteLiveAppSnapshotConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteLiveAppSnapshotConfigResult::DeleteLiveAppSnapshotConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteLiveAppSnapshotConfigResult::~DeleteLiveAppSnapshotConfigResult()
|
||||
{}
|
||||
|
||||
void DeleteLiveAppSnapshotConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
71
live/src/model/DeleteLiveDetectNotifyConfigRequest.cc
Normal file
71
live/src/model/DeleteLiveDetectNotifyConfigRequest.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* 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")
|
||||
{}
|
||||
|
||||
DeleteLiveDetectNotifyConfigRequest::~DeleteLiveDetectNotifyConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveDetectNotifyConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteLiveDetectNotifyConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteLiveDetectNotifyConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DeleteLiveDetectNotifyConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DeleteLiveDetectNotifyConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveDetectNotifyConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteLiveDetectNotifyConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteLiveDetectNotifyConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
45
live/src/model/DeleteLiveDetectNotifyConfigResult.cc
Normal file
45
live/src/model/DeleteLiveDetectNotifyConfigResult.cc
Normal file
@@ -0,0 +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/DeleteLiveDetectNotifyConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DeleteLiveDetectNotifyConfigResult::DeleteLiveDetectNotifyConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteLiveDetectNotifyConfigResult::DeleteLiveDetectNotifyConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteLiveDetectNotifyConfigResult::~DeleteLiveDetectNotifyConfigResult()
|
||||
{}
|
||||
|
||||
void DeleteLiveDetectNotifyConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
82
live/src/model/DeleteLiveMixConfigRequest.cc
Normal file
82
live/src/model/DeleteLiveMixConfigRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* 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/DeleteLiveMixConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveMixConfigRequest;
|
||||
|
||||
DeleteLiveMixConfigRequest::DeleteLiveMixConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveMixConfig")
|
||||
{}
|
||||
|
||||
DeleteLiveMixConfigRequest::~DeleteLiveMixConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveMixConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void DeleteLiveMixConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string DeleteLiveMixConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteLiveMixConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteLiveMixConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DeleteLiveMixConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DeleteLiveMixConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveMixConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteLiveMixConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteLiveMixConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
45
live/src/model/DeleteLiveMixConfigResult.cc
Normal file
45
live/src/model/DeleteLiveMixConfigResult.cc
Normal file
@@ -0,0 +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/DeleteLiveMixConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DeleteLiveMixConfigResult::DeleteLiveMixConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteLiveMixConfigResult::DeleteLiveMixConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteLiveMixConfigResult::~DeleteLiveMixConfigResult()
|
||||
{}
|
||||
|
||||
void DeleteLiveMixConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
71
live/src/model/DeleteLiveMixNotifyConfigRequest.cc
Normal file
71
live/src/model/DeleteLiveMixNotifyConfigRequest.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* 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/DeleteLiveMixNotifyConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveMixNotifyConfigRequest;
|
||||
|
||||
DeleteLiveMixNotifyConfigRequest::DeleteLiveMixNotifyConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveMixNotifyConfig")
|
||||
{}
|
||||
|
||||
DeleteLiveMixNotifyConfigRequest::~DeleteLiveMixNotifyConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveMixNotifyConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteLiveMixNotifyConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteLiveMixNotifyConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DeleteLiveMixNotifyConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DeleteLiveMixNotifyConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveMixNotifyConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteLiveMixNotifyConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteLiveMixNotifyConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
45
live/src/model/DeleteLiveMixNotifyConfigResult.cc
Normal file
45
live/src/model/DeleteLiveMixNotifyConfigResult.cc
Normal file
@@ -0,0 +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/DeleteLiveMixNotifyConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DeleteLiveMixNotifyConfigResult::DeleteLiveMixNotifyConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteLiveMixNotifyConfigResult::DeleteLiveMixNotifyConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteLiveMixNotifyConfigResult::~DeleteLiveMixNotifyConfigResult()
|
||||
{}
|
||||
|
||||
void DeleteLiveMixNotifyConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
93
live/src/model/DeleteLivePullStreamInfoConfigRequest.cc
Normal file
93
live/src/model/DeleteLivePullStreamInfoConfigRequest.cc
Normal file
@@ -0,0 +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/DeleteLivePullStreamInfoConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLivePullStreamInfoConfigRequest;
|
||||
|
||||
DeleteLivePullStreamInfoConfigRequest::DeleteLivePullStreamInfoConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLivePullStreamInfoConfig")
|
||||
{}
|
||||
|
||||
DeleteLivePullStreamInfoConfigRequest::~DeleteLivePullStreamInfoConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLivePullStreamInfoConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void DeleteLivePullStreamInfoConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string DeleteLivePullStreamInfoConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteLivePullStreamInfoConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteLivePullStreamInfoConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DeleteLivePullStreamInfoConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DeleteLivePullStreamInfoConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLivePullStreamInfoConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteLivePullStreamInfoConfigRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
void DeleteLivePullStreamInfoConfigRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
}
|
||||
|
||||
std::string DeleteLivePullStreamInfoConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteLivePullStreamInfoConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
45
live/src/model/DeleteLivePullStreamInfoConfigResult.cc
Normal file
45
live/src/model/DeleteLivePullStreamInfoConfigResult.cc
Normal file
@@ -0,0 +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/DeleteLivePullStreamInfoConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DeleteLivePullStreamInfoConfigResult::DeleteLivePullStreamInfoConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteLivePullStreamInfoConfigResult::DeleteLivePullStreamInfoConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteLivePullStreamInfoConfigResult::~DeleteLivePullStreamInfoConfigResult()
|
||||
{}
|
||||
|
||||
void DeleteLivePullStreamInfoConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
71
live/src/model/DeleteLiveRecordNotifyConfigRequest.cc
Normal file
71
live/src/model/DeleteLiveRecordNotifyConfigRequest.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* 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")
|
||||
{}
|
||||
|
||||
DeleteLiveRecordNotifyConfigRequest::~DeleteLiveRecordNotifyConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveRecordNotifyConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordNotifyConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordNotifyConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordNotifyConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DeleteLiveRecordNotifyConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordNotifyConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordNotifyConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordNotifyConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
45
live/src/model/DeleteLiveRecordNotifyConfigResult.cc
Normal file
45
live/src/model/DeleteLiveRecordNotifyConfigResult.cc
Normal file
@@ -0,0 +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/DeleteLiveRecordNotifyConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DeleteLiveRecordNotifyConfigResult::DeleteLiveRecordNotifyConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteLiveRecordNotifyConfigResult::DeleteLiveRecordNotifyConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteLiveRecordNotifyConfigResult::~DeleteLiveRecordNotifyConfigResult()
|
||||
{}
|
||||
|
||||
void DeleteLiveRecordNotifyConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
93
live/src/model/DeleteLiveRecordVodConfigRequest.cc
Normal file
93
live/src/model/DeleteLiveRecordVodConfigRequest.cc
Normal file
@@ -0,0 +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/DeleteLiveRecordVodConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveRecordVodConfigRequest;
|
||||
|
||||
DeleteLiveRecordVodConfigRequest::DeleteLiveRecordVodConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveRecordVodConfig")
|
||||
{}
|
||||
|
||||
DeleteLiveRecordVodConfigRequest::~DeleteLiveRecordVodConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DeleteLiveRecordVodConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
45
live/src/model/DeleteLiveRecordVodConfigResult.cc
Normal file
45
live/src/model/DeleteLiveRecordVodConfigResult.cc
Normal file
@@ -0,0 +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/DeleteLiveRecordVodConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DeleteLiveRecordVodConfigResult::DeleteLiveRecordVodConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteLiveRecordVodConfigResult::DeleteLiveRecordVodConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteLiveRecordVodConfigResult::~DeleteLiveRecordVodConfigResult()
|
||||
{}
|
||||
|
||||
void DeleteLiveRecordVodConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
82
live/src/model/DeleteLiveSnapshotDetectPornConfigRequest.cc
Normal file
82
live/src/model/DeleteLiveSnapshotDetectPornConfigRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* 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")
|
||||
{}
|
||||
|
||||
DeleteLiveSnapshotDetectPornConfigRequest::~DeleteLiveSnapshotDetectPornConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveSnapshotDetectPornConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void DeleteLiveSnapshotDetectPornConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string DeleteLiveSnapshotDetectPornConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteLiveSnapshotDetectPornConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DeleteLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DeleteLiveSnapshotDetectPornConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteLiveSnapshotDetectPornConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteLiveSnapshotDetectPornConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
45
live/src/model/DeleteLiveSnapshotDetectPornConfigResult.cc
Normal file
45
live/src/model/DeleteLiveSnapshotDetectPornConfigResult.cc
Normal file
@@ -0,0 +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/DeleteLiveSnapshotDetectPornConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DeleteLiveSnapshotDetectPornConfigResult::DeleteLiveSnapshotDetectPornConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteLiveSnapshotDetectPornConfigResult::DeleteLiveSnapshotDetectPornConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteLiveSnapshotDetectPornConfigResult::~DeleteLiveSnapshotDetectPornConfigResult()
|
||||
{}
|
||||
|
||||
void DeleteLiveSnapshotDetectPornConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
93
live/src/model/DeleteLiveStreamTranscodeRequest.cc
Normal file
93
live/src/model/DeleteLiveStreamTranscodeRequest.cc
Normal file
@@ -0,0 +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/DeleteLiveStreamTranscodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveStreamTranscodeRequest;
|
||||
|
||||
DeleteLiveStreamTranscodeRequest::DeleteLiveStreamTranscodeRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamTranscode")
|
||||
{}
|
||||
|
||||
DeleteLiveStreamTranscodeRequest::~DeleteLiveStreamTranscodeRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveStreamTranscodeRequest::getApp()const
|
||||
{
|
||||
return app_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::setApp(const std::string& app)
|
||||
{
|
||||
app_ = app;
|
||||
setParameter("App", app);
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamTranscodeRequest::get_Template()const
|
||||
{
|
||||
return _template_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::set_Template(const std::string& _template)
|
||||
{
|
||||
_template_ = _template;
|
||||
setParameter("_Template", _template);
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamTranscodeRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamTranscodeRequest::getDomain()const
|
||||
{
|
||||
return domain_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::setDomain(const std::string& domain)
|
||||
{
|
||||
domain_ = domain;
|
||||
setParameter("Domain", domain);
|
||||
}
|
||||
|
||||
long DeleteLiveStreamTranscodeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamTranscodeRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
45
live/src/model/DeleteLiveStreamTranscodeResult.cc
Normal file
45
live/src/model/DeleteLiveStreamTranscodeResult.cc
Normal file
@@ -0,0 +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/DeleteLiveStreamTranscodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DeleteLiveStreamTranscodeResult::DeleteLiveStreamTranscodeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteLiveStreamTranscodeResult::DeleteLiveStreamTranscodeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteLiveStreamTranscodeResult::~DeleteLiveStreamTranscodeResult()
|
||||
{}
|
||||
|
||||
void DeleteLiveStreamTranscodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
71
live/src/model/DeleteLiveStreamsNotifyUrlConfigRequest.cc
Normal file
71
live/src/model/DeleteLiveStreamsNotifyUrlConfigRequest.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* 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/DeleteLiveStreamsNotifyUrlConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveStreamsNotifyUrlConfigRequest;
|
||||
|
||||
DeleteLiveStreamsNotifyUrlConfigRequest::DeleteLiveStreamsNotifyUrlConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamsNotifyUrlConfig")
|
||||
{}
|
||||
|
||||
DeleteLiveStreamsNotifyUrlConfigRequest::~DeleteLiveStreamsNotifyUrlConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveStreamsNotifyUrlConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamsNotifyUrlConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamsNotifyUrlConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DeleteLiveStreamsNotifyUrlConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamsNotifyUrlConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamsNotifyUrlConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
45
live/src/model/DeleteLiveStreamsNotifyUrlConfigResult.cc
Normal file
45
live/src/model/DeleteLiveStreamsNotifyUrlConfigResult.cc
Normal file
@@ -0,0 +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/DeleteLiveStreamsNotifyUrlConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DeleteLiveStreamsNotifyUrlConfigResult::DeleteLiveStreamsNotifyUrlConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteLiveStreamsNotifyUrlConfigResult::DeleteLiveStreamsNotifyUrlConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteLiveStreamsNotifyUrlConfigResult::~DeleteLiveStreamsNotifyUrlConfigResult()
|
||||
{}
|
||||
|
||||
void DeleteLiveStreamsNotifyUrlConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
60
live/src/model/DescribeCasterComponentsRequest.cc
Normal file
60
live/src/model/DescribeCasterComponentsRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DescribeCasterComponentsRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DescribeCasterComponentsRequest;
|
||||
|
||||
DescribeCasterComponentsRequest::DescribeCasterComponentsRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DescribeCasterComponents")
|
||||
{}
|
||||
|
||||
DescribeCasterComponentsRequest::~DescribeCasterComponentsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeCasterComponentsRequest::getComponentId()const
|
||||
{
|
||||
return componentId_;
|
||||
}
|
||||
|
||||
void DescribeCasterComponentsRequest::setComponentId(const std::string& componentId)
|
||||
{
|
||||
componentId_ = componentId;
|
||||
setParameter("ComponentId", componentId);
|
||||
}
|
||||
|
||||
std::string DescribeCasterComponentsRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
void DescribeCasterComponentsRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
}
|
||||
|
||||
long DescribeCasterComponentsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCasterComponentsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
116
live/src/model/DescribeCasterComponentsResult.cc
Normal file
116
live/src/model/DescribeCasterComponentsResult.cc
Normal file
@@ -0,0 +1,116 @@
|
||||
/*
|
||||
* 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/DescribeCasterComponentsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DescribeCasterComponentsResult::DescribeCasterComponentsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeCasterComponentsResult::DescribeCasterComponentsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeCasterComponentsResult::~DescribeCasterComponentsResult()
|
||||
{}
|
||||
|
||||
void DescribeCasterComponentsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allComponents = value["Components"]["Component"];
|
||||
for (auto value : allComponents)
|
||||
{
|
||||
Component componentsObject;
|
||||
if(!value["ComponentId"].isNull())
|
||||
componentsObject.componentId = value["ComponentId"].asString();
|
||||
if(!value["ComponentName"].isNull())
|
||||
componentsObject.componentName = value["ComponentName"].asString();
|
||||
if(!value["LocationId"].isNull())
|
||||
componentsObject.locationId = value["LocationId"].asString();
|
||||
if(!value["ComponentType"].isNull())
|
||||
componentsObject.componentType = value["ComponentType"].asString();
|
||||
if(!value["Effect"].isNull())
|
||||
componentsObject.effect = value["Effect"].asString();
|
||||
auto componentLayerNode = value["ComponentLayer"];
|
||||
if(!componentLayerNode["HeightNormalized"].isNull())
|
||||
componentsObject.componentLayer.heightNormalized = std::stof(componentLayerNode["HeightNormalized"].asString());
|
||||
if(!componentLayerNode["WidthNormalized"].isNull())
|
||||
componentsObject.componentLayer.widthNormalized = std::stof(componentLayerNode["WidthNormalized"].asString());
|
||||
if(!componentLayerNode["PositionRefer"].isNull())
|
||||
componentsObject.componentLayer.positionRefer = componentLayerNode["PositionRefer"].asString();
|
||||
auto allPositionNormalizeds = componentLayerNode["PositionNormalizeds"]["Position"];
|
||||
for (auto value : allPositionNormalizeds)
|
||||
componentsObject.componentLayer.positionNormalizeds.push_back(value.asString());
|
||||
auto textLayerContentNode = value["TextLayerContent"];
|
||||
if(!textLayerContentNode["Text"].isNull())
|
||||
componentsObject.textLayerContent.text = textLayerContentNode["Text"].asString();
|
||||
if(!textLayerContentNode["Color"].isNull())
|
||||
componentsObject.textLayerContent.color = textLayerContentNode["Color"].asString();
|
||||
if(!textLayerContentNode["FontName"].isNull())
|
||||
componentsObject.textLayerContent.fontName = textLayerContentNode["FontName"].asString();
|
||||
if(!textLayerContentNode["SizeNormalized"].isNull())
|
||||
componentsObject.textLayerContent.sizeNormalized = std::stof(textLayerContentNode["SizeNormalized"].asString());
|
||||
if(!textLayerContentNode["BorderWidthNormalized"].isNull())
|
||||
componentsObject.textLayerContent.borderWidthNormalized = std::stof(textLayerContentNode["BorderWidthNormalized"].asString());
|
||||
if(!textLayerContentNode["BorderColor"].isNull())
|
||||
componentsObject.textLayerContent.borderColor = textLayerContentNode["BorderColor"].asString();
|
||||
auto imageLayerContentNode = value["ImageLayerContent"];
|
||||
if(!imageLayerContentNode["MaterialId"].isNull())
|
||||
componentsObject.imageLayerContent.materialId = imageLayerContentNode["MaterialId"].asString();
|
||||
auto captionLayerContentNode = value["CaptionLayerContent"];
|
||||
if(!captionLayerContentNode["LocationId"].isNull())
|
||||
componentsObject.captionLayerContent.locationId = captionLayerContentNode["LocationId"].asString();
|
||||
if(!captionLayerContentNode["PtsOffset"].isNull())
|
||||
componentsObject.captionLayerContent.ptsOffset = std::stoi(captionLayerContentNode["PtsOffset"].asString());
|
||||
if(!captionLayerContentNode["WordsCount"].isNull())
|
||||
componentsObject.captionLayerContent.wordsCount = std::stoi(captionLayerContentNode["WordsCount"].asString());
|
||||
if(!captionLayerContentNode["Color"].isNull())
|
||||
componentsObject.captionLayerContent.color = captionLayerContentNode["Color"].asString();
|
||||
if(!captionLayerContentNode["FontName"].isNull())
|
||||
componentsObject.captionLayerContent.fontName = captionLayerContentNode["FontName"].asString();
|
||||
if(!captionLayerContentNode["SizeNormalized"].isNull())
|
||||
componentsObject.captionLayerContent.sizeNormalized = std::stof(captionLayerContentNode["SizeNormalized"].asString());
|
||||
if(!captionLayerContentNode["BorderWidthNormalized"].isNull())
|
||||
componentsObject.captionLayerContent.borderWidthNormalized = std::stof(captionLayerContentNode["BorderWidthNormalized"].asString());
|
||||
if(!captionLayerContentNode["BorderColor"].isNull())
|
||||
componentsObject.captionLayerContent.borderColor = captionLayerContentNode["BorderColor"].asString();
|
||||
components_.push_back(componentsObject);
|
||||
}
|
||||
if(!value["Total"].isNull())
|
||||
total_ = std::stoi(value["Total"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeCasterComponentsResult::Component> DescribeCasterComponentsResult::getComponents()const
|
||||
{
|
||||
return components_;
|
||||
}
|
||||
|
||||
int DescribeCasterComponentsResult::getTotal()const
|
||||
{
|
||||
return total_;
|
||||
}
|
||||
|
||||
49
live/src/model/DescribeCasterConfigRequest.cc
Normal file
49
live/src/model/DescribeCasterConfigRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DescribeCasterConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DescribeCasterConfigRequest;
|
||||
|
||||
DescribeCasterConfigRequest::DescribeCasterConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DescribeCasterConfig")
|
||||
{}
|
||||
|
||||
DescribeCasterConfigRequest::~DescribeCasterConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeCasterConfigRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
void DescribeCasterConfigRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
}
|
||||
|
||||
long DescribeCasterConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCasterConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
143
live/src/model/DescribeCasterConfigResult.cc
Normal file
143
live/src/model/DescribeCasterConfigResult.cc
Normal file
@@ -0,0 +1,143 @@
|
||||
/*
|
||||
* 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/DescribeCasterConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DescribeCasterConfigResult::DescribeCasterConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeCasterConfigResult::DescribeCasterConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeCasterConfigResult::~DescribeCasterConfigResult()
|
||||
{}
|
||||
|
||||
void DescribeCasterConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto transcodeConfigNode = value["TranscodeConfig"];
|
||||
if(!transcodeConfigNode["CasterTemplate"].isNull())
|
||||
transcodeConfig_.casterTemplate = transcodeConfigNode["CasterTemplate"].asString();
|
||||
auto allLiveTemplateIds = transcodeConfigNode["LiveTemplateIds"]["LocationId"];
|
||||
for (auto value : allLiveTemplateIds)
|
||||
transcodeConfig_.liveTemplateIds.push_back(value.asString());
|
||||
auto recordConfigNode = value["RecordConfig"];
|
||||
if(!recordConfigNode["OssEndpoint"].isNull())
|
||||
recordConfig_.ossEndpoint = recordConfigNode["OssEndpoint"].asString();
|
||||
if(!recordConfigNode["OssBucket"].isNull())
|
||||
recordConfig_.ossBucket = recordConfigNode["OssBucket"].asString();
|
||||
auto allRecordFormat = value["RecordFormat"]["RecordFormatItem"];
|
||||
for (auto value : allRecordFormat)
|
||||
{
|
||||
RecordConfig::RecordFormatItem recordFormatItemObject;
|
||||
if(!value["Format"].isNull())
|
||||
recordFormatItemObject.format = value["Format"].asString();
|
||||
if(!value["OssObjectPrefix"].isNull())
|
||||
recordFormatItemObject.ossObjectPrefix = value["OssObjectPrefix"].asString();
|
||||
if(!value["SliceOssObjectPrefix"].isNull())
|
||||
recordFormatItemObject.sliceOssObjectPrefix = value["SliceOssObjectPrefix"].asString();
|
||||
if(!value["CycleDuration"].isNull())
|
||||
recordFormatItemObject.cycleDuration = std::stoi(value["CycleDuration"].asString());
|
||||
recordConfig_.recordFormat.push_back(recordFormatItemObject);
|
||||
}
|
||||
if(!value["CasterId"].isNull())
|
||||
casterId_ = value["CasterId"].asString();
|
||||
if(!value["CasterName"].isNull())
|
||||
casterName_ = value["CasterName"].asString();
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["Delay"].isNull())
|
||||
delay_ = std::stof(value["Delay"].asString());
|
||||
if(!value["UrgentMaterialId"].isNull())
|
||||
urgentMaterialId_ = value["UrgentMaterialId"].asString();
|
||||
if(!value["SideOutputUrl"].isNull())
|
||||
sideOutputUrl_ = value["SideOutputUrl"].asString();
|
||||
if(!value["CallbackUrl"].isNull())
|
||||
callbackUrl_ = value["CallbackUrl"].asString();
|
||||
if(!value["ProgramName"].isNull())
|
||||
programName_ = value["ProgramName"].asString();
|
||||
if(!value["ProgramEffect"].isNull())
|
||||
programEffect_ = std::stoi(value["ProgramEffect"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeCasterConfigResult::getSideOutputUrl()const
|
||||
{
|
||||
return sideOutputUrl_;
|
||||
}
|
||||
|
||||
std::string DescribeCasterConfigResult::getCallbackUrl()const
|
||||
{
|
||||
return callbackUrl_;
|
||||
}
|
||||
|
||||
std::string DescribeCasterConfigResult::getCasterName()const
|
||||
{
|
||||
return casterName_;
|
||||
}
|
||||
|
||||
std::string DescribeCasterConfigResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
int DescribeCasterConfigResult::getProgramEffect()const
|
||||
{
|
||||
return programEffect_;
|
||||
}
|
||||
|
||||
std::string DescribeCasterConfigResult::getUrgentMaterialId()const
|
||||
{
|
||||
return urgentMaterialId_;
|
||||
}
|
||||
|
||||
DescribeCasterConfigResult::TranscodeConfig DescribeCasterConfigResult::getTranscodeConfig()const
|
||||
{
|
||||
return transcodeConfig_;
|
||||
}
|
||||
|
||||
std::string DescribeCasterConfigResult::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
std::string DescribeCasterConfigResult::getProgramName()const
|
||||
{
|
||||
return programName_;
|
||||
}
|
||||
|
||||
DescribeCasterConfigResult::RecordConfig DescribeCasterConfigResult::getRecordConfig()const
|
||||
{
|
||||
return recordConfig_;
|
||||
}
|
||||
|
||||
float DescribeCasterConfigResult::getDelay()const
|
||||
{
|
||||
return delay_;
|
||||
}
|
||||
|
||||
60
live/src/model/DescribeCasterLayoutsRequest.cc
Normal file
60
live/src/model/DescribeCasterLayoutsRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DescribeCasterLayoutsRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DescribeCasterLayoutsRequest;
|
||||
|
||||
DescribeCasterLayoutsRequest::DescribeCasterLayoutsRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DescribeCasterLayouts")
|
||||
{}
|
||||
|
||||
DescribeCasterLayoutsRequest::~DescribeCasterLayoutsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeCasterLayoutsRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
void DescribeCasterLayoutsRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
}
|
||||
|
||||
long DescribeCasterLayoutsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCasterLayoutsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeCasterLayoutsRequest::getLayoutId()const
|
||||
{
|
||||
return layoutId_;
|
||||
}
|
||||
|
||||
void DescribeCasterLayoutsRequest::setLayoutId(const std::string& layoutId)
|
||||
{
|
||||
layoutId_ = layoutId;
|
||||
setParameter("LayoutId", layoutId);
|
||||
}
|
||||
|
||||
102
live/src/model/DescribeCasterLayoutsResult.cc
Normal file
102
live/src/model/DescribeCasterLayoutsResult.cc
Normal file
@@ -0,0 +1,102 @@
|
||||
/*
|
||||
* 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/DescribeCasterLayoutsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DescribeCasterLayoutsResult::DescribeCasterLayoutsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeCasterLayoutsResult::DescribeCasterLayoutsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeCasterLayoutsResult::~DescribeCasterLayoutsResult()
|
||||
{}
|
||||
|
||||
void DescribeCasterLayoutsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allLayouts = value["Layouts"]["Layout"];
|
||||
for (auto value : allLayouts)
|
||||
{
|
||||
Layout layoutsObject;
|
||||
if(!value["LayoutId"].isNull())
|
||||
layoutsObject.layoutId = value["LayoutId"].asString();
|
||||
auto allVideoLayers = value["VideoLayers"]["VideoLayer"];
|
||||
for (auto value : allVideoLayers)
|
||||
{
|
||||
Layout::VideoLayer videoLayersObject;
|
||||
if(!value["FillMode"].isNull())
|
||||
videoLayersObject.fillMode = value["FillMode"].asString();
|
||||
if(!value["HeightNormalized"].isNull())
|
||||
videoLayersObject.heightNormalized = std::stof(value["HeightNormalized"].asString());
|
||||
if(!value["WidthNormalized"].isNull())
|
||||
videoLayersObject.widthNormalized = std::stof(value["WidthNormalized"].asString());
|
||||
if(!value["PositionRefer"].isNull())
|
||||
videoLayersObject.positionRefer = value["PositionRefer"].asString();
|
||||
if(!value["FixedDelayDuration"].isNull())
|
||||
videoLayersObject.fixedDelayDuration = std::stoi(value["FixedDelayDuration"].asString());
|
||||
auto allPositionNormalizeds = value["PositionNormalizeds"]["Position"];
|
||||
for (auto value : allPositionNormalizeds)
|
||||
videoLayersObject.positionNormalizeds.push_back(value.asString());
|
||||
layoutsObject.videoLayers.push_back(videoLayersObject);
|
||||
}
|
||||
auto allAudioLayers = value["AudioLayers"]["AudioLayer"];
|
||||
for (auto value : allAudioLayers)
|
||||
{
|
||||
Layout::AudioLayer audioLayersObject;
|
||||
if(!value["VolumeRate"].isNull())
|
||||
audioLayersObject.volumeRate = std::stof(value["VolumeRate"].asString());
|
||||
if(!value["ValidChannel"].isNull())
|
||||
audioLayersObject.validChannel = value["ValidChannel"].asString();
|
||||
if(!value["FixedDelayDuration"].isNull())
|
||||
audioLayersObject.fixedDelayDuration = std::stoi(value["FixedDelayDuration"].asString());
|
||||
layoutsObject.audioLayers.push_back(audioLayersObject);
|
||||
}
|
||||
auto allBlendList = value["BlendList"]["LocationId"];
|
||||
for (auto value : allBlendList)
|
||||
layoutsObject.blendList.push_back(value.asString());
|
||||
auto allMixList = value["MixList"]["LocationId"];
|
||||
for (auto value : allMixList)
|
||||
layoutsObject.mixList.push_back(value.asString());
|
||||
layouts_.push_back(layoutsObject);
|
||||
}
|
||||
if(!value["Total"].isNull())
|
||||
total_ = std::stoi(value["Total"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeCasterLayoutsResult::Layout> DescribeCasterLayoutsResult::getLayouts()const
|
||||
{
|
||||
return layouts_;
|
||||
}
|
||||
|
||||
int DescribeCasterLayoutsResult::getTotal()const
|
||||
{
|
||||
return total_;
|
||||
}
|
||||
|
||||
126
live/src/model/DescribeCasterProgramRequest.cc
Normal file
126
live/src/model/DescribeCasterProgramRequest.cc
Normal file
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* 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/DescribeCasterProgramRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DescribeCasterProgramRequest;
|
||||
|
||||
DescribeCasterProgramRequest::DescribeCasterProgramRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DescribeCasterProgram")
|
||||
{}
|
||||
|
||||
DescribeCasterProgramRequest::~DescribeCasterProgramRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeCasterProgramRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
void DescribeCasterProgramRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
}
|
||||
|
||||
std::string DescribeCasterProgramRequest::getEpisodeType()const
|
||||
{
|
||||
return episodeType_;
|
||||
}
|
||||
|
||||
void DescribeCasterProgramRequest::setEpisodeType(const std::string& episodeType)
|
||||
{
|
||||
episodeType_ = episodeType;
|
||||
setParameter("EpisodeType", episodeType);
|
||||
}
|
||||
|
||||
int DescribeCasterProgramRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCasterProgramRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeCasterProgramRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeCasterProgramRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeCasterProgramRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeCasterProgramRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
long DescribeCasterProgramRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCasterProgramRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeCasterProgramRequest::getEpisodeId()const
|
||||
{
|
||||
return episodeId_;
|
||||
}
|
||||
|
||||
void DescribeCasterProgramRequest::setEpisodeId(const std::string& episodeId)
|
||||
{
|
||||
episodeId_ = episodeId;
|
||||
setParameter("EpisodeId", episodeId);
|
||||
}
|
||||
|
||||
int DescribeCasterProgramRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void DescribeCasterProgramRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
int DescribeCasterProgramRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void DescribeCasterProgramRequest::setStatus(int status)
|
||||
{
|
||||
status_ = status;
|
||||
setParameter("Status", std::to_string(status));
|
||||
}
|
||||
|
||||
103
live/src/model/DescribeCasterProgramResult.cc
Normal file
103
live/src/model/DescribeCasterProgramResult.cc
Normal file
@@ -0,0 +1,103 @@
|
||||
/*
|
||||
* 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/DescribeCasterProgramResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DescribeCasterProgramResult::DescribeCasterProgramResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeCasterProgramResult::DescribeCasterProgramResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeCasterProgramResult::~DescribeCasterProgramResult()
|
||||
{}
|
||||
|
||||
void DescribeCasterProgramResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allEpisodes = value["Episodes"]["Episode"];
|
||||
for (auto value : allEpisodes)
|
||||
{
|
||||
Episode episodesObject;
|
||||
if(!value["EpisodeId"].isNull())
|
||||
episodesObject.episodeId = value["EpisodeId"].asString();
|
||||
if(!value["EpisodeType"].isNull())
|
||||
episodesObject.episodeType = value["EpisodeType"].asString();
|
||||
if(!value["EpisodeName"].isNull())
|
||||
episodesObject.episodeName = value["EpisodeName"].asString();
|
||||
if(!value["ResourceId"].isNull())
|
||||
episodesObject.resourceId = value["ResourceId"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
episodesObject.startTime = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
episodesObject.endTime = value["EndTime"].asString();
|
||||
if(!value["SwitchType"].isNull())
|
||||
episodesObject.switchType = value["SwitchType"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
episodesObject.status = std::stoi(value["Status"].asString());
|
||||
auto allComponentIds = value["ComponentIds"]["ComponentId"];
|
||||
for (auto value : allComponentIds)
|
||||
episodesObject.componentIds.push_back(value.asString());
|
||||
episodes_.push_back(episodesObject);
|
||||
}
|
||||
if(!value["CasterId"].isNull())
|
||||
casterId_ = value["CasterId"].asString();
|
||||
if(!value["ProgramName"].isNull())
|
||||
programName_ = value["ProgramName"].asString();
|
||||
if(!value["ProgramEffect"].isNull())
|
||||
programEffect_ = std::stoi(value["ProgramEffect"].asString());
|
||||
if(!value["Total"].isNull())
|
||||
total_ = std::stoi(value["Total"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeCasterProgramResult::getProgramEffect()const
|
||||
{
|
||||
return programEffect_;
|
||||
}
|
||||
|
||||
int DescribeCasterProgramResult::getTotal()const
|
||||
{
|
||||
return total_;
|
||||
}
|
||||
|
||||
std::vector<DescribeCasterProgramResult::Episode> DescribeCasterProgramResult::getEpisodes()const
|
||||
{
|
||||
return episodes_;
|
||||
}
|
||||
|
||||
std::string DescribeCasterProgramResult::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
std::string DescribeCasterProgramResult::getProgramName()const
|
||||
{
|
||||
return programName_;
|
||||
}
|
||||
|
||||
49
live/src/model/DescribeCasterRtcInfoRequest.cc
Normal file
49
live/src/model/DescribeCasterRtcInfoRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DescribeCasterRtcInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DescribeCasterRtcInfoRequest;
|
||||
|
||||
DescribeCasterRtcInfoRequest::DescribeCasterRtcInfoRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DescribeCasterRtcInfo")
|
||||
{}
|
||||
|
||||
DescribeCasterRtcInfoRequest::~DescribeCasterRtcInfoRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeCasterRtcInfoRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
void DescribeCasterRtcInfoRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
}
|
||||
|
||||
long DescribeCasterRtcInfoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCasterRtcInfoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
59
live/src/model/DescribeCasterRtcInfoResult.cc
Normal file
59
live/src/model/DescribeCasterRtcInfoResult.cc
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DescribeCasterRtcInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DescribeCasterRtcInfoResult::DescribeCasterRtcInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeCasterRtcInfoResult::DescribeCasterRtcInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeCasterRtcInfoResult::~DescribeCasterRtcInfoResult()
|
||||
{}
|
||||
|
||||
void DescribeCasterRtcInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CasterId"].isNull())
|
||||
casterId_ = value["CasterId"].asString();
|
||||
if(!value["AuthToken"].isNull())
|
||||
authToken_ = value["AuthToken"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeCasterRtcInfoResult::getAuthToken()const
|
||||
{
|
||||
return authToken_;
|
||||
}
|
||||
|
||||
std::string DescribeCasterRtcInfoResult::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
60
live/src/model/DescribeCasterScenesRequest.cc
Normal file
60
live/src/model/DescribeCasterScenesRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DescribeCasterScenesRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DescribeCasterScenesRequest;
|
||||
|
||||
DescribeCasterScenesRequest::DescribeCasterScenesRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DescribeCasterScenes")
|
||||
{}
|
||||
|
||||
DescribeCasterScenesRequest::~DescribeCasterScenesRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeCasterScenesRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
void DescribeCasterScenesRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
}
|
||||
|
||||
std::string DescribeCasterScenesRequest::getSceneId()const
|
||||
{
|
||||
return sceneId_;
|
||||
}
|
||||
|
||||
void DescribeCasterScenesRequest::setSceneId(const std::string& sceneId)
|
||||
{
|
||||
sceneId_ = sceneId;
|
||||
setParameter("SceneId", sceneId);
|
||||
}
|
||||
|
||||
long DescribeCasterScenesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCasterScenesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
90
live/src/model/DescribeCasterScenesResult.cc
Normal file
90
live/src/model/DescribeCasterScenesResult.cc
Normal file
@@ -0,0 +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/DescribeCasterScenesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DescribeCasterScenesResult::DescribeCasterScenesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeCasterScenesResult::DescribeCasterScenesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeCasterScenesResult::~DescribeCasterScenesResult()
|
||||
{}
|
||||
|
||||
void DescribeCasterScenesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allSceneList = value["SceneList"]["Scene"];
|
||||
for (auto value : allSceneList)
|
||||
{
|
||||
Scene sceneListObject;
|
||||
if(!value["SceneId"].isNull())
|
||||
sceneListObject.sceneId = value["SceneId"].asString();
|
||||
if(!value["SceneName"].isNull())
|
||||
sceneListObject.sceneName = value["SceneName"].asString();
|
||||
if(!value["OutputType"].isNull())
|
||||
sceneListObject.outputType = value["OutputType"].asString();
|
||||
if(!value["LayoutId"].isNull())
|
||||
sceneListObject.layoutId = value["LayoutId"].asString();
|
||||
if(!value["StreamUrl"].isNull())
|
||||
sceneListObject.streamUrl = value["StreamUrl"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
sceneListObject.status = std::stoi(value["Status"].asString());
|
||||
auto allStreamInfos = value["StreamInfos"]["StreamInfo"];
|
||||
for (auto value : allStreamInfos)
|
||||
{
|
||||
Scene::StreamInfo streamInfosObject;
|
||||
if(!value["TranscodeConfig"].isNull())
|
||||
streamInfosObject.transcodeConfig = value["TranscodeConfig"].asString();
|
||||
if(!value["VideoFormat"].isNull())
|
||||
streamInfosObject.videoFormat = value["VideoFormat"].asString();
|
||||
if(!value["OutputStreamUrl"].isNull())
|
||||
streamInfosObject.outputStreamUrl = value["OutputStreamUrl"].asString();
|
||||
sceneListObject.streamInfos.push_back(streamInfosObject);
|
||||
}
|
||||
auto allComponentIds = value["ComponentIds"]["componentId"];
|
||||
for (auto value : allComponentIds)
|
||||
sceneListObject.componentIds.push_back(value.asString());
|
||||
sceneList_.push_back(sceneListObject);
|
||||
}
|
||||
if(!value["Total"].isNull())
|
||||
total_ = std::stoi(value["Total"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeCasterScenesResult::getTotal()const
|
||||
{
|
||||
return total_;
|
||||
}
|
||||
|
||||
std::vector<DescribeCasterScenesResult::Scene> DescribeCasterScenesResult::getSceneList()const
|
||||
{
|
||||
return sceneList_;
|
||||
}
|
||||
|
||||
49
live/src/model/DescribeCasterStreamUrlRequest.cc
Normal file
49
live/src/model/DescribeCasterStreamUrlRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DescribeCasterStreamUrlRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DescribeCasterStreamUrlRequest;
|
||||
|
||||
DescribeCasterStreamUrlRequest::DescribeCasterStreamUrlRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DescribeCasterStreamUrl")
|
||||
{}
|
||||
|
||||
DescribeCasterStreamUrlRequest::~DescribeCasterStreamUrlRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeCasterStreamUrlRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
void DescribeCasterStreamUrlRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
}
|
||||
|
||||
long DescribeCasterStreamUrlRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCasterStreamUrlRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user