From a83c6f6c79b563dc231fb5d7fb2c94d87361464f Mon Sep 17 00:00:00 2001 From: "haowei.yao" Date: Tue, 27 Feb 2018 11:33:25 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B1=E6=B2=BB=E4=B8=96=E5=8F=91=E8=B5=B7?= =?UTF-8?q?=E7=9A=84CS=20SDK=E8=87=AA=E5=8A=A8=E5=8F=91=E5=B8=83,=20BUILD?= =?UTF-8?q?=5FID=3D442,=20=E7=89=88=E6=9C=AC=E5=8F=B7=EF=BC=9A1.2.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: haowei.yao --- CHANGELOG | 3 + CMakeLists.txt | 3 +- VERSION | 2 +- cs/CMakeLists.txt | 250 +++ cs/include/alibabacloud/cs/CSClient.h | 383 ++++ cs/include/alibabacloud/cs/CSExport.h | 32 + .../cs/model/AddAgilityClusterRequest.h | 45 + .../cs/model/AddAgilityClusterResult.h | 49 + .../cs/model/AttachInstancesRequest.h | 48 + .../cs/model/AttachInstancesResult.h | 49 + .../cs/model/CallBackAgilityClusterRequest.h | 51 + .../cs/model/CallBackAgilityClusterResult.h | 49 + .../cs/model/CallbackClusterTokenRequest.h | 51 + .../cs/model/CallbackClusterTokenResult.h | 49 + .../model/CheckAliyunCSServiceRoleRequest.h | 45 + .../cs/model/CheckAliyunCSServiceRoleResult.h | 49 + .../cs/model/CreateClusterRequest.h | 45 + .../cs/model/CreateClusterResult.h | 49 + .../cs/model/CreateClusterTokenRequest.h | 48 + .../cs/model/CreateClusterTokenResult.h | 49 + .../cs/model/CreateTemplateRequest.h | 45 + .../cs/model/CreateTemplateResult.h | 49 + .../cs/model/DeleteClusterNodeRequest.h | 57 + .../cs/model/DeleteClusterNodeResult.h | 49 + .../cs/model/DeleteClusterRequest.h | 48 + .../cs/model/DeleteClusterResult.h | 49 + .../DescribeAgilityTunnelAgentInfoRequest.h | 48 + .../DescribeAgilityTunnelAgentInfoResult.h | 49 + .../model/DescribeAgilityTunnelCertsRequest.h | 48 + .../model/DescribeAgilityTunnelCertsResult.h | 49 + .../cs/model/DescribeApiVersionRequest.h | 45 + .../cs/model/DescribeApiVersionResult.h | 49 + .../cs/model/DescribeClusterCertsRequest.h | 48 + .../cs/model/DescribeClusterCertsResult.h | 49 + .../cs/model/DescribeClusterDetailRequest.h | 48 + .../cs/model/DescribeClusterDetailResult.h | 49 + .../cs/model/DescribeClusterHostsRequest.h | 48 + .../cs/model/DescribeClusterHostsResult.h | 49 + .../cs/model/DescribeClusterLogsRequest.h | 48 + .../cs/model/DescribeClusterLogsResult.h | 49 + .../cs/model/DescribeClusterNodeInfoRequest.h | 48 + .../cs/model/DescribeClusterNodeInfoResult.h | 49 + ...scribeClusterNodeInfoWithInstanceRequest.h | 51 + ...escribeClusterNodeInfoWithInstanceResult.h | 49 + .../cs/model/DescribeClusterNodesRequest.h | 54 + .../cs/model/DescribeClusterNodesResult.h | 49 + .../model/DescribeClusterScaledNodeRequest.h | 48 + .../model/DescribeClusterScaledNodeResult.h | 49 + .../cs/model/DescribeClusterServicesRequest.h | 48 + .../cs/model/DescribeClusterServicesResult.h | 49 + .../cs/model/DescribeClusterTokensRequest.h | 48 + .../cs/model/DescribeClusterTokensResult.h | 49 + .../cs/model/DescribeClustersRequest.h | 51 + .../cs/model/DescribeClustersResult.h | 49 + .../cs/model/DescribeImagesRequest.h | 54 + .../cs/model/DescribeImagesResult.h | 49 + .../model/DescribeServiceContainersRequest.h | 51 + .../model/DescribeServiceContainersResult.h | 49 + .../cs/model/DescribeTaskInfoRequest.h | 48 + .../cs/model/DescribeTaskInfoResult.h | 49 + .../model/DescribeTemplateAttributeRequest.h | 48 + .../model/DescribeTemplateAttributeResult.h | 49 + .../cs/model/DescribeTemplatesRequest.h | 45 + .../cs/model/DescribeTemplatesResult.h | 49 + .../cs/model/DescribeUserContainersRequest.h | 51 + .../cs/model/DescribeUserContainersResult.h | 49 + .../model/DownloadClusterNodeCertsRequest.h | 51 + .../cs/model/DownloadClusterNodeCertsResult.h | 49 + .../cs/model/GatherLogsTokenRequest.h | 48 + .../cs/model/GatherLogsTokenResult.h | 49 + .../cs/model/GetClusterProjectsRequest.h | 48 + .../cs/model/GetClusterProjectsResult.h | 49 + .../cs/model/GetProjectEventsRequest.h | 51 + .../cs/model/GetProjectEventsResult.h | 49 + .../cs/model/GetTriggerHookRequest.h | 51 + .../cs/model/GetTriggerHookResult.h | 49 + .../cs/model/ModifyClusterNameRequest.h | 45 + .../cs/model/ModifyClusterNameResult.h | 49 + .../cs/model/ResetClusterNodeRequest.h | 51 + .../cs/model/ResetClusterNodeResult.h | 49 + .../cs/model/RevokeClusterTokenRequest.h | 48 + .../cs/model/RevokeClusterTokenResult.h | 49 + .../cs/model/ScaleClusterRequest.h | 48 + .../cs/model/ScaleClusterResult.h | 49 + .../cs/model/ScaleInClusterRequest.h | 48 + .../cs/model/ScaleInClusterResult.h | 49 + .../cs/model/UpdateSubUserResoucesRequest.h | 45 + .../cs/model/UpdateSubUserResoucesResult.h | 49 + .../model/UpgradeClusterComponentsRequest.h | 51 + .../cs/model/UpgradeClusterComponentsResult.h | 49 + cs/src/CSClient.cc | 1573 +++++++++++++++++ cs/src/model/AddAgilityClusterRequest.cc | 27 + cs/src/model/AddAgilityClusterResult.cc | 45 + cs/src/model/AttachInstancesRequest.cc | 38 + cs/src/model/AttachInstancesResult.cc | 45 + cs/src/model/CallBackAgilityClusterRequest.cc | 49 + cs/src/model/CallBackAgilityClusterResult.cc | 45 + cs/src/model/CallbackClusterTokenRequest.cc | 49 + cs/src/model/CallbackClusterTokenResult.cc | 45 + .../model/CheckAliyunCSServiceRoleRequest.cc | 27 + .../model/CheckAliyunCSServiceRoleResult.cc | 45 + cs/src/model/CreateClusterRequest.cc | 27 + cs/src/model/CreateClusterResult.cc | 45 + cs/src/model/CreateClusterTokenRequest.cc | 38 + cs/src/model/CreateClusterTokenResult.cc | 45 + cs/src/model/CreateTemplateRequest.cc | 27 + cs/src/model/CreateTemplateResult.cc | 45 + cs/src/model/DeleteClusterNodeRequest.cc | 71 + cs/src/model/DeleteClusterNodeResult.cc | 45 + cs/src/model/DeleteClusterRequest.cc | 38 + cs/src/model/DeleteClusterResult.cc | 45 + .../DescribeAgilityTunnelAgentInfoRequest.cc | 38 + .../DescribeAgilityTunnelAgentInfoResult.cc | 45 + .../DescribeAgilityTunnelCertsRequest.cc | 38 + .../model/DescribeAgilityTunnelCertsResult.cc | 45 + cs/src/model/DescribeApiVersionRequest.cc | 27 + cs/src/model/DescribeApiVersionResult.cc | 45 + cs/src/model/DescribeClusterCertsRequest.cc | 38 + cs/src/model/DescribeClusterCertsResult.cc | 45 + cs/src/model/DescribeClusterDetailRequest.cc | 38 + cs/src/model/DescribeClusterDetailResult.cc | 45 + cs/src/model/DescribeClusterHostsRequest.cc | 38 + cs/src/model/DescribeClusterHostsResult.cc | 45 + cs/src/model/DescribeClusterLogsRequest.cc | 38 + cs/src/model/DescribeClusterLogsResult.cc | 45 + .../model/DescribeClusterNodeInfoRequest.cc | 38 + cs/src/model/DescribeClusterNodeInfoResult.cc | 45 + ...cribeClusterNodeInfoWithInstanceRequest.cc | 49 + ...scribeClusterNodeInfoWithInstanceResult.cc | 45 + cs/src/model/DescribeClusterNodesRequest.cc | 60 + cs/src/model/DescribeClusterNodesResult.cc | 45 + .../model/DescribeClusterScaledNodeRequest.cc | 38 + .../model/DescribeClusterScaledNodeResult.cc | 45 + .../model/DescribeClusterServicesRequest.cc | 38 + cs/src/model/DescribeClusterServicesResult.cc | 45 + cs/src/model/DescribeClusterTokensRequest.cc | 38 + cs/src/model/DescribeClusterTokensResult.cc | 45 + cs/src/model/DescribeClustersRequest.cc | 49 + cs/src/model/DescribeClustersResult.cc | 45 + cs/src/model/DescribeImagesRequest.cc | 60 + cs/src/model/DescribeImagesResult.cc | 45 + .../model/DescribeServiceContainersRequest.cc | 49 + .../model/DescribeServiceContainersResult.cc | 45 + cs/src/model/DescribeTaskInfoRequest.cc | 38 + cs/src/model/DescribeTaskInfoResult.cc | 45 + .../model/DescribeTemplateAttributeRequest.cc | 38 + .../model/DescribeTemplateAttributeResult.cc | 45 + cs/src/model/DescribeTemplatesRequest.cc | 27 + cs/src/model/DescribeTemplatesResult.cc | 45 + cs/src/model/DescribeUserContainersRequest.cc | 49 + cs/src/model/DescribeUserContainersResult.cc | 45 + .../model/DownloadClusterNodeCertsRequest.cc | 49 + .../model/DownloadClusterNodeCertsResult.cc | 45 + cs/src/model/GatherLogsTokenRequest.cc | 38 + cs/src/model/GatherLogsTokenResult.cc | 45 + cs/src/model/GetClusterProjectsRequest.cc | 38 + cs/src/model/GetClusterProjectsResult.cc | 45 + cs/src/model/GetProjectEventsRequest.cc | 49 + cs/src/model/GetProjectEventsResult.cc | 45 + cs/src/model/GetTriggerHookRequest.cc | 49 + cs/src/model/GetTriggerHookResult.cc | 45 + cs/src/model/ModifyClusterNameRequest.cc | 27 + cs/src/model/ModifyClusterNameResult.cc | 45 + cs/src/model/ResetClusterNodeRequest.cc | 49 + cs/src/model/ResetClusterNodeResult.cc | 45 + cs/src/model/RevokeClusterTokenRequest.cc | 38 + cs/src/model/RevokeClusterTokenResult.cc | 45 + cs/src/model/ScaleClusterRequest.cc | 38 + cs/src/model/ScaleClusterResult.cc | 45 + cs/src/model/ScaleInClusterRequest.cc | 38 + cs/src/model/ScaleInClusterResult.cc | 45 + cs/src/model/UpdateSubUserResoucesRequest.cc | 27 + cs/src/model/UpdateSubUserResoucesResult.cc | 45 + .../model/UpgradeClusterComponentsRequest.cc | 49 + .../model/UpgradeClusterComponentsResult.cc | 45 + 175 files changed, 9944 insertions(+), 2 deletions(-) create mode 100644 cs/CMakeLists.txt create mode 100644 cs/include/alibabacloud/cs/CSClient.h create mode 100644 cs/include/alibabacloud/cs/CSExport.h create mode 100644 cs/include/alibabacloud/cs/model/AddAgilityClusterRequest.h create mode 100644 cs/include/alibabacloud/cs/model/AddAgilityClusterResult.h create mode 100644 cs/include/alibabacloud/cs/model/AttachInstancesRequest.h create mode 100644 cs/include/alibabacloud/cs/model/AttachInstancesResult.h create mode 100644 cs/include/alibabacloud/cs/model/CallBackAgilityClusterRequest.h create mode 100644 cs/include/alibabacloud/cs/model/CallBackAgilityClusterResult.h create mode 100644 cs/include/alibabacloud/cs/model/CallbackClusterTokenRequest.h create mode 100644 cs/include/alibabacloud/cs/model/CallbackClusterTokenResult.h create mode 100644 cs/include/alibabacloud/cs/model/CheckAliyunCSServiceRoleRequest.h create mode 100644 cs/include/alibabacloud/cs/model/CheckAliyunCSServiceRoleResult.h create mode 100644 cs/include/alibabacloud/cs/model/CreateClusterRequest.h create mode 100644 cs/include/alibabacloud/cs/model/CreateClusterResult.h create mode 100644 cs/include/alibabacloud/cs/model/CreateClusterTokenRequest.h create mode 100644 cs/include/alibabacloud/cs/model/CreateClusterTokenResult.h create mode 100644 cs/include/alibabacloud/cs/model/CreateTemplateRequest.h create mode 100644 cs/include/alibabacloud/cs/model/CreateTemplateResult.h create mode 100644 cs/include/alibabacloud/cs/model/DeleteClusterNodeRequest.h create mode 100644 cs/include/alibabacloud/cs/model/DeleteClusterNodeResult.h create mode 100644 cs/include/alibabacloud/cs/model/DeleteClusterRequest.h create mode 100644 cs/include/alibabacloud/cs/model/DeleteClusterResult.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeAgilityTunnelAgentInfoRequest.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeAgilityTunnelAgentInfoResult.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeAgilityTunnelCertsRequest.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeAgilityTunnelCertsResult.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeApiVersionRequest.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeApiVersionResult.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeClusterCertsRequest.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeClusterCertsResult.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeClusterDetailRequest.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeClusterDetailResult.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeClusterHostsRequest.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeClusterHostsResult.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeClusterLogsRequest.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeClusterLogsResult.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeClusterNodeInfoRequest.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeClusterNodeInfoResult.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeClusterNodeInfoWithInstanceRequest.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeClusterNodeInfoWithInstanceResult.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeClusterNodesRequest.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeClusterNodesResult.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeClusterScaledNodeRequest.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeClusterScaledNodeResult.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeClusterServicesRequest.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeClusterServicesResult.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeClusterTokensRequest.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeClusterTokensResult.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeClustersRequest.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeClustersResult.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeImagesRequest.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeImagesResult.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeServiceContainersRequest.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeServiceContainersResult.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeTaskInfoRequest.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeTaskInfoResult.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeTemplateAttributeRequest.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeTemplateAttributeResult.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeTemplatesRequest.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeTemplatesResult.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeUserContainersRequest.h create mode 100644 cs/include/alibabacloud/cs/model/DescribeUserContainersResult.h create mode 100644 cs/include/alibabacloud/cs/model/DownloadClusterNodeCertsRequest.h create mode 100644 cs/include/alibabacloud/cs/model/DownloadClusterNodeCertsResult.h create mode 100644 cs/include/alibabacloud/cs/model/GatherLogsTokenRequest.h create mode 100644 cs/include/alibabacloud/cs/model/GatherLogsTokenResult.h create mode 100644 cs/include/alibabacloud/cs/model/GetClusterProjectsRequest.h create mode 100644 cs/include/alibabacloud/cs/model/GetClusterProjectsResult.h create mode 100644 cs/include/alibabacloud/cs/model/GetProjectEventsRequest.h create mode 100644 cs/include/alibabacloud/cs/model/GetProjectEventsResult.h create mode 100644 cs/include/alibabacloud/cs/model/GetTriggerHookRequest.h create mode 100644 cs/include/alibabacloud/cs/model/GetTriggerHookResult.h create mode 100644 cs/include/alibabacloud/cs/model/ModifyClusterNameRequest.h create mode 100644 cs/include/alibabacloud/cs/model/ModifyClusterNameResult.h create mode 100644 cs/include/alibabacloud/cs/model/ResetClusterNodeRequest.h create mode 100644 cs/include/alibabacloud/cs/model/ResetClusterNodeResult.h create mode 100644 cs/include/alibabacloud/cs/model/RevokeClusterTokenRequest.h create mode 100644 cs/include/alibabacloud/cs/model/RevokeClusterTokenResult.h create mode 100644 cs/include/alibabacloud/cs/model/ScaleClusterRequest.h create mode 100644 cs/include/alibabacloud/cs/model/ScaleClusterResult.h create mode 100644 cs/include/alibabacloud/cs/model/ScaleInClusterRequest.h create mode 100644 cs/include/alibabacloud/cs/model/ScaleInClusterResult.h create mode 100644 cs/include/alibabacloud/cs/model/UpdateSubUserResoucesRequest.h create mode 100644 cs/include/alibabacloud/cs/model/UpdateSubUserResoucesResult.h create mode 100644 cs/include/alibabacloud/cs/model/UpgradeClusterComponentsRequest.h create mode 100644 cs/include/alibabacloud/cs/model/UpgradeClusterComponentsResult.h create mode 100644 cs/src/CSClient.cc create mode 100644 cs/src/model/AddAgilityClusterRequest.cc create mode 100644 cs/src/model/AddAgilityClusterResult.cc create mode 100644 cs/src/model/AttachInstancesRequest.cc create mode 100644 cs/src/model/AttachInstancesResult.cc create mode 100644 cs/src/model/CallBackAgilityClusterRequest.cc create mode 100644 cs/src/model/CallBackAgilityClusterResult.cc create mode 100644 cs/src/model/CallbackClusterTokenRequest.cc create mode 100644 cs/src/model/CallbackClusterTokenResult.cc create mode 100644 cs/src/model/CheckAliyunCSServiceRoleRequest.cc create mode 100644 cs/src/model/CheckAliyunCSServiceRoleResult.cc create mode 100644 cs/src/model/CreateClusterRequest.cc create mode 100644 cs/src/model/CreateClusterResult.cc create mode 100644 cs/src/model/CreateClusterTokenRequest.cc create mode 100644 cs/src/model/CreateClusterTokenResult.cc create mode 100644 cs/src/model/CreateTemplateRequest.cc create mode 100644 cs/src/model/CreateTemplateResult.cc create mode 100644 cs/src/model/DeleteClusterNodeRequest.cc create mode 100644 cs/src/model/DeleteClusterNodeResult.cc create mode 100644 cs/src/model/DeleteClusterRequest.cc create mode 100644 cs/src/model/DeleteClusterResult.cc create mode 100644 cs/src/model/DescribeAgilityTunnelAgentInfoRequest.cc create mode 100644 cs/src/model/DescribeAgilityTunnelAgentInfoResult.cc create mode 100644 cs/src/model/DescribeAgilityTunnelCertsRequest.cc create mode 100644 cs/src/model/DescribeAgilityTunnelCertsResult.cc create mode 100644 cs/src/model/DescribeApiVersionRequest.cc create mode 100644 cs/src/model/DescribeApiVersionResult.cc create mode 100644 cs/src/model/DescribeClusterCertsRequest.cc create mode 100644 cs/src/model/DescribeClusterCertsResult.cc create mode 100644 cs/src/model/DescribeClusterDetailRequest.cc create mode 100644 cs/src/model/DescribeClusterDetailResult.cc create mode 100644 cs/src/model/DescribeClusterHostsRequest.cc create mode 100644 cs/src/model/DescribeClusterHostsResult.cc create mode 100644 cs/src/model/DescribeClusterLogsRequest.cc create mode 100644 cs/src/model/DescribeClusterLogsResult.cc create mode 100644 cs/src/model/DescribeClusterNodeInfoRequest.cc create mode 100644 cs/src/model/DescribeClusterNodeInfoResult.cc create mode 100644 cs/src/model/DescribeClusterNodeInfoWithInstanceRequest.cc create mode 100644 cs/src/model/DescribeClusterNodeInfoWithInstanceResult.cc create mode 100644 cs/src/model/DescribeClusterNodesRequest.cc create mode 100644 cs/src/model/DescribeClusterNodesResult.cc create mode 100644 cs/src/model/DescribeClusterScaledNodeRequest.cc create mode 100644 cs/src/model/DescribeClusterScaledNodeResult.cc create mode 100644 cs/src/model/DescribeClusterServicesRequest.cc create mode 100644 cs/src/model/DescribeClusterServicesResult.cc create mode 100644 cs/src/model/DescribeClusterTokensRequest.cc create mode 100644 cs/src/model/DescribeClusterTokensResult.cc create mode 100644 cs/src/model/DescribeClustersRequest.cc create mode 100644 cs/src/model/DescribeClustersResult.cc create mode 100644 cs/src/model/DescribeImagesRequest.cc create mode 100644 cs/src/model/DescribeImagesResult.cc create mode 100644 cs/src/model/DescribeServiceContainersRequest.cc create mode 100644 cs/src/model/DescribeServiceContainersResult.cc create mode 100644 cs/src/model/DescribeTaskInfoRequest.cc create mode 100644 cs/src/model/DescribeTaskInfoResult.cc create mode 100644 cs/src/model/DescribeTemplateAttributeRequest.cc create mode 100644 cs/src/model/DescribeTemplateAttributeResult.cc create mode 100644 cs/src/model/DescribeTemplatesRequest.cc create mode 100644 cs/src/model/DescribeTemplatesResult.cc create mode 100644 cs/src/model/DescribeUserContainersRequest.cc create mode 100644 cs/src/model/DescribeUserContainersResult.cc create mode 100644 cs/src/model/DownloadClusterNodeCertsRequest.cc create mode 100644 cs/src/model/DownloadClusterNodeCertsResult.cc create mode 100644 cs/src/model/GatherLogsTokenRequest.cc create mode 100644 cs/src/model/GatherLogsTokenResult.cc create mode 100644 cs/src/model/GetClusterProjectsRequest.cc create mode 100644 cs/src/model/GetClusterProjectsResult.cc create mode 100644 cs/src/model/GetProjectEventsRequest.cc create mode 100644 cs/src/model/GetProjectEventsResult.cc create mode 100644 cs/src/model/GetTriggerHookRequest.cc create mode 100644 cs/src/model/GetTriggerHookResult.cc create mode 100644 cs/src/model/ModifyClusterNameRequest.cc create mode 100644 cs/src/model/ModifyClusterNameResult.cc create mode 100644 cs/src/model/ResetClusterNodeRequest.cc create mode 100644 cs/src/model/ResetClusterNodeResult.cc create mode 100644 cs/src/model/RevokeClusterTokenRequest.cc create mode 100644 cs/src/model/RevokeClusterTokenResult.cc create mode 100644 cs/src/model/ScaleClusterRequest.cc create mode 100644 cs/src/model/ScaleClusterResult.cc create mode 100644 cs/src/model/ScaleInClusterRequest.cc create mode 100644 cs/src/model/ScaleInClusterResult.cc create mode 100644 cs/src/model/UpdateSubUserResoucesRequest.cc create mode 100644 cs/src/model/UpdateSubUserResoucesResult.cc create mode 100644 cs/src/model/UpgradeClusterComponentsRequest.cc create mode 100644 cs/src/model/UpgradeClusterComponentsResult.cc diff --git a/CHANGELOG b/CHANGELOG index c24c13cee..cb15c719e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2018-02-27 Version: 1.2.0 +1, add new api DescribeClusters,DescribeClusterLogs,DescribeClusterNodes,UpgradeClusterComponents + 2018-02-09 Version: 1.1.0 1, Aliyun E-HPC service SDK, initial version. 2, Include APIs of E-HPC clusters, nodes, users, jobs, job templates etc. diff --git a/CMakeLists.txt b/CMakeLists.txt index 32730bbf8..d522356bd 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,4 +61,5 @@ add_subdirectory(tesladam) add_subdirectory(cms) add_subdirectory(afs) add_subdirectory(aegis) -add_subdirectory(ehpc) \ No newline at end of file +add_subdirectory(ehpc) +add_subdirectory(cs) \ No newline at end of file diff --git a/VERSION b/VERSION index 1cc5f657e..867e52437 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.0 \ No newline at end of file +1.2.0 \ No newline at end of file diff --git a/cs/CMakeLists.txt b/cs/CMakeLists.txt new file mode 100644 index 000000000..35da4b863 --- /dev/null +++ b/cs/CMakeLists.txt @@ -0,0 +1,250 @@ +# +# 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. +# + +set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include) + +set(cs_public_header + include/alibabacloud/cs/CSClient.h + include/alibabacloud/cs/CSExport.h ) + +set(cs_public_header_model + include/alibabacloud/cs/model/AttachInstancesRequest.h + include/alibabacloud/cs/model/AttachInstancesResult.h + include/alibabacloud/cs/model/CallbackClusterTokenRequest.h + include/alibabacloud/cs/model/CallbackClusterTokenResult.h + include/alibabacloud/cs/model/DescribeTemplatesRequest.h + include/alibabacloud/cs/model/DescribeTemplatesResult.h + include/alibabacloud/cs/model/GetProjectEventsRequest.h + include/alibabacloud/cs/model/GetProjectEventsResult.h + include/alibabacloud/cs/model/CheckAliyunCSServiceRoleRequest.h + include/alibabacloud/cs/model/CheckAliyunCSServiceRoleResult.h + include/alibabacloud/cs/model/DescribeTemplateAttributeRequest.h + include/alibabacloud/cs/model/DescribeTemplateAttributeResult.h + include/alibabacloud/cs/model/CreateTemplateRequest.h + include/alibabacloud/cs/model/CreateTemplateResult.h + include/alibabacloud/cs/model/DescribeClusterCertsRequest.h + include/alibabacloud/cs/model/DescribeClusterCertsResult.h + include/alibabacloud/cs/model/DeleteClusterRequest.h + include/alibabacloud/cs/model/DeleteClusterResult.h + include/alibabacloud/cs/model/DescribeClusterNodesRequest.h + include/alibabacloud/cs/model/DescribeClusterNodesResult.h + include/alibabacloud/cs/model/CallBackAgilityClusterRequest.h + include/alibabacloud/cs/model/CallBackAgilityClusterResult.h + include/alibabacloud/cs/model/DescribeClusterScaledNodeRequest.h + include/alibabacloud/cs/model/DescribeClusterScaledNodeResult.h + include/alibabacloud/cs/model/DescribeClusterLogsRequest.h + include/alibabacloud/cs/model/DescribeClusterLogsResult.h + include/alibabacloud/cs/model/DescribeClusterDetailRequest.h + include/alibabacloud/cs/model/DescribeClusterDetailResult.h + include/alibabacloud/cs/model/ResetClusterNodeRequest.h + include/alibabacloud/cs/model/ResetClusterNodeResult.h + include/alibabacloud/cs/model/DescribeServiceContainersRequest.h + include/alibabacloud/cs/model/DescribeServiceContainersResult.h + include/alibabacloud/cs/model/DescribeTaskInfoRequest.h + include/alibabacloud/cs/model/DescribeTaskInfoResult.h + include/alibabacloud/cs/model/GetClusterProjectsRequest.h + include/alibabacloud/cs/model/GetClusterProjectsResult.h + include/alibabacloud/cs/model/DescribeClusterServicesRequest.h + include/alibabacloud/cs/model/DescribeClusterServicesResult.h + include/alibabacloud/cs/model/ScaleInClusterRequest.h + include/alibabacloud/cs/model/ScaleInClusterResult.h + include/alibabacloud/cs/model/DeleteClusterNodeRequest.h + include/alibabacloud/cs/model/DeleteClusterNodeResult.h + include/alibabacloud/cs/model/RevokeClusterTokenRequest.h + include/alibabacloud/cs/model/RevokeClusterTokenResult.h + include/alibabacloud/cs/model/DescribeClustersRequest.h + include/alibabacloud/cs/model/DescribeClustersResult.h + include/alibabacloud/cs/model/AddAgilityClusterRequest.h + include/alibabacloud/cs/model/AddAgilityClusterResult.h + include/alibabacloud/cs/model/DescribeImagesRequest.h + include/alibabacloud/cs/model/DescribeImagesResult.h + include/alibabacloud/cs/model/GetTriggerHookRequest.h + include/alibabacloud/cs/model/GetTriggerHookResult.h + include/alibabacloud/cs/model/DescribeClusterTokensRequest.h + include/alibabacloud/cs/model/DescribeClusterTokensResult.h + include/alibabacloud/cs/model/UpdateSubUserResoucesRequest.h + include/alibabacloud/cs/model/UpdateSubUserResoucesResult.h + include/alibabacloud/cs/model/ModifyClusterNameRequest.h + include/alibabacloud/cs/model/ModifyClusterNameResult.h + include/alibabacloud/cs/model/DescribeClusterHostsRequest.h + include/alibabacloud/cs/model/DescribeClusterHostsResult.h + include/alibabacloud/cs/model/DescribeApiVersionRequest.h + include/alibabacloud/cs/model/DescribeApiVersionResult.h + include/alibabacloud/cs/model/GatherLogsTokenRequest.h + include/alibabacloud/cs/model/GatherLogsTokenResult.h + include/alibabacloud/cs/model/CreateClusterTokenRequest.h + include/alibabacloud/cs/model/CreateClusterTokenResult.h + include/alibabacloud/cs/model/DescribeUserContainersRequest.h + include/alibabacloud/cs/model/DescribeUserContainersResult.h + include/alibabacloud/cs/model/DescribeAgilityTunnelAgentInfoRequest.h + include/alibabacloud/cs/model/DescribeAgilityTunnelAgentInfoResult.h + include/alibabacloud/cs/model/DescribeClusterNodeInfoRequest.h + include/alibabacloud/cs/model/DescribeClusterNodeInfoResult.h + include/alibabacloud/cs/model/ScaleClusterRequest.h + include/alibabacloud/cs/model/ScaleClusterResult.h + include/alibabacloud/cs/model/DescribeAgilityTunnelCertsRequest.h + include/alibabacloud/cs/model/DescribeAgilityTunnelCertsResult.h + include/alibabacloud/cs/model/DescribeClusterNodeInfoWithInstanceRequest.h + include/alibabacloud/cs/model/DescribeClusterNodeInfoWithInstanceResult.h + include/alibabacloud/cs/model/UpgradeClusterComponentsRequest.h + include/alibabacloud/cs/model/UpgradeClusterComponentsResult.h + include/alibabacloud/cs/model/DownloadClusterNodeCertsRequest.h + include/alibabacloud/cs/model/DownloadClusterNodeCertsResult.h + include/alibabacloud/cs/model/CreateClusterRequest.h + include/alibabacloud/cs/model/CreateClusterResult.h ) + +set(cs_src + src/CSClient.cc + src/model/AttachInstancesRequest.cc + src/model/AttachInstancesResult.cc + src/model/CallbackClusterTokenRequest.cc + src/model/CallbackClusterTokenResult.cc + src/model/DescribeTemplatesRequest.cc + src/model/DescribeTemplatesResult.cc + src/model/GetProjectEventsRequest.cc + src/model/GetProjectEventsResult.cc + src/model/CheckAliyunCSServiceRoleRequest.cc + src/model/CheckAliyunCSServiceRoleResult.cc + src/model/DescribeTemplateAttributeRequest.cc + src/model/DescribeTemplateAttributeResult.cc + src/model/CreateTemplateRequest.cc + src/model/CreateTemplateResult.cc + src/model/DescribeClusterCertsRequest.cc + src/model/DescribeClusterCertsResult.cc + src/model/DeleteClusterRequest.cc + src/model/DeleteClusterResult.cc + src/model/DescribeClusterNodesRequest.cc + src/model/DescribeClusterNodesResult.cc + src/model/CallBackAgilityClusterRequest.cc + src/model/CallBackAgilityClusterResult.cc + src/model/DescribeClusterScaledNodeRequest.cc + src/model/DescribeClusterScaledNodeResult.cc + src/model/DescribeClusterLogsRequest.cc + src/model/DescribeClusterLogsResult.cc + src/model/DescribeClusterDetailRequest.cc + src/model/DescribeClusterDetailResult.cc + src/model/ResetClusterNodeRequest.cc + src/model/ResetClusterNodeResult.cc + src/model/DescribeServiceContainersRequest.cc + src/model/DescribeServiceContainersResult.cc + src/model/DescribeTaskInfoRequest.cc + src/model/DescribeTaskInfoResult.cc + src/model/GetClusterProjectsRequest.cc + src/model/GetClusterProjectsResult.cc + src/model/DescribeClusterServicesRequest.cc + src/model/DescribeClusterServicesResult.cc + src/model/ScaleInClusterRequest.cc + src/model/ScaleInClusterResult.cc + src/model/DeleteClusterNodeRequest.cc + src/model/DeleteClusterNodeResult.cc + src/model/RevokeClusterTokenRequest.cc + src/model/RevokeClusterTokenResult.cc + src/model/DescribeClustersRequest.cc + src/model/DescribeClustersResult.cc + src/model/AddAgilityClusterRequest.cc + src/model/AddAgilityClusterResult.cc + src/model/DescribeImagesRequest.cc + src/model/DescribeImagesResult.cc + src/model/GetTriggerHookRequest.cc + src/model/GetTriggerHookResult.cc + src/model/DescribeClusterTokensRequest.cc + src/model/DescribeClusterTokensResult.cc + src/model/UpdateSubUserResoucesRequest.cc + src/model/UpdateSubUserResoucesResult.cc + src/model/ModifyClusterNameRequest.cc + src/model/ModifyClusterNameResult.cc + src/model/DescribeClusterHostsRequest.cc + src/model/DescribeClusterHostsResult.cc + src/model/DescribeApiVersionRequest.cc + src/model/DescribeApiVersionResult.cc + src/model/GatherLogsTokenRequest.cc + src/model/GatherLogsTokenResult.cc + src/model/CreateClusterTokenRequest.cc + src/model/CreateClusterTokenResult.cc + src/model/DescribeUserContainersRequest.cc + src/model/DescribeUserContainersResult.cc + src/model/DescribeAgilityTunnelAgentInfoRequest.cc + src/model/DescribeAgilityTunnelAgentInfoResult.cc + src/model/DescribeClusterNodeInfoRequest.cc + src/model/DescribeClusterNodeInfoResult.cc + src/model/ScaleClusterRequest.cc + src/model/ScaleClusterResult.cc + src/model/DescribeAgilityTunnelCertsRequest.cc + src/model/DescribeAgilityTunnelCertsResult.cc + src/model/DescribeClusterNodeInfoWithInstanceRequest.cc + src/model/DescribeClusterNodeInfoWithInstanceResult.cc + src/model/UpgradeClusterComponentsRequest.cc + src/model/UpgradeClusterComponentsResult.cc + src/model/DownloadClusterNodeCertsRequest.cc + src/model/DownloadClusterNodeCertsResult.cc + src/model/CreateClusterRequest.cc + src/model/CreateClusterResult.cc ) + +add_library(cs ${LIB_TYPE} + ${cs_public_header} + ${cs_public_header_model} + ${cs_src}) + +set_target_properties(cs + PROPERTIES + LINKER_LANGUAGE CXX + ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin + OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}cs + ) + +if(${LIB_TYPE} STREQUAL "SHARED") + set_target_properties(cs + PROPERTIES + DEFINE_SYMBOL ALIBABACLOUD_CS_LIBRARY) +endif() + +target_include_directories(cs + PRIVATE include + ${CMAKE_SOURCE_DIR}/core/include + ) +target_link_libraries(cs + core) + +if(CMAKE_HOST_WIN32) + ExternalProject_Get_Property(jsoncpp INSTALL_DIR) + set(jsoncpp_install_dir ${INSTALL_DIR}) + add_dependencies(cs + jsoncpp) + target_include_directories(cs + PRIVATE ${jsoncpp_install_dir}/include) + target_link_libraries(cs + ${jsoncpp_install_dir}/lib/jsoncpp.lib) + set_target_properties(cs + PROPERTIES + COMPILE_OPTIONS "/bigobj") +else() + target_include_directories(cs + PRIVATE /usr/include/jsoncpp) + target_link_libraries(cs + jsoncpp) +endif() + +install(FILES ${cs_public_header} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/cs) +install(FILES ${cs_public_header_model} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/cs/model) +install(TARGETS cs + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + ) \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/CSClient.h b/cs/include/alibabacloud/cs/CSClient.h new file mode 100644 index 000000000..efd8d5419 --- /dev/null +++ b/cs/include/alibabacloud/cs/CSClient.h @@ -0,0 +1,383 @@ +/* + * 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_CS_CSCLIENT_H_ +#define ALIBABACLOUD_CS_CSCLIENT_H_ + +#include +#include +#include +#include +#include "CSExport.h" +#include "model/AttachInstancesRequest.h" +#include "model/AttachInstancesResult.h" +#include "model/CallbackClusterTokenRequest.h" +#include "model/CallbackClusterTokenResult.h" +#include "model/DescribeTemplatesRequest.h" +#include "model/DescribeTemplatesResult.h" +#include "model/GetProjectEventsRequest.h" +#include "model/GetProjectEventsResult.h" +#include "model/CheckAliyunCSServiceRoleRequest.h" +#include "model/CheckAliyunCSServiceRoleResult.h" +#include "model/DescribeTemplateAttributeRequest.h" +#include "model/DescribeTemplateAttributeResult.h" +#include "model/CreateTemplateRequest.h" +#include "model/CreateTemplateResult.h" +#include "model/DescribeClusterCertsRequest.h" +#include "model/DescribeClusterCertsResult.h" +#include "model/DeleteClusterRequest.h" +#include "model/DeleteClusterResult.h" +#include "model/DescribeClusterNodesRequest.h" +#include "model/DescribeClusterNodesResult.h" +#include "model/CallBackAgilityClusterRequest.h" +#include "model/CallBackAgilityClusterResult.h" +#include "model/DescribeClusterScaledNodeRequest.h" +#include "model/DescribeClusterScaledNodeResult.h" +#include "model/DescribeClusterLogsRequest.h" +#include "model/DescribeClusterLogsResult.h" +#include "model/DescribeClusterDetailRequest.h" +#include "model/DescribeClusterDetailResult.h" +#include "model/ResetClusterNodeRequest.h" +#include "model/ResetClusterNodeResult.h" +#include "model/DescribeServiceContainersRequest.h" +#include "model/DescribeServiceContainersResult.h" +#include "model/DescribeTaskInfoRequest.h" +#include "model/DescribeTaskInfoResult.h" +#include "model/GetClusterProjectsRequest.h" +#include "model/GetClusterProjectsResult.h" +#include "model/DescribeClusterServicesRequest.h" +#include "model/DescribeClusterServicesResult.h" +#include "model/ScaleInClusterRequest.h" +#include "model/ScaleInClusterResult.h" +#include "model/DeleteClusterNodeRequest.h" +#include "model/DeleteClusterNodeResult.h" +#include "model/RevokeClusterTokenRequest.h" +#include "model/RevokeClusterTokenResult.h" +#include "model/DescribeClustersRequest.h" +#include "model/DescribeClustersResult.h" +#include "model/AddAgilityClusterRequest.h" +#include "model/AddAgilityClusterResult.h" +#include "model/DescribeImagesRequest.h" +#include "model/DescribeImagesResult.h" +#include "model/GetTriggerHookRequest.h" +#include "model/GetTriggerHookResult.h" +#include "model/DescribeClusterTokensRequest.h" +#include "model/DescribeClusterTokensResult.h" +#include "model/UpdateSubUserResoucesRequest.h" +#include "model/UpdateSubUserResoucesResult.h" +#include "model/ModifyClusterNameRequest.h" +#include "model/ModifyClusterNameResult.h" +#include "model/DescribeClusterHostsRequest.h" +#include "model/DescribeClusterHostsResult.h" +#include "model/DescribeApiVersionRequest.h" +#include "model/DescribeApiVersionResult.h" +#include "model/GatherLogsTokenRequest.h" +#include "model/GatherLogsTokenResult.h" +#include "model/CreateClusterTokenRequest.h" +#include "model/CreateClusterTokenResult.h" +#include "model/DescribeUserContainersRequest.h" +#include "model/DescribeUserContainersResult.h" +#include "model/DescribeAgilityTunnelAgentInfoRequest.h" +#include "model/DescribeAgilityTunnelAgentInfoResult.h" +#include "model/DescribeClusterNodeInfoRequest.h" +#include "model/DescribeClusterNodeInfoResult.h" +#include "model/ScaleClusterRequest.h" +#include "model/ScaleClusterResult.h" +#include "model/DescribeAgilityTunnelCertsRequest.h" +#include "model/DescribeAgilityTunnelCertsResult.h" +#include "model/DescribeClusterNodeInfoWithInstanceRequest.h" +#include "model/DescribeClusterNodeInfoWithInstanceResult.h" +#include "model/UpgradeClusterComponentsRequest.h" +#include "model/UpgradeClusterComponentsResult.h" +#include "model/DownloadClusterNodeCertsRequest.h" +#include "model/DownloadClusterNodeCertsResult.h" +#include "model/CreateClusterRequest.h" +#include "model/CreateClusterResult.h" + + +namespace AlibabaCloud +{ + namespace CS + { + class ALIBABACLOUD_CS_EXPORT CSClient : public RoaServiceClient + { + public: + typedef Outcome AttachInstancesOutcome; + typedef std::future AttachInstancesOutcomeCallable; + typedef std::function&)> AttachInstancesAsyncHandler; + typedef Outcome CallbackClusterTokenOutcome; + typedef std::future CallbackClusterTokenOutcomeCallable; + typedef std::function&)> CallbackClusterTokenAsyncHandler; + typedef Outcome DescribeTemplatesOutcome; + typedef std::future DescribeTemplatesOutcomeCallable; + typedef std::function&)> DescribeTemplatesAsyncHandler; + typedef Outcome GetProjectEventsOutcome; + typedef std::future GetProjectEventsOutcomeCallable; + typedef std::function&)> GetProjectEventsAsyncHandler; + typedef Outcome CheckAliyunCSServiceRoleOutcome; + typedef std::future CheckAliyunCSServiceRoleOutcomeCallable; + typedef std::function&)> CheckAliyunCSServiceRoleAsyncHandler; + typedef Outcome DescribeTemplateAttributeOutcome; + typedef std::future DescribeTemplateAttributeOutcomeCallable; + typedef std::function&)> DescribeTemplateAttributeAsyncHandler; + typedef Outcome CreateTemplateOutcome; + typedef std::future CreateTemplateOutcomeCallable; + typedef std::function&)> CreateTemplateAsyncHandler; + typedef Outcome DescribeClusterCertsOutcome; + typedef std::future DescribeClusterCertsOutcomeCallable; + typedef std::function&)> DescribeClusterCertsAsyncHandler; + typedef Outcome DeleteClusterOutcome; + typedef std::future DeleteClusterOutcomeCallable; + typedef std::function&)> DeleteClusterAsyncHandler; + typedef Outcome DescribeClusterNodesOutcome; + typedef std::future DescribeClusterNodesOutcomeCallable; + typedef std::function&)> DescribeClusterNodesAsyncHandler; + typedef Outcome CallBackAgilityClusterOutcome; + typedef std::future CallBackAgilityClusterOutcomeCallable; + typedef std::function&)> CallBackAgilityClusterAsyncHandler; + typedef Outcome DescribeClusterScaledNodeOutcome; + typedef std::future DescribeClusterScaledNodeOutcomeCallable; + typedef std::function&)> DescribeClusterScaledNodeAsyncHandler; + typedef Outcome DescribeClusterLogsOutcome; + typedef std::future DescribeClusterLogsOutcomeCallable; + typedef std::function&)> DescribeClusterLogsAsyncHandler; + typedef Outcome DescribeClusterDetailOutcome; + typedef std::future DescribeClusterDetailOutcomeCallable; + typedef std::function&)> DescribeClusterDetailAsyncHandler; + typedef Outcome ResetClusterNodeOutcome; + typedef std::future ResetClusterNodeOutcomeCallable; + typedef std::function&)> ResetClusterNodeAsyncHandler; + typedef Outcome DescribeServiceContainersOutcome; + typedef std::future DescribeServiceContainersOutcomeCallable; + typedef std::function&)> DescribeServiceContainersAsyncHandler; + typedef Outcome DescribeTaskInfoOutcome; + typedef std::future DescribeTaskInfoOutcomeCallable; + typedef std::function&)> DescribeTaskInfoAsyncHandler; + typedef Outcome GetClusterProjectsOutcome; + typedef std::future GetClusterProjectsOutcomeCallable; + typedef std::function&)> GetClusterProjectsAsyncHandler; + typedef Outcome DescribeClusterServicesOutcome; + typedef std::future DescribeClusterServicesOutcomeCallable; + typedef std::function&)> DescribeClusterServicesAsyncHandler; + typedef Outcome ScaleInClusterOutcome; + typedef std::future ScaleInClusterOutcomeCallable; + typedef std::function&)> ScaleInClusterAsyncHandler; + typedef Outcome DeleteClusterNodeOutcome; + typedef std::future DeleteClusterNodeOutcomeCallable; + typedef std::function&)> DeleteClusterNodeAsyncHandler; + typedef Outcome RevokeClusterTokenOutcome; + typedef std::future RevokeClusterTokenOutcomeCallable; + typedef std::function&)> RevokeClusterTokenAsyncHandler; + typedef Outcome DescribeClustersOutcome; + typedef std::future DescribeClustersOutcomeCallable; + typedef std::function&)> DescribeClustersAsyncHandler; + typedef Outcome AddAgilityClusterOutcome; + typedef std::future AddAgilityClusterOutcomeCallable; + typedef std::function&)> AddAgilityClusterAsyncHandler; + typedef Outcome DescribeImagesOutcome; + typedef std::future DescribeImagesOutcomeCallable; + typedef std::function&)> DescribeImagesAsyncHandler; + typedef Outcome GetTriggerHookOutcome; + typedef std::future GetTriggerHookOutcomeCallable; + typedef std::function&)> GetTriggerHookAsyncHandler; + typedef Outcome DescribeClusterTokensOutcome; + typedef std::future DescribeClusterTokensOutcomeCallable; + typedef std::function&)> DescribeClusterTokensAsyncHandler; + typedef Outcome UpdateSubUserResoucesOutcome; + typedef std::future UpdateSubUserResoucesOutcomeCallable; + typedef std::function&)> UpdateSubUserResoucesAsyncHandler; + typedef Outcome ModifyClusterNameOutcome; + typedef std::future ModifyClusterNameOutcomeCallable; + typedef std::function&)> ModifyClusterNameAsyncHandler; + typedef Outcome DescribeClusterHostsOutcome; + typedef std::future DescribeClusterHostsOutcomeCallable; + typedef std::function&)> DescribeClusterHostsAsyncHandler; + typedef Outcome DescribeApiVersionOutcome; + typedef std::future DescribeApiVersionOutcomeCallable; + typedef std::function&)> DescribeApiVersionAsyncHandler; + typedef Outcome GatherLogsTokenOutcome; + typedef std::future GatherLogsTokenOutcomeCallable; + typedef std::function&)> GatherLogsTokenAsyncHandler; + typedef Outcome CreateClusterTokenOutcome; + typedef std::future CreateClusterTokenOutcomeCallable; + typedef std::function&)> CreateClusterTokenAsyncHandler; + typedef Outcome DescribeUserContainersOutcome; + typedef std::future DescribeUserContainersOutcomeCallable; + typedef std::function&)> DescribeUserContainersAsyncHandler; + typedef Outcome DescribeAgilityTunnelAgentInfoOutcome; + typedef std::future DescribeAgilityTunnelAgentInfoOutcomeCallable; + typedef std::function&)> DescribeAgilityTunnelAgentInfoAsyncHandler; + typedef Outcome DescribeClusterNodeInfoOutcome; + typedef std::future DescribeClusterNodeInfoOutcomeCallable; + typedef std::function&)> DescribeClusterNodeInfoAsyncHandler; + typedef Outcome ScaleClusterOutcome; + typedef std::future ScaleClusterOutcomeCallable; + typedef std::function&)> ScaleClusterAsyncHandler; + typedef Outcome DescribeAgilityTunnelCertsOutcome; + typedef std::future DescribeAgilityTunnelCertsOutcomeCallable; + typedef std::function&)> DescribeAgilityTunnelCertsAsyncHandler; + typedef Outcome DescribeClusterNodeInfoWithInstanceOutcome; + typedef std::future DescribeClusterNodeInfoWithInstanceOutcomeCallable; + typedef std::function&)> DescribeClusterNodeInfoWithInstanceAsyncHandler; + typedef Outcome UpgradeClusterComponentsOutcome; + typedef std::future UpgradeClusterComponentsOutcomeCallable; + typedef std::function&)> UpgradeClusterComponentsAsyncHandler; + typedef Outcome DownloadClusterNodeCertsOutcome; + typedef std::future DownloadClusterNodeCertsOutcomeCallable; + typedef std::function&)> DownloadClusterNodeCertsAsyncHandler; + typedef Outcome CreateClusterOutcome; + typedef std::future CreateClusterOutcomeCallable; + typedef std::function&)> CreateClusterAsyncHandler; + + CSClient(const Credentials &credentials, const ClientConfiguration &configuration); + CSClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); + CSClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); + ~CSClient(); + AttachInstancesOutcome attachInstances(const Model::AttachInstancesRequest &request)const; + void attachInstancesAsync(const Model::AttachInstancesRequest& request, const AttachInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AttachInstancesOutcomeCallable attachInstancesCallable(const Model::AttachInstancesRequest& request) const; + CallbackClusterTokenOutcome callbackClusterToken(const Model::CallbackClusterTokenRequest &request)const; + void callbackClusterTokenAsync(const Model::CallbackClusterTokenRequest& request, const CallbackClusterTokenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CallbackClusterTokenOutcomeCallable callbackClusterTokenCallable(const Model::CallbackClusterTokenRequest& request) const; + DescribeTemplatesOutcome describeTemplates(const Model::DescribeTemplatesRequest &request)const; + void describeTemplatesAsync(const Model::DescribeTemplatesRequest& request, const DescribeTemplatesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeTemplatesOutcomeCallable describeTemplatesCallable(const Model::DescribeTemplatesRequest& request) const; + GetProjectEventsOutcome getProjectEvents(const Model::GetProjectEventsRequest &request)const; + void getProjectEventsAsync(const Model::GetProjectEventsRequest& request, const GetProjectEventsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetProjectEventsOutcomeCallable getProjectEventsCallable(const Model::GetProjectEventsRequest& request) const; + CheckAliyunCSServiceRoleOutcome checkAliyunCSServiceRole(const Model::CheckAliyunCSServiceRoleRequest &request)const; + void checkAliyunCSServiceRoleAsync(const Model::CheckAliyunCSServiceRoleRequest& request, const CheckAliyunCSServiceRoleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CheckAliyunCSServiceRoleOutcomeCallable checkAliyunCSServiceRoleCallable(const Model::CheckAliyunCSServiceRoleRequest& request) const; + DescribeTemplateAttributeOutcome describeTemplateAttribute(const Model::DescribeTemplateAttributeRequest &request)const; + void describeTemplateAttributeAsync(const Model::DescribeTemplateAttributeRequest& request, const DescribeTemplateAttributeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeTemplateAttributeOutcomeCallable describeTemplateAttributeCallable(const Model::DescribeTemplateAttributeRequest& request) const; + CreateTemplateOutcome createTemplate(const Model::CreateTemplateRequest &request)const; + void createTemplateAsync(const Model::CreateTemplateRequest& request, const CreateTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateTemplateOutcomeCallable createTemplateCallable(const Model::CreateTemplateRequest& request) const; + DescribeClusterCertsOutcome describeClusterCerts(const Model::DescribeClusterCertsRequest &request)const; + void describeClusterCertsAsync(const Model::DescribeClusterCertsRequest& request, const DescribeClusterCertsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeClusterCertsOutcomeCallable describeClusterCertsCallable(const Model::DescribeClusterCertsRequest& request) const; + DeleteClusterOutcome deleteCluster(const Model::DeleteClusterRequest &request)const; + void deleteClusterAsync(const Model::DeleteClusterRequest& request, const DeleteClusterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteClusterOutcomeCallable deleteClusterCallable(const Model::DeleteClusterRequest& request) const; + DescribeClusterNodesOutcome describeClusterNodes(const Model::DescribeClusterNodesRequest &request)const; + void describeClusterNodesAsync(const Model::DescribeClusterNodesRequest& request, const DescribeClusterNodesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeClusterNodesOutcomeCallable describeClusterNodesCallable(const Model::DescribeClusterNodesRequest& request) const; + CallBackAgilityClusterOutcome callBackAgilityCluster(const Model::CallBackAgilityClusterRequest &request)const; + void callBackAgilityClusterAsync(const Model::CallBackAgilityClusterRequest& request, const CallBackAgilityClusterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CallBackAgilityClusterOutcomeCallable callBackAgilityClusterCallable(const Model::CallBackAgilityClusterRequest& request) const; + DescribeClusterScaledNodeOutcome describeClusterScaledNode(const Model::DescribeClusterScaledNodeRequest &request)const; + void describeClusterScaledNodeAsync(const Model::DescribeClusterScaledNodeRequest& request, const DescribeClusterScaledNodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeClusterScaledNodeOutcomeCallable describeClusterScaledNodeCallable(const Model::DescribeClusterScaledNodeRequest& request) const; + DescribeClusterLogsOutcome describeClusterLogs(const Model::DescribeClusterLogsRequest &request)const; + void describeClusterLogsAsync(const Model::DescribeClusterLogsRequest& request, const DescribeClusterLogsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeClusterLogsOutcomeCallable describeClusterLogsCallable(const Model::DescribeClusterLogsRequest& request) const; + DescribeClusterDetailOutcome describeClusterDetail(const Model::DescribeClusterDetailRequest &request)const; + void describeClusterDetailAsync(const Model::DescribeClusterDetailRequest& request, const DescribeClusterDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeClusterDetailOutcomeCallable describeClusterDetailCallable(const Model::DescribeClusterDetailRequest& request) const; + ResetClusterNodeOutcome resetClusterNode(const Model::ResetClusterNodeRequest &request)const; + void resetClusterNodeAsync(const Model::ResetClusterNodeRequest& request, const ResetClusterNodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ResetClusterNodeOutcomeCallable resetClusterNodeCallable(const Model::ResetClusterNodeRequest& request) const; + DescribeServiceContainersOutcome describeServiceContainers(const Model::DescribeServiceContainersRequest &request)const; + void describeServiceContainersAsync(const Model::DescribeServiceContainersRequest& request, const DescribeServiceContainersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeServiceContainersOutcomeCallable describeServiceContainersCallable(const Model::DescribeServiceContainersRequest& request) const; + DescribeTaskInfoOutcome describeTaskInfo(const Model::DescribeTaskInfoRequest &request)const; + void describeTaskInfoAsync(const Model::DescribeTaskInfoRequest& request, const DescribeTaskInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeTaskInfoOutcomeCallable describeTaskInfoCallable(const Model::DescribeTaskInfoRequest& request) const; + GetClusterProjectsOutcome getClusterProjects(const Model::GetClusterProjectsRequest &request)const; + void getClusterProjectsAsync(const Model::GetClusterProjectsRequest& request, const GetClusterProjectsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetClusterProjectsOutcomeCallable getClusterProjectsCallable(const Model::GetClusterProjectsRequest& request) const; + DescribeClusterServicesOutcome describeClusterServices(const Model::DescribeClusterServicesRequest &request)const; + void describeClusterServicesAsync(const Model::DescribeClusterServicesRequest& request, const DescribeClusterServicesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeClusterServicesOutcomeCallable describeClusterServicesCallable(const Model::DescribeClusterServicesRequest& request) const; + ScaleInClusterOutcome scaleInCluster(const Model::ScaleInClusterRequest &request)const; + void scaleInClusterAsync(const Model::ScaleInClusterRequest& request, const ScaleInClusterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ScaleInClusterOutcomeCallable scaleInClusterCallable(const Model::ScaleInClusterRequest& request) const; + DeleteClusterNodeOutcome deleteClusterNode(const Model::DeleteClusterNodeRequest &request)const; + void deleteClusterNodeAsync(const Model::DeleteClusterNodeRequest& request, const DeleteClusterNodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteClusterNodeOutcomeCallable deleteClusterNodeCallable(const Model::DeleteClusterNodeRequest& request) const; + RevokeClusterTokenOutcome revokeClusterToken(const Model::RevokeClusterTokenRequest &request)const; + void revokeClusterTokenAsync(const Model::RevokeClusterTokenRequest& request, const RevokeClusterTokenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RevokeClusterTokenOutcomeCallable revokeClusterTokenCallable(const Model::RevokeClusterTokenRequest& request) const; + DescribeClustersOutcome describeClusters(const Model::DescribeClustersRequest &request)const; + void describeClustersAsync(const Model::DescribeClustersRequest& request, const DescribeClustersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeClustersOutcomeCallable describeClustersCallable(const Model::DescribeClustersRequest& request) const; + AddAgilityClusterOutcome addAgilityCluster(const Model::AddAgilityClusterRequest &request)const; + void addAgilityClusterAsync(const Model::AddAgilityClusterRequest& request, const AddAgilityClusterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddAgilityClusterOutcomeCallable addAgilityClusterCallable(const Model::AddAgilityClusterRequest& request) const; + DescribeImagesOutcome describeImages(const Model::DescribeImagesRequest &request)const; + void describeImagesAsync(const Model::DescribeImagesRequest& request, const DescribeImagesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeImagesOutcomeCallable describeImagesCallable(const Model::DescribeImagesRequest& request) const; + GetTriggerHookOutcome getTriggerHook(const Model::GetTriggerHookRequest &request)const; + void getTriggerHookAsync(const Model::GetTriggerHookRequest& request, const GetTriggerHookAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetTriggerHookOutcomeCallable getTriggerHookCallable(const Model::GetTriggerHookRequest& request) const; + DescribeClusterTokensOutcome describeClusterTokens(const Model::DescribeClusterTokensRequest &request)const; + void describeClusterTokensAsync(const Model::DescribeClusterTokensRequest& request, const DescribeClusterTokensAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeClusterTokensOutcomeCallable describeClusterTokensCallable(const Model::DescribeClusterTokensRequest& request) const; + UpdateSubUserResoucesOutcome updateSubUserResouces(const Model::UpdateSubUserResoucesRequest &request)const; + void updateSubUserResoucesAsync(const Model::UpdateSubUserResoucesRequest& request, const UpdateSubUserResoucesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateSubUserResoucesOutcomeCallable updateSubUserResoucesCallable(const Model::UpdateSubUserResoucesRequest& request) const; + ModifyClusterNameOutcome modifyClusterName(const Model::ModifyClusterNameRequest &request)const; + void modifyClusterNameAsync(const Model::ModifyClusterNameRequest& request, const ModifyClusterNameAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyClusterNameOutcomeCallable modifyClusterNameCallable(const Model::ModifyClusterNameRequest& request) const; + DescribeClusterHostsOutcome describeClusterHosts(const Model::DescribeClusterHostsRequest &request)const; + void describeClusterHostsAsync(const Model::DescribeClusterHostsRequest& request, const DescribeClusterHostsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeClusterHostsOutcomeCallable describeClusterHostsCallable(const Model::DescribeClusterHostsRequest& request) const; + DescribeApiVersionOutcome describeApiVersion(const Model::DescribeApiVersionRequest &request)const; + void describeApiVersionAsync(const Model::DescribeApiVersionRequest& request, const DescribeApiVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeApiVersionOutcomeCallable describeApiVersionCallable(const Model::DescribeApiVersionRequest& request) const; + GatherLogsTokenOutcome gatherLogsToken(const Model::GatherLogsTokenRequest &request)const; + void gatherLogsTokenAsync(const Model::GatherLogsTokenRequest& request, const GatherLogsTokenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GatherLogsTokenOutcomeCallable gatherLogsTokenCallable(const Model::GatherLogsTokenRequest& request) const; + CreateClusterTokenOutcome createClusterToken(const Model::CreateClusterTokenRequest &request)const; + void createClusterTokenAsync(const Model::CreateClusterTokenRequest& request, const CreateClusterTokenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateClusterTokenOutcomeCallable createClusterTokenCallable(const Model::CreateClusterTokenRequest& request) const; + DescribeUserContainersOutcome describeUserContainers(const Model::DescribeUserContainersRequest &request)const; + void describeUserContainersAsync(const Model::DescribeUserContainersRequest& request, const DescribeUserContainersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeUserContainersOutcomeCallable describeUserContainersCallable(const Model::DescribeUserContainersRequest& request) const; + DescribeAgilityTunnelAgentInfoOutcome describeAgilityTunnelAgentInfo(const Model::DescribeAgilityTunnelAgentInfoRequest &request)const; + void describeAgilityTunnelAgentInfoAsync(const Model::DescribeAgilityTunnelAgentInfoRequest& request, const DescribeAgilityTunnelAgentInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAgilityTunnelAgentInfoOutcomeCallable describeAgilityTunnelAgentInfoCallable(const Model::DescribeAgilityTunnelAgentInfoRequest& request) const; + DescribeClusterNodeInfoOutcome describeClusterNodeInfo(const Model::DescribeClusterNodeInfoRequest &request)const; + void describeClusterNodeInfoAsync(const Model::DescribeClusterNodeInfoRequest& request, const DescribeClusterNodeInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeClusterNodeInfoOutcomeCallable describeClusterNodeInfoCallable(const Model::DescribeClusterNodeInfoRequest& request) const; + ScaleClusterOutcome scaleCluster(const Model::ScaleClusterRequest &request)const; + void scaleClusterAsync(const Model::ScaleClusterRequest& request, const ScaleClusterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ScaleClusterOutcomeCallable scaleClusterCallable(const Model::ScaleClusterRequest& request) const; + DescribeAgilityTunnelCertsOutcome describeAgilityTunnelCerts(const Model::DescribeAgilityTunnelCertsRequest &request)const; + void describeAgilityTunnelCertsAsync(const Model::DescribeAgilityTunnelCertsRequest& request, const DescribeAgilityTunnelCertsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAgilityTunnelCertsOutcomeCallable describeAgilityTunnelCertsCallable(const Model::DescribeAgilityTunnelCertsRequest& request) const; + DescribeClusterNodeInfoWithInstanceOutcome describeClusterNodeInfoWithInstance(const Model::DescribeClusterNodeInfoWithInstanceRequest &request)const; + void describeClusterNodeInfoWithInstanceAsync(const Model::DescribeClusterNodeInfoWithInstanceRequest& request, const DescribeClusterNodeInfoWithInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeClusterNodeInfoWithInstanceOutcomeCallable describeClusterNodeInfoWithInstanceCallable(const Model::DescribeClusterNodeInfoWithInstanceRequest& request) const; + UpgradeClusterComponentsOutcome upgradeClusterComponents(const Model::UpgradeClusterComponentsRequest &request)const; + void upgradeClusterComponentsAsync(const Model::UpgradeClusterComponentsRequest& request, const UpgradeClusterComponentsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpgradeClusterComponentsOutcomeCallable upgradeClusterComponentsCallable(const Model::UpgradeClusterComponentsRequest& request) const; + DownloadClusterNodeCertsOutcome downloadClusterNodeCerts(const Model::DownloadClusterNodeCertsRequest &request)const; + void downloadClusterNodeCertsAsync(const Model::DownloadClusterNodeCertsRequest& request, const DownloadClusterNodeCertsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DownloadClusterNodeCertsOutcomeCallable downloadClusterNodeCertsCallable(const Model::DownloadClusterNodeCertsRequest& request) const; + CreateClusterOutcome createCluster(const Model::CreateClusterRequest &request)const; + void createClusterAsync(const Model::CreateClusterRequest& request, const CreateClusterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateClusterOutcomeCallable createClusterCallable(const Model::CreateClusterRequest& request) const; + + private: + virtual EndpointOutcome endpoint()const override; + std::shared_ptr endpointProvider_; + }; + } +} + +#endif // !ALIBABACLOUD_CS_CSCLIENT_H_ diff --git a/cs/include/alibabacloud/cs/CSExport.h b/cs/include/alibabacloud/cs/CSExport.h new file mode 100644 index 000000000..6a0c0ed7e --- /dev/null +++ b/cs/include/alibabacloud/cs/CSExport.h @@ -0,0 +1,32 @@ +/* + * 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_CS_CSEXPORT_H_ +#define ALIBABACLOUD_CS_CSEXPORT_H_ + +#include + +#if defined(ALIBABACLOUD_SHARED) +# if defined(ALIBABACLOUD_CS_LIBRARY) +# define ALIBABACLOUD_CS_EXPORT ALIBABACLOUD_DECL_EXPORT +# else +# define ALIBABACLOUD_CS_EXPORT ALIBABACLOUD_DECL_IMPORT +# endif +#else +# define ALIBABACLOUD_CS_EXPORT +#endif + +#endif // !ALIBABACLOUD_CS_CSEXPORT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/AddAgilityClusterRequest.h b/cs/include/alibabacloud/cs/model/AddAgilityClusterRequest.h new file mode 100644 index 000000000..dd4d26dc7 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/AddAgilityClusterRequest.h @@ -0,0 +1,45 @@ +/* + * 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_CS_MODEL_ADDAGILITYCLUSTERREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_ADDAGILITYCLUSTERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT AddAgilityClusterRequest : public RoaServiceRequest + { + + public: + AddAgilityClusterRequest(); + ~AddAgilityClusterRequest(); + + + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_ADDAGILITYCLUSTERREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/AddAgilityClusterResult.h b/cs/include/alibabacloud/cs/model/AddAgilityClusterResult.h new file mode 100644 index 000000000..bdea35272 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/AddAgilityClusterResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_ADDAGILITYCLUSTERRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_ADDAGILITYCLUSTERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT AddAgilityClusterResult : public ServiceResult + { + public: + + + AddAgilityClusterResult(); + explicit AddAgilityClusterResult(const std::string &payload); + ~AddAgilityClusterResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_ADDAGILITYCLUSTERRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/AttachInstancesRequest.h b/cs/include/alibabacloud/cs/model/AttachInstancesRequest.h new file mode 100644 index 000000000..96f36b6af --- /dev/null +++ b/cs/include/alibabacloud/cs/model/AttachInstancesRequest.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_CS_MODEL_ATTACHINSTANCESREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_ATTACHINSTANCESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT AttachInstancesRequest : public RoaServiceRequest + { + + public: + AttachInstancesRequest(); + ~AttachInstancesRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + + private: + std::string clusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_ATTACHINSTANCESREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/AttachInstancesResult.h b/cs/include/alibabacloud/cs/model/AttachInstancesResult.h new file mode 100644 index 000000000..de844bd8e --- /dev/null +++ b/cs/include/alibabacloud/cs/model/AttachInstancesResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_ATTACHINSTANCESRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_ATTACHINSTANCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT AttachInstancesResult : public ServiceResult + { + public: + + + AttachInstancesResult(); + explicit AttachInstancesResult(const std::string &payload); + ~AttachInstancesResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_ATTACHINSTANCESRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/CallBackAgilityClusterRequest.h b/cs/include/alibabacloud/cs/model/CallBackAgilityClusterRequest.h new file mode 100644 index 000000000..57bda865b --- /dev/null +++ b/cs/include/alibabacloud/cs/model/CallBackAgilityClusterRequest.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_CS_MODEL_CALLBACKAGILITYCLUSTERREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_CALLBACKAGILITYCLUSTERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT CallBackAgilityClusterRequest : public RoaServiceRequest + { + + public: + CallBackAgilityClusterRequest(); + ~CallBackAgilityClusterRequest(); + + std::string getReqOnce()const; + void setReqOnce(const std::string& reqOnce); + std::string getToken()const; + void setToken(const std::string& token); + + private: + std::string reqOnce_; + std::string token_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_CALLBACKAGILITYCLUSTERREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/CallBackAgilityClusterResult.h b/cs/include/alibabacloud/cs/model/CallBackAgilityClusterResult.h new file mode 100644 index 000000000..715616b19 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/CallBackAgilityClusterResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_CALLBACKAGILITYCLUSTERRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_CALLBACKAGILITYCLUSTERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT CallBackAgilityClusterResult : public ServiceResult + { + public: + + + CallBackAgilityClusterResult(); + explicit CallBackAgilityClusterResult(const std::string &payload); + ~CallBackAgilityClusterResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_CALLBACKAGILITYCLUSTERRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/CallbackClusterTokenRequest.h b/cs/include/alibabacloud/cs/model/CallbackClusterTokenRequest.h new file mode 100644 index 000000000..62d9c68ed --- /dev/null +++ b/cs/include/alibabacloud/cs/model/CallbackClusterTokenRequest.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_CS_MODEL_CALLBACKCLUSTERTOKENREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_CALLBACKCLUSTERTOKENREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT CallbackClusterTokenRequest : public RoaServiceRequest + { + + public: + CallbackClusterTokenRequest(); + ~CallbackClusterTokenRequest(); + + std::string getReqOnce()const; + void setReqOnce(const std::string& reqOnce); + std::string getToken()const; + void setToken(const std::string& token); + + private: + std::string reqOnce_; + std::string token_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_CALLBACKCLUSTERTOKENREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/CallbackClusterTokenResult.h b/cs/include/alibabacloud/cs/model/CallbackClusterTokenResult.h new file mode 100644 index 000000000..d92e4cf48 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/CallbackClusterTokenResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_CALLBACKCLUSTERTOKENRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_CALLBACKCLUSTERTOKENRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT CallbackClusterTokenResult : public ServiceResult + { + public: + + + CallbackClusterTokenResult(); + explicit CallbackClusterTokenResult(const std::string &payload); + ~CallbackClusterTokenResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_CALLBACKCLUSTERTOKENRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/CheckAliyunCSServiceRoleRequest.h b/cs/include/alibabacloud/cs/model/CheckAliyunCSServiceRoleRequest.h new file mode 100644 index 000000000..63e3f5051 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/CheckAliyunCSServiceRoleRequest.h @@ -0,0 +1,45 @@ +/* + * 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_CS_MODEL_CHECKALIYUNCSSERVICEROLEREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_CHECKALIYUNCSSERVICEROLEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT CheckAliyunCSServiceRoleRequest : public RoaServiceRequest + { + + public: + CheckAliyunCSServiceRoleRequest(); + ~CheckAliyunCSServiceRoleRequest(); + + + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_CHECKALIYUNCSSERVICEROLEREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/CheckAliyunCSServiceRoleResult.h b/cs/include/alibabacloud/cs/model/CheckAliyunCSServiceRoleResult.h new file mode 100644 index 000000000..3e655879e --- /dev/null +++ b/cs/include/alibabacloud/cs/model/CheckAliyunCSServiceRoleResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_CHECKALIYUNCSSERVICEROLERESULT_H_ +#define ALIBABACLOUD_CS_MODEL_CHECKALIYUNCSSERVICEROLERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT CheckAliyunCSServiceRoleResult : public ServiceResult + { + public: + + + CheckAliyunCSServiceRoleResult(); + explicit CheckAliyunCSServiceRoleResult(const std::string &payload); + ~CheckAliyunCSServiceRoleResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_CHECKALIYUNCSSERVICEROLERESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/CreateClusterRequest.h b/cs/include/alibabacloud/cs/model/CreateClusterRequest.h new file mode 100644 index 000000000..365455062 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/CreateClusterRequest.h @@ -0,0 +1,45 @@ +/* + * 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_CS_MODEL_CREATECLUSTERREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_CREATECLUSTERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT CreateClusterRequest : public RoaServiceRequest + { + + public: + CreateClusterRequest(); + ~CreateClusterRequest(); + + + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_CREATECLUSTERREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/CreateClusterResult.h b/cs/include/alibabacloud/cs/model/CreateClusterResult.h new file mode 100644 index 000000000..ebae8f09c --- /dev/null +++ b/cs/include/alibabacloud/cs/model/CreateClusterResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_CREATECLUSTERRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_CREATECLUSTERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT CreateClusterResult : public ServiceResult + { + public: + + + CreateClusterResult(); + explicit CreateClusterResult(const std::string &payload); + ~CreateClusterResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_CREATECLUSTERRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/CreateClusterTokenRequest.h b/cs/include/alibabacloud/cs/model/CreateClusterTokenRequest.h new file mode 100644 index 000000000..b510df087 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/CreateClusterTokenRequest.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_CS_MODEL_CREATECLUSTERTOKENREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_CREATECLUSTERTOKENREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT CreateClusterTokenRequest : public RoaServiceRequest + { + + public: + CreateClusterTokenRequest(); + ~CreateClusterTokenRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + + private: + std::string clusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_CREATECLUSTERTOKENREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/CreateClusterTokenResult.h b/cs/include/alibabacloud/cs/model/CreateClusterTokenResult.h new file mode 100644 index 000000000..0477b5cce --- /dev/null +++ b/cs/include/alibabacloud/cs/model/CreateClusterTokenResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_CREATECLUSTERTOKENRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_CREATECLUSTERTOKENRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT CreateClusterTokenResult : public ServiceResult + { + public: + + + CreateClusterTokenResult(); + explicit CreateClusterTokenResult(const std::string &payload); + ~CreateClusterTokenResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_CREATECLUSTERTOKENRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/CreateTemplateRequest.h b/cs/include/alibabacloud/cs/model/CreateTemplateRequest.h new file mode 100644 index 000000000..0b612117b --- /dev/null +++ b/cs/include/alibabacloud/cs/model/CreateTemplateRequest.h @@ -0,0 +1,45 @@ +/* + * 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_CS_MODEL_CREATETEMPLATEREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_CREATETEMPLATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT CreateTemplateRequest : public RoaServiceRequest + { + + public: + CreateTemplateRequest(); + ~CreateTemplateRequest(); + + + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_CREATETEMPLATEREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/CreateTemplateResult.h b/cs/include/alibabacloud/cs/model/CreateTemplateResult.h new file mode 100644 index 000000000..de155dc15 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/CreateTemplateResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_CREATETEMPLATERESULT_H_ +#define ALIBABACLOUD_CS_MODEL_CREATETEMPLATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT CreateTemplateResult : public ServiceResult + { + public: + + + CreateTemplateResult(); + explicit CreateTemplateResult(const std::string &payload); + ~CreateTemplateResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_CREATETEMPLATERESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DeleteClusterNodeRequest.h b/cs/include/alibabacloud/cs/model/DeleteClusterNodeRequest.h new file mode 100644 index 000000000..d2b777c2a --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DeleteClusterNodeRequest.h @@ -0,0 +1,57 @@ +/* + * 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_CS_MODEL_DELETECLUSTERNODEREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_DELETECLUSTERNODEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DeleteClusterNodeRequest : public RoaServiceRequest + { + + public: + DeleteClusterNodeRequest(); + ~DeleteClusterNodeRequest(); + + std::string getReleaseInstance()const; + void setReleaseInstance(const std::string& releaseInstance); + std::string getIp()const; + void setIp(const std::string& ip); + std::string getForce()const; + void setForce(const std::string& force); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + + private: + std::string releaseInstance_; + std::string ip_; + std::string force_; + std::string clusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DELETECLUSTERNODEREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DeleteClusterNodeResult.h b/cs/include/alibabacloud/cs/model/DeleteClusterNodeResult.h new file mode 100644 index 000000000..904bbbdf1 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DeleteClusterNodeResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_DELETECLUSTERNODERESULT_H_ +#define ALIBABACLOUD_CS_MODEL_DELETECLUSTERNODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DeleteClusterNodeResult : public ServiceResult + { + public: + + + DeleteClusterNodeResult(); + explicit DeleteClusterNodeResult(const std::string &payload); + ~DeleteClusterNodeResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DELETECLUSTERNODERESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DeleteClusterRequest.h b/cs/include/alibabacloud/cs/model/DeleteClusterRequest.h new file mode 100644 index 000000000..efa3453f7 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DeleteClusterRequest.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_CS_MODEL_DELETECLUSTERREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_DELETECLUSTERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DeleteClusterRequest : public RoaServiceRequest + { + + public: + DeleteClusterRequest(); + ~DeleteClusterRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + + private: + std::string clusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DELETECLUSTERREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DeleteClusterResult.h b/cs/include/alibabacloud/cs/model/DeleteClusterResult.h new file mode 100644 index 000000000..af9554117 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DeleteClusterResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_DELETECLUSTERRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_DELETECLUSTERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DeleteClusterResult : public ServiceResult + { + public: + + + DeleteClusterResult(); + explicit DeleteClusterResult(const std::string &payload); + ~DeleteClusterResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DELETECLUSTERRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeAgilityTunnelAgentInfoRequest.h b/cs/include/alibabacloud/cs/model/DescribeAgilityTunnelAgentInfoRequest.h new file mode 100644 index 000000000..8d4137904 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeAgilityTunnelAgentInfoRequest.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_CS_MODEL_DESCRIBEAGILITYTUNNELAGENTINFOREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBEAGILITYTUNNELAGENTINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeAgilityTunnelAgentInfoRequest : public RoaServiceRequest + { + + public: + DescribeAgilityTunnelAgentInfoRequest(); + ~DescribeAgilityTunnelAgentInfoRequest(); + + std::string getToken()const; + void setToken(const std::string& token); + + private: + std::string token_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEAGILITYTUNNELAGENTINFOREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeAgilityTunnelAgentInfoResult.h b/cs/include/alibabacloud/cs/model/DescribeAgilityTunnelAgentInfoResult.h new file mode 100644 index 000000000..5f0fada30 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeAgilityTunnelAgentInfoResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_DESCRIBEAGILITYTUNNELAGENTINFORESULT_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBEAGILITYTUNNELAGENTINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeAgilityTunnelAgentInfoResult : public ServiceResult + { + public: + + + DescribeAgilityTunnelAgentInfoResult(); + explicit DescribeAgilityTunnelAgentInfoResult(const std::string &payload); + ~DescribeAgilityTunnelAgentInfoResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEAGILITYTUNNELAGENTINFORESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeAgilityTunnelCertsRequest.h b/cs/include/alibabacloud/cs/model/DescribeAgilityTunnelCertsRequest.h new file mode 100644 index 000000000..c5841c2d6 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeAgilityTunnelCertsRequest.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_CS_MODEL_DESCRIBEAGILITYTUNNELCERTSREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBEAGILITYTUNNELCERTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeAgilityTunnelCertsRequest : public RoaServiceRequest + { + + public: + DescribeAgilityTunnelCertsRequest(); + ~DescribeAgilityTunnelCertsRequest(); + + std::string getToken()const; + void setToken(const std::string& token); + + private: + std::string token_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEAGILITYTUNNELCERTSREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeAgilityTunnelCertsResult.h b/cs/include/alibabacloud/cs/model/DescribeAgilityTunnelCertsResult.h new file mode 100644 index 000000000..e42a19131 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeAgilityTunnelCertsResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_DESCRIBEAGILITYTUNNELCERTSRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBEAGILITYTUNNELCERTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeAgilityTunnelCertsResult : public ServiceResult + { + public: + + + DescribeAgilityTunnelCertsResult(); + explicit DescribeAgilityTunnelCertsResult(const std::string &payload); + ~DescribeAgilityTunnelCertsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEAGILITYTUNNELCERTSRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeApiVersionRequest.h b/cs/include/alibabacloud/cs/model/DescribeApiVersionRequest.h new file mode 100644 index 000000000..f38240344 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeApiVersionRequest.h @@ -0,0 +1,45 @@ +/* + * 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_CS_MODEL_DESCRIBEAPIVERSIONREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBEAPIVERSIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeApiVersionRequest : public RoaServiceRequest + { + + public: + DescribeApiVersionRequest(); + ~DescribeApiVersionRequest(); + + + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEAPIVERSIONREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeApiVersionResult.h b/cs/include/alibabacloud/cs/model/DescribeApiVersionResult.h new file mode 100644 index 000000000..0ebc38aaa --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeApiVersionResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_DESCRIBEAPIVERSIONRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBEAPIVERSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeApiVersionResult : public ServiceResult + { + public: + + + DescribeApiVersionResult(); + explicit DescribeApiVersionResult(const std::string &payload); + ~DescribeApiVersionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEAPIVERSIONRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeClusterCertsRequest.h b/cs/include/alibabacloud/cs/model/DescribeClusterCertsRequest.h new file mode 100644 index 000000000..3a1f2589a --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeClusterCertsRequest.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_CS_MODEL_DESCRIBECLUSTERCERTSREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERCERTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeClusterCertsRequest : public RoaServiceRequest + { + + public: + DescribeClusterCertsRequest(); + ~DescribeClusterCertsRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + + private: + std::string clusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERCERTSREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeClusterCertsResult.h b/cs/include/alibabacloud/cs/model/DescribeClusterCertsResult.h new file mode 100644 index 000000000..e2933c3d5 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeClusterCertsResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_DESCRIBECLUSTERCERTSRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERCERTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeClusterCertsResult : public ServiceResult + { + public: + + + DescribeClusterCertsResult(); + explicit DescribeClusterCertsResult(const std::string &payload); + ~DescribeClusterCertsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERCERTSRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeClusterDetailRequest.h b/cs/include/alibabacloud/cs/model/DescribeClusterDetailRequest.h new file mode 100644 index 000000000..a35d3c3e2 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeClusterDetailRequest.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_CS_MODEL_DESCRIBECLUSTERDETAILREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeClusterDetailRequest : public RoaServiceRequest + { + + public: + DescribeClusterDetailRequest(); + ~DescribeClusterDetailRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + + private: + std::string clusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERDETAILREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeClusterDetailResult.h b/cs/include/alibabacloud/cs/model/DescribeClusterDetailResult.h new file mode 100644 index 000000000..beba1a2d6 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeClusterDetailResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_DESCRIBECLUSTERDETAILRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeClusterDetailResult : public ServiceResult + { + public: + + + DescribeClusterDetailResult(); + explicit DescribeClusterDetailResult(const std::string &payload); + ~DescribeClusterDetailResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERDETAILRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeClusterHostsRequest.h b/cs/include/alibabacloud/cs/model/DescribeClusterHostsRequest.h new file mode 100644 index 000000000..abe86ec58 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeClusterHostsRequest.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_CS_MODEL_DESCRIBECLUSTERHOSTSREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERHOSTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeClusterHostsRequest : public RoaServiceRequest + { + + public: + DescribeClusterHostsRequest(); + ~DescribeClusterHostsRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + + private: + std::string clusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERHOSTSREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeClusterHostsResult.h b/cs/include/alibabacloud/cs/model/DescribeClusterHostsResult.h new file mode 100644 index 000000000..4f97d511b --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeClusterHostsResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_DESCRIBECLUSTERHOSTSRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERHOSTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeClusterHostsResult : public ServiceResult + { + public: + + + DescribeClusterHostsResult(); + explicit DescribeClusterHostsResult(const std::string &payload); + ~DescribeClusterHostsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERHOSTSRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeClusterLogsRequest.h b/cs/include/alibabacloud/cs/model/DescribeClusterLogsRequest.h new file mode 100644 index 000000000..67b881327 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeClusterLogsRequest.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_CS_MODEL_DESCRIBECLUSTERLOGSREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERLOGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeClusterLogsRequest : public RoaServiceRequest + { + + public: + DescribeClusterLogsRequest(); + ~DescribeClusterLogsRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + + private: + std::string clusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERLOGSREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeClusterLogsResult.h b/cs/include/alibabacloud/cs/model/DescribeClusterLogsResult.h new file mode 100644 index 000000000..8e497b971 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeClusterLogsResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_DESCRIBECLUSTERLOGSRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERLOGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeClusterLogsResult : public ServiceResult + { + public: + + + DescribeClusterLogsResult(); + explicit DescribeClusterLogsResult(const std::string &payload); + ~DescribeClusterLogsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERLOGSRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeClusterNodeInfoRequest.h b/cs/include/alibabacloud/cs/model/DescribeClusterNodeInfoRequest.h new file mode 100644 index 000000000..607779957 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeClusterNodeInfoRequest.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_CS_MODEL_DESCRIBECLUSTERNODEINFOREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERNODEINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeClusterNodeInfoRequest : public RoaServiceRequest + { + + public: + DescribeClusterNodeInfoRequest(); + ~DescribeClusterNodeInfoRequest(); + + std::string getToken()const; + void setToken(const std::string& token); + + private: + std::string token_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERNODEINFOREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeClusterNodeInfoResult.h b/cs/include/alibabacloud/cs/model/DescribeClusterNodeInfoResult.h new file mode 100644 index 000000000..eedc2dd95 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeClusterNodeInfoResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_DESCRIBECLUSTERNODEINFORESULT_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERNODEINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeClusterNodeInfoResult : public ServiceResult + { + public: + + + DescribeClusterNodeInfoResult(); + explicit DescribeClusterNodeInfoResult(const std::string &payload); + ~DescribeClusterNodeInfoResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERNODEINFORESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeClusterNodeInfoWithInstanceRequest.h b/cs/include/alibabacloud/cs/model/DescribeClusterNodeInfoWithInstanceRequest.h new file mode 100644 index 000000000..db7eef42d --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeClusterNodeInfoWithInstanceRequest.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_CS_MODEL_DESCRIBECLUSTERNODEINFOWITHINSTANCEREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERNODEINFOWITHINSTANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeClusterNodeInfoWithInstanceRequest : public RoaServiceRequest + { + + public: + DescribeClusterNodeInfoWithInstanceRequest(); + ~DescribeClusterNodeInfoWithInstanceRequest(); + + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getToken()const; + void setToken(const std::string& token); + + private: + std::string instanceId_; + std::string token_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERNODEINFOWITHINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeClusterNodeInfoWithInstanceResult.h b/cs/include/alibabacloud/cs/model/DescribeClusterNodeInfoWithInstanceResult.h new file mode 100644 index 000000000..16da78491 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeClusterNodeInfoWithInstanceResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_DESCRIBECLUSTERNODEINFOWITHINSTANCERESULT_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERNODEINFOWITHINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeClusterNodeInfoWithInstanceResult : public ServiceResult + { + public: + + + DescribeClusterNodeInfoWithInstanceResult(); + explicit DescribeClusterNodeInfoWithInstanceResult(const std::string &payload); + ~DescribeClusterNodeInfoWithInstanceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERNODEINFOWITHINSTANCERESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeClusterNodesRequest.h b/cs/include/alibabacloud/cs/model/DescribeClusterNodesRequest.h new file mode 100644 index 000000000..6181721bf --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeClusterNodesRequest.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_CS_MODEL_DESCRIBECLUSTERNODESREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERNODESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeClusterNodesRequest : public RoaServiceRequest + { + + public: + DescribeClusterNodesRequest(); + ~DescribeClusterNodesRequest(); + + std::string getPageSize()const; + void setPageSize(const std::string& pageSize); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + std::string getPageNumber()const; + void setPageNumber(const std::string& pageNumber); + + private: + std::string pageSize_; + std::string clusterId_; + std::string pageNumber_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERNODESREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeClusterNodesResult.h b/cs/include/alibabacloud/cs/model/DescribeClusterNodesResult.h new file mode 100644 index 000000000..83fbdf3bc --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeClusterNodesResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_DESCRIBECLUSTERNODESRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERNODESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeClusterNodesResult : public ServiceResult + { + public: + + + DescribeClusterNodesResult(); + explicit DescribeClusterNodesResult(const std::string &payload); + ~DescribeClusterNodesResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERNODESRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeClusterScaledNodeRequest.h b/cs/include/alibabacloud/cs/model/DescribeClusterScaledNodeRequest.h new file mode 100644 index 000000000..e1d3e1a51 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeClusterScaledNodeRequest.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_CS_MODEL_DESCRIBECLUSTERSCALEDNODEREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERSCALEDNODEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeClusterScaledNodeRequest : public RoaServiceRequest + { + + public: + DescribeClusterScaledNodeRequest(); + ~DescribeClusterScaledNodeRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + + private: + std::string clusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERSCALEDNODEREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeClusterScaledNodeResult.h b/cs/include/alibabacloud/cs/model/DescribeClusterScaledNodeResult.h new file mode 100644 index 000000000..ada421b21 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeClusterScaledNodeResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_DESCRIBECLUSTERSCALEDNODERESULT_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERSCALEDNODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeClusterScaledNodeResult : public ServiceResult + { + public: + + + DescribeClusterScaledNodeResult(); + explicit DescribeClusterScaledNodeResult(const std::string &payload); + ~DescribeClusterScaledNodeResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERSCALEDNODERESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeClusterServicesRequest.h b/cs/include/alibabacloud/cs/model/DescribeClusterServicesRequest.h new file mode 100644 index 000000000..fb93d894f --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeClusterServicesRequest.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_CS_MODEL_DESCRIBECLUSTERSERVICESREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERSERVICESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeClusterServicesRequest : public RoaServiceRequest + { + + public: + DescribeClusterServicesRequest(); + ~DescribeClusterServicesRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + + private: + std::string clusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERSERVICESREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeClusterServicesResult.h b/cs/include/alibabacloud/cs/model/DescribeClusterServicesResult.h new file mode 100644 index 000000000..35d6dda05 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeClusterServicesResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_DESCRIBECLUSTERSERVICESRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERSERVICESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeClusterServicesResult : public ServiceResult + { + public: + + + DescribeClusterServicesResult(); + explicit DescribeClusterServicesResult(const std::string &payload); + ~DescribeClusterServicesResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERSERVICESRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeClusterTokensRequest.h b/cs/include/alibabacloud/cs/model/DescribeClusterTokensRequest.h new file mode 100644 index 000000000..d419c4dca --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeClusterTokensRequest.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_CS_MODEL_DESCRIBECLUSTERTOKENSREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERTOKENSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeClusterTokensRequest : public RoaServiceRequest + { + + public: + DescribeClusterTokensRequest(); + ~DescribeClusterTokensRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + + private: + std::string clusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERTOKENSREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeClusterTokensResult.h b/cs/include/alibabacloud/cs/model/DescribeClusterTokensResult.h new file mode 100644 index 000000000..9b28ec377 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeClusterTokensResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_DESCRIBECLUSTERTOKENSRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERTOKENSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeClusterTokensResult : public ServiceResult + { + public: + + + DescribeClusterTokensResult(); + explicit DescribeClusterTokensResult(const std::string &payload); + ~DescribeClusterTokensResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERTOKENSRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeClustersRequest.h b/cs/include/alibabacloud/cs/model/DescribeClustersRequest.h new file mode 100644 index 000000000..fac33f492 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeClustersRequest.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_CS_MODEL_DESCRIBECLUSTERSREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeClustersRequest : public RoaServiceRequest + { + + public: + DescribeClustersRequest(); + ~DescribeClustersRequest(); + + std::string getClusterType()const; + void setClusterType(const std::string& clusterType); + std::string getName()const; + void setName(const std::string& name); + + private: + std::string clusterType_; + std::string name_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERSREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeClustersResult.h b/cs/include/alibabacloud/cs/model/DescribeClustersResult.h new file mode 100644 index 000000000..1d501ae85 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeClustersResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_DESCRIBECLUSTERSRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeClustersResult : public ServiceResult + { + public: + + + DescribeClustersResult(); + explicit DescribeClustersResult(const std::string &payload); + ~DescribeClustersResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBECLUSTERSRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeImagesRequest.h b/cs/include/alibabacloud/cs/model/DescribeImagesRequest.h new file mode 100644 index 000000000..4c31011a8 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeImagesRequest.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_CS_MODEL_DESCRIBEIMAGESREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBEIMAGESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeImagesRequest : public RoaServiceRequest + { + + public: + DescribeImagesRequest(); + ~DescribeImagesRequest(); + + std::string getRegionID()const; + void setRegionID(const std::string& regionID); + std::string getImageName()const; + void setImageName(const std::string& imageName); + std::string getDockerVersion()const; + void setDockerVersion(const std::string& dockerVersion); + + private: + std::string regionID_; + std::string imageName_; + std::string dockerVersion_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEIMAGESREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeImagesResult.h b/cs/include/alibabacloud/cs/model/DescribeImagesResult.h new file mode 100644 index 000000000..eb06422a8 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeImagesResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_DESCRIBEIMAGESRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBEIMAGESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeImagesResult : public ServiceResult + { + public: + + + DescribeImagesResult(); + explicit DescribeImagesResult(const std::string &payload); + ~DescribeImagesResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEIMAGESRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeServiceContainersRequest.h b/cs/include/alibabacloud/cs/model/DescribeServiceContainersRequest.h new file mode 100644 index 000000000..8bc7a6971 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeServiceContainersRequest.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_CS_MODEL_DESCRIBESERVICECONTAINERSREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBESERVICECONTAINERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeServiceContainersRequest : public RoaServiceRequest + { + + public: + DescribeServiceContainersRequest(); + ~DescribeServiceContainersRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + std::string getServiceId()const; + void setServiceId(const std::string& serviceId); + + private: + std::string clusterId_; + std::string serviceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBESERVICECONTAINERSREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeServiceContainersResult.h b/cs/include/alibabacloud/cs/model/DescribeServiceContainersResult.h new file mode 100644 index 000000000..2c1bde54e --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeServiceContainersResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_DESCRIBESERVICECONTAINERSRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBESERVICECONTAINERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeServiceContainersResult : public ServiceResult + { + public: + + + DescribeServiceContainersResult(); + explicit DescribeServiceContainersResult(const std::string &payload); + ~DescribeServiceContainersResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBESERVICECONTAINERSRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeTaskInfoRequest.h b/cs/include/alibabacloud/cs/model/DescribeTaskInfoRequest.h new file mode 100644 index 000000000..e002fc36b --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeTaskInfoRequest.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_CS_MODEL_DESCRIBETASKINFOREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBETASKINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeTaskInfoRequest : public RoaServiceRequest + { + + public: + DescribeTaskInfoRequest(); + ~DescribeTaskInfoRequest(); + + std::string getTaskId()const; + void setTaskId(const std::string& taskId); + + private: + std::string taskId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBETASKINFOREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeTaskInfoResult.h b/cs/include/alibabacloud/cs/model/DescribeTaskInfoResult.h new file mode 100644 index 000000000..28ea160fe --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeTaskInfoResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_DESCRIBETASKINFORESULT_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBETASKINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeTaskInfoResult : public ServiceResult + { + public: + + + DescribeTaskInfoResult(); + explicit DescribeTaskInfoResult(const std::string &payload); + ~DescribeTaskInfoResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBETASKINFORESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeTemplateAttributeRequest.h b/cs/include/alibabacloud/cs/model/DescribeTemplateAttributeRequest.h new file mode 100644 index 000000000..3b1fd6aba --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeTemplateAttributeRequest.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_CS_MODEL_DESCRIBETEMPLATEATTRIBUTEREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBETEMPLATEATTRIBUTEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeTemplateAttributeRequest : public RoaServiceRequest + { + + public: + DescribeTemplateAttributeRequest(); + ~DescribeTemplateAttributeRequest(); + + std::string getTemplateId()const; + void setTemplateId(const std::string& templateId); + + private: + std::string templateId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBETEMPLATEATTRIBUTEREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeTemplateAttributeResult.h b/cs/include/alibabacloud/cs/model/DescribeTemplateAttributeResult.h new file mode 100644 index 000000000..c62cb50a5 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeTemplateAttributeResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_DESCRIBETEMPLATEATTRIBUTERESULT_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBETEMPLATEATTRIBUTERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeTemplateAttributeResult : public ServiceResult + { + public: + + + DescribeTemplateAttributeResult(); + explicit DescribeTemplateAttributeResult(const std::string &payload); + ~DescribeTemplateAttributeResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBETEMPLATEATTRIBUTERESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeTemplatesRequest.h b/cs/include/alibabacloud/cs/model/DescribeTemplatesRequest.h new file mode 100644 index 000000000..b0066fed4 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeTemplatesRequest.h @@ -0,0 +1,45 @@ +/* + * 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_CS_MODEL_DESCRIBETEMPLATESREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBETEMPLATESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeTemplatesRequest : public RoaServiceRequest + { + + public: + DescribeTemplatesRequest(); + ~DescribeTemplatesRequest(); + + + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBETEMPLATESREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeTemplatesResult.h b/cs/include/alibabacloud/cs/model/DescribeTemplatesResult.h new file mode 100644 index 000000000..7add4d622 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeTemplatesResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_DESCRIBETEMPLATESRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBETEMPLATESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeTemplatesResult : public ServiceResult + { + public: + + + DescribeTemplatesResult(); + explicit DescribeTemplatesResult(const std::string &payload); + ~DescribeTemplatesResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBETEMPLATESRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeUserContainersRequest.h b/cs/include/alibabacloud/cs/model/DescribeUserContainersRequest.h new file mode 100644 index 000000000..4618b2d8b --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeUserContainersRequest.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_CS_MODEL_DESCRIBEUSERCONTAINERSREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBEUSERCONTAINERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeUserContainersRequest : public RoaServiceRequest + { + + public: + DescribeUserContainersRequest(); + ~DescribeUserContainersRequest(); + + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getServiceId()const; + void setServiceId(const std::string& serviceId); + + private: + std::string regionId_; + std::string serviceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEUSERCONTAINERSREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DescribeUserContainersResult.h b/cs/include/alibabacloud/cs/model/DescribeUserContainersResult.h new file mode 100644 index 000000000..4070f0bdf --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DescribeUserContainersResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_DESCRIBEUSERCONTAINERSRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_DESCRIBEUSERCONTAINERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DescribeUserContainersResult : public ServiceResult + { + public: + + + DescribeUserContainersResult(); + explicit DescribeUserContainersResult(const std::string &payload); + ~DescribeUserContainersResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DESCRIBEUSERCONTAINERSRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DownloadClusterNodeCertsRequest.h b/cs/include/alibabacloud/cs/model/DownloadClusterNodeCertsRequest.h new file mode 100644 index 000000000..5414e4e04 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DownloadClusterNodeCertsRequest.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_CS_MODEL_DOWNLOADCLUSTERNODECERTSREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_DOWNLOADCLUSTERNODECERTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DownloadClusterNodeCertsRequest : public RoaServiceRequest + { + + public: + DownloadClusterNodeCertsRequest(); + ~DownloadClusterNodeCertsRequest(); + + std::string getNodeId()const; + void setNodeId(const std::string& nodeId); + std::string getToken()const; + void setToken(const std::string& token); + + private: + std::string nodeId_; + std::string token_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DOWNLOADCLUSTERNODECERTSREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/DownloadClusterNodeCertsResult.h b/cs/include/alibabacloud/cs/model/DownloadClusterNodeCertsResult.h new file mode 100644 index 000000000..facf74ca4 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/DownloadClusterNodeCertsResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_DOWNLOADCLUSTERNODECERTSRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_DOWNLOADCLUSTERNODECERTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT DownloadClusterNodeCertsResult : public ServiceResult + { + public: + + + DownloadClusterNodeCertsResult(); + explicit DownloadClusterNodeCertsResult(const std::string &payload); + ~DownloadClusterNodeCertsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_DOWNLOADCLUSTERNODECERTSRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/GatherLogsTokenRequest.h b/cs/include/alibabacloud/cs/model/GatherLogsTokenRequest.h new file mode 100644 index 000000000..f8874db1e --- /dev/null +++ b/cs/include/alibabacloud/cs/model/GatherLogsTokenRequest.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_CS_MODEL_GATHERLOGSTOKENREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_GATHERLOGSTOKENREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT GatherLogsTokenRequest : public RoaServiceRequest + { + + public: + GatherLogsTokenRequest(); + ~GatherLogsTokenRequest(); + + std::string getToken()const; + void setToken(const std::string& token); + + private: + std::string token_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_GATHERLOGSTOKENREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/GatherLogsTokenResult.h b/cs/include/alibabacloud/cs/model/GatherLogsTokenResult.h new file mode 100644 index 000000000..f6892d820 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/GatherLogsTokenResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_GATHERLOGSTOKENRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_GATHERLOGSTOKENRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT GatherLogsTokenResult : public ServiceResult + { + public: + + + GatherLogsTokenResult(); + explicit GatherLogsTokenResult(const std::string &payload); + ~GatherLogsTokenResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_GATHERLOGSTOKENRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/GetClusterProjectsRequest.h b/cs/include/alibabacloud/cs/model/GetClusterProjectsRequest.h new file mode 100644 index 000000000..fe4174c7f --- /dev/null +++ b/cs/include/alibabacloud/cs/model/GetClusterProjectsRequest.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_CS_MODEL_GETCLUSTERPROJECTSREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_GETCLUSTERPROJECTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT GetClusterProjectsRequest : public RoaServiceRequest + { + + public: + GetClusterProjectsRequest(); + ~GetClusterProjectsRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + + private: + std::string clusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_GETCLUSTERPROJECTSREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/GetClusterProjectsResult.h b/cs/include/alibabacloud/cs/model/GetClusterProjectsResult.h new file mode 100644 index 000000000..6e5b6dd0c --- /dev/null +++ b/cs/include/alibabacloud/cs/model/GetClusterProjectsResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_GETCLUSTERPROJECTSRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_GETCLUSTERPROJECTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT GetClusterProjectsResult : public ServiceResult + { + public: + + + GetClusterProjectsResult(); + explicit GetClusterProjectsResult(const std::string &payload); + ~GetClusterProjectsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_GETCLUSTERPROJECTSRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/GetProjectEventsRequest.h b/cs/include/alibabacloud/cs/model/GetProjectEventsRequest.h new file mode 100644 index 000000000..74f99ec90 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/GetProjectEventsRequest.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_CS_MODEL_GETPROJECTEVENTSREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_GETPROJECTEVENTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT GetProjectEventsRequest : public RoaServiceRequest + { + + public: + GetProjectEventsRequest(); + ~GetProjectEventsRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + std::string getProjectId()const; + void setProjectId(const std::string& projectId); + + private: + std::string clusterId_; + std::string projectId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_GETPROJECTEVENTSREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/GetProjectEventsResult.h b/cs/include/alibabacloud/cs/model/GetProjectEventsResult.h new file mode 100644 index 000000000..155135e00 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/GetProjectEventsResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_GETPROJECTEVENTSRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_GETPROJECTEVENTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT GetProjectEventsResult : public ServiceResult + { + public: + + + GetProjectEventsResult(); + explicit GetProjectEventsResult(const std::string &payload); + ~GetProjectEventsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_GETPROJECTEVENTSRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/GetTriggerHookRequest.h b/cs/include/alibabacloud/cs/model/GetTriggerHookRequest.h new file mode 100644 index 000000000..a5a7c16ed --- /dev/null +++ b/cs/include/alibabacloud/cs/model/GetTriggerHookRequest.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_CS_MODEL_GETTRIGGERHOOKREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_GETTRIGGERHOOKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT GetTriggerHookRequest : public RoaServiceRequest + { + + public: + GetTriggerHookRequest(); + ~GetTriggerHookRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + std::string getProjectId()const; + void setProjectId(const std::string& projectId); + + private: + std::string clusterId_; + std::string projectId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_GETTRIGGERHOOKREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/GetTriggerHookResult.h b/cs/include/alibabacloud/cs/model/GetTriggerHookResult.h new file mode 100644 index 000000000..db7dcecbe --- /dev/null +++ b/cs/include/alibabacloud/cs/model/GetTriggerHookResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_GETTRIGGERHOOKRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_GETTRIGGERHOOKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT GetTriggerHookResult : public ServiceResult + { + public: + + + GetTriggerHookResult(); + explicit GetTriggerHookResult(const std::string &payload); + ~GetTriggerHookResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_GETTRIGGERHOOKRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/ModifyClusterNameRequest.h b/cs/include/alibabacloud/cs/model/ModifyClusterNameRequest.h new file mode 100644 index 000000000..cdb1bc448 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/ModifyClusterNameRequest.h @@ -0,0 +1,45 @@ +/* + * 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_CS_MODEL_MODIFYCLUSTERNAMEREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_MODIFYCLUSTERNAMEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT ModifyClusterNameRequest : public RoaServiceRequest + { + + public: + ModifyClusterNameRequest(); + ~ModifyClusterNameRequest(); + + + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_MODIFYCLUSTERNAMEREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/ModifyClusterNameResult.h b/cs/include/alibabacloud/cs/model/ModifyClusterNameResult.h new file mode 100644 index 000000000..a4cd6668e --- /dev/null +++ b/cs/include/alibabacloud/cs/model/ModifyClusterNameResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_MODIFYCLUSTERNAMERESULT_H_ +#define ALIBABACLOUD_CS_MODEL_MODIFYCLUSTERNAMERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT ModifyClusterNameResult : public ServiceResult + { + public: + + + ModifyClusterNameResult(); + explicit ModifyClusterNameResult(const std::string &payload); + ~ModifyClusterNameResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_MODIFYCLUSTERNAMERESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/ResetClusterNodeRequest.h b/cs/include/alibabacloud/cs/model/ResetClusterNodeRequest.h new file mode 100644 index 000000000..364117fbf --- /dev/null +++ b/cs/include/alibabacloud/cs/model/ResetClusterNodeRequest.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_CS_MODEL_RESETCLUSTERNODEREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_RESETCLUSTERNODEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT ResetClusterNodeRequest : public RoaServiceRequest + { + + public: + ResetClusterNodeRequest(); + ~ResetClusterNodeRequest(); + + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + + private: + std::string instanceId_; + std::string clusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_RESETCLUSTERNODEREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/ResetClusterNodeResult.h b/cs/include/alibabacloud/cs/model/ResetClusterNodeResult.h new file mode 100644 index 000000000..afed10489 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/ResetClusterNodeResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_RESETCLUSTERNODERESULT_H_ +#define ALIBABACLOUD_CS_MODEL_RESETCLUSTERNODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT ResetClusterNodeResult : public ServiceResult + { + public: + + + ResetClusterNodeResult(); + explicit ResetClusterNodeResult(const std::string &payload); + ~ResetClusterNodeResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_RESETCLUSTERNODERESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/RevokeClusterTokenRequest.h b/cs/include/alibabacloud/cs/model/RevokeClusterTokenRequest.h new file mode 100644 index 000000000..384ad3a37 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/RevokeClusterTokenRequest.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_CS_MODEL_REVOKECLUSTERTOKENREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_REVOKECLUSTERTOKENREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT RevokeClusterTokenRequest : public RoaServiceRequest + { + + public: + RevokeClusterTokenRequest(); + ~RevokeClusterTokenRequest(); + + std::string getToken()const; + void setToken(const std::string& token); + + private: + std::string token_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_REVOKECLUSTERTOKENREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/RevokeClusterTokenResult.h b/cs/include/alibabacloud/cs/model/RevokeClusterTokenResult.h new file mode 100644 index 000000000..723b86c05 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/RevokeClusterTokenResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_REVOKECLUSTERTOKENRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_REVOKECLUSTERTOKENRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT RevokeClusterTokenResult : public ServiceResult + { + public: + + + RevokeClusterTokenResult(); + explicit RevokeClusterTokenResult(const std::string &payload); + ~RevokeClusterTokenResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_REVOKECLUSTERTOKENRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/ScaleClusterRequest.h b/cs/include/alibabacloud/cs/model/ScaleClusterRequest.h new file mode 100644 index 000000000..11631ecb2 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/ScaleClusterRequest.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_CS_MODEL_SCALECLUSTERREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_SCALECLUSTERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT ScaleClusterRequest : public RoaServiceRequest + { + + public: + ScaleClusterRequest(); + ~ScaleClusterRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + + private: + std::string clusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_SCALECLUSTERREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/ScaleClusterResult.h b/cs/include/alibabacloud/cs/model/ScaleClusterResult.h new file mode 100644 index 000000000..fe972adc8 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/ScaleClusterResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_SCALECLUSTERRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_SCALECLUSTERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT ScaleClusterResult : public ServiceResult + { + public: + + + ScaleClusterResult(); + explicit ScaleClusterResult(const std::string &payload); + ~ScaleClusterResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_SCALECLUSTERRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/ScaleInClusterRequest.h b/cs/include/alibabacloud/cs/model/ScaleInClusterRequest.h new file mode 100644 index 000000000..50ee58e9e --- /dev/null +++ b/cs/include/alibabacloud/cs/model/ScaleInClusterRequest.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_CS_MODEL_SCALEINCLUSTERREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_SCALEINCLUSTERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT ScaleInClusterRequest : public RoaServiceRequest + { + + public: + ScaleInClusterRequest(); + ~ScaleInClusterRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + + private: + std::string clusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_SCALEINCLUSTERREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/ScaleInClusterResult.h b/cs/include/alibabacloud/cs/model/ScaleInClusterResult.h new file mode 100644 index 000000000..6cdf5c4e3 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/ScaleInClusterResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_SCALEINCLUSTERRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_SCALEINCLUSTERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT ScaleInClusterResult : public ServiceResult + { + public: + + + ScaleInClusterResult(); + explicit ScaleInClusterResult(const std::string &payload); + ~ScaleInClusterResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_SCALEINCLUSTERRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/UpdateSubUserResoucesRequest.h b/cs/include/alibabacloud/cs/model/UpdateSubUserResoucesRequest.h new file mode 100644 index 000000000..b9a76bcbf --- /dev/null +++ b/cs/include/alibabacloud/cs/model/UpdateSubUserResoucesRequest.h @@ -0,0 +1,45 @@ +/* + * 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_CS_MODEL_UPDATESUBUSERRESOUCESREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_UPDATESUBUSERRESOUCESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT UpdateSubUserResoucesRequest : public RoaServiceRequest + { + + public: + UpdateSubUserResoucesRequest(); + ~UpdateSubUserResoucesRequest(); + + + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_UPDATESUBUSERRESOUCESREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/UpdateSubUserResoucesResult.h b/cs/include/alibabacloud/cs/model/UpdateSubUserResoucesResult.h new file mode 100644 index 000000000..d5de142b0 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/UpdateSubUserResoucesResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_UPDATESUBUSERRESOUCESRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_UPDATESUBUSERRESOUCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT UpdateSubUserResoucesResult : public ServiceResult + { + public: + + + UpdateSubUserResoucesResult(); + explicit UpdateSubUserResoucesResult(const std::string &payload); + ~UpdateSubUserResoucesResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_UPDATESUBUSERRESOUCESRESULT_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/UpgradeClusterComponentsRequest.h b/cs/include/alibabacloud/cs/model/UpgradeClusterComponentsRequest.h new file mode 100644 index 000000000..5a807e423 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/UpgradeClusterComponentsRequest.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_CS_MODEL_UPGRADECLUSTERCOMPONENTSREQUEST_H_ +#define ALIBABACLOUD_CS_MODEL_UPGRADECLUSTERCOMPONENTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT UpgradeClusterComponentsRequest : public RoaServiceRequest + { + + public: + UpgradeClusterComponentsRequest(); + ~UpgradeClusterComponentsRequest(); + + std::string getComponentId()const; + void setComponentId(const std::string& componentId); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + + private: + std::string componentId_; + std::string clusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_UPGRADECLUSTERCOMPONENTSREQUEST_H_ \ No newline at end of file diff --git a/cs/include/alibabacloud/cs/model/UpgradeClusterComponentsResult.h b/cs/include/alibabacloud/cs/model/UpgradeClusterComponentsResult.h new file mode 100644 index 000000000..f2f3eb4f8 --- /dev/null +++ b/cs/include/alibabacloud/cs/model/UpgradeClusterComponentsResult.h @@ -0,0 +1,49 @@ +/* + * 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_CS_MODEL_UPGRADECLUSTERCOMPONENTSRESULT_H_ +#define ALIBABACLOUD_CS_MODEL_UPGRADECLUSTERCOMPONENTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CS + { + namespace Model + { + class ALIBABACLOUD_CS_EXPORT UpgradeClusterComponentsResult : public ServiceResult + { + public: + + + UpgradeClusterComponentsResult(); + explicit UpgradeClusterComponentsResult(const std::string &payload); + ~UpgradeClusterComponentsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_CS_MODEL_UPGRADECLUSTERCOMPONENTSRESULT_H_ \ No newline at end of file diff --git a/cs/src/CSClient.cc b/cs/src/CSClient.cc new file mode 100644 index 000000000..68507f8e3 --- /dev/null +++ b/cs/src/CSClient.cc @@ -0,0 +1,1573 @@ +/* + * 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 +#include + +using namespace AlibabaCloud; +using namespace AlibabaCloud::Location; +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +CSClient::CSClient(const Credentials &credentials, const ClientConfiguration &configuration) : + RoaServiceClient(std::make_shared(credentials), configuration) +{ + auto locationClient = std::make_shared(credentials, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), ""); +} + +CSClient::CSClient(const std::shared_ptr& credentialsProvider, const ClientConfiguration & configuration) : + RoaServiceClient(credentialsProvider, configuration) +{ + auto locationClient = std::make_shared(credentialsProvider, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), ""); +} + +CSClient::CSClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) : + RoaServiceClient(std::make_shared(accessKeyId, accessKeySecret), configuration) +{ + auto locationClient = std::make_shared(accessKeyId, accessKeySecret, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), ""); +} + +CSClient::~CSClient() +{} + +CoreClient::EndpointOutcome CSClient::endpoint()const +{ + if(!configuration().endpoint().empty()) + return CoreClient::EndpointOutcome(configuration().endpoint()); + + auto endpoint = endpointProvider_->getEndpoint(); + + if (endpoint.empty()) + return CoreClient::EndpointOutcome(Error("InvalidEndpoint","")); + else + return CoreClient::EndpointOutcome(endpoint); +} + +CSClient::AttachInstancesOutcome CSClient::attachInstances(const AttachInstancesRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return AttachInstancesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AttachInstancesOutcome(AttachInstancesResult(outcome.result())); + else + return AttachInstancesOutcome(outcome.error()); +} + +void CSClient::attachInstancesAsync(const AttachInstancesRequest& request, const AttachInstancesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, attachInstances(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::AttachInstancesOutcomeCallable CSClient::attachInstancesCallable(const AttachInstancesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->attachInstances(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::CallbackClusterTokenOutcome CSClient::callbackClusterToken(const CallbackClusterTokenRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return CallbackClusterTokenOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CallbackClusterTokenOutcome(CallbackClusterTokenResult(outcome.result())); + else + return CallbackClusterTokenOutcome(outcome.error()); +} + +void CSClient::callbackClusterTokenAsync(const CallbackClusterTokenRequest& request, const CallbackClusterTokenAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, callbackClusterToken(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::CallbackClusterTokenOutcomeCallable CSClient::callbackClusterTokenCallable(const CallbackClusterTokenRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->callbackClusterToken(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::DescribeTemplatesOutcome CSClient::describeTemplates(const DescribeTemplatesRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeTemplatesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeTemplatesOutcome(DescribeTemplatesResult(outcome.result())); + else + return DescribeTemplatesOutcome(outcome.error()); +} + +void CSClient::describeTemplatesAsync(const DescribeTemplatesRequest& request, const DescribeTemplatesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeTemplates(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::DescribeTemplatesOutcomeCallable CSClient::describeTemplatesCallable(const DescribeTemplatesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeTemplates(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::GetProjectEventsOutcome CSClient::getProjectEvents(const GetProjectEventsRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return GetProjectEventsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetProjectEventsOutcome(GetProjectEventsResult(outcome.result())); + else + return GetProjectEventsOutcome(outcome.error()); +} + +void CSClient::getProjectEventsAsync(const GetProjectEventsRequest& request, const GetProjectEventsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getProjectEvents(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::GetProjectEventsOutcomeCallable CSClient::getProjectEventsCallable(const GetProjectEventsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getProjectEvents(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::CheckAliyunCSServiceRoleOutcome CSClient::checkAliyunCSServiceRole(const CheckAliyunCSServiceRoleRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return CheckAliyunCSServiceRoleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CheckAliyunCSServiceRoleOutcome(CheckAliyunCSServiceRoleResult(outcome.result())); + else + return CheckAliyunCSServiceRoleOutcome(outcome.error()); +} + +void CSClient::checkAliyunCSServiceRoleAsync(const CheckAliyunCSServiceRoleRequest& request, const CheckAliyunCSServiceRoleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, checkAliyunCSServiceRole(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::CheckAliyunCSServiceRoleOutcomeCallable CSClient::checkAliyunCSServiceRoleCallable(const CheckAliyunCSServiceRoleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->checkAliyunCSServiceRole(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::DescribeTemplateAttributeOutcome CSClient::describeTemplateAttribute(const DescribeTemplateAttributeRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeTemplateAttributeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeTemplateAttributeOutcome(DescribeTemplateAttributeResult(outcome.result())); + else + return DescribeTemplateAttributeOutcome(outcome.error()); +} + +void CSClient::describeTemplateAttributeAsync(const DescribeTemplateAttributeRequest& request, const DescribeTemplateAttributeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeTemplateAttribute(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::DescribeTemplateAttributeOutcomeCallable CSClient::describeTemplateAttributeCallable(const DescribeTemplateAttributeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeTemplateAttribute(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::CreateTemplateOutcome CSClient::createTemplate(const CreateTemplateRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return CreateTemplateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateTemplateOutcome(CreateTemplateResult(outcome.result())); + else + return CreateTemplateOutcome(outcome.error()); +} + +void CSClient::createTemplateAsync(const CreateTemplateRequest& request, const CreateTemplateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createTemplate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::CreateTemplateOutcomeCallable CSClient::createTemplateCallable(const CreateTemplateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createTemplate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::DescribeClusterCertsOutcome CSClient::describeClusterCerts(const DescribeClusterCertsRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeClusterCertsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeClusterCertsOutcome(DescribeClusterCertsResult(outcome.result())); + else + return DescribeClusterCertsOutcome(outcome.error()); +} + +void CSClient::describeClusterCertsAsync(const DescribeClusterCertsRequest& request, const DescribeClusterCertsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeClusterCerts(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::DescribeClusterCertsOutcomeCallable CSClient::describeClusterCertsCallable(const DescribeClusterCertsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeClusterCerts(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::DeleteClusterOutcome CSClient::deleteCluster(const DeleteClusterRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteClusterOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteClusterOutcome(DeleteClusterResult(outcome.result())); + else + return DeleteClusterOutcome(outcome.error()); +} + +void CSClient::deleteClusterAsync(const DeleteClusterRequest& request, const DeleteClusterAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteCluster(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::DeleteClusterOutcomeCallable CSClient::deleteClusterCallable(const DeleteClusterRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteCluster(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::DescribeClusterNodesOutcome CSClient::describeClusterNodes(const DescribeClusterNodesRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeClusterNodesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeClusterNodesOutcome(DescribeClusterNodesResult(outcome.result())); + else + return DescribeClusterNodesOutcome(outcome.error()); +} + +void CSClient::describeClusterNodesAsync(const DescribeClusterNodesRequest& request, const DescribeClusterNodesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeClusterNodes(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::DescribeClusterNodesOutcomeCallable CSClient::describeClusterNodesCallable(const DescribeClusterNodesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeClusterNodes(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::CallBackAgilityClusterOutcome CSClient::callBackAgilityCluster(const CallBackAgilityClusterRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return CallBackAgilityClusterOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CallBackAgilityClusterOutcome(CallBackAgilityClusterResult(outcome.result())); + else + return CallBackAgilityClusterOutcome(outcome.error()); +} + +void CSClient::callBackAgilityClusterAsync(const CallBackAgilityClusterRequest& request, const CallBackAgilityClusterAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, callBackAgilityCluster(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::CallBackAgilityClusterOutcomeCallable CSClient::callBackAgilityClusterCallable(const CallBackAgilityClusterRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->callBackAgilityCluster(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::DescribeClusterScaledNodeOutcome CSClient::describeClusterScaledNode(const DescribeClusterScaledNodeRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeClusterScaledNodeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeClusterScaledNodeOutcome(DescribeClusterScaledNodeResult(outcome.result())); + else + return DescribeClusterScaledNodeOutcome(outcome.error()); +} + +void CSClient::describeClusterScaledNodeAsync(const DescribeClusterScaledNodeRequest& request, const DescribeClusterScaledNodeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeClusterScaledNode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::DescribeClusterScaledNodeOutcomeCallable CSClient::describeClusterScaledNodeCallable(const DescribeClusterScaledNodeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeClusterScaledNode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::DescribeClusterLogsOutcome CSClient::describeClusterLogs(const DescribeClusterLogsRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeClusterLogsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeClusterLogsOutcome(DescribeClusterLogsResult(outcome.result())); + else + return DescribeClusterLogsOutcome(outcome.error()); +} + +void CSClient::describeClusterLogsAsync(const DescribeClusterLogsRequest& request, const DescribeClusterLogsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeClusterLogs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::DescribeClusterLogsOutcomeCallable CSClient::describeClusterLogsCallable(const DescribeClusterLogsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeClusterLogs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::DescribeClusterDetailOutcome CSClient::describeClusterDetail(const DescribeClusterDetailRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeClusterDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeClusterDetailOutcome(DescribeClusterDetailResult(outcome.result())); + else + return DescribeClusterDetailOutcome(outcome.error()); +} + +void CSClient::describeClusterDetailAsync(const DescribeClusterDetailRequest& request, const DescribeClusterDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeClusterDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::DescribeClusterDetailOutcomeCallable CSClient::describeClusterDetailCallable(const DescribeClusterDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeClusterDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::ResetClusterNodeOutcome CSClient::resetClusterNode(const ResetClusterNodeRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return ResetClusterNodeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ResetClusterNodeOutcome(ResetClusterNodeResult(outcome.result())); + else + return ResetClusterNodeOutcome(outcome.error()); +} + +void CSClient::resetClusterNodeAsync(const ResetClusterNodeRequest& request, const ResetClusterNodeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, resetClusterNode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::ResetClusterNodeOutcomeCallable CSClient::resetClusterNodeCallable(const ResetClusterNodeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->resetClusterNode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::DescribeServiceContainersOutcome CSClient::describeServiceContainers(const DescribeServiceContainersRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeServiceContainersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeServiceContainersOutcome(DescribeServiceContainersResult(outcome.result())); + else + return DescribeServiceContainersOutcome(outcome.error()); +} + +void CSClient::describeServiceContainersAsync(const DescribeServiceContainersRequest& request, const DescribeServiceContainersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeServiceContainers(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::DescribeServiceContainersOutcomeCallable CSClient::describeServiceContainersCallable(const DescribeServiceContainersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeServiceContainers(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::DescribeTaskInfoOutcome CSClient::describeTaskInfo(const DescribeTaskInfoRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeTaskInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeTaskInfoOutcome(DescribeTaskInfoResult(outcome.result())); + else + return DescribeTaskInfoOutcome(outcome.error()); +} + +void CSClient::describeTaskInfoAsync(const DescribeTaskInfoRequest& request, const DescribeTaskInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeTaskInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::DescribeTaskInfoOutcomeCallable CSClient::describeTaskInfoCallable(const DescribeTaskInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeTaskInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::GetClusterProjectsOutcome CSClient::getClusterProjects(const GetClusterProjectsRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return GetClusterProjectsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetClusterProjectsOutcome(GetClusterProjectsResult(outcome.result())); + else + return GetClusterProjectsOutcome(outcome.error()); +} + +void CSClient::getClusterProjectsAsync(const GetClusterProjectsRequest& request, const GetClusterProjectsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getClusterProjects(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::GetClusterProjectsOutcomeCallable CSClient::getClusterProjectsCallable(const GetClusterProjectsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getClusterProjects(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::DescribeClusterServicesOutcome CSClient::describeClusterServices(const DescribeClusterServicesRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeClusterServicesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeClusterServicesOutcome(DescribeClusterServicesResult(outcome.result())); + else + return DescribeClusterServicesOutcome(outcome.error()); +} + +void CSClient::describeClusterServicesAsync(const DescribeClusterServicesRequest& request, const DescribeClusterServicesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeClusterServices(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::DescribeClusterServicesOutcomeCallable CSClient::describeClusterServicesCallable(const DescribeClusterServicesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeClusterServices(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::ScaleInClusterOutcome CSClient::scaleInCluster(const ScaleInClusterRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return ScaleInClusterOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ScaleInClusterOutcome(ScaleInClusterResult(outcome.result())); + else + return ScaleInClusterOutcome(outcome.error()); +} + +void CSClient::scaleInClusterAsync(const ScaleInClusterRequest& request, const ScaleInClusterAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, scaleInCluster(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::ScaleInClusterOutcomeCallable CSClient::scaleInClusterCallable(const ScaleInClusterRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->scaleInCluster(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::DeleteClusterNodeOutcome CSClient::deleteClusterNode(const DeleteClusterNodeRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteClusterNodeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteClusterNodeOutcome(DeleteClusterNodeResult(outcome.result())); + else + return DeleteClusterNodeOutcome(outcome.error()); +} + +void CSClient::deleteClusterNodeAsync(const DeleteClusterNodeRequest& request, const DeleteClusterNodeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteClusterNode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::DeleteClusterNodeOutcomeCallable CSClient::deleteClusterNodeCallable(const DeleteClusterNodeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteClusterNode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::RevokeClusterTokenOutcome CSClient::revokeClusterToken(const RevokeClusterTokenRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return RevokeClusterTokenOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RevokeClusterTokenOutcome(RevokeClusterTokenResult(outcome.result())); + else + return RevokeClusterTokenOutcome(outcome.error()); +} + +void CSClient::revokeClusterTokenAsync(const RevokeClusterTokenRequest& request, const RevokeClusterTokenAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, revokeClusterToken(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::RevokeClusterTokenOutcomeCallable CSClient::revokeClusterTokenCallable(const RevokeClusterTokenRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->revokeClusterToken(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::DescribeClustersOutcome CSClient::describeClusters(const DescribeClustersRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeClustersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeClustersOutcome(DescribeClustersResult(outcome.result())); + else + return DescribeClustersOutcome(outcome.error()); +} + +void CSClient::describeClustersAsync(const DescribeClustersRequest& request, const DescribeClustersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeClusters(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::DescribeClustersOutcomeCallable CSClient::describeClustersCallable(const DescribeClustersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeClusters(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::AddAgilityClusterOutcome CSClient::addAgilityCluster(const AddAgilityClusterRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return AddAgilityClusterOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddAgilityClusterOutcome(AddAgilityClusterResult(outcome.result())); + else + return AddAgilityClusterOutcome(outcome.error()); +} + +void CSClient::addAgilityClusterAsync(const AddAgilityClusterRequest& request, const AddAgilityClusterAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addAgilityCluster(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::AddAgilityClusterOutcomeCallable CSClient::addAgilityClusterCallable(const AddAgilityClusterRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addAgilityCluster(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::DescribeImagesOutcome CSClient::describeImages(const DescribeImagesRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeImagesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeImagesOutcome(DescribeImagesResult(outcome.result())); + else + return DescribeImagesOutcome(outcome.error()); +} + +void CSClient::describeImagesAsync(const DescribeImagesRequest& request, const DescribeImagesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeImages(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::DescribeImagesOutcomeCallable CSClient::describeImagesCallable(const DescribeImagesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeImages(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::GetTriggerHookOutcome CSClient::getTriggerHook(const GetTriggerHookRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return GetTriggerHookOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetTriggerHookOutcome(GetTriggerHookResult(outcome.result())); + else + return GetTriggerHookOutcome(outcome.error()); +} + +void CSClient::getTriggerHookAsync(const GetTriggerHookRequest& request, const GetTriggerHookAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getTriggerHook(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::GetTriggerHookOutcomeCallable CSClient::getTriggerHookCallable(const GetTriggerHookRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getTriggerHook(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::DescribeClusterTokensOutcome CSClient::describeClusterTokens(const DescribeClusterTokensRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeClusterTokensOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeClusterTokensOutcome(DescribeClusterTokensResult(outcome.result())); + else + return DescribeClusterTokensOutcome(outcome.error()); +} + +void CSClient::describeClusterTokensAsync(const DescribeClusterTokensRequest& request, const DescribeClusterTokensAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeClusterTokens(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::DescribeClusterTokensOutcomeCallable CSClient::describeClusterTokensCallable(const DescribeClusterTokensRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeClusterTokens(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::UpdateSubUserResoucesOutcome CSClient::updateSubUserResouces(const UpdateSubUserResoucesRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateSubUserResoucesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateSubUserResoucesOutcome(UpdateSubUserResoucesResult(outcome.result())); + else + return UpdateSubUserResoucesOutcome(outcome.error()); +} + +void CSClient::updateSubUserResoucesAsync(const UpdateSubUserResoucesRequest& request, const UpdateSubUserResoucesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateSubUserResouces(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::UpdateSubUserResoucesOutcomeCallable CSClient::updateSubUserResoucesCallable(const UpdateSubUserResoucesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateSubUserResouces(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::ModifyClusterNameOutcome CSClient::modifyClusterName(const ModifyClusterNameRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyClusterNameOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyClusterNameOutcome(ModifyClusterNameResult(outcome.result())); + else + return ModifyClusterNameOutcome(outcome.error()); +} + +void CSClient::modifyClusterNameAsync(const ModifyClusterNameRequest& request, const ModifyClusterNameAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyClusterName(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::ModifyClusterNameOutcomeCallable CSClient::modifyClusterNameCallable(const ModifyClusterNameRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyClusterName(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::DescribeClusterHostsOutcome CSClient::describeClusterHosts(const DescribeClusterHostsRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeClusterHostsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeClusterHostsOutcome(DescribeClusterHostsResult(outcome.result())); + else + return DescribeClusterHostsOutcome(outcome.error()); +} + +void CSClient::describeClusterHostsAsync(const DescribeClusterHostsRequest& request, const DescribeClusterHostsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeClusterHosts(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::DescribeClusterHostsOutcomeCallable CSClient::describeClusterHostsCallable(const DescribeClusterHostsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeClusterHosts(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::DescribeApiVersionOutcome CSClient::describeApiVersion(const DescribeApiVersionRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeApiVersionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeApiVersionOutcome(DescribeApiVersionResult(outcome.result())); + else + return DescribeApiVersionOutcome(outcome.error()); +} + +void CSClient::describeApiVersionAsync(const DescribeApiVersionRequest& request, const DescribeApiVersionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeApiVersion(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::DescribeApiVersionOutcomeCallable CSClient::describeApiVersionCallable(const DescribeApiVersionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeApiVersion(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::GatherLogsTokenOutcome CSClient::gatherLogsToken(const GatherLogsTokenRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return GatherLogsTokenOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GatherLogsTokenOutcome(GatherLogsTokenResult(outcome.result())); + else + return GatherLogsTokenOutcome(outcome.error()); +} + +void CSClient::gatherLogsTokenAsync(const GatherLogsTokenRequest& request, const GatherLogsTokenAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, gatherLogsToken(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::GatherLogsTokenOutcomeCallable CSClient::gatherLogsTokenCallable(const GatherLogsTokenRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->gatherLogsToken(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::CreateClusterTokenOutcome CSClient::createClusterToken(const CreateClusterTokenRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return CreateClusterTokenOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateClusterTokenOutcome(CreateClusterTokenResult(outcome.result())); + else + return CreateClusterTokenOutcome(outcome.error()); +} + +void CSClient::createClusterTokenAsync(const CreateClusterTokenRequest& request, const CreateClusterTokenAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createClusterToken(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::CreateClusterTokenOutcomeCallable CSClient::createClusterTokenCallable(const CreateClusterTokenRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createClusterToken(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::DescribeUserContainersOutcome CSClient::describeUserContainers(const DescribeUserContainersRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeUserContainersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeUserContainersOutcome(DescribeUserContainersResult(outcome.result())); + else + return DescribeUserContainersOutcome(outcome.error()); +} + +void CSClient::describeUserContainersAsync(const DescribeUserContainersRequest& request, const DescribeUserContainersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeUserContainers(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::DescribeUserContainersOutcomeCallable CSClient::describeUserContainersCallable(const DescribeUserContainersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeUserContainers(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::DescribeAgilityTunnelAgentInfoOutcome CSClient::describeAgilityTunnelAgentInfo(const DescribeAgilityTunnelAgentInfoRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAgilityTunnelAgentInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAgilityTunnelAgentInfoOutcome(DescribeAgilityTunnelAgentInfoResult(outcome.result())); + else + return DescribeAgilityTunnelAgentInfoOutcome(outcome.error()); +} + +void CSClient::describeAgilityTunnelAgentInfoAsync(const DescribeAgilityTunnelAgentInfoRequest& request, const DescribeAgilityTunnelAgentInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAgilityTunnelAgentInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::DescribeAgilityTunnelAgentInfoOutcomeCallable CSClient::describeAgilityTunnelAgentInfoCallable(const DescribeAgilityTunnelAgentInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAgilityTunnelAgentInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::DescribeClusterNodeInfoOutcome CSClient::describeClusterNodeInfo(const DescribeClusterNodeInfoRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeClusterNodeInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeClusterNodeInfoOutcome(DescribeClusterNodeInfoResult(outcome.result())); + else + return DescribeClusterNodeInfoOutcome(outcome.error()); +} + +void CSClient::describeClusterNodeInfoAsync(const DescribeClusterNodeInfoRequest& request, const DescribeClusterNodeInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeClusterNodeInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::DescribeClusterNodeInfoOutcomeCallable CSClient::describeClusterNodeInfoCallable(const DescribeClusterNodeInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeClusterNodeInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::ScaleClusterOutcome CSClient::scaleCluster(const ScaleClusterRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return ScaleClusterOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ScaleClusterOutcome(ScaleClusterResult(outcome.result())); + else + return ScaleClusterOutcome(outcome.error()); +} + +void CSClient::scaleClusterAsync(const ScaleClusterRequest& request, const ScaleClusterAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, scaleCluster(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::ScaleClusterOutcomeCallable CSClient::scaleClusterCallable(const ScaleClusterRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->scaleCluster(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::DescribeAgilityTunnelCertsOutcome CSClient::describeAgilityTunnelCerts(const DescribeAgilityTunnelCertsRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAgilityTunnelCertsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAgilityTunnelCertsOutcome(DescribeAgilityTunnelCertsResult(outcome.result())); + else + return DescribeAgilityTunnelCertsOutcome(outcome.error()); +} + +void CSClient::describeAgilityTunnelCertsAsync(const DescribeAgilityTunnelCertsRequest& request, const DescribeAgilityTunnelCertsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAgilityTunnelCerts(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::DescribeAgilityTunnelCertsOutcomeCallable CSClient::describeAgilityTunnelCertsCallable(const DescribeAgilityTunnelCertsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAgilityTunnelCerts(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::DescribeClusterNodeInfoWithInstanceOutcome CSClient::describeClusterNodeInfoWithInstance(const DescribeClusterNodeInfoWithInstanceRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeClusterNodeInfoWithInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeClusterNodeInfoWithInstanceOutcome(DescribeClusterNodeInfoWithInstanceResult(outcome.result())); + else + return DescribeClusterNodeInfoWithInstanceOutcome(outcome.error()); +} + +void CSClient::describeClusterNodeInfoWithInstanceAsync(const DescribeClusterNodeInfoWithInstanceRequest& request, const DescribeClusterNodeInfoWithInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeClusterNodeInfoWithInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::DescribeClusterNodeInfoWithInstanceOutcomeCallable CSClient::describeClusterNodeInfoWithInstanceCallable(const DescribeClusterNodeInfoWithInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeClusterNodeInfoWithInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::UpgradeClusterComponentsOutcome CSClient::upgradeClusterComponents(const UpgradeClusterComponentsRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return UpgradeClusterComponentsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpgradeClusterComponentsOutcome(UpgradeClusterComponentsResult(outcome.result())); + else + return UpgradeClusterComponentsOutcome(outcome.error()); +} + +void CSClient::upgradeClusterComponentsAsync(const UpgradeClusterComponentsRequest& request, const UpgradeClusterComponentsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, upgradeClusterComponents(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::UpgradeClusterComponentsOutcomeCallable CSClient::upgradeClusterComponentsCallable(const UpgradeClusterComponentsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->upgradeClusterComponents(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::DownloadClusterNodeCertsOutcome CSClient::downloadClusterNodeCerts(const DownloadClusterNodeCertsRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return DownloadClusterNodeCertsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DownloadClusterNodeCertsOutcome(DownloadClusterNodeCertsResult(outcome.result())); + else + return DownloadClusterNodeCertsOutcome(outcome.error()); +} + +void CSClient::downloadClusterNodeCertsAsync(const DownloadClusterNodeCertsRequest& request, const DownloadClusterNodeCertsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, downloadClusterNodeCerts(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::DownloadClusterNodeCertsOutcomeCallable CSClient::downloadClusterNodeCertsCallable(const DownloadClusterNodeCertsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->downloadClusterNodeCerts(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CSClient::CreateClusterOutcome CSClient::createCluster(const CreateClusterRequest &request) const +{ + auto endpointOutcome = endpoint(); + if (!endpointOutcome.isSuccess()) + return CreateClusterOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateClusterOutcome(CreateClusterResult(outcome.result())); + else + return CreateClusterOutcome(outcome.error()); +} + +void CSClient::createClusterAsync(const CreateClusterRequest& request, const CreateClusterAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createCluster(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CSClient::CreateClusterOutcomeCallable CSClient::createClusterCallable(const CreateClusterRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createCluster(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/cs/src/model/AddAgilityClusterRequest.cc b/cs/src/model/AddAgilityClusterRequest.cc new file mode 100644 index 000000000..f66bf2592 --- /dev/null +++ b/cs/src/model/AddAgilityClusterRequest.cc @@ -0,0 +1,27 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::AddAgilityClusterRequest; + +AddAgilityClusterRequest::AddAgilityClusterRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +AddAgilityClusterRequest::~AddAgilityClusterRequest() +{} + diff --git a/cs/src/model/AddAgilityClusterResult.cc b/cs/src/model/AddAgilityClusterResult.cc new file mode 100644 index 000000000..348bea978 --- /dev/null +++ b/cs/src/model/AddAgilityClusterResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +AddAgilityClusterResult::AddAgilityClusterResult() : + ServiceResult() +{} + +AddAgilityClusterResult::AddAgilityClusterResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddAgilityClusterResult::~AddAgilityClusterResult() +{} + +void AddAgilityClusterResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/AttachInstancesRequest.cc b/cs/src/model/AttachInstancesRequest.cc new file mode 100644 index 000000000..1683d046b --- /dev/null +++ b/cs/src/model/AttachInstancesRequest.cc @@ -0,0 +1,38 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::AttachInstancesRequest; + +AttachInstancesRequest::AttachInstancesRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +AttachInstancesRequest::~AttachInstancesRequest() +{} + +std::string AttachInstancesRequest::getClusterId()const +{ + return clusterId_; +} + +void AttachInstancesRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + diff --git a/cs/src/model/AttachInstancesResult.cc b/cs/src/model/AttachInstancesResult.cc new file mode 100644 index 000000000..866ec16ba --- /dev/null +++ b/cs/src/model/AttachInstancesResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +AttachInstancesResult::AttachInstancesResult() : + ServiceResult() +{} + +AttachInstancesResult::AttachInstancesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AttachInstancesResult::~AttachInstancesResult() +{} + +void AttachInstancesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/CallBackAgilityClusterRequest.cc b/cs/src/model/CallBackAgilityClusterRequest.cc new file mode 100644 index 000000000..d6b80e1a9 --- /dev/null +++ b/cs/src/model/CallBackAgilityClusterRequest.cc @@ -0,0 +1,49 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::CallBackAgilityClusterRequest; + +CallBackAgilityClusterRequest::CallBackAgilityClusterRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +CallBackAgilityClusterRequest::~CallBackAgilityClusterRequest() +{} + +std::string CallBackAgilityClusterRequest::getReqOnce()const +{ + return reqOnce_; +} + +void CallBackAgilityClusterRequest::setReqOnce(const std::string& reqOnce) +{ + reqOnce_ = reqOnce; + setParameter("ReqOnce", reqOnce); +} + +std::string CallBackAgilityClusterRequest::getToken()const +{ + return token_; +} + +void CallBackAgilityClusterRequest::setToken(const std::string& token) +{ + token_ = token; + setParameter("Token", token); +} + diff --git a/cs/src/model/CallBackAgilityClusterResult.cc b/cs/src/model/CallBackAgilityClusterResult.cc new file mode 100644 index 000000000..be41209dd --- /dev/null +++ b/cs/src/model/CallBackAgilityClusterResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +CallBackAgilityClusterResult::CallBackAgilityClusterResult() : + ServiceResult() +{} + +CallBackAgilityClusterResult::CallBackAgilityClusterResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CallBackAgilityClusterResult::~CallBackAgilityClusterResult() +{} + +void CallBackAgilityClusterResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/CallbackClusterTokenRequest.cc b/cs/src/model/CallbackClusterTokenRequest.cc new file mode 100644 index 000000000..2e2d26731 --- /dev/null +++ b/cs/src/model/CallbackClusterTokenRequest.cc @@ -0,0 +1,49 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::CallbackClusterTokenRequest; + +CallbackClusterTokenRequest::CallbackClusterTokenRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +CallbackClusterTokenRequest::~CallbackClusterTokenRequest() +{} + +std::string CallbackClusterTokenRequest::getReqOnce()const +{ + return reqOnce_; +} + +void CallbackClusterTokenRequest::setReqOnce(const std::string& reqOnce) +{ + reqOnce_ = reqOnce; + setParameter("ReqOnce", reqOnce); +} + +std::string CallbackClusterTokenRequest::getToken()const +{ + return token_; +} + +void CallbackClusterTokenRequest::setToken(const std::string& token) +{ + token_ = token; + setParameter("Token", token); +} + diff --git a/cs/src/model/CallbackClusterTokenResult.cc b/cs/src/model/CallbackClusterTokenResult.cc new file mode 100644 index 000000000..99a280461 --- /dev/null +++ b/cs/src/model/CallbackClusterTokenResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +CallbackClusterTokenResult::CallbackClusterTokenResult() : + ServiceResult() +{} + +CallbackClusterTokenResult::CallbackClusterTokenResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CallbackClusterTokenResult::~CallbackClusterTokenResult() +{} + +void CallbackClusterTokenResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/CheckAliyunCSServiceRoleRequest.cc b/cs/src/model/CheckAliyunCSServiceRoleRequest.cc new file mode 100644 index 000000000..2d69f7a9a --- /dev/null +++ b/cs/src/model/CheckAliyunCSServiceRoleRequest.cc @@ -0,0 +1,27 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::CheckAliyunCSServiceRoleRequest; + +CheckAliyunCSServiceRoleRequest::CheckAliyunCSServiceRoleRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +CheckAliyunCSServiceRoleRequest::~CheckAliyunCSServiceRoleRequest() +{} + diff --git a/cs/src/model/CheckAliyunCSServiceRoleResult.cc b/cs/src/model/CheckAliyunCSServiceRoleResult.cc new file mode 100644 index 000000000..50415e3fd --- /dev/null +++ b/cs/src/model/CheckAliyunCSServiceRoleResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +CheckAliyunCSServiceRoleResult::CheckAliyunCSServiceRoleResult() : + ServiceResult() +{} + +CheckAliyunCSServiceRoleResult::CheckAliyunCSServiceRoleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CheckAliyunCSServiceRoleResult::~CheckAliyunCSServiceRoleResult() +{} + +void CheckAliyunCSServiceRoleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/CreateClusterRequest.cc b/cs/src/model/CreateClusterRequest.cc new file mode 100644 index 000000000..d116f78b8 --- /dev/null +++ b/cs/src/model/CreateClusterRequest.cc @@ -0,0 +1,27 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::CreateClusterRequest; + +CreateClusterRequest::CreateClusterRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +CreateClusterRequest::~CreateClusterRequest() +{} + diff --git a/cs/src/model/CreateClusterResult.cc b/cs/src/model/CreateClusterResult.cc new file mode 100644 index 000000000..6bfa53311 --- /dev/null +++ b/cs/src/model/CreateClusterResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +CreateClusterResult::CreateClusterResult() : + ServiceResult() +{} + +CreateClusterResult::CreateClusterResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateClusterResult::~CreateClusterResult() +{} + +void CreateClusterResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/CreateClusterTokenRequest.cc b/cs/src/model/CreateClusterTokenRequest.cc new file mode 100644 index 000000000..7fa3a0d50 --- /dev/null +++ b/cs/src/model/CreateClusterTokenRequest.cc @@ -0,0 +1,38 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::CreateClusterTokenRequest; + +CreateClusterTokenRequest::CreateClusterTokenRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +CreateClusterTokenRequest::~CreateClusterTokenRequest() +{} + +std::string CreateClusterTokenRequest::getClusterId()const +{ + return clusterId_; +} + +void CreateClusterTokenRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + diff --git a/cs/src/model/CreateClusterTokenResult.cc b/cs/src/model/CreateClusterTokenResult.cc new file mode 100644 index 000000000..6e221c340 --- /dev/null +++ b/cs/src/model/CreateClusterTokenResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +CreateClusterTokenResult::CreateClusterTokenResult() : + ServiceResult() +{} + +CreateClusterTokenResult::CreateClusterTokenResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateClusterTokenResult::~CreateClusterTokenResult() +{} + +void CreateClusterTokenResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/CreateTemplateRequest.cc b/cs/src/model/CreateTemplateRequest.cc new file mode 100644 index 000000000..a4f990962 --- /dev/null +++ b/cs/src/model/CreateTemplateRequest.cc @@ -0,0 +1,27 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::CreateTemplateRequest; + +CreateTemplateRequest::CreateTemplateRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +CreateTemplateRequest::~CreateTemplateRequest() +{} + diff --git a/cs/src/model/CreateTemplateResult.cc b/cs/src/model/CreateTemplateResult.cc new file mode 100644 index 000000000..98b36f847 --- /dev/null +++ b/cs/src/model/CreateTemplateResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +CreateTemplateResult::CreateTemplateResult() : + ServiceResult() +{} + +CreateTemplateResult::CreateTemplateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateTemplateResult::~CreateTemplateResult() +{} + +void CreateTemplateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/DeleteClusterNodeRequest.cc b/cs/src/model/DeleteClusterNodeRequest.cc new file mode 100644 index 000000000..e4d0f294d --- /dev/null +++ b/cs/src/model/DeleteClusterNodeRequest.cc @@ -0,0 +1,71 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::DeleteClusterNodeRequest; + +DeleteClusterNodeRequest::DeleteClusterNodeRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +DeleteClusterNodeRequest::~DeleteClusterNodeRequest() +{} + +std::string DeleteClusterNodeRequest::getReleaseInstance()const +{ + return releaseInstance_; +} + +void DeleteClusterNodeRequest::setReleaseInstance(const std::string& releaseInstance) +{ + releaseInstance_ = releaseInstance; + setParameter("ReleaseInstance", releaseInstance); +} + +std::string DeleteClusterNodeRequest::getIp()const +{ + return ip_; +} + +void DeleteClusterNodeRequest::setIp(const std::string& ip) +{ + ip_ = ip; + setParameter("Ip", ip); +} + +std::string DeleteClusterNodeRequest::getForce()const +{ + return force_; +} + +void DeleteClusterNodeRequest::setForce(const std::string& force) +{ + force_ = force; + setParameter("Force", force); +} + +std::string DeleteClusterNodeRequest::getClusterId()const +{ + return clusterId_; +} + +void DeleteClusterNodeRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + diff --git a/cs/src/model/DeleteClusterNodeResult.cc b/cs/src/model/DeleteClusterNodeResult.cc new file mode 100644 index 000000000..187e10b5a --- /dev/null +++ b/cs/src/model/DeleteClusterNodeResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +DeleteClusterNodeResult::DeleteClusterNodeResult() : + ServiceResult() +{} + +DeleteClusterNodeResult::DeleteClusterNodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteClusterNodeResult::~DeleteClusterNodeResult() +{} + +void DeleteClusterNodeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/DeleteClusterRequest.cc b/cs/src/model/DeleteClusterRequest.cc new file mode 100644 index 000000000..de1f1524e --- /dev/null +++ b/cs/src/model/DeleteClusterRequest.cc @@ -0,0 +1,38 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::DeleteClusterRequest; + +DeleteClusterRequest::DeleteClusterRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +DeleteClusterRequest::~DeleteClusterRequest() +{} + +std::string DeleteClusterRequest::getClusterId()const +{ + return clusterId_; +} + +void DeleteClusterRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + diff --git a/cs/src/model/DeleteClusterResult.cc b/cs/src/model/DeleteClusterResult.cc new file mode 100644 index 000000000..07eb191b2 --- /dev/null +++ b/cs/src/model/DeleteClusterResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +DeleteClusterResult::DeleteClusterResult() : + ServiceResult() +{} + +DeleteClusterResult::DeleteClusterResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteClusterResult::~DeleteClusterResult() +{} + +void DeleteClusterResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/DescribeAgilityTunnelAgentInfoRequest.cc b/cs/src/model/DescribeAgilityTunnelAgentInfoRequest.cc new file mode 100644 index 000000000..14f6bfabc --- /dev/null +++ b/cs/src/model/DescribeAgilityTunnelAgentInfoRequest.cc @@ -0,0 +1,38 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::DescribeAgilityTunnelAgentInfoRequest; + +DescribeAgilityTunnelAgentInfoRequest::DescribeAgilityTunnelAgentInfoRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +DescribeAgilityTunnelAgentInfoRequest::~DescribeAgilityTunnelAgentInfoRequest() +{} + +std::string DescribeAgilityTunnelAgentInfoRequest::getToken()const +{ + return token_; +} + +void DescribeAgilityTunnelAgentInfoRequest::setToken(const std::string& token) +{ + token_ = token; + setParameter("Token", token); +} + diff --git a/cs/src/model/DescribeAgilityTunnelAgentInfoResult.cc b/cs/src/model/DescribeAgilityTunnelAgentInfoResult.cc new file mode 100644 index 000000000..1c1aa49f4 --- /dev/null +++ b/cs/src/model/DescribeAgilityTunnelAgentInfoResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +DescribeAgilityTunnelAgentInfoResult::DescribeAgilityTunnelAgentInfoResult() : + ServiceResult() +{} + +DescribeAgilityTunnelAgentInfoResult::DescribeAgilityTunnelAgentInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAgilityTunnelAgentInfoResult::~DescribeAgilityTunnelAgentInfoResult() +{} + +void DescribeAgilityTunnelAgentInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/DescribeAgilityTunnelCertsRequest.cc b/cs/src/model/DescribeAgilityTunnelCertsRequest.cc new file mode 100644 index 000000000..c1d330a92 --- /dev/null +++ b/cs/src/model/DescribeAgilityTunnelCertsRequest.cc @@ -0,0 +1,38 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::DescribeAgilityTunnelCertsRequest; + +DescribeAgilityTunnelCertsRequest::DescribeAgilityTunnelCertsRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +DescribeAgilityTunnelCertsRequest::~DescribeAgilityTunnelCertsRequest() +{} + +std::string DescribeAgilityTunnelCertsRequest::getToken()const +{ + return token_; +} + +void DescribeAgilityTunnelCertsRequest::setToken(const std::string& token) +{ + token_ = token; + setParameter("Token", token); +} + diff --git a/cs/src/model/DescribeAgilityTunnelCertsResult.cc b/cs/src/model/DescribeAgilityTunnelCertsResult.cc new file mode 100644 index 000000000..8bd7a8b88 --- /dev/null +++ b/cs/src/model/DescribeAgilityTunnelCertsResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +DescribeAgilityTunnelCertsResult::DescribeAgilityTunnelCertsResult() : + ServiceResult() +{} + +DescribeAgilityTunnelCertsResult::DescribeAgilityTunnelCertsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAgilityTunnelCertsResult::~DescribeAgilityTunnelCertsResult() +{} + +void DescribeAgilityTunnelCertsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/DescribeApiVersionRequest.cc b/cs/src/model/DescribeApiVersionRequest.cc new file mode 100644 index 000000000..18dc75f77 --- /dev/null +++ b/cs/src/model/DescribeApiVersionRequest.cc @@ -0,0 +1,27 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::DescribeApiVersionRequest; + +DescribeApiVersionRequest::DescribeApiVersionRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +DescribeApiVersionRequest::~DescribeApiVersionRequest() +{} + diff --git a/cs/src/model/DescribeApiVersionResult.cc b/cs/src/model/DescribeApiVersionResult.cc new file mode 100644 index 000000000..2d130d663 --- /dev/null +++ b/cs/src/model/DescribeApiVersionResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +DescribeApiVersionResult::DescribeApiVersionResult() : + ServiceResult() +{} + +DescribeApiVersionResult::DescribeApiVersionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeApiVersionResult::~DescribeApiVersionResult() +{} + +void DescribeApiVersionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/DescribeClusterCertsRequest.cc b/cs/src/model/DescribeClusterCertsRequest.cc new file mode 100644 index 000000000..4c7bb1d18 --- /dev/null +++ b/cs/src/model/DescribeClusterCertsRequest.cc @@ -0,0 +1,38 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::DescribeClusterCertsRequest; + +DescribeClusterCertsRequest::DescribeClusterCertsRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +DescribeClusterCertsRequest::~DescribeClusterCertsRequest() +{} + +std::string DescribeClusterCertsRequest::getClusterId()const +{ + return clusterId_; +} + +void DescribeClusterCertsRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + diff --git a/cs/src/model/DescribeClusterCertsResult.cc b/cs/src/model/DescribeClusterCertsResult.cc new file mode 100644 index 000000000..f797ff697 --- /dev/null +++ b/cs/src/model/DescribeClusterCertsResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +DescribeClusterCertsResult::DescribeClusterCertsResult() : + ServiceResult() +{} + +DescribeClusterCertsResult::DescribeClusterCertsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeClusterCertsResult::~DescribeClusterCertsResult() +{} + +void DescribeClusterCertsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/DescribeClusterDetailRequest.cc b/cs/src/model/DescribeClusterDetailRequest.cc new file mode 100644 index 000000000..c3b9785c6 --- /dev/null +++ b/cs/src/model/DescribeClusterDetailRequest.cc @@ -0,0 +1,38 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::DescribeClusterDetailRequest; + +DescribeClusterDetailRequest::DescribeClusterDetailRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +DescribeClusterDetailRequest::~DescribeClusterDetailRequest() +{} + +std::string DescribeClusterDetailRequest::getClusterId()const +{ + return clusterId_; +} + +void DescribeClusterDetailRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + diff --git a/cs/src/model/DescribeClusterDetailResult.cc b/cs/src/model/DescribeClusterDetailResult.cc new file mode 100644 index 000000000..730e95510 --- /dev/null +++ b/cs/src/model/DescribeClusterDetailResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +DescribeClusterDetailResult::DescribeClusterDetailResult() : + ServiceResult() +{} + +DescribeClusterDetailResult::DescribeClusterDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeClusterDetailResult::~DescribeClusterDetailResult() +{} + +void DescribeClusterDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/DescribeClusterHostsRequest.cc b/cs/src/model/DescribeClusterHostsRequest.cc new file mode 100644 index 000000000..7613e8d5f --- /dev/null +++ b/cs/src/model/DescribeClusterHostsRequest.cc @@ -0,0 +1,38 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::DescribeClusterHostsRequest; + +DescribeClusterHostsRequest::DescribeClusterHostsRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +DescribeClusterHostsRequest::~DescribeClusterHostsRequest() +{} + +std::string DescribeClusterHostsRequest::getClusterId()const +{ + return clusterId_; +} + +void DescribeClusterHostsRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + diff --git a/cs/src/model/DescribeClusterHostsResult.cc b/cs/src/model/DescribeClusterHostsResult.cc new file mode 100644 index 000000000..fd6c947c5 --- /dev/null +++ b/cs/src/model/DescribeClusterHostsResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +DescribeClusterHostsResult::DescribeClusterHostsResult() : + ServiceResult() +{} + +DescribeClusterHostsResult::DescribeClusterHostsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeClusterHostsResult::~DescribeClusterHostsResult() +{} + +void DescribeClusterHostsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/DescribeClusterLogsRequest.cc b/cs/src/model/DescribeClusterLogsRequest.cc new file mode 100644 index 000000000..9d9f2dd05 --- /dev/null +++ b/cs/src/model/DescribeClusterLogsRequest.cc @@ -0,0 +1,38 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::DescribeClusterLogsRequest; + +DescribeClusterLogsRequest::DescribeClusterLogsRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +DescribeClusterLogsRequest::~DescribeClusterLogsRequest() +{} + +std::string DescribeClusterLogsRequest::getClusterId()const +{ + return clusterId_; +} + +void DescribeClusterLogsRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + diff --git a/cs/src/model/DescribeClusterLogsResult.cc b/cs/src/model/DescribeClusterLogsResult.cc new file mode 100644 index 000000000..29dc32505 --- /dev/null +++ b/cs/src/model/DescribeClusterLogsResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +DescribeClusterLogsResult::DescribeClusterLogsResult() : + ServiceResult() +{} + +DescribeClusterLogsResult::DescribeClusterLogsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeClusterLogsResult::~DescribeClusterLogsResult() +{} + +void DescribeClusterLogsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/DescribeClusterNodeInfoRequest.cc b/cs/src/model/DescribeClusterNodeInfoRequest.cc new file mode 100644 index 000000000..e3e14b97c --- /dev/null +++ b/cs/src/model/DescribeClusterNodeInfoRequest.cc @@ -0,0 +1,38 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::DescribeClusterNodeInfoRequest; + +DescribeClusterNodeInfoRequest::DescribeClusterNodeInfoRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +DescribeClusterNodeInfoRequest::~DescribeClusterNodeInfoRequest() +{} + +std::string DescribeClusterNodeInfoRequest::getToken()const +{ + return token_; +} + +void DescribeClusterNodeInfoRequest::setToken(const std::string& token) +{ + token_ = token; + setParameter("Token", token); +} + diff --git a/cs/src/model/DescribeClusterNodeInfoResult.cc b/cs/src/model/DescribeClusterNodeInfoResult.cc new file mode 100644 index 000000000..8edd8dde1 --- /dev/null +++ b/cs/src/model/DescribeClusterNodeInfoResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +DescribeClusterNodeInfoResult::DescribeClusterNodeInfoResult() : + ServiceResult() +{} + +DescribeClusterNodeInfoResult::DescribeClusterNodeInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeClusterNodeInfoResult::~DescribeClusterNodeInfoResult() +{} + +void DescribeClusterNodeInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/DescribeClusterNodeInfoWithInstanceRequest.cc b/cs/src/model/DescribeClusterNodeInfoWithInstanceRequest.cc new file mode 100644 index 000000000..ab4163a6e --- /dev/null +++ b/cs/src/model/DescribeClusterNodeInfoWithInstanceRequest.cc @@ -0,0 +1,49 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::DescribeClusterNodeInfoWithInstanceRequest; + +DescribeClusterNodeInfoWithInstanceRequest::DescribeClusterNodeInfoWithInstanceRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +DescribeClusterNodeInfoWithInstanceRequest::~DescribeClusterNodeInfoWithInstanceRequest() +{} + +std::string DescribeClusterNodeInfoWithInstanceRequest::getInstanceId()const +{ + return instanceId_; +} + +void DescribeClusterNodeInfoWithInstanceRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setParameter("InstanceId", instanceId); +} + +std::string DescribeClusterNodeInfoWithInstanceRequest::getToken()const +{ + return token_; +} + +void DescribeClusterNodeInfoWithInstanceRequest::setToken(const std::string& token) +{ + token_ = token; + setParameter("Token", token); +} + diff --git a/cs/src/model/DescribeClusterNodeInfoWithInstanceResult.cc b/cs/src/model/DescribeClusterNodeInfoWithInstanceResult.cc new file mode 100644 index 000000000..2d30a9e20 --- /dev/null +++ b/cs/src/model/DescribeClusterNodeInfoWithInstanceResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +DescribeClusterNodeInfoWithInstanceResult::DescribeClusterNodeInfoWithInstanceResult() : + ServiceResult() +{} + +DescribeClusterNodeInfoWithInstanceResult::DescribeClusterNodeInfoWithInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeClusterNodeInfoWithInstanceResult::~DescribeClusterNodeInfoWithInstanceResult() +{} + +void DescribeClusterNodeInfoWithInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/DescribeClusterNodesRequest.cc b/cs/src/model/DescribeClusterNodesRequest.cc new file mode 100644 index 000000000..a3a28ba2d --- /dev/null +++ b/cs/src/model/DescribeClusterNodesRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::CS::Model::DescribeClusterNodesRequest; + +DescribeClusterNodesRequest::DescribeClusterNodesRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +DescribeClusterNodesRequest::~DescribeClusterNodesRequest() +{} + +std::string DescribeClusterNodesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeClusterNodesRequest::setPageSize(const std::string& pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", pageSize); +} + +std::string DescribeClusterNodesRequest::getClusterId()const +{ + return clusterId_; +} + +void DescribeClusterNodesRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string DescribeClusterNodesRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeClusterNodesRequest::setPageNumber(const std::string& pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", pageNumber); +} + diff --git a/cs/src/model/DescribeClusterNodesResult.cc b/cs/src/model/DescribeClusterNodesResult.cc new file mode 100644 index 000000000..232064abe --- /dev/null +++ b/cs/src/model/DescribeClusterNodesResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +DescribeClusterNodesResult::DescribeClusterNodesResult() : + ServiceResult() +{} + +DescribeClusterNodesResult::DescribeClusterNodesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeClusterNodesResult::~DescribeClusterNodesResult() +{} + +void DescribeClusterNodesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/DescribeClusterScaledNodeRequest.cc b/cs/src/model/DescribeClusterScaledNodeRequest.cc new file mode 100644 index 000000000..f0cc1d0fd --- /dev/null +++ b/cs/src/model/DescribeClusterScaledNodeRequest.cc @@ -0,0 +1,38 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::DescribeClusterScaledNodeRequest; + +DescribeClusterScaledNodeRequest::DescribeClusterScaledNodeRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +DescribeClusterScaledNodeRequest::~DescribeClusterScaledNodeRequest() +{} + +std::string DescribeClusterScaledNodeRequest::getClusterId()const +{ + return clusterId_; +} + +void DescribeClusterScaledNodeRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + diff --git a/cs/src/model/DescribeClusterScaledNodeResult.cc b/cs/src/model/DescribeClusterScaledNodeResult.cc new file mode 100644 index 000000000..6bb6ce7a2 --- /dev/null +++ b/cs/src/model/DescribeClusterScaledNodeResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +DescribeClusterScaledNodeResult::DescribeClusterScaledNodeResult() : + ServiceResult() +{} + +DescribeClusterScaledNodeResult::DescribeClusterScaledNodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeClusterScaledNodeResult::~DescribeClusterScaledNodeResult() +{} + +void DescribeClusterScaledNodeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/DescribeClusterServicesRequest.cc b/cs/src/model/DescribeClusterServicesRequest.cc new file mode 100644 index 000000000..9b1eb00e2 --- /dev/null +++ b/cs/src/model/DescribeClusterServicesRequest.cc @@ -0,0 +1,38 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::DescribeClusterServicesRequest; + +DescribeClusterServicesRequest::DescribeClusterServicesRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +DescribeClusterServicesRequest::~DescribeClusterServicesRequest() +{} + +std::string DescribeClusterServicesRequest::getClusterId()const +{ + return clusterId_; +} + +void DescribeClusterServicesRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + diff --git a/cs/src/model/DescribeClusterServicesResult.cc b/cs/src/model/DescribeClusterServicesResult.cc new file mode 100644 index 000000000..a0bd3a9d5 --- /dev/null +++ b/cs/src/model/DescribeClusterServicesResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +DescribeClusterServicesResult::DescribeClusterServicesResult() : + ServiceResult() +{} + +DescribeClusterServicesResult::DescribeClusterServicesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeClusterServicesResult::~DescribeClusterServicesResult() +{} + +void DescribeClusterServicesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/DescribeClusterTokensRequest.cc b/cs/src/model/DescribeClusterTokensRequest.cc new file mode 100644 index 000000000..9b9322f98 --- /dev/null +++ b/cs/src/model/DescribeClusterTokensRequest.cc @@ -0,0 +1,38 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::DescribeClusterTokensRequest; + +DescribeClusterTokensRequest::DescribeClusterTokensRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +DescribeClusterTokensRequest::~DescribeClusterTokensRequest() +{} + +std::string DescribeClusterTokensRequest::getClusterId()const +{ + return clusterId_; +} + +void DescribeClusterTokensRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + diff --git a/cs/src/model/DescribeClusterTokensResult.cc b/cs/src/model/DescribeClusterTokensResult.cc new file mode 100644 index 000000000..8bdb0d934 --- /dev/null +++ b/cs/src/model/DescribeClusterTokensResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +DescribeClusterTokensResult::DescribeClusterTokensResult() : + ServiceResult() +{} + +DescribeClusterTokensResult::DescribeClusterTokensResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeClusterTokensResult::~DescribeClusterTokensResult() +{} + +void DescribeClusterTokensResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/DescribeClustersRequest.cc b/cs/src/model/DescribeClustersRequest.cc new file mode 100644 index 000000000..41f9d51ec --- /dev/null +++ b/cs/src/model/DescribeClustersRequest.cc @@ -0,0 +1,49 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::DescribeClustersRequest; + +DescribeClustersRequest::DescribeClustersRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +DescribeClustersRequest::~DescribeClustersRequest() +{} + +std::string DescribeClustersRequest::getClusterType()const +{ + return clusterType_; +} + +void DescribeClustersRequest::setClusterType(const std::string& clusterType) +{ + clusterType_ = clusterType; + setParameter("ClusterType", clusterType); +} + +std::string DescribeClustersRequest::getName()const +{ + return name_; +} + +void DescribeClustersRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + diff --git a/cs/src/model/DescribeClustersResult.cc b/cs/src/model/DescribeClustersResult.cc new file mode 100644 index 000000000..44c014b69 --- /dev/null +++ b/cs/src/model/DescribeClustersResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +DescribeClustersResult::DescribeClustersResult() : + ServiceResult() +{} + +DescribeClustersResult::DescribeClustersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeClustersResult::~DescribeClustersResult() +{} + +void DescribeClustersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/DescribeImagesRequest.cc b/cs/src/model/DescribeImagesRequest.cc new file mode 100644 index 000000000..2aa1d3fb3 --- /dev/null +++ b/cs/src/model/DescribeImagesRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::CS::Model::DescribeImagesRequest; + +DescribeImagesRequest::DescribeImagesRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +DescribeImagesRequest::~DescribeImagesRequest() +{} + +std::string DescribeImagesRequest::getRegionID()const +{ + return regionID_; +} + +void DescribeImagesRequest::setRegionID(const std::string& regionID) +{ + regionID_ = regionID; + setParameter("RegionID", regionID); +} + +std::string DescribeImagesRequest::getImageName()const +{ + return imageName_; +} + +void DescribeImagesRequest::setImageName(const std::string& imageName) +{ + imageName_ = imageName; + setParameter("ImageName", imageName); +} + +std::string DescribeImagesRequest::getDockerVersion()const +{ + return dockerVersion_; +} + +void DescribeImagesRequest::setDockerVersion(const std::string& dockerVersion) +{ + dockerVersion_ = dockerVersion; + setParameter("DockerVersion", dockerVersion); +} + diff --git a/cs/src/model/DescribeImagesResult.cc b/cs/src/model/DescribeImagesResult.cc new file mode 100644 index 000000000..cf0c336f7 --- /dev/null +++ b/cs/src/model/DescribeImagesResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +DescribeImagesResult::DescribeImagesResult() : + ServiceResult() +{} + +DescribeImagesResult::DescribeImagesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeImagesResult::~DescribeImagesResult() +{} + +void DescribeImagesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/DescribeServiceContainersRequest.cc b/cs/src/model/DescribeServiceContainersRequest.cc new file mode 100644 index 000000000..4cd399e33 --- /dev/null +++ b/cs/src/model/DescribeServiceContainersRequest.cc @@ -0,0 +1,49 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::DescribeServiceContainersRequest; + +DescribeServiceContainersRequest::DescribeServiceContainersRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +DescribeServiceContainersRequest::~DescribeServiceContainersRequest() +{} + +std::string DescribeServiceContainersRequest::getClusterId()const +{ + return clusterId_; +} + +void DescribeServiceContainersRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string DescribeServiceContainersRequest::getServiceId()const +{ + return serviceId_; +} + +void DescribeServiceContainersRequest::setServiceId(const std::string& serviceId) +{ + serviceId_ = serviceId; + setParameter("ServiceId", serviceId); +} + diff --git a/cs/src/model/DescribeServiceContainersResult.cc b/cs/src/model/DescribeServiceContainersResult.cc new file mode 100644 index 000000000..bc93e60e5 --- /dev/null +++ b/cs/src/model/DescribeServiceContainersResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +DescribeServiceContainersResult::DescribeServiceContainersResult() : + ServiceResult() +{} + +DescribeServiceContainersResult::DescribeServiceContainersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeServiceContainersResult::~DescribeServiceContainersResult() +{} + +void DescribeServiceContainersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/DescribeTaskInfoRequest.cc b/cs/src/model/DescribeTaskInfoRequest.cc new file mode 100644 index 000000000..ce99b45e8 --- /dev/null +++ b/cs/src/model/DescribeTaskInfoRequest.cc @@ -0,0 +1,38 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::DescribeTaskInfoRequest; + +DescribeTaskInfoRequest::DescribeTaskInfoRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +DescribeTaskInfoRequest::~DescribeTaskInfoRequest() +{} + +std::string DescribeTaskInfoRequest::getTaskId()const +{ + return taskId_; +} + +void DescribeTaskInfoRequest::setTaskId(const std::string& taskId) +{ + taskId_ = taskId; + setParameter("TaskId", taskId); +} + diff --git a/cs/src/model/DescribeTaskInfoResult.cc b/cs/src/model/DescribeTaskInfoResult.cc new file mode 100644 index 000000000..68047dd9a --- /dev/null +++ b/cs/src/model/DescribeTaskInfoResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +DescribeTaskInfoResult::DescribeTaskInfoResult() : + ServiceResult() +{} + +DescribeTaskInfoResult::DescribeTaskInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTaskInfoResult::~DescribeTaskInfoResult() +{} + +void DescribeTaskInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/DescribeTemplateAttributeRequest.cc b/cs/src/model/DescribeTemplateAttributeRequest.cc new file mode 100644 index 000000000..ca4159ad2 --- /dev/null +++ b/cs/src/model/DescribeTemplateAttributeRequest.cc @@ -0,0 +1,38 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::DescribeTemplateAttributeRequest; + +DescribeTemplateAttributeRequest::DescribeTemplateAttributeRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +DescribeTemplateAttributeRequest::~DescribeTemplateAttributeRequest() +{} + +std::string DescribeTemplateAttributeRequest::getTemplateId()const +{ + return templateId_; +} + +void DescribeTemplateAttributeRequest::setTemplateId(const std::string& templateId) +{ + templateId_ = templateId; + setParameter("TemplateId", templateId); +} + diff --git a/cs/src/model/DescribeTemplateAttributeResult.cc b/cs/src/model/DescribeTemplateAttributeResult.cc new file mode 100644 index 000000000..851748d02 --- /dev/null +++ b/cs/src/model/DescribeTemplateAttributeResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +DescribeTemplateAttributeResult::DescribeTemplateAttributeResult() : + ServiceResult() +{} + +DescribeTemplateAttributeResult::DescribeTemplateAttributeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTemplateAttributeResult::~DescribeTemplateAttributeResult() +{} + +void DescribeTemplateAttributeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/DescribeTemplatesRequest.cc b/cs/src/model/DescribeTemplatesRequest.cc new file mode 100644 index 000000000..a44730d87 --- /dev/null +++ b/cs/src/model/DescribeTemplatesRequest.cc @@ -0,0 +1,27 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::DescribeTemplatesRequest; + +DescribeTemplatesRequest::DescribeTemplatesRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +DescribeTemplatesRequest::~DescribeTemplatesRequest() +{} + diff --git a/cs/src/model/DescribeTemplatesResult.cc b/cs/src/model/DescribeTemplatesResult.cc new file mode 100644 index 000000000..d78e61db5 --- /dev/null +++ b/cs/src/model/DescribeTemplatesResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +DescribeTemplatesResult::DescribeTemplatesResult() : + ServiceResult() +{} + +DescribeTemplatesResult::DescribeTemplatesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTemplatesResult::~DescribeTemplatesResult() +{} + +void DescribeTemplatesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/DescribeUserContainersRequest.cc b/cs/src/model/DescribeUserContainersRequest.cc new file mode 100644 index 000000000..d003e05d5 --- /dev/null +++ b/cs/src/model/DescribeUserContainersRequest.cc @@ -0,0 +1,49 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::DescribeUserContainersRequest; + +DescribeUserContainersRequest::DescribeUserContainersRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +DescribeUserContainersRequest::~DescribeUserContainersRequest() +{} + +std::string DescribeUserContainersRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeUserContainersRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string DescribeUserContainersRequest::getServiceId()const +{ + return serviceId_; +} + +void DescribeUserContainersRequest::setServiceId(const std::string& serviceId) +{ + serviceId_ = serviceId; + setParameter("ServiceId", serviceId); +} + diff --git a/cs/src/model/DescribeUserContainersResult.cc b/cs/src/model/DescribeUserContainersResult.cc new file mode 100644 index 000000000..3e4a7fdf1 --- /dev/null +++ b/cs/src/model/DescribeUserContainersResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +DescribeUserContainersResult::DescribeUserContainersResult() : + ServiceResult() +{} + +DescribeUserContainersResult::DescribeUserContainersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeUserContainersResult::~DescribeUserContainersResult() +{} + +void DescribeUserContainersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/DownloadClusterNodeCertsRequest.cc b/cs/src/model/DownloadClusterNodeCertsRequest.cc new file mode 100644 index 000000000..ed043d1f0 --- /dev/null +++ b/cs/src/model/DownloadClusterNodeCertsRequest.cc @@ -0,0 +1,49 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::DownloadClusterNodeCertsRequest; + +DownloadClusterNodeCertsRequest::DownloadClusterNodeCertsRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +DownloadClusterNodeCertsRequest::~DownloadClusterNodeCertsRequest() +{} + +std::string DownloadClusterNodeCertsRequest::getNodeId()const +{ + return nodeId_; +} + +void DownloadClusterNodeCertsRequest::setNodeId(const std::string& nodeId) +{ + nodeId_ = nodeId; + setParameter("NodeId", nodeId); +} + +std::string DownloadClusterNodeCertsRequest::getToken()const +{ + return token_; +} + +void DownloadClusterNodeCertsRequest::setToken(const std::string& token) +{ + token_ = token; + setParameter("Token", token); +} + diff --git a/cs/src/model/DownloadClusterNodeCertsResult.cc b/cs/src/model/DownloadClusterNodeCertsResult.cc new file mode 100644 index 000000000..8c2b7cede --- /dev/null +++ b/cs/src/model/DownloadClusterNodeCertsResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +DownloadClusterNodeCertsResult::DownloadClusterNodeCertsResult() : + ServiceResult() +{} + +DownloadClusterNodeCertsResult::DownloadClusterNodeCertsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DownloadClusterNodeCertsResult::~DownloadClusterNodeCertsResult() +{} + +void DownloadClusterNodeCertsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/GatherLogsTokenRequest.cc b/cs/src/model/GatherLogsTokenRequest.cc new file mode 100644 index 000000000..84ea0f98e --- /dev/null +++ b/cs/src/model/GatherLogsTokenRequest.cc @@ -0,0 +1,38 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::GatherLogsTokenRequest; + +GatherLogsTokenRequest::GatherLogsTokenRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +GatherLogsTokenRequest::~GatherLogsTokenRequest() +{} + +std::string GatherLogsTokenRequest::getToken()const +{ + return token_; +} + +void GatherLogsTokenRequest::setToken(const std::string& token) +{ + token_ = token; + setParameter("Token", token); +} + diff --git a/cs/src/model/GatherLogsTokenResult.cc b/cs/src/model/GatherLogsTokenResult.cc new file mode 100644 index 000000000..30b10aac0 --- /dev/null +++ b/cs/src/model/GatherLogsTokenResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +GatherLogsTokenResult::GatherLogsTokenResult() : + ServiceResult() +{} + +GatherLogsTokenResult::GatherLogsTokenResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GatherLogsTokenResult::~GatherLogsTokenResult() +{} + +void GatherLogsTokenResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/GetClusterProjectsRequest.cc b/cs/src/model/GetClusterProjectsRequest.cc new file mode 100644 index 000000000..6700b6cf7 --- /dev/null +++ b/cs/src/model/GetClusterProjectsRequest.cc @@ -0,0 +1,38 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::GetClusterProjectsRequest; + +GetClusterProjectsRequest::GetClusterProjectsRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +GetClusterProjectsRequest::~GetClusterProjectsRequest() +{} + +std::string GetClusterProjectsRequest::getClusterId()const +{ + return clusterId_; +} + +void GetClusterProjectsRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + diff --git a/cs/src/model/GetClusterProjectsResult.cc b/cs/src/model/GetClusterProjectsResult.cc new file mode 100644 index 000000000..8728d61f4 --- /dev/null +++ b/cs/src/model/GetClusterProjectsResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +GetClusterProjectsResult::GetClusterProjectsResult() : + ServiceResult() +{} + +GetClusterProjectsResult::GetClusterProjectsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetClusterProjectsResult::~GetClusterProjectsResult() +{} + +void GetClusterProjectsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/GetProjectEventsRequest.cc b/cs/src/model/GetProjectEventsRequest.cc new file mode 100644 index 000000000..e1654aacf --- /dev/null +++ b/cs/src/model/GetProjectEventsRequest.cc @@ -0,0 +1,49 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::GetProjectEventsRequest; + +GetProjectEventsRequest::GetProjectEventsRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +GetProjectEventsRequest::~GetProjectEventsRequest() +{} + +std::string GetProjectEventsRequest::getClusterId()const +{ + return clusterId_; +} + +void GetProjectEventsRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string GetProjectEventsRequest::getProjectId()const +{ + return projectId_; +} + +void GetProjectEventsRequest::setProjectId(const std::string& projectId) +{ + projectId_ = projectId; + setParameter("ProjectId", projectId); +} + diff --git a/cs/src/model/GetProjectEventsResult.cc b/cs/src/model/GetProjectEventsResult.cc new file mode 100644 index 000000000..ec45e3a44 --- /dev/null +++ b/cs/src/model/GetProjectEventsResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +GetProjectEventsResult::GetProjectEventsResult() : + ServiceResult() +{} + +GetProjectEventsResult::GetProjectEventsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetProjectEventsResult::~GetProjectEventsResult() +{} + +void GetProjectEventsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/GetTriggerHookRequest.cc b/cs/src/model/GetTriggerHookRequest.cc new file mode 100644 index 000000000..885f88b2d --- /dev/null +++ b/cs/src/model/GetTriggerHookRequest.cc @@ -0,0 +1,49 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::GetTriggerHookRequest; + +GetTriggerHookRequest::GetTriggerHookRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +GetTriggerHookRequest::~GetTriggerHookRequest() +{} + +std::string GetTriggerHookRequest::getClusterId()const +{ + return clusterId_; +} + +void GetTriggerHookRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string GetTriggerHookRequest::getProjectId()const +{ + return projectId_; +} + +void GetTriggerHookRequest::setProjectId(const std::string& projectId) +{ + projectId_ = projectId; + setParameter("ProjectId", projectId); +} + diff --git a/cs/src/model/GetTriggerHookResult.cc b/cs/src/model/GetTriggerHookResult.cc new file mode 100644 index 000000000..a1d970891 --- /dev/null +++ b/cs/src/model/GetTriggerHookResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +GetTriggerHookResult::GetTriggerHookResult() : + ServiceResult() +{} + +GetTriggerHookResult::GetTriggerHookResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetTriggerHookResult::~GetTriggerHookResult() +{} + +void GetTriggerHookResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/ModifyClusterNameRequest.cc b/cs/src/model/ModifyClusterNameRequest.cc new file mode 100644 index 000000000..c3d0f3e14 --- /dev/null +++ b/cs/src/model/ModifyClusterNameRequest.cc @@ -0,0 +1,27 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::ModifyClusterNameRequest; + +ModifyClusterNameRequest::ModifyClusterNameRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +ModifyClusterNameRequest::~ModifyClusterNameRequest() +{} + diff --git a/cs/src/model/ModifyClusterNameResult.cc b/cs/src/model/ModifyClusterNameResult.cc new file mode 100644 index 000000000..db1fccd95 --- /dev/null +++ b/cs/src/model/ModifyClusterNameResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +ModifyClusterNameResult::ModifyClusterNameResult() : + ServiceResult() +{} + +ModifyClusterNameResult::ModifyClusterNameResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyClusterNameResult::~ModifyClusterNameResult() +{} + +void ModifyClusterNameResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/ResetClusterNodeRequest.cc b/cs/src/model/ResetClusterNodeRequest.cc new file mode 100644 index 000000000..7deeff334 --- /dev/null +++ b/cs/src/model/ResetClusterNodeRequest.cc @@ -0,0 +1,49 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::ResetClusterNodeRequest; + +ResetClusterNodeRequest::ResetClusterNodeRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +ResetClusterNodeRequest::~ResetClusterNodeRequest() +{} + +std::string ResetClusterNodeRequest::getInstanceId()const +{ + return instanceId_; +} + +void ResetClusterNodeRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setParameter("InstanceId", instanceId); +} + +std::string ResetClusterNodeRequest::getClusterId()const +{ + return clusterId_; +} + +void ResetClusterNodeRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + diff --git a/cs/src/model/ResetClusterNodeResult.cc b/cs/src/model/ResetClusterNodeResult.cc new file mode 100644 index 000000000..c9eed26b2 --- /dev/null +++ b/cs/src/model/ResetClusterNodeResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +ResetClusterNodeResult::ResetClusterNodeResult() : + ServiceResult() +{} + +ResetClusterNodeResult::ResetClusterNodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ResetClusterNodeResult::~ResetClusterNodeResult() +{} + +void ResetClusterNodeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/RevokeClusterTokenRequest.cc b/cs/src/model/RevokeClusterTokenRequest.cc new file mode 100644 index 000000000..6ccac24de --- /dev/null +++ b/cs/src/model/RevokeClusterTokenRequest.cc @@ -0,0 +1,38 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::RevokeClusterTokenRequest; + +RevokeClusterTokenRequest::RevokeClusterTokenRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +RevokeClusterTokenRequest::~RevokeClusterTokenRequest() +{} + +std::string RevokeClusterTokenRequest::getToken()const +{ + return token_; +} + +void RevokeClusterTokenRequest::setToken(const std::string& token) +{ + token_ = token; + setParameter("Token", token); +} + diff --git a/cs/src/model/RevokeClusterTokenResult.cc b/cs/src/model/RevokeClusterTokenResult.cc new file mode 100644 index 000000000..bb8c8085f --- /dev/null +++ b/cs/src/model/RevokeClusterTokenResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +RevokeClusterTokenResult::RevokeClusterTokenResult() : + ServiceResult() +{} + +RevokeClusterTokenResult::RevokeClusterTokenResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RevokeClusterTokenResult::~RevokeClusterTokenResult() +{} + +void RevokeClusterTokenResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/ScaleClusterRequest.cc b/cs/src/model/ScaleClusterRequest.cc new file mode 100644 index 000000000..c2c466a1c --- /dev/null +++ b/cs/src/model/ScaleClusterRequest.cc @@ -0,0 +1,38 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::ScaleClusterRequest; + +ScaleClusterRequest::ScaleClusterRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +ScaleClusterRequest::~ScaleClusterRequest() +{} + +std::string ScaleClusterRequest::getClusterId()const +{ + return clusterId_; +} + +void ScaleClusterRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + diff --git a/cs/src/model/ScaleClusterResult.cc b/cs/src/model/ScaleClusterResult.cc new file mode 100644 index 000000000..b5a2300bd --- /dev/null +++ b/cs/src/model/ScaleClusterResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +ScaleClusterResult::ScaleClusterResult() : + ServiceResult() +{} + +ScaleClusterResult::ScaleClusterResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ScaleClusterResult::~ScaleClusterResult() +{} + +void ScaleClusterResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/ScaleInClusterRequest.cc b/cs/src/model/ScaleInClusterRequest.cc new file mode 100644 index 000000000..2dd6cebf2 --- /dev/null +++ b/cs/src/model/ScaleInClusterRequest.cc @@ -0,0 +1,38 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::ScaleInClusterRequest; + +ScaleInClusterRequest::ScaleInClusterRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +ScaleInClusterRequest::~ScaleInClusterRequest() +{} + +std::string ScaleInClusterRequest::getClusterId()const +{ + return clusterId_; +} + +void ScaleInClusterRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + diff --git a/cs/src/model/ScaleInClusterResult.cc b/cs/src/model/ScaleInClusterResult.cc new file mode 100644 index 000000000..ad88dbc5f --- /dev/null +++ b/cs/src/model/ScaleInClusterResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +ScaleInClusterResult::ScaleInClusterResult() : + ServiceResult() +{} + +ScaleInClusterResult::ScaleInClusterResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ScaleInClusterResult::~ScaleInClusterResult() +{} + +void ScaleInClusterResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/UpdateSubUserResoucesRequest.cc b/cs/src/model/UpdateSubUserResoucesRequest.cc new file mode 100644 index 000000000..edd1077b6 --- /dev/null +++ b/cs/src/model/UpdateSubUserResoucesRequest.cc @@ -0,0 +1,27 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::UpdateSubUserResoucesRequest; + +UpdateSubUserResoucesRequest::UpdateSubUserResoucesRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +UpdateSubUserResoucesRequest::~UpdateSubUserResoucesRequest() +{} + diff --git a/cs/src/model/UpdateSubUserResoucesResult.cc b/cs/src/model/UpdateSubUserResoucesResult.cc new file mode 100644 index 000000000..541e6d907 --- /dev/null +++ b/cs/src/model/UpdateSubUserResoucesResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +UpdateSubUserResoucesResult::UpdateSubUserResoucesResult() : + ServiceResult() +{} + +UpdateSubUserResoucesResult::UpdateSubUserResoucesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateSubUserResoucesResult::~UpdateSubUserResoucesResult() +{} + +void UpdateSubUserResoucesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/cs/src/model/UpgradeClusterComponentsRequest.cc b/cs/src/model/UpgradeClusterComponentsRequest.cc new file mode 100644 index 000000000..b37b7558d --- /dev/null +++ b/cs/src/model/UpgradeClusterComponentsRequest.cc @@ -0,0 +1,49 @@ +/* + * 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 + +using AlibabaCloud::CS::Model::UpgradeClusterComponentsRequest; + +UpgradeClusterComponentsRequest::UpgradeClusterComponentsRequest() : + RoaServiceRequest("cs", "2015-12-15") +{} + +UpgradeClusterComponentsRequest::~UpgradeClusterComponentsRequest() +{} + +std::string UpgradeClusterComponentsRequest::getComponentId()const +{ + return componentId_; +} + +void UpgradeClusterComponentsRequest::setComponentId(const std::string& componentId) +{ + componentId_ = componentId; + setParameter("ComponentId", componentId); +} + +std::string UpgradeClusterComponentsRequest::getClusterId()const +{ + return clusterId_; +} + +void UpgradeClusterComponentsRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + diff --git a/cs/src/model/UpgradeClusterComponentsResult.cc b/cs/src/model/UpgradeClusterComponentsResult.cc new file mode 100644 index 000000000..abe917458 --- /dev/null +++ b/cs/src/model/UpgradeClusterComponentsResult.cc @@ -0,0 +1,45 @@ +/* + * 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 +#include + +using namespace AlibabaCloud::CS; +using namespace AlibabaCloud::CS::Model; + +UpgradeClusterComponentsResult::UpgradeClusterComponentsResult() : + ServiceResult() +{} + +UpgradeClusterComponentsResult::UpgradeClusterComponentsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpgradeClusterComponentsResult::~UpgradeClusterComponentsResult() +{} + +void UpgradeClusterComponentsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} +