Przeglądaj źródła

Update AppGroup Hide xattrs.

sdk-team 3 lat temu
rodzic
commit
9e543cd602
34 zmienionych plików z 1941 dodań i 1 usunięć
  1. 1 1
      VERSION
  2. 24 0
      schedulerx2/CMakeLists.txt
  3. 48 0
      schedulerx2/include/alibabacloud/schedulerx2/Schedulerx2Client.h
  4. 54 0
      schedulerx2/include/alibabacloud/schedulerx2/model/BatchDeleteRouteStrategyRequest.h
  5. 55 0
      schedulerx2/include/alibabacloud/schedulerx2/model/BatchDeleteRouteStrategyResult.h
  6. 9 0
      schedulerx2/include/alibabacloud/schedulerx2/model/CreateAppGroupRequest.h
  7. 63 0
      schedulerx2/include/alibabacloud/schedulerx2/model/CreateRouteStrategyRequest.h
  8. 61 0
      schedulerx2/include/alibabacloud/schedulerx2/model/CreateRouteStrategyResult.h
  9. 51 0
      schedulerx2/include/alibabacloud/schedulerx2/model/DeleteAppGroupRequest.h
  10. 55 0
      schedulerx2/include/alibabacloud/schedulerx2/model/DeleteAppGroupResult.h
  11. 54 0
      schedulerx2/include/alibabacloud/schedulerx2/model/DeleteRouteStrategyRequest.h
  12. 55 0
      schedulerx2/include/alibabacloud/schedulerx2/model/DeleteRouteStrategyResult.h
  13. 48 0
      schedulerx2/include/alibabacloud/schedulerx2/model/GetAppGroupRequest.h
  14. 74 0
      schedulerx2/include/alibabacloud/schedulerx2/model/GetAppGroupResult.h
  15. 1 0
      schedulerx2/include/alibabacloud/schedulerx2/model/ListGroupsResult.h
  16. 69 0
      schedulerx2/include/alibabacloud/schedulerx2/model/UpdateAppGroupRequest.h
  17. 55 0
      schedulerx2/include/alibabacloud/schedulerx2/model/UpdateAppGroupResult.h
  18. 3 0
      schedulerx2/include/alibabacloud/schedulerx2/model/UpdateJobRequest.h
  19. 216 0
      schedulerx2/src/Schedulerx2Client.cc
  20. 70 0
      schedulerx2/src/model/BatchDeleteRouteStrategyRequest.cc
  21. 65 0
      schedulerx2/src/model/BatchDeleteRouteStrategyResult.cc
  22. 27 0
      schedulerx2/src/model/CreateAppGroupRequest.cc
  23. 99 0
      schedulerx2/src/model/CreateRouteStrategyRequest.cc
  24. 73 0
      schedulerx2/src/model/CreateRouteStrategyResult.cc
  25. 63 0
      schedulerx2/src/model/DeleteAppGroupRequest.cc
  26. 65 0
      schedulerx2/src/model/DeleteAppGroupResult.cc
  27. 72 0
      schedulerx2/src/model/DeleteRouteStrategyRequest.cc
  28. 65 0
      schedulerx2/src/model/DeleteRouteStrategyResult.cc
  29. 54 0
      schedulerx2/src/model/GetAppGroupRequest.cc
  30. 99 0
      schedulerx2/src/model/GetAppGroupResult.cc
  31. 2 0
      schedulerx2/src/model/ListGroupsResult.cc
  32. 117 0
      schedulerx2/src/model/UpdateAppGroupRequest.cc
  33. 65 0
      schedulerx2/src/model/UpdateAppGroupResult.cc
  34. 9 0
      schedulerx2/src/model/UpdateJobRequest.cc

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.1458
+1.36.1459

+ 24 - 0
schedulerx2/CMakeLists.txt

@@ -23,6 +23,8 @@ set(schedulerx2_public_header
 set(schedulerx2_public_header_model 
 	include/alibabacloud/schedulerx2/model/BatchDeleteJobsRequest.h
 	include/alibabacloud/schedulerx2/model/BatchDeleteJobsResult.h
+	include/alibabacloud/schedulerx2/model/BatchDeleteRouteStrategyRequest.h
+	include/alibabacloud/schedulerx2/model/BatchDeleteRouteStrategyResult.h
 	include/alibabacloud/schedulerx2/model/BatchDisableJobsRequest.h
 	include/alibabacloud/schedulerx2/model/BatchDisableJobsResult.h
 	include/alibabacloud/schedulerx2/model/BatchEnableJobsRequest.h
@@ -33,10 +35,16 @@ set(schedulerx2_public_header_model
 	include/alibabacloud/schedulerx2/model/CreateJobResult.h
 	include/alibabacloud/schedulerx2/model/CreateNamespaceRequest.h
 	include/alibabacloud/schedulerx2/model/CreateNamespaceResult.h
+	include/alibabacloud/schedulerx2/model/CreateRouteStrategyRequest.h
+	include/alibabacloud/schedulerx2/model/CreateRouteStrategyResult.h
 	include/alibabacloud/schedulerx2/model/CreateWorkflowRequest.h
 	include/alibabacloud/schedulerx2/model/CreateWorkflowResult.h
+	include/alibabacloud/schedulerx2/model/DeleteAppGroupRequest.h
+	include/alibabacloud/schedulerx2/model/DeleteAppGroupResult.h
 	include/alibabacloud/schedulerx2/model/DeleteJobRequest.h
 	include/alibabacloud/schedulerx2/model/DeleteJobResult.h
+	include/alibabacloud/schedulerx2/model/DeleteRouteStrategyRequest.h
+	include/alibabacloud/schedulerx2/model/DeleteRouteStrategyResult.h
 	include/alibabacloud/schedulerx2/model/DeleteWorkflowRequest.h
 	include/alibabacloud/schedulerx2/model/DeleteWorkflowResult.h
 	include/alibabacloud/schedulerx2/model/DescribeRegionsRequest.h
@@ -55,6 +63,8 @@ set(schedulerx2_public_header_model
 	include/alibabacloud/schedulerx2/model/ExecuteJobResult.h
 	include/alibabacloud/schedulerx2/model/ExecuteWorkflowRequest.h
 	include/alibabacloud/schedulerx2/model/ExecuteWorkflowResult.h
+	include/alibabacloud/schedulerx2/model/GetAppGroupRequest.h
+	include/alibabacloud/schedulerx2/model/GetAppGroupResult.h
 	include/alibabacloud/schedulerx2/model/GetJobInfoRequest.h
 	include/alibabacloud/schedulerx2/model/GetJobInfoResult.h
 	include/alibabacloud/schedulerx2/model/GetJobInstanceRequest.h
@@ -91,6 +101,8 @@ set(schedulerx2_public_header_model
 	include/alibabacloud/schedulerx2/model/SetWfInstanceSuccessResult.h
 	include/alibabacloud/schedulerx2/model/StopInstanceRequest.h
 	include/alibabacloud/schedulerx2/model/StopInstanceResult.h
+	include/alibabacloud/schedulerx2/model/UpdateAppGroupRequest.h
+	include/alibabacloud/schedulerx2/model/UpdateAppGroupResult.h
 	include/alibabacloud/schedulerx2/model/UpdateJobRequest.h
 	include/alibabacloud/schedulerx2/model/UpdateJobResult.h
 	include/alibabacloud/schedulerx2/model/UpdateWorkflowRequest.h
@@ -102,6 +114,8 @@ set(schedulerx2_src
 	src/Schedulerx2Client.cc
 	src/model/BatchDeleteJobsRequest.cc
 	src/model/BatchDeleteJobsResult.cc
+	src/model/BatchDeleteRouteStrategyRequest.cc
+	src/model/BatchDeleteRouteStrategyResult.cc
 	src/model/BatchDisableJobsRequest.cc
 	src/model/BatchDisableJobsResult.cc
 	src/model/BatchEnableJobsRequest.cc
@@ -112,10 +126,16 @@ set(schedulerx2_src
 	src/model/CreateJobResult.cc
 	src/model/CreateNamespaceRequest.cc
 	src/model/CreateNamespaceResult.cc
+	src/model/CreateRouteStrategyRequest.cc
+	src/model/CreateRouteStrategyResult.cc
 	src/model/CreateWorkflowRequest.cc
 	src/model/CreateWorkflowResult.cc
+	src/model/DeleteAppGroupRequest.cc
+	src/model/DeleteAppGroupResult.cc
 	src/model/DeleteJobRequest.cc
 	src/model/DeleteJobResult.cc
+	src/model/DeleteRouteStrategyRequest.cc
+	src/model/DeleteRouteStrategyResult.cc
 	src/model/DeleteWorkflowRequest.cc
 	src/model/DeleteWorkflowResult.cc
 	src/model/DescribeRegionsRequest.cc
@@ -134,6 +154,8 @@ set(schedulerx2_src
 	src/model/ExecuteJobResult.cc
 	src/model/ExecuteWorkflowRequest.cc
 	src/model/ExecuteWorkflowResult.cc
+	src/model/GetAppGroupRequest.cc
+	src/model/GetAppGroupResult.cc
 	src/model/GetJobInfoRequest.cc
 	src/model/GetJobInfoResult.cc
 	src/model/GetJobInstanceRequest.cc
@@ -170,6 +192,8 @@ set(schedulerx2_src
 	src/model/SetWfInstanceSuccessResult.cc
 	src/model/StopInstanceRequest.cc
 	src/model/StopInstanceResult.cc
+	src/model/UpdateAppGroupRequest.cc
+	src/model/UpdateAppGroupResult.cc
 	src/model/UpdateJobRequest.cc
 	src/model/UpdateJobResult.cc
 	src/model/UpdateWorkflowRequest.cc

+ 48 - 0
schedulerx2/include/alibabacloud/schedulerx2/Schedulerx2Client.h

@@ -24,6 +24,8 @@
 #include "Schedulerx2Export.h"
 #include "model/BatchDeleteJobsRequest.h"
 #include "model/BatchDeleteJobsResult.h"
+#include "model/BatchDeleteRouteStrategyRequest.h"
+#include "model/BatchDeleteRouteStrategyResult.h"
 #include "model/BatchDisableJobsRequest.h"
 #include "model/BatchDisableJobsResult.h"
 #include "model/BatchEnableJobsRequest.h"
@@ -34,10 +36,16 @@
 #include "model/CreateJobResult.h"
 #include "model/CreateNamespaceRequest.h"
 #include "model/CreateNamespaceResult.h"
+#include "model/CreateRouteStrategyRequest.h"
+#include "model/CreateRouteStrategyResult.h"
 #include "model/CreateWorkflowRequest.h"
 #include "model/CreateWorkflowResult.h"
+#include "model/DeleteAppGroupRequest.h"
+#include "model/DeleteAppGroupResult.h"
 #include "model/DeleteJobRequest.h"
 #include "model/DeleteJobResult.h"
+#include "model/DeleteRouteStrategyRequest.h"
+#include "model/DeleteRouteStrategyResult.h"
 #include "model/DeleteWorkflowRequest.h"
 #include "model/DeleteWorkflowResult.h"
 #include "model/DescribeRegionsRequest.h"
@@ -56,6 +64,8 @@
 #include "model/ExecuteJobResult.h"
 #include "model/ExecuteWorkflowRequest.h"
 #include "model/ExecuteWorkflowResult.h"
+#include "model/GetAppGroupRequest.h"
+#include "model/GetAppGroupResult.h"
 #include "model/GetJobInfoRequest.h"
 #include "model/GetJobInfoResult.h"
 #include "model/GetJobInstanceRequest.h"
@@ -92,6 +102,8 @@
 #include "model/SetWfInstanceSuccessResult.h"
 #include "model/StopInstanceRequest.h"
 #include "model/StopInstanceResult.h"
+#include "model/UpdateAppGroupRequest.h"
+#include "model/UpdateAppGroupResult.h"
 #include "model/UpdateJobRequest.h"
 #include "model/UpdateJobResult.h"
 #include "model/UpdateWorkflowRequest.h"
@@ -110,6 +122,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::BatchDeleteJobsResult> BatchDeleteJobsOutcome;
 			typedef std::future<BatchDeleteJobsOutcome> BatchDeleteJobsOutcomeCallable;
 			typedef std::function<void(const Schedulerx2Client*, const Model::BatchDeleteJobsRequest&, const BatchDeleteJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchDeleteJobsAsyncHandler;
+			typedef Outcome<Error, Model::BatchDeleteRouteStrategyResult> BatchDeleteRouteStrategyOutcome;
+			typedef std::future<BatchDeleteRouteStrategyOutcome> BatchDeleteRouteStrategyOutcomeCallable;
+			typedef std::function<void(const Schedulerx2Client*, const Model::BatchDeleteRouteStrategyRequest&, const BatchDeleteRouteStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchDeleteRouteStrategyAsyncHandler;
 			typedef Outcome<Error, Model::BatchDisableJobsResult> BatchDisableJobsOutcome;
 			typedef std::future<BatchDisableJobsOutcome> BatchDisableJobsOutcomeCallable;
 			typedef std::function<void(const Schedulerx2Client*, const Model::BatchDisableJobsRequest&, const BatchDisableJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchDisableJobsAsyncHandler;
@@ -125,12 +140,21 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::CreateNamespaceResult> CreateNamespaceOutcome;
 			typedef std::future<CreateNamespaceOutcome> CreateNamespaceOutcomeCallable;
 			typedef std::function<void(const Schedulerx2Client*, const Model::CreateNamespaceRequest&, const CreateNamespaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateNamespaceAsyncHandler;
+			typedef Outcome<Error, Model::CreateRouteStrategyResult> CreateRouteStrategyOutcome;
+			typedef std::future<CreateRouteStrategyOutcome> CreateRouteStrategyOutcomeCallable;
+			typedef std::function<void(const Schedulerx2Client*, const Model::CreateRouteStrategyRequest&, const CreateRouteStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRouteStrategyAsyncHandler;
 			typedef Outcome<Error, Model::CreateWorkflowResult> CreateWorkflowOutcome;
 			typedef std::future<CreateWorkflowOutcome> CreateWorkflowOutcomeCallable;
 			typedef std::function<void(const Schedulerx2Client*, const Model::CreateWorkflowRequest&, const CreateWorkflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateWorkflowAsyncHandler;
+			typedef Outcome<Error, Model::DeleteAppGroupResult> DeleteAppGroupOutcome;
+			typedef std::future<DeleteAppGroupOutcome> DeleteAppGroupOutcomeCallable;
+			typedef std::function<void(const Schedulerx2Client*, const Model::DeleteAppGroupRequest&, const DeleteAppGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAppGroupAsyncHandler;
 			typedef Outcome<Error, Model::DeleteJobResult> DeleteJobOutcome;
 			typedef std::future<DeleteJobOutcome> DeleteJobOutcomeCallable;
 			typedef std::function<void(const Schedulerx2Client*, const Model::DeleteJobRequest&, const DeleteJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteJobAsyncHandler;
+			typedef Outcome<Error, Model::DeleteRouteStrategyResult> DeleteRouteStrategyOutcome;
+			typedef std::future<DeleteRouteStrategyOutcome> DeleteRouteStrategyOutcomeCallable;
+			typedef std::function<void(const Schedulerx2Client*, const Model::DeleteRouteStrategyRequest&, const DeleteRouteStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRouteStrategyAsyncHandler;
 			typedef Outcome<Error, Model::DeleteWorkflowResult> DeleteWorkflowOutcome;
 			typedef std::future<DeleteWorkflowOutcome> DeleteWorkflowOutcomeCallable;
 			typedef std::function<void(const Schedulerx2Client*, const Model::DeleteWorkflowRequest&, const DeleteWorkflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteWorkflowAsyncHandler;
@@ -158,6 +182,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::ExecuteWorkflowResult> ExecuteWorkflowOutcome;
 			typedef std::future<ExecuteWorkflowOutcome> ExecuteWorkflowOutcomeCallable;
 			typedef std::function<void(const Schedulerx2Client*, const Model::ExecuteWorkflowRequest&, const ExecuteWorkflowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExecuteWorkflowAsyncHandler;
+			typedef Outcome<Error, Model::GetAppGroupResult> GetAppGroupOutcome;
+			typedef std::future<GetAppGroupOutcome> GetAppGroupOutcomeCallable;
+			typedef std::function<void(const Schedulerx2Client*, const Model::GetAppGroupRequest&, const GetAppGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAppGroupAsyncHandler;
 			typedef Outcome<Error, Model::GetJobInfoResult> GetJobInfoOutcome;
 			typedef std::future<GetJobInfoOutcome> GetJobInfoOutcomeCallable;
 			typedef std::function<void(const Schedulerx2Client*, const Model::GetJobInfoRequest&, const GetJobInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobInfoAsyncHandler;
@@ -212,6 +239,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::StopInstanceResult> StopInstanceOutcome;
 			typedef std::future<StopInstanceOutcome> StopInstanceOutcomeCallable;
 			typedef std::function<void(const Schedulerx2Client*, const Model::StopInstanceRequest&, const StopInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopInstanceAsyncHandler;
+			typedef Outcome<Error, Model::UpdateAppGroupResult> UpdateAppGroupOutcome;
+			typedef std::future<UpdateAppGroupOutcome> UpdateAppGroupOutcomeCallable;
+			typedef std::function<void(const Schedulerx2Client*, const Model::UpdateAppGroupRequest&, const UpdateAppGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAppGroupAsyncHandler;
 			typedef Outcome<Error, Model::UpdateJobResult> UpdateJobOutcome;
 			typedef std::future<UpdateJobOutcome> UpdateJobOutcomeCallable;
 			typedef std::function<void(const Schedulerx2Client*, const Model::UpdateJobRequest&, const UpdateJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateJobAsyncHandler;
@@ -229,6 +259,9 @@ namespace AlibabaCloud
 			BatchDeleteJobsOutcome batchDeleteJobs(const Model::BatchDeleteJobsRequest &request)const;
 			void batchDeleteJobsAsync(const Model::BatchDeleteJobsRequest& request, const BatchDeleteJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			BatchDeleteJobsOutcomeCallable batchDeleteJobsCallable(const Model::BatchDeleteJobsRequest& request) const;
+			BatchDeleteRouteStrategyOutcome batchDeleteRouteStrategy(const Model::BatchDeleteRouteStrategyRequest &request)const;
+			void batchDeleteRouteStrategyAsync(const Model::BatchDeleteRouteStrategyRequest& request, const BatchDeleteRouteStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			BatchDeleteRouteStrategyOutcomeCallable batchDeleteRouteStrategyCallable(const Model::BatchDeleteRouteStrategyRequest& request) const;
 			BatchDisableJobsOutcome batchDisableJobs(const Model::BatchDisableJobsRequest &request)const;
 			void batchDisableJobsAsync(const Model::BatchDisableJobsRequest& request, const BatchDisableJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			BatchDisableJobsOutcomeCallable batchDisableJobsCallable(const Model::BatchDisableJobsRequest& request) const;
@@ -244,12 +277,21 @@ namespace AlibabaCloud
 			CreateNamespaceOutcome createNamespace(const Model::CreateNamespaceRequest &request)const;
 			void createNamespaceAsync(const Model::CreateNamespaceRequest& request, const CreateNamespaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			CreateNamespaceOutcomeCallable createNamespaceCallable(const Model::CreateNamespaceRequest& request) const;
+			CreateRouteStrategyOutcome createRouteStrategy(const Model::CreateRouteStrategyRequest &request)const;
+			void createRouteStrategyAsync(const Model::CreateRouteStrategyRequest& request, const CreateRouteStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			CreateRouteStrategyOutcomeCallable createRouteStrategyCallable(const Model::CreateRouteStrategyRequest& request) const;
 			CreateWorkflowOutcome createWorkflow(const Model::CreateWorkflowRequest &request)const;
 			void createWorkflowAsync(const Model::CreateWorkflowRequest& request, const CreateWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			CreateWorkflowOutcomeCallable createWorkflowCallable(const Model::CreateWorkflowRequest& request) const;
+			DeleteAppGroupOutcome deleteAppGroup(const Model::DeleteAppGroupRequest &request)const;
+			void deleteAppGroupAsync(const Model::DeleteAppGroupRequest& request, const DeleteAppGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			DeleteAppGroupOutcomeCallable deleteAppGroupCallable(const Model::DeleteAppGroupRequest& request) const;
 			DeleteJobOutcome deleteJob(const Model::DeleteJobRequest &request)const;
 			void deleteJobAsync(const Model::DeleteJobRequest& request, const DeleteJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			DeleteJobOutcomeCallable deleteJobCallable(const Model::DeleteJobRequest& request) const;
+			DeleteRouteStrategyOutcome deleteRouteStrategy(const Model::DeleteRouteStrategyRequest &request)const;
+			void deleteRouteStrategyAsync(const Model::DeleteRouteStrategyRequest& request, const DeleteRouteStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			DeleteRouteStrategyOutcomeCallable deleteRouteStrategyCallable(const Model::DeleteRouteStrategyRequest& request) const;
 			DeleteWorkflowOutcome deleteWorkflow(const Model::DeleteWorkflowRequest &request)const;
 			void deleteWorkflowAsync(const Model::DeleteWorkflowRequest& request, const DeleteWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			DeleteWorkflowOutcomeCallable deleteWorkflowCallable(const Model::DeleteWorkflowRequest& request) const;
@@ -277,6 +319,9 @@ namespace AlibabaCloud
 			ExecuteWorkflowOutcome executeWorkflow(const Model::ExecuteWorkflowRequest &request)const;
 			void executeWorkflowAsync(const Model::ExecuteWorkflowRequest& request, const ExecuteWorkflowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			ExecuteWorkflowOutcomeCallable executeWorkflowCallable(const Model::ExecuteWorkflowRequest& request) const;
+			GetAppGroupOutcome getAppGroup(const Model::GetAppGroupRequest &request)const;
+			void getAppGroupAsync(const Model::GetAppGroupRequest& request, const GetAppGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			GetAppGroupOutcomeCallable getAppGroupCallable(const Model::GetAppGroupRequest& request) const;
 			GetJobInfoOutcome getJobInfo(const Model::GetJobInfoRequest &request)const;
 			void getJobInfoAsync(const Model::GetJobInfoRequest& request, const GetJobInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			GetJobInfoOutcomeCallable getJobInfoCallable(const Model::GetJobInfoRequest& request) const;
@@ -331,6 +376,9 @@ namespace AlibabaCloud
 			StopInstanceOutcome stopInstance(const Model::StopInstanceRequest &request)const;
 			void stopInstanceAsync(const Model::StopInstanceRequest& request, const StopInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			StopInstanceOutcomeCallable stopInstanceCallable(const Model::StopInstanceRequest& request) const;
+			UpdateAppGroupOutcome updateAppGroup(const Model::UpdateAppGroupRequest &request)const;
+			void updateAppGroupAsync(const Model::UpdateAppGroupRequest& request, const UpdateAppGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			UpdateAppGroupOutcomeCallable updateAppGroupCallable(const Model::UpdateAppGroupRequest& request) const;
 			UpdateJobOutcome updateJob(const Model::UpdateJobRequest &request)const;
 			void updateJobAsync(const Model::UpdateJobRequest& request, const UpdateJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			UpdateJobOutcomeCallable updateJobCallable(const Model::UpdateJobRequest& request) const;

+ 54 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/BatchDeleteRouteStrategyRequest.h

@@ -0,0 +1,54 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_SCHEDULERX2_MODEL_BATCHDELETEROUTESTRATEGYREQUEST_H_
+#define ALIBABACLOUD_SCHEDULERX2_MODEL_BATCHDELETEROUTESTRATEGYREQUEST_H_
+
+#include <alibabacloud/schedulerx2/Schedulerx2Export.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Schedulerx2 {
+namespace Model {
+class ALIBABACLOUD_SCHEDULERX2_EXPORT BatchDeleteRouteStrategyRequest : public RpcServiceRequest {
+public:
+	BatchDeleteRouteStrategyRequest();
+	~BatchDeleteRouteStrategyRequest();
+	std::string getGroupId() const;
+	void setGroupId(const std::string &groupId);
+	std::vector<long> getJobIdList() const;
+	void setJobIdList(const std::vector<long> &jobIdList);
+	std::string getRegionId() const;
+	void setRegionId(const std::string &regionId);
+	std::string get_Namespace() const;
+	void set_Namespace(const std::string &_namespace);
+	std::vector<long> getStrategyIdList() const;
+	void setStrategyIdList(const std::vector<long> &strategyIdList);
+
+private:
+	std::string groupId_;
+	std::vector<long> jobIdList_;
+	std::string regionId_;
+	std::string _namespace_;
+	std::vector<long> strategyIdList_;
+};
+} // namespace Model
+} // namespace Schedulerx2
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_SCHEDULERX2_MODEL_BATCHDELETEROUTESTRATEGYREQUEST_H_

+ 55 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/BatchDeleteRouteStrategyResult.h

@@ -0,0 +1,55 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_SCHEDULERX2_MODEL_BATCHDELETEROUTESTRATEGYRESULT_H_
+#define ALIBABACLOUD_SCHEDULERX2_MODEL_BATCHDELETEROUTESTRATEGYRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/schedulerx2/Schedulerx2Export.h>
+
+namespace AlibabaCloud
+{
+	namespace Schedulerx2
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_SCHEDULERX2_EXPORT BatchDeleteRouteStrategyResult : public ServiceResult
+			{
+			public:
+
+
+				BatchDeleteRouteStrategyResult();
+				explicit BatchDeleteRouteStrategyResult(const std::string &payload);
+				~BatchDeleteRouteStrategyResult();
+				std::string getMessage()const;
+				int getCode()const;
+				bool getSuccess()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string message_;
+				int code_;
+				bool success_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_SCHEDULERX2_MODEL_BATCHDELETEROUTESTRATEGYRESULT_H_

+ 9 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/CreateAppGroupRequest.h

@@ -52,10 +52,16 @@ public:
 	void setMetricsThresholdJson(const std::string &metricsThresholdJson);
 	std::string getGroupId() const;
 	void setGroupId(const std::string &groupId);
+	int getAppType() const;
+	void setAppType(int appType);
 	std::string getMonitorConfigJson() const;
 	void setMonitorConfigJson(const std::string &monitorConfigJson);
 	std::string get_Namespace() const;
 	void set_Namespace(const std::string &_namespace);
+	std::string getXattrs() const;
+	void setXattrs(const std::string &xattrs);
+	bool getEnableLog() const;
+	void setEnableLog(bool enableLog);
 	std::string getAppKey() const;
 	void setAppKey(const std::string &appKey);
 
@@ -71,8 +77,11 @@ private:
 	int maxJobs_;
 	std::string metricsThresholdJson_;
 	std::string groupId_;
+	int appType_;
 	std::string monitorConfigJson_;
 	std::string _namespace_;
+	std::string xattrs_;
+	bool enableLog_;
 	std::string appKey_;
 };
 } // namespace Model

+ 63 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/CreateRouteStrategyRequest.h

@@ -0,0 +1,63 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_SCHEDULERX2_MODEL_CREATEROUTESTRATEGYREQUEST_H_
+#define ALIBABACLOUD_SCHEDULERX2_MODEL_CREATEROUTESTRATEGYREQUEST_H_
+
+#include <alibabacloud/schedulerx2/Schedulerx2Export.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Schedulerx2 {
+namespace Model {
+class ALIBABACLOUD_SCHEDULERX2_EXPORT CreateRouteStrategyRequest : public RpcServiceRequest {
+public:
+	CreateRouteStrategyRequest();
+	~CreateRouteStrategyRequest();
+	std::string getGroupId() const;
+	void setGroupId(const std::string &groupId);
+	std::string getStrategyContent() const;
+	void setStrategyContent(const std::string &strategyContent);
+	int getType() const;
+	void setType(int type);
+	long getJobId() const;
+	void setJobId(long jobId);
+	std::string getRegionId() const;
+	void setRegionId(const std::string &regionId);
+	std::string getName() const;
+	void setName(const std::string &name);
+	std::string get_Namespace() const;
+	void set_Namespace(const std::string &_namespace);
+	int getStatus() const;
+	void setStatus(int status);
+
+private:
+	std::string groupId_;
+	std::string strategyContent_;
+	int type_;
+	long jobId_;
+	std::string regionId_;
+	std::string name_;
+	std::string _namespace_;
+	int status_;
+};
+} // namespace Model
+} // namespace Schedulerx2
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_SCHEDULERX2_MODEL_CREATEROUTESTRATEGYREQUEST_H_

+ 61 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/CreateRouteStrategyResult.h

@@ -0,0 +1,61 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_SCHEDULERX2_MODEL_CREATEROUTESTRATEGYRESULT_H_
+#define ALIBABACLOUD_SCHEDULERX2_MODEL_CREATEROUTESTRATEGYRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/schedulerx2/Schedulerx2Export.h>
+
+namespace AlibabaCloud
+{
+	namespace Schedulerx2
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_SCHEDULERX2_EXPORT CreateRouteStrategyResult : public ServiceResult
+			{
+			public:
+				struct Data
+				{
+					long appGroupId;
+				};
+
+
+				CreateRouteStrategyResult();
+				explicit CreateRouteStrategyResult(const std::string &payload);
+				~CreateRouteStrategyResult();
+				std::string getMessage()const;
+				Data getData()const;
+				int getCode()const;
+				bool getSuccess()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string message_;
+				Data data_;
+				int code_;
+				bool success_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_SCHEDULERX2_MODEL_CREATEROUTESTRATEGYRESULT_H_

+ 51 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/DeleteAppGroupRequest.h

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_SCHEDULERX2_MODEL_DELETEAPPGROUPREQUEST_H_
+#define ALIBABACLOUD_SCHEDULERX2_MODEL_DELETEAPPGROUPREQUEST_H_
+
+#include <alibabacloud/schedulerx2/Schedulerx2Export.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Schedulerx2 {
+namespace Model {
+class ALIBABACLOUD_SCHEDULERX2_EXPORT DeleteAppGroupRequest : public RpcServiceRequest {
+public:
+	DeleteAppGroupRequest();
+	~DeleteAppGroupRequest();
+	std::string getGroupId() const;
+	void setGroupId(const std::string &groupId);
+	std::string getRegionId() const;
+	void setRegionId(const std::string &regionId);
+	bool getDeleteJobs() const;
+	void setDeleteJobs(bool deleteJobs);
+	std::string get_Namespace() const;
+	void set_Namespace(const std::string &_namespace);
+
+private:
+	std::string groupId_;
+	std::string regionId_;
+	bool deleteJobs_;
+	std::string _namespace_;
+};
+} // namespace Model
+} // namespace Schedulerx2
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_SCHEDULERX2_MODEL_DELETEAPPGROUPREQUEST_H_

+ 55 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/DeleteAppGroupResult.h

@@ -0,0 +1,55 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_SCHEDULERX2_MODEL_DELETEAPPGROUPRESULT_H_
+#define ALIBABACLOUD_SCHEDULERX2_MODEL_DELETEAPPGROUPRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/schedulerx2/Schedulerx2Export.h>
+
+namespace AlibabaCloud
+{
+	namespace Schedulerx2
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_SCHEDULERX2_EXPORT DeleteAppGroupResult : public ServiceResult
+			{
+			public:
+
+
+				DeleteAppGroupResult();
+				explicit DeleteAppGroupResult(const std::string &payload);
+				~DeleteAppGroupResult();
+				std::string getMessage()const;
+				int getCode()const;
+				bool getSuccess()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string message_;
+				int code_;
+				bool success_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_SCHEDULERX2_MODEL_DELETEAPPGROUPRESULT_H_

+ 54 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/DeleteRouteStrategyRequest.h

@@ -0,0 +1,54 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_SCHEDULERX2_MODEL_DELETEROUTESTRATEGYREQUEST_H_
+#define ALIBABACLOUD_SCHEDULERX2_MODEL_DELETEROUTESTRATEGYREQUEST_H_
+
+#include <alibabacloud/schedulerx2/Schedulerx2Export.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Schedulerx2 {
+namespace Model {
+class ALIBABACLOUD_SCHEDULERX2_EXPORT DeleteRouteStrategyRequest : public RpcServiceRequest {
+public:
+	DeleteRouteStrategyRequest();
+	~DeleteRouteStrategyRequest();
+	std::string getGroupId() const;
+	void setGroupId(const std::string &groupId);
+	long getJobId() const;
+	void setJobId(long jobId);
+	std::string getRegionId() const;
+	void setRegionId(const std::string &regionId);
+	std::string get_Namespace() const;
+	void set_Namespace(const std::string &_namespace);
+	long getStrategyId() const;
+	void setStrategyId(long strategyId);
+
+private:
+	std::string groupId_;
+	long jobId_;
+	std::string regionId_;
+	std::string _namespace_;
+	long strategyId_;
+};
+} // namespace Model
+} // namespace Schedulerx2
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_SCHEDULERX2_MODEL_DELETEROUTESTRATEGYREQUEST_H_

+ 55 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/DeleteRouteStrategyResult.h

@@ -0,0 +1,55 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_SCHEDULERX2_MODEL_DELETEROUTESTRATEGYRESULT_H_
+#define ALIBABACLOUD_SCHEDULERX2_MODEL_DELETEROUTESTRATEGYRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/schedulerx2/Schedulerx2Export.h>
+
+namespace AlibabaCloud
+{
+	namespace Schedulerx2
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_SCHEDULERX2_EXPORT DeleteRouteStrategyResult : public ServiceResult
+			{
+			public:
+
+
+				DeleteRouteStrategyResult();
+				explicit DeleteRouteStrategyResult(const std::string &payload);
+				~DeleteRouteStrategyResult();
+				std::string getMessage()const;
+				int getCode()const;
+				bool getSuccess()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string message_;
+				int code_;
+				bool success_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_SCHEDULERX2_MODEL_DELETEROUTESTRATEGYRESULT_H_

+ 48 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/GetAppGroupRequest.h

@@ -0,0 +1,48 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_SCHEDULERX2_MODEL_GETAPPGROUPREQUEST_H_
+#define ALIBABACLOUD_SCHEDULERX2_MODEL_GETAPPGROUPREQUEST_H_
+
+#include <alibabacloud/schedulerx2/Schedulerx2Export.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Schedulerx2 {
+namespace Model {
+class ALIBABACLOUD_SCHEDULERX2_EXPORT GetAppGroupRequest : public RpcServiceRequest {
+public:
+	GetAppGroupRequest();
+	~GetAppGroupRequest();
+	std::string getGroupId() const;
+	void setGroupId(const std::string &groupId);
+	std::string getRegionId() const;
+	void setRegionId(const std::string &regionId);
+	std::string get_Namespace() const;
+	void set_Namespace(const std::string &_namespace);
+
+private:
+	std::string groupId_;
+	std::string regionId_;
+	std::string _namespace_;
+};
+} // namespace Model
+} // namespace Schedulerx2
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_SCHEDULERX2_MODEL_GETAPPGROUPREQUEST_H_

+ 74 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/GetAppGroupResult.h

@@ -0,0 +1,74 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_SCHEDULERX2_MODEL_GETAPPGROUPRESULT_H_
+#define ALIBABACLOUD_SCHEDULERX2_MODEL_GETAPPGROUPRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/schedulerx2/Schedulerx2Export.h>
+
+namespace AlibabaCloud
+{
+	namespace Schedulerx2
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_SCHEDULERX2_EXPORT GetAppGroupResult : public ServiceResult
+			{
+			public:
+				struct Data
+				{
+					std::string description;
+					int curJobs;
+					int maxConcurrency;
+					std::string appName;
+					std::string groupId;
+					std::string monitorConfigJson;
+					int readyInstanceNum;
+					long appGroupId;
+					std::string appKey;
+					std::string metricsThresholdJson;
+					int runningInstanceNum;
+					std::string xattrs;
+					int maxJobs;
+					std::string alarmJson;
+				};
+
+
+				GetAppGroupResult();
+				explicit GetAppGroupResult(const std::string &payload);
+				~GetAppGroupResult();
+				std::string getMessage()const;
+				Data getData()const;
+				int getCode()const;
+				bool getSuccess()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string message_;
+				Data data_;
+				int code_;
+				bool success_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_SCHEDULERX2_MODEL_GETAPPGROUPRESULT_H_

+ 1 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/ListGroupsResult.h

@@ -39,6 +39,7 @@ namespace AlibabaCloud
 						std::string description;
 						long appGroupId;
 						std::string appKey;
+						std::string xattrs;
 						std::string appName;
 						std::string groupId;
 					};

+ 69 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/UpdateAppGroupRequest.h

@@ -0,0 +1,69 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_SCHEDULERX2_MODEL_UPDATEAPPGROUPREQUEST_H_
+#define ALIBABACLOUD_SCHEDULERX2_MODEL_UPDATEAPPGROUPREQUEST_H_
+
+#include <alibabacloud/schedulerx2/Schedulerx2Export.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Schedulerx2 {
+namespace Model {
+class ALIBABACLOUD_SCHEDULERX2_EXPORT UpdateAppGroupRequest : public RpcServiceRequest {
+public:
+	UpdateAppGroupRequest();
+	~UpdateAppGroupRequest();
+	std::string getDescription() const;
+	void setDescription(const std::string &description);
+	std::string getRegionId() const;
+	void setRegionId(const std::string &regionId);
+	std::string getAlarmJson() const;
+	void setAlarmJson(const std::string &alarmJson);
+	long getAppGroupId() const;
+	void setAppGroupId(long appGroupId);
+	int getMaxJobs() const;
+	void setMaxJobs(int maxJobs);
+	std::string getMetricsThresholdJson() const;
+	void setMetricsThresholdJson(const std::string &metricsThresholdJson);
+	std::string getGroupId() const;
+	void setGroupId(const std::string &groupId);
+	std::string get_Namespace() const;
+	void set_Namespace(const std::string &_namespace);
+	std::string getXattrs() const;
+	void setXattrs(const std::string &xattrs);
+	int getMaxConcurrency() const;
+	void setMaxConcurrency(int maxConcurrency);
+
+private:
+	std::string description_;
+	std::string regionId_;
+	std::string alarmJson_;
+	long appGroupId_;
+	int maxJobs_;
+	std::string metricsThresholdJson_;
+	std::string groupId_;
+	std::string _namespace_;
+	std::string xattrs_;
+	int maxConcurrency_;
+};
+} // namespace Model
+} // namespace Schedulerx2
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_SCHEDULERX2_MODEL_UPDATEAPPGROUPREQUEST_H_

+ 55 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/UpdateAppGroupResult.h

@@ -0,0 +1,55 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_SCHEDULERX2_MODEL_UPDATEAPPGROUPRESULT_H_
+#define ALIBABACLOUD_SCHEDULERX2_MODEL_UPDATEAPPGROUPRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/schedulerx2/Schedulerx2Export.h>
+
+namespace AlibabaCloud
+{
+	namespace Schedulerx2
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_SCHEDULERX2_EXPORT UpdateAppGroupResult : public ServiceResult
+			{
+			public:
+
+
+				UpdateAppGroupResult();
+				explicit UpdateAppGroupResult(const std::string &payload);
+				~UpdateAppGroupResult();
+				std::string getMessage()const;
+				int getCode()const;
+				bool getSuccess()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string message_;
+				int code_;
+				bool success_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_SCHEDULERX2_MODEL_UPDATEAPPGROUPRESULT_H_

+ 3 - 0
schedulerx2/include/alibabacloud/schedulerx2/model/UpdateJobRequest.h

@@ -84,6 +84,8 @@ public:
 	void setRegionId(const std::string &regionId);
 	int getPageSize() const;
 	void setPageSize(int pageSize);
+	std::string getTaskDispatchMode() const;
+	void setTaskDispatchMode(const std::string &taskDispatchMode);
 	std::string getCalendar() const;
 	void setCalendar(const std::string &calendar);
 	bool getFailEnable() const;
@@ -130,6 +132,7 @@ private:
 	bool timeoutKillEnable_;
 	std::string regionId_;
 	int pageSize_;
+	std::string taskDispatchMode_;
 	std::string calendar_;
 	bool failEnable_;
 	std::string sendChannel_;

+ 216 - 0
schedulerx2/src/Schedulerx2Client.cc

@@ -87,6 +87,42 @@ Schedulerx2Client::BatchDeleteJobsOutcomeCallable Schedulerx2Client::batchDelete
 	return task->get_future();
 }
 
+Schedulerx2Client::BatchDeleteRouteStrategyOutcome Schedulerx2Client::batchDeleteRouteStrategy(const BatchDeleteRouteStrategyRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return BatchDeleteRouteStrategyOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return BatchDeleteRouteStrategyOutcome(BatchDeleteRouteStrategyResult(outcome.result()));
+	else
+		return BatchDeleteRouteStrategyOutcome(outcome.error());
+}
+
+void Schedulerx2Client::batchDeleteRouteStrategyAsync(const BatchDeleteRouteStrategyRequest& request, const BatchDeleteRouteStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, batchDeleteRouteStrategy(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+Schedulerx2Client::BatchDeleteRouteStrategyOutcomeCallable Schedulerx2Client::batchDeleteRouteStrategyCallable(const BatchDeleteRouteStrategyRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<BatchDeleteRouteStrategyOutcome()>>(
+			[this, request]()
+			{
+			return this->batchDeleteRouteStrategy(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 Schedulerx2Client::BatchDisableJobsOutcome Schedulerx2Client::batchDisableJobs(const BatchDisableJobsRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -267,6 +303,42 @@ Schedulerx2Client::CreateNamespaceOutcomeCallable Schedulerx2Client::createNames
 	return task->get_future();
 }
 
+Schedulerx2Client::CreateRouteStrategyOutcome Schedulerx2Client::createRouteStrategy(const CreateRouteStrategyRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return CreateRouteStrategyOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return CreateRouteStrategyOutcome(CreateRouteStrategyResult(outcome.result()));
+	else
+		return CreateRouteStrategyOutcome(outcome.error());
+}
+
+void Schedulerx2Client::createRouteStrategyAsync(const CreateRouteStrategyRequest& request, const CreateRouteStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, createRouteStrategy(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+Schedulerx2Client::CreateRouteStrategyOutcomeCallable Schedulerx2Client::createRouteStrategyCallable(const CreateRouteStrategyRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<CreateRouteStrategyOutcome()>>(
+			[this, request]()
+			{
+			return this->createRouteStrategy(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 Schedulerx2Client::CreateWorkflowOutcome Schedulerx2Client::createWorkflow(const CreateWorkflowRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -303,6 +375,42 @@ Schedulerx2Client::CreateWorkflowOutcomeCallable Schedulerx2Client::createWorkfl
 	return task->get_future();
 }
 
+Schedulerx2Client::DeleteAppGroupOutcome Schedulerx2Client::deleteAppGroup(const DeleteAppGroupRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return DeleteAppGroupOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return DeleteAppGroupOutcome(DeleteAppGroupResult(outcome.result()));
+	else
+		return DeleteAppGroupOutcome(outcome.error());
+}
+
+void Schedulerx2Client::deleteAppGroupAsync(const DeleteAppGroupRequest& request, const DeleteAppGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, deleteAppGroup(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+Schedulerx2Client::DeleteAppGroupOutcomeCallable Schedulerx2Client::deleteAppGroupCallable(const DeleteAppGroupRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<DeleteAppGroupOutcome()>>(
+			[this, request]()
+			{
+			return this->deleteAppGroup(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 Schedulerx2Client::DeleteJobOutcome Schedulerx2Client::deleteJob(const DeleteJobRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -339,6 +447,42 @@ Schedulerx2Client::DeleteJobOutcomeCallable Schedulerx2Client::deleteJobCallable
 	return task->get_future();
 }
 
+Schedulerx2Client::DeleteRouteStrategyOutcome Schedulerx2Client::deleteRouteStrategy(const DeleteRouteStrategyRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return DeleteRouteStrategyOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return DeleteRouteStrategyOutcome(DeleteRouteStrategyResult(outcome.result()));
+	else
+		return DeleteRouteStrategyOutcome(outcome.error());
+}
+
+void Schedulerx2Client::deleteRouteStrategyAsync(const DeleteRouteStrategyRequest& request, const DeleteRouteStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, deleteRouteStrategy(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+Schedulerx2Client::DeleteRouteStrategyOutcomeCallable Schedulerx2Client::deleteRouteStrategyCallable(const DeleteRouteStrategyRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<DeleteRouteStrategyOutcome()>>(
+			[this, request]()
+			{
+			return this->deleteRouteStrategy(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 Schedulerx2Client::DeleteWorkflowOutcome Schedulerx2Client::deleteWorkflow(const DeleteWorkflowRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -663,6 +807,42 @@ Schedulerx2Client::ExecuteWorkflowOutcomeCallable Schedulerx2Client::executeWork
 	return task->get_future();
 }
 
+Schedulerx2Client::GetAppGroupOutcome Schedulerx2Client::getAppGroup(const GetAppGroupRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return GetAppGroupOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return GetAppGroupOutcome(GetAppGroupResult(outcome.result()));
+	else
+		return GetAppGroupOutcome(outcome.error());
+}
+
+void Schedulerx2Client::getAppGroupAsync(const GetAppGroupRequest& request, const GetAppGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, getAppGroup(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+Schedulerx2Client::GetAppGroupOutcomeCallable Schedulerx2Client::getAppGroupCallable(const GetAppGroupRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<GetAppGroupOutcome()>>(
+			[this, request]()
+			{
+			return this->getAppGroup(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 Schedulerx2Client::GetJobInfoOutcome Schedulerx2Client::getJobInfo(const GetJobInfoRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1311,6 +1491,42 @@ Schedulerx2Client::StopInstanceOutcomeCallable Schedulerx2Client::stopInstanceCa
 	return task->get_future();
 }
 
+Schedulerx2Client::UpdateAppGroupOutcome Schedulerx2Client::updateAppGroup(const UpdateAppGroupRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return UpdateAppGroupOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return UpdateAppGroupOutcome(UpdateAppGroupResult(outcome.result()));
+	else
+		return UpdateAppGroupOutcome(outcome.error());
+}
+
+void Schedulerx2Client::updateAppGroupAsync(const UpdateAppGroupRequest& request, const UpdateAppGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, updateAppGroup(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+Schedulerx2Client::UpdateAppGroupOutcomeCallable Schedulerx2Client::updateAppGroupCallable(const UpdateAppGroupRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<UpdateAppGroupOutcome()>>(
+			[this, request]()
+			{
+			return this->updateAppGroup(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 Schedulerx2Client::UpdateJobOutcome Schedulerx2Client::updateJob(const UpdateJobRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();

+ 70 - 0
schedulerx2/src/model/BatchDeleteRouteStrategyRequest.cc

@@ -0,0 +1,70 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/schedulerx2/model/BatchDeleteRouteStrategyRequest.h>
+
+using AlibabaCloud::Schedulerx2::Model::BatchDeleteRouteStrategyRequest;
+
+BatchDeleteRouteStrategyRequest::BatchDeleteRouteStrategyRequest()
+    : RpcServiceRequest("schedulerx2", "2019-04-30", "BatchDeleteRouteStrategy") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+BatchDeleteRouteStrategyRequest::~BatchDeleteRouteStrategyRequest() {}
+
+std::string BatchDeleteRouteStrategyRequest::getGroupId() const {
+  return groupId_;
+}
+
+void BatchDeleteRouteStrategyRequest::setGroupId(const std::string &groupId) {
+  groupId_ = groupId;
+  setParameter(std::string("GroupId"), groupId);
+}
+
+std::vector<long> BatchDeleteRouteStrategyRequest::getJobIdList() const {
+  return jobIdList_;
+}
+
+void BatchDeleteRouteStrategyRequest::setJobIdList(const std::vector<long> &jobIdList) {
+  jobIdList_ = jobIdList;
+}
+
+std::string BatchDeleteRouteStrategyRequest::getRegionId() const {
+  return regionId_;
+}
+
+void BatchDeleteRouteStrategyRequest::setRegionId(const std::string &regionId) {
+  regionId_ = regionId;
+  setParameter(std::string("RegionId"), regionId);
+}
+
+std::string BatchDeleteRouteStrategyRequest::get_Namespace() const {
+  return _namespace_;
+}
+
+void BatchDeleteRouteStrategyRequest::set_Namespace(const std::string &_namespace) {
+  _namespace_ = _namespace;
+  setParameter(std::string("Namespace"), _namespace);
+}
+
+std::vector<long> BatchDeleteRouteStrategyRequest::getStrategyIdList() const {
+  return strategyIdList_;
+}
+
+void BatchDeleteRouteStrategyRequest::setStrategyIdList(const std::vector<long> &strategyIdList) {
+  strategyIdList_ = strategyIdList;
+}
+

+ 65 - 0
schedulerx2/src/model/BatchDeleteRouteStrategyResult.cc

@@ -0,0 +1,65 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/schedulerx2/model/BatchDeleteRouteStrategyResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Schedulerx2;
+using namespace AlibabaCloud::Schedulerx2::Model;
+
+BatchDeleteRouteStrategyResult::BatchDeleteRouteStrategyResult() :
+	ServiceResult()
+{}
+
+BatchDeleteRouteStrategyResult::BatchDeleteRouteStrategyResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+BatchDeleteRouteStrategyResult::~BatchDeleteRouteStrategyResult()
+{}
+
+void BatchDeleteRouteStrategyResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	if(!value["Code"].isNull())
+		code_ = std::stoi(value["Code"].asString());
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
+	if(!value["Success"].isNull())
+		success_ = value["Success"].asString() == "true";
+
+}
+
+std::string BatchDeleteRouteStrategyResult::getMessage()const
+{
+	return message_;
+}
+
+int BatchDeleteRouteStrategyResult::getCode()const
+{
+	return code_;
+}
+
+bool BatchDeleteRouteStrategyResult::getSuccess()const
+{
+	return success_;
+}
+

+ 27 - 0
schedulerx2/src/model/CreateAppGroupRequest.cc

@@ -124,6 +124,15 @@ void CreateAppGroupRequest::setGroupId(const std::string &groupId) {
   setParameter(std::string("GroupId"), groupId);
 }
 
+int CreateAppGroupRequest::getAppType() const {
+  return appType_;
+}
+
+void CreateAppGroupRequest::setAppType(int appType) {
+  appType_ = appType;
+  setParameter(std::string("AppType"), std::to_string(appType));
+}
+
 std::string CreateAppGroupRequest::getMonitorConfigJson() const {
   return monitorConfigJson_;
 }
@@ -142,6 +151,24 @@ void CreateAppGroupRequest::set_Namespace(const std::string &_namespace) {
   setParameter(std::string("Namespace"), _namespace);
 }
 
+std::string CreateAppGroupRequest::getXattrs() const {
+  return xattrs_;
+}
+
+void CreateAppGroupRequest::setXattrs(const std::string &xattrs) {
+  xattrs_ = xattrs;
+  setParameter(std::string("Xattrs"), xattrs);
+}
+
+bool CreateAppGroupRequest::getEnableLog() const {
+  return enableLog_;
+}
+
+void CreateAppGroupRequest::setEnableLog(bool enableLog) {
+  enableLog_ = enableLog;
+  setParameter(std::string("EnableLog"), enableLog ? "true" : "false");
+}
+
 std::string CreateAppGroupRequest::getAppKey() const {
   return appKey_;
 }

+ 99 - 0
schedulerx2/src/model/CreateRouteStrategyRequest.cc

@@ -0,0 +1,99 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/schedulerx2/model/CreateRouteStrategyRequest.h>
+
+using AlibabaCloud::Schedulerx2::Model::CreateRouteStrategyRequest;
+
+CreateRouteStrategyRequest::CreateRouteStrategyRequest()
+    : RpcServiceRequest("schedulerx2", "2019-04-30", "CreateRouteStrategy") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+CreateRouteStrategyRequest::~CreateRouteStrategyRequest() {}
+
+std::string CreateRouteStrategyRequest::getGroupId() const {
+  return groupId_;
+}
+
+void CreateRouteStrategyRequest::setGroupId(const std::string &groupId) {
+  groupId_ = groupId;
+  setParameter(std::string("GroupId"), groupId);
+}
+
+std::string CreateRouteStrategyRequest::getStrategyContent() const {
+  return strategyContent_;
+}
+
+void CreateRouteStrategyRequest::setStrategyContent(const std::string &strategyContent) {
+  strategyContent_ = strategyContent;
+  setParameter(std::string("StrategyContent"), strategyContent);
+}
+
+int CreateRouteStrategyRequest::getType() const {
+  return type_;
+}
+
+void CreateRouteStrategyRequest::setType(int type) {
+  type_ = type;
+  setParameter(std::string("Type"), std::to_string(type));
+}
+
+long CreateRouteStrategyRequest::getJobId() const {
+  return jobId_;
+}
+
+void CreateRouteStrategyRequest::setJobId(long jobId) {
+  jobId_ = jobId;
+  setParameter(std::string("JobId"), std::to_string(jobId));
+}
+
+std::string CreateRouteStrategyRequest::getRegionId() const {
+  return regionId_;
+}
+
+void CreateRouteStrategyRequest::setRegionId(const std::string &regionId) {
+  regionId_ = regionId;
+  setParameter(std::string("RegionId"), regionId);
+}
+
+std::string CreateRouteStrategyRequest::getName() const {
+  return name_;
+}
+
+void CreateRouteStrategyRequest::setName(const std::string &name) {
+  name_ = name;
+  setParameter(std::string("Name"), name);
+}
+
+std::string CreateRouteStrategyRequest::get_Namespace() const {
+  return _namespace_;
+}
+
+void CreateRouteStrategyRequest::set_Namespace(const std::string &_namespace) {
+  _namespace_ = _namespace;
+  setParameter(std::string("Namespace"), _namespace);
+}
+
+int CreateRouteStrategyRequest::getStatus() const {
+  return status_;
+}
+
+void CreateRouteStrategyRequest::setStatus(int status) {
+  status_ = status;
+  setParameter(std::string("Status"), std::to_string(status));
+}
+

+ 73 - 0
schedulerx2/src/model/CreateRouteStrategyResult.cc

@@ -0,0 +1,73 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/schedulerx2/model/CreateRouteStrategyResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Schedulerx2;
+using namespace AlibabaCloud::Schedulerx2::Model;
+
+CreateRouteStrategyResult::CreateRouteStrategyResult() :
+	ServiceResult()
+{}
+
+CreateRouteStrategyResult::CreateRouteStrategyResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+CreateRouteStrategyResult::~CreateRouteStrategyResult()
+{}
+
+void CreateRouteStrategyResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	auto dataNode = value["Data"];
+	if(!dataNode["AppGroupId"].isNull())
+		data_.appGroupId = std::stol(dataNode["AppGroupId"].asString());
+	if(!value["Code"].isNull())
+		code_ = std::stoi(value["Code"].asString());
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
+	if(!value["Success"].isNull())
+		success_ = value["Success"].asString() == "true";
+
+}
+
+std::string CreateRouteStrategyResult::getMessage()const
+{
+	return message_;
+}
+
+CreateRouteStrategyResult::Data CreateRouteStrategyResult::getData()const
+{
+	return data_;
+}
+
+int CreateRouteStrategyResult::getCode()const
+{
+	return code_;
+}
+
+bool CreateRouteStrategyResult::getSuccess()const
+{
+	return success_;
+}
+

+ 63 - 0
schedulerx2/src/model/DeleteAppGroupRequest.cc

@@ -0,0 +1,63 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/schedulerx2/model/DeleteAppGroupRequest.h>
+
+using AlibabaCloud::Schedulerx2::Model::DeleteAppGroupRequest;
+
+DeleteAppGroupRequest::DeleteAppGroupRequest()
+    : RpcServiceRequest("schedulerx2", "2019-04-30", "DeleteAppGroup") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+DeleteAppGroupRequest::~DeleteAppGroupRequest() {}
+
+std::string DeleteAppGroupRequest::getGroupId() const {
+  return groupId_;
+}
+
+void DeleteAppGroupRequest::setGroupId(const std::string &groupId) {
+  groupId_ = groupId;
+  setParameter(std::string("GroupId"), groupId);
+}
+
+std::string DeleteAppGroupRequest::getRegionId() const {
+  return regionId_;
+}
+
+void DeleteAppGroupRequest::setRegionId(const std::string &regionId) {
+  regionId_ = regionId;
+  setParameter(std::string("RegionId"), regionId);
+}
+
+bool DeleteAppGroupRequest::getDeleteJobs() const {
+  return deleteJobs_;
+}
+
+void DeleteAppGroupRequest::setDeleteJobs(bool deleteJobs) {
+  deleteJobs_ = deleteJobs;
+  setParameter(std::string("DeleteJobs"), deleteJobs ? "true" : "false");
+}
+
+std::string DeleteAppGroupRequest::get_Namespace() const {
+  return _namespace_;
+}
+
+void DeleteAppGroupRequest::set_Namespace(const std::string &_namespace) {
+  _namespace_ = _namespace;
+  setParameter(std::string("Namespace"), _namespace);
+}
+

+ 65 - 0
schedulerx2/src/model/DeleteAppGroupResult.cc

@@ -0,0 +1,65 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/schedulerx2/model/DeleteAppGroupResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Schedulerx2;
+using namespace AlibabaCloud::Schedulerx2::Model;
+
+DeleteAppGroupResult::DeleteAppGroupResult() :
+	ServiceResult()
+{}
+
+DeleteAppGroupResult::DeleteAppGroupResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+DeleteAppGroupResult::~DeleteAppGroupResult()
+{}
+
+void DeleteAppGroupResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	if(!value["Code"].isNull())
+		code_ = std::stoi(value["Code"].asString());
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
+	if(!value["Success"].isNull())
+		success_ = value["Success"].asString() == "true";
+
+}
+
+std::string DeleteAppGroupResult::getMessage()const
+{
+	return message_;
+}
+
+int DeleteAppGroupResult::getCode()const
+{
+	return code_;
+}
+
+bool DeleteAppGroupResult::getSuccess()const
+{
+	return success_;
+}
+

+ 72 - 0
schedulerx2/src/model/DeleteRouteStrategyRequest.cc

@@ -0,0 +1,72 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/schedulerx2/model/DeleteRouteStrategyRequest.h>
+
+using AlibabaCloud::Schedulerx2::Model::DeleteRouteStrategyRequest;
+
+DeleteRouteStrategyRequest::DeleteRouteStrategyRequest()
+    : RpcServiceRequest("schedulerx2", "2019-04-30", "DeleteRouteStrategy") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+DeleteRouteStrategyRequest::~DeleteRouteStrategyRequest() {}
+
+std::string DeleteRouteStrategyRequest::getGroupId() const {
+  return groupId_;
+}
+
+void DeleteRouteStrategyRequest::setGroupId(const std::string &groupId) {
+  groupId_ = groupId;
+  setParameter(std::string("GroupId"), groupId);
+}
+
+long DeleteRouteStrategyRequest::getJobId() const {
+  return jobId_;
+}
+
+void DeleteRouteStrategyRequest::setJobId(long jobId) {
+  jobId_ = jobId;
+  setParameter(std::string("JobId"), std::to_string(jobId));
+}
+
+std::string DeleteRouteStrategyRequest::getRegionId() const {
+  return regionId_;
+}
+
+void DeleteRouteStrategyRequest::setRegionId(const std::string &regionId) {
+  regionId_ = regionId;
+  setParameter(std::string("RegionId"), regionId);
+}
+
+std::string DeleteRouteStrategyRequest::get_Namespace() const {
+  return _namespace_;
+}
+
+void DeleteRouteStrategyRequest::set_Namespace(const std::string &_namespace) {
+  _namespace_ = _namespace;
+  setParameter(std::string("Namespace"), _namespace);
+}
+
+long DeleteRouteStrategyRequest::getStrategyId() const {
+  return strategyId_;
+}
+
+void DeleteRouteStrategyRequest::setStrategyId(long strategyId) {
+  strategyId_ = strategyId;
+  setParameter(std::string("StrategyId"), std::to_string(strategyId));
+}
+

+ 65 - 0
schedulerx2/src/model/DeleteRouteStrategyResult.cc

@@ -0,0 +1,65 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/schedulerx2/model/DeleteRouteStrategyResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Schedulerx2;
+using namespace AlibabaCloud::Schedulerx2::Model;
+
+DeleteRouteStrategyResult::DeleteRouteStrategyResult() :
+	ServiceResult()
+{}
+
+DeleteRouteStrategyResult::DeleteRouteStrategyResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+DeleteRouteStrategyResult::~DeleteRouteStrategyResult()
+{}
+
+void DeleteRouteStrategyResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	if(!value["Code"].isNull())
+		code_ = std::stoi(value["Code"].asString());
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
+	if(!value["Success"].isNull())
+		success_ = value["Success"].asString() == "true";
+
+}
+
+std::string DeleteRouteStrategyResult::getMessage()const
+{
+	return message_;
+}
+
+int DeleteRouteStrategyResult::getCode()const
+{
+	return code_;
+}
+
+bool DeleteRouteStrategyResult::getSuccess()const
+{
+	return success_;
+}
+

+ 54 - 0
schedulerx2/src/model/GetAppGroupRequest.cc

@@ -0,0 +1,54 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/schedulerx2/model/GetAppGroupRequest.h>
+
+using AlibabaCloud::Schedulerx2::Model::GetAppGroupRequest;
+
+GetAppGroupRequest::GetAppGroupRequest()
+    : RpcServiceRequest("schedulerx2", "2019-04-30", "GetAppGroup") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+GetAppGroupRequest::~GetAppGroupRequest() {}
+
+std::string GetAppGroupRequest::getGroupId() const {
+  return groupId_;
+}
+
+void GetAppGroupRequest::setGroupId(const std::string &groupId) {
+  groupId_ = groupId;
+  setParameter(std::string("GroupId"), groupId);
+}
+
+std::string GetAppGroupRequest::getRegionId() const {
+  return regionId_;
+}
+
+void GetAppGroupRequest::setRegionId(const std::string &regionId) {
+  regionId_ = regionId;
+  setParameter(std::string("RegionId"), regionId);
+}
+
+std::string GetAppGroupRequest::get_Namespace() const {
+  return _namespace_;
+}
+
+void GetAppGroupRequest::set_Namespace(const std::string &_namespace) {
+  _namespace_ = _namespace;
+  setParameter(std::string("Namespace"), _namespace);
+}
+

+ 99 - 0
schedulerx2/src/model/GetAppGroupResult.cc

@@ -0,0 +1,99 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/schedulerx2/model/GetAppGroupResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Schedulerx2;
+using namespace AlibabaCloud::Schedulerx2::Model;
+
+GetAppGroupResult::GetAppGroupResult() :
+	ServiceResult()
+{}
+
+GetAppGroupResult::GetAppGroupResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+GetAppGroupResult::~GetAppGroupResult()
+{}
+
+void GetAppGroupResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	auto dataNode = value["Data"];
+	if(!dataNode["AppName"].isNull())
+		data_.appName = dataNode["AppName"].asString();
+	if(!dataNode["Description"].isNull())
+		data_.description = dataNode["Description"].asString();
+	if(!dataNode["MaxJobs"].isNull())
+		data_.maxJobs = std::stoi(dataNode["MaxJobs"].asString());
+	if(!dataNode["GroupId"].isNull())
+		data_.groupId = dataNode["GroupId"].asString();
+	if(!dataNode["AlarmJson"].isNull())
+		data_.alarmJson = dataNode["AlarmJson"].asString();
+	if(!dataNode["MetricsThresholdJson"].isNull())
+		data_.metricsThresholdJson = dataNode["MetricsThresholdJson"].asString();
+	if(!dataNode["MonitorConfigJson"].isNull())
+		data_.monitorConfigJson = dataNode["MonitorConfigJson"].asString();
+	if(!dataNode["MaxConcurrency"].isNull())
+		data_.maxConcurrency = std::stoi(dataNode["MaxConcurrency"].asString());
+	if(!dataNode["CurJobs"].isNull())
+		data_.curJobs = std::stoi(dataNode["CurJobs"].asString());
+	if(!dataNode["RunningInstanceNum"].isNull())
+		data_.runningInstanceNum = std::stoi(dataNode["RunningInstanceNum"].asString());
+	if(!dataNode["ReadyInstanceNum"].isNull())
+		data_.readyInstanceNum = std::stoi(dataNode["ReadyInstanceNum"].asString());
+	if(!dataNode["AppGroupId"].isNull())
+		data_.appGroupId = std::stol(dataNode["AppGroupId"].asString());
+	if(!dataNode["AppKey"].isNull())
+		data_.appKey = dataNode["AppKey"].asString();
+	if(!dataNode["Xattrs"].isNull())
+		data_.xattrs = dataNode["Xattrs"].asString();
+	if(!value["Code"].isNull())
+		code_ = std::stoi(value["Code"].asString());
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
+	if(!value["Success"].isNull())
+		success_ = value["Success"].asString() == "true";
+
+}
+
+std::string GetAppGroupResult::getMessage()const
+{
+	return message_;
+}
+
+GetAppGroupResult::Data GetAppGroupResult::getData()const
+{
+	return data_;
+}
+
+int GetAppGroupResult::getCode()const
+{
+	return code_;
+}
+
+bool GetAppGroupResult::getSuccess()const
+{
+	return success_;
+}
+

+ 2 - 0
schedulerx2/src/model/ListGroupsResult.cc

@@ -54,6 +54,8 @@ void ListGroupsResult::parse(const std::string &payload)
 			appGroupObject.description = dataNodeAppGroupsAppGroup["Description"].asString();
 		if(!dataNodeAppGroupsAppGroup["GroupId"].isNull())
 			appGroupObject.groupId = dataNodeAppGroupsAppGroup["GroupId"].asString();
+		if(!dataNodeAppGroupsAppGroup["Xattrs"].isNull())
+			appGroupObject.xattrs = dataNodeAppGroupsAppGroup["Xattrs"].asString();
 		data_.appGroups.push_back(appGroupObject);
 	}
 	if(!value["Code"].isNull())

+ 117 - 0
schedulerx2/src/model/UpdateAppGroupRequest.cc

@@ -0,0 +1,117 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/schedulerx2/model/UpdateAppGroupRequest.h>
+
+using AlibabaCloud::Schedulerx2::Model::UpdateAppGroupRequest;
+
+UpdateAppGroupRequest::UpdateAppGroupRequest()
+    : RpcServiceRequest("schedulerx2", "2019-04-30", "UpdateAppGroup") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+UpdateAppGroupRequest::~UpdateAppGroupRequest() {}
+
+std::string UpdateAppGroupRequest::getDescription() const {
+  return description_;
+}
+
+void UpdateAppGroupRequest::setDescription(const std::string &description) {
+  description_ = description;
+  setParameter(std::string("Description"), description);
+}
+
+std::string UpdateAppGroupRequest::getRegionId() const {
+  return regionId_;
+}
+
+void UpdateAppGroupRequest::setRegionId(const std::string &regionId) {
+  regionId_ = regionId;
+  setParameter(std::string("RegionId"), regionId);
+}
+
+std::string UpdateAppGroupRequest::getAlarmJson() const {
+  return alarmJson_;
+}
+
+void UpdateAppGroupRequest::setAlarmJson(const std::string &alarmJson) {
+  alarmJson_ = alarmJson;
+  setParameter(std::string("AlarmJson"), alarmJson);
+}
+
+long UpdateAppGroupRequest::getAppGroupId() const {
+  return appGroupId_;
+}
+
+void UpdateAppGroupRequest::setAppGroupId(long appGroupId) {
+  appGroupId_ = appGroupId;
+  setParameter(std::string("AppGroupId"), std::to_string(appGroupId));
+}
+
+int UpdateAppGroupRequest::getMaxJobs() const {
+  return maxJobs_;
+}
+
+void UpdateAppGroupRequest::setMaxJobs(int maxJobs) {
+  maxJobs_ = maxJobs;
+  setParameter(std::string("MaxJobs"), std::to_string(maxJobs));
+}
+
+std::string UpdateAppGroupRequest::getMetricsThresholdJson() const {
+  return metricsThresholdJson_;
+}
+
+void UpdateAppGroupRequest::setMetricsThresholdJson(const std::string &metricsThresholdJson) {
+  metricsThresholdJson_ = metricsThresholdJson;
+  setParameter(std::string("MetricsThresholdJson"), metricsThresholdJson);
+}
+
+std::string UpdateAppGroupRequest::getGroupId() const {
+  return groupId_;
+}
+
+void UpdateAppGroupRequest::setGroupId(const std::string &groupId) {
+  groupId_ = groupId;
+  setParameter(std::string("GroupId"), groupId);
+}
+
+std::string UpdateAppGroupRequest::get_Namespace() const {
+  return _namespace_;
+}
+
+void UpdateAppGroupRequest::set_Namespace(const std::string &_namespace) {
+  _namespace_ = _namespace;
+  setParameter(std::string("Namespace"), _namespace);
+}
+
+std::string UpdateAppGroupRequest::getXattrs() const {
+  return xattrs_;
+}
+
+void UpdateAppGroupRequest::setXattrs(const std::string &xattrs) {
+  xattrs_ = xattrs;
+  setParameter(std::string("Xattrs"), xattrs);
+}
+
+int UpdateAppGroupRequest::getMaxConcurrency() const {
+  return maxConcurrency_;
+}
+
+void UpdateAppGroupRequest::setMaxConcurrency(int maxConcurrency) {
+  maxConcurrency_ = maxConcurrency;
+  setParameter(std::string("MaxConcurrency"), std::to_string(maxConcurrency));
+}
+

+ 65 - 0
schedulerx2/src/model/UpdateAppGroupResult.cc

@@ -0,0 +1,65 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/schedulerx2/model/UpdateAppGroupResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Schedulerx2;
+using namespace AlibabaCloud::Schedulerx2::Model;
+
+UpdateAppGroupResult::UpdateAppGroupResult() :
+	ServiceResult()
+{}
+
+UpdateAppGroupResult::UpdateAppGroupResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+UpdateAppGroupResult::~UpdateAppGroupResult()
+{}
+
+void UpdateAppGroupResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	if(!value["Code"].isNull())
+		code_ = std::stoi(value["Code"].asString());
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
+	if(!value["Success"].isNull())
+		success_ = value["Success"].asString() == "true";
+
+}
+
+std::string UpdateAppGroupResult::getMessage()const
+{
+	return message_;
+}
+
+int UpdateAppGroupResult::getCode()const
+{
+	return code_;
+}
+
+bool UpdateAppGroupResult::getSuccess()const
+{
+	return success_;
+}
+

+ 9 - 0
schedulerx2/src/model/UpdateJobRequest.cc

@@ -248,6 +248,15 @@ void UpdateJobRequest::setPageSize(int pageSize) {
   setBodyParameter(std::string("PageSize"), std::to_string(pageSize));
 }
 
+std::string UpdateJobRequest::getTaskDispatchMode() const {
+  return taskDispatchMode_;
+}
+
+void UpdateJobRequest::setTaskDispatchMode(const std::string &taskDispatchMode) {
+  taskDispatchMode_ = taskDispatchMode;
+  setBodyParameter(std::string("TaskDispatchMode"), taskDispatchMode);
+}
+
 std::string UpdateJobRequest::getCalendar() const {
   return calendar_;
 }