Update by SDK platform.
This commit is contained in:
@@ -165,6 +165,15 @@ void CreateDBInstanceRequest::setBackupId(const std::string &backupId) {
|
||||
setParameter(std::string("BackupId"), backupId);
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceRequest::getEncryptionKey() const {
|
||||
return encryptionKey_;
|
||||
}
|
||||
|
||||
void CreateDBInstanceRequest::setEncryptionKey(const std::string &encryptionKey) {
|
||||
encryptionKey_ = encryptionKey;
|
||||
setParameter(std::string("EncryptionKey"), encryptionKey);
|
||||
}
|
||||
|
||||
long CreateDBInstanceRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
@@ -354,6 +363,15 @@ void CreateDBInstanceRequest::setAccountPassword(const std::string &accountPassw
|
||||
setParameter(std::string("AccountPassword"), accountPassword);
|
||||
}
|
||||
|
||||
bool CreateDBInstanceRequest::getEncrypted() const {
|
||||
return encrypted_;
|
||||
}
|
||||
|
||||
void CreateDBInstanceRequest::setEncrypted(bool encrypted) {
|
||||
encrypted_ = encrypted;
|
||||
setParameter(std::string("Encrypted"), encrypted ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceRequest::getVpcId() const {
|
||||
return vpcId_;
|
||||
}
|
||||
|
||||
@@ -130,6 +130,15 @@ void CreateShardingDBInstanceRequest::setPeriod(int period) {
|
||||
setParameter(std::string("Period"), std::to_string(period));
|
||||
}
|
||||
|
||||
std::string CreateShardingDBInstanceRequest::getEncryptionKey() const {
|
||||
return encryptionKey_;
|
||||
}
|
||||
|
||||
void CreateShardingDBInstanceRequest::setEncryptionKey(const std::string &encryptionKey) {
|
||||
encryptionKey_ = encryptionKey;
|
||||
setParameter(std::string("EncryptionKey"), encryptionKey);
|
||||
}
|
||||
|
||||
std::vector<CreateShardingDBInstanceRequest::ConfigServer> CreateShardingDBInstanceRequest::getConfigServer() const {
|
||||
return configServer_;
|
||||
}
|
||||
@@ -301,6 +310,15 @@ void CreateShardingDBInstanceRequest::setAccountPassword(const std::string &acco
|
||||
setParameter(std::string("AccountPassword"), accountPassword);
|
||||
}
|
||||
|
||||
bool CreateShardingDBInstanceRequest::getEncrypted() const {
|
||||
return encrypted_;
|
||||
}
|
||||
|
||||
void CreateShardingDBInstanceRequest::setEncrypted(bool encrypted) {
|
||||
encrypted_ = encrypted;
|
||||
setParameter(std::string("Encrypted"), encrypted ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateShardingDBInstanceRequest::getVpcId() const {
|
||||
return vpcId_;
|
||||
}
|
||||
|
||||
@@ -127,6 +127,10 @@ void DescribeDBInstanceAttributeResult::parse(const std::string &payload)
|
||||
dBInstancesObject.paymentType = valueDBInstancesDBInstance["PaymentType"].asString();
|
||||
if(!valueDBInstancesDBInstance["DBInstanceOrderStatus"].isNull())
|
||||
dBInstancesObject.dBInstanceOrderStatus = valueDBInstancesDBInstance["DBInstanceOrderStatus"].asString();
|
||||
if(!valueDBInstancesDBInstance["Encrypted"].isNull())
|
||||
dBInstancesObject.encrypted = valueDBInstancesDBInstance["Encrypted"].asString() == "true";
|
||||
if(!valueDBInstancesDBInstance["EncryptionKey"].isNull())
|
||||
dBInstancesObject.encryptionKey = valueDBInstancesDBInstance["EncryptionKey"].asString();
|
||||
auto allReplicaSetsNode = valueDBInstancesDBInstance["ReplicaSets"]["ReplicaSet"];
|
||||
for (auto valueDBInstancesDBInstanceReplicaSetsReplicaSet : allReplicaSetsNode)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user