浏览代码

Support Async parameter in DescribeJob API.

sdk-team 3 年之前
父节点
当前提交
dcd91993ca

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.1431
+1.36.1432

+ 3 - 0
ehpc/include/alibabacloud/ehpc/model/AddUsersRequest.h

@@ -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

+ 3 - 0
ehpc/include/alibabacloud/ehpc/model/DeleteUsersRequest.h

@@ -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

+ 3 - 0
ehpc/include/alibabacloud/ehpc/model/DescribeJobRequest.h

@@ -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

+ 3 - 0
ehpc/include/alibabacloud/ehpc/model/ModifyUserGroupsRequest.h

@@ -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

+ 3 - 0
ehpc/include/alibabacloud/ehpc/model/ModifyUserPasswordsRequest.h

@@ -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

+ 9 - 0
ehpc/src/model/AddUsersRequest.cc

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

+ 9 - 0
ehpc/src/model/DeleteUsersRequest.cc

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

+ 9 - 0
ehpc/src/model/DescribeJobRequest.cc

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

+ 9 - 0
ehpc/src/model/ModifyUserGroupsRequest.cc

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

+ 9 - 0
ehpc/src/model/ModifyUserPasswordsRequest.cc

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