Minor update for r-kvstore.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2020-11-03 Version: patch
|
||||
- Minor update for r-kvstore.
|
||||
|
||||
2020-11-03 Version: patch
|
||||
- Update data API.
|
||||
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user