EnableAdditionalBandwidth API add SourceBiz.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2021-03-17 Version: 1.36.639
|
||||
- EnableAdditionalBandwidth API add SourceBiz.
|
||||
- DescribeAvailableResource add ProductType to support buy OnECS instance.
|
||||
|
||||
2021-03-17 Version: 1.36.638
|
||||
- Add group alarm rule resource extension parameter.
|
||||
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getSecurityToken()const;
|
||||
@@ -69,6 +71,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string productType_;
|
||||
std::string resourceGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
bool getAll()const;
|
||||
void setAll(bool all);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -57,6 +59,7 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
bool all_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -43,10 +43,14 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getSourceBiz()const;
|
||||
void setSourceBiz(const std::string& sourceBiz);
|
||||
std::string getNodeId()const;
|
||||
void setNodeId(const std::string& nodeId);
|
||||
std::string getOrderTimeLength()const;
|
||||
void setOrderTimeLength(const std::string& orderTimeLength);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
bool getAutoPay()const;
|
||||
void setAutoPay(bool autoPay);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
@@ -59,20 +63,25 @@ namespace AlibabaCloud
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getCategory()const;
|
||||
void setCategory(const std::string& category);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string couponNo_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string sourceBiz_;
|
||||
std::string nodeId_;
|
||||
std::string orderTimeLength_;
|
||||
std::string product_;
|
||||
bool autoPay_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string bandwidth_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
std::string category_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -49,6 +49,17 @@ void DescribeAvailableResourceRequest::setAccessKeyId(const std::string& accessK
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeAvailableResourceRequest::getProductType()const
|
||||
{
|
||||
return productType_;
|
||||
}
|
||||
|
||||
void DescribeAvailableResourceRequest::setProductType(const std::string& productType)
|
||||
{
|
||||
productType_ = productType;
|
||||
setParameter("ProductType", productType);
|
||||
}
|
||||
|
||||
std::string DescribeAvailableResourceRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
|
||||
@@ -71,6 +71,17 @@ void DescribeZonesRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
bool DescribeZonesRequest::getAll()const
|
||||
{
|
||||
return all_;
|
||||
}
|
||||
|
||||
void DescribeZonesRequest::setAll(bool all)
|
||||
{
|
||||
all_ = all;
|
||||
setParameter("All", all ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeZonesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
|
||||
@@ -71,6 +71,17 @@ void EnableAdditionalBandwidthRequest::setSecurityToken(const std::string& secur
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string EnableAdditionalBandwidthRequest::getSourceBiz()const
|
||||
{
|
||||
return sourceBiz_;
|
||||
}
|
||||
|
||||
void EnableAdditionalBandwidthRequest::setSourceBiz(const std::string& sourceBiz)
|
||||
{
|
||||
sourceBiz_ = sourceBiz;
|
||||
setParameter("SourceBiz", sourceBiz);
|
||||
}
|
||||
|
||||
std::string EnableAdditionalBandwidthRequest::getNodeId()const
|
||||
{
|
||||
return nodeId_;
|
||||
@@ -93,6 +104,17 @@ void EnableAdditionalBandwidthRequest::setOrderTimeLength(const std::string& ord
|
||||
setParameter("OrderTimeLength", orderTimeLength);
|
||||
}
|
||||
|
||||
std::string EnableAdditionalBandwidthRequest::getProduct()const
|
||||
{
|
||||
return product_;
|
||||
}
|
||||
|
||||
void EnableAdditionalBandwidthRequest::setProduct(const std::string& product)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
}
|
||||
|
||||
bool EnableAdditionalBandwidthRequest::getAutoPay()const
|
||||
{
|
||||
return autoPay_;
|
||||
@@ -159,3 +181,14 @@ void EnableAdditionalBandwidthRequest::setInstanceId(const std::string& instance
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string EnableAdditionalBandwidthRequest::getCategory()const
|
||||
{
|
||||
return category_;
|
||||
}
|
||||
|
||||
void EnableAdditionalBandwidthRequest::setCategory(const std::string& category)
|
||||
{
|
||||
category_ = category;
|
||||
setParameter("Category", category);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user