127 lines
4.1 KiB
C++
127 lines
4.1 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/rds/model/CreateParameterGroupRequest.h>
|
|
|
|
using AlibabaCloud::Rds::Model::CreateParameterGroupRequest;
|
|
|
|
CreateParameterGroupRequest::CreateParameterGroupRequest()
|
|
: RpcServiceRequest("rds", "2014-08-15", "CreateParameterGroup") {
|
|
setMethod(HttpRequest::Method::Post);
|
|
}
|
|
|
|
CreateParameterGroupRequest::~CreateParameterGroupRequest() {}
|
|
|
|
long CreateParameterGroupRequest::getResourceOwnerId() const {
|
|
return resourceOwnerId_;
|
|
}
|
|
|
|
void CreateParameterGroupRequest::setResourceOwnerId(long resourceOwnerId) {
|
|
resourceOwnerId_ = resourceOwnerId;
|
|
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
|
}
|
|
|
|
std::string CreateParameterGroupRequest::getEngineVersion() const {
|
|
return engineVersion_;
|
|
}
|
|
|
|
void CreateParameterGroupRequest::setEngineVersion(const std::string &engineVersion) {
|
|
engineVersion_ = engineVersion;
|
|
setParameter(std::string("EngineVersion"), engineVersion);
|
|
}
|
|
|
|
std::string CreateParameterGroupRequest::getAccessKeyId() const {
|
|
return accessKeyId_;
|
|
}
|
|
|
|
void CreateParameterGroupRequest::setAccessKeyId(const std::string &accessKeyId) {
|
|
accessKeyId_ = accessKeyId;
|
|
setParameter(std::string("AccessKeyId"), accessKeyId);
|
|
}
|
|
|
|
std::string CreateParameterGroupRequest::getResourceGroupId() const {
|
|
return resourceGroupId_;
|
|
}
|
|
|
|
void CreateParameterGroupRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
|
resourceGroupId_ = resourceGroupId;
|
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
|
}
|
|
|
|
std::string CreateParameterGroupRequest::getRegionId() const {
|
|
return regionId_;
|
|
}
|
|
|
|
void CreateParameterGroupRequest::setRegionId(const std::string ®ionId) {
|
|
regionId_ = regionId;
|
|
setParameter(std::string("RegionId"), regionId);
|
|
}
|
|
|
|
std::string CreateParameterGroupRequest::getEngine() const {
|
|
return engine_;
|
|
}
|
|
|
|
void CreateParameterGroupRequest::setEngine(const std::string &engine) {
|
|
engine_ = engine;
|
|
setParameter(std::string("Engine"), engine);
|
|
}
|
|
|
|
std::string CreateParameterGroupRequest::getResourceOwnerAccount() const {
|
|
return resourceOwnerAccount_;
|
|
}
|
|
|
|
void CreateParameterGroupRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
|
resourceOwnerAccount_ = resourceOwnerAccount;
|
|
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
|
}
|
|
|
|
long CreateParameterGroupRequest::getOwnerId() const {
|
|
return ownerId_;
|
|
}
|
|
|
|
void CreateParameterGroupRequest::setOwnerId(long ownerId) {
|
|
ownerId_ = ownerId;
|
|
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
|
}
|
|
|
|
std::string CreateParameterGroupRequest::getParameterGroupName() const {
|
|
return parameterGroupName_;
|
|
}
|
|
|
|
void CreateParameterGroupRequest::setParameterGroupName(const std::string ¶meterGroupName) {
|
|
parameterGroupName_ = parameterGroupName;
|
|
setParameter(std::string("ParameterGroupName"), parameterGroupName);
|
|
}
|
|
|
|
std::string CreateParameterGroupRequest::getParameters() const {
|
|
return parameters_;
|
|
}
|
|
|
|
void CreateParameterGroupRequest::setParameters(const std::string ¶meters) {
|
|
parameters_ = parameters;
|
|
setParameter(std::string("Parameters"), parameters);
|
|
}
|
|
|
|
std::string CreateParameterGroupRequest::getParameterGroupDesc() const {
|
|
return parameterGroupDesc_;
|
|
}
|
|
|
|
void CreateParameterGroupRequest::setParameterGroupDesc(const std::string ¶meterGroupDesc) {
|
|
parameterGroupDesc_ = parameterGroupDesc;
|
|
setParameter(std::string("ParameterGroupDesc"), parameterGroupDesc);
|
|
}
|
|
|