From 6217773578017546f7ea36e42c91a01bfbad22de Mon Sep 17 00:00:00 2001 From: sdk-team Date: Thu, 12 Nov 2020 06:06:17 +0000 Subject: [PATCH] Update new version. --- CHANGELOG | 3 +++ .../pvtz/model/DescribeRequestGraphRequest.h | 6 +++++ .../model/DescribeStatisticSummaryResult.h | 1 + .../pvtz/model/DescribeZoneInfoResult.h | 10 ++++--- .../pvtz/model/DescribeZonesResult.h | 1 + pvtz/src/model/DescribeRequestGraphRequest.cc | 22 +++++++++++++++ .../model/DescribeStatisticSummaryResult.cc | 2 ++ pvtz/src/model/DescribeZoneInfoResult.cc | 27 ++++++++++++------- pvtz/src/model/DescribeZoneVpcTreeResult.cc | 20 +++++++------- pvtz/src/model/DescribeZonesResult.cc | 2 ++ 10 files changed, 70 insertions(+), 24 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index fc13373da..94cdbedbf 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2020-11-12 Version: patch +- Update new version. + 2020-11-12 Version: patch - Support DescribeDBClusterTDE. - Support ModifyDBClusterTDE. diff --git a/pvtz/include/alibabacloud/pvtz/model/DescribeRequestGraphRequest.h b/pvtz/include/alibabacloud/pvtz/model/DescribeRequestGraphRequest.h index af27ccc68..85141ad4c 100644 --- a/pvtz/include/alibabacloud/pvtz/model/DescribeRequestGraphRequest.h +++ b/pvtz/include/alibabacloud/pvtz/model/DescribeRequestGraphRequest.h @@ -39,10 +39,14 @@ namespace AlibabaCloud void setStartTimestamp(long startTimestamp); long getEndTimestamp()const; void setEndTimestamp(long endTimestamp); + std::string getBizType()const; + void setBizType(const std::string& bizType); std::string getVpcId()const; void setVpcId(const std::string& vpcId); std::string getUserClientIp()const; void setUserClientIp(const std::string& userClientIp); + std::string getBizId()const; + void setBizId(const std::string& bizId); std::string getZoneId()const; void setZoneId(const std::string& zoneId); std::string getLang()const; @@ -51,8 +55,10 @@ namespace AlibabaCloud private: long startTimestamp_; long endTimestamp_; + std::string bizType_; std::string vpcId_; std::string userClientIp_; + std::string bizId_; std::string zoneId_; std::string lang_; diff --git a/pvtz/include/alibabacloud/pvtz/model/DescribeStatisticSummaryResult.h b/pvtz/include/alibabacloud/pvtz/model/DescribeStatisticSummaryResult.h index 240a6f663..52b413389 100644 --- a/pvtz/include/alibabacloud/pvtz/model/DescribeStatisticSummaryResult.h +++ b/pvtz/include/alibabacloud/pvtz/model/DescribeStatisticSummaryResult.h @@ -35,6 +35,7 @@ namespace AlibabaCloud struct ZoneRequestTop { std::string zoneName; + std::string bizType; long requestCount; }; struct VpcRequestTop diff --git a/pvtz/include/alibabacloud/pvtz/model/DescribeZoneInfoResult.h b/pvtz/include/alibabacloud/pvtz/model/DescribeZoneInfoResult.h index 553b3697e..4f80b7b30 100644 --- a/pvtz/include/alibabacloud/pvtz/model/DescribeZoneInfoResult.h +++ b/pvtz/include/alibabacloud/pvtz/model/DescribeZoneInfoResult.h @@ -44,34 +44,36 @@ namespace AlibabaCloud DescribeZoneInfoResult(); explicit DescribeZoneInfoResult(const std::string &payload); ~DescribeZoneInfoResult(); - std::string getZoneName()const; std::string getZoneId()const; bool getSlaveDns()const; + std::string getResourceGroupId()const; std::string getProxyPattern()const; std::string getCreateTime()const; + std::string getRemark()const; + std::string getZoneName()const; std::string getUpdateTime()const; long getUpdateTimestamp()const; std::vector getBindVpcs()const; int getRecordCount()const; long getCreateTimestamp()const; bool getIsPtr()const; - std::string getRemark()const; protected: void parse(const std::string &payload); private: - std::string zoneName_; std::string zoneId_; bool slaveDns_; + std::string resourceGroupId_; std::string proxyPattern_; std::string createTime_; + std::string remark_; + std::string zoneName_; std::string updateTime_; long updateTimestamp_; std::vector bindVpcs_; int recordCount_; long createTimestamp_; bool isPtr_; - std::string remark_; }; } diff --git a/pvtz/include/alibabacloud/pvtz/model/DescribeZonesResult.h b/pvtz/include/alibabacloud/pvtz/model/DescribeZonesResult.h index 56c01c22e..6d4d31904 100644 --- a/pvtz/include/alibabacloud/pvtz/model/DescribeZonesResult.h +++ b/pvtz/include/alibabacloud/pvtz/model/DescribeZonesResult.h @@ -36,6 +36,7 @@ namespace AlibabaCloud { std::string zoneName; std::string zoneId; + std::string resourceGroupId; std::string proxyPattern; std::string createTime; std::string updateTime; diff --git a/pvtz/src/model/DescribeRequestGraphRequest.cc b/pvtz/src/model/DescribeRequestGraphRequest.cc index 501d9aa07..08e25f288 100644 --- a/pvtz/src/model/DescribeRequestGraphRequest.cc +++ b/pvtz/src/model/DescribeRequestGraphRequest.cc @@ -49,6 +49,17 @@ void DescribeRequestGraphRequest::setEndTimestamp(long 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 { return vpcId_; @@ -71,6 +82,17 @@ void DescribeRequestGraphRequest::setUserClientIp(const std::string& userClientI 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 { return zoneId_; diff --git a/pvtz/src/model/DescribeStatisticSummaryResult.cc b/pvtz/src/model/DescribeStatisticSummaryResult.cc index df5b62243..1771b4508 100644 --- a/pvtz/src/model/DescribeStatisticSummaryResult.cc +++ b/pvtz/src/model/DescribeStatisticSummaryResult.cc @@ -47,6 +47,8 @@ void DescribeStatisticSummaryResult::parse(const std::string &payload) zoneRequestTopsObject.zoneName = valueZoneRequestTopsZoneRequestTop["ZoneName"].asString(); if(!valueZoneRequestTopsZoneRequestTop["RequestCount"].isNull()) zoneRequestTopsObject.requestCount = std::stol(valueZoneRequestTopsZoneRequestTop["RequestCount"].asString()); + if(!valueZoneRequestTopsZoneRequestTop["BizType"].isNull()) + zoneRequestTopsObject.bizType = valueZoneRequestTopsZoneRequestTop["BizType"].asString(); zoneRequestTops_.push_back(zoneRequestTopsObject); } auto allVpcRequestTopsNode = value["VpcRequestTops"]["VpcRequestTop"]; diff --git a/pvtz/src/model/DescribeZoneInfoResult.cc b/pvtz/src/model/DescribeZoneInfoResult.cc index 505649226..0f8e42a84 100644 --- a/pvtz/src/model/DescribeZoneInfoResult.cc +++ b/pvtz/src/model/DescribeZoneInfoResult.cc @@ -75,14 +75,11 @@ void DescribeZoneInfoResult::parse(const std::string &payload) proxyPattern_ = value["ProxyPattern"].asString(); if(!value["SlaveDns"].isNull()) 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 { return zoneId_; @@ -93,6 +90,11 @@ bool DescribeZoneInfoResult::getSlaveDns()const return slaveDns_; } +std::string DescribeZoneInfoResult::getResourceGroupId()const +{ + return resourceGroupId_; +} + std::string DescribeZoneInfoResult::getProxyPattern()const { return proxyPattern_; @@ -103,6 +105,16 @@ std::string DescribeZoneInfoResult::getCreateTime()const return createTime_; } +std::string DescribeZoneInfoResult::getRemark()const +{ + return remark_; +} + +std::string DescribeZoneInfoResult::getZoneName()const +{ + return zoneName_; +} + std::string DescribeZoneInfoResult::getUpdateTime()const { return updateTime_; @@ -133,8 +145,3 @@ bool DescribeZoneInfoResult::getIsPtr()const return isPtr_; } -std::string DescribeZoneInfoResult::getRemark()const -{ - return remark_; -} - diff --git a/pvtz/src/model/DescribeZoneVpcTreeResult.cc b/pvtz/src/model/DescribeZoneVpcTreeResult.cc index 1470f4a00..2d96ad0c0 100644 --- a/pvtz/src/model/DescribeZoneVpcTreeResult.cc +++ b/pvtz/src/model/DescribeZoneVpcTreeResult.cc @@ -61,18 +61,18 @@ void DescribeZoneVpcTreeResult::parse(const std::string &payload) zonesObject.updateTimestamp = std::stol(valueZonesZone["UpdateTimestamp"].asString()); if(!valueZonesZone["IsPtr"].isNull()) zonesObject.isPtr = valueZonesZone["IsPtr"].asString() == "true"; - auto allVpcsNode = allZonesNode["Vpcs"]["Vpc"]; - for (auto allZonesNodeVpcsVpc : allVpcsNode) + auto allVpcsNode = valueZonesZone["Vpcs"]["Vpc"]; + for (auto valueZonesZoneVpcsVpc : allVpcsNode) { Zone::Vpc vpcsObject; - if(!allZonesNodeVpcsVpc["RegionId"].isNull()) - vpcsObject.regionId = allZonesNodeVpcsVpc["RegionId"].asString(); - if(!allZonesNodeVpcsVpc["RegionName"].isNull()) - vpcsObject.regionName = allZonesNodeVpcsVpc["RegionName"].asString(); - if(!allZonesNodeVpcsVpc["VpcId"].isNull()) - vpcsObject.vpcId = allZonesNodeVpcsVpc["VpcId"].asString(); - if(!allZonesNodeVpcsVpc["VpcName"].isNull()) - vpcsObject.vpcName = allZonesNodeVpcsVpc["VpcName"].asString(); + if(!valueZonesZoneVpcsVpc["RegionId"].isNull()) + vpcsObject.regionId = valueZonesZoneVpcsVpc["RegionId"].asString(); + if(!valueZonesZoneVpcsVpc["RegionName"].isNull()) + vpcsObject.regionName = valueZonesZoneVpcsVpc["RegionName"].asString(); + if(!valueZonesZoneVpcsVpc["VpcId"].isNull()) + vpcsObject.vpcId = valueZonesZoneVpcsVpc["VpcId"].asString(); + if(!valueZonesZoneVpcsVpc["VpcName"].isNull()) + vpcsObject.vpcName = valueZonesZoneVpcsVpc["VpcName"].asString(); zonesObject.vpcs.push_back(vpcsObject); } zones_.push_back(zonesObject); diff --git a/pvtz/src/model/DescribeZonesResult.cc b/pvtz/src/model/DescribeZonesResult.cc index 89d84aa85..72391dde2 100644 --- a/pvtz/src/model/DescribeZonesResult.cc +++ b/pvtz/src/model/DescribeZonesResult.cc @@ -63,6 +63,8 @@ void DescribeZonesResult::parse(const std::string &payload) zonesObject.isPtr = valueZonesZone["IsPtr"].asString() == "true"; if(!valueZonesZone["ProxyPattern"].isNull()) zonesObject.proxyPattern = valueZonesZone["ProxyPattern"].asString(); + if(!valueZonesZone["ResourceGroupId"].isNull()) + zonesObject.resourceGroupId = valueZonesZone["ResourceGroupId"].asString(); zones_.push_back(zonesObject); } if(!value["TotalItems"].isNull())