Generated 2015-01-01 for R-kvstore.
This commit is contained in:
249
r-kvstore/src/model/DescribePriceRequest.cc
Normal file
249
r-kvstore/src/model/DescribePriceRequest.cc
Normal file
@@ -0,0 +1,249 @@
|
||||
/*
|
||||
* 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/r-kvstore/model/DescribePriceRequest.h>
|
||||
|
||||
using AlibabaCloud::R_kvstore::Model::DescribePriceRequest;
|
||||
|
||||
DescribePriceRequest::DescribePriceRequest() :
|
||||
RpcServiceRequest("r-kvstore", "2015-01-01", "DescribePrice")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribePriceRequest::~DescribePriceRequest()
|
||||
{}
|
||||
|
||||
long DescribePriceRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribePriceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribePriceRequest::getNodeType()const
|
||||
{
|
||||
return nodeType_;
|
||||
}
|
||||
|
||||
void DescribePriceRequest::setNodeType(const std::string& nodeType)
|
||||
{
|
||||
nodeType_ = nodeType;
|
||||
setParameter("NodeType", nodeType);
|
||||
}
|
||||
|
||||
std::string DescribePriceRequest::getInstances()const
|
||||
{
|
||||
return instances_;
|
||||
}
|
||||
|
||||
void DescribePriceRequest::setInstances(const std::string& instances)
|
||||
{
|
||||
instances_ = instances;
|
||||
setParameter("Instances", instances);
|
||||
}
|
||||
|
||||
std::string DescribePriceRequest::getCouponNo()const
|
||||
{
|
||||
return couponNo_;
|
||||
}
|
||||
|
||||
void DescribePriceRequest::setCouponNo(const std::string& couponNo)
|
||||
{
|
||||
couponNo_ = couponNo;
|
||||
setParameter("CouponNo", couponNo);
|
||||
}
|
||||
|
||||
std::string DescribePriceRequest::getInstanceClass()const
|
||||
{
|
||||
return instanceClass_;
|
||||
}
|
||||
|
||||
void DescribePriceRequest::setInstanceClass(const std::string& instanceClass)
|
||||
{
|
||||
instanceClass_ = instanceClass;
|
||||
setParameter("InstanceClass", instanceClass);
|
||||
}
|
||||
|
||||
std::string DescribePriceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribePriceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long DescribePriceRequest::getCapacity()const
|
||||
{
|
||||
return capacity_;
|
||||
}
|
||||
|
||||
void DescribePriceRequest::setCapacity(long capacity)
|
||||
{
|
||||
capacity_ = capacity;
|
||||
setParameter("Capacity", std::to_string(capacity));
|
||||
}
|
||||
|
||||
std::string DescribePriceRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribePriceRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribePriceRequest::getBusinessInfo()const
|
||||
{
|
||||
return businessInfo_;
|
||||
}
|
||||
|
||||
void DescribePriceRequest::setBusinessInfo(const std::string& businessInfo)
|
||||
{
|
||||
businessInfo_ = businessInfo;
|
||||
setParameter("BusinessInfo", businessInfo);
|
||||
}
|
||||
|
||||
long DescribePriceRequest::getPeriod()const
|
||||
{
|
||||
return period_;
|
||||
}
|
||||
|
||||
void DescribePriceRequest::setPeriod(long period)
|
||||
{
|
||||
period_ = period;
|
||||
setParameter("Period", std::to_string(period));
|
||||
}
|
||||
|
||||
long DescribePriceRequest::getQuantity()const
|
||||
{
|
||||
return quantity_;
|
||||
}
|
||||
|
||||
void DescribePriceRequest::setQuantity(long quantity)
|
||||
{
|
||||
quantity_ = quantity;
|
||||
setParameter("Quantity", std::to_string(quantity));
|
||||
}
|
||||
|
||||
std::string DescribePriceRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribePriceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribePriceRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribePriceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribePriceRequest::getOrderParamOut()const
|
||||
{
|
||||
return orderParamOut_;
|
||||
}
|
||||
|
||||
void DescribePriceRequest::setOrderParamOut(const std::string& orderParamOut)
|
||||
{
|
||||
orderParamOut_ = orderParamOut;
|
||||
setParameter("OrderParamOut", orderParamOut);
|
||||
}
|
||||
|
||||
long DescribePriceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribePriceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribePriceRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void DescribePriceRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string DescribePriceRequest::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
void DescribePriceRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
std::string DescribePriceRequest::getChargeType()const
|
||||
{
|
||||
return chargeType_;
|
||||
}
|
||||
|
||||
void DescribePriceRequest::setChargeType(const std::string& chargeType)
|
||||
{
|
||||
chargeType_ = chargeType;
|
||||
setParameter("ChargeType", chargeType);
|
||||
}
|
||||
|
||||
bool DescribePriceRequest::getForceUpgrade()const
|
||||
{
|
||||
return forceUpgrade_;
|
||||
}
|
||||
|
||||
void DescribePriceRequest::setForceUpgrade(bool forceUpgrade)
|
||||
{
|
||||
forceUpgrade_ = forceUpgrade;
|
||||
setParameter("ForceUpgrade", forceUpgrade ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribePriceRequest::getOrderType()const
|
||||
{
|
||||
return orderType_;
|
||||
}
|
||||
|
||||
void DescribePriceRequest::setOrderType(const std::string& orderType)
|
||||
{
|
||||
orderType_ = orderType;
|
||||
setParameter("OrderType", orderType);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user