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

@@ -1 +1 @@
1.36.1431
1.36.1432

View File

@@ -39,12 +39,15 @@ public:
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
bool getAsync() const;
void setAsync(bool async);
std::vector<User> getUser() const;
void setUser(const std::vector<User> &user);
private:
std::string clusterId_;
std::string accessKeyId_;
bool async_;
std::vector<User> user_;
};
} // namespace Model

View File

@@ -37,12 +37,15 @@ public:
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
bool getAsync() const;
void setAsync(bool async);
std::vector<User> getUser() const;
void setUser(const std::vector<User> &user);
private:
std::string clusterId_;
std::string accessKeyId_;
bool async_;
std::vector<User> user_;
};
} // namespace Model

View File

@@ -36,11 +36,14 @@ public:
void setAccessKeyId(const std::string &accessKeyId);
std::string getJobId() const;
void setJobId(const std::string &jobId);
bool getAsync() const;
void setAsync(bool async);
private:
std::string clusterId_;
std::string accessKeyId_;
std::string jobId_;
bool async_;
};
} // namespace Model
} // namespace EHPC

View File

@@ -38,12 +38,15 @@ public:
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
bool getAsync() const;
void setAsync(bool async);
std::vector<User> getUser() const;
void setUser(const std::vector<User> &user);
private:
std::string clusterId_;
std::string accessKeyId_;
bool async_;
std::vector<User> user_;
};
} // namespace Model

View File

@@ -38,12 +38,15 @@ public:
void setClusterId(const std::string &clusterId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
bool getAsync() const;
void setAsync(bool async);
std::vector<User> getUser() const;
void setUser(const std::vector<User> &user);
private:
std::string clusterId_;
std::string accessKeyId_;
bool async_;
std::vector<User> user_;
};
} // namespace Model

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