Update HasRenewChangeOrder type to Boolean in DescribeInstances.
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
2020-09-10 Version: patch
|
||||||
|
- Update HasRenewChangeOrder type to Boolean in DescribeInstances.
|
||||||
|
|
||||||
2020-09-09 Version: patch
|
2020-09-09 Version: patch
|
||||||
- Add support cn-beijing service region.
|
- Add support cn-beijing service region.
|
||||||
- Add ai video cover interface,include submit and query.
|
- Add ai video cover interface,include submit and query.
|
||||||
|
|||||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
|||||||
|
|
||||||
long getResourceOwnerId()const;
|
long getResourceOwnerId()const;
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
void setResourceOwnerId(long resourceOwnerId);
|
||||||
|
std::string getClientToken()const;
|
||||||
|
void setClientToken(const std::string& clientToken);
|
||||||
std::string getAccessKeyId()const;
|
std::string getAccessKeyId()const;
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
void setAccessKeyId(const std::string& accessKeyId);
|
||||||
std::string getSecurityToken()const;
|
std::string getSecurityToken()const;
|
||||||
@@ -52,6 +54,7 @@ namespace AlibabaCloud
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
long resourceOwnerId_;
|
long resourceOwnerId_;
|
||||||
|
std::string clientToken_;
|
||||||
std::string accessKeyId_;
|
std::string accessKeyId_;
|
||||||
std::string securityToken_;
|
std::string securityToken_;
|
||||||
std::string resourceOwnerAccount_;
|
std::string resourceOwnerAccount_;
|
||||||
|
|||||||
@@ -65,6 +65,8 @@ namespace AlibabaCloud
|
|||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
std::string getInstanceType()const;
|
std::string getInstanceType()const;
|
||||||
void setInstanceType(const std::string& instanceType);
|
void setInstanceType(const std::string& instanceType);
|
||||||
|
std::string getEditionType()const;
|
||||||
|
void setEditionType(const std::string& editionType);
|
||||||
std::vector<Tag> getTag()const;
|
std::vector<Tag> getTag()const;
|
||||||
void setTag(const std::vector<Tag>& tag);
|
void setTag(const std::vector<Tag>& tag);
|
||||||
std::string getInstanceStatus()const;
|
std::string getInstanceStatus()const;
|
||||||
@@ -105,6 +107,7 @@ namespace AlibabaCloud
|
|||||||
std::string securityToken_;
|
std::string securityToken_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
std::string instanceType_;
|
std::string instanceType_;
|
||||||
|
std::string editionType_;
|
||||||
std::vector<Tag> tag_;
|
std::vector<Tag> tag_;
|
||||||
std::string instanceStatus_;
|
std::string instanceStatus_;
|
||||||
std::string resourceOwnerAccount_;
|
std::string resourceOwnerAccount_;
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ namespace AlibabaCloud
|
|||||||
std::string config;
|
std::string config;
|
||||||
long port;
|
long port;
|
||||||
std::string destroyTime;
|
std::string destroyTime;
|
||||||
std::string hasRenewChangeOrder;
|
bool hasRenewChangeOrder;
|
||||||
std::string connectionDomain;
|
std::string connectionDomain;
|
||||||
long capacity;
|
long capacity;
|
||||||
long qPS;
|
long qPS;
|
||||||
|
|||||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
|||||||
void setAccessKeyId(const std::string& accessKeyId);
|
void setAccessKeyId(const std::string& accessKeyId);
|
||||||
std::string getSecurityToken()const;
|
std::string getSecurityToken()const;
|
||||||
void setSecurityToken(const std::string& securityToken);
|
void setSecurityToken(const std::string& securityToken);
|
||||||
|
std::string getRegionId()const;
|
||||||
|
void setRegionId(const std::string& regionId);
|
||||||
std::string getResourceOwnerAccount()const;
|
std::string getResourceOwnerAccount()const;
|
||||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||||
std::string getOwnerAccount()const;
|
std::string getOwnerAccount()const;
|
||||||
@@ -54,6 +56,7 @@ namespace AlibabaCloud
|
|||||||
long resourceOwnerId_;
|
long resourceOwnerId_;
|
||||||
std::string accessKeyId_;
|
std::string accessKeyId_;
|
||||||
std::string securityToken_;
|
std::string securityToken_;
|
||||||
|
std::string regionId_;
|
||||||
std::string resourceOwnerAccount_;
|
std::string resourceOwnerAccount_;
|
||||||
std::string ownerAccount_;
|
std::string ownerAccount_;
|
||||||
long ownerId_;
|
long ownerId_;
|
||||||
|
|||||||
@@ -38,6 +38,17 @@ void CreateGlobalDistributeCacheRequest::setResourceOwnerId(long resourceOwnerId
|
|||||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string CreateGlobalDistributeCacheRequest::getClientToken()const
|
||||||
|
{
|
||||||
|
return clientToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateGlobalDistributeCacheRequest::setClientToken(const std::string& clientToken)
|
||||||
|
{
|
||||||
|
clientToken_ = clientToken;
|
||||||
|
setParameter("ClientToken", clientToken);
|
||||||
|
}
|
||||||
|
|
||||||
std::string CreateGlobalDistributeCacheRequest::getAccessKeyId()const
|
std::string CreateGlobalDistributeCacheRequest::getAccessKeyId()const
|
||||||
{
|
{
|
||||||
return accessKeyId_;
|
return accessKeyId_;
|
||||||
|
|||||||
@@ -159,6 +159,17 @@ void DescribeInstancesRequest::setInstanceType(const std::string& instanceType)
|
|||||||
setParameter("InstanceType", instanceType);
|
setParameter("InstanceType", instanceType);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeInstancesRequest::getEditionType()const
|
||||||
|
{
|
||||||
|
return editionType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeInstancesRequest::setEditionType(const std::string& editionType)
|
||||||
|
{
|
||||||
|
editionType_ = editionType;
|
||||||
|
setParameter("EditionType", editionType);
|
||||||
|
}
|
||||||
|
|
||||||
std::vector<DescribeInstancesRequest::Tag> DescribeInstancesRequest::getTag()const
|
std::vector<DescribeInstancesRequest::Tag> DescribeInstancesRequest::getTag()const
|
||||||
{
|
{
|
||||||
return tag_;
|
return tag_;
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ void DescribeInstancesResult::parse(const std::string &payload)
|
|||||||
if(!valueInstancesKVStoreInstance["EndTime"].isNull())
|
if(!valueInstancesKVStoreInstance["EndTime"].isNull())
|
||||||
instancesObject.endTime = valueInstancesKVStoreInstance["EndTime"].asString();
|
instancesObject.endTime = valueInstancesKVStoreInstance["EndTime"].asString();
|
||||||
if(!valueInstancesKVStoreInstance["HasRenewChangeOrder"].isNull())
|
if(!valueInstancesKVStoreInstance["HasRenewChangeOrder"].isNull())
|
||||||
instancesObject.hasRenewChangeOrder = valueInstancesKVStoreInstance["HasRenewChangeOrder"].asString();
|
instancesObject.hasRenewChangeOrder = valueInstancesKVStoreInstance["HasRenewChangeOrder"].asString() == "true";
|
||||||
if(!valueInstancesKVStoreInstance["IsRds"].isNull())
|
if(!valueInstancesKVStoreInstance["IsRds"].isNull())
|
||||||
instancesObject.isRds = valueInstancesKVStoreInstance["IsRds"].asString() == "true";
|
instancesObject.isRds = valueInstancesKVStoreInstance["IsRds"].asString() == "true";
|
||||||
if(!valueInstancesKVStoreInstance["InstanceType"].isNull())
|
if(!valueInstancesKVStoreInstance["InstanceType"].isNull())
|
||||||
|
|||||||
@@ -60,6 +60,17 @@ void DescribeZonesRequest::setSecurityToken(const std::string& securityToken)
|
|||||||
setParameter("SecurityToken", securityToken);
|
setParameter("SecurityToken", securityToken);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeZonesRequest::getRegionId()const
|
||||||
|
{
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeZonesRequest::setRegionId(const std::string& regionId)
|
||||||
|
{
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter("RegionId", regionId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeZonesRequest::getResourceOwnerAccount()const
|
std::string DescribeZonesRequest::getResourceOwnerAccount()const
|
||||||
{
|
{
|
||||||
return resourceOwnerAccount_;
|
return resourceOwnerAccount_;
|
||||||
|
|||||||
Reference in New Issue
Block a user