EnableAdditionalBandwidth add AutoRenew,AutoRenewPeriod parameter.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2021-05-14 Version: 1.36.736
|
||||
- EnableAdditionalBandwidth add AutoRenew,AutoRenewPeriod parameter.
|
||||
|
||||
2021-05-14 Version: 1.36.735
|
||||
- Update ScreenChestCT.
|
||||
|
||||
|
||||
@@ -49,6 +49,8 @@ namespace AlibabaCloud
|
||||
void setNodeId(const std::string& nodeId);
|
||||
std::string getOrderTimeLength()const;
|
||||
void setOrderTimeLength(const std::string& orderTimeLength);
|
||||
int getAutoRenewPeriod()const;
|
||||
void setAutoRenewPeriod(int autoRenewPeriod);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
bool getAutoPay()const;
|
||||
@@ -63,6 +65,8 @@ namespace AlibabaCloud
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
bool getAutoRenew()const;
|
||||
void setAutoRenew(bool autoRenew);
|
||||
std::string getCategory()const;
|
||||
void setCategory(const std::string& category);
|
||||
|
||||
@@ -74,6 +78,7 @@ namespace AlibabaCloud
|
||||
std::string sourceBiz_;
|
||||
std::string nodeId_;
|
||||
std::string orderTimeLength_;
|
||||
int autoRenewPeriod_;
|
||||
std::string product_;
|
||||
bool autoPay_;
|
||||
std::string resourceOwnerAccount_;
|
||||
@@ -81,6 +86,7 @@ namespace AlibabaCloud
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
bool autoRenew_;
|
||||
std::string category_;
|
||||
|
||||
};
|
||||
|
||||
@@ -104,6 +104,17 @@ void EnableAdditionalBandwidthRequest::setOrderTimeLength(const std::string& ord
|
||||
setParameter("OrderTimeLength", orderTimeLength);
|
||||
}
|
||||
|
||||
int EnableAdditionalBandwidthRequest::getAutoRenewPeriod()const
|
||||
{
|
||||
return autoRenewPeriod_;
|
||||
}
|
||||
|
||||
void EnableAdditionalBandwidthRequest::setAutoRenewPeriod(int autoRenewPeriod)
|
||||
{
|
||||
autoRenewPeriod_ = autoRenewPeriod;
|
||||
setParameter("AutoRenewPeriod", std::to_string(autoRenewPeriod));
|
||||
}
|
||||
|
||||
std::string EnableAdditionalBandwidthRequest::getProduct()const
|
||||
{
|
||||
return product_;
|
||||
@@ -181,6 +192,17 @@ void EnableAdditionalBandwidthRequest::setInstanceId(const std::string& instance
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
bool EnableAdditionalBandwidthRequest::getAutoRenew()const
|
||||
{
|
||||
return autoRenew_;
|
||||
}
|
||||
|
||||
void EnableAdditionalBandwidthRequest::setAutoRenew(bool autoRenew)
|
||||
{
|
||||
autoRenew_ = autoRenew;
|
||||
setParameter("AutoRenew", autoRenew ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string EnableAdditionalBandwidthRequest::getCategory()const
|
||||
{
|
||||
return category_;
|
||||
|
||||
Reference in New Issue
Block a user