Support Async parameter in DescribeJob API.
This commit is contained in:
@@ -43,6 +43,15 @@ void AddUsersRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
bool AddUsersRequest::getAsync() const {
|
||||
return async_;
|
||||
}
|
||||
|
||||
void AddUsersRequest::setAsync(bool async) {
|
||||
async_ = async;
|
||||
setParameter(std::string("Async"), async ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<AddUsersRequest::User> AddUsersRequest::getUser() const {
|
||||
return user_;
|
||||
}
|
||||
|
||||
@@ -43,6 +43,15 @@ void DeleteUsersRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
bool DeleteUsersRequest::getAsync() const {
|
||||
return async_;
|
||||
}
|
||||
|
||||
void DeleteUsersRequest::setAsync(bool async) {
|
||||
async_ = async;
|
||||
setParameter(std::string("Async"), async ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<DeleteUsersRequest::User> DeleteUsersRequest::getUser() const {
|
||||
return user_;
|
||||
}
|
||||
|
||||
@@ -52,3 +52,12 @@ void DescribeJobRequest::setJobId(const std::string &jobId) {
|
||||
setParameter(std::string("JobId"), jobId);
|
||||
}
|
||||
|
||||
bool DescribeJobRequest::getAsync() const {
|
||||
return async_;
|
||||
}
|
||||
|
||||
void DescribeJobRequest::setAsync(bool async) {
|
||||
async_ = async;
|
||||
setParameter(std::string("Async"), async ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -43,6 +43,15 @@ void ModifyUserGroupsRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
bool ModifyUserGroupsRequest::getAsync() const {
|
||||
return async_;
|
||||
}
|
||||
|
||||
void ModifyUserGroupsRequest::setAsync(bool async) {
|
||||
async_ = async;
|
||||
setParameter(std::string("Async"), async ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<ModifyUserGroupsRequest::User> ModifyUserGroupsRequest::getUser() const {
|
||||
return user_;
|
||||
}
|
||||
|
||||
@@ -43,6 +43,15 @@ void ModifyUserPasswordsRequest::setAccessKeyId(const std::string &accessKeyId)
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
bool ModifyUserPasswordsRequest::getAsync() const {
|
||||
return async_;
|
||||
}
|
||||
|
||||
void ModifyUserPasswordsRequest::setAsync(bool async) {
|
||||
async_ = async;
|
||||
setParameter(std::string("Async"), async ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<ModifyUserPasswordsRequest::User> ModifyUserPasswordsRequest::getUser() const {
|
||||
return user_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user