Преглед изворни кода

Add GetAgentDownloadUrl api.

sdk-team пре 5 година
родитељ
комит
4b1cbc0461
26 измењених фајлова са 1465 додато и 0 уклоњено
  1. 3 0
      CHANGELOG
  2. 20 0
      arms/CMakeLists.txt
  3. 40 0
      arms/include/alibabacloud/arms/ARMSClient.h
  4. 78 0
      arms/include/alibabacloud/arms/model/ApplyScenarioRequest.h
  5. 51 0
      arms/include/alibabacloud/arms/model/ApplyScenarioResult.h
  6. 48 0
      arms/include/alibabacloud/arms/model/DeleteScenarioRequest.h
  7. 51 0
      arms/include/alibabacloud/arms/model/DeleteScenarioResult.h
  8. 48 0
      arms/include/alibabacloud/arms/model/GetAgentDownloadUrlRequest.h
  9. 51 0
      arms/include/alibabacloud/arms/model/GetAgentDownloadUrlResult.h
  10. 6 0
      arms/include/alibabacloud/arms/model/ListDashboardsRequest.h
  11. 60 0
      arms/include/alibabacloud/arms/model/ListScenarioRequest.h
  12. 63 0
      arms/include/alibabacloud/arms/model/ListScenarioResult.h
  13. 51 0
      arms/include/alibabacloud/arms/model/OpenArmsServiceRequest.h
  14. 51 0
      arms/include/alibabacloud/arms/model/OpenArmsServiceResult.h
  15. 180 0
      arms/src/ARMSClient.cc
  16. 150 0
      arms/src/model/ApplyScenarioRequest.cc
  17. 51 0
      arms/src/model/ApplyScenarioResult.cc
  18. 40 0
      arms/src/model/DeleteScenarioRequest.cc
  19. 51 0
      arms/src/model/DeleteScenarioResult.cc
  20. 40 0
      arms/src/model/GetAgentDownloadUrlRequest.cc
  21. 51 0
      arms/src/model/GetAgentDownloadUrlResult.cc
  22. 22 0
      arms/src/model/ListDashboardsRequest.cc
  23. 84 0
      arms/src/model/ListScenarioRequest.cc
  24. 73 0
      arms/src/model/ListScenarioResult.cc
  25. 51 0
      arms/src/model/OpenArmsServiceRequest.cc
  26. 51 0
      arms/src/model/OpenArmsServiceResult.cc

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2020-12-18 Version: patch
+- Add GetAgentDownloadUrl api.
+
 2020-12-18 Version: patch
 - Release EvaluateCertificateQuality.
 

+ 20 - 0
arms/CMakeLists.txt

@@ -25,6 +25,8 @@ set(arms_public_header_model
 	include/alibabacloud/arms/model/AddGrafanaResult.h
 	include/alibabacloud/arms/model/AddIntegrationRequest.h
 	include/alibabacloud/arms/model/AddIntegrationResult.h
+	include/alibabacloud/arms/model/ApplyScenarioRequest.h
+	include/alibabacloud/arms/model/ApplyScenarioResult.h
 	include/alibabacloud/arms/model/CheckDataConsistencyRequest.h
 	include/alibabacloud/arms/model/CheckDataConsistencyResult.h
 	include/alibabacloud/arms/model/CheckServiceLinkedRoleForDeletingRequest.h
@@ -47,6 +49,8 @@ set(arms_public_header_model
 	include/alibabacloud/arms/model/DeleteAlertRulesResult.h
 	include/alibabacloud/arms/model/DeleteRetcodeAppRequest.h
 	include/alibabacloud/arms/model/DeleteRetcodeAppResult.h
+	include/alibabacloud/arms/model/DeleteScenarioRequest.h
+	include/alibabacloud/arms/model/DeleteScenarioResult.h
 	include/alibabacloud/arms/model/DeleteTraceAppRequest.h
 	include/alibabacloud/arms/model/DeleteTraceAppResult.h
 	include/alibabacloud/arms/model/DescribeDispatchRuleRequest.h
@@ -57,6 +61,8 @@ set(arms_public_header_model
 	include/alibabacloud/arms/model/DescribeTraceLocationResult.h
 	include/alibabacloud/arms/model/ExportPrometheusRulesRequest.h
 	include/alibabacloud/arms/model/ExportPrometheusRulesResult.h
+	include/alibabacloud/arms/model/GetAgentDownloadUrlRequest.h
+	include/alibabacloud/arms/model/GetAgentDownloadUrlResult.h
 	include/alibabacloud/arms/model/GetAppApiByPageRequest.h
 	include/alibabacloud/arms/model/GetAppApiByPageResult.h
 	include/alibabacloud/arms/model/GetConsistencySnapshotRequest.h
@@ -89,8 +95,12 @@ set(arms_public_header_model
 	include/alibabacloud/arms/model/ListPromClustersResult.h
 	include/alibabacloud/arms/model/ListRetcodeAppsRequest.h
 	include/alibabacloud/arms/model/ListRetcodeAppsResult.h
+	include/alibabacloud/arms/model/ListScenarioRequest.h
+	include/alibabacloud/arms/model/ListScenarioResult.h
 	include/alibabacloud/arms/model/ListTraceAppsRequest.h
 	include/alibabacloud/arms/model/ListTraceAppsResult.h
+	include/alibabacloud/arms/model/OpenArmsServiceRequest.h
+	include/alibabacloud/arms/model/OpenArmsServiceResult.h
 	include/alibabacloud/arms/model/QueryDatasetRequest.h
 	include/alibabacloud/arms/model/QueryDatasetResult.h
 	include/alibabacloud/arms/model/QueryMetricRequest.h
@@ -144,6 +154,8 @@ set(arms_src
 	src/model/AddGrafanaResult.cc
 	src/model/AddIntegrationRequest.cc
 	src/model/AddIntegrationResult.cc
+	src/model/ApplyScenarioRequest.cc
+	src/model/ApplyScenarioResult.cc
 	src/model/CheckDataConsistencyRequest.cc
 	src/model/CheckDataConsistencyResult.cc
 	src/model/CheckServiceLinkedRoleForDeletingRequest.cc
@@ -166,6 +178,8 @@ set(arms_src
 	src/model/DeleteAlertRulesResult.cc
 	src/model/DeleteRetcodeAppRequest.cc
 	src/model/DeleteRetcodeAppResult.cc
+	src/model/DeleteScenarioRequest.cc
+	src/model/DeleteScenarioResult.cc
 	src/model/DeleteTraceAppRequest.cc
 	src/model/DeleteTraceAppResult.cc
 	src/model/DescribeDispatchRuleRequest.cc
@@ -176,6 +190,8 @@ set(arms_src
 	src/model/DescribeTraceLocationResult.cc
 	src/model/ExportPrometheusRulesRequest.cc
 	src/model/ExportPrometheusRulesResult.cc
+	src/model/GetAgentDownloadUrlRequest.cc
+	src/model/GetAgentDownloadUrlResult.cc
 	src/model/GetAppApiByPageRequest.cc
 	src/model/GetAppApiByPageResult.cc
 	src/model/GetConsistencySnapshotRequest.cc
@@ -208,8 +224,12 @@ set(arms_src
 	src/model/ListPromClustersResult.cc
 	src/model/ListRetcodeAppsRequest.cc
 	src/model/ListRetcodeAppsResult.cc
+	src/model/ListScenarioRequest.cc
+	src/model/ListScenarioResult.cc
 	src/model/ListTraceAppsRequest.cc
 	src/model/ListTraceAppsResult.cc
+	src/model/OpenArmsServiceRequest.cc
+	src/model/OpenArmsServiceResult.cc
 	src/model/QueryDatasetRequest.cc
 	src/model/QueryDatasetResult.cc
 	src/model/QueryMetricRequest.cc

+ 40 - 0
arms/include/alibabacloud/arms/ARMSClient.h

@@ -26,6 +26,8 @@
 #include "model/AddGrafanaResult.h"
 #include "model/AddIntegrationRequest.h"
 #include "model/AddIntegrationResult.h"
+#include "model/ApplyScenarioRequest.h"
+#include "model/ApplyScenarioResult.h"
 #include "model/CheckDataConsistencyRequest.h"
 #include "model/CheckDataConsistencyResult.h"
 #include "model/CheckServiceLinkedRoleForDeletingRequest.h"
@@ -48,6 +50,8 @@
 #include "model/DeleteAlertRulesResult.h"
 #include "model/DeleteRetcodeAppRequest.h"
 #include "model/DeleteRetcodeAppResult.h"
+#include "model/DeleteScenarioRequest.h"
+#include "model/DeleteScenarioResult.h"
 #include "model/DeleteTraceAppRequest.h"
 #include "model/DeleteTraceAppResult.h"
 #include "model/DescribeDispatchRuleRequest.h"
@@ -58,6 +62,8 @@
 #include "model/DescribeTraceLocationResult.h"
 #include "model/ExportPrometheusRulesRequest.h"
 #include "model/ExportPrometheusRulesResult.h"
+#include "model/GetAgentDownloadUrlRequest.h"
+#include "model/GetAgentDownloadUrlResult.h"
 #include "model/GetAppApiByPageRequest.h"
 #include "model/GetAppApiByPageResult.h"
 #include "model/GetConsistencySnapshotRequest.h"
@@ -90,8 +96,12 @@
 #include "model/ListPromClustersResult.h"
 #include "model/ListRetcodeAppsRequest.h"
 #include "model/ListRetcodeAppsResult.h"
+#include "model/ListScenarioRequest.h"
+#include "model/ListScenarioResult.h"
 #include "model/ListTraceAppsRequest.h"
 #include "model/ListTraceAppsResult.h"
+#include "model/OpenArmsServiceRequest.h"
+#include "model/OpenArmsServiceResult.h"
 #include "model/QueryDatasetRequest.h"
 #include "model/QueryDatasetResult.h"
 #include "model/QueryMetricRequest.h"
@@ -153,6 +163,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::AddIntegrationResult> AddIntegrationOutcome;
 			typedef std::future<AddIntegrationOutcome> AddIntegrationOutcomeCallable;
 			typedef std::function<void(const ARMSClient*, const Model::AddIntegrationRequest&, const AddIntegrationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddIntegrationAsyncHandler;
+			typedef Outcome<Error, Model::ApplyScenarioResult> ApplyScenarioOutcome;
+			typedef std::future<ApplyScenarioOutcome> ApplyScenarioOutcomeCallable;
+			typedef std::function<void(const ARMSClient*, const Model::ApplyScenarioRequest&, const ApplyScenarioOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ApplyScenarioAsyncHandler;
 			typedef Outcome<Error, Model::CheckDataConsistencyResult> CheckDataConsistencyOutcome;
 			typedef std::future<CheckDataConsistencyOutcome> CheckDataConsistencyOutcomeCallable;
 			typedef std::function<void(const ARMSClient*, const Model::CheckDataConsistencyRequest&, const CheckDataConsistencyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckDataConsistencyAsyncHandler;
@@ -186,6 +199,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::DeleteRetcodeAppResult> DeleteRetcodeAppOutcome;
 			typedef std::future<DeleteRetcodeAppOutcome> DeleteRetcodeAppOutcomeCallable;
 			typedef std::function<void(const ARMSClient*, const Model::DeleteRetcodeAppRequest&, const DeleteRetcodeAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRetcodeAppAsyncHandler;
+			typedef Outcome<Error, Model::DeleteScenarioResult> DeleteScenarioOutcome;
+			typedef std::future<DeleteScenarioOutcome> DeleteScenarioOutcomeCallable;
+			typedef std::function<void(const ARMSClient*, const Model::DeleteScenarioRequest&, const DeleteScenarioOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteScenarioAsyncHandler;
 			typedef Outcome<Error, Model::DeleteTraceAppResult> DeleteTraceAppOutcome;
 			typedef std::future<DeleteTraceAppOutcome> DeleteTraceAppOutcomeCallable;
 			typedef std::function<void(const ARMSClient*, const Model::DeleteTraceAppRequest&, const DeleteTraceAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTraceAppAsyncHandler;
@@ -201,6 +217,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::ExportPrometheusRulesResult> ExportPrometheusRulesOutcome;
 			typedef std::future<ExportPrometheusRulesOutcome> ExportPrometheusRulesOutcomeCallable;
 			typedef std::function<void(const ARMSClient*, const Model::ExportPrometheusRulesRequest&, const ExportPrometheusRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExportPrometheusRulesAsyncHandler;
+			typedef Outcome<Error, Model::GetAgentDownloadUrlResult> GetAgentDownloadUrlOutcome;
+			typedef std::future<GetAgentDownloadUrlOutcome> GetAgentDownloadUrlOutcomeCallable;
+			typedef std::function<void(const ARMSClient*, const Model::GetAgentDownloadUrlRequest&, const GetAgentDownloadUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAgentDownloadUrlAsyncHandler;
 			typedef Outcome<Error, Model::GetAppApiByPageResult> GetAppApiByPageOutcome;
 			typedef std::future<GetAppApiByPageOutcome> GetAppApiByPageOutcomeCallable;
 			typedef std::function<void(const ARMSClient*, const Model::GetAppApiByPageRequest&, const GetAppApiByPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAppApiByPageAsyncHandler;
@@ -249,9 +268,15 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::ListRetcodeAppsResult> ListRetcodeAppsOutcome;
 			typedef std::future<ListRetcodeAppsOutcome> ListRetcodeAppsOutcomeCallable;
 			typedef std::function<void(const ARMSClient*, const Model::ListRetcodeAppsRequest&, const ListRetcodeAppsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRetcodeAppsAsyncHandler;
+			typedef Outcome<Error, Model::ListScenarioResult> ListScenarioOutcome;
+			typedef std::future<ListScenarioOutcome> ListScenarioOutcomeCallable;
+			typedef std::function<void(const ARMSClient*, const Model::ListScenarioRequest&, const ListScenarioOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListScenarioAsyncHandler;
 			typedef Outcome<Error, Model::ListTraceAppsResult> ListTraceAppsOutcome;
 			typedef std::future<ListTraceAppsOutcome> ListTraceAppsOutcomeCallable;
 			typedef std::function<void(const ARMSClient*, const Model::ListTraceAppsRequest&, const ListTraceAppsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTraceAppsAsyncHandler;
+			typedef Outcome<Error, Model::OpenArmsServiceResult> OpenArmsServiceOutcome;
+			typedef std::future<OpenArmsServiceOutcome> OpenArmsServiceOutcomeCallable;
+			typedef std::function<void(const ARMSClient*, const Model::OpenArmsServiceRequest&, const OpenArmsServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenArmsServiceAsyncHandler;
 			typedef Outcome<Error, Model::QueryDatasetResult> QueryDatasetOutcome;
 			typedef std::future<QueryDatasetOutcome> QueryDatasetOutcomeCallable;
 			typedef std::function<void(const ARMSClient*, const Model::QueryDatasetRequest&, const QueryDatasetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryDatasetAsyncHandler;
@@ -332,6 +357,9 @@ namespace AlibabaCloud
 			AddIntegrationOutcome addIntegration(const Model::AddIntegrationRequest &request)const;
 			void addIntegrationAsync(const Model::AddIntegrationRequest& request, const AddIntegrationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			AddIntegrationOutcomeCallable addIntegrationCallable(const Model::AddIntegrationRequest& request) const;
+			ApplyScenarioOutcome applyScenario(const Model::ApplyScenarioRequest &request)const;
+			void applyScenarioAsync(const Model::ApplyScenarioRequest& request, const ApplyScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			ApplyScenarioOutcomeCallable applyScenarioCallable(const Model::ApplyScenarioRequest& request) const;
 			CheckDataConsistencyOutcome checkDataConsistency(const Model::CheckDataConsistencyRequest &request)const;
 			void checkDataConsistencyAsync(const Model::CheckDataConsistencyRequest& request, const CheckDataConsistencyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			CheckDataConsistencyOutcomeCallable checkDataConsistencyCallable(const Model::CheckDataConsistencyRequest& request) const;
@@ -365,6 +393,9 @@ namespace AlibabaCloud
 			DeleteRetcodeAppOutcome deleteRetcodeApp(const Model::DeleteRetcodeAppRequest &request)const;
 			void deleteRetcodeAppAsync(const Model::DeleteRetcodeAppRequest& request, const DeleteRetcodeAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			DeleteRetcodeAppOutcomeCallable deleteRetcodeAppCallable(const Model::DeleteRetcodeAppRequest& request) const;
+			DeleteScenarioOutcome deleteScenario(const Model::DeleteScenarioRequest &request)const;
+			void deleteScenarioAsync(const Model::DeleteScenarioRequest& request, const DeleteScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			DeleteScenarioOutcomeCallable deleteScenarioCallable(const Model::DeleteScenarioRequest& request) const;
 			DeleteTraceAppOutcome deleteTraceApp(const Model::DeleteTraceAppRequest &request)const;
 			void deleteTraceAppAsync(const Model::DeleteTraceAppRequest& request, const DeleteTraceAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			DeleteTraceAppOutcomeCallable deleteTraceAppCallable(const Model::DeleteTraceAppRequest& request) const;
@@ -380,6 +411,9 @@ namespace AlibabaCloud
 			ExportPrometheusRulesOutcome exportPrometheusRules(const Model::ExportPrometheusRulesRequest &request)const;
 			void exportPrometheusRulesAsync(const Model::ExportPrometheusRulesRequest& request, const ExportPrometheusRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			ExportPrometheusRulesOutcomeCallable exportPrometheusRulesCallable(const Model::ExportPrometheusRulesRequest& request) const;
+			GetAgentDownloadUrlOutcome getAgentDownloadUrl(const Model::GetAgentDownloadUrlRequest &request)const;
+			void getAgentDownloadUrlAsync(const Model::GetAgentDownloadUrlRequest& request, const GetAgentDownloadUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			GetAgentDownloadUrlOutcomeCallable getAgentDownloadUrlCallable(const Model::GetAgentDownloadUrlRequest& request) const;
 			GetAppApiByPageOutcome getAppApiByPage(const Model::GetAppApiByPageRequest &request)const;
 			void getAppApiByPageAsync(const Model::GetAppApiByPageRequest& request, const GetAppApiByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			GetAppApiByPageOutcomeCallable getAppApiByPageCallable(const Model::GetAppApiByPageRequest& request) const;
@@ -428,9 +462,15 @@ namespace AlibabaCloud
 			ListRetcodeAppsOutcome listRetcodeApps(const Model::ListRetcodeAppsRequest &request)const;
 			void listRetcodeAppsAsync(const Model::ListRetcodeAppsRequest& request, const ListRetcodeAppsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			ListRetcodeAppsOutcomeCallable listRetcodeAppsCallable(const Model::ListRetcodeAppsRequest& request) const;
+			ListScenarioOutcome listScenario(const Model::ListScenarioRequest &request)const;
+			void listScenarioAsync(const Model::ListScenarioRequest& request, const ListScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			ListScenarioOutcomeCallable listScenarioCallable(const Model::ListScenarioRequest& request) const;
 			ListTraceAppsOutcome listTraceApps(const Model::ListTraceAppsRequest &request)const;
 			void listTraceAppsAsync(const Model::ListTraceAppsRequest& request, const ListTraceAppsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			ListTraceAppsOutcomeCallable listTraceAppsCallable(const Model::ListTraceAppsRequest& request) const;
+			OpenArmsServiceOutcome openArmsService(const Model::OpenArmsServiceRequest &request)const;
+			void openArmsServiceAsync(const Model::OpenArmsServiceRequest& request, const OpenArmsServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			OpenArmsServiceOutcomeCallable openArmsServiceCallable(const Model::OpenArmsServiceRequest& request) const;
 			QueryDatasetOutcome queryDataset(const Model::QueryDatasetRequest &request)const;
 			void queryDatasetAsync(const Model::QueryDatasetRequest& request, const QueryDatasetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			QueryDatasetOutcomeCallable queryDatasetCallable(const Model::QueryDatasetRequest& request) const;

+ 78 - 0
arms/include/alibabacloud/arms/model/ApplyScenarioRequest.h

@@ -0,0 +1,78 @@
+/*
+ * 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_ARMS_MODEL_APPLYSCENARIOREQUEST_H_
+#define ALIBABACLOUD_ARMS_MODEL_APPLYSCENARIOREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/arms/ARMSExport.h>
+
+namespace AlibabaCloud
+{
+	namespace ARMS
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_ARMS_EXPORT ApplyScenarioRequest : public RpcServiceRequest
+			{
+
+			public:
+				ApplyScenarioRequest();
+				~ApplyScenarioRequest();
+
+				bool getSnForce()const;
+				void setSnForce(bool snForce);
+				std::string getSign()const;
+				void setSign(const std::string& sign);
+				bool getSnStat()const;
+				void setSnStat(bool snStat);
+				std::string getRegionId()const;
+				void setRegionId(const std::string& regionId);
+				std::string getScenario()const;
+				void setScenario(const std::string& scenario);
+				bool getSnDump()const;
+				void setSnDump(bool snDump);
+				std::string getAppId()const;
+				void setAppId(const std::string& appId);
+				std::string getName()const;
+				void setName(const std::string& name);
+				bool getSnTransfer()const;
+				void setSnTransfer(bool snTransfer);
+				bool getUpdateOption()const;
+				void setUpdateOption(bool updateOption);
+				std::string getConfig()const;
+				void setConfig(const std::string& config);
+
+            private:
+				bool snForce_;
+				std::string sign_;
+				bool snStat_;
+				std::string regionId_;
+				std::string scenario_;
+				bool snDump_;
+				std::string appId_;
+				std::string name_;
+				bool snTransfer_;
+				bool updateOption_;
+				std::string config_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ARMS_MODEL_APPLYSCENARIOREQUEST_H_

+ 51 - 0
arms/include/alibabacloud/arms/model/ApplyScenarioResult.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_ARMS_MODEL_APPLYSCENARIORESULT_H_
+#define ALIBABACLOUD_ARMS_MODEL_APPLYSCENARIORESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/arms/ARMSExport.h>
+
+namespace AlibabaCloud
+{
+	namespace ARMS
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_ARMS_EXPORT ApplyScenarioResult : public ServiceResult
+			{
+			public:
+
+
+				ApplyScenarioResult();
+				explicit ApplyScenarioResult(const std::string &payload);
+				~ApplyScenarioResult();
+				std::string getResult()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string result_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ARMS_MODEL_APPLYSCENARIORESULT_H_

+ 48 - 0
arms/include/alibabacloud/arms/model/DeleteScenarioRequest.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_ARMS_MODEL_DELETESCENARIOREQUEST_H_
+#define ALIBABACLOUD_ARMS_MODEL_DELETESCENARIOREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/arms/ARMSExport.h>
+
+namespace AlibabaCloud
+{
+	namespace ARMS
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_ARMS_EXPORT DeleteScenarioRequest : public RpcServiceRequest
+			{
+
+			public:
+				DeleteScenarioRequest();
+				~DeleteScenarioRequest();
+
+				long getScenarioId()const;
+				void setScenarioId(long scenarioId);
+
+            private:
+				long scenarioId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ARMS_MODEL_DELETESCENARIOREQUEST_H_

+ 51 - 0
arms/include/alibabacloud/arms/model/DeleteScenarioResult.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_ARMS_MODEL_DELETESCENARIORESULT_H_
+#define ALIBABACLOUD_ARMS_MODEL_DELETESCENARIORESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/arms/ARMSExport.h>
+
+namespace AlibabaCloud
+{
+	namespace ARMS
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_ARMS_EXPORT DeleteScenarioResult : public ServiceResult
+			{
+			public:
+
+
+				DeleteScenarioResult();
+				explicit DeleteScenarioResult(const std::string &payload);
+				~DeleteScenarioResult();
+				bool getResult()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				bool result_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ARMS_MODEL_DELETESCENARIORESULT_H_

+ 48 - 0
arms/include/alibabacloud/arms/model/GetAgentDownloadUrlRequest.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_ARMS_MODEL_GETAGENTDOWNLOADURLREQUEST_H_
+#define ALIBABACLOUD_ARMS_MODEL_GETAGENTDOWNLOADURLREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/arms/ARMSExport.h>
+
+namespace AlibabaCloud
+{
+	namespace ARMS
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_ARMS_EXPORT GetAgentDownloadUrlRequest : public RpcServiceRequest
+			{
+
+			public:
+				GetAgentDownloadUrlRequest();
+				~GetAgentDownloadUrlRequest();
+
+				std::string getRegionId()const;
+				void setRegionId(const std::string& regionId);
+
+            private:
+				std::string regionId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ARMS_MODEL_GETAGENTDOWNLOADURLREQUEST_H_

+ 51 - 0
arms/include/alibabacloud/arms/model/GetAgentDownloadUrlResult.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_ARMS_MODEL_GETAGENTDOWNLOADURLRESULT_H_
+#define ALIBABACLOUD_ARMS_MODEL_GETAGENTDOWNLOADURLRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/arms/ARMSExport.h>
+
+namespace AlibabaCloud
+{
+	namespace ARMS
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_ARMS_EXPORT GetAgentDownloadUrlResult : public ServiceResult
+			{
+			public:
+
+
+				GetAgentDownloadUrlResult();
+				explicit GetAgentDownloadUrlResult(const std::string &payload);
+				~GetAgentDownloadUrlResult();
+				std::string getArmsAgentDownloadUrl()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string armsAgentDownloadUrl_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ARMS_MODEL_GETAGENTDOWNLOADURLRESULT_H_

+ 6 - 0
arms/include/alibabacloud/arms/model/ListDashboardsRequest.h

@@ -35,14 +35,20 @@ namespace AlibabaCloud
 				ListDashboardsRequest();
 				~ListDashboardsRequest();
 
+				std::string getClusterType()const;
+				void setClusterType(const std::string& clusterType);
 				std::string getRegionId()const;
 				void setRegionId(const std::string& regionId);
 				std::string getClusterId()const;
 				void setClusterId(const std::string& clusterId);
+				std::string getTitle()const;
+				void setTitle(const std::string& title);
 
             private:
+				std::string clusterType_;
 				std::string regionId_;
 				std::string clusterId_;
+				std::string title_;
 
 			};
 		}

+ 60 - 0
arms/include/alibabacloud/arms/model/ListScenarioRequest.h

@@ -0,0 +1,60 @@
+/*
+ * 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_ARMS_MODEL_LISTSCENARIOREQUEST_H_
+#define ALIBABACLOUD_ARMS_MODEL_LISTSCENARIOREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/arms/ARMSExport.h>
+
+namespace AlibabaCloud
+{
+	namespace ARMS
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_ARMS_EXPORT ListScenarioRequest : public RpcServiceRequest
+			{
+
+			public:
+				ListScenarioRequest();
+				~ListScenarioRequest();
+
+				std::string getRegionId()const;
+				void setRegionId(const std::string& regionId);
+				std::string getScenario()const;
+				void setScenario(const std::string& scenario);
+				std::string getAppId()const;
+				void setAppId(const std::string& appId);
+				std::string getName()const;
+				void setName(const std::string& name);
+				std::string getSign()const;
+				void setSign(const std::string& sign);
+
+            private:
+				std::string regionId_;
+				std::string scenario_;
+				std::string appId_;
+				std::string name_;
+				std::string sign_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ARMS_MODEL_LISTSCENARIOREQUEST_H_

+ 63 - 0
arms/include/alibabacloud/arms/model/ListScenarioResult.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_ARMS_MODEL_LISTSCENARIORESULT_H_
+#define ALIBABACLOUD_ARMS_MODEL_LISTSCENARIORESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/arms/ARMSExport.h>
+
+namespace AlibabaCloud
+{
+	namespace ARMS
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_ARMS_EXPORT ListScenarioResult : public ServiceResult
+			{
+			public:
+				struct ArmsScenariosItem
+				{
+					std::string appId;
+					std::string userId;
+					std::string createTime;
+					std::string updateTime;
+					std::string sign;
+					long id;
+					std::string regionId;
+					std::string extensions;
+					std::string name;
+				};
+
+
+				ListScenarioResult();
+				explicit ListScenarioResult(const std::string &payload);
+				~ListScenarioResult();
+				std::vector<ArmsScenariosItem> getArmsScenarios()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::vector<ArmsScenariosItem> armsScenarios_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ARMS_MODEL_LISTSCENARIORESULT_H_

+ 51 - 0
arms/include/alibabacloud/arms/model/OpenArmsServiceRequest.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_ARMS_MODEL_OPENARMSSERVICEREQUEST_H_
+#define ALIBABACLOUD_ARMS_MODEL_OPENARMSSERVICEREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/arms/ARMSExport.h>
+
+namespace AlibabaCloud
+{
+	namespace ARMS
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_ARMS_EXPORT OpenArmsServiceRequest : public RpcServiceRequest
+			{
+
+			public:
+				OpenArmsServiceRequest();
+				~OpenArmsServiceRequest();
+
+				long getOwnerId()const;
+				void setOwnerId(long ownerId);
+				std::string getType()const;
+				void setType(const std::string& type);
+
+            private:
+				long ownerId_;
+				std::string type_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ARMS_MODEL_OPENARMSSERVICEREQUEST_H_

+ 51 - 0
arms/include/alibabacloud/arms/model/OpenArmsServiceResult.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_ARMS_MODEL_OPENARMSSERVICERESULT_H_
+#define ALIBABACLOUD_ARMS_MODEL_OPENARMSSERVICERESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/arms/ARMSExport.h>
+
+namespace AlibabaCloud
+{
+	namespace ARMS
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_ARMS_EXPORT OpenArmsServiceResult : public ServiceResult
+			{
+			public:
+
+
+				OpenArmsServiceResult();
+				explicit OpenArmsServiceResult(const std::string &payload);
+				~OpenArmsServiceResult();
+				std::string getOrderId()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string orderId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_ARMS_MODEL_OPENARMSSERVICERESULT_H_

+ 180 - 0
arms/src/ARMSClient.cc

@@ -123,6 +123,42 @@ ARMSClient::AddIntegrationOutcomeCallable ARMSClient::addIntegrationCallable(con
 	return task->get_future();
 }
 
+ARMSClient::ApplyScenarioOutcome ARMSClient::applyScenario(const ApplyScenarioRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return ApplyScenarioOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return ApplyScenarioOutcome(ApplyScenarioResult(outcome.result()));
+	else
+		return ApplyScenarioOutcome(outcome.error());
+}
+
+void ARMSClient::applyScenarioAsync(const ApplyScenarioRequest& request, const ApplyScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, applyScenario(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+ARMSClient::ApplyScenarioOutcomeCallable ARMSClient::applyScenarioCallable(const ApplyScenarioRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<ApplyScenarioOutcome()>>(
+			[this, request]()
+			{
+			return this->applyScenario(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 ARMSClient::CheckDataConsistencyOutcome ARMSClient::checkDataConsistency(const CheckDataConsistencyRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -519,6 +555,42 @@ ARMSClient::DeleteRetcodeAppOutcomeCallable ARMSClient::deleteRetcodeAppCallable
 	return task->get_future();
 }
 
+ARMSClient::DeleteScenarioOutcome ARMSClient::deleteScenario(const DeleteScenarioRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return DeleteScenarioOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return DeleteScenarioOutcome(DeleteScenarioResult(outcome.result()));
+	else
+		return DeleteScenarioOutcome(outcome.error());
+}
+
+void ARMSClient::deleteScenarioAsync(const DeleteScenarioRequest& request, const DeleteScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, deleteScenario(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+ARMSClient::DeleteScenarioOutcomeCallable ARMSClient::deleteScenarioCallable(const DeleteScenarioRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<DeleteScenarioOutcome()>>(
+			[this, request]()
+			{
+			return this->deleteScenario(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 ARMSClient::DeleteTraceAppOutcome ARMSClient::deleteTraceApp(const DeleteTraceAppRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -699,6 +771,42 @@ ARMSClient::ExportPrometheusRulesOutcomeCallable ARMSClient::exportPrometheusRul
 	return task->get_future();
 }
 
+ARMSClient::GetAgentDownloadUrlOutcome ARMSClient::getAgentDownloadUrl(const GetAgentDownloadUrlRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return GetAgentDownloadUrlOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return GetAgentDownloadUrlOutcome(GetAgentDownloadUrlResult(outcome.result()));
+	else
+		return GetAgentDownloadUrlOutcome(outcome.error());
+}
+
+void ARMSClient::getAgentDownloadUrlAsync(const GetAgentDownloadUrlRequest& request, const GetAgentDownloadUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, getAgentDownloadUrl(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+ARMSClient::GetAgentDownloadUrlOutcomeCallable ARMSClient::getAgentDownloadUrlCallable(const GetAgentDownloadUrlRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<GetAgentDownloadUrlOutcome()>>(
+			[this, request]()
+			{
+			return this->getAgentDownloadUrl(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 ARMSClient::GetAppApiByPageOutcome ARMSClient::getAppApiByPage(const GetAppApiByPageRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1275,6 +1383,42 @@ ARMSClient::ListRetcodeAppsOutcomeCallable ARMSClient::listRetcodeAppsCallable(c
 	return task->get_future();
 }
 
+ARMSClient::ListScenarioOutcome ARMSClient::listScenario(const ListScenarioRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return ListScenarioOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return ListScenarioOutcome(ListScenarioResult(outcome.result()));
+	else
+		return ListScenarioOutcome(outcome.error());
+}
+
+void ARMSClient::listScenarioAsync(const ListScenarioRequest& request, const ListScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, listScenario(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+ARMSClient::ListScenarioOutcomeCallable ARMSClient::listScenarioCallable(const ListScenarioRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<ListScenarioOutcome()>>(
+			[this, request]()
+			{
+			return this->listScenario(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 ARMSClient::ListTraceAppsOutcome ARMSClient::listTraceApps(const ListTraceAppsRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1311,6 +1455,42 @@ ARMSClient::ListTraceAppsOutcomeCallable ARMSClient::listTraceAppsCallable(const
 	return task->get_future();
 }
 
+ARMSClient::OpenArmsServiceOutcome ARMSClient::openArmsService(const OpenArmsServiceRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return OpenArmsServiceOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return OpenArmsServiceOutcome(OpenArmsServiceResult(outcome.result()));
+	else
+		return OpenArmsServiceOutcome(outcome.error());
+}
+
+void ARMSClient::openArmsServiceAsync(const OpenArmsServiceRequest& request, const OpenArmsServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, openArmsService(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+ARMSClient::OpenArmsServiceOutcomeCallable ARMSClient::openArmsServiceCallable(const OpenArmsServiceRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<OpenArmsServiceOutcome()>>(
+			[this, request]()
+			{
+			return this->openArmsService(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 ARMSClient::QueryDatasetOutcome ARMSClient::queryDataset(const QueryDatasetRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();

+ 150 - 0
arms/src/model/ApplyScenarioRequest.cc

@@ -0,0 +1,150 @@
+/*
+ * 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/arms/model/ApplyScenarioRequest.h>
+
+using AlibabaCloud::ARMS::Model::ApplyScenarioRequest;
+
+ApplyScenarioRequest::ApplyScenarioRequest() :
+	RpcServiceRequest("arms", "2019-08-08", "ApplyScenario")
+{
+	setMethod(HttpRequest::Method::Post);
+}
+
+ApplyScenarioRequest::~ApplyScenarioRequest()
+{}
+
+bool ApplyScenarioRequest::getSnForce()const
+{
+	return snForce_;
+}
+
+void ApplyScenarioRequest::setSnForce(bool snForce)
+{
+	snForce_ = snForce;
+	setParameter("SnForce", snForce ? "true" : "false");
+}
+
+std::string ApplyScenarioRequest::getSign()const
+{
+	return sign_;
+}
+
+void ApplyScenarioRequest::setSign(const std::string& sign)
+{
+	sign_ = sign;
+	setParameter("Sign", sign);
+}
+
+bool ApplyScenarioRequest::getSnStat()const
+{
+	return snStat_;
+}
+
+void ApplyScenarioRequest::setSnStat(bool snStat)
+{
+	snStat_ = snStat;
+	setParameter("SnStat", snStat ? "true" : "false");
+}
+
+std::string ApplyScenarioRequest::getRegionId()const
+{
+	return regionId_;
+}
+
+void ApplyScenarioRequest::setRegionId(const std::string& regionId)
+{
+	regionId_ = regionId;
+	setParameter("RegionId", regionId);
+}
+
+std::string ApplyScenarioRequest::getScenario()const
+{
+	return scenario_;
+}
+
+void ApplyScenarioRequest::setScenario(const std::string& scenario)
+{
+	scenario_ = scenario;
+	setParameter("Scenario", scenario);
+}
+
+bool ApplyScenarioRequest::getSnDump()const
+{
+	return snDump_;
+}
+
+void ApplyScenarioRequest::setSnDump(bool snDump)
+{
+	snDump_ = snDump;
+	setParameter("SnDump", snDump ? "true" : "false");
+}
+
+std::string ApplyScenarioRequest::getAppId()const
+{
+	return appId_;
+}
+
+void ApplyScenarioRequest::setAppId(const std::string& appId)
+{
+	appId_ = appId;
+	setParameter("AppId", appId);
+}
+
+std::string ApplyScenarioRequest::getName()const
+{
+	return name_;
+}
+
+void ApplyScenarioRequest::setName(const std::string& name)
+{
+	name_ = name;
+	setParameter("Name", name);
+}
+
+bool ApplyScenarioRequest::getSnTransfer()const
+{
+	return snTransfer_;
+}
+
+void ApplyScenarioRequest::setSnTransfer(bool snTransfer)
+{
+	snTransfer_ = snTransfer;
+	setParameter("SnTransfer", snTransfer ? "true" : "false");
+}
+
+bool ApplyScenarioRequest::getUpdateOption()const
+{
+	return updateOption_;
+}
+
+void ApplyScenarioRequest::setUpdateOption(bool updateOption)
+{
+	updateOption_ = updateOption;
+	setParameter("UpdateOption", updateOption ? "true" : "false");
+}
+
+std::string ApplyScenarioRequest::getConfig()const
+{
+	return config_;
+}
+
+void ApplyScenarioRequest::setConfig(const std::string& config)
+{
+	config_ = config;
+	setParameter("Config", config);
+}
+

+ 51 - 0
arms/src/model/ApplyScenarioResult.cc

@@ -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.
+ */
+
+#include <alibabacloud/arms/model/ApplyScenarioResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::ARMS;
+using namespace AlibabaCloud::ARMS::Model;
+
+ApplyScenarioResult::ApplyScenarioResult() :
+	ServiceResult()
+{}
+
+ApplyScenarioResult::ApplyScenarioResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+ApplyScenarioResult::~ApplyScenarioResult()
+{}
+
+void ApplyScenarioResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	if(!value["Result"].isNull())
+		result_ = value["Result"].asString();
+
+}
+
+std::string ApplyScenarioResult::getResult()const
+{
+	return result_;
+}
+

+ 40 - 0
arms/src/model/DeleteScenarioRequest.cc

@@ -0,0 +1,40 @@
+/*
+ * 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/arms/model/DeleteScenarioRequest.h>
+
+using AlibabaCloud::ARMS::Model::DeleteScenarioRequest;
+
+DeleteScenarioRequest::DeleteScenarioRequest() :
+	RpcServiceRequest("arms", "2019-08-08", "DeleteScenario")
+{
+	setMethod(HttpRequest::Method::Post);
+}
+
+DeleteScenarioRequest::~DeleteScenarioRequest()
+{}
+
+long DeleteScenarioRequest::getScenarioId()const
+{
+	return scenarioId_;
+}
+
+void DeleteScenarioRequest::setScenarioId(long scenarioId)
+{
+	scenarioId_ = scenarioId;
+	setParameter("ScenarioId", std::to_string(scenarioId));
+}
+

+ 51 - 0
arms/src/model/DeleteScenarioResult.cc

@@ -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.
+ */
+
+#include <alibabacloud/arms/model/DeleteScenarioResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::ARMS;
+using namespace AlibabaCloud::ARMS::Model;
+
+DeleteScenarioResult::DeleteScenarioResult() :
+	ServiceResult()
+{}
+
+DeleteScenarioResult::DeleteScenarioResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+DeleteScenarioResult::~DeleteScenarioResult()
+{}
+
+void DeleteScenarioResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	if(!value["Result"].isNull())
+		result_ = value["Result"].asString() == "true";
+
+}
+
+bool DeleteScenarioResult::getResult()const
+{
+	return result_;
+}
+

+ 40 - 0
arms/src/model/GetAgentDownloadUrlRequest.cc

@@ -0,0 +1,40 @@
+/*
+ * 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/arms/model/GetAgentDownloadUrlRequest.h>
+
+using AlibabaCloud::ARMS::Model::GetAgentDownloadUrlRequest;
+
+GetAgentDownloadUrlRequest::GetAgentDownloadUrlRequest() :
+	RpcServiceRequest("arms", "2019-08-08", "GetAgentDownloadUrl")
+{
+	setMethod(HttpRequest::Method::Get);
+}
+
+GetAgentDownloadUrlRequest::~GetAgentDownloadUrlRequest()
+{}
+
+std::string GetAgentDownloadUrlRequest::getRegionId()const
+{
+	return regionId_;
+}
+
+void GetAgentDownloadUrlRequest::setRegionId(const std::string& regionId)
+{
+	regionId_ = regionId;
+	setParameter("RegionId", regionId);
+}
+

+ 51 - 0
arms/src/model/GetAgentDownloadUrlResult.cc

@@ -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.
+ */
+
+#include <alibabacloud/arms/model/GetAgentDownloadUrlResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::ARMS;
+using namespace AlibabaCloud::ARMS::Model;
+
+GetAgentDownloadUrlResult::GetAgentDownloadUrlResult() :
+	ServiceResult()
+{}
+
+GetAgentDownloadUrlResult::GetAgentDownloadUrlResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+GetAgentDownloadUrlResult::~GetAgentDownloadUrlResult()
+{}
+
+void GetAgentDownloadUrlResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	if(!value["ArmsAgentDownloadUrl"].isNull())
+		armsAgentDownloadUrl_ = value["ArmsAgentDownloadUrl"].asString();
+
+}
+
+std::string GetAgentDownloadUrlResult::getArmsAgentDownloadUrl()const
+{
+	return armsAgentDownloadUrl_;
+}
+

+ 22 - 0
arms/src/model/ListDashboardsRequest.cc

@@ -27,6 +27,17 @@ ListDashboardsRequest::ListDashboardsRequest() :
 ListDashboardsRequest::~ListDashboardsRequest()
 {}
 
+std::string ListDashboardsRequest::getClusterType()const
+{
+	return clusterType_;
+}
+
+void ListDashboardsRequest::setClusterType(const std::string& clusterType)
+{
+	clusterType_ = clusterType;
+	setParameter("ClusterType", clusterType);
+}
+
 std::string ListDashboardsRequest::getRegionId()const
 {
 	return regionId_;
@@ -49,3 +60,14 @@ void ListDashboardsRequest::setClusterId(const std::string& clusterId)
 	setParameter("ClusterId", clusterId);
 }
 
+std::string ListDashboardsRequest::getTitle()const
+{
+	return title_;
+}
+
+void ListDashboardsRequest::setTitle(const std::string& title)
+{
+	title_ = title;
+	setParameter("Title", title);
+}
+

+ 84 - 0
arms/src/model/ListScenarioRequest.cc

@@ -0,0 +1,84 @@
+/*
+ * 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/arms/model/ListScenarioRequest.h>
+
+using AlibabaCloud::ARMS::Model::ListScenarioRequest;
+
+ListScenarioRequest::ListScenarioRequest() :
+	RpcServiceRequest("arms", "2019-08-08", "ListScenario")
+{
+	setMethod(HttpRequest::Method::Post);
+}
+
+ListScenarioRequest::~ListScenarioRequest()
+{}
+
+std::string ListScenarioRequest::getRegionId()const
+{
+	return regionId_;
+}
+
+void ListScenarioRequest::setRegionId(const std::string& regionId)
+{
+	regionId_ = regionId;
+	setParameter("RegionId", regionId);
+}
+
+std::string ListScenarioRequest::getScenario()const
+{
+	return scenario_;
+}
+
+void ListScenarioRequest::setScenario(const std::string& scenario)
+{
+	scenario_ = scenario;
+	setParameter("Scenario", scenario);
+}
+
+std::string ListScenarioRequest::getAppId()const
+{
+	return appId_;
+}
+
+void ListScenarioRequest::setAppId(const std::string& appId)
+{
+	appId_ = appId;
+	setParameter("AppId", appId);
+}
+
+std::string ListScenarioRequest::getName()const
+{
+	return name_;
+}
+
+void ListScenarioRequest::setName(const std::string& name)
+{
+	name_ = name;
+	setParameter("Name", name);
+}
+
+std::string ListScenarioRequest::getSign()const
+{
+	return sign_;
+}
+
+void ListScenarioRequest::setSign(const std::string& sign)
+{
+	sign_ = sign;
+	setParameter("Sign", sign);
+}
+

+ 73 - 0
arms/src/model/ListScenarioResult.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/arms/model/ListScenarioResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::ARMS;
+using namespace AlibabaCloud::ARMS::Model;
+
+ListScenarioResult::ListScenarioResult() :
+	ServiceResult()
+{}
+
+ListScenarioResult::ListScenarioResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+ListScenarioResult::~ListScenarioResult()
+{}
+
+void ListScenarioResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	auto allArmsScenariosNode = value["ArmsScenarios"]["ArmsScenariosItem"];
+	for (auto valueArmsScenariosArmsScenariosItem : allArmsScenariosNode)
+	{
+		ArmsScenariosItem armsScenariosObject;
+		if(!valueArmsScenariosArmsScenariosItem["Id"].isNull())
+			armsScenariosObject.id = std::stol(valueArmsScenariosArmsScenariosItem["Id"].asString());
+		if(!valueArmsScenariosArmsScenariosItem["CreateTime"].isNull())
+			armsScenariosObject.createTime = valueArmsScenariosArmsScenariosItem["CreateTime"].asString();
+		if(!valueArmsScenariosArmsScenariosItem["UpdateTime"].isNull())
+			armsScenariosObject.updateTime = valueArmsScenariosArmsScenariosItem["UpdateTime"].asString();
+		if(!valueArmsScenariosArmsScenariosItem["Name"].isNull())
+			armsScenariosObject.name = valueArmsScenariosArmsScenariosItem["Name"].asString();
+		if(!valueArmsScenariosArmsScenariosItem["Sign"].isNull())
+			armsScenariosObject.sign = valueArmsScenariosArmsScenariosItem["Sign"].asString();
+		if(!valueArmsScenariosArmsScenariosItem["UserId"].isNull())
+			armsScenariosObject.userId = valueArmsScenariosArmsScenariosItem["UserId"].asString();
+		if(!valueArmsScenariosArmsScenariosItem["RegionId"].isNull())
+			armsScenariosObject.regionId = valueArmsScenariosArmsScenariosItem["RegionId"].asString();
+		if(!valueArmsScenariosArmsScenariosItem["AppId"].isNull())
+			armsScenariosObject.appId = valueArmsScenariosArmsScenariosItem["AppId"].asString();
+		if(!valueArmsScenariosArmsScenariosItem["Extensions"].isNull())
+			armsScenariosObject.extensions = valueArmsScenariosArmsScenariosItem["Extensions"].asString();
+		armsScenarios_.push_back(armsScenariosObject);
+	}
+
+}
+
+std::vector<ListScenarioResult::ArmsScenariosItem> ListScenarioResult::getArmsScenarios()const
+{
+	return armsScenarios_;
+}
+

+ 51 - 0
arms/src/model/OpenArmsServiceRequest.cc

@@ -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.
+ */
+
+#include <alibabacloud/arms/model/OpenArmsServiceRequest.h>
+
+using AlibabaCloud::ARMS::Model::OpenArmsServiceRequest;
+
+OpenArmsServiceRequest::OpenArmsServiceRequest() :
+	RpcServiceRequest("arms", "2019-08-08", "OpenArmsService")
+{
+	setMethod(HttpRequest::Method::Post);
+}
+
+OpenArmsServiceRequest::~OpenArmsServiceRequest()
+{}
+
+long OpenArmsServiceRequest::getOwnerId()const
+{
+	return ownerId_;
+}
+
+void OpenArmsServiceRequest::setOwnerId(long ownerId)
+{
+	ownerId_ = ownerId;
+	setParameter("OwnerId", std::to_string(ownerId));
+}
+
+std::string OpenArmsServiceRequest::getType()const
+{
+	return type_;
+}
+
+void OpenArmsServiceRequest::setType(const std::string& type)
+{
+	type_ = type;
+	setParameter("Type", type);
+}
+

+ 51 - 0
arms/src/model/OpenArmsServiceResult.cc

@@ -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.
+ */
+
+#include <alibabacloud/arms/model/OpenArmsServiceResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::ARMS;
+using namespace AlibabaCloud::ARMS::Model;
+
+OpenArmsServiceResult::OpenArmsServiceResult() :
+	ServiceResult()
+{}
+
+OpenArmsServiceResult::OpenArmsServiceResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+OpenArmsServiceResult::~OpenArmsServiceResult()
+{}
+
+void OpenArmsServiceResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	if(!value["OrderId"].isNull())
+		orderId_ = value["OrderId"].asString();
+
+}
+
+std::string OpenArmsServiceResult::getOrderId()const
+{
+	return orderId_;
+}
+