diff --git a/CHANGELOG b/CHANGELOG index af4c9db2e..3951f261e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2021-11-23 Version: 1.36.940 +- Fix BdsColdStorage. + 2021-11-23 Version: 1.36.939 - Support the IP restrictions in ram policy. diff --git a/VERSION b/VERSION index 8b93c2557..56c0945a4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.939 \ No newline at end of file +1.36.940 \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/DescribeColdStorageResult.h b/hbase/include/alibabacloud/hbase/model/DescribeColdStorageResult.h index 4d9426bdb..024a70211 100644 --- a/hbase/include/alibabacloud/hbase/model/DescribeColdStorageResult.h +++ b/hbase/include/alibabacloud/hbase/model/DescribeColdStorageResult.h @@ -37,18 +37,22 @@ namespace AlibabaCloud DescribeColdStorageResult(); explicit DescribeColdStorageResult(const std::string &payload); ~DescribeColdStorageResult(); - std::string getColdStorageSize()const; std::string getColdStorageUsePercent()const; + std::string getColdStorageSize()const; + std::string getColdStorageUseAmount()const; std::string getClusterId()const; + std::string getColdStorageType()const; std::string getPayType()const; std::string getOpenStatus()const; protected: void parse(const std::string &payload); private: - std::string coldStorageSize_; std::string coldStorageUsePercent_; + std::string coldStorageSize_; + std::string coldStorageUseAmount_; std::string clusterId_; + std::string coldStorageType_; std::string payType_; std::string openStatus_; diff --git a/hbase/src/model/DescribeColdStorageResult.cc b/hbase/src/model/DescribeColdStorageResult.cc index 344589bad..7c245b1d4 100644 --- a/hbase/src/model/DescribeColdStorageResult.cc +++ b/hbase/src/model/DescribeColdStorageResult.cc @@ -39,34 +39,48 @@ void DescribeColdStorageResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["ClusterId"].isNull()) - clusterId_ = value["ClusterId"].asString(); if(!value["OpenStatus"].isNull()) openStatus_ = value["OpenStatus"].asString(); - if(!value["ColdStorageSize"].isNull()) - coldStorageSize_ = value["ColdStorageSize"].asString(); - if(!value["ColdStorageUsePercent"].isNull()) - coldStorageUsePercent_ = value["ColdStorageUsePercent"].asString(); if(!value["PayType"].isNull()) payType_ = value["PayType"].asString(); + if(!value["ColdStorageUsePercent"].isNull()) + coldStorageUsePercent_ = value["ColdStorageUsePercent"].asString(); + if(!value["ColdStorageUseAmount"].isNull()) + coldStorageUseAmount_ = value["ColdStorageUseAmount"].asString(); + if(!value["ColdStorageSize"].isNull()) + coldStorageSize_ = value["ColdStorageSize"].asString(); + if(!value["ColdStorageType"].isNull()) + coldStorageType_ = value["ColdStorageType"].asString(); + if(!value["ClusterId"].isNull()) + clusterId_ = value["ClusterId"].asString(); } -std::string DescribeColdStorageResult::getColdStorageSize()const -{ - return coldStorageSize_; -} - std::string DescribeColdStorageResult::getColdStorageUsePercent()const { return coldStorageUsePercent_; } +std::string DescribeColdStorageResult::getColdStorageSize()const +{ + return coldStorageSize_; +} + +std::string DescribeColdStorageResult::getColdStorageUseAmount()const +{ + return coldStorageUseAmount_; +} + std::string DescribeColdStorageResult::getClusterId()const { return clusterId_; } +std::string DescribeColdStorageResult::getColdStorageType()const +{ + return coldStorageType_; +} + std::string DescribeColdStorageResult::getPayType()const { return payType_;