Support Async parameter in DescribeJob API.

This commit is contained in:
sdk-team
2023-02-02 03:21:50 +00:00
parent 61401b380a
commit dcd91993ca
11 changed files with 61 additions and 1 deletions

View File

@@ -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_;
}

View File

@@ -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_;
}

View File

@@ -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");
}

View File

@@ -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_;
}

View File

@@ -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_;
}