188 lines
4.5 KiB
C++
188 lines
4.5 KiB
C++
/*
|
|
* 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/rtc/model/UpdateRecordTemplateRequest.h>
|
|
|
|
using AlibabaCloud::Rtc::Model::UpdateRecordTemplateRequest;
|
|
|
|
UpdateRecordTemplateRequest::UpdateRecordTemplateRequest() :
|
|
RpcServiceRequest("rtc", "2018-01-11", "UpdateRecordTemplate")
|
|
{
|
|
setMethod(HttpRequest::Method::Post);
|
|
}
|
|
|
|
UpdateRecordTemplateRequest::~UpdateRecordTemplateRequest()
|
|
{}
|
|
|
|
std::vector<std::string> UpdateRecordTemplateRequest::getFormats()const
|
|
{
|
|
return formats_;
|
|
}
|
|
|
|
void UpdateRecordTemplateRequest::setFormats(const std::vector<std::string>& formats)
|
|
{
|
|
formats_ = formats;
|
|
for(int dep1 = 0; dep1!= formats.size(); dep1++) {
|
|
setParameter("Formats."+ std::to_string(dep1), formats.at(dep1));
|
|
}
|
|
}
|
|
|
|
std::string UpdateRecordTemplateRequest::getOssFilePrefix()const
|
|
{
|
|
return ossFilePrefix_;
|
|
}
|
|
|
|
void UpdateRecordTemplateRequest::setOssFilePrefix(const std::string& ossFilePrefix)
|
|
{
|
|
ossFilePrefix_ = ossFilePrefix;
|
|
setParameter("OssFilePrefix", ossFilePrefix);
|
|
}
|
|
|
|
int UpdateRecordTemplateRequest::getBackgroundColor()const
|
|
{
|
|
return backgroundColor_;
|
|
}
|
|
|
|
void UpdateRecordTemplateRequest::setBackgroundColor(int backgroundColor)
|
|
{
|
|
backgroundColor_ = backgroundColor;
|
|
setParameter("BackgroundColor", std::to_string(backgroundColor));
|
|
}
|
|
|
|
std::string UpdateRecordTemplateRequest::getTaskProfile()const
|
|
{
|
|
return taskProfile_;
|
|
}
|
|
|
|
void UpdateRecordTemplateRequest::setTaskProfile(const std::string& taskProfile)
|
|
{
|
|
taskProfile_ = taskProfile;
|
|
setParameter("TaskProfile", taskProfile);
|
|
}
|
|
|
|
std::vector<long> UpdateRecordTemplateRequest::getLayoutIds()const
|
|
{
|
|
return layoutIds_;
|
|
}
|
|
|
|
void UpdateRecordTemplateRequest::setLayoutIds(const std::vector<long>& layoutIds)
|
|
{
|
|
layoutIds_ = layoutIds;
|
|
for(int dep1 = 0; dep1!= layoutIds.size(); dep1++) {
|
|
setParameter("LayoutIds."+ std::to_string(dep1), std::to_string(layoutIds.at(dep1)));
|
|
}
|
|
}
|
|
|
|
std::string UpdateRecordTemplateRequest::getShowLog()const
|
|
{
|
|
return showLog_;
|
|
}
|
|
|
|
void UpdateRecordTemplateRequest::setShowLog(const std::string& showLog)
|
|
{
|
|
showLog_ = showLog;
|
|
setParameter("ShowLog", showLog);
|
|
}
|
|
|
|
std::string UpdateRecordTemplateRequest::getOssBucket()const
|
|
{
|
|
return ossBucket_;
|
|
}
|
|
|
|
void UpdateRecordTemplateRequest::setOssBucket(const std::string& ossBucket)
|
|
{
|
|
ossBucket_ = ossBucket;
|
|
setParameter("OssBucket", ossBucket);
|
|
}
|
|
|
|
std::string UpdateRecordTemplateRequest::getMnsQueue()const
|
|
{
|
|
return mnsQueue_;
|
|
}
|
|
|
|
void UpdateRecordTemplateRequest::setMnsQueue(const std::string& mnsQueue)
|
|
{
|
|
mnsQueue_ = mnsQueue;
|
|
setParameter("MnsQueue", mnsQueue);
|
|
}
|
|
|
|
int UpdateRecordTemplateRequest::getFileSplitInterval()const
|
|
{
|
|
return fileSplitInterval_;
|
|
}
|
|
|
|
void UpdateRecordTemplateRequest::setFileSplitInterval(int fileSplitInterval)
|
|
{
|
|
fileSplitInterval_ = fileSplitInterval;
|
|
setParameter("FileSplitInterval", std::to_string(fileSplitInterval));
|
|
}
|
|
|
|
long UpdateRecordTemplateRequest::getOwnerId()const
|
|
{
|
|
return ownerId_;
|
|
}
|
|
|
|
void UpdateRecordTemplateRequest::setOwnerId(long ownerId)
|
|
{
|
|
ownerId_ = ownerId;
|
|
setParameter("OwnerId", std::to_string(ownerId));
|
|
}
|
|
|
|
std::string UpdateRecordTemplateRequest::getTemplateId()const
|
|
{
|
|
return templateId_;
|
|
}
|
|
|
|
void UpdateRecordTemplateRequest::setTemplateId(const std::string& templateId)
|
|
{
|
|
templateId_ = templateId;
|
|
setParameter("TemplateId", templateId);
|
|
}
|
|
|
|
std::string UpdateRecordTemplateRequest::getAppId()const
|
|
{
|
|
return appId_;
|
|
}
|
|
|
|
void UpdateRecordTemplateRequest::setAppId(const std::string& appId)
|
|
{
|
|
appId_ = appId;
|
|
setParameter("AppId", appId);
|
|
}
|
|
|
|
std::string UpdateRecordTemplateRequest::getName()const
|
|
{
|
|
return name_;
|
|
}
|
|
|
|
void UpdateRecordTemplateRequest::setName(const std::string& name)
|
|
{
|
|
name_ = name;
|
|
setParameter("Name", name);
|
|
}
|
|
|
|
int UpdateRecordTemplateRequest::getMediaEncode()const
|
|
{
|
|
return mediaEncode_;
|
|
}
|
|
|
|
void UpdateRecordTemplateRequest::setMediaEncode(int mediaEncode)
|
|
{
|
|
mediaEncode_ = mediaEncode;
|
|
setParameter("MediaEncode", std::to_string(mediaEncode));
|
|
}
|
|
|