Files
aliyun-openapi-cpp-sdk/vod/src/model/AddVodTemplateRequest.cc
2022-04-11 06:45:57 +00:00

73 lines
2.2 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/vod/model/AddVodTemplateRequest.h>
using AlibabaCloud::Vod::Model::AddVodTemplateRequest;
AddVodTemplateRequest::AddVodTemplateRequest()
: RpcServiceRequest("vod", "2017-03-21", "AddVodTemplate") {
setMethod(HttpRequest::Method::Post);
}
AddVodTemplateRequest::~AddVodTemplateRequest() {}
std::string AddVodTemplateRequest::getSubTemplateType() const {
return subTemplateType_;
}
void AddVodTemplateRequest::setSubTemplateType(const std::string &subTemplateType) {
subTemplateType_ = subTemplateType;
setParameter(std::string("SubTemplateType"), subTemplateType);
}
std::string AddVodTemplateRequest::getTemplateConfig() const {
return templateConfig_;
}
void AddVodTemplateRequest::setTemplateConfig(const std::string &templateConfig) {
templateConfig_ = templateConfig;
setParameter(std::string("TemplateConfig"), templateConfig);
}
std::string AddVodTemplateRequest::getTemplateType() const {
return templateType_;
}
void AddVodTemplateRequest::setTemplateType(const std::string &templateType) {
templateType_ = templateType;
setParameter(std::string("TemplateType"), templateType);
}
std::string AddVodTemplateRequest::getAppId() const {
return appId_;
}
void AddVodTemplateRequest::setAppId(const std::string &appId) {
appId_ = appId;
setParameter(std::string("AppId"), appId);
}
std::string AddVodTemplateRequest::getName() const {
return name_;
}
void AddVodTemplateRequest::setName(const std::string &name) {
name_ = name;
setParameter(std::string("Name"), name);
}