Support new feature.
This commit is contained in:
@@ -108,6 +108,8 @@ public:
|
||||
void setLooseXEngine(const std::string &looseXEngine);
|
||||
std::string getLoosePolarLogBin() const;
|
||||
void setLoosePolarLogBin(const std::string &loosePolarLogBin);
|
||||
std::string getArchitecture() const;
|
||||
void setArchitecture(const std::string &architecture);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
@@ -175,6 +177,7 @@ private:
|
||||
std::string gDNId_;
|
||||
std::string looseXEngine_;
|
||||
std::string loosePolarLogBin_;
|
||||
std::string architecture_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string looseXEngineUseMemoryPct_;
|
||||
|
||||
@@ -46,6 +46,8 @@ public:
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getDBNodeType() const;
|
||||
void setDBNodeType(const std::string &dBNodeType);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getDBClusterId() const;
|
||||
@@ -68,6 +70,7 @@ private:
|
||||
std::string plannedEndTime_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string dBNodeType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBNodeType() const;
|
||||
void setDBNodeType(const std::string &dBNodeType);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getDBClusterId() const;
|
||||
@@ -52,6 +54,7 @@ private:
|
||||
std::vector<std::string> dBNodeId_;
|
||||
std::string clientToken_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBNodeType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -43,9 +43,11 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string zoneId;
|
||||
std::string dBNodeRole;
|
||||
std::string imciSwitch;
|
||||
std::string dBNodeId;
|
||||
std::string regionId;
|
||||
std::string serverless;
|
||||
std::string hotReplicaMode;
|
||||
std::string dBNodeClass;
|
||||
};
|
||||
int deletionLock;
|
||||
|
||||
@@ -363,6 +363,15 @@ void CreateDBClusterRequest::setLoosePolarLogBin(const std::string &loosePolarLo
|
||||
setParameter(std::string("LoosePolarLogBin"), loosePolarLogBin);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getArchitecture() const {
|
||||
return architecture_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setArchitecture(const std::string &architecture) {
|
||||
architecture_ = architecture;
|
||||
setParameter(std::string("Architecture"), architecture);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
@@ -79,6 +79,15 @@ void CreateDBNodesRequest::setResourceGroupId(const std::string &resourceGroupId
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateDBNodesRequest::getDBNodeType() const {
|
||||
return dBNodeType_;
|
||||
}
|
||||
|
||||
void CreateDBNodesRequest::setDBNodeType(const std::string &dBNodeType) {
|
||||
dBNodeType_ = dBNodeType;
|
||||
setParameter(std::string("DBNodeType"), dBNodeType);
|
||||
}
|
||||
|
||||
std::string CreateDBNodesRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
@@ -60,6 +60,15 @@ void DeleteDBNodesRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteDBNodesRequest::getDBNodeType() const {
|
||||
return dBNodeType_;
|
||||
}
|
||||
|
||||
void DeleteDBNodesRequest::setDBNodeType(const std::string &dBNodeType) {
|
||||
dBNodeType_ = dBNodeType;
|
||||
setParameter(std::string("DBNodeType"), dBNodeType);
|
||||
}
|
||||
|
||||
std::string DeleteDBNodesRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
@@ -119,6 +119,10 @@ void DescribeDBClustersResult::parse(const std::string &payload)
|
||||
dBNodesObject.regionId = valueItemsDBClusterDBNodesDBNode["RegionId"].asString();
|
||||
if(!valueItemsDBClusterDBNodesDBNode["Serverless"].isNull())
|
||||
dBNodesObject.serverless = valueItemsDBClusterDBNodesDBNode["Serverless"].asString();
|
||||
if(!valueItemsDBClusterDBNodesDBNode["ImciSwitch"].isNull())
|
||||
dBNodesObject.imciSwitch = valueItemsDBClusterDBNodesDBNode["ImciSwitch"].asString();
|
||||
if(!valueItemsDBClusterDBNodesDBNode["HotReplicaMode"].isNull())
|
||||
dBNodesObject.hotReplicaMode = valueItemsDBClusterDBNodesDBNode["HotReplicaMode"].asString();
|
||||
itemsObject.dBNodes.push_back(dBNodesObject);
|
||||
}
|
||||
items_.push_back(itemsObject);
|
||||
|
||||
Reference in New Issue
Block a user