Support new feature.

This commit is contained in:
sdk-team
2023-09-14 08:30:09 +00:00
parent 8d13c48cce
commit 4f8cf9d05f
5 changed files with 31 additions and 1 deletions

View File

@@ -118,6 +118,8 @@ void DescribeDBClusterAttributeResult::parse(const std::string &payload)
isLatestVersion_ = value["IsLatestVersion"].asString() == "true";
if(!value["HasCompleteStandbyRes"].isNull())
hasCompleteStandbyRes_ = value["HasCompleteStandbyRes"].asString() == "true";
if(!value["HotStandbyCluster"].isNull())
hotStandbyCluster_ = value["HotStandbyCluster"].asString();
if(!value["DataSyncMode"].isNull())
dataSyncMode_ = value["DataSyncMode"].asString();
if(!value["StandbyHAMode"].isNull())
@@ -198,6 +200,8 @@ void DescribeDBClusterAttributeResult::parse(const std::string &payload)
featureHTAPSupported_ = value["FeatureHTAPSupported"].asString();
if(!value["ProxyServerlessType"].isNull())
proxyServerlessType_ = value["ProxyServerlessType"].asString();
if(!value["Architecture"].isNull())
architecture_ = value["Architecture"].asString();
if(!value["AiType"].isNull())
aiType_ = value["AiType"].asString();
@@ -278,6 +282,11 @@ std::string DescribeDBClusterAttributeResult::getStorageType()const
return storageType_;
}
std::string DescribeDBClusterAttributeResult::getArchitecture()const
{
return architecture_;
}
std::string DescribeDBClusterAttributeResult::getVPCId()const
{
return vPCId_;
@@ -363,6 +372,11 @@ std::string DescribeDBClusterAttributeResult::getDBClusterId()const
return dBClusterId_;
}
std::string DescribeDBClusterAttributeResult::getHotStandbyCluster()const
{
return hotStandbyCluster_;
}
std::string DescribeDBClusterAttributeResult::getDeployUnit()const
{
return deployUnit_;

View File

@@ -61,6 +61,15 @@ void ModifyDBNodeClassRequest::setAccessKeyId(const std::string &accessKeyId) {
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string ModifyDBNodeClassRequest::getDBNodeType() const {
return dBNodeType_;
}
void ModifyDBNodeClassRequest::setDBNodeType(const std::string &dBNodeType) {
dBNodeType_ = dBNodeType;
setParameter(std::string("DBNodeType"), dBNodeType);
}
std::string ModifyDBNodeClassRequest::getDBNodeTargetClass() const {
return dBNodeTargetClass_;
}