Support new feature.
This commit is contained in:
@@ -68,6 +68,7 @@ namespace AlibabaCloud
|
||||
std::string expired;
|
||||
std::string payType;
|
||||
std::string lockMode;
|
||||
std::string vswitchId;
|
||||
std::string strictConsistency;
|
||||
std::string dBNodeClass;
|
||||
long storageUsed;
|
||||
@@ -75,6 +76,7 @@ namespace AlibabaCloud
|
||||
std::string vpcId;
|
||||
long storageSpace;
|
||||
std::string serverlessType;
|
||||
std::string aiType;
|
||||
std::string regionId;
|
||||
std::string expireTime;
|
||||
};
|
||||
|
||||
@@ -44,6 +44,8 @@ public:
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getIsSwitchOverForDisaster() const;
|
||||
void setIsSwitchOverForDisaster(const std::string &isSwitchOverForDisaster);
|
||||
std::string getVSwitchId() const;
|
||||
void setVSwitchId(const std::string &vSwitchId);
|
||||
std::string getPlannedStartTime() const;
|
||||
@@ -63,6 +65,7 @@ private:
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string isSwitchOverForDisaster_;
|
||||
std::string vSwitchId_;
|
||||
std::string plannedStartTime_;
|
||||
std::string vPCId_;
|
||||
|
||||
@@ -45,6 +45,8 @@ void DescribeDBClustersResult::parse(const std::string &payload)
|
||||
DBCluster itemsObject;
|
||||
if(!valueItemsDBCluster["VpcId"].isNull())
|
||||
itemsObject.vpcId = valueItemsDBCluster["VpcId"].asString();
|
||||
if(!valueItemsDBCluster["VswitchId"].isNull())
|
||||
itemsObject.vswitchId = valueItemsDBCluster["VswitchId"].asString();
|
||||
if(!valueItemsDBCluster["ExpireTime"].isNull())
|
||||
itemsObject.expireTime = valueItemsDBCluster["ExpireTime"].asString();
|
||||
if(!valueItemsDBCluster["Expired"].isNull())
|
||||
@@ -93,6 +95,8 @@ void DescribeDBClustersResult::parse(const std::string &payload)
|
||||
itemsObject.engine = valueItemsDBCluster["Engine"].asString();
|
||||
if(!valueItemsDBCluster["Category"].isNull())
|
||||
itemsObject.category = valueItemsDBCluster["Category"].asString();
|
||||
if(!valueItemsDBCluster["AiType"].isNull())
|
||||
itemsObject.aiType = valueItemsDBCluster["AiType"].asString();
|
||||
auto allTagsNode = valueItemsDBCluster["Tags"]["Tag"];
|
||||
for (auto valueItemsDBClusterTagsTag : allTagsNode)
|
||||
{
|
||||
|
||||
@@ -88,6 +88,15 @@ void ModifyDBClusterPrimaryZoneRequest::setOwnerId(long ownerId) {
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterPrimaryZoneRequest::getIsSwitchOverForDisaster() const {
|
||||
return isSwitchOverForDisaster_;
|
||||
}
|
||||
|
||||
void ModifyDBClusterPrimaryZoneRequest::setIsSwitchOverForDisaster(const std::string &isSwitchOverForDisaster) {
|
||||
isSwitchOverForDisaster_ = isSwitchOverForDisaster;
|
||||
setParameter(std::string("IsSwitchOverForDisaster"), isSwitchOverForDisaster);
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterPrimaryZoneRequest::getVSwitchId() const {
|
||||
return vSwitchId_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user