91 lines
2.5 KiB
C++
91 lines
2.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/sddp/model/CreateConfigRequest.h>
|
|
|
|
using AlibabaCloud::Sddp::Model::CreateConfigRequest;
|
|
|
|
CreateConfigRequest::CreateConfigRequest()
|
|
: RpcServiceRequest("sddp", "2019-01-03", "CreateConfig") {
|
|
setMethod(HttpRequest::Method::Post);
|
|
}
|
|
|
|
CreateConfigRequest::~CreateConfigRequest() {}
|
|
|
|
std::string CreateConfigRequest::getCode() const {
|
|
return code_;
|
|
}
|
|
|
|
void CreateConfigRequest::setCode(const std::string &code) {
|
|
code_ = code;
|
|
setParameter(std::string("Code"), code);
|
|
}
|
|
|
|
std::string CreateConfigRequest::getDescription() const {
|
|
return description_;
|
|
}
|
|
|
|
void CreateConfigRequest::setDescription(const std::string &description) {
|
|
description_ = description;
|
|
setParameter(std::string("Description"), description);
|
|
}
|
|
|
|
std::string CreateConfigRequest::getSourceIp() const {
|
|
return sourceIp_;
|
|
}
|
|
|
|
void CreateConfigRequest::setSourceIp(const std::string &sourceIp) {
|
|
sourceIp_ = sourceIp;
|
|
setParameter(std::string("SourceIp"), sourceIp);
|
|
}
|
|
|
|
std::string CreateConfigRequest::getLang() const {
|
|
return lang_;
|
|
}
|
|
|
|
void CreateConfigRequest::setLang(const std::string &lang) {
|
|
lang_ = lang;
|
|
setParameter(std::string("Lang"), lang);
|
|
}
|
|
|
|
std::string CreateConfigRequest::getValue() const {
|
|
return value_;
|
|
}
|
|
|
|
void CreateConfigRequest::setValue(const std::string &value) {
|
|
value_ = value;
|
|
setParameter(std::string("Value"), value);
|
|
}
|
|
|
|
int CreateConfigRequest::getFeatureType() const {
|
|
return featureType_;
|
|
}
|
|
|
|
void CreateConfigRequest::setFeatureType(int featureType) {
|
|
featureType_ = featureType;
|
|
setParameter(std::string("FeatureType"), std::to_string(featureType));
|
|
}
|
|
|
|
std::string CreateConfigRequest::getConfigList() const {
|
|
return configList_;
|
|
}
|
|
|
|
void CreateConfigRequest::setConfigList(const std::string &configList) {
|
|
configList_ = configList;
|
|
setParameter(std::string("ConfigList"), configList);
|
|
}
|
|
|