From ffcef0ce2555b7cbb0be708ce44098a5533e9d37 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Tue, 1 Aug 2023 02:13:22 +0000 Subject: [PATCH] Support resourcegroup id. --- VERSION | 2 +- .../adb/model/ModifyLogBackupPolicyRequest.h | 3 +++ adb/src/model/ModifyLogBackupPolicyRequest.cc | 9 +++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 137e9239c..969955efa 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1698 \ No newline at end of file +1.36.1699 \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/ModifyLogBackupPolicyRequest.h b/adb/include/alibabacloud/adb/model/ModifyLogBackupPolicyRequest.h index b3aa4a9b2..f39e75fb4 100644 --- a/adb/include/alibabacloud/adb/model/ModifyLogBackupPolicyRequest.h +++ b/adb/include/alibabacloud/adb/model/ModifyLogBackupPolicyRequest.h @@ -34,6 +34,8 @@ public: void setResourceOwnerId(long resourceOwnerId); std::string getAccessKeyId() const; void setAccessKeyId(const std::string &accessKeyId); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); std::string getEnableBackupLog() const; void setEnableBackupLog(const std::string &enableBackupLog); std::string getResourceOwnerAccount() const; @@ -50,6 +52,7 @@ public: private: long resourceOwnerId_; std::string accessKeyId_; + std::string resourceGroupId_; std::string enableBackupLog_; std::string resourceOwnerAccount_; std::string dBClusterId_; diff --git a/adb/src/model/ModifyLogBackupPolicyRequest.cc b/adb/src/model/ModifyLogBackupPolicyRequest.cc index ff41eb67d..f92536733 100644 --- a/adb/src/model/ModifyLogBackupPolicyRequest.cc +++ b/adb/src/model/ModifyLogBackupPolicyRequest.cc @@ -43,6 +43,15 @@ void ModifyLogBackupPolicyRequest::setAccessKeyId(const std::string &accessKeyId setParameter(std::string("AccessKeyId"), accessKeyId); } +std::string ModifyLogBackupPolicyRequest::getResourceGroupId() const { + return resourceGroupId_; +} + +void ModifyLogBackupPolicyRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); +} + std::string ModifyLogBackupPolicyRequest::getEnableBackupLog() const { return enableBackupLog_; }