Update new version.

This commit is contained in:
sdk-team
2020-11-12 06:06:17 +00:00
parent cb2d0e9b5d
commit 6217773578
10 changed files with 70 additions and 24 deletions

View File

@@ -1,3 +1,6 @@
2020-11-12 Version: patch
- Update new version.
2020-11-12 Version: patch 2020-11-12 Version: patch
- Support DescribeDBClusterTDE. - Support DescribeDBClusterTDE.
- Support ModifyDBClusterTDE. - Support ModifyDBClusterTDE.

View File

@@ -39,10 +39,14 @@ namespace AlibabaCloud
void setStartTimestamp(long startTimestamp); void setStartTimestamp(long startTimestamp);
long getEndTimestamp()const; long getEndTimestamp()const;
void setEndTimestamp(long endTimestamp); void setEndTimestamp(long endTimestamp);
std::string getBizType()const;
void setBizType(const std::string& bizType);
std::string getVpcId()const; std::string getVpcId()const;
void setVpcId(const std::string& vpcId); void setVpcId(const std::string& vpcId);
std::string getUserClientIp()const; std::string getUserClientIp()const;
void setUserClientIp(const std::string& userClientIp); void setUserClientIp(const std::string& userClientIp);
std::string getBizId()const;
void setBizId(const std::string& bizId);
std::string getZoneId()const; std::string getZoneId()const;
void setZoneId(const std::string& zoneId); void setZoneId(const std::string& zoneId);
std::string getLang()const; std::string getLang()const;
@@ -51,8 +55,10 @@ namespace AlibabaCloud
private: private:
long startTimestamp_; long startTimestamp_;
long endTimestamp_; long endTimestamp_;
std::string bizType_;
std::string vpcId_; std::string vpcId_;
std::string userClientIp_; std::string userClientIp_;
std::string bizId_;
std::string zoneId_; std::string zoneId_;
std::string lang_; std::string lang_;

View File

@@ -35,6 +35,7 @@ namespace AlibabaCloud
struct ZoneRequestTop struct ZoneRequestTop
{ {
std::string zoneName; std::string zoneName;
std::string bizType;
long requestCount; long requestCount;
}; };
struct VpcRequestTop struct VpcRequestTop

View File

@@ -44,34 +44,36 @@ namespace AlibabaCloud
DescribeZoneInfoResult(); DescribeZoneInfoResult();
explicit DescribeZoneInfoResult(const std::string &payload); explicit DescribeZoneInfoResult(const std::string &payload);
~DescribeZoneInfoResult(); ~DescribeZoneInfoResult();
std::string getZoneName()const;
std::string getZoneId()const; std::string getZoneId()const;
bool getSlaveDns()const; bool getSlaveDns()const;
std::string getResourceGroupId()const;
std::string getProxyPattern()const; std::string getProxyPattern()const;
std::string getCreateTime()const; std::string getCreateTime()const;
std::string getRemark()const;
std::string getZoneName()const;
std::string getUpdateTime()const; std::string getUpdateTime()const;
long getUpdateTimestamp()const; long getUpdateTimestamp()const;
std::vector<Vpc> getBindVpcs()const; std::vector<Vpc> getBindVpcs()const;
int getRecordCount()const; int getRecordCount()const;
long getCreateTimestamp()const; long getCreateTimestamp()const;
bool getIsPtr()const; bool getIsPtr()const;
std::string getRemark()const;
protected: protected:
void parse(const std::string &payload); void parse(const std::string &payload);
private: private:
std::string zoneName_;
std::string zoneId_; std::string zoneId_;
bool slaveDns_; bool slaveDns_;
std::string resourceGroupId_;
std::string proxyPattern_; std::string proxyPattern_;
std::string createTime_; std::string createTime_;
std::string remark_;
std::string zoneName_;
std::string updateTime_; std::string updateTime_;
long updateTimestamp_; long updateTimestamp_;
std::vector<Vpc> bindVpcs_; std::vector<Vpc> bindVpcs_;
int recordCount_; int recordCount_;
long createTimestamp_; long createTimestamp_;
bool isPtr_; bool isPtr_;
std::string remark_;
}; };
} }

View File

@@ -36,6 +36,7 @@ namespace AlibabaCloud
{ {
std::string zoneName; std::string zoneName;
std::string zoneId; std::string zoneId;
std::string resourceGroupId;
std::string proxyPattern; std::string proxyPattern;
std::string createTime; std::string createTime;
std::string updateTime; std::string updateTime;

View File

@@ -49,6 +49,17 @@ void DescribeRequestGraphRequest::setEndTimestamp(long endTimestamp)
setParameter("EndTimestamp", std::to_string(endTimestamp)); setParameter("EndTimestamp", std::to_string(endTimestamp));
} }
std::string DescribeRequestGraphRequest::getBizType()const
{
return bizType_;
}
void DescribeRequestGraphRequest::setBizType(const std::string& bizType)
{
bizType_ = bizType;
setParameter("BizType", bizType);
}
std::string DescribeRequestGraphRequest::getVpcId()const std::string DescribeRequestGraphRequest::getVpcId()const
{ {
return vpcId_; return vpcId_;
@@ -71,6 +82,17 @@ void DescribeRequestGraphRequest::setUserClientIp(const std::string& userClientI
setParameter("UserClientIp", userClientIp); setParameter("UserClientIp", userClientIp);
} }
std::string DescribeRequestGraphRequest::getBizId()const
{
return bizId_;
}
void DescribeRequestGraphRequest::setBizId(const std::string& bizId)
{
bizId_ = bizId;
setParameter("BizId", bizId);
}
std::string DescribeRequestGraphRequest::getZoneId()const std::string DescribeRequestGraphRequest::getZoneId()const
{ {
return zoneId_; return zoneId_;

View File

@@ -47,6 +47,8 @@ void DescribeStatisticSummaryResult::parse(const std::string &payload)
zoneRequestTopsObject.zoneName = valueZoneRequestTopsZoneRequestTop["ZoneName"].asString(); zoneRequestTopsObject.zoneName = valueZoneRequestTopsZoneRequestTop["ZoneName"].asString();
if(!valueZoneRequestTopsZoneRequestTop["RequestCount"].isNull()) if(!valueZoneRequestTopsZoneRequestTop["RequestCount"].isNull())
zoneRequestTopsObject.requestCount = std::stol(valueZoneRequestTopsZoneRequestTop["RequestCount"].asString()); zoneRequestTopsObject.requestCount = std::stol(valueZoneRequestTopsZoneRequestTop["RequestCount"].asString());
if(!valueZoneRequestTopsZoneRequestTop["BizType"].isNull())
zoneRequestTopsObject.bizType = valueZoneRequestTopsZoneRequestTop["BizType"].asString();
zoneRequestTops_.push_back(zoneRequestTopsObject); zoneRequestTops_.push_back(zoneRequestTopsObject);
} }
auto allVpcRequestTopsNode = value["VpcRequestTops"]["VpcRequestTop"]; auto allVpcRequestTopsNode = value["VpcRequestTops"]["VpcRequestTop"];

View File

@@ -75,14 +75,11 @@ void DescribeZoneInfoResult::parse(const std::string &payload)
proxyPattern_ = value["ProxyPattern"].asString(); proxyPattern_ = value["ProxyPattern"].asString();
if(!value["SlaveDns"].isNull()) if(!value["SlaveDns"].isNull())
slaveDns_ = value["SlaveDns"].asString() == "true"; slaveDns_ = value["SlaveDns"].asString() == "true";
if(!value["ResourceGroupId"].isNull())
resourceGroupId_ = value["ResourceGroupId"].asString();
} }
std::string DescribeZoneInfoResult::getZoneName()const
{
return zoneName_;
}
std::string DescribeZoneInfoResult::getZoneId()const std::string DescribeZoneInfoResult::getZoneId()const
{ {
return zoneId_; return zoneId_;
@@ -93,6 +90,11 @@ bool DescribeZoneInfoResult::getSlaveDns()const
return slaveDns_; return slaveDns_;
} }
std::string DescribeZoneInfoResult::getResourceGroupId()const
{
return resourceGroupId_;
}
std::string DescribeZoneInfoResult::getProxyPattern()const std::string DescribeZoneInfoResult::getProxyPattern()const
{ {
return proxyPattern_; return proxyPattern_;
@@ -103,6 +105,16 @@ std::string DescribeZoneInfoResult::getCreateTime()const
return createTime_; return createTime_;
} }
std::string DescribeZoneInfoResult::getRemark()const
{
return remark_;
}
std::string DescribeZoneInfoResult::getZoneName()const
{
return zoneName_;
}
std::string DescribeZoneInfoResult::getUpdateTime()const std::string DescribeZoneInfoResult::getUpdateTime()const
{ {
return updateTime_; return updateTime_;
@@ -133,8 +145,3 @@ bool DescribeZoneInfoResult::getIsPtr()const
return isPtr_; return isPtr_;
} }
std::string DescribeZoneInfoResult::getRemark()const
{
return remark_;
}

View File

@@ -61,18 +61,18 @@ void DescribeZoneVpcTreeResult::parse(const std::string &payload)
zonesObject.updateTimestamp = std::stol(valueZonesZone["UpdateTimestamp"].asString()); zonesObject.updateTimestamp = std::stol(valueZonesZone["UpdateTimestamp"].asString());
if(!valueZonesZone["IsPtr"].isNull()) if(!valueZonesZone["IsPtr"].isNull())
zonesObject.isPtr = valueZonesZone["IsPtr"].asString() == "true"; zonesObject.isPtr = valueZonesZone["IsPtr"].asString() == "true";
auto allVpcsNode = allZonesNode["Vpcs"]["Vpc"]; auto allVpcsNode = valueZonesZone["Vpcs"]["Vpc"];
for (auto allZonesNodeVpcsVpc : allVpcsNode) for (auto valueZonesZoneVpcsVpc : allVpcsNode)
{ {
Zone::Vpc vpcsObject; Zone::Vpc vpcsObject;
if(!allZonesNodeVpcsVpc["RegionId"].isNull()) if(!valueZonesZoneVpcsVpc["RegionId"].isNull())
vpcsObject.regionId = allZonesNodeVpcsVpc["RegionId"].asString(); vpcsObject.regionId = valueZonesZoneVpcsVpc["RegionId"].asString();
if(!allZonesNodeVpcsVpc["RegionName"].isNull()) if(!valueZonesZoneVpcsVpc["RegionName"].isNull())
vpcsObject.regionName = allZonesNodeVpcsVpc["RegionName"].asString(); vpcsObject.regionName = valueZonesZoneVpcsVpc["RegionName"].asString();
if(!allZonesNodeVpcsVpc["VpcId"].isNull()) if(!valueZonesZoneVpcsVpc["VpcId"].isNull())
vpcsObject.vpcId = allZonesNodeVpcsVpc["VpcId"].asString(); vpcsObject.vpcId = valueZonesZoneVpcsVpc["VpcId"].asString();
if(!allZonesNodeVpcsVpc["VpcName"].isNull()) if(!valueZonesZoneVpcsVpc["VpcName"].isNull())
vpcsObject.vpcName = allZonesNodeVpcsVpc["VpcName"].asString(); vpcsObject.vpcName = valueZonesZoneVpcsVpc["VpcName"].asString();
zonesObject.vpcs.push_back(vpcsObject); zonesObject.vpcs.push_back(vpcsObject);
} }
zones_.push_back(zonesObject); zones_.push_back(zonesObject);

View File

@@ -63,6 +63,8 @@ void DescribeZonesResult::parse(const std::string &payload)
zonesObject.isPtr = valueZonesZone["IsPtr"].asString() == "true"; zonesObject.isPtr = valueZonesZone["IsPtr"].asString() == "true";
if(!valueZonesZone["ProxyPattern"].isNull()) if(!valueZonesZone["ProxyPattern"].isNull())
zonesObject.proxyPattern = valueZonesZone["ProxyPattern"].asString(); zonesObject.proxyPattern = valueZonesZone["ProxyPattern"].asString();
if(!valueZonesZone["ResourceGroupId"].isNull())
zonesObject.resourceGroupId = valueZonesZone["ResourceGroupId"].asString();
zones_.push_back(zonesObject); zones_.push_back(zonesObject);
} }
if(!value["TotalItems"].isNull()) if(!value["TotalItems"].isNull())