Support new feature.

This commit is contained in:
sdk-team
2023-07-21 03:02:54 +00:00
parent 34fb460e40
commit 72203af302
7 changed files with 37 additions and 1 deletions

View File

@@ -56,6 +56,8 @@ public:
void setAccountPassword(const std::string &accountPassword);
std::string getDBName() const;
void setDBName(const std::string &dBName);
std::string getPrivForAllDB() const;
void setPrivForAllDB(const std::string &privForAllDB);
private:
long resourceOwnerId_;
@@ -71,6 +73,7 @@ private:
long ownerId_;
std::string accountPassword_;
std::string dBName_;
std::string privForAllDB_;
};
} // namespace Model
} // namespace Polardb

View File

@@ -34,6 +34,8 @@ public:
void setResourceOwnerId(long resourceOwnerId);
std::string getDBEndpointId() const;
void setDBEndpointId(const std::string &dBEndpointId);
std::string getDescribeType() const;
void setDescribeType(const std::string &describeType);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getResourceOwnerAccount() const;
@@ -48,6 +50,7 @@ public:
private:
long resourceOwnerId_;
std::string dBEndpointId_;
std::string describeType_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
std::string dBClusterId_;

View File

@@ -32,6 +32,8 @@ public:
~OpenAITaskRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getNodeType() const;
void setNodeType(const std::string &nodeType);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getResourceGroupId() const;
@@ -53,6 +55,7 @@ public:
private:
long resourceOwnerId_;
std::string nodeType_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string password_;

View File

@@ -142,3 +142,12 @@ void CreateAccountRequest::setDBName(const std::string &dBName) {
setParameter(std::string("DBName"), dBName);
}
std::string CreateAccountRequest::getPrivForAllDB() const {
return privForAllDB_;
}
void CreateAccountRequest::setPrivForAllDB(const std::string &privForAllDB) {
privForAllDB_ = privForAllDB;
setParameter(std::string("PrivForAllDB"), privForAllDB);
}

View File

@@ -43,6 +43,15 @@ void DescribeDBClusterEndpointsRequest::setDBEndpointId(const std::string &dBEnd
setParameter(std::string("DBEndpointId"), dBEndpointId);
}
std::string DescribeDBClusterEndpointsRequest::getDescribeType() const {
return describeType_;
}
void DescribeDBClusterEndpointsRequest::setDescribeType(const std::string &describeType) {
describeType_ = describeType;
setParameter(std::string("DescribeType"), describeType);
}
std::string DescribeDBClusterEndpointsRequest::getAccessKeyId() const {
return accessKeyId_;
}

View File

@@ -34,6 +34,15 @@ void OpenAITaskRequest::setResourceOwnerId(long resourceOwnerId) {
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
}
std::string OpenAITaskRequest::getNodeType() const {
return nodeType_;
}
void OpenAITaskRequest::setNodeType(const std::string &nodeType) {
nodeType_ = nodeType;
setParameter(std::string("NodeType"), nodeType);
}
std::string OpenAITaskRequest::getAccessKeyId() const {
return accessKeyId_;
}