EHPC SDK Auto Released By qianzheng.llc,Version:1.36.0

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
haowei.yao
2019-04-10 11:21:39 +08:00
parent a4b515be6c
commit eafc1d87f5
163 changed files with 6445 additions and 680 deletions

View File

@@ -33,7 +33,7 @@ std::string AddUsersRequest::getClusterId()const
void AddUsersRequest::setClusterId(const std::string& clusterId)
{
clusterId_ = clusterId;
setParameter("ClusterId", clusterId);
setCoreParameter("ClusterId", clusterId);
}
std::vector<AddUsersRequest::User> AddUsersRequest::getUser()const
@@ -48,9 +48,9 @@ void AddUsersRequest::setUser(const std::vector<User>& user)
for(int i = 0; i!= user.size(); i++) {
auto obj = user.at(i);
std::string str ="User."+ std::to_string(i);
setParameter(str + ".Password", obj.password);
setParameter(str + ".Name", obj.name);
setParameter(str + ".Group", obj.group);
setCoreParameter(str + ".Password", obj.password);
setCoreParameter(str + ".Name", obj.name);
setCoreParameter(str + ".Group", obj.group);
}
}
@@ -62,6 +62,6 @@ std::string AddUsersRequest::getAccessKeyId()const
void AddUsersRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
setCoreParameter("AccessKeyId", accessKeyId);
}