Return ConsistentTime for DescribeBackups.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2020-01-10 Version 1.36.237
|
||||
- Return `ConsistentTime` for DescribeBackups.
|
||||
- Return `DBNodeIds` for CreateDBNodes.
|
||||
|
||||
2020-01-09 Version 1.36.236
|
||||
- Support DAILY report in QueryInstanBill.
|
||||
|
||||
|
||||
@@ -67,6 +67,8 @@ namespace AlibabaCloud
|
||||
void setUsedTime(const std::string& usedTime);
|
||||
std::string getVSwitchId()const;
|
||||
void setVSwitchId(const std::string& vSwitchId);
|
||||
std::string getSecurityIPList()const;
|
||||
void setSecurityIPList(const std::string& securityIPList);
|
||||
bool getAutoRenew()const;
|
||||
void setAutoRenew(bool autoRenew);
|
||||
std::string getVPCId()const;
|
||||
@@ -99,6 +101,7 @@ namespace AlibabaCloud
|
||||
long ownerId_;
|
||||
std::string usedTime_;
|
||||
std::string vSwitchId_;
|
||||
std::string securityIPList_;
|
||||
bool autoRenew_;
|
||||
std::string vPCId_;
|
||||
std::string dBType_;
|
||||
|
||||
@@ -37,12 +37,14 @@ namespace AlibabaCloud
|
||||
CreateDBNodesResult();
|
||||
explicit CreateDBNodesResult(const std::string &payload);
|
||||
~CreateDBNodesResult();
|
||||
std::vector<std::string> getDBNodeIds()const;
|
||||
std::string getDBClusterId()const;
|
||||
std::string getOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> dBNodeIds_;
|
||||
std::string dBClusterId_;
|
||||
std::string orderId_;
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
||||
std::string backupMode;
|
||||
std::string dBClusterId;
|
||||
std::string backupStartTime;
|
||||
std::string consistentTime;
|
||||
std::string backupId;
|
||||
std::string backupType;
|
||||
std::string backupSetSize;
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setDBClusterIPArrayAttribute(const std::string& dBClusterIPArrayAttribute);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getModifyMode()const;
|
||||
void setModifyMode(const std::string& modifyMode);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
@@ -63,6 +65,7 @@ namespace AlibabaCloud
|
||||
std::string securityIps_;
|
||||
std::string dBClusterIPArrayAttribute_;
|
||||
std::string accessKeyId_;
|
||||
std::string modifyMode_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -203,6 +203,17 @@ void CreateDBClusterRequest::setVSwitchId(const std::string& vSwitchId)
|
||||
setCoreParameter("VSwitchId", vSwitchId);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getSecurityIPList()const
|
||||
{
|
||||
return securityIPList_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setSecurityIPList(const std::string& securityIPList)
|
||||
{
|
||||
securityIPList_ = securityIPList;
|
||||
setCoreParameter("SecurityIPList", securityIPList);
|
||||
}
|
||||
|
||||
bool CreateDBClusterRequest::getAutoRenew()const
|
||||
{
|
||||
return autoRenew_;
|
||||
|
||||
@@ -39,6 +39,9 @@ void CreateDBNodesResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDBNodeIds = value["DBNodeIds"]["DBNodeId"];
|
||||
for (const auto &item : allDBNodeIds)
|
||||
dBNodeIds_.push_back(item.asString());
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
if(!value["OrderId"].isNull())
|
||||
@@ -46,6 +49,11 @@ void CreateDBNodesResult::parse(const std::string &payload)
|
||||
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateDBNodesResult::getDBNodeIds()const
|
||||
{
|
||||
return dBNodeIds_;
|
||||
}
|
||||
|
||||
std::string CreateDBNodesResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
|
||||
@@ -63,6 +63,8 @@ void DescribeBackupsResult::parse(const std::string &payload)
|
||||
itemsObject.storeStatus = valueItemsBackup["StoreStatus"].asString();
|
||||
if(!valueItemsBackup["BackupSetSize"].isNull())
|
||||
itemsObject.backupSetSize = valueItemsBackup["BackupSetSize"].asString();
|
||||
if(!valueItemsBackup["ConsistentTime"].isNull())
|
||||
itemsObject.consistentTime = valueItemsBackup["ConsistentTime"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["TotalRecordCount"].isNull())
|
||||
|
||||
@@ -71,6 +71,17 @@ void ModifyDBClusterAccessWhitelistRequest::setAccessKeyId(const std::string& ac
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterAccessWhitelistRequest::getModifyMode()const
|
||||
{
|
||||
return modifyMode_;
|
||||
}
|
||||
|
||||
void ModifyDBClusterAccessWhitelistRequest::setModifyMode(const std::string& modifyMode)
|
||||
{
|
||||
modifyMode_ = modifyMode;
|
||||
setCoreParameter("ModifyMode", modifyMode);
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterAccessWhitelistRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
|
||||
Reference in New Issue
Block a user