Minor update for r-kvstore.

This commit is contained in:
sdk-team
2020-11-03 14:00:54 +00:00
parent a3d771af9b
commit 87515e7ea9
3 changed files with 17 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
2020-11-03 Version: patch
- Minor update for r-kvstore.
2020-11-03 Version: patch
- Update data API.

View File

@@ -41,6 +41,8 @@ namespace AlibabaCloud
void setConnectionString(const std::string& connectionString);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
bool getOnlyAllocateIp()const;
void setOnlyAllocateIp(bool onlyAllocateIp);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getResourceOwnerAccount()const;
@@ -58,6 +60,7 @@ namespace AlibabaCloud
long resourceOwnerId_;
std::string connectionString_;
std::string accessKeyId_;
bool onlyAllocateIp_;
std::string securityToken_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;

View File

@@ -60,6 +60,17 @@ void AllocateDirectConnectionRequest::setAccessKeyId(const std::string& accessKe
setParameter("AccessKeyId", accessKeyId);
}
bool AllocateDirectConnectionRequest::getOnlyAllocateIp()const
{
return onlyAllocateIp_;
}
void AllocateDirectConnectionRequest::setOnlyAllocateIp(bool onlyAllocateIp)
{
onlyAllocateIp_ = onlyAllocateIp;
setParameter("OnlyAllocateIp", onlyAllocateIp ? "true" : "false");
}
std::string AllocateDirectConnectionRequest::getSecurityToken()const
{
return securityToken_;