From 52e8716a5548d75669973045fe249bdd10cdbd8f Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 16 May 2022 06:51:47 +0000 Subject: [PATCH] Support UpdateApplicationVswitches and DescribeComponents. --- CHANGELOG | 3 + VERSION | 2 +- sae/CMakeLists.txt | 20 +- sae/include/alibabacloud/sae/SaeClient.h | 32 +- .../AbortAndRollbackChangeOrderRequest.h | 68 +- .../sae/model/AbortChangeOrderRequest.h | 68 +- .../sae/model/BatchStartApplicationsRequest.h | 74 +- .../sae/model/BatchStopApplicationsRequest.h | 74 +- .../alibabacloud/sae/model/BindSlbRequest.h | 92 ++- .../sae/model/ConfirmPipelineBatchRequest.h | 74 +- .../sae/model/CreateApplicationRequest.h | 389 +++++----- .../CreateApplicationScalingRuleRequest.h | 110 ++- .../sae/model/CreateConfigMapRequest.h | 86 +-- .../sae/model/CreateGreyTagRouteRequest.h | 92 ++- .../sae/model/CreateIngressRequest.h | 110 +-- .../sae/model/CreateNamespaceRequest.h | 80 +- .../sae/model/DeleteApplicationRequest.h | 68 +- .../DeleteApplicationScalingRuleRequest.h | 74 +- .../sae/model/DeleteConfigMapRequest.h | 68 +- .../sae/model/DeleteGreyTagRouteRequest.h | 68 +- .../sae/model/DeleteIngressRequest.h | 68 +- .../sae/model/DeleteNamespaceRequest.h | 68 +- .../sae/model/DeployApplicationRequest.h | 365 +++++---- .../model/DescribeAppServiceDetailRequest.h | 92 ++- .../model/DescribeApplicationConfigRequest.h | 74 +- .../model/DescribeApplicationConfigResult.h | 1 + .../model/DescribeApplicationGroupsRequest.h | 80 +- .../model/DescribeApplicationGroupsResult.h | 2 +- .../model/DescribeApplicationImageRequest.h | 74 +- .../model/DescribeApplicationImageResult.h | 2 +- .../DescribeApplicationInstancesRequest.h | 98 ++- .../DescribeApplicationScalingRuleRequest.h | 74 +- .../DescribeApplicationScalingRulesRequest.h | 68 +- .../model/DescribeApplicationSlbsRequest.h | 68 +- .../sae/model/DescribeApplicationSlbsResult.h | 4 +- .../model/DescribeApplicationStatusRequest.h | 68 +- .../sae/model/DescribeChangeOrderRequest.h | 68 +- .../sae/model/DescribeComponentsRequest.h | 74 +- .../sae/model/DescribeConfigMapRequest.h | 68 +- .../sae/model/DescribeConfigMapResult.h | 2 +- .../model/DescribeConfigurationPriceRequest.h | 74 +- .../sae/model/DescribeEdasContainersRequest.h | 62 +- .../sae/model/DescribeGreyTagRouteRequest.h | 68 +- .../sae/model/DescribeGreyTagRouteResult.h | 12 +- .../sae/model/DescribeIngressRequest.h | 68 +- .../sae/model/DescribeIngressResult.h | 4 +- .../sae/model/DescribeInstanceLogRequest.h | 68 +- .../DescribeInstanceSpecificationsRequest.h | 62 +- .../sae/model/DescribeNamespaceListRequest.h | 74 +- .../sae/model/DescribeNamespaceRequest.h | 68 +- .../model/DescribeNamespaceResourcesRequest.h | 68 +- .../model/DescribeNamespaceResourcesResult.h | 3 +- .../sae/model/DescribeNamespaceResult.h | 2 +- .../sae/model/DescribeNamespacesRequest.h | 74 +- .../sae/model/DescribePipelineRequest.h | 68 +- .../sae/model/DescribeRegionsRequest.h | 62 +- .../DisableApplicationScalingRuleRequest.h | 74 +- .../sae/model/DownloadFilesRequest.h | 54 -- .../EnableApplicationScalingRuleRequest.h | 74 +- .../sae/model/ListAppEventsRequest.h | 110 ++- .../sae/model/ListAppEventsResult.h | 2 +- .../sae/model/ListAppServicesPageRequest.h | 86 +-- .../sae/model/ListAppVersionsRequest.h | 68 +- .../sae/model/ListApplicationsRequest.h | 116 ++- .../sae/model/ListChangeOrdersRequest.h | 98 ++- .../sae/model/ListChangeOrdersResult.h | 6 +- .../sae/model/ListConsumedServicesRequest.h | 68 +- .../sae/model/ListConsumedServicesResult.h | 2 +- .../sae/model/ListGreyTagRouteRequest.h | 68 +- .../sae/model/ListGreyTagRouteResult.h | 6 +- .../sae/model/ListIngressesRequest.h | 74 +- .../sae/model/ListIngressesResult.h | 4 +- .../sae/model/ListLogConfigsRequest.h | 80 +- .../model/ListNamespaceChangeOrdersRequest.h | 98 ++- .../model/ListNamespaceChangeOrdersResult.h | 4 +- .../model/ListNamespacedConfigMapsRequest.h | 68 +- .../model/ListNamespacedConfigMapsResult.h | 2 +- .../sae/model/ListPublishedServicesRequest.h | 68 +- .../sae/model/ListPublishedServicesResult.h | 2 +- .../sae/model/ListTagResourcesRequest.h | 92 ++- .../sae/model/OpenSaeServiceRequest.h | 62 +- .../sae/model/QueryResourceStaticsRequest.h | 68 +- ...eApplicationCapacityByInstanceIdsRequest.h | 74 +- .../sae/model/RescaleApplicationRequest.h | 92 ++- .../RescaleApplicationVerticallyRequest.h | 80 +- .../sae/model/RestartApplicationRequest.h | 80 +- .../sae/model/RestartInstancesRequest.h | 74 +- .../sae/model/RollbackApplicationRequest.h | 104 ++- .../sae/model/StartApplicationRequest.h | 68 +- .../sae/model/StopApplicationRequest.h | 68 +- .../sae/model/TagResourcesRequest.h | 86 +-- .../alibabacloud/sae/model/UnbindSlbRequest.h | 80 +- .../sae/model/UntagResourcesRequest.h | 92 ++- .../sae/model/UpdateAppSecurityGroupRequest.h | 74 +- .../UpdateApplicationDescriptionRequest.h | 45 ++ ...h => UpdateApplicationDescriptionResult.h} | 16 +- .../UpdateApplicationScalingRuleRequest.h | 98 ++- .../model/UpdateApplicationVswitchesRequest.h | 45 ++ ...t.h => UpdateApplicationVswitchesResult.h} | 16 +- .../sae/model/UpdateConfigMapRequest.h | 80 +- .../sae/model/UpdateGreyTagRouteRequest.h | 86 +-- .../sae/model/UpdateIngressRequest.h | 104 +-- .../sae/model/UpdateNamespaceRequest.h | 80 +- .../sae/model/UpdateNamespaceResult.h | 2 +- .../sae/model/UpdateNamespaceVpcRequest.h | 74 +- .../sae/model/UploadFilesRequest.h | 57 -- sae/src/SaeClient.cc | 144 ++-- .../AbortAndRollbackChangeOrderRequest.cc | 48 +- .../AbortAndRollbackChangeOrderResult.cc | 12 +- sae/src/model/AbortChangeOrderRequest.cc | 48 +- sae/src/model/AbortChangeOrderResult.cc | 12 +- .../model/BatchStartApplicationsRequest.cc | 60 +- sae/src/model/BatchStartApplicationsResult.cc | 8 +- sae/src/model/BatchStopApplicationsRequest.cc | 60 +- sae/src/model/BatchStopApplicationsResult.cc | 8 +- sae/src/model/BindSlbRequest.cc | 96 ++- sae/src/model/ConfirmPipelineBatchRequest.cc | 60 +- sae/src/model/ConfirmPipelineBatchResult.cc | 12 +- sae/src/model/CreateApplicationRequest.cc | 699 ++++++++---------- .../CreateApplicationScalingRuleRequest.cc | 132 ++-- sae/src/model/CreateConfigMapRequest.cc | 84 +-- sae/src/model/CreateGreyTagRouteRequest.cc | 96 ++- sae/src/model/CreateIngressRequest.cc | 138 ++-- sae/src/model/CreateNamespaceRequest.cc | 72 +- sae/src/model/DeleteApplicationRequest.cc | 48 +- sae/src/model/DeleteApplicationResult.cc | 12 +- .../DeleteApplicationScalingRuleRequest.cc | 60 +- sae/src/model/DeleteConfigMapRequest.cc | 48 +- sae/src/model/DeleteConfigMapResult.cc | 8 +- sae/src/model/DeleteGreyTagRouteRequest.cc | 48 +- sae/src/model/DeleteIngressRequest.cc | 48 +- sae/src/model/DeleteNamespaceRequest.cc | 48 +- sae/src/model/DeployApplicationRequest.cc | 645 +++++++--------- .../model/DescribeAppServiceDetailRequest.cc | 96 ++- .../model/DescribeApplicationConfigRequest.cc | 60 +- .../model/DescribeApplicationConfigResult.cc | 2 + .../model/DescribeApplicationGroupsRequest.cc | 72 +- .../model/DescribeApplicationGroupsResult.cc | 36 +- .../model/DescribeApplicationImageRequest.cc | 60 +- .../model/DescribeApplicationImageResult.cc | 36 +- .../DescribeApplicationInstancesRequest.cc | 108 ++- .../DescribeApplicationScalingRuleRequest.cc | 60 +- .../DescribeApplicationScalingRulesRequest.cc | 48 +- .../model/DescribeApplicationSlbsRequest.cc | 48 +- .../model/DescribeApplicationSlbsResult.cc | 52 +- .../model/DescribeApplicationStatusRequest.cc | 48 +- sae/src/model/DescribeChangeOrderRequest.cc | 48 +- sae/src/model/DescribeComponentsRequest.cc | 60 +- sae/src/model/DescribeComponentsResult.cc | 16 +- sae/src/model/DescribeConfigMapRequest.cc | 48 +- sae/src/model/DescribeConfigMapResult.cc | 28 +- .../DescribeConfigurationPriceRequest.cc | 60 +- .../model/DescribeEdasContainersRequest.cc | 36 +- sae/src/model/DescribeEdasContainersResult.cc | 12 +- sae/src/model/DescribeGreyTagRouteRequest.cc | 48 +- sae/src/model/DescribeGreyTagRouteResult.cc | 36 +- sae/src/model/DescribeIngressRequest.cc | 48 +- sae/src/model/DescribeIngressResult.cc | 44 +- sae/src/model/DescribeInstanceLogRequest.cc | 48 +- sae/src/model/DescribeInstanceLogResult.cc | 12 +- .../DescribeInstanceSpecificationsRequest.cc | 36 +- .../DescribeInstanceSpecificationsResult.cc | 24 +- sae/src/model/DescribeNamespaceListRequest.cc | 60 +- sae/src/model/DescribeNamespaceListResult.cc | 40 +- sae/src/model/DescribeNamespaceRequest.cc | 48 +- .../DescribeNamespaceResourcesRequest.cc | 48 +- .../model/DescribeNamespaceResourcesResult.cc | 50 +- sae/src/model/DescribeNamespaceResult.cc | 20 +- sae/src/model/DescribeNamespacesRequest.cc | 60 +- sae/src/model/DescribePipelineRequest.cc | 48 +- sae/src/model/DescribeRegionsRequest.cc | 36 +- .../DisableApplicationScalingRuleRequest.cc | 60 +- sae/src/model/DownloadFilesRequest.cc | 63 -- .../EnableApplicationScalingRuleRequest.cc | 60 +- sae/src/model/ListAppEventsRequest.cc | 132 ++-- sae/src/model/ListAppEventsResult.cc | 24 +- sae/src/model/ListAppServicesPageRequest.cc | 84 +-- sae/src/model/ListAppVersionsRequest.cc | 48 +- sae/src/model/ListAppVersionsResult.cc | 20 +- sae/src/model/ListApplicationsRequest.cc | 144 ++-- sae/src/model/ListChangeOrdersRequest.cc | 108 ++- sae/src/model/ListChangeOrdersResult.cc | 44 +- sae/src/model/ListConsumedServicesRequest.cc | 48 +- sae/src/model/ListConsumedServicesResult.cc | 8 +- sae/src/model/ListGreyTagRouteRequest.cc | 48 +- sae/src/model/ListGreyTagRouteResult.cc | 56 +- sae/src/model/ListIngressesRequest.cc | 60 +- sae/src/model/ListIngressesResult.cc | 36 +- sae/src/model/ListLogConfigsRequest.cc | 72 +- sae/src/model/ListLogConfigsResult.cc | 24 +- .../model/ListNamespaceChangeOrdersRequest.cc | 108 ++- .../model/ListNamespaceChangeOrdersResult.cc | 60 +- .../model/ListNamespacedConfigMapsRequest.cc | 48 +- .../model/ListNamespacedConfigMapsResult.cc | 28 +- sae/src/model/ListPublishedServicesRequest.cc | 48 +- sae/src/model/ListPublishedServicesResult.cc | 8 +- sae/src/model/ListTagResourcesRequest.cc | 96 ++- sae/src/model/OpenSaeServiceRequest.cc | 36 +- sae/src/model/QueryResourceStaticsRequest.cc | 48 +- ...ApplicationCapacityByInstanceIdsRequest.cc | 60 +- sae/src/model/RescaleApplicationRequest.cc | 96 ++- .../RescaleApplicationVerticallyRequest.cc | 72 +- .../RescaleApplicationVerticallyResult.cc | 12 +- sae/src/model/RestartApplicationRequest.cc | 72 +- sae/src/model/RestartInstancesRequest.cc | 60 +- sae/src/model/RestartInstancesResult.cc | 12 +- sae/src/model/RollbackApplicationRequest.cc | 120 ++- sae/src/model/StartApplicationRequest.cc | 48 +- sae/src/model/StartApplicationResult.cc | 12 +- sae/src/model/StopApplicationRequest.cc | 48 +- sae/src/model/StopApplicationResult.cc | 12 +- sae/src/model/TagResourcesRequest.cc | 84 +-- sae/src/model/UnbindSlbRequest.cc | 72 +- sae/src/model/UnbindSlbResult.cc | 12 +- sae/src/model/UntagResourcesRequest.cc | 96 ++- .../model/UpdateAppSecurityGroupRequest.cc | 60 +- sae/src/model/UpdateAppSecurityGroupResult.cc | 8 +- .../UpdateApplicationDescriptionRequest.cc | 46 ++ ... => UpdateApplicationDescriptionResult.cc} | 27 +- .../UpdateApplicationScalingRuleRequest.cc | 108 ++- .../UpdateApplicationVswitchesRequest.cc | 46 ++ ...cc => UpdateApplicationVswitchesResult.cc} | 27 +- sae/src/model/UpdateConfigMapRequest.cc | 72 +- sae/src/model/UpdateGreyTagRouteRequest.cc | 84 +-- sae/src/model/UpdateIngressRequest.cc | 126 ++-- sae/src/model/UpdateNamespaceRequest.cc | 72 +- sae/src/model/UpdateNamespaceResult.cc | 20 +- sae/src/model/UpdateNamespaceVpcRequest.cc | 60 +- sae/src/model/UpdateNamespaceVpcResult.cc | 8 +- sae/src/model/UploadFilesRequest.cc | 74 -- 230 files changed, 6838 insertions(+), 8037 deletions(-) delete mode 100644 sae/include/alibabacloud/sae/model/DownloadFilesRequest.h create mode 100644 sae/include/alibabacloud/sae/model/UpdateApplicationDescriptionRequest.h rename sae/include/alibabacloud/sae/model/{UploadFilesResult.h => UpdateApplicationDescriptionResult.h} (72%) create mode 100644 sae/include/alibabacloud/sae/model/UpdateApplicationVswitchesRequest.h rename sae/include/alibabacloud/sae/model/{DownloadFilesResult.h => UpdateApplicationVswitchesResult.h} (73%) delete mode 100644 sae/include/alibabacloud/sae/model/UploadFilesRequest.h delete mode 100644 sae/src/model/DownloadFilesRequest.cc create mode 100644 sae/src/model/UpdateApplicationDescriptionRequest.cc rename sae/src/model/{UploadFilesResult.cc => UpdateApplicationDescriptionResult.cc} (66%) create mode 100644 sae/src/model/UpdateApplicationVswitchesRequest.cc rename sae/src/model/{DownloadFilesResult.cc => UpdateApplicationVswitchesResult.cc} (67%) delete mode 100644 sae/src/model/UploadFilesRequest.cc diff --git a/CHANGELOG b/CHANGELOG index ebd13c7b1..2bbe425da 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2022-05-16 Version: 1.36.1127 +- Support UpdateApplicationVswitches and DescribeComponents. + 2022-05-16 Version: 1.36.1126 - Generated 2016-11-01 for `live`. diff --git a/VERSION b/VERSION index 3c2eb2e7b..2b4bfcba7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1126 \ No newline at end of file +1.36.1127 \ No newline at end of file diff --git a/sae/CMakeLists.txt b/sae/CMakeLists.txt index a2da90f6e..0cac6fab3 100644 --- a/sae/CMakeLists.txt +++ b/sae/CMakeLists.txt @@ -109,8 +109,6 @@ set(sae_public_header_model include/alibabacloud/sae/model/DescribeRegionsResult.h include/alibabacloud/sae/model/DisableApplicationScalingRuleRequest.h include/alibabacloud/sae/model/DisableApplicationScalingRuleResult.h - include/alibabacloud/sae/model/DownloadFilesRequest.h - include/alibabacloud/sae/model/DownloadFilesResult.h include/alibabacloud/sae/model/EnableApplicationScalingRuleRequest.h include/alibabacloud/sae/model/EnableApplicationScalingRuleResult.h include/alibabacloud/sae/model/ListAppEventsRequest.h @@ -167,8 +165,12 @@ set(sae_public_header_model include/alibabacloud/sae/model/UntagResourcesResult.h include/alibabacloud/sae/model/UpdateAppSecurityGroupRequest.h include/alibabacloud/sae/model/UpdateAppSecurityGroupResult.h + include/alibabacloud/sae/model/UpdateApplicationDescriptionRequest.h + include/alibabacloud/sae/model/UpdateApplicationDescriptionResult.h include/alibabacloud/sae/model/UpdateApplicationScalingRuleRequest.h include/alibabacloud/sae/model/UpdateApplicationScalingRuleResult.h + include/alibabacloud/sae/model/UpdateApplicationVswitchesRequest.h + include/alibabacloud/sae/model/UpdateApplicationVswitchesResult.h include/alibabacloud/sae/model/UpdateConfigMapRequest.h include/alibabacloud/sae/model/UpdateConfigMapResult.h include/alibabacloud/sae/model/UpdateGreyTagRouteRequest.h @@ -178,9 +180,7 @@ set(sae_public_header_model include/alibabacloud/sae/model/UpdateNamespaceRequest.h include/alibabacloud/sae/model/UpdateNamespaceResult.h include/alibabacloud/sae/model/UpdateNamespaceVpcRequest.h - include/alibabacloud/sae/model/UpdateNamespaceVpcResult.h - include/alibabacloud/sae/model/UploadFilesRequest.h - include/alibabacloud/sae/model/UploadFilesResult.h ) + include/alibabacloud/sae/model/UpdateNamespaceVpcResult.h ) set(sae_src src/SaeClient.cc @@ -272,8 +272,6 @@ set(sae_src src/model/DescribeRegionsResult.cc src/model/DisableApplicationScalingRuleRequest.cc src/model/DisableApplicationScalingRuleResult.cc - src/model/DownloadFilesRequest.cc - src/model/DownloadFilesResult.cc src/model/EnableApplicationScalingRuleRequest.cc src/model/EnableApplicationScalingRuleResult.cc src/model/ListAppEventsRequest.cc @@ -330,8 +328,12 @@ set(sae_src src/model/UntagResourcesResult.cc src/model/UpdateAppSecurityGroupRequest.cc src/model/UpdateAppSecurityGroupResult.cc + src/model/UpdateApplicationDescriptionRequest.cc + src/model/UpdateApplicationDescriptionResult.cc src/model/UpdateApplicationScalingRuleRequest.cc src/model/UpdateApplicationScalingRuleResult.cc + src/model/UpdateApplicationVswitchesRequest.cc + src/model/UpdateApplicationVswitchesResult.cc src/model/UpdateConfigMapRequest.cc src/model/UpdateConfigMapResult.cc src/model/UpdateGreyTagRouteRequest.cc @@ -341,9 +343,7 @@ set(sae_src src/model/UpdateNamespaceRequest.cc src/model/UpdateNamespaceResult.cc src/model/UpdateNamespaceVpcRequest.cc - src/model/UpdateNamespaceVpcResult.cc - src/model/UploadFilesRequest.cc - src/model/UploadFilesResult.cc ) + src/model/UpdateNamespaceVpcResult.cc ) add_library(sae ${LIB_TYPE} ${sae_public_header} diff --git a/sae/include/alibabacloud/sae/SaeClient.h b/sae/include/alibabacloud/sae/SaeClient.h index 695dcc199..5297998d1 100644 --- a/sae/include/alibabacloud/sae/SaeClient.h +++ b/sae/include/alibabacloud/sae/SaeClient.h @@ -110,8 +110,6 @@ #include "model/DescribeRegionsResult.h" #include "model/DisableApplicationScalingRuleRequest.h" #include "model/DisableApplicationScalingRuleResult.h" -#include "model/DownloadFilesRequest.h" -#include "model/DownloadFilesResult.h" #include "model/EnableApplicationScalingRuleRequest.h" #include "model/EnableApplicationScalingRuleResult.h" #include "model/ListAppEventsRequest.h" @@ -168,8 +166,12 @@ #include "model/UntagResourcesResult.h" #include "model/UpdateAppSecurityGroupRequest.h" #include "model/UpdateAppSecurityGroupResult.h" +#include "model/UpdateApplicationDescriptionRequest.h" +#include "model/UpdateApplicationDescriptionResult.h" #include "model/UpdateApplicationScalingRuleRequest.h" #include "model/UpdateApplicationScalingRuleResult.h" +#include "model/UpdateApplicationVswitchesRequest.h" +#include "model/UpdateApplicationVswitchesResult.h" #include "model/UpdateConfigMapRequest.h" #include "model/UpdateConfigMapResult.h" #include "model/UpdateGreyTagRouteRequest.h" @@ -180,8 +182,6 @@ #include "model/UpdateNamespaceResult.h" #include "model/UpdateNamespaceVpcRequest.h" #include "model/UpdateNamespaceVpcResult.h" -#include "model/UploadFilesRequest.h" -#include "model/UploadFilesResult.h" namespace AlibabaCloud @@ -323,9 +323,6 @@ namespace AlibabaCloud typedef Outcome DisableApplicationScalingRuleOutcome; typedef std::future DisableApplicationScalingRuleOutcomeCallable; typedef std::function&)> DisableApplicationScalingRuleAsyncHandler; - typedef Outcome DownloadFilesOutcome; - typedef std::future DownloadFilesOutcomeCallable; - typedef std::function&)> DownloadFilesAsyncHandler; typedef Outcome EnableApplicationScalingRuleOutcome; typedef std::future EnableApplicationScalingRuleOutcomeCallable; typedef std::function&)> EnableApplicationScalingRuleAsyncHandler; @@ -410,9 +407,15 @@ namespace AlibabaCloud typedef Outcome UpdateAppSecurityGroupOutcome; typedef std::future UpdateAppSecurityGroupOutcomeCallable; typedef std::function&)> UpdateAppSecurityGroupAsyncHandler; + typedef Outcome UpdateApplicationDescriptionOutcome; + typedef std::future UpdateApplicationDescriptionOutcomeCallable; + typedef std::function&)> UpdateApplicationDescriptionAsyncHandler; typedef Outcome UpdateApplicationScalingRuleOutcome; typedef std::future UpdateApplicationScalingRuleOutcomeCallable; typedef std::function&)> UpdateApplicationScalingRuleAsyncHandler; + typedef Outcome UpdateApplicationVswitchesOutcome; + typedef std::future UpdateApplicationVswitchesOutcomeCallable; + typedef std::function&)> UpdateApplicationVswitchesAsyncHandler; typedef Outcome UpdateConfigMapOutcome; typedef std::future UpdateConfigMapOutcomeCallable; typedef std::function&)> UpdateConfigMapAsyncHandler; @@ -428,9 +431,6 @@ namespace AlibabaCloud typedef Outcome UpdateNamespaceVpcOutcome; typedef std::future UpdateNamespaceVpcOutcomeCallable; typedef std::function&)> UpdateNamespaceVpcAsyncHandler; - typedef Outcome UploadFilesOutcome; - typedef std::future UploadFilesOutcomeCallable; - typedef std::function&)> UploadFilesAsyncHandler; SaeClient(const Credentials &credentials, const ClientConfiguration &configuration); SaeClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); @@ -568,9 +568,6 @@ namespace AlibabaCloud DisableApplicationScalingRuleOutcome disableApplicationScalingRule(const Model::DisableApplicationScalingRuleRequest &request)const; void disableApplicationScalingRuleAsync(const Model::DisableApplicationScalingRuleRequest& request, const DisableApplicationScalingRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DisableApplicationScalingRuleOutcomeCallable disableApplicationScalingRuleCallable(const Model::DisableApplicationScalingRuleRequest& request) const; - DownloadFilesOutcome downloadFiles(const Model::DownloadFilesRequest &request)const; - void downloadFilesAsync(const Model::DownloadFilesRequest& request, const DownloadFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DownloadFilesOutcomeCallable downloadFilesCallable(const Model::DownloadFilesRequest& request) const; EnableApplicationScalingRuleOutcome enableApplicationScalingRule(const Model::EnableApplicationScalingRuleRequest &request)const; void enableApplicationScalingRuleAsync(const Model::EnableApplicationScalingRuleRequest& request, const EnableApplicationScalingRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; EnableApplicationScalingRuleOutcomeCallable enableApplicationScalingRuleCallable(const Model::EnableApplicationScalingRuleRequest& request) const; @@ -655,9 +652,15 @@ namespace AlibabaCloud UpdateAppSecurityGroupOutcome updateAppSecurityGroup(const Model::UpdateAppSecurityGroupRequest &request)const; void updateAppSecurityGroupAsync(const Model::UpdateAppSecurityGroupRequest& request, const UpdateAppSecurityGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateAppSecurityGroupOutcomeCallable updateAppSecurityGroupCallable(const Model::UpdateAppSecurityGroupRequest& request) const; + UpdateApplicationDescriptionOutcome updateApplicationDescription(const Model::UpdateApplicationDescriptionRequest &request)const; + void updateApplicationDescriptionAsync(const Model::UpdateApplicationDescriptionRequest& request, const UpdateApplicationDescriptionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateApplicationDescriptionOutcomeCallable updateApplicationDescriptionCallable(const Model::UpdateApplicationDescriptionRequest& request) const; UpdateApplicationScalingRuleOutcome updateApplicationScalingRule(const Model::UpdateApplicationScalingRuleRequest &request)const; void updateApplicationScalingRuleAsync(const Model::UpdateApplicationScalingRuleRequest& request, const UpdateApplicationScalingRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateApplicationScalingRuleOutcomeCallable updateApplicationScalingRuleCallable(const Model::UpdateApplicationScalingRuleRequest& request) const; + UpdateApplicationVswitchesOutcome updateApplicationVswitches(const Model::UpdateApplicationVswitchesRequest &request)const; + void updateApplicationVswitchesAsync(const Model::UpdateApplicationVswitchesRequest& request, const UpdateApplicationVswitchesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateApplicationVswitchesOutcomeCallable updateApplicationVswitchesCallable(const Model::UpdateApplicationVswitchesRequest& request) const; UpdateConfigMapOutcome updateConfigMap(const Model::UpdateConfigMapRequest &request)const; void updateConfigMapAsync(const Model::UpdateConfigMapRequest& request, const UpdateConfigMapAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateConfigMapOutcomeCallable updateConfigMapCallable(const Model::UpdateConfigMapRequest& request) const; @@ -673,9 +676,6 @@ namespace AlibabaCloud UpdateNamespaceVpcOutcome updateNamespaceVpc(const Model::UpdateNamespaceVpcRequest &request)const; void updateNamespaceVpcAsync(const Model::UpdateNamespaceVpcRequest& request, const UpdateNamespaceVpcAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateNamespaceVpcOutcomeCallable updateNamespaceVpcCallable(const Model::UpdateNamespaceVpcRequest& request) const; - UploadFilesOutcome uploadFiles(const Model::UploadFilesRequest &request)const; - void uploadFilesAsync(const Model::UploadFilesRequest& request, const UploadFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UploadFilesOutcomeCallable uploadFilesCallable(const Model::UploadFilesRequest& request) const; private: std::shared_ptr endpointProvider_; diff --git a/sae/include/alibabacloud/sae/model/AbortAndRollbackChangeOrderRequest.h b/sae/include/alibabacloud/sae/model/AbortAndRollbackChangeOrderRequest.h index 216b310c3..2d2758e69 100644 --- a/sae/include/alibabacloud/sae/model/AbortAndRollbackChangeOrderRequest.h +++ b/sae/include/alibabacloud/sae/model/AbortAndRollbackChangeOrderRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_ABORTANDROLLBACKCHANGEORDERREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_ABORTANDROLLBACKCHANGEORDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT AbortAndRollbackChangeOrderRequest : public RoaServiceRequest - { - - public: - AbortAndRollbackChangeOrderRequest(); - ~AbortAndRollbackChangeOrderRequest(); - - std::string getChangeOrderId()const; - void setChangeOrderId(const std::string& changeOrderId); - - private: - std::string changeOrderId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_ABORTANDROLLBACKCHANGEORDERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_ABORTANDROLLBACKCHANGEORDERREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_ABORTANDROLLBACKCHANGEORDERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT AbortAndRollbackChangeOrderRequest : public RoaServiceRequest { +public: + AbortAndRollbackChangeOrderRequest(); + ~AbortAndRollbackChangeOrderRequest(); + std::string getChangeOrderId() const; + void setChangeOrderId(const std::string &changeOrderId); + +private: + std::string changeOrderId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_ABORTANDROLLBACKCHANGEORDERREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/AbortChangeOrderRequest.h b/sae/include/alibabacloud/sae/model/AbortChangeOrderRequest.h index 8178afac4..8173c6c10 100644 --- a/sae/include/alibabacloud/sae/model/AbortChangeOrderRequest.h +++ b/sae/include/alibabacloud/sae/model/AbortChangeOrderRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_ABORTCHANGEORDERREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_ABORTCHANGEORDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT AbortChangeOrderRequest : public RoaServiceRequest - { - - public: - AbortChangeOrderRequest(); - ~AbortChangeOrderRequest(); - - std::string getChangeOrderId()const; - void setChangeOrderId(const std::string& changeOrderId); - - private: - std::string changeOrderId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_ABORTCHANGEORDERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_ABORTCHANGEORDERREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_ABORTCHANGEORDERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT AbortChangeOrderRequest : public RoaServiceRequest { +public: + AbortChangeOrderRequest(); + ~AbortChangeOrderRequest(); + std::string getChangeOrderId() const; + void setChangeOrderId(const std::string &changeOrderId); + +private: + std::string changeOrderId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_ABORTCHANGEORDERREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/BatchStartApplicationsRequest.h b/sae/include/alibabacloud/sae/model/BatchStartApplicationsRequest.h index 883164d13..c80e1a8f6 100644 --- a/sae/include/alibabacloud/sae/model/BatchStartApplicationsRequest.h +++ b/sae/include/alibabacloud/sae/model/BatchStartApplicationsRequest.h @@ -1,51 +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_SAE_MODEL_BATCHSTARTAPPLICATIONSREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_BATCHSTARTAPPLICATIONSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT BatchStartApplicationsRequest : public RoaServiceRequest - { - - public: - BatchStartApplicationsRequest(); - ~BatchStartApplicationsRequest(); - - std::string getAppIds()const; - void setAppIds(const std::string& appIds); - std::string getNamespaceId()const; - void setNamespaceId(const std::string& namespaceId); - - private: - std::string appIds_; - std::string namespaceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_BATCHSTARTAPPLICATIONSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_BATCHSTARTAPPLICATIONSREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_BATCHSTARTAPPLICATIONSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT BatchStartApplicationsRequest : public RoaServiceRequest { +public: + BatchStartApplicationsRequest(); + ~BatchStartApplicationsRequest(); + std::string getAppIds() const; + void setAppIds(const std::string &appIds); + std::string getNamespaceId() const; + void setNamespaceId(const std::string &namespaceId); + +private: + std::string appIds_; + std::string namespaceId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_BATCHSTARTAPPLICATIONSREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/BatchStopApplicationsRequest.h b/sae/include/alibabacloud/sae/model/BatchStopApplicationsRequest.h index 368c0ea3c..9ee282423 100644 --- a/sae/include/alibabacloud/sae/model/BatchStopApplicationsRequest.h +++ b/sae/include/alibabacloud/sae/model/BatchStopApplicationsRequest.h @@ -1,51 +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_SAE_MODEL_BATCHSTOPAPPLICATIONSREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_BATCHSTOPAPPLICATIONSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT BatchStopApplicationsRequest : public RoaServiceRequest - { - - public: - BatchStopApplicationsRequest(); - ~BatchStopApplicationsRequest(); - - std::string getAppIds()const; - void setAppIds(const std::string& appIds); - std::string getNamespaceId()const; - void setNamespaceId(const std::string& namespaceId); - - private: - std::string appIds_; - std::string namespaceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_BATCHSTOPAPPLICATIONSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_BATCHSTOPAPPLICATIONSREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_BATCHSTOPAPPLICATIONSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT BatchStopApplicationsRequest : public RoaServiceRequest { +public: + BatchStopApplicationsRequest(); + ~BatchStopApplicationsRequest(); + std::string getAppIds() const; + void setAppIds(const std::string &appIds); + std::string getNamespaceId() const; + void setNamespaceId(const std::string &namespaceId); + +private: + std::string appIds_; + std::string namespaceId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_BATCHSTOPAPPLICATIONSREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/BindSlbRequest.h b/sae/include/alibabacloud/sae/model/BindSlbRequest.h index b2eb0bc02..c41c15def 100644 --- a/sae/include/alibabacloud/sae/model/BindSlbRequest.h +++ b/sae/include/alibabacloud/sae/model/BindSlbRequest.h @@ -1,60 +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_SAE_MODEL_BINDSLBREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_BINDSLBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT BindSlbRequest : public RoaServiceRequest - { - - public: - BindSlbRequest(); - ~BindSlbRequest(); - - std::string getIntranet()const; - void setIntranet(const std::string& intranet); - std::string getIntranetSlbId()const; - void setIntranetSlbId(const std::string& intranetSlbId); - std::string getInternetSlbId()const; - void setInternetSlbId(const std::string& internetSlbId); - std::string getAppId()const; - void setAppId(const std::string& appId); - std::string getInternet()const; - void setInternet(const std::string& internet); - - private: - std::string intranet_; - std::string intranetSlbId_; - std::string internetSlbId_; - std::string appId_; - std::string internet_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_BINDSLBREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_BINDSLBREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_BINDSLBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT BindSlbRequest : public RoaServiceRequest { +public: + BindSlbRequest(); + ~BindSlbRequest(); + std::string getIntranet() const; + void setIntranet(const std::string &intranet); + std::string getIntranetSlbId() const; + void setIntranetSlbId(const std::string &intranetSlbId); + std::string getInternetSlbId() const; + void setInternetSlbId(const std::string &internetSlbId); + std::string getAppId() const; + void setAppId(const std::string &appId); + std::string getInternet() const; + void setInternet(const std::string &internet); + +private: + std::string intranet_; + std::string intranetSlbId_; + std::string internetSlbId_; + std::string appId_; + std::string internet_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_BINDSLBREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/ConfirmPipelineBatchRequest.h b/sae/include/alibabacloud/sae/model/ConfirmPipelineBatchRequest.h index 1e8aad0f6..6f6a91140 100644 --- a/sae/include/alibabacloud/sae/model/ConfirmPipelineBatchRequest.h +++ b/sae/include/alibabacloud/sae/model/ConfirmPipelineBatchRequest.h @@ -1,51 +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_SAE_MODEL_CONFIRMPIPELINEBATCHREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_CONFIRMPIPELINEBATCHREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT ConfirmPipelineBatchRequest : public RoaServiceRequest - { - - public: - ConfirmPipelineBatchRequest(); - ~ConfirmPipelineBatchRequest(); - - bool getConfirm()const; - void setConfirm(bool confirm); - std::string getPipelineId()const; - void setPipelineId(const std::string& pipelineId); - - private: - bool confirm_; - std::string pipelineId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_CONFIRMPIPELINEBATCHREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_CONFIRMPIPELINEBATCHREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_CONFIRMPIPELINEBATCHREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT ConfirmPipelineBatchRequest : public RoaServiceRequest { +public: + ConfirmPipelineBatchRequest(); + ~ConfirmPipelineBatchRequest(); + bool getConfirm() const; + void setConfirm(bool confirm); + std::string getPipelineId() const; + void setPipelineId(const std::string &pipelineId); + +private: + bool confirm_; + std::string pipelineId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_CONFIRMPIPELINEBATCHREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/CreateApplicationRequest.h b/sae/include/alibabacloud/sae/model/CreateApplicationRequest.h index d24c810f5..7c225177c 100644 --- a/sae/include/alibabacloud/sae/model/CreateApplicationRequest.h +++ b/sae/include/alibabacloud/sae/model/CreateApplicationRequest.h @@ -1,204 +1,207 @@ /* * 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_SAE_MODEL_CREATEAPPLICATIONREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_CREATEAPPLICATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT CreateApplicationRequest : public RoaServiceRequest - { - - public: - CreateApplicationRequest(); - ~CreateApplicationRequest(); - - std::string getNasId()const; - void setNasId(const std::string& nasId); - std::string getJarStartArgs()const; - void setJarStartArgs(const std::string& jarStartArgs); - std::string getOssAkSecret()const; - void setOssAkSecret(const std::string& ossAkSecret); - std::string getMountHost()const; - void setMountHost(const std::string& mountHost); - bool getAutoConfig()const; - void setAutoConfig(bool autoConfig); - std::string getEnvs()const; - void setEnvs(const std::string& envs); - std::string getKafkaInstanceId()const; - void setKafkaInstanceId(const std::string& kafkaInstanceId); - std::string getPhpPECLExtensions()const; - void setPhpPECLExtensions(const std::string& phpPECLExtensions); - std::string getPhpArmsConfigLocation()const; - void setPhpArmsConfigLocation(const std::string& phpArmsConfigLocation); - std::string getCustomHostAlias()const; - void setCustomHostAlias(const std::string& customHostAlias); - bool getDeploy()const; - void setDeploy(bool deploy); - std::string getJarStartOptions()const; - void setJarStartOptions(const std::string& jarStartOptions); - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getNamespaceId()const; - void setNamespaceId(const std::string& namespaceId); - std::string getConfigMapMountDesc()const; - void setConfigMapMountDesc(const std::string& configMapMountDesc); - std::string getOssMountDescs()const; - void setOssMountDescs(const std::string& ossMountDescs); - std::string getKafkaEndpoint()const; - void setKafkaEndpoint(const std::string& kafkaEndpoint); - std::string getPreStop()const; - void setPreStop(const std::string& preStop); - int getCpu()const; - void setCpu(int cpu); - std::string getVSwitchId()const; - void setVSwitchId(const std::string& vSwitchId); - std::string getPackageType()const; - void setPackageType(const std::string& packageType); - std::string getPostStart()const; - void setPostStart(const std::string& postStart); - std::string getPhpExtensions()const; - void setPhpExtensions(const std::string& phpExtensions); - bool getAssociateEip()const; - void setAssociateEip(bool associateEip); - std::string getWebContainer()const; - void setWebContainer(const std::string& webContainer); - int getMemory()const; - void setMemory(int memory); - std::string getSlsConfigs()const; - void setSlsConfigs(const std::string& slsConfigs); - bool getOpenCollectToKafka()const; - void setOpenCollectToKafka(bool openCollectToKafka); - std::string getCommandArgs()const; - void setCommandArgs(const std::string& commandArgs); - std::string getAcrAssumeRoleArn()const; - void setAcrAssumeRoleArn(const std::string& acrAssumeRoleArn); - std::string getReadiness()const; - void setReadiness(const std::string& readiness); - std::string getTimezone()const; - void setTimezone(const std::string& timezone); - std::string getOssAkId()const; - void setOssAkId(const std::string& ossAkId); - std::string getLiveness()const; - void setLiveness(const std::string& liveness); - std::string getSecurityGroupId()const; - void setSecurityGroupId(const std::string& securityGroupId); - std::string getPackageVersion()const; - void setPackageVersion(const std::string& packageVersion); - std::string getTomcatConfig()const; - void setTomcatConfig(const std::string& tomcatConfig); - std::string getWarStartOptions()const; - void setWarStartOptions(const std::string& warStartOptions); - std::string getEdasContainerVersion()const; - void setEdasContainerVersion(const std::string& edasContainerVersion); - std::string getPackageUrl()const; - void setPackageUrl(const std::string& packageUrl); - int getTerminationGracePeriodSeconds()const; - void setTerminationGracePeriodSeconds(int terminationGracePeriodSeconds); - std::string getPhpConfig()const; - void setPhpConfig(const std::string& phpConfig); - int getReplicas()const; - void setReplicas(int replicas); - std::string getCommand()const; - void setCommand(const std::string& command); - std::string getMountDesc()const; - void setMountDesc(const std::string& mountDesc); - std::string getJdk()const; - void setJdk(const std::string& jdk); - std::string getAppDescription()const; - void setAppDescription(const std::string& appDescription); - std::string getKafkaLogfileConfig()const; - void setKafkaLogfileConfig(const std::string& kafkaLogfileConfig); - std::string getAcrInstanceId()const; - void setAcrInstanceId(const std::string& acrInstanceId); - std::string getVpcId()const; - void setVpcId(const std::string& vpcId); - std::string getImageUrl()const; - void setImageUrl(const std::string& imageUrl); - std::string getPhp()const; - void setPhp(const std::string& php); - std::string getPhpConfigLocation()const; - void setPhpConfigLocation(const std::string& phpConfigLocation); - - private: - std::string nasId_; - std::string jarStartArgs_; - std::string ossAkSecret_; - std::string mountHost_; - bool autoConfig_; - std::string envs_; - std::string kafkaInstanceId_; - std::string phpPECLExtensions_; - std::string phpArmsConfigLocation_; - std::string customHostAlias_; - bool deploy_; - std::string jarStartOptions_; - std::string appName_; - std::string namespaceId_; - std::string configMapMountDesc_; - std::string ossMountDescs_; - std::string kafkaEndpoint_; - std::string preStop_; - int cpu_; - std::string vSwitchId_; - std::string packageType_; - std::string postStart_; - std::string phpExtensions_; - bool associateEip_; - std::string webContainer_; - int memory_; - std::string slsConfigs_; - bool openCollectToKafka_; - std::string commandArgs_; - std::string acrAssumeRoleArn_; - std::string readiness_; - std::string timezone_; - std::string ossAkId_; - std::string liveness_; - std::string securityGroupId_; - std::string packageVersion_; - std::string tomcatConfig_; - std::string warStartOptions_; - std::string edasContainerVersion_; - std::string packageUrl_; - int terminationGracePeriodSeconds_; - std::string phpConfig_; - int replicas_; - std::string command_; - std::string mountDesc_; - std::string jdk_; - std::string appDescription_; - std::string kafkaLogfileConfig_; - std::string acrInstanceId_; - std::string vpcId_; - std::string imageUrl_; - std::string php_; - std::string phpConfigLocation_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_CREATEAPPLICATIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_CREATEAPPLICATIONREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_CREATEAPPLICATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT CreateApplicationRequest : public RoaServiceRequest { +public: + CreateApplicationRequest(); + ~CreateApplicationRequest(); + std::string getNasId() const; + void setNasId(const std::string &nasId); + std::string getJarStartArgs() const; + void setJarStartArgs(const std::string &jarStartArgs); + std::string getOssAkSecret() const; + void setOssAkSecret(const std::string &ossAkSecret); + std::string getMountHost() const; + void setMountHost(const std::string &mountHost); + bool getAutoConfig() const; + void setAutoConfig(bool autoConfig); + std::string getEnvs() const; + void setEnvs(const std::string &envs); + std::string getKafkaInstanceId() const; + void setKafkaInstanceId(const std::string &kafkaInstanceId); + std::string getPhpPECLExtensions() const; + void setPhpPECLExtensions(const std::string &phpPECLExtensions); + std::string getPhpArmsConfigLocation() const; + void setPhpArmsConfigLocation(const std::string &phpArmsConfigLocation); + std::string getProgrammingLanguage() const; + void setProgrammingLanguage(const std::string &programmingLanguage); + std::string getCustomHostAlias() const; + void setCustomHostAlias(const std::string &customHostAlias); + bool getDeploy() const; + void setDeploy(bool deploy); + std::string getJarStartOptions() const; + void setJarStartOptions(const std::string &jarStartOptions); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getNamespaceId() const; + void setNamespaceId(const std::string &namespaceId); + bool getPurchaseEip() const; + void setPurchaseEip(bool purchaseEip); + std::string getConfigMapMountDesc() const; + void setConfigMapMountDesc(const std::string &configMapMountDesc); + std::string getOssMountDescs() const; + void setOssMountDescs(const std::string &ossMountDescs); + std::string getKafkaEndpoint() const; + void setKafkaEndpoint(const std::string &kafkaEndpoint); + std::string getPreStop() const; + void setPreStop(const std::string &preStop); + int getCpu() const; + void setCpu(int cpu); + std::string getVSwitchId() const; + void setVSwitchId(const std::string &vSwitchId); + std::string getPackageType() const; + void setPackageType(const std::string &packageType); + std::string getPostStart() const; + void setPostStart(const std::string &postStart); + std::string getPhpExtensions() const; + void setPhpExtensions(const std::string &phpExtensions); + bool getAssociateEip() const; + void setAssociateEip(bool associateEip); + std::string getWebContainer() const; + void setWebContainer(const std::string &webContainer); + int getMemory() const; + void setMemory(int memory); + std::string getSlsConfigs() const; + void setSlsConfigs(const std::string &slsConfigs); + std::string getKafkaConfigs() const; + void setKafkaConfigs(const std::string &kafkaConfigs); + bool getOpenCollectToKafka() const; + void setOpenCollectToKafka(bool openCollectToKafka); + std::string getCommandArgs() const; + void setCommandArgs(const std::string &commandArgs); + std::string getAcrAssumeRoleArn() const; + void setAcrAssumeRoleArn(const std::string &acrAssumeRoleArn); + std::string getReadiness() const; + void setReadiness(const std::string &readiness); + std::string getTimezone() const; + void setTimezone(const std::string &timezone); + std::string getOssAkId() const; + void setOssAkId(const std::string &ossAkId); + std::string getLiveness() const; + void setLiveness(const std::string &liveness); + std::string getSecurityGroupId() const; + void setSecurityGroupId(const std::string &securityGroupId); + std::string getPackageVersion() const; + void setPackageVersion(const std::string &packageVersion); + std::string getTomcatConfig() const; + void setTomcatConfig(const std::string &tomcatConfig); + std::string getWarStartOptions() const; + void setWarStartOptions(const std::string &warStartOptions); + std::string getEdasContainerVersion() const; + void setEdasContainerVersion(const std::string &edasContainerVersion); + std::string getPackageUrl() const; + void setPackageUrl(const std::string &packageUrl); + int getTerminationGracePeriodSeconds() const; + void setTerminationGracePeriodSeconds(int terminationGracePeriodSeconds); + std::string getPhpConfig() const; + void setPhpConfig(const std::string &phpConfig); + int getReplicas() const; + void setReplicas(int replicas); + std::string getCommand() const; + void setCommand(const std::string &command); + std::string getMountDesc() const; + void setMountDesc(const std::string &mountDesc); + std::string getJdk() const; + void setJdk(const std::string &jdk); + std::string getAppDescription() const; + void setAppDescription(const std::string &appDescription); + std::string getKafkaLogfileConfig() const; + void setKafkaLogfileConfig(const std::string &kafkaLogfileConfig); + std::string getAcrInstanceId() const; + void setAcrInstanceId(const std::string &acrInstanceId); + std::string getVpcId() const; + void setVpcId(const std::string &vpcId); + std::string getImageUrl() const; + void setImageUrl(const std::string &imageUrl); + std::string getPhp() const; + void setPhp(const std::string &php); + std::string getPhpConfigLocation() const; + void setPhpConfigLocation(const std::string &phpConfigLocation); + +private: + std::string nasId_; + std::string jarStartArgs_; + std::string ossAkSecret_; + std::string mountHost_; + bool autoConfig_; + std::string envs_; + std::string kafkaInstanceId_; + std::string phpPECLExtensions_; + std::string phpArmsConfigLocation_; + std::string programmingLanguage_; + std::string customHostAlias_; + bool deploy_; + std::string jarStartOptions_; + std::string appName_; + std::string namespaceId_; + bool purchaseEip_; + std::string configMapMountDesc_; + std::string ossMountDescs_; + std::string kafkaEndpoint_; + std::string preStop_; + int cpu_; + std::string vSwitchId_; + std::string packageType_; + std::string postStart_; + std::string phpExtensions_; + bool associateEip_; + std::string webContainer_; + int memory_; + std::string slsConfigs_; + std::string kafkaConfigs_; + bool openCollectToKafka_; + std::string commandArgs_; + std::string acrAssumeRoleArn_; + std::string readiness_; + std::string timezone_; + std::string ossAkId_; + std::string liveness_; + std::string securityGroupId_; + std::string packageVersion_; + std::string tomcatConfig_; + std::string warStartOptions_; + std::string edasContainerVersion_; + std::string packageUrl_; + int terminationGracePeriodSeconds_; + std::string phpConfig_; + int replicas_; + std::string command_; + std::string mountDesc_; + std::string jdk_; + std::string appDescription_; + std::string kafkaLogfileConfig_; + std::string acrInstanceId_; + std::string vpcId_; + std::string imageUrl_; + std::string php_; + std::string phpConfigLocation_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_CREATEAPPLICATIONREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/CreateApplicationScalingRuleRequest.h b/sae/include/alibabacloud/sae/model/CreateApplicationScalingRuleRequest.h index 7a9b905b8..95a07fa29 100644 --- a/sae/include/alibabacloud/sae/model/CreateApplicationScalingRuleRequest.h +++ b/sae/include/alibabacloud/sae/model/CreateApplicationScalingRuleRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_SAE_MODEL_CREATEAPPLICATIONSCALINGRULEREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_CREATEAPPLICATIONSCALINGRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT CreateApplicationScalingRuleRequest : public RoaServiceRequest - { - - public: - CreateApplicationScalingRuleRequest(); - ~CreateApplicationScalingRuleRequest(); - - std::string getScalingRuleName()const; - void setScalingRuleName(const std::string& scalingRuleName); - int getMinReadyInstances()const; - void setMinReadyInstances(int minReadyInstances); - bool getScalingRuleEnable()const; - void setScalingRuleEnable(bool scalingRuleEnable); - std::string getScalingRuleTimer()const; - void setScalingRuleTimer(const std::string& scalingRuleTimer); - std::string getScalingRuleMetric()const; - void setScalingRuleMetric(const std::string& scalingRuleMetric); - std::string getAppId()const; - void setAppId(const std::string& appId); - int getMinReadyInstanceRatio()const; - void setMinReadyInstanceRatio(int minReadyInstanceRatio); - std::string getScalingRuleType()const; - void setScalingRuleType(const std::string& scalingRuleType); - - private: - std::string scalingRuleName_; - int minReadyInstances_; - bool scalingRuleEnable_; - std::string scalingRuleTimer_; - std::string scalingRuleMetric_; - std::string appId_; - int minReadyInstanceRatio_; - std::string scalingRuleType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_CREATEAPPLICATIONSCALINGRULEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_CREATEAPPLICATIONSCALINGRULEREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_CREATEAPPLICATIONSCALINGRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT CreateApplicationScalingRuleRequest : public RoaServiceRequest { +public: + CreateApplicationScalingRuleRequest(); + ~CreateApplicationScalingRuleRequest(); + std::string getScalingRuleName() const; + void setScalingRuleName(const std::string &scalingRuleName); + int getMinReadyInstances() const; + void setMinReadyInstances(int minReadyInstances); + bool getScalingRuleEnable() const; + void setScalingRuleEnable(bool scalingRuleEnable); + std::string getScalingRuleTimer() const; + void setScalingRuleTimer(const std::string &scalingRuleTimer); + std::string getScalingRuleMetric() const; + void setScalingRuleMetric(const std::string &scalingRuleMetric); + std::string getAppId() const; + void setAppId(const std::string &appId); + int getMinReadyInstanceRatio() const; + void setMinReadyInstanceRatio(int minReadyInstanceRatio); + std::string getScalingRuleType() const; + void setScalingRuleType(const std::string &scalingRuleType); + +private: + std::string scalingRuleName_; + int minReadyInstances_; + bool scalingRuleEnable_; + std::string scalingRuleTimer_; + std::string scalingRuleMetric_; + std::string appId_; + int minReadyInstanceRatio_; + std::string scalingRuleType_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_CREATEAPPLICATIONSCALINGRULEREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/CreateConfigMapRequest.h b/sae/include/alibabacloud/sae/model/CreateConfigMapRequest.h index 2f8c12acc..76f1e5122 100644 --- a/sae/include/alibabacloud/sae/model/CreateConfigMapRequest.h +++ b/sae/include/alibabacloud/sae/model/CreateConfigMapRequest.h @@ -1,57 +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_SAE_MODEL_CREATECONFIGMAPREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_CREATECONFIGMAPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT CreateConfigMapRequest : public RoaServiceRequest - { - - public: - CreateConfigMapRequest(); - ~CreateConfigMapRequest(); - - std::string getData()const; - void setData(const std::string& data); - std::string getNamespaceId()const; - void setNamespaceId(const std::string& namespaceId); - std::string getName()const; - void setName(const std::string& name); - std::string getDescription()const; - void setDescription(const std::string& description); - - private: - std::string data_; - std::string namespaceId_; - std::string name_; - std::string description_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_CREATECONFIGMAPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_CREATECONFIGMAPREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_CREATECONFIGMAPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT CreateConfigMapRequest : public RoaServiceRequest { +public: + CreateConfigMapRequest(); + ~CreateConfigMapRequest(); + std::string getData() const; + void setData(const std::string &data); + std::string getNamespaceId() const; + void setNamespaceId(const std::string &namespaceId); + std::string getName() const; + void setName(const std::string &name); + std::string getDescription() const; + void setDescription(const std::string &description); + +private: + std::string data_; + std::string namespaceId_; + std::string name_; + std::string description_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_CREATECONFIGMAPREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/CreateGreyTagRouteRequest.h b/sae/include/alibabacloud/sae/model/CreateGreyTagRouteRequest.h index afb5090ca..99596b590 100644 --- a/sae/include/alibabacloud/sae/model/CreateGreyTagRouteRequest.h +++ b/sae/include/alibabacloud/sae/model/CreateGreyTagRouteRequest.h @@ -1,60 +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_SAE_MODEL_CREATEGREYTAGROUTEREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_CREATEGREYTAGROUTEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT CreateGreyTagRouteRequest : public RoaServiceRequest - { - - public: - CreateGreyTagRouteRequest(); - ~CreateGreyTagRouteRequest(); - - std::string getAppId()const; - void setAppId(const std::string& appId); - std::string getName()const; - void setName(const std::string& name); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getDubboRules()const; - void setDubboRules(const std::string& dubboRules); - std::string getScRules()const; - void setScRules(const std::string& scRules); - - private: - std::string appId_; - std::string name_; - std::string description_; - std::string dubboRules_; - std::string scRules_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_CREATEGREYTAGROUTEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_CREATEGREYTAGROUTEREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_CREATEGREYTAGROUTEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT CreateGreyTagRouteRequest : public RoaServiceRequest { +public: + CreateGreyTagRouteRequest(); + ~CreateGreyTagRouteRequest(); + std::string getAppId() const; + void setAppId(const std::string &appId); + std::string getName() const; + void setName(const std::string &name); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getDubboRules() const; + void setDubboRules(const std::string &dubboRules); + std::string getScRules() const; + void setScRules(const std::string &scRules); + +private: + std::string appId_; + std::string name_; + std::string description_; + std::string dubboRules_; + std::string scRules_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_CREATEGREYTAGROUTEREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/CreateIngressRequest.h b/sae/include/alibabacloud/sae/model/CreateIngressRequest.h index 15d8a34e8..9e40928e0 100644 --- a/sae/include/alibabacloud/sae/model/CreateIngressRequest.h +++ b/sae/include/alibabacloud/sae/model/CreateIngressRequest.h @@ -1,66 +1,66 @@ /* * 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_SAE_MODEL_CREATEINGRESSREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_CREATEINGRESSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT CreateIngressRequest : public RoaServiceRequest - { - - public: - CreateIngressRequest(); - ~CreateIngressRequest(); - - int getListenerPort()const; - void setListenerPort(int listenerPort); - std::string getSlbId()const; - void setSlbId(const std::string& slbId); - std::string getNamespaceId()const; - void setNamespaceId(const std::string& namespaceId); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getRules()const; - void setRules(const std::string& rules); - std::string getCertId()const; - void setCertId(const std::string& certId); - std::string getDefaultRule()const; - void setDefaultRule(const std::string& defaultRule); - - private: - int listenerPort_; - std::string slbId_; - std::string namespaceId_; - std::string description_; - std::string rules_; - std::string certId_; - std::string defaultRule_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_CREATEINGRESSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_CREATEINGRESSREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_CREATEINGRESSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT CreateIngressRequest : public RoaServiceRequest { +public: + CreateIngressRequest(); + ~CreateIngressRequest(); + int getListenerPort() const; + void setListenerPort(int listenerPort); + std::string getSlbId() const; + void setSlbId(const std::string &slbId); + std::string getNamespaceId() const; + void setNamespaceId(const std::string &namespaceId); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getLoadBalanceType() const; + void setLoadBalanceType(const std::string &loadBalanceType); + std::string getRules() const; + void setRules(const std::string &rules); + std::string getCertId() const; + void setCertId(const std::string &certId); + std::string getListenerProtocol() const; + void setListenerProtocol(const std::string &listenerProtocol); + std::string getDefaultRule() const; + void setDefaultRule(const std::string &defaultRule); + +private: + int listenerPort_; + std::string slbId_; + std::string namespaceId_; + std::string description_; + std::string loadBalanceType_; + std::string rules_; + std::string certId_; + std::string listenerProtocol_; + std::string defaultRule_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_CREATEINGRESSREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/CreateNamespaceRequest.h b/sae/include/alibabacloud/sae/model/CreateNamespaceRequest.h index 3d9740ee5..82c3b1ad7 100644 --- a/sae/include/alibabacloud/sae/model/CreateNamespaceRequest.h +++ b/sae/include/alibabacloud/sae/model/CreateNamespaceRequest.h @@ -1,54 +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_SAE_MODEL_CREATENAMESPACEREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_CREATENAMESPACEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT CreateNamespaceRequest : public RoaServiceRequest - { - - public: - CreateNamespaceRequest(); - ~CreateNamespaceRequest(); - - std::string getNamespaceName()const; - void setNamespaceName(const std::string& namespaceName); - std::string getNamespaceDescription()const; - void setNamespaceDescription(const std::string& namespaceDescription); - std::string getNamespaceId()const; - void setNamespaceId(const std::string& namespaceId); - - private: - std::string namespaceName_; - std::string namespaceDescription_; - std::string namespaceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_CREATENAMESPACEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_CREATENAMESPACEREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_CREATENAMESPACEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT CreateNamespaceRequest : public RoaServiceRequest { +public: + CreateNamespaceRequest(); + ~CreateNamespaceRequest(); + std::string getNamespaceName() const; + void setNamespaceName(const std::string &namespaceName); + std::string getNamespaceDescription() const; + void setNamespaceDescription(const std::string &namespaceDescription); + std::string getNamespaceId() const; + void setNamespaceId(const std::string &namespaceId); + +private: + std::string namespaceName_; + std::string namespaceDescription_; + std::string namespaceId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_CREATENAMESPACEREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DeleteApplicationRequest.h b/sae/include/alibabacloud/sae/model/DeleteApplicationRequest.h index c1c156632..73876af06 100644 --- a/sae/include/alibabacloud/sae/model/DeleteApplicationRequest.h +++ b/sae/include/alibabacloud/sae/model/DeleteApplicationRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_DELETEAPPLICATIONREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DELETEAPPLICATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DeleteApplicationRequest : public RoaServiceRequest - { - - public: - DeleteApplicationRequest(); - ~DeleteApplicationRequest(); - - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DELETEAPPLICATIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DELETEAPPLICATIONREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DELETEAPPLICATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DeleteApplicationRequest : public RoaServiceRequest { +public: + DeleteApplicationRequest(); + ~DeleteApplicationRequest(); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string appId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DELETEAPPLICATIONREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DeleteApplicationScalingRuleRequest.h b/sae/include/alibabacloud/sae/model/DeleteApplicationScalingRuleRequest.h index 2c69f9118..4367d96ee 100644 --- a/sae/include/alibabacloud/sae/model/DeleteApplicationScalingRuleRequest.h +++ b/sae/include/alibabacloud/sae/model/DeleteApplicationScalingRuleRequest.h @@ -1,51 +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_SAE_MODEL_DELETEAPPLICATIONSCALINGRULEREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DELETEAPPLICATIONSCALINGRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DeleteApplicationScalingRuleRequest : public RoaServiceRequest - { - - public: - DeleteApplicationScalingRuleRequest(); - ~DeleteApplicationScalingRuleRequest(); - - std::string getScalingRuleName()const; - void setScalingRuleName(const std::string& scalingRuleName); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string scalingRuleName_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DELETEAPPLICATIONSCALINGRULEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DELETEAPPLICATIONSCALINGRULEREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DELETEAPPLICATIONSCALINGRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DeleteApplicationScalingRuleRequest : public RoaServiceRequest { +public: + DeleteApplicationScalingRuleRequest(); + ~DeleteApplicationScalingRuleRequest(); + std::string getScalingRuleName() const; + void setScalingRuleName(const std::string &scalingRuleName); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string scalingRuleName_; + std::string appId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DELETEAPPLICATIONSCALINGRULEREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DeleteConfigMapRequest.h b/sae/include/alibabacloud/sae/model/DeleteConfigMapRequest.h index ed1c200f3..b754fce25 100644 --- a/sae/include/alibabacloud/sae/model/DeleteConfigMapRequest.h +++ b/sae/include/alibabacloud/sae/model/DeleteConfigMapRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_DELETECONFIGMAPREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DELETECONFIGMAPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DeleteConfigMapRequest : public RoaServiceRequest - { - - public: - DeleteConfigMapRequest(); - ~DeleteConfigMapRequest(); - - long getConfigMapId()const; - void setConfigMapId(long configMapId); - - private: - long configMapId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DELETECONFIGMAPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DELETECONFIGMAPREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DELETECONFIGMAPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DeleteConfigMapRequest : public RoaServiceRequest { +public: + DeleteConfigMapRequest(); + ~DeleteConfigMapRequest(); + long getConfigMapId() const; + void setConfigMapId(long configMapId); + +private: + long configMapId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DELETECONFIGMAPREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DeleteGreyTagRouteRequest.h b/sae/include/alibabacloud/sae/model/DeleteGreyTagRouteRequest.h index 8cc601119..4cb142b07 100644 --- a/sae/include/alibabacloud/sae/model/DeleteGreyTagRouteRequest.h +++ b/sae/include/alibabacloud/sae/model/DeleteGreyTagRouteRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_DELETEGREYTAGROUTEREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DELETEGREYTAGROUTEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DeleteGreyTagRouteRequest : public RoaServiceRequest - { - - public: - DeleteGreyTagRouteRequest(); - ~DeleteGreyTagRouteRequest(); - - long getGreyTagRouteId()const; - void setGreyTagRouteId(long greyTagRouteId); - - private: - long greyTagRouteId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DELETEGREYTAGROUTEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DELETEGREYTAGROUTEREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DELETEGREYTAGROUTEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DeleteGreyTagRouteRequest : public RoaServiceRequest { +public: + DeleteGreyTagRouteRequest(); + ~DeleteGreyTagRouteRequest(); + long getGreyTagRouteId() const; + void setGreyTagRouteId(long greyTagRouteId); + +private: + long greyTagRouteId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DELETEGREYTAGROUTEREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DeleteIngressRequest.h b/sae/include/alibabacloud/sae/model/DeleteIngressRequest.h index 2c07de519..13fb0945c 100644 --- a/sae/include/alibabacloud/sae/model/DeleteIngressRequest.h +++ b/sae/include/alibabacloud/sae/model/DeleteIngressRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_DELETEINGRESSREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DELETEINGRESSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DeleteIngressRequest : public RoaServiceRequest - { - - public: - DeleteIngressRequest(); - ~DeleteIngressRequest(); - - long getIngressId()const; - void setIngressId(long ingressId); - - private: - long ingressId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DELETEINGRESSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DELETEINGRESSREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DELETEINGRESSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DeleteIngressRequest : public RoaServiceRequest { +public: + DeleteIngressRequest(); + ~DeleteIngressRequest(); + long getIngressId() const; + void setIngressId(long ingressId); + +private: + long ingressId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DELETEINGRESSREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DeleteNamespaceRequest.h b/sae/include/alibabacloud/sae/model/DeleteNamespaceRequest.h index ec9152eff..e5077143c 100644 --- a/sae/include/alibabacloud/sae/model/DeleteNamespaceRequest.h +++ b/sae/include/alibabacloud/sae/model/DeleteNamespaceRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_DELETENAMESPACEREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DELETENAMESPACEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DeleteNamespaceRequest : public RoaServiceRequest - { - - public: - DeleteNamespaceRequest(); - ~DeleteNamespaceRequest(); - - std::string getNamespaceId()const; - void setNamespaceId(const std::string& namespaceId); - - private: - std::string namespaceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DELETENAMESPACEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DELETENAMESPACEREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DELETENAMESPACEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DeleteNamespaceRequest : public RoaServiceRequest { +public: + DeleteNamespaceRequest(); + ~DeleteNamespaceRequest(); + std::string getNamespaceId() const; + void setNamespaceId(const std::string &namespaceId); + +private: + std::string namespaceId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DELETENAMESPACEREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DeployApplicationRequest.h b/sae/include/alibabacloud/sae/model/DeployApplicationRequest.h index 2c3ae38a3..4642c833e 100644 --- a/sae/include/alibabacloud/sae/model/DeployApplicationRequest.h +++ b/sae/include/alibabacloud/sae/model/DeployApplicationRequest.h @@ -1,195 +1,192 @@ /* * 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_SAE_MODEL_DEPLOYAPPLICATIONREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DEPLOYAPPLICATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DeployApplicationRequest : public RoaServiceRequest - { - - public: - DeployApplicationRequest(); - ~DeployApplicationRequest(); - - std::string getNasId()const; - void setNasId(const std::string& nasId); - std::string getJarStartArgs()const; - void setJarStartArgs(const std::string& jarStartArgs); - std::string getOssAkSecret()const; - void setOssAkSecret(const std::string& ossAkSecret); - std::string getMountHost()const; - void setMountHost(const std::string& mountHost); - int getBatchWaitTime()const; - void setBatchWaitTime(int batchWaitTime); - std::string getEnvs()const; - void setEnvs(const std::string& envs); - std::string getKafkaInstanceId()const; - void setKafkaInstanceId(const std::string& kafkaInstanceId); - std::string getPhpPECLExtensions()const; - void setPhpPECLExtensions(const std::string& phpPECLExtensions); - std::string getPhpArmsConfigLocation()const; - void setPhpArmsConfigLocation(const std::string& phpArmsConfigLocation); - std::string getCustomHostAlias()const; - void setCustomHostAlias(const std::string& customHostAlias); - std::string getJarStartOptions()const; - void setJarStartOptions(const std::string& jarStartOptions); - std::string getConfigMapMountDesc()const; - void setConfigMapMountDesc(const std::string& configMapMountDesc); - std::string getOssMountDescs()const; - void setOssMountDescs(const std::string& ossMountDescs); - std::string getKafkaEndpoint()const; - void setKafkaEndpoint(const std::string& kafkaEndpoint); - std::string getPreStop()const; - void setPreStop(const std::string& preStop); - std::string getUpdateStrategy()const; - void setUpdateStrategy(const std::string& updateStrategy); - std::string getChangeOrderDesc()const; - void setChangeOrderDesc(const std::string& changeOrderDesc); - int getMinReadyInstanceRatio()const; - void setMinReadyInstanceRatio(int minReadyInstanceRatio); - bool getAutoEnableApplicationScalingRule()const; - void setAutoEnableApplicationScalingRule(bool autoEnableApplicationScalingRule); - std::string getPostStart()const; - void setPostStart(const std::string& postStart); - std::string getPhpExtensions()const; - void setPhpExtensions(const std::string& phpExtensions); - bool getAssociateEip()const; - void setAssociateEip(bool associateEip); - std::string getWebContainer()const; - void setWebContainer(const std::string& webContainer); - std::string getEnableAhas()const; - void setEnableAhas(const std::string& enableAhas); - std::string getSlsConfigs()const; - void setSlsConfigs(const std::string& slsConfigs); - bool getOpenCollectToKafka()const; - void setOpenCollectToKafka(bool openCollectToKafka); - std::string getCommandArgs()const; - void setCommandArgs(const std::string& commandArgs); - std::string getAcrAssumeRoleArn()const; - void setAcrAssumeRoleArn(const std::string& acrAssumeRoleArn); - std::string getReadiness()const; - void setReadiness(const std::string& readiness); - std::string getTimezone()const; - void setTimezone(const std::string& timezone); - std::string getOssAkId()const; - void setOssAkId(const std::string& ossAkId); - std::string getLiveness()const; - void setLiveness(const std::string& liveness); - std::string getPackageVersion()const; - void setPackageVersion(const std::string& packageVersion); - std::string getTomcatConfig()const; - void setTomcatConfig(const std::string& tomcatConfig); - std::string getWarStartOptions()const; - void setWarStartOptions(const std::string& warStartOptions); - std::string getEdasContainerVersion()const; - void setEdasContainerVersion(const std::string& edasContainerVersion); - std::string getPackageUrl()const; - void setPackageUrl(const std::string& packageUrl); - int getTerminationGracePeriodSeconds()const; - void setTerminationGracePeriodSeconds(int terminationGracePeriodSeconds); - std::string getPhpConfig()const; - void setPhpConfig(const std::string& phpConfig); - bool getEnableGreyTagRoute()const; - void setEnableGreyTagRoute(bool enableGreyTagRoute); - std::string getCommand()const; - void setCommand(const std::string& command); - std::string getMountDesc()const; - void setMountDesc(const std::string& mountDesc); - std::string getJdk()const; - void setJdk(const std::string& jdk); - int getMinReadyInstances()const; - void setMinReadyInstances(int minReadyInstances); - std::string getKafkaLogfileConfig()const; - void setKafkaLogfileConfig(const std::string& kafkaLogfileConfig); - std::string getAcrInstanceId()const; - void setAcrInstanceId(const std::string& acrInstanceId); - std::string getAppId()const; - void setAppId(const std::string& appId); - std::string getImageUrl()const; - void setImageUrl(const std::string& imageUrl); - std::string getPhp()const; - void setPhp(const std::string& php); - std::string getPhpConfigLocation()const; - void setPhpConfigLocation(const std::string& phpConfigLocation); - - private: - std::string nasId_; - std::string jarStartArgs_; - std::string ossAkSecret_; - std::string mountHost_; - int batchWaitTime_; - std::string envs_; - std::string kafkaInstanceId_; - std::string phpPECLExtensions_; - std::string phpArmsConfigLocation_; - std::string customHostAlias_; - std::string jarStartOptions_; - std::string configMapMountDesc_; - std::string ossMountDescs_; - std::string kafkaEndpoint_; - std::string preStop_; - std::string updateStrategy_; - std::string changeOrderDesc_; - int minReadyInstanceRatio_; - bool autoEnableApplicationScalingRule_; - std::string postStart_; - std::string phpExtensions_; - bool associateEip_; - std::string webContainer_; - std::string enableAhas_; - std::string slsConfigs_; - bool openCollectToKafka_; - std::string commandArgs_; - std::string acrAssumeRoleArn_; - std::string readiness_; - std::string timezone_; - std::string ossAkId_; - std::string liveness_; - std::string packageVersion_; - std::string tomcatConfig_; - std::string warStartOptions_; - std::string edasContainerVersion_; - std::string packageUrl_; - int terminationGracePeriodSeconds_; - std::string phpConfig_; - bool enableGreyTagRoute_; - std::string command_; - std::string mountDesc_; - std::string jdk_; - int minReadyInstances_; - std::string kafkaLogfileConfig_; - std::string acrInstanceId_; - std::string appId_; - std::string imageUrl_; - std::string php_; - std::string phpConfigLocation_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DEPLOYAPPLICATIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DEPLOYAPPLICATIONREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DEPLOYAPPLICATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DeployApplicationRequest : public RoaServiceRequest { +public: + DeployApplicationRequest(); + ~DeployApplicationRequest(); + std::string getNasId() const; + void setNasId(const std::string &nasId); + std::string getJarStartArgs() const; + void setJarStartArgs(const std::string &jarStartArgs); + std::string getOssAkSecret() const; + void setOssAkSecret(const std::string &ossAkSecret); + std::string getMountHost() const; + void setMountHost(const std::string &mountHost); + int getBatchWaitTime() const; + void setBatchWaitTime(int batchWaitTime); + std::string getEnvs() const; + void setEnvs(const std::string &envs); + std::string getKafkaInstanceId() const; + void setKafkaInstanceId(const std::string &kafkaInstanceId); + std::string getPhpPECLExtensions() const; + void setPhpPECLExtensions(const std::string &phpPECLExtensions); + std::string getPhpArmsConfigLocation() const; + void setPhpArmsConfigLocation(const std::string &phpArmsConfigLocation); + std::string getCustomHostAlias() const; + void setCustomHostAlias(const std::string &customHostAlias); + std::string getJarStartOptions() const; + void setJarStartOptions(const std::string &jarStartOptions); + std::string getConfigMapMountDesc() const; + void setConfigMapMountDesc(const std::string &configMapMountDesc); + std::string getOssMountDescs() const; + void setOssMountDescs(const std::string &ossMountDescs); + std::string getKafkaEndpoint() const; + void setKafkaEndpoint(const std::string &kafkaEndpoint); + std::string getPreStop() const; + void setPreStop(const std::string &preStop); + std::string getUpdateStrategy() const; + void setUpdateStrategy(const std::string &updateStrategy); + std::string getChangeOrderDesc() const; + void setChangeOrderDesc(const std::string &changeOrderDesc); + int getMinReadyInstanceRatio() const; + void setMinReadyInstanceRatio(int minReadyInstanceRatio); + bool getAutoEnableApplicationScalingRule() const; + void setAutoEnableApplicationScalingRule(bool autoEnableApplicationScalingRule); + std::string getPostStart() const; + void setPostStart(const std::string &postStart); + std::string getPhpExtensions() const; + void setPhpExtensions(const std::string &phpExtensions); + bool getAssociateEip() const; + void setAssociateEip(bool associateEip); + std::string getWebContainer() const; + void setWebContainer(const std::string &webContainer); + std::string getEnableAhas() const; + void setEnableAhas(const std::string &enableAhas); + std::string getSlsConfigs() const; + void setSlsConfigs(const std::string &slsConfigs); + std::string getKafkaConfigs() const; + void setKafkaConfigs(const std::string &kafkaConfigs); + bool getOpenCollectToKafka() const; + void setOpenCollectToKafka(bool openCollectToKafka); + std::string getCommandArgs() const; + void setCommandArgs(const std::string &commandArgs); + std::string getAcrAssumeRoleArn() const; + void setAcrAssumeRoleArn(const std::string &acrAssumeRoleArn); + std::string getReadiness() const; + void setReadiness(const std::string &readiness); + std::string getTimezone() const; + void setTimezone(const std::string &timezone); + std::string getOssAkId() const; + void setOssAkId(const std::string &ossAkId); + std::string getLiveness() const; + void setLiveness(const std::string &liveness); + std::string getPackageVersion() const; + void setPackageVersion(const std::string &packageVersion); + std::string getTomcatConfig() const; + void setTomcatConfig(const std::string &tomcatConfig); + std::string getWarStartOptions() const; + void setWarStartOptions(const std::string &warStartOptions); + std::string getEdasContainerVersion() const; + void setEdasContainerVersion(const std::string &edasContainerVersion); + std::string getPackageUrl() const; + void setPackageUrl(const std::string &packageUrl); + int getTerminationGracePeriodSeconds() const; + void setTerminationGracePeriodSeconds(int terminationGracePeriodSeconds); + std::string getPhpConfig() const; + void setPhpConfig(const std::string &phpConfig); + bool getEnableGreyTagRoute() const; + void setEnableGreyTagRoute(bool enableGreyTagRoute); + std::string getCommand() const; + void setCommand(const std::string &command); + std::string getMountDesc() const; + void setMountDesc(const std::string &mountDesc); + std::string getJdk() const; + void setJdk(const std::string &jdk); + int getMinReadyInstances() const; + void setMinReadyInstances(int minReadyInstances); + std::string getKafkaLogfileConfig() const; + void setKafkaLogfileConfig(const std::string &kafkaLogfileConfig); + std::string getAcrInstanceId() const; + void setAcrInstanceId(const std::string &acrInstanceId); + std::string getAppId() const; + void setAppId(const std::string &appId); + std::string getImageUrl() const; + void setImageUrl(const std::string &imageUrl); + std::string getPhp() const; + void setPhp(const std::string &php); + std::string getPhpConfigLocation() const; + void setPhpConfigLocation(const std::string &phpConfigLocation); + +private: + std::string nasId_; + std::string jarStartArgs_; + std::string ossAkSecret_; + std::string mountHost_; + int batchWaitTime_; + std::string envs_; + std::string kafkaInstanceId_; + std::string phpPECLExtensions_; + std::string phpArmsConfigLocation_; + std::string customHostAlias_; + std::string jarStartOptions_; + std::string configMapMountDesc_; + std::string ossMountDescs_; + std::string kafkaEndpoint_; + std::string preStop_; + std::string updateStrategy_; + std::string changeOrderDesc_; + int minReadyInstanceRatio_; + bool autoEnableApplicationScalingRule_; + std::string postStart_; + std::string phpExtensions_; + bool associateEip_; + std::string webContainer_; + std::string enableAhas_; + std::string slsConfigs_; + std::string kafkaConfigs_; + bool openCollectToKafka_; + std::string commandArgs_; + std::string acrAssumeRoleArn_; + std::string readiness_; + std::string timezone_; + std::string ossAkId_; + std::string liveness_; + std::string packageVersion_; + std::string tomcatConfig_; + std::string warStartOptions_; + std::string edasContainerVersion_; + std::string packageUrl_; + int terminationGracePeriodSeconds_; + std::string phpConfig_; + bool enableGreyTagRoute_; + std::string command_; + std::string mountDesc_; + std::string jdk_; + int minReadyInstances_; + std::string kafkaLogfileConfig_; + std::string acrInstanceId_; + std::string appId_; + std::string imageUrl_; + std::string php_; + std::string phpConfigLocation_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DEPLOYAPPLICATIONREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribeAppServiceDetailRequest.h b/sae/include/alibabacloud/sae/model/DescribeAppServiceDetailRequest.h index 3a300dfb0..58a3dc57a 100644 --- a/sae/include/alibabacloud/sae/model/DescribeAppServiceDetailRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribeAppServiceDetailRequest.h @@ -1,60 +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_SAE_MODEL_DESCRIBEAPPSERVICEDETAILREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPSERVICEDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribeAppServiceDetailRequest : public RoaServiceRequest - { - - public: - DescribeAppServiceDetailRequest(); - ~DescribeAppServiceDetailRequest(); - - std::string getServiceType()const; - void setServiceType(const std::string& serviceType); - std::string getAppId()const; - void setAppId(const std::string& appId); - std::string getServiceVersion()const; - void setServiceVersion(const std::string& serviceVersion); - std::string getServiceName()const; - void setServiceName(const std::string& serviceName); - std::string getServiceGroup()const; - void setServiceGroup(const std::string& serviceGroup); - - private: - std::string serviceType_; - std::string appId_; - std::string serviceVersion_; - std::string serviceName_; - std::string serviceGroup_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPSERVICEDETAILREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPSERVICEDETAILREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPSERVICEDETAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribeAppServiceDetailRequest : public RoaServiceRequest { +public: + DescribeAppServiceDetailRequest(); + ~DescribeAppServiceDetailRequest(); + std::string getServiceType() const; + void setServiceType(const std::string &serviceType); + std::string getAppId() const; + void setAppId(const std::string &appId); + std::string getServiceVersion() const; + void setServiceVersion(const std::string &serviceVersion); + std::string getServiceName() const; + void setServiceName(const std::string &serviceName); + std::string getServiceGroup() const; + void setServiceGroup(const std::string &serviceGroup); + +private: + std::string serviceType_; + std::string appId_; + std::string serviceVersion_; + std::string serviceName_; + std::string serviceGroup_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPSERVICEDETAILREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribeApplicationConfigRequest.h b/sae/include/alibabacloud/sae/model/DescribeApplicationConfigRequest.h index ff464b569..442a79f9e 100644 --- a/sae/include/alibabacloud/sae/model/DescribeApplicationConfigRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribeApplicationConfigRequest.h @@ -1,51 +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_SAE_MODEL_DESCRIBEAPPLICATIONCONFIGREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribeApplicationConfigRequest : public RoaServiceRequest - { - - public: - DescribeApplicationConfigRequest(); - ~DescribeApplicationConfigRequest(); - - std::string getVersionId()const; - void setVersionId(const std::string& versionId); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string versionId_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONCONFIGREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribeApplicationConfigRequest : public RoaServiceRequest { +public: + DescribeApplicationConfigRequest(); + ~DescribeApplicationConfigRequest(); + std::string getVersionId() const; + void setVersionId(const std::string &versionId); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string versionId_; + std::string appId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONCONFIGREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribeApplicationConfigResult.h b/sae/include/alibabacloud/sae/model/DescribeApplicationConfigResult.h index 2636b12de..012af66dc 100644 --- a/sae/include/alibabacloud/sae/model/DescribeApplicationConfigResult.h +++ b/sae/include/alibabacloud/sae/model/DescribeApplicationConfigResult.h @@ -115,6 +115,7 @@ namespace AlibabaCloud int minReadyInstanceRatio; std::string phpPECLExtensions; std::string regionId; + std::string programmingLanguage; std::string enableAhas; }; diff --git a/sae/include/alibabacloud/sae/model/DescribeApplicationGroupsRequest.h b/sae/include/alibabacloud/sae/model/DescribeApplicationGroupsRequest.h index ac4b7aefb..dbaf109c5 100644 --- a/sae/include/alibabacloud/sae/model/DescribeApplicationGroupsRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribeApplicationGroupsRequest.h @@ -1,54 +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_SAE_MODEL_DESCRIBEAPPLICATIONGROUPSREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONGROUPSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribeApplicationGroupsRequest : public RoaServiceRequest - { - - public: - DescribeApplicationGroupsRequest(); - ~DescribeApplicationGroupsRequest(); - - std::string getAppId()const; - void setAppId(const std::string& appId); - int getPageSize()const; - void setPageSize(int pageSize); - int getCurrentPage()const; - void setCurrentPage(int currentPage); - - private: - std::string appId_; - int pageSize_; - int currentPage_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONGROUPSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONGROUPSREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONGROUPSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribeApplicationGroupsRequest : public RoaServiceRequest { +public: + DescribeApplicationGroupsRequest(); + ~DescribeApplicationGroupsRequest(); + std::string getAppId() const; + void setAppId(const std::string &appId); + int getPageSize() const; + void setPageSize(int pageSize); + int getCurrentPage() const; + void setCurrentPage(int currentPage); + +private: + std::string appId_; + int pageSize_; + int currentPage_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONGROUPSREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribeApplicationGroupsResult.h b/sae/include/alibabacloud/sae/model/DescribeApplicationGroupsResult.h index fdbd00450..d688498f2 100644 --- a/sae/include/alibabacloud/sae/model/DescribeApplicationGroupsResult.h +++ b/sae/include/alibabacloud/sae/model/DescribeApplicationGroupsResult.h @@ -34,8 +34,8 @@ namespace AlibabaCloud public: struct ApplicationGroup { - std::string groupName; std::string jdk; + std::string groupName; int groupType; std::string edasContainerVersion; std::string packageType; diff --git a/sae/include/alibabacloud/sae/model/DescribeApplicationImageRequest.h b/sae/include/alibabacloud/sae/model/DescribeApplicationImageRequest.h index 23afa291b..be6f6801b 100644 --- a/sae/include/alibabacloud/sae/model/DescribeApplicationImageRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribeApplicationImageRequest.h @@ -1,51 +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_SAE_MODEL_DESCRIBEAPPLICATIONIMAGEREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONIMAGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribeApplicationImageRequest : public RoaServiceRequest - { - - public: - DescribeApplicationImageRequest(); - ~DescribeApplicationImageRequest(); - - std::string getAppId()const; - void setAppId(const std::string& appId); - std::string getImageUrl()const; - void setImageUrl(const std::string& imageUrl); - - private: - std::string appId_; - std::string imageUrl_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONIMAGEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONIMAGEREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONIMAGEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribeApplicationImageRequest : public RoaServiceRequest { +public: + DescribeApplicationImageRequest(); + ~DescribeApplicationImageRequest(); + std::string getAppId() const; + void setAppId(const std::string &appId); + std::string getImageUrl() const; + void setImageUrl(const std::string &imageUrl); + +private: + std::string appId_; + std::string imageUrl_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONIMAGEREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribeApplicationImageResult.h b/sae/include/alibabacloud/sae/model/DescribeApplicationImageResult.h index 37f9b663d..b0cd46181 100644 --- a/sae/include/alibabacloud/sae/model/DescribeApplicationImageResult.h +++ b/sae/include/alibabacloud/sae/model/DescribeApplicationImageResult.h @@ -34,8 +34,8 @@ namespace AlibabaCloud public: struct Data { - std::string repoNamespace; std::string repoOriginType; + std::string repoNamespace; std::string repoType; std::string crUrl; std::string repoName; diff --git a/sae/include/alibabacloud/sae/model/DescribeApplicationInstancesRequest.h b/sae/include/alibabacloud/sae/model/DescribeApplicationInstancesRequest.h index cd11c0b36..54d2f9fcd 100644 --- a/sae/include/alibabacloud/sae/model/DescribeApplicationInstancesRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribeApplicationInstancesRequest.h @@ -1,63 +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_SAE_MODEL_DESCRIBEAPPLICATIONINSTANCESREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONINSTANCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribeApplicationInstancesRequest : public RoaServiceRequest - { - - public: - DescribeApplicationInstancesRequest(); - ~DescribeApplicationInstancesRequest(); - - std::string getJobId()const; - void setJobId(const std::string& jobId); - std::string getAppId()const; - void setAppId(const std::string& appId); - std::string getGroupId()const; - void setGroupId(const std::string& groupId); - int getPageSize()const; - void setPageSize(int pageSize); - int getCurrentPage()const; - void setCurrentPage(int currentPage); - bool getReverse()const; - void setReverse(bool reverse); - - private: - std::string jobId_; - std::string appId_; - std::string groupId_; - int pageSize_; - int currentPage_; - bool reverse_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONINSTANCESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONINSTANCESREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONINSTANCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribeApplicationInstancesRequest : public RoaServiceRequest { +public: + DescribeApplicationInstancesRequest(); + ~DescribeApplicationInstancesRequest(); + std::string getJobId() const; + void setJobId(const std::string &jobId); + std::string getAppId() const; + void setAppId(const std::string &appId); + std::string getGroupId() const; + void setGroupId(const std::string &groupId); + int getPageSize() const; + void setPageSize(int pageSize); + int getCurrentPage() const; + void setCurrentPage(int currentPage); + bool getReverse() const; + void setReverse(bool reverse); + +private: + std::string jobId_; + std::string appId_; + std::string groupId_; + int pageSize_; + int currentPage_; + bool reverse_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONINSTANCESREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribeApplicationScalingRuleRequest.h b/sae/include/alibabacloud/sae/model/DescribeApplicationScalingRuleRequest.h index 1ff0abad2..28a8070cd 100644 --- a/sae/include/alibabacloud/sae/model/DescribeApplicationScalingRuleRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribeApplicationScalingRuleRequest.h @@ -1,51 +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_SAE_MODEL_DESCRIBEAPPLICATIONSCALINGRULEREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSCALINGRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribeApplicationScalingRuleRequest : public RoaServiceRequest - { - - public: - DescribeApplicationScalingRuleRequest(); - ~DescribeApplicationScalingRuleRequest(); - - std::string getScalingRuleName()const; - void setScalingRuleName(const std::string& scalingRuleName); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string scalingRuleName_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSCALINGRULEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSCALINGRULEREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSCALINGRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribeApplicationScalingRuleRequest : public RoaServiceRequest { +public: + DescribeApplicationScalingRuleRequest(); + ~DescribeApplicationScalingRuleRequest(); + std::string getScalingRuleName() const; + void setScalingRuleName(const std::string &scalingRuleName); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string scalingRuleName_; + std::string appId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSCALINGRULEREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribeApplicationScalingRulesRequest.h b/sae/include/alibabacloud/sae/model/DescribeApplicationScalingRulesRequest.h index 799204260..c2f80c4e9 100644 --- a/sae/include/alibabacloud/sae/model/DescribeApplicationScalingRulesRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribeApplicationScalingRulesRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_DESCRIBEAPPLICATIONSCALINGRULESREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSCALINGRULESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribeApplicationScalingRulesRequest : public RoaServiceRequest - { - - public: - DescribeApplicationScalingRulesRequest(); - ~DescribeApplicationScalingRulesRequest(); - - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSCALINGRULESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSCALINGRULESREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSCALINGRULESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribeApplicationScalingRulesRequest : public RoaServiceRequest { +public: + DescribeApplicationScalingRulesRequest(); + ~DescribeApplicationScalingRulesRequest(); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string appId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSCALINGRULESREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribeApplicationSlbsRequest.h b/sae/include/alibabacloud/sae/model/DescribeApplicationSlbsRequest.h index 83a0b4cd5..bf2fb0e18 100644 --- a/sae/include/alibabacloud/sae/model/DescribeApplicationSlbsRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribeApplicationSlbsRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_DESCRIBEAPPLICATIONSLBSREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSLBSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribeApplicationSlbsRequest : public RoaServiceRequest - { - - public: - DescribeApplicationSlbsRequest(); - ~DescribeApplicationSlbsRequest(); - - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSLBSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSLBSREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSLBSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribeApplicationSlbsRequest : public RoaServiceRequest { +public: + DescribeApplicationSlbsRequest(); + ~DescribeApplicationSlbsRequest(); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string appId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSLBSREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribeApplicationSlbsResult.h b/sae/include/alibabacloud/sae/model/DescribeApplicationSlbsResult.h index cf1d97061..f5a86ae40 100644 --- a/sae/include/alibabacloud/sae/model/DescribeApplicationSlbsResult.h +++ b/sae/include/alibabacloud/sae/model/DescribeApplicationSlbsResult.h @@ -34,14 +34,14 @@ namespace AlibabaCloud public: struct Data { - struct InternetItem + struct IntranetItem { int targetPort; int port; std::string protocol; std::string httpsCertId; }; - struct IntranetItem + struct InternetItem { int targetPort; int port; diff --git a/sae/include/alibabacloud/sae/model/DescribeApplicationStatusRequest.h b/sae/include/alibabacloud/sae/model/DescribeApplicationStatusRequest.h index b9424f8e7..5c0f80dbe 100644 --- a/sae/include/alibabacloud/sae/model/DescribeApplicationStatusRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribeApplicationStatusRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_DESCRIBEAPPLICATIONSTATUSREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribeApplicationStatusRequest : public RoaServiceRequest - { - - public: - DescribeApplicationStatusRequest(); - ~DescribeApplicationStatusRequest(); - - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSTATUSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSTATUSREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSTATUSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribeApplicationStatusRequest : public RoaServiceRequest { +public: + DescribeApplicationStatusRequest(); + ~DescribeApplicationStatusRequest(); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string appId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEAPPLICATIONSTATUSREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribeChangeOrderRequest.h b/sae/include/alibabacloud/sae/model/DescribeChangeOrderRequest.h index 429eb093c..4ad4312f2 100644 --- a/sae/include/alibabacloud/sae/model/DescribeChangeOrderRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribeChangeOrderRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_DESCRIBECHANGEORDERREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBECHANGEORDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribeChangeOrderRequest : public RoaServiceRequest - { - - public: - DescribeChangeOrderRequest(); - ~DescribeChangeOrderRequest(); - - std::string getChangeOrderId()const; - void setChangeOrderId(const std::string& changeOrderId); - - private: - std::string changeOrderId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBECHANGEORDERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBECHANGEORDERREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBECHANGEORDERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribeChangeOrderRequest : public RoaServiceRequest { +public: + DescribeChangeOrderRequest(); + ~DescribeChangeOrderRequest(); + std::string getChangeOrderId() const; + void setChangeOrderId(const std::string &changeOrderId); + +private: + std::string changeOrderId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBECHANGEORDERREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribeComponentsRequest.h b/sae/include/alibabacloud/sae/model/DescribeComponentsRequest.h index bb2542845..60a0a2295 100644 --- a/sae/include/alibabacloud/sae/model/DescribeComponentsRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribeComponentsRequest.h @@ -1,51 +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_SAE_MODEL_DESCRIBECOMPONENTSREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBECOMPONENTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribeComponentsRequest : public RoaServiceRequest - { - - public: - DescribeComponentsRequest(); - ~DescribeComponentsRequest(); - - std::string getAppId()const; - void setAppId(const std::string& appId); - std::string getType()const; - void setType(const std::string& type); - - private: - std::string appId_; - std::string type_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBECOMPONENTSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBECOMPONENTSREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBECOMPONENTSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribeComponentsRequest : public RoaServiceRequest { +public: + DescribeComponentsRequest(); + ~DescribeComponentsRequest(); + std::string getAppId() const; + void setAppId(const std::string &appId); + std::string getType() const; + void setType(const std::string &type); + +private: + std::string appId_; + std::string type_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBECOMPONENTSREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribeConfigMapRequest.h b/sae/include/alibabacloud/sae/model/DescribeConfigMapRequest.h index d5403f171..11b663e53 100644 --- a/sae/include/alibabacloud/sae/model/DescribeConfigMapRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribeConfigMapRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_DESCRIBECONFIGMAPREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBECONFIGMAPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribeConfigMapRequest : public RoaServiceRequest - { - - public: - DescribeConfigMapRequest(); - ~DescribeConfigMapRequest(); - - long getConfigMapId()const; - void setConfigMapId(long configMapId); - - private: - long configMapId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBECONFIGMAPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBECONFIGMAPREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBECONFIGMAPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribeConfigMapRequest : public RoaServiceRequest { +public: + DescribeConfigMapRequest(); + ~DescribeConfigMapRequest(); + long getConfigMapId() const; + void setConfigMapId(long configMapId); + +private: + long configMapId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBECONFIGMAPREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribeConfigMapResult.h b/sae/include/alibabacloud/sae/model/DescribeConfigMapResult.h index ed2ef28d5..05e5f5a27 100644 --- a/sae/include/alibabacloud/sae/model/DescribeConfigMapResult.h +++ b/sae/include/alibabacloud/sae/model/DescribeConfigMapResult.h @@ -44,8 +44,8 @@ namespace AlibabaCloud long updateTime; std::vector relateApps; std::string data; - long configMapId; std::string namespaceId; + long configMapId; std::string name; }; diff --git a/sae/include/alibabacloud/sae/model/DescribeConfigurationPriceRequest.h b/sae/include/alibabacloud/sae/model/DescribeConfigurationPriceRequest.h index 61137d172..94ddc15aa 100644 --- a/sae/include/alibabacloud/sae/model/DescribeConfigurationPriceRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribeConfigurationPriceRequest.h @@ -1,51 +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_SAE_MODEL_DESCRIBECONFIGURATIONPRICEREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBECONFIGURATIONPRICEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribeConfigurationPriceRequest : public RoaServiceRequest - { - - public: - DescribeConfigurationPriceRequest(); - ~DescribeConfigurationPriceRequest(); - - int getMemory()const; - void setMemory(int memory); - int getCpu()const; - void setCpu(int cpu); - - private: - int memory_; - int cpu_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBECONFIGURATIONPRICEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBECONFIGURATIONPRICEREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBECONFIGURATIONPRICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribeConfigurationPriceRequest : public RoaServiceRequest { +public: + DescribeConfigurationPriceRequest(); + ~DescribeConfigurationPriceRequest(); + int getMemory() const; + void setMemory(int memory); + int getCpu() const; + void setCpu(int cpu); + +private: + int memory_; + int cpu_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBECONFIGURATIONPRICEREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribeEdasContainersRequest.h b/sae/include/alibabacloud/sae/model/DescribeEdasContainersRequest.h index f29c2b36c..85c9f3a43 100644 --- a/sae/include/alibabacloud/sae/model/DescribeEdasContainersRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribeEdasContainersRequest.h @@ -1,45 +1,39 @@ /* * 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_SAE_MODEL_DESCRIBEEDASCONTAINERSREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBEEDASCONTAINERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribeEdasContainersRequest : public RoaServiceRequest - { - - public: - DescribeEdasContainersRequest(); - ~DescribeEdasContainersRequest(); - - - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEEDASCONTAINERSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBEEDASCONTAINERSREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBEEDASCONTAINERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribeEdasContainersRequest : public RoaServiceRequest { +public: + DescribeEdasContainersRequest(); + ~DescribeEdasContainersRequest(); + +private: +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEEDASCONTAINERSREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribeGreyTagRouteRequest.h b/sae/include/alibabacloud/sae/model/DescribeGreyTagRouteRequest.h index 641e66dd1..a72238769 100644 --- a/sae/include/alibabacloud/sae/model/DescribeGreyTagRouteRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribeGreyTagRouteRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_DESCRIBEGREYTAGROUTEREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBEGREYTAGROUTEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribeGreyTagRouteRequest : public RoaServiceRequest - { - - public: - DescribeGreyTagRouteRequest(); - ~DescribeGreyTagRouteRequest(); - - long getGreyTagRouteId()const; - void setGreyTagRouteId(long greyTagRouteId); - - private: - long greyTagRouteId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEGREYTAGROUTEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBEGREYTAGROUTEREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBEGREYTAGROUTEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribeGreyTagRouteRequest : public RoaServiceRequest { +public: + DescribeGreyTagRouteRequest(); + ~DescribeGreyTagRouteRequest(); + long getGreyTagRouteId() const; + void setGreyTagRouteId(long greyTagRouteId); + +private: + long greyTagRouteId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEGREYTAGROUTEREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribeGreyTagRouteResult.h b/sae/include/alibabacloud/sae/model/DescribeGreyTagRouteResult.h index 5ac70db1e..b40e89bf6 100644 --- a/sae/include/alibabacloud/sae/model/DescribeGreyTagRouteResult.h +++ b/sae/include/alibabacloud/sae/model/DescribeGreyTagRouteResult.h @@ -36,23 +36,23 @@ namespace AlibabaCloud { struct ScRule { - struct Item + struct Scrulesitem { - std::string cond; std::string type; + std::string cond; std::string expr; std::string value; - int index; std::string _operator; + int index; std::string name; }; std::string path; std::string condition; - std::vector items; + std::vector items; }; struct DubboRule { - struct Item2 + struct Item { std::string cond; std::string type; @@ -67,7 +67,7 @@ namespace AlibabaCloud std::string serviceName; std::string version; std::string methodName; - std::vector items1; + std::vector items1; }; long greyTagRouteId; std::string description; diff --git a/sae/include/alibabacloud/sae/model/DescribeIngressRequest.h b/sae/include/alibabacloud/sae/model/DescribeIngressRequest.h index ab633a11a..1f87eac2c 100644 --- a/sae/include/alibabacloud/sae/model/DescribeIngressRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribeIngressRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_DESCRIBEINGRESSREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBEINGRESSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribeIngressRequest : public RoaServiceRequest - { - - public: - DescribeIngressRequest(); - ~DescribeIngressRequest(); - - long getIngressId()const; - void setIngressId(long ingressId); - - private: - long ingressId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEINGRESSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBEINGRESSREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBEINGRESSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribeIngressRequest : public RoaServiceRequest { +public: + DescribeIngressRequest(); + ~DescribeIngressRequest(); + long getIngressId() const; + void setIngressId(long ingressId); + +private: + long ingressId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEINGRESSREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribeIngressResult.h b/sae/include/alibabacloud/sae/model/DescribeIngressResult.h index 192361f81..8428bdbe0 100644 --- a/sae/include/alibabacloud/sae/model/DescribeIngressResult.h +++ b/sae/include/alibabacloud/sae/model/DescribeIngressResult.h @@ -53,8 +53,10 @@ namespace AlibabaCloud int listenerPort; std::string description; std::string certId; - long id; + std::string loadBalanceType; std::string namespaceId; + long id; + std::string listenerProtocol; std::vector rules; std::string slbType; std::string name; diff --git a/sae/include/alibabacloud/sae/model/DescribeInstanceLogRequest.h b/sae/include/alibabacloud/sae/model/DescribeInstanceLogRequest.h index 8099633ec..ad27cc58d 100644 --- a/sae/include/alibabacloud/sae/model/DescribeInstanceLogRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribeInstanceLogRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_DESCRIBEINSTANCELOGREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBEINSTANCELOGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribeInstanceLogRequest : public RoaServiceRequest - { - - public: - DescribeInstanceLogRequest(); - ~DescribeInstanceLogRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEINSTANCELOGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBEINSTANCELOGREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBEINSTANCELOGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribeInstanceLogRequest : public RoaServiceRequest { +public: + DescribeInstanceLogRequest(); + ~DescribeInstanceLogRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string instanceId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEINSTANCELOGREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribeInstanceSpecificationsRequest.h b/sae/include/alibabacloud/sae/model/DescribeInstanceSpecificationsRequest.h index e1c497a99..230997f11 100644 --- a/sae/include/alibabacloud/sae/model/DescribeInstanceSpecificationsRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribeInstanceSpecificationsRequest.h @@ -1,45 +1,39 @@ /* * 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_SAE_MODEL_DESCRIBEINSTANCESPECIFICATIONSREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBEINSTANCESPECIFICATIONSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribeInstanceSpecificationsRequest : public RoaServiceRequest - { - - public: - DescribeInstanceSpecificationsRequest(); - ~DescribeInstanceSpecificationsRequest(); - - - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEINSTANCESPECIFICATIONSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBEINSTANCESPECIFICATIONSREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBEINSTANCESPECIFICATIONSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribeInstanceSpecificationsRequest : public RoaServiceRequest { +public: + DescribeInstanceSpecificationsRequest(); + ~DescribeInstanceSpecificationsRequest(); + +private: +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEINSTANCESPECIFICATIONSREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribeNamespaceListRequest.h b/sae/include/alibabacloud/sae/model/DescribeNamespaceListRequest.h index c8d3168a8..f47d6ee2a 100644 --- a/sae/include/alibabacloud/sae/model/DescribeNamespaceListRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribeNamespaceListRequest.h @@ -1,51 +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_SAE_MODEL_DESCRIBENAMESPACELISTREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBENAMESPACELISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribeNamespaceListRequest : public RoaServiceRequest - { - - public: - DescribeNamespaceListRequest(); - ~DescribeNamespaceListRequest(); - - bool getHybridCloudExclude()const; - void setHybridCloudExclude(bool hybridCloudExclude); - bool getContainCustom()const; - void setContainCustom(bool containCustom); - - private: - bool hybridCloudExclude_; - bool containCustom_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBENAMESPACELISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBENAMESPACELISTREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBENAMESPACELISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribeNamespaceListRequest : public RoaServiceRequest { +public: + DescribeNamespaceListRequest(); + ~DescribeNamespaceListRequest(); + bool getHybridCloudExclude() const; + void setHybridCloudExclude(bool hybridCloudExclude); + bool getContainCustom() const; + void setContainCustom(bool containCustom); + +private: + bool hybridCloudExclude_; + bool containCustom_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBENAMESPACELISTREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribeNamespaceRequest.h b/sae/include/alibabacloud/sae/model/DescribeNamespaceRequest.h index 27aa92cfe..598970a38 100644 --- a/sae/include/alibabacloud/sae/model/DescribeNamespaceRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribeNamespaceRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_DESCRIBENAMESPACEREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBENAMESPACEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribeNamespaceRequest : public RoaServiceRequest - { - - public: - DescribeNamespaceRequest(); - ~DescribeNamespaceRequest(); - - std::string getNamespaceId()const; - void setNamespaceId(const std::string& namespaceId); - - private: - std::string namespaceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBENAMESPACEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBENAMESPACEREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBENAMESPACEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribeNamespaceRequest : public RoaServiceRequest { +public: + DescribeNamespaceRequest(); + ~DescribeNamespaceRequest(); + std::string getNamespaceId() const; + void setNamespaceId(const std::string &namespaceId); + +private: + std::string namespaceId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBENAMESPACEREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribeNamespaceResourcesRequest.h b/sae/include/alibabacloud/sae/model/DescribeNamespaceResourcesRequest.h index c5ca327af..7b9aad186 100644 --- a/sae/include/alibabacloud/sae/model/DescribeNamespaceResourcesRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribeNamespaceResourcesRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_DESCRIBENAMESPACERESOURCESREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBENAMESPACERESOURCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribeNamespaceResourcesRequest : public RoaServiceRequest - { - - public: - DescribeNamespaceResourcesRequest(); - ~DescribeNamespaceResourcesRequest(); - - std::string getNamespaceId()const; - void setNamespaceId(const std::string& namespaceId); - - private: - std::string namespaceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBENAMESPACERESOURCESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBENAMESPACERESOURCESREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBENAMESPACERESOURCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribeNamespaceResourcesRequest : public RoaServiceRequest { +public: + DescribeNamespaceResourcesRequest(); + ~DescribeNamespaceResourcesRequest(); + std::string getNamespaceId() const; + void setNamespaceId(const std::string &namespaceId); + +private: + std::string namespaceId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBENAMESPACERESOURCESREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribeNamespaceResourcesResult.h b/sae/include/alibabacloud/sae/model/DescribeNamespaceResourcesResult.h index 1c8af544b..677e33fa2 100644 --- a/sae/include/alibabacloud/sae/model/DescribeNamespaceResourcesResult.h +++ b/sae/include/alibabacloud/sae/model/DescribeNamespaceResourcesResult.h @@ -35,8 +35,8 @@ namespace AlibabaCloud struct Data { std::string description; - std::string vSwitchId; std::string securityGroupId; + std::string vSwitchId; long appCount; bool notificationExpired; std::string belongRegion; @@ -50,6 +50,7 @@ namespace AlibabaCloud std::string vSwitchName; std::string namespaceId; std::string lastChangeOrderStatus; + std::string jumpServerAppId; }; diff --git a/sae/include/alibabacloud/sae/model/DescribeNamespaceResult.h b/sae/include/alibabacloud/sae/model/DescribeNamespaceResult.h index 5069bf8a7..9cd39ef08 100644 --- a/sae/include/alibabacloud/sae/model/DescribeNamespaceResult.h +++ b/sae/include/alibabacloud/sae/model/DescribeNamespaceResult.h @@ -35,8 +35,8 @@ namespace AlibabaCloud struct Data { std::string namespaceName; - std::string regionId; std::string namespaceId; + std::string regionId; std::string namespaceDescription; }; diff --git a/sae/include/alibabacloud/sae/model/DescribeNamespacesRequest.h b/sae/include/alibabacloud/sae/model/DescribeNamespacesRequest.h index 750c13577..d3ccbd118 100644 --- a/sae/include/alibabacloud/sae/model/DescribeNamespacesRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribeNamespacesRequest.h @@ -1,51 +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_SAE_MODEL_DESCRIBENAMESPACESREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBENAMESPACESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribeNamespacesRequest : public RoaServiceRequest - { - - public: - DescribeNamespacesRequest(); - ~DescribeNamespacesRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - int getCurrentPage()const; - void setCurrentPage(int currentPage); - - private: - int pageSize_; - int currentPage_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBENAMESPACESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBENAMESPACESREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBENAMESPACESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribeNamespacesRequest : public RoaServiceRequest { +public: + DescribeNamespacesRequest(); + ~DescribeNamespacesRequest(); + int getPageSize() const; + void setPageSize(int pageSize); + int getCurrentPage() const; + void setCurrentPage(int currentPage); + +private: + int pageSize_; + int currentPage_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBENAMESPACESREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribePipelineRequest.h b/sae/include/alibabacloud/sae/model/DescribePipelineRequest.h index 420bde171..881fe2d84 100644 --- a/sae/include/alibabacloud/sae/model/DescribePipelineRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribePipelineRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_DESCRIBEPIPELINEREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBEPIPELINEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribePipelineRequest : public RoaServiceRequest - { - - public: - DescribePipelineRequest(); - ~DescribePipelineRequest(); - - std::string getPipelineId()const; - void setPipelineId(const std::string& pipelineId); - - private: - std::string pipelineId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEPIPELINEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBEPIPELINEREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBEPIPELINEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribePipelineRequest : public RoaServiceRequest { +public: + DescribePipelineRequest(); + ~DescribePipelineRequest(); + std::string getPipelineId() const; + void setPipelineId(const std::string &pipelineId); + +private: + std::string pipelineId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEPIPELINEREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DescribeRegionsRequest.h b/sae/include/alibabacloud/sae/model/DescribeRegionsRequest.h index e780db675..c046ce3fe 100644 --- a/sae/include/alibabacloud/sae/model/DescribeRegionsRequest.h +++ b/sae/include/alibabacloud/sae/model/DescribeRegionsRequest.h @@ -1,45 +1,39 @@ /* * 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_SAE_MODEL_DESCRIBEREGIONSREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DESCRIBEREGIONSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DescribeRegionsRequest : public RoaServiceRequest - { - - public: - DescribeRegionsRequest(); - ~DescribeRegionsRequest(); - - - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEREGIONSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DESCRIBEREGIONSREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DESCRIBEREGIONSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DescribeRegionsRequest : public RoaServiceRequest { +public: + DescribeRegionsRequest(); + ~DescribeRegionsRequest(); + +private: +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DESCRIBEREGIONSREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DisableApplicationScalingRuleRequest.h b/sae/include/alibabacloud/sae/model/DisableApplicationScalingRuleRequest.h index be77cdb83..8e3fcec6f 100644 --- a/sae/include/alibabacloud/sae/model/DisableApplicationScalingRuleRequest.h +++ b/sae/include/alibabacloud/sae/model/DisableApplicationScalingRuleRequest.h @@ -1,51 +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_SAE_MODEL_DISABLEAPPLICATIONSCALINGRULEREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DISABLEAPPLICATIONSCALINGRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DisableApplicationScalingRuleRequest : public RoaServiceRequest - { - - public: - DisableApplicationScalingRuleRequest(); - ~DisableApplicationScalingRuleRequest(); - - std::string getScalingRuleName()const; - void setScalingRuleName(const std::string& scalingRuleName); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string scalingRuleName_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DISABLEAPPLICATIONSCALINGRULEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_DISABLEAPPLICATIONSCALINGRULEREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_DISABLEAPPLICATIONSCALINGRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT DisableApplicationScalingRuleRequest : public RoaServiceRequest { +public: + DisableApplicationScalingRuleRequest(); + ~DisableApplicationScalingRuleRequest(); + std::string getScalingRuleName() const; + void setScalingRuleName(const std::string &scalingRuleName); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string scalingRuleName_; + std::string appId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_DISABLEAPPLICATIONSCALINGRULEREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DownloadFilesRequest.h b/sae/include/alibabacloud/sae/model/DownloadFilesRequest.h deleted file mode 100644 index aba4ce1ee..000000000 --- a/sae/include/alibabacloud/sae/model/DownloadFilesRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * 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_SAE_MODEL_DOWNLOADFILESREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_DOWNLOADFILESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT DownloadFilesRequest : public RoaServiceRequest - { - - public: - DownloadFilesRequest(); - ~DownloadFilesRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getLocalpath()const; - void setLocalpath(const std::string& localpath); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string instanceId_; - std::string localpath_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_DOWNLOADFILESREQUEST_H_ \ No newline at end of file diff --git a/sae/include/alibabacloud/sae/model/EnableApplicationScalingRuleRequest.h b/sae/include/alibabacloud/sae/model/EnableApplicationScalingRuleRequest.h index 3440da3ce..e6193b1d7 100644 --- a/sae/include/alibabacloud/sae/model/EnableApplicationScalingRuleRequest.h +++ b/sae/include/alibabacloud/sae/model/EnableApplicationScalingRuleRequest.h @@ -1,51 +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_SAE_MODEL_ENABLEAPPLICATIONSCALINGRULEREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_ENABLEAPPLICATIONSCALINGRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT EnableApplicationScalingRuleRequest : public RoaServiceRequest - { - - public: - EnableApplicationScalingRuleRequest(); - ~EnableApplicationScalingRuleRequest(); - - std::string getScalingRuleName()const; - void setScalingRuleName(const std::string& scalingRuleName); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string scalingRuleName_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_ENABLEAPPLICATIONSCALINGRULEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_ENABLEAPPLICATIONSCALINGRULEREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_ENABLEAPPLICATIONSCALINGRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT EnableApplicationScalingRuleRequest : public RoaServiceRequest { +public: + EnableApplicationScalingRuleRequest(); + ~EnableApplicationScalingRuleRequest(); + std::string getScalingRuleName() const; + void setScalingRuleName(const std::string &scalingRuleName); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string scalingRuleName_; + std::string appId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_ENABLEAPPLICATIONSCALINGRULEREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/ListAppEventsRequest.h b/sae/include/alibabacloud/sae/model/ListAppEventsRequest.h index 0f32e7830..f59efafae 100644 --- a/sae/include/alibabacloud/sae/model/ListAppEventsRequest.h +++ b/sae/include/alibabacloud/sae/model/ListAppEventsRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_SAE_MODEL_LISTAPPEVENTSREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_LISTAPPEVENTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT ListAppEventsRequest : public RoaServiceRequest - { - - public: - ListAppEventsRequest(); - ~ListAppEventsRequest(); - - std::string getReason()const; - void setReason(const std::string& reason); - std::string getObjectKind()const; - void setObjectKind(const std::string& objectKind); - std::string getAppId()const; - void setAppId(const std::string& appId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getObjectName()const; - void setObjectName(const std::string& objectName); - std::string get_Namespace()const; - void set_Namespace(const std::string& _namespace); - int getCurrentPage()const; - void setCurrentPage(int currentPage); - std::string getEventType()const; - void setEventType(const std::string& eventType); - - private: - std::string reason_; - std::string objectKind_; - std::string appId_; - int pageSize_; - std::string objectName_; - std::string _namespace_; - int currentPage_; - std::string eventType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_LISTAPPEVENTSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_LISTAPPEVENTSREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_LISTAPPEVENTSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT ListAppEventsRequest : public RoaServiceRequest { +public: + ListAppEventsRequest(); + ~ListAppEventsRequest(); + std::string getReason() const; + void setReason(const std::string &reason); + std::string getObjectKind() const; + void setObjectKind(const std::string &objectKind); + std::string getAppId() const; + void setAppId(const std::string &appId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getObjectName() const; + void setObjectName(const std::string &objectName); + std::string get_Namespace() const; + void set_Namespace(const std::string &_namespace); + int getCurrentPage() const; + void setCurrentPage(int currentPage); + std::string getEventType() const; + void setEventType(const std::string &eventType); + +private: + std::string reason_; + std::string objectKind_; + std::string appId_; + int pageSize_; + std::string objectName_; + std::string _namespace_; + int currentPage_; + std::string eventType_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_LISTAPPEVENTSREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/ListAppEventsResult.h b/sae/include/alibabacloud/sae/model/ListAppEventsResult.h index 1ec6b4d71..2e6cf930e 100644 --- a/sae/include/alibabacloud/sae/model/ListAppEventsResult.h +++ b/sae/include/alibabacloud/sae/model/ListAppEventsResult.h @@ -36,8 +36,8 @@ namespace AlibabaCloud { struct AppEventEntityItem { - std::string message; std::string lastTimestamp; + std::string message; std::string eventType; std::string objectKind; std::string firstTimestamp; diff --git a/sae/include/alibabacloud/sae/model/ListAppServicesPageRequest.h b/sae/include/alibabacloud/sae/model/ListAppServicesPageRequest.h index 0d5cef7ac..f9a134d41 100644 --- a/sae/include/alibabacloud/sae/model/ListAppServicesPageRequest.h +++ b/sae/include/alibabacloud/sae/model/ListAppServicesPageRequest.h @@ -1,57 +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_SAE_MODEL_LISTAPPSERVICESPAGEREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_LISTAPPSERVICESPAGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT ListAppServicesPageRequest : public RoaServiceRequest - { - - public: - ListAppServicesPageRequest(); - ~ListAppServicesPageRequest(); - - std::string getServiceType()const; - void setServiceType(const std::string& serviceType); - std::string getAppId()const; - void setAppId(const std::string& appId); - int getPageSize()const; - void setPageSize(int pageSize); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - std::string serviceType_; - std::string appId_; - int pageSize_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_LISTAPPSERVICESPAGEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_LISTAPPSERVICESPAGEREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_LISTAPPSERVICESPAGEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT ListAppServicesPageRequest : public RoaServiceRequest { +public: + ListAppServicesPageRequest(); + ~ListAppServicesPageRequest(); + std::string getServiceType() const; + void setServiceType(const std::string &serviceType); + std::string getAppId() const; + void setAppId(const std::string &appId); + int getPageSize() const; + void setPageSize(int pageSize); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + std::string serviceType_; + std::string appId_; + int pageSize_; + int pageNumber_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_LISTAPPSERVICESPAGEREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/ListAppVersionsRequest.h b/sae/include/alibabacloud/sae/model/ListAppVersionsRequest.h index c485b7b71..d27c88363 100644 --- a/sae/include/alibabacloud/sae/model/ListAppVersionsRequest.h +++ b/sae/include/alibabacloud/sae/model/ListAppVersionsRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_LISTAPPVERSIONSREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_LISTAPPVERSIONSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT ListAppVersionsRequest : public RoaServiceRequest - { - - public: - ListAppVersionsRequest(); - ~ListAppVersionsRequest(); - - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_LISTAPPVERSIONSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_LISTAPPVERSIONSREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_LISTAPPVERSIONSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT ListAppVersionsRequest : public RoaServiceRequest { +public: + ListAppVersionsRequest(); + ~ListAppVersionsRequest(); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string appId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_LISTAPPVERSIONSREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/ListApplicationsRequest.h b/sae/include/alibabacloud/sae/model/ListApplicationsRequest.h index 92ef262df..eae426393 100644 --- a/sae/include/alibabacloud/sae/model/ListApplicationsRequest.h +++ b/sae/include/alibabacloud/sae/model/ListApplicationsRequest.h @@ -1,72 +1,66 @@ /* * 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_SAE_MODEL_LISTAPPLICATIONSREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_LISTAPPLICATIONSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT ListApplicationsRequest : public RoaServiceRequest - { - - public: - ListApplicationsRequest(); - ~ListApplicationsRequest(); - - std::string getAppName()const; - void setAppName(const std::string& appName); - std::string getNamespaceId()const; - void setNamespaceId(const std::string& namespaceId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getOrderBy()const; - void setOrderBy(const std::string& orderBy); - int getCurrentPage()const; - void setCurrentPage(int currentPage); - std::string getFieldValue()const; - void setFieldValue(const std::string& fieldValue); - bool getReverse()const; - void setReverse(bool reverse); - std::string getFieldType()const; - void setFieldType(const std::string& fieldType); - std::string getTags()const; - void setTags(const std::string& tags); - - private: - std::string appName_; - std::string namespaceId_; - int pageSize_; - std::string orderBy_; - int currentPage_; - std::string fieldValue_; - bool reverse_; - std::string fieldType_; - std::string tags_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_LISTAPPLICATIONSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_LISTAPPLICATIONSREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_LISTAPPLICATIONSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT ListApplicationsRequest : public RoaServiceRequest { +public: + ListApplicationsRequest(); + ~ListApplicationsRequest(); + std::string getAppName() const; + void setAppName(const std::string &appName); + std::string getNamespaceId() const; + void setNamespaceId(const std::string &namespaceId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getOrderBy() const; + void setOrderBy(const std::string &orderBy); + int getCurrentPage() const; + void setCurrentPage(int currentPage); + std::string getFieldValue() const; + void setFieldValue(const std::string &fieldValue); + bool getReverse() const; + void setReverse(bool reverse); + std::string getFieldType() const; + void setFieldType(const std::string &fieldType); + std::string getTags() const; + void setTags(const std::string &tags); + +private: + std::string appName_; + std::string namespaceId_; + int pageSize_; + std::string orderBy_; + int currentPage_; + std::string fieldValue_; + bool reverse_; + std::string fieldType_; + std::string tags_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_LISTAPPLICATIONSREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/ListChangeOrdersRequest.h b/sae/include/alibabacloud/sae/model/ListChangeOrdersRequest.h index 5149fde2f..269918e08 100644 --- a/sae/include/alibabacloud/sae/model/ListChangeOrdersRequest.h +++ b/sae/include/alibabacloud/sae/model/ListChangeOrdersRequest.h @@ -1,63 +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_SAE_MODEL_LISTCHANGEORDERSREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_LISTCHANGEORDERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT ListChangeOrdersRequest : public RoaServiceRequest - { - - public: - ListChangeOrdersRequest(); - ~ListChangeOrdersRequest(); - - std::string getCoType()const; - void setCoType(const std::string& coType); - std::string getAppId()const; - void setAppId(const std::string& appId); - int getPageSize()const; - void setPageSize(int pageSize); - int getCurrentPage()const; - void setCurrentPage(int currentPage); - std::string getCoStatus()const; - void setCoStatus(const std::string& coStatus); - std::string getKey()const; - void setKey(const std::string& key); - - private: - std::string coType_; - std::string appId_; - int pageSize_; - int currentPage_; - std::string coStatus_; - std::string key_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_LISTCHANGEORDERSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_LISTCHANGEORDERSREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_LISTCHANGEORDERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT ListChangeOrdersRequest : public RoaServiceRequest { +public: + ListChangeOrdersRequest(); + ~ListChangeOrdersRequest(); + std::string getCoType() const; + void setCoType(const std::string &coType); + std::string getAppId() const; + void setAppId(const std::string &appId); + int getPageSize() const; + void setPageSize(int pageSize); + int getCurrentPage() const; + void setCurrentPage(int currentPage); + std::string getCoStatus() const; + void setCoStatus(const std::string &coStatus); + std::string getKey() const; + void setKey(const std::string &key); + +private: + std::string coType_; + std::string appId_; + int pageSize_; + int currentPage_; + std::string coStatus_; + std::string key_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_LISTCHANGEORDERSREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/ListChangeOrdersResult.h b/sae/include/alibabacloud/sae/model/ListChangeOrdersResult.h index 828bfa97b..3fd7af3d7 100644 --- a/sae/include/alibabacloud/sae/model/ListChangeOrdersResult.h +++ b/sae/include/alibabacloud/sae/model/ListChangeOrdersResult.h @@ -41,12 +41,12 @@ namespace AlibabaCloud std::string createTime; std::string changeOrderId; std::string createUserId; - std::string batchType; std::string source; + std::string batchType; std::string groupId; - std::string appId; - std::string coTypeCode; std::string finishTime; + std::string coTypeCode; + std::string appId; std::string userId; std::string coType; int batchCount; diff --git a/sae/include/alibabacloud/sae/model/ListConsumedServicesRequest.h b/sae/include/alibabacloud/sae/model/ListConsumedServicesRequest.h index 72a071b79..b6bd0031d 100644 --- a/sae/include/alibabacloud/sae/model/ListConsumedServicesRequest.h +++ b/sae/include/alibabacloud/sae/model/ListConsumedServicesRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_LISTCONSUMEDSERVICESREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_LISTCONSUMEDSERVICESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT ListConsumedServicesRequest : public RoaServiceRequest - { - - public: - ListConsumedServicesRequest(); - ~ListConsumedServicesRequest(); - - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_LISTCONSUMEDSERVICESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_LISTCONSUMEDSERVICESREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_LISTCONSUMEDSERVICESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT ListConsumedServicesRequest : public RoaServiceRequest { +public: + ListConsumedServicesRequest(); + ~ListConsumedServicesRequest(); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string appId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_LISTCONSUMEDSERVICESREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/ListConsumedServicesResult.h b/sae/include/alibabacloud/sae/model/ListConsumedServicesResult.h index 9edd3075f..ebeb89c11 100644 --- a/sae/include/alibabacloud/sae/model/ListConsumedServicesResult.h +++ b/sae/include/alibabacloud/sae/model/ListConsumedServicesResult.h @@ -34,8 +34,8 @@ namespace AlibabaCloud public: struct ListConsumedServices { - std::string group2Ip; std::string type; + std::string group2Ip; std::string appId; std::string version; std::vector groups; diff --git a/sae/include/alibabacloud/sae/model/ListGreyTagRouteRequest.h b/sae/include/alibabacloud/sae/model/ListGreyTagRouteRequest.h index d6e540437..15460f570 100644 --- a/sae/include/alibabacloud/sae/model/ListGreyTagRouteRequest.h +++ b/sae/include/alibabacloud/sae/model/ListGreyTagRouteRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_LISTGREYTAGROUTEREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_LISTGREYTAGROUTEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT ListGreyTagRouteRequest : public RoaServiceRequest - { - - public: - ListGreyTagRouteRequest(); - ~ListGreyTagRouteRequest(); - - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_LISTGREYTAGROUTEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_LISTGREYTAGROUTEREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_LISTGREYTAGROUTEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT ListGreyTagRouteRequest : public RoaServiceRequest { +public: + ListGreyTagRouteRequest(); + ~ListGreyTagRouteRequest(); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string appId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_LISTGREYTAGROUTEREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/ListGreyTagRouteResult.h b/sae/include/alibabacloud/sae/model/ListGreyTagRouteResult.h index 46a6c21de..47fea138d 100644 --- a/sae/include/alibabacloud/sae/model/ListGreyTagRouteResult.h +++ b/sae/include/alibabacloud/sae/model/ListGreyTagRouteResult.h @@ -44,8 +44,8 @@ namespace AlibabaCloud std::string cond; std::string expr; std::string value; - int index; std::string _operator; + int index; std::string name; }; std::string path; @@ -56,8 +56,8 @@ namespace AlibabaCloud { struct Item2 { - std::string type; std::string cond; + std::string type; std::string expr; std::string value; int index; @@ -71,8 +71,8 @@ namespace AlibabaCloud std::string methodName; std::vector items1; }; - std::string description; long greyTagRouteId; + std::string description; long createTime; std::vector scRules; long updateTime; diff --git a/sae/include/alibabacloud/sae/model/ListIngressesRequest.h b/sae/include/alibabacloud/sae/model/ListIngressesRequest.h index 7f6f32c6f..3ec2ad790 100644 --- a/sae/include/alibabacloud/sae/model/ListIngressesRequest.h +++ b/sae/include/alibabacloud/sae/model/ListIngressesRequest.h @@ -1,51 +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_SAE_MODEL_LISTINGRESSESREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_LISTINGRESSESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT ListIngressesRequest : public RoaServiceRequest - { - - public: - ListIngressesRequest(); - ~ListIngressesRequest(); - - std::string getNamespaceId()const; - void setNamespaceId(const std::string& namespaceId); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string namespaceId_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_LISTINGRESSESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_LISTINGRESSESREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_LISTINGRESSESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT ListIngressesRequest : public RoaServiceRequest { +public: + ListIngressesRequest(); + ~ListIngressesRequest(); + std::string getNamespaceId() const; + void setNamespaceId(const std::string &namespaceId); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string namespaceId_; + std::string appId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_LISTINGRESSESREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/ListIngressesResult.h b/sae/include/alibabacloud/sae/model/ListIngressesResult.h index 4aa69ffb1..847e517f2 100644 --- a/sae/include/alibabacloud/sae/model/ListIngressesResult.h +++ b/sae/include/alibabacloud/sae/model/ListIngressesResult.h @@ -40,8 +40,10 @@ namespace AlibabaCloud std::string listenerPort; std::string description; std::string certId; - long id; + std::string loadBalanceType; std::string namespaceId; + long id; + std::string listenerProtocol; std::string slbType; std::string name; }; diff --git a/sae/include/alibabacloud/sae/model/ListLogConfigsRequest.h b/sae/include/alibabacloud/sae/model/ListLogConfigsRequest.h index 2634aba83..0cc3ef58b 100644 --- a/sae/include/alibabacloud/sae/model/ListLogConfigsRequest.h +++ b/sae/include/alibabacloud/sae/model/ListLogConfigsRequest.h @@ -1,54 +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_SAE_MODEL_LISTLOGCONFIGSREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_LISTLOGCONFIGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT ListLogConfigsRequest : public RoaServiceRequest - { - - public: - ListLogConfigsRequest(); - ~ListLogConfigsRequest(); - - std::string getAppId()const; - void setAppId(const std::string& appId); - int getPageSize()const; - void setPageSize(int pageSize); - int getCurrentPage()const; - void setCurrentPage(int currentPage); - - private: - std::string appId_; - int pageSize_; - int currentPage_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_LISTLOGCONFIGSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_LISTLOGCONFIGSREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_LISTLOGCONFIGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT ListLogConfigsRequest : public RoaServiceRequest { +public: + ListLogConfigsRequest(); + ~ListLogConfigsRequest(); + std::string getAppId() const; + void setAppId(const std::string &appId); + int getPageSize() const; + void setPageSize(int pageSize); + int getCurrentPage() const; + void setCurrentPage(int currentPage); + +private: + std::string appId_; + int pageSize_; + int currentPage_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_LISTLOGCONFIGSREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/ListNamespaceChangeOrdersRequest.h b/sae/include/alibabacloud/sae/model/ListNamespaceChangeOrdersRequest.h index 14b6aa575..206bdaec5 100644 --- a/sae/include/alibabacloud/sae/model/ListNamespaceChangeOrdersRequest.h +++ b/sae/include/alibabacloud/sae/model/ListNamespaceChangeOrdersRequest.h @@ -1,63 +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_SAE_MODEL_LISTNAMESPACECHANGEORDERSREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_LISTNAMESPACECHANGEORDERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT ListNamespaceChangeOrdersRequest : public RoaServiceRequest - { - - public: - ListNamespaceChangeOrdersRequest(); - ~ListNamespaceChangeOrdersRequest(); - - std::string getCoType()const; - void setCoType(const std::string& coType); - std::string getNamespaceId()const; - void setNamespaceId(const std::string& namespaceId); - int getPageSize()const; - void setPageSize(int pageSize); - int getCurrentPage()const; - void setCurrentPage(int currentPage); - std::string getCoStatus()const; - void setCoStatus(const std::string& coStatus); - std::string getKey()const; - void setKey(const std::string& key); - - private: - std::string coType_; - std::string namespaceId_; - int pageSize_; - int currentPage_; - std::string coStatus_; - std::string key_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_LISTNAMESPACECHANGEORDERSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_LISTNAMESPACECHANGEORDERSREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_LISTNAMESPACECHANGEORDERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT ListNamespaceChangeOrdersRequest : public RoaServiceRequest { +public: + ListNamespaceChangeOrdersRequest(); + ~ListNamespaceChangeOrdersRequest(); + std::string getCoType() const; + void setCoType(const std::string &coType); + std::string getNamespaceId() const; + void setNamespaceId(const std::string &namespaceId); + int getPageSize() const; + void setPageSize(int pageSize); + int getCurrentPage() const; + void setCurrentPage(int currentPage); + std::string getCoStatus() const; + void setCoStatus(const std::string &coStatus); + std::string getKey() const; + void setKey(const std::string &key); + +private: + std::string coType_; + std::string namespaceId_; + int pageSize_; + int currentPage_; + std::string coStatus_; + std::string key_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_LISTNAMESPACECHANGEORDERSREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/ListNamespaceChangeOrdersResult.h b/sae/include/alibabacloud/sae/model/ListNamespaceChangeOrdersResult.h index dcb7838be..7cad9dcb0 100644 --- a/sae/include/alibabacloud/sae/model/ListNamespaceChangeOrdersResult.h +++ b/sae/include/alibabacloud/sae/model/ListNamespaceChangeOrdersResult.h @@ -42,11 +42,11 @@ namespace AlibabaCloud std::string createTime; std::string changeOrderId; std::string createUserId; - std::string batchType; std::string source; + std::string batchType; std::string groupId; - std::string coTypeCode; std::string finishTime; + std::string coTypeCode; std::string userId; std::string namespaceId; std::string coType; diff --git a/sae/include/alibabacloud/sae/model/ListNamespacedConfigMapsRequest.h b/sae/include/alibabacloud/sae/model/ListNamespacedConfigMapsRequest.h index 43d2d7d11..61763d24a 100644 --- a/sae/include/alibabacloud/sae/model/ListNamespacedConfigMapsRequest.h +++ b/sae/include/alibabacloud/sae/model/ListNamespacedConfigMapsRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_LISTNAMESPACEDCONFIGMAPSREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_LISTNAMESPACEDCONFIGMAPSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT ListNamespacedConfigMapsRequest : public RoaServiceRequest - { - - public: - ListNamespacedConfigMapsRequest(); - ~ListNamespacedConfigMapsRequest(); - - std::string getNamespaceId()const; - void setNamespaceId(const std::string& namespaceId); - - private: - std::string namespaceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_LISTNAMESPACEDCONFIGMAPSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_LISTNAMESPACEDCONFIGMAPSREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_LISTNAMESPACEDCONFIGMAPSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT ListNamespacedConfigMapsRequest : public RoaServiceRequest { +public: + ListNamespacedConfigMapsRequest(); + ~ListNamespacedConfigMapsRequest(); + std::string getNamespaceId() const; + void setNamespaceId(const std::string &namespaceId); + +private: + std::string namespaceId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_LISTNAMESPACEDCONFIGMAPSREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/ListNamespacedConfigMapsResult.h b/sae/include/alibabacloud/sae/model/ListNamespacedConfigMapsResult.h index 429988e8a..cb9f86b8f 100644 --- a/sae/include/alibabacloud/sae/model/ListNamespacedConfigMapsResult.h +++ b/sae/include/alibabacloud/sae/model/ListNamespacedConfigMapsResult.h @@ -46,8 +46,8 @@ namespace AlibabaCloud long updateTime; std::vector relateApps; std::string data; - long configMapId; std::string namespaceId; + long configMapId; std::string name; }; std::vector configMaps; diff --git a/sae/include/alibabacloud/sae/model/ListPublishedServicesRequest.h b/sae/include/alibabacloud/sae/model/ListPublishedServicesRequest.h index 6e95fe29c..d58bd5925 100644 --- a/sae/include/alibabacloud/sae/model/ListPublishedServicesRequest.h +++ b/sae/include/alibabacloud/sae/model/ListPublishedServicesRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_LISTPUBLISHEDSERVICESREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_LISTPUBLISHEDSERVICESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT ListPublishedServicesRequest : public RoaServiceRequest - { - - public: - ListPublishedServicesRequest(); - ~ListPublishedServicesRequest(); - - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_LISTPUBLISHEDSERVICESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_LISTPUBLISHEDSERVICESREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_LISTPUBLISHEDSERVICESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT ListPublishedServicesRequest : public RoaServiceRequest { +public: + ListPublishedServicesRequest(); + ~ListPublishedServicesRequest(); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string appId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_LISTPUBLISHEDSERVICESREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/ListPublishedServicesResult.h b/sae/include/alibabacloud/sae/model/ListPublishedServicesResult.h index e3d69472a..da0c9e550 100644 --- a/sae/include/alibabacloud/sae/model/ListPublishedServicesResult.h +++ b/sae/include/alibabacloud/sae/model/ListPublishedServicesResult.h @@ -34,8 +34,8 @@ namespace AlibabaCloud public: struct DataItem { - std::string group2Ip; std::string type; + std::string group2Ip; std::string appId; std::string version; std::vector groups; diff --git a/sae/include/alibabacloud/sae/model/ListTagResourcesRequest.h b/sae/include/alibabacloud/sae/model/ListTagResourcesRequest.h index c89965073..698e4b472 100644 --- a/sae/include/alibabacloud/sae/model/ListTagResourcesRequest.h +++ b/sae/include/alibabacloud/sae/model/ListTagResourcesRequest.h @@ -1,60 +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_SAE_MODEL_LISTTAGRESOURCESREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_LISTTAGRESOURCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT ListTagResourcesRequest : public RoaServiceRequest - { - - public: - ListTagResourcesRequest(); - ~ListTagResourcesRequest(); - - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getNextToken()const; - void setNextToken(const std::string& nextToken); - std::string getResourceType()const; - void setResourceType(const std::string& resourceType); - std::string getResourceIds()const; - void setResourceIds(const std::string& resourceIds); - std::string getTags()const; - void setTags(const std::string& tags); - - private: - std::string regionId_; - std::string nextToken_; - std::string resourceType_; - std::string resourceIds_; - std::string tags_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_LISTTAGRESOURCESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_LISTTAGRESOURCESREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_LISTTAGRESOURCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT ListTagResourcesRequest : public RoaServiceRequest { +public: + ListTagResourcesRequest(); + ~ListTagResourcesRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getNextToken() const; + void setNextToken(const std::string &nextToken); + std::string getResourceType() const; + void setResourceType(const std::string &resourceType); + std::string getResourceIds() const; + void setResourceIds(const std::string &resourceIds); + std::string getTags() const; + void setTags(const std::string &tags); + +private: + std::string regionId_; + std::string nextToken_; + std::string resourceType_; + std::string resourceIds_; + std::string tags_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_LISTTAGRESOURCESREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/OpenSaeServiceRequest.h b/sae/include/alibabacloud/sae/model/OpenSaeServiceRequest.h index 39d4f53d5..da29634ca 100644 --- a/sae/include/alibabacloud/sae/model/OpenSaeServiceRequest.h +++ b/sae/include/alibabacloud/sae/model/OpenSaeServiceRequest.h @@ -1,45 +1,39 @@ /* * 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_SAE_MODEL_OPENSAESERVICEREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_OPENSAESERVICEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT OpenSaeServiceRequest : public RoaServiceRequest - { - - public: - OpenSaeServiceRequest(); - ~OpenSaeServiceRequest(); - - - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_OPENSAESERVICEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_OPENSAESERVICEREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_OPENSAESERVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT OpenSaeServiceRequest : public RoaServiceRequest { +public: + OpenSaeServiceRequest(); + ~OpenSaeServiceRequest(); + +private: +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_OPENSAESERVICEREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/QueryResourceStaticsRequest.h b/sae/include/alibabacloud/sae/model/QueryResourceStaticsRequest.h index 71a597374..b691270fa 100644 --- a/sae/include/alibabacloud/sae/model/QueryResourceStaticsRequest.h +++ b/sae/include/alibabacloud/sae/model/QueryResourceStaticsRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_QUERYRESOURCESTATICSREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_QUERYRESOURCESTATICSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT QueryResourceStaticsRequest : public RoaServiceRequest - { - - public: - QueryResourceStaticsRequest(); - ~QueryResourceStaticsRequest(); - - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_QUERYRESOURCESTATICSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_QUERYRESOURCESTATICSREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_QUERYRESOURCESTATICSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT QueryResourceStaticsRequest : public RoaServiceRequest { +public: + QueryResourceStaticsRequest(); + ~QueryResourceStaticsRequest(); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string appId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_QUERYRESOURCESTATICSREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/ReduceApplicationCapacityByInstanceIdsRequest.h b/sae/include/alibabacloud/sae/model/ReduceApplicationCapacityByInstanceIdsRequest.h index 65eb73187..73abc23db 100644 --- a/sae/include/alibabacloud/sae/model/ReduceApplicationCapacityByInstanceIdsRequest.h +++ b/sae/include/alibabacloud/sae/model/ReduceApplicationCapacityByInstanceIdsRequest.h @@ -1,51 +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_SAE_MODEL_REDUCEAPPLICATIONCAPACITYBYINSTANCEIDSREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_REDUCEAPPLICATIONCAPACITYBYINSTANCEIDSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT ReduceApplicationCapacityByInstanceIdsRequest : public RoaServiceRequest - { - - public: - ReduceApplicationCapacityByInstanceIdsRequest(); - ~ReduceApplicationCapacityByInstanceIdsRequest(); - - std::string getInstanceIds()const; - void setInstanceIds(const std::string& instanceIds); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string instanceIds_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_REDUCEAPPLICATIONCAPACITYBYINSTANCEIDSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_REDUCEAPPLICATIONCAPACITYBYINSTANCEIDSREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_REDUCEAPPLICATIONCAPACITYBYINSTANCEIDSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT ReduceApplicationCapacityByInstanceIdsRequest : public RoaServiceRequest { +public: + ReduceApplicationCapacityByInstanceIdsRequest(); + ~ReduceApplicationCapacityByInstanceIdsRequest(); + std::string getInstanceIds() const; + void setInstanceIds(const std::string &instanceIds); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string instanceIds_; + std::string appId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_REDUCEAPPLICATIONCAPACITYBYINSTANCEIDSREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/RescaleApplicationRequest.h b/sae/include/alibabacloud/sae/model/RescaleApplicationRequest.h index 8b2f42c25..cb35d9786 100644 --- a/sae/include/alibabacloud/sae/model/RescaleApplicationRequest.h +++ b/sae/include/alibabacloud/sae/model/RescaleApplicationRequest.h @@ -1,60 +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_SAE_MODEL_RESCALEAPPLICATIONREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_RESCALEAPPLICATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT RescaleApplicationRequest : public RoaServiceRequest - { - - public: - RescaleApplicationRequest(); - ~RescaleApplicationRequest(); - - int getMinReadyInstances()const; - void setMinReadyInstances(int minReadyInstances); - int getReplicas()const; - void setReplicas(int replicas); - std::string getAppId()const; - void setAppId(const std::string& appId); - int getMinReadyInstanceRatio()const; - void setMinReadyInstanceRatio(int minReadyInstanceRatio); - bool getAutoEnableApplicationScalingRule()const; - void setAutoEnableApplicationScalingRule(bool autoEnableApplicationScalingRule); - - private: - int minReadyInstances_; - int replicas_; - std::string appId_; - int minReadyInstanceRatio_; - bool autoEnableApplicationScalingRule_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_RESCALEAPPLICATIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_RESCALEAPPLICATIONREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_RESCALEAPPLICATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT RescaleApplicationRequest : public RoaServiceRequest { +public: + RescaleApplicationRequest(); + ~RescaleApplicationRequest(); + int getMinReadyInstances() const; + void setMinReadyInstances(int minReadyInstances); + int getReplicas() const; + void setReplicas(int replicas); + std::string getAppId() const; + void setAppId(const std::string &appId); + int getMinReadyInstanceRatio() const; + void setMinReadyInstanceRatio(int minReadyInstanceRatio); + bool getAutoEnableApplicationScalingRule() const; + void setAutoEnableApplicationScalingRule(bool autoEnableApplicationScalingRule); + +private: + int minReadyInstances_; + int replicas_; + std::string appId_; + int minReadyInstanceRatio_; + bool autoEnableApplicationScalingRule_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_RESCALEAPPLICATIONREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/RescaleApplicationVerticallyRequest.h b/sae/include/alibabacloud/sae/model/RescaleApplicationVerticallyRequest.h index 01b14d8a1..28945e78d 100644 --- a/sae/include/alibabacloud/sae/model/RescaleApplicationVerticallyRequest.h +++ b/sae/include/alibabacloud/sae/model/RescaleApplicationVerticallyRequest.h @@ -1,54 +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_SAE_MODEL_RESCALEAPPLICATIONVERTICALLYREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_RESCALEAPPLICATIONVERTICALLYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT RescaleApplicationVerticallyRequest : public RoaServiceRequest - { - - public: - RescaleApplicationVerticallyRequest(); - ~RescaleApplicationVerticallyRequest(); - - std::string getMemory()const; - void setMemory(const std::string& memory); - std::string getAppId()const; - void setAppId(const std::string& appId); - std::string getCpu()const; - void setCpu(const std::string& cpu); - - private: - std::string memory_; - std::string appId_; - std::string cpu_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_RESCALEAPPLICATIONVERTICALLYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_RESCALEAPPLICATIONVERTICALLYREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_RESCALEAPPLICATIONVERTICALLYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT RescaleApplicationVerticallyRequest : public RoaServiceRequest { +public: + RescaleApplicationVerticallyRequest(); + ~RescaleApplicationVerticallyRequest(); + std::string getMemory() const; + void setMemory(const std::string &memory); + std::string getAppId() const; + void setAppId(const std::string &appId); + std::string getCpu() const; + void setCpu(const std::string &cpu); + +private: + std::string memory_; + std::string appId_; + std::string cpu_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_RESCALEAPPLICATIONVERTICALLYREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/RestartApplicationRequest.h b/sae/include/alibabacloud/sae/model/RestartApplicationRequest.h index db35bab96..f37395b1a 100644 --- a/sae/include/alibabacloud/sae/model/RestartApplicationRequest.h +++ b/sae/include/alibabacloud/sae/model/RestartApplicationRequest.h @@ -1,54 +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_SAE_MODEL_RESTARTAPPLICATIONREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_RESTARTAPPLICATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT RestartApplicationRequest : public RoaServiceRequest - { - - public: - RestartApplicationRequest(); - ~RestartApplicationRequest(); - - int getMinReadyInstances()const; - void setMinReadyInstances(int minReadyInstances); - std::string getAppId()const; - void setAppId(const std::string& appId); - int getMinReadyInstanceRatio()const; - void setMinReadyInstanceRatio(int minReadyInstanceRatio); - - private: - int minReadyInstances_; - std::string appId_; - int minReadyInstanceRatio_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_RESTARTAPPLICATIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_RESTARTAPPLICATIONREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_RESTARTAPPLICATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT RestartApplicationRequest : public RoaServiceRequest { +public: + RestartApplicationRequest(); + ~RestartApplicationRequest(); + int getMinReadyInstances() const; + void setMinReadyInstances(int minReadyInstances); + std::string getAppId() const; + void setAppId(const std::string &appId); + int getMinReadyInstanceRatio() const; + void setMinReadyInstanceRatio(int minReadyInstanceRatio); + +private: + int minReadyInstances_; + std::string appId_; + int minReadyInstanceRatio_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_RESTARTAPPLICATIONREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/RestartInstancesRequest.h b/sae/include/alibabacloud/sae/model/RestartInstancesRequest.h index f84f52245..d41da1461 100644 --- a/sae/include/alibabacloud/sae/model/RestartInstancesRequest.h +++ b/sae/include/alibabacloud/sae/model/RestartInstancesRequest.h @@ -1,51 +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_SAE_MODEL_RESTARTINSTANCESREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_RESTARTINSTANCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT RestartInstancesRequest : public RoaServiceRequest - { - - public: - RestartInstancesRequest(); - ~RestartInstancesRequest(); - - std::string getInstanceIds()const; - void setInstanceIds(const std::string& instanceIds); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string instanceIds_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_RESTARTINSTANCESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_RESTARTINSTANCESREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_RESTARTINSTANCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT RestartInstancesRequest : public RoaServiceRequest { +public: + RestartInstancesRequest(); + ~RestartInstancesRequest(); + std::string getInstanceIds() const; + void setInstanceIds(const std::string &instanceIds); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string instanceIds_; + std::string appId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_RESTARTINSTANCESREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/RollbackApplicationRequest.h b/sae/include/alibabacloud/sae/model/RollbackApplicationRequest.h index 0125f524e..cb18c30e8 100644 --- a/sae/include/alibabacloud/sae/model/RollbackApplicationRequest.h +++ b/sae/include/alibabacloud/sae/model/RollbackApplicationRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_SAE_MODEL_ROLLBACKAPPLICATIONREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_ROLLBACKAPPLICATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT RollbackApplicationRequest : public RoaServiceRequest - { - - public: - RollbackApplicationRequest(); - ~RollbackApplicationRequest(); - - int getMinReadyInstances()const; - void setMinReadyInstances(int minReadyInstances); - std::string getVersionId()const; - void setVersionId(const std::string& versionId); - std::string getAppId()const; - void setAppId(const std::string& appId); - int getBatchWaitTime()const; - void setBatchWaitTime(int batchWaitTime); - int getMinReadyInstanceRatio()const; - void setMinReadyInstanceRatio(int minReadyInstanceRatio); - std::string getAutoEnableApplicationScalingRule()const; - void setAutoEnableApplicationScalingRule(const std::string& autoEnableApplicationScalingRule); - std::string getUpdateStrategy()const; - void setUpdateStrategy(const std::string& updateStrategy); - - private: - int minReadyInstances_; - std::string versionId_; - std::string appId_; - int batchWaitTime_; - int minReadyInstanceRatio_; - std::string autoEnableApplicationScalingRule_; - std::string updateStrategy_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_ROLLBACKAPPLICATIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_ROLLBACKAPPLICATIONREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_ROLLBACKAPPLICATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT RollbackApplicationRequest : public RoaServiceRequest { +public: + RollbackApplicationRequest(); + ~RollbackApplicationRequest(); + int getMinReadyInstances() const; + void setMinReadyInstances(int minReadyInstances); + std::string getVersionId() const; + void setVersionId(const std::string &versionId); + std::string getAppId() const; + void setAppId(const std::string &appId); + int getBatchWaitTime() const; + void setBatchWaitTime(int batchWaitTime); + int getMinReadyInstanceRatio() const; + void setMinReadyInstanceRatio(int minReadyInstanceRatio); + std::string getAutoEnableApplicationScalingRule() const; + void setAutoEnableApplicationScalingRule(const std::string &autoEnableApplicationScalingRule); + std::string getUpdateStrategy() const; + void setUpdateStrategy(const std::string &updateStrategy); + +private: + int minReadyInstances_; + std::string versionId_; + std::string appId_; + int batchWaitTime_; + int minReadyInstanceRatio_; + std::string autoEnableApplicationScalingRule_; + std::string updateStrategy_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_ROLLBACKAPPLICATIONREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/StartApplicationRequest.h b/sae/include/alibabacloud/sae/model/StartApplicationRequest.h index 929b142eb..0af0de6e7 100644 --- a/sae/include/alibabacloud/sae/model/StartApplicationRequest.h +++ b/sae/include/alibabacloud/sae/model/StartApplicationRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_STARTAPPLICATIONREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_STARTAPPLICATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT StartApplicationRequest : public RoaServiceRequest - { - - public: - StartApplicationRequest(); - ~StartApplicationRequest(); - - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_STARTAPPLICATIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_STARTAPPLICATIONREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_STARTAPPLICATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT StartApplicationRequest : public RoaServiceRequest { +public: + StartApplicationRequest(); + ~StartApplicationRequest(); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string appId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_STARTAPPLICATIONREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/StopApplicationRequest.h b/sae/include/alibabacloud/sae/model/StopApplicationRequest.h index f55c21376..3667399e7 100644 --- a/sae/include/alibabacloud/sae/model/StopApplicationRequest.h +++ b/sae/include/alibabacloud/sae/model/StopApplicationRequest.h @@ -1,48 +1,42 @@ /* * 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_SAE_MODEL_STOPAPPLICATIONREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_STOPAPPLICATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT StopApplicationRequest : public RoaServiceRequest - { - - public: - StopApplicationRequest(); - ~StopApplicationRequest(); - - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_STOPAPPLICATIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_STOPAPPLICATIONREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_STOPAPPLICATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT StopApplicationRequest : public RoaServiceRequest { +public: + StopApplicationRequest(); + ~StopApplicationRequest(); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string appId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_STOPAPPLICATIONREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/TagResourcesRequest.h b/sae/include/alibabacloud/sae/model/TagResourcesRequest.h index 83bcdd5f7..e2384cb4b 100644 --- a/sae/include/alibabacloud/sae/model/TagResourcesRequest.h +++ b/sae/include/alibabacloud/sae/model/TagResourcesRequest.h @@ -1,57 +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_SAE_MODEL_TAGRESOURCESREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_TAGRESOURCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT TagResourcesRequest : public RoaServiceRequest - { - - public: - TagResourcesRequest(); - ~TagResourcesRequest(); - - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getResourceType()const; - void setResourceType(const std::string& resourceType); - std::string getTags()const; - void setTags(const std::string& tags); - std::string getResourceIds()const; - void setResourceIds(const std::string& resourceIds); - - private: - std::string regionId_; - std::string resourceType_; - std::string tags_; - std::string resourceIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_TAGRESOURCESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_TAGRESOURCESREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_TAGRESOURCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT TagResourcesRequest : public RoaServiceRequest { +public: + TagResourcesRequest(); + ~TagResourcesRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getResourceType() const; + void setResourceType(const std::string &resourceType); + std::string getTags() const; + void setTags(const std::string &tags); + std::string getResourceIds() const; + void setResourceIds(const std::string &resourceIds); + +private: + std::string regionId_; + std::string resourceType_; + std::string tags_; + std::string resourceIds_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_TAGRESOURCESREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/UnbindSlbRequest.h b/sae/include/alibabacloud/sae/model/UnbindSlbRequest.h index 2bf059c90..26681a27f 100644 --- a/sae/include/alibabacloud/sae/model/UnbindSlbRequest.h +++ b/sae/include/alibabacloud/sae/model/UnbindSlbRequest.h @@ -1,54 +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_SAE_MODEL_UNBINDSLBREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_UNBINDSLBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT UnbindSlbRequest : public RoaServiceRequest - { - - public: - UnbindSlbRequest(); - ~UnbindSlbRequest(); - - bool getIntranet()const; - void setIntranet(bool intranet); - std::string getAppId()const; - void setAppId(const std::string& appId); - bool getInternet()const; - void setInternet(bool internet); - - private: - bool intranet_; - std::string appId_; - bool internet_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_UNBINDSLBREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_UNBINDSLBREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_UNBINDSLBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT UnbindSlbRequest : public RoaServiceRequest { +public: + UnbindSlbRequest(); + ~UnbindSlbRequest(); + bool getIntranet() const; + void setIntranet(bool intranet); + std::string getAppId() const; + void setAppId(const std::string &appId); + bool getInternet() const; + void setInternet(bool internet); + +private: + bool intranet_; + std::string appId_; + bool internet_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_UNBINDSLBREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/UntagResourcesRequest.h b/sae/include/alibabacloud/sae/model/UntagResourcesRequest.h index 7c6950f8a..8d39e06b9 100644 --- a/sae/include/alibabacloud/sae/model/UntagResourcesRequest.h +++ b/sae/include/alibabacloud/sae/model/UntagResourcesRequest.h @@ -1,60 +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_SAE_MODEL_UNTAGRESOURCESREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_UNTAGRESOURCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT UntagResourcesRequest : public RoaServiceRequest - { - - public: - UntagResourcesRequest(); - ~UntagResourcesRequest(); - - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getTagKeys()const; - void setTagKeys(const std::string& tagKeys); - bool getDeleteAll()const; - void setDeleteAll(bool deleteAll); - std::string getResourceType()const; - void setResourceType(const std::string& resourceType); - std::string getResourceIds()const; - void setResourceIds(const std::string& resourceIds); - - private: - std::string regionId_; - std::string tagKeys_; - bool deleteAll_; - std::string resourceType_; - std::string resourceIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_UNTAGRESOURCESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_UNTAGRESOURCESREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_UNTAGRESOURCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT UntagResourcesRequest : public RoaServiceRequest { +public: + UntagResourcesRequest(); + ~UntagResourcesRequest(); + std::string getRegionId() const; + void setRegionId(const std::string ®ionId); + std::string getTagKeys() const; + void setTagKeys(const std::string &tagKeys); + bool getDeleteAll() const; + void setDeleteAll(bool deleteAll); + std::string getResourceType() const; + void setResourceType(const std::string &resourceType); + std::string getResourceIds() const; + void setResourceIds(const std::string &resourceIds); + +private: + std::string regionId_; + std::string tagKeys_; + bool deleteAll_; + std::string resourceType_; + std::string resourceIds_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_UNTAGRESOURCESREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/UpdateAppSecurityGroupRequest.h b/sae/include/alibabacloud/sae/model/UpdateAppSecurityGroupRequest.h index 26ea1d020..25d80143b 100644 --- a/sae/include/alibabacloud/sae/model/UpdateAppSecurityGroupRequest.h +++ b/sae/include/alibabacloud/sae/model/UpdateAppSecurityGroupRequest.h @@ -1,51 +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_SAE_MODEL_UPDATEAPPSECURITYGROUPREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_UPDATEAPPSECURITYGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT UpdateAppSecurityGroupRequest : public RoaServiceRequest - { - - public: - UpdateAppSecurityGroupRequest(); - ~UpdateAppSecurityGroupRequest(); - - std::string getAppId()const; - void setAppId(const std::string& appId); - std::string getSecurityGroupId()const; - void setSecurityGroupId(const std::string& securityGroupId); - - private: - std::string appId_; - std::string securityGroupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_UPDATEAPPSECURITYGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_UPDATEAPPSECURITYGROUPREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_UPDATEAPPSECURITYGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT UpdateAppSecurityGroupRequest : public RoaServiceRequest { +public: + UpdateAppSecurityGroupRequest(); + ~UpdateAppSecurityGroupRequest(); + std::string getAppId() const; + void setAppId(const std::string &appId); + std::string getSecurityGroupId() const; + void setSecurityGroupId(const std::string &securityGroupId); + +private: + std::string appId_; + std::string securityGroupId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_UPDATEAPPSECURITYGROUPREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/UpdateApplicationDescriptionRequest.h b/sae/include/alibabacloud/sae/model/UpdateApplicationDescriptionRequest.h new file mode 100644 index 000000000..ec20e21c1 --- /dev/null +++ b/sae/include/alibabacloud/sae/model/UpdateApplicationDescriptionRequest.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_SAE_MODEL_UPDATEAPPLICATIONDESCRIPTIONREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_UPDATEAPPLICATIONDESCRIPTIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT UpdateApplicationDescriptionRequest : public RoaServiceRequest { +public: + UpdateApplicationDescriptionRequest(); + ~UpdateApplicationDescriptionRequest(); + std::string getAppDescription() const; + void setAppDescription(const std::string &appDescription); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string appDescription_; + std::string appId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_UPDATEAPPLICATIONDESCRIPTIONREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/UploadFilesResult.h b/sae/include/alibabacloud/sae/model/UpdateApplicationDescriptionResult.h similarity index 72% rename from sae/include/alibabacloud/sae/model/UploadFilesResult.h rename to sae/include/alibabacloud/sae/model/UpdateApplicationDescriptionResult.h index 0f4da32ed..f5ef70c0b 100644 --- a/sae/include/alibabacloud/sae/model/UploadFilesResult.h +++ b/sae/include/alibabacloud/sae/model/UpdateApplicationDescriptionResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_SAE_MODEL_UPLOADFILESRESULT_H_ -#define ALIBABACLOUD_SAE_MODEL_UPLOADFILESRESULT_H_ +#ifndef ALIBABACLOUD_SAE_MODEL_UPDATEAPPLICATIONDESCRIPTIONRESULT_H_ +#define ALIBABACLOUD_SAE_MODEL_UPDATEAPPLICATIONDESCRIPTIONRESULT_H_ #include #include @@ -29,17 +29,16 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_SAE_EXPORT UploadFilesResult : public ServiceResult + class ALIBABACLOUD_SAE_EXPORT UpdateApplicationDescriptionResult : public ServiceResult { public: - UploadFilesResult(); - explicit UploadFilesResult(const std::string &payload); - ~UploadFilesResult(); + UpdateApplicationDescriptionResult(); + explicit UpdateApplicationDescriptionResult(const std::string &payload); + ~UpdateApplicationDescriptionResult(); std::string getMessage()const; std::string getTraceId()const; - std::string getData()const; std::string getErrorCode()const; std::string getCode()const; bool getSuccess()const; @@ -49,7 +48,6 @@ namespace AlibabaCloud private: std::string message_; std::string traceId_; - std::string data_; std::string errorCode_; std::string code_; bool success_; @@ -58,4 +56,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_SAE_MODEL_UPLOADFILESRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_SAE_MODEL_UPDATEAPPLICATIONDESCRIPTIONRESULT_H_ \ No newline at end of file diff --git a/sae/include/alibabacloud/sae/model/UpdateApplicationScalingRuleRequest.h b/sae/include/alibabacloud/sae/model/UpdateApplicationScalingRuleRequest.h index 6006e383d..22c330027 100644 --- a/sae/include/alibabacloud/sae/model/UpdateApplicationScalingRuleRequest.h +++ b/sae/include/alibabacloud/sae/model/UpdateApplicationScalingRuleRequest.h @@ -1,63 +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_SAE_MODEL_UPDATEAPPLICATIONSCALINGRULEREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_UPDATEAPPLICATIONSCALINGRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT UpdateApplicationScalingRuleRequest : public RoaServiceRequest - { - - public: - UpdateApplicationScalingRuleRequest(); - ~UpdateApplicationScalingRuleRequest(); - - std::string getScalingRuleName()const; - void setScalingRuleName(const std::string& scalingRuleName); - int getMinReadyInstances()const; - void setMinReadyInstances(int minReadyInstances); - std::string getScalingRuleTimer()const; - void setScalingRuleTimer(const std::string& scalingRuleTimer); - std::string getScalingRuleMetric()const; - void setScalingRuleMetric(const std::string& scalingRuleMetric); - std::string getAppId()const; - void setAppId(const std::string& appId); - int getMinReadyInstanceRatio()const; - void setMinReadyInstanceRatio(int minReadyInstanceRatio); - - private: - std::string scalingRuleName_; - int minReadyInstances_; - std::string scalingRuleTimer_; - std::string scalingRuleMetric_; - std::string appId_; - int minReadyInstanceRatio_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_UPDATEAPPLICATIONSCALINGRULEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_UPDATEAPPLICATIONSCALINGRULEREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_UPDATEAPPLICATIONSCALINGRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT UpdateApplicationScalingRuleRequest : public RoaServiceRequest { +public: + UpdateApplicationScalingRuleRequest(); + ~UpdateApplicationScalingRuleRequest(); + std::string getScalingRuleName() const; + void setScalingRuleName(const std::string &scalingRuleName); + int getMinReadyInstances() const; + void setMinReadyInstances(int minReadyInstances); + std::string getScalingRuleTimer() const; + void setScalingRuleTimer(const std::string &scalingRuleTimer); + std::string getScalingRuleMetric() const; + void setScalingRuleMetric(const std::string &scalingRuleMetric); + std::string getAppId() const; + void setAppId(const std::string &appId); + int getMinReadyInstanceRatio() const; + void setMinReadyInstanceRatio(int minReadyInstanceRatio); + +private: + std::string scalingRuleName_; + int minReadyInstances_; + std::string scalingRuleTimer_; + std::string scalingRuleMetric_; + std::string appId_; + int minReadyInstanceRatio_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_UPDATEAPPLICATIONSCALINGRULEREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/UpdateApplicationVswitchesRequest.h b/sae/include/alibabacloud/sae/model/UpdateApplicationVswitchesRequest.h new file mode 100644 index 000000000..1d3f84aea --- /dev/null +++ b/sae/include/alibabacloud/sae/model/UpdateApplicationVswitchesRequest.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_SAE_MODEL_UPDATEAPPLICATIONVSWITCHESREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_UPDATEAPPLICATIONVSWITCHESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT UpdateApplicationVswitchesRequest : public RoaServiceRequest { +public: + UpdateApplicationVswitchesRequest(); + ~UpdateApplicationVswitchesRequest(); + std::string getVSwitchId() const; + void setVSwitchId(const std::string &vSwitchId); + std::string getAppId() const; + void setAppId(const std::string &appId); + +private: + std::string vSwitchId_; + std::string appId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_UPDATEAPPLICATIONVSWITCHESREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/DownloadFilesResult.h b/sae/include/alibabacloud/sae/model/UpdateApplicationVswitchesResult.h similarity index 73% rename from sae/include/alibabacloud/sae/model/DownloadFilesResult.h rename to sae/include/alibabacloud/sae/model/UpdateApplicationVswitchesResult.h index 09a0be271..3bd3c76b9 100644 --- a/sae/include/alibabacloud/sae/model/DownloadFilesResult.h +++ b/sae/include/alibabacloud/sae/model/UpdateApplicationVswitchesResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_SAE_MODEL_DOWNLOADFILESRESULT_H_ -#define ALIBABACLOUD_SAE_MODEL_DOWNLOADFILESRESULT_H_ +#ifndef ALIBABACLOUD_SAE_MODEL_UPDATEAPPLICATIONVSWITCHESRESULT_H_ +#define ALIBABACLOUD_SAE_MODEL_UPDATEAPPLICATIONVSWITCHESRESULT_H_ #include #include @@ -29,17 +29,16 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_SAE_EXPORT DownloadFilesResult : public ServiceResult + class ALIBABACLOUD_SAE_EXPORT UpdateApplicationVswitchesResult : public ServiceResult { public: - DownloadFilesResult(); - explicit DownloadFilesResult(const std::string &payload); - ~DownloadFilesResult(); + UpdateApplicationVswitchesResult(); + explicit UpdateApplicationVswitchesResult(const std::string &payload); + ~UpdateApplicationVswitchesResult(); std::string getMessage()const; std::string getTraceId()const; - std::string getData()const; std::string getErrorCode()const; std::string getCode()const; bool getSuccess()const; @@ -49,7 +48,6 @@ namespace AlibabaCloud private: std::string message_; std::string traceId_; - std::string data_; std::string errorCode_; std::string code_; bool success_; @@ -58,4 +56,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_SAE_MODEL_DOWNLOADFILESRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_SAE_MODEL_UPDATEAPPLICATIONVSWITCHESRESULT_H_ \ No newline at end of file diff --git a/sae/include/alibabacloud/sae/model/UpdateConfigMapRequest.h b/sae/include/alibabacloud/sae/model/UpdateConfigMapRequest.h index 80c4e545b..5a85b69d8 100644 --- a/sae/include/alibabacloud/sae/model/UpdateConfigMapRequest.h +++ b/sae/include/alibabacloud/sae/model/UpdateConfigMapRequest.h @@ -1,54 +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_SAE_MODEL_UPDATECONFIGMAPREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_UPDATECONFIGMAPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT UpdateConfigMapRequest : public RoaServiceRequest - { - - public: - UpdateConfigMapRequest(); - ~UpdateConfigMapRequest(); - - std::string getData()const; - void setData(const std::string& data); - std::string getDescription()const; - void setDescription(const std::string& description); - long getConfigMapId()const; - void setConfigMapId(long configMapId); - - private: - std::string data_; - std::string description_; - long configMapId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_UPDATECONFIGMAPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_UPDATECONFIGMAPREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_UPDATECONFIGMAPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT UpdateConfigMapRequest : public RoaServiceRequest { +public: + UpdateConfigMapRequest(); + ~UpdateConfigMapRequest(); + std::string getData() const; + void setData(const std::string &data); + std::string getDescription() const; + void setDescription(const std::string &description); + long getConfigMapId() const; + void setConfigMapId(long configMapId); + +private: + std::string data_; + std::string description_; + long configMapId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_UPDATECONFIGMAPREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/UpdateGreyTagRouteRequest.h b/sae/include/alibabacloud/sae/model/UpdateGreyTagRouteRequest.h index 0e9124c13..cd7128f35 100644 --- a/sae/include/alibabacloud/sae/model/UpdateGreyTagRouteRequest.h +++ b/sae/include/alibabacloud/sae/model/UpdateGreyTagRouteRequest.h @@ -1,57 +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_SAE_MODEL_UPDATEGREYTAGROUTEREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_UPDATEGREYTAGROUTEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT UpdateGreyTagRouteRequest : public RoaServiceRequest - { - - public: - UpdateGreyTagRouteRequest(); - ~UpdateGreyTagRouteRequest(); - - long getGreyTagRouteId()const; - void setGreyTagRouteId(long greyTagRouteId); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getDubboRules()const; - void setDubboRules(const std::string& dubboRules); - std::string getScRules()const; - void setScRules(const std::string& scRules); - - private: - long greyTagRouteId_; - std::string description_; - std::string dubboRules_; - std::string scRules_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_UPDATEGREYTAGROUTEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_UPDATEGREYTAGROUTEREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_UPDATEGREYTAGROUTEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT UpdateGreyTagRouteRequest : public RoaServiceRequest { +public: + UpdateGreyTagRouteRequest(); + ~UpdateGreyTagRouteRequest(); + long getGreyTagRouteId() const; + void setGreyTagRouteId(long greyTagRouteId); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getDubboRules() const; + void setDubboRules(const std::string &dubboRules); + std::string getScRules() const; + void setScRules(const std::string &scRules); + +private: + long greyTagRouteId_; + std::string description_; + std::string dubboRules_; + std::string scRules_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_UPDATEGREYTAGROUTEREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/UpdateIngressRequest.h b/sae/include/alibabacloud/sae/model/UpdateIngressRequest.h index b0aa3b19b..2cbaa0c09 100644 --- a/sae/include/alibabacloud/sae/model/UpdateIngressRequest.h +++ b/sae/include/alibabacloud/sae/model/UpdateIngressRequest.h @@ -1,63 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_SAE_MODEL_UPDATEINGRESSREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_UPDATEINGRESSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT UpdateIngressRequest : public RoaServiceRequest - { - - public: - UpdateIngressRequest(); - ~UpdateIngressRequest(); - - long getIngressId()const; - void setIngressId(long ingressId); - std::string getListenerPort()const; - void setListenerPort(const std::string& listenerPort); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getRules()const; - void setRules(const std::string& rules); - std::string getCertId()const; - void setCertId(const std::string& certId); - std::string getDefaultRule()const; - void setDefaultRule(const std::string& defaultRule); - - private: - long ingressId_; - std::string listenerPort_; - std::string description_; - std::string rules_; - std::string certId_; - std::string defaultRule_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_UPDATEINGRESSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_UPDATEINGRESSREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_UPDATEINGRESSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT UpdateIngressRequest : public RoaServiceRequest { +public: + UpdateIngressRequest(); + ~UpdateIngressRequest(); + long getIngressId() const; + void setIngressId(long ingressId); + std::string getListenerPort() const; + void setListenerPort(const std::string &listenerPort); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getLoadBalanceType() const; + void setLoadBalanceType(const std::string &loadBalanceType); + std::string getRules() const; + void setRules(const std::string &rules); + std::string getCertId() const; + void setCertId(const std::string &certId); + std::string getListenerProtocol() const; + void setListenerProtocol(const std::string &listenerProtocol); + std::string getDefaultRule() const; + void setDefaultRule(const std::string &defaultRule); + +private: + long ingressId_; + std::string listenerPort_; + std::string description_; + std::string loadBalanceType_; + std::string rules_; + std::string certId_; + std::string listenerProtocol_; + std::string defaultRule_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_UPDATEINGRESSREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/UpdateNamespaceRequest.h b/sae/include/alibabacloud/sae/model/UpdateNamespaceRequest.h index 66b3422c7..04d13c2e2 100644 --- a/sae/include/alibabacloud/sae/model/UpdateNamespaceRequest.h +++ b/sae/include/alibabacloud/sae/model/UpdateNamespaceRequest.h @@ -1,54 +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_SAE_MODEL_UPDATENAMESPACEREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_UPDATENAMESPACEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT UpdateNamespaceRequest : public RoaServiceRequest - { - - public: - UpdateNamespaceRequest(); - ~UpdateNamespaceRequest(); - - std::string getNamespaceName()const; - void setNamespaceName(const std::string& namespaceName); - std::string getNamespaceDescription()const; - void setNamespaceDescription(const std::string& namespaceDescription); - std::string getNamespaceId()const; - void setNamespaceId(const std::string& namespaceId); - - private: - std::string namespaceName_; - std::string namespaceDescription_; - std::string namespaceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_UPDATENAMESPACEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_UPDATENAMESPACEREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_UPDATENAMESPACEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT UpdateNamespaceRequest : public RoaServiceRequest { +public: + UpdateNamespaceRequest(); + ~UpdateNamespaceRequest(); + std::string getNamespaceName() const; + void setNamespaceName(const std::string &namespaceName); + std::string getNamespaceDescription() const; + void setNamespaceDescription(const std::string &namespaceDescription); + std::string getNamespaceId() const; + void setNamespaceId(const std::string &namespaceId); + +private: + std::string namespaceName_; + std::string namespaceDescription_; + std::string namespaceId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_UPDATENAMESPACEREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/UpdateNamespaceResult.h b/sae/include/alibabacloud/sae/model/UpdateNamespaceResult.h index 0ece9b849..481de665d 100644 --- a/sae/include/alibabacloud/sae/model/UpdateNamespaceResult.h +++ b/sae/include/alibabacloud/sae/model/UpdateNamespaceResult.h @@ -35,8 +35,8 @@ namespace AlibabaCloud struct Data { std::string namespaceName; - std::string regionId; std::string namespaceId; + std::string regionId; std::string namespaceDescription; }; diff --git a/sae/include/alibabacloud/sae/model/UpdateNamespaceVpcRequest.h b/sae/include/alibabacloud/sae/model/UpdateNamespaceVpcRequest.h index bf6729dd8..8d8e79d1d 100644 --- a/sae/include/alibabacloud/sae/model/UpdateNamespaceVpcRequest.h +++ b/sae/include/alibabacloud/sae/model/UpdateNamespaceVpcRequest.h @@ -1,51 +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_SAE_MODEL_UPDATENAMESPACEVPCREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_UPDATENAMESPACEVPCREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT UpdateNamespaceVpcRequest : public RoaServiceRequest - { - - public: - UpdateNamespaceVpcRequest(); - ~UpdateNamespaceVpcRequest(); - - std::string getNamespaceId()const; - void setNamespaceId(const std::string& namespaceId); - std::string getVpcId()const; - void setVpcId(const std::string& vpcId); - - private: - std::string namespaceId_; - std::string vpcId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_UPDATENAMESPACEVPCREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_SAE_MODEL_UPDATENAMESPACEVPCREQUEST_H_ +#define ALIBABACLOUD_SAE_MODEL_UPDATENAMESPACEVPCREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sae { +namespace Model { +class ALIBABACLOUD_SAE_EXPORT UpdateNamespaceVpcRequest : public RoaServiceRequest { +public: + UpdateNamespaceVpcRequest(); + ~UpdateNamespaceVpcRequest(); + std::string getNamespaceId() const; + void setNamespaceId(const std::string &namespaceId); + std::string getVpcId() const; + void setVpcId(const std::string &vpcId); + +private: + std::string namespaceId_; + std::string vpcId_; +}; +} // namespace Model +} // namespace Sae +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAE_MODEL_UPDATENAMESPACEVPCREQUEST_H_ diff --git a/sae/include/alibabacloud/sae/model/UploadFilesRequest.h b/sae/include/alibabacloud/sae/model/UploadFilesRequest.h deleted file mode 100644 index c241eff8c..000000000 --- a/sae/include/alibabacloud/sae/model/UploadFilesRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * 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_SAE_MODEL_UPLOADFILESREQUEST_H_ -#define ALIBABACLOUD_SAE_MODEL_UPLOADFILESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Sae - { - namespace Model - { - class ALIBABACLOUD_SAE_EXPORT UploadFilesRequest : public RoaServiceRequest - { - - public: - UploadFilesRequest(); - ~UploadFilesRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getCloudUrl()const; - void setCloudUrl(const std::string& cloudUrl); - std::string getLocalpath()const; - void setLocalpath(const std::string& localpath); - std::string getAppId()const; - void setAppId(const std::string& appId); - - private: - std::string instanceId_; - std::string cloudUrl_; - std::string localpath_; - std::string appId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_SAE_MODEL_UPLOADFILESREQUEST_H_ \ No newline at end of file diff --git a/sae/src/SaeClient.cc b/sae/src/SaeClient.cc index 7cbaf12c5..d41eead7f 100644 --- a/sae/src/SaeClient.cc +++ b/sae/src/SaeClient.cc @@ -1635,42 +1635,6 @@ SaeClient::DisableApplicationScalingRuleOutcomeCallable SaeClient::disableApplic return task->get_future(); } -SaeClient::DownloadFilesOutcome SaeClient::downloadFiles(const DownloadFilesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DownloadFilesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DownloadFilesOutcome(DownloadFilesResult(outcome.result())); - else - return DownloadFilesOutcome(outcome.error()); -} - -void SaeClient::downloadFilesAsync(const DownloadFilesRequest& request, const DownloadFilesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, downloadFiles(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -SaeClient::DownloadFilesOutcomeCallable SaeClient::downloadFilesCallable(const DownloadFilesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->downloadFiles(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - SaeClient::EnableApplicationScalingRuleOutcome SaeClient::enableApplicationScalingRule(const EnableApplicationScalingRuleRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2679,6 +2643,42 @@ SaeClient::UpdateAppSecurityGroupOutcomeCallable SaeClient::updateAppSecurityGro return task->get_future(); } +SaeClient::UpdateApplicationDescriptionOutcome SaeClient::updateApplicationDescription(const UpdateApplicationDescriptionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateApplicationDescriptionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateApplicationDescriptionOutcome(UpdateApplicationDescriptionResult(outcome.result())); + else + return UpdateApplicationDescriptionOutcome(outcome.error()); +} + +void SaeClient::updateApplicationDescriptionAsync(const UpdateApplicationDescriptionRequest& request, const UpdateApplicationDescriptionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateApplicationDescription(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SaeClient::UpdateApplicationDescriptionOutcomeCallable SaeClient::updateApplicationDescriptionCallable(const UpdateApplicationDescriptionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateApplicationDescription(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SaeClient::UpdateApplicationScalingRuleOutcome SaeClient::updateApplicationScalingRule(const UpdateApplicationScalingRuleRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2715,6 +2715,42 @@ SaeClient::UpdateApplicationScalingRuleOutcomeCallable SaeClient::updateApplicat return task->get_future(); } +SaeClient::UpdateApplicationVswitchesOutcome SaeClient::updateApplicationVswitches(const UpdateApplicationVswitchesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateApplicationVswitchesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateApplicationVswitchesOutcome(UpdateApplicationVswitchesResult(outcome.result())); + else + return UpdateApplicationVswitchesOutcome(outcome.error()); +} + +void SaeClient::updateApplicationVswitchesAsync(const UpdateApplicationVswitchesRequest& request, const UpdateApplicationVswitchesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateApplicationVswitches(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SaeClient::UpdateApplicationVswitchesOutcomeCallable SaeClient::updateApplicationVswitchesCallable(const UpdateApplicationVswitchesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateApplicationVswitches(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SaeClient::UpdateConfigMapOutcome SaeClient::updateConfigMap(const UpdateConfigMapRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2895,39 +2931,3 @@ SaeClient::UpdateNamespaceVpcOutcomeCallable SaeClient::updateNamespaceVpcCallab return task->get_future(); } -SaeClient::UploadFilesOutcome SaeClient::uploadFiles(const UploadFilesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UploadFilesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UploadFilesOutcome(UploadFilesResult(outcome.result())); - else - return UploadFilesOutcome(outcome.error()); -} - -void SaeClient::uploadFilesAsync(const UploadFilesRequest& request, const UploadFilesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, uploadFiles(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -SaeClient::UploadFilesOutcomeCallable SaeClient::uploadFilesCallable(const UploadFilesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->uploadFiles(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - diff --git a/sae/src/model/AbortAndRollbackChangeOrderRequest.cc b/sae/src/model/AbortAndRollbackChangeOrderRequest.cc index e08b64f81..863dd68e6 100644 --- a/sae/src/model/AbortAndRollbackChangeOrderRequest.cc +++ b/sae/src/model/AbortAndRollbackChangeOrderRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::AbortAndRollbackChangeOrderRequest; - -AbortAndRollbackChangeOrderRequest::AbortAndRollbackChangeOrderRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/changeorder/AbortAndRollbackChangeOrder"); - setMethod(HttpRequest::Method::Put); -} - -AbortAndRollbackChangeOrderRequest::~AbortAndRollbackChangeOrderRequest() -{} - -std::string AbortAndRollbackChangeOrderRequest::getChangeOrderId()const -{ - return changeOrderId_; + */ + +#include + +using AlibabaCloud::Sae::Model::AbortAndRollbackChangeOrderRequest; + +AbortAndRollbackChangeOrderRequest::AbortAndRollbackChangeOrderRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/changeorder/AbortAndRollbackChangeOrder"}; + setMethod(HttpRequest::Method::Put); } -void AbortAndRollbackChangeOrderRequest::setChangeOrderId(const std::string& changeOrderId) -{ - changeOrderId_ = changeOrderId; - setParameter("ChangeOrderId", changeOrderId); +AbortAndRollbackChangeOrderRequest::~AbortAndRollbackChangeOrderRequest() {} + +std::string AbortAndRollbackChangeOrderRequest::getChangeOrderId() const { + return changeOrderId_; +} + +void AbortAndRollbackChangeOrderRequest::setChangeOrderId(const std::string &changeOrderId) { + changeOrderId_ = changeOrderId; + setParameter(std::string("ChangeOrderId"), changeOrderId); } diff --git a/sae/src/model/AbortAndRollbackChangeOrderResult.cc b/sae/src/model/AbortAndRollbackChangeOrderResult.cc index c0c3fecfd..1ce328750 100644 --- a/sae/src/model/AbortAndRollbackChangeOrderResult.cc +++ b/sae/src/model/AbortAndRollbackChangeOrderResult.cc @@ -42,16 +42,16 @@ void AbortAndRollbackChangeOrderResult::parse(const std::string &payload) auto dataNode = value["Data"]; if(!dataNode["ChangeOrderId"].isNull()) data_.changeOrderId = dataNode["ChangeOrderId"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/AbortChangeOrderRequest.cc b/sae/src/model/AbortChangeOrderRequest.cc index 838d9070f..f09cee9cd 100644 --- a/sae/src/model/AbortChangeOrderRequest.cc +++ b/sae/src/model/AbortChangeOrderRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::AbortChangeOrderRequest; - -AbortChangeOrderRequest::AbortChangeOrderRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/changeorder/AbortChangeOrder"); - setMethod(HttpRequest::Method::Put); -} - -AbortChangeOrderRequest::~AbortChangeOrderRequest() -{} - -std::string AbortChangeOrderRequest::getChangeOrderId()const -{ - return changeOrderId_; + */ + +#include + +using AlibabaCloud::Sae::Model::AbortChangeOrderRequest; + +AbortChangeOrderRequest::AbortChangeOrderRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/changeorder/AbortChangeOrder"}; + setMethod(HttpRequest::Method::Put); } -void AbortChangeOrderRequest::setChangeOrderId(const std::string& changeOrderId) -{ - changeOrderId_ = changeOrderId; - setParameter("ChangeOrderId", changeOrderId); +AbortChangeOrderRequest::~AbortChangeOrderRequest() {} + +std::string AbortChangeOrderRequest::getChangeOrderId() const { + return changeOrderId_; +} + +void AbortChangeOrderRequest::setChangeOrderId(const std::string &changeOrderId) { + changeOrderId_ = changeOrderId; + setParameter(std::string("ChangeOrderId"), changeOrderId); } diff --git a/sae/src/model/AbortChangeOrderResult.cc b/sae/src/model/AbortChangeOrderResult.cc index e7c828453..06b132315 100644 --- a/sae/src/model/AbortChangeOrderResult.cc +++ b/sae/src/model/AbortChangeOrderResult.cc @@ -42,16 +42,16 @@ void AbortChangeOrderResult::parse(const std::string &payload) auto dataNode = value["Data"]; if(!dataNode["ChangeOrderId"].isNull()) data_.changeOrderId = dataNode["ChangeOrderId"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/BatchStartApplicationsRequest.cc b/sae/src/model/BatchStartApplicationsRequest.cc index 681a6f044..77436bbea 100644 --- a/sae/src/model/BatchStartApplicationsRequest.cc +++ b/sae/src/model/BatchStartApplicationsRequest.cc @@ -1,52 +1,46 @@ /* * 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::Sae::Model::BatchStartApplicationsRequest; - -BatchStartApplicationsRequest::BatchStartApplicationsRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/batchStartApplications"); - setMethod(HttpRequest::Method::Put); -} - -BatchStartApplicationsRequest::~BatchStartApplicationsRequest() -{} - -std::string BatchStartApplicationsRequest::getAppIds()const -{ - return appIds_; + */ + +#include + +using AlibabaCloud::Sae::Model::BatchStartApplicationsRequest; + +BatchStartApplicationsRequest::BatchStartApplicationsRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/batchStartApplications"}; + setMethod(HttpRequest::Method::Put); } -void BatchStartApplicationsRequest::setAppIds(const std::string& appIds) -{ - appIds_ = appIds; - setParameter("AppIds", appIds); +BatchStartApplicationsRequest::~BatchStartApplicationsRequest() {} + +std::string BatchStartApplicationsRequest::getAppIds() const { + return appIds_; } -std::string BatchStartApplicationsRequest::getNamespaceId()const -{ - return namespaceId_; +void BatchStartApplicationsRequest::setAppIds(const std::string &appIds) { + appIds_ = appIds; + setParameter(std::string("AppIds"), appIds); } -void BatchStartApplicationsRequest::setNamespaceId(const std::string& namespaceId) -{ - namespaceId_ = namespaceId; - setParameter("NamespaceId", namespaceId); +std::string BatchStartApplicationsRequest::getNamespaceId() const { + return namespaceId_; +} + +void BatchStartApplicationsRequest::setNamespaceId(const std::string &namespaceId) { + namespaceId_ = namespaceId; + setParameter(std::string("NamespaceId"), namespaceId); } diff --git a/sae/src/model/BatchStartApplicationsResult.cc b/sae/src/model/BatchStartApplicationsResult.cc index fd580302e..b98418686 100644 --- a/sae/src/model/BatchStartApplicationsResult.cc +++ b/sae/src/model/BatchStartApplicationsResult.cc @@ -42,14 +42,14 @@ void BatchStartApplicationsResult::parse(const std::string &payload) auto dataNode = value["Data"]; if(!dataNode["ChangeOrderId"].isNull()) data_.changeOrderId = dataNode["ChangeOrderId"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; diff --git a/sae/src/model/BatchStopApplicationsRequest.cc b/sae/src/model/BatchStopApplicationsRequest.cc index 5f1619c4b..1d28d6f0d 100644 --- a/sae/src/model/BatchStopApplicationsRequest.cc +++ b/sae/src/model/BatchStopApplicationsRequest.cc @@ -1,52 +1,46 @@ /* * 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::Sae::Model::BatchStopApplicationsRequest; - -BatchStopApplicationsRequest::BatchStopApplicationsRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/batchStopApplications"); - setMethod(HttpRequest::Method::Put); -} - -BatchStopApplicationsRequest::~BatchStopApplicationsRequest() -{} - -std::string BatchStopApplicationsRequest::getAppIds()const -{ - return appIds_; + */ + +#include + +using AlibabaCloud::Sae::Model::BatchStopApplicationsRequest; + +BatchStopApplicationsRequest::BatchStopApplicationsRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/batchStopApplications"}; + setMethod(HttpRequest::Method::Put); } -void BatchStopApplicationsRequest::setAppIds(const std::string& appIds) -{ - appIds_ = appIds; - setParameter("AppIds", appIds); +BatchStopApplicationsRequest::~BatchStopApplicationsRequest() {} + +std::string BatchStopApplicationsRequest::getAppIds() const { + return appIds_; } -std::string BatchStopApplicationsRequest::getNamespaceId()const -{ - return namespaceId_; +void BatchStopApplicationsRequest::setAppIds(const std::string &appIds) { + appIds_ = appIds; + setParameter(std::string("AppIds"), appIds); } -void BatchStopApplicationsRequest::setNamespaceId(const std::string& namespaceId) -{ - namespaceId_ = namespaceId; - setParameter("NamespaceId", namespaceId); +std::string BatchStopApplicationsRequest::getNamespaceId() const { + return namespaceId_; +} + +void BatchStopApplicationsRequest::setNamespaceId(const std::string &namespaceId) { + namespaceId_ = namespaceId; + setParameter(std::string("NamespaceId"), namespaceId); } diff --git a/sae/src/model/BatchStopApplicationsResult.cc b/sae/src/model/BatchStopApplicationsResult.cc index 7db6748a4..70d6f1edb 100644 --- a/sae/src/model/BatchStopApplicationsResult.cc +++ b/sae/src/model/BatchStopApplicationsResult.cc @@ -42,14 +42,14 @@ void BatchStopApplicationsResult::parse(const std::string &payload) auto dataNode = value["Data"]; if(!dataNode["ChangeOrderId"].isNull()) data_.changeOrderId = dataNode["ChangeOrderId"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; diff --git a/sae/src/model/BindSlbRequest.cc b/sae/src/model/BindSlbRequest.cc index 4923bc207..3ec743669 100644 --- a/sae/src/model/BindSlbRequest.cc +++ b/sae/src/model/BindSlbRequest.cc @@ -1,85 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Sae::Model::BindSlbRequest; - -BindSlbRequest::BindSlbRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/slb"); - setMethod(HttpRequest::Method::Post); -} - -BindSlbRequest::~BindSlbRequest() -{} - -std::string BindSlbRequest::getIntranet()const -{ - return intranet_; + */ + +#include + +using AlibabaCloud::Sae::Model::BindSlbRequest; + +BindSlbRequest::BindSlbRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/slb"}; + setMethod(HttpRequest::Method::Post); } -void BindSlbRequest::setIntranet(const std::string& intranet) -{ - intranet_ = intranet; - setParameter("Intranet", intranet); +BindSlbRequest::~BindSlbRequest() {} + +std::string BindSlbRequest::getIntranet() const { + return intranet_; } -std::string BindSlbRequest::getIntranetSlbId()const -{ - return intranetSlbId_; +void BindSlbRequest::setIntranet(const std::string &intranet) { + intranet_ = intranet; + setParameter(std::string("Intranet"), intranet); } -void BindSlbRequest::setIntranetSlbId(const std::string& intranetSlbId) -{ - intranetSlbId_ = intranetSlbId; - setParameter("IntranetSlbId", intranetSlbId); +std::string BindSlbRequest::getIntranetSlbId() const { + return intranetSlbId_; } -std::string BindSlbRequest::getInternetSlbId()const -{ - return internetSlbId_; +void BindSlbRequest::setIntranetSlbId(const std::string &intranetSlbId) { + intranetSlbId_ = intranetSlbId; + setParameter(std::string("IntranetSlbId"), intranetSlbId); } -void BindSlbRequest::setInternetSlbId(const std::string& internetSlbId) -{ - internetSlbId_ = internetSlbId; - setParameter("InternetSlbId", internetSlbId); +std::string BindSlbRequest::getInternetSlbId() const { + return internetSlbId_; } -std::string BindSlbRequest::getAppId()const -{ - return appId_; +void BindSlbRequest::setInternetSlbId(const std::string &internetSlbId) { + internetSlbId_ = internetSlbId; + setParameter(std::string("InternetSlbId"), internetSlbId); } -void BindSlbRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string BindSlbRequest::getAppId() const { + return appId_; } -std::string BindSlbRequest::getInternet()const -{ - return internet_; +void BindSlbRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -void BindSlbRequest::setInternet(const std::string& internet) -{ - internet_ = internet; - setParameter("Internet", internet); +std::string BindSlbRequest::getInternet() const { + return internet_; +} + +void BindSlbRequest::setInternet(const std::string &internet) { + internet_ = internet; + setParameter(std::string("Internet"), internet); } diff --git a/sae/src/model/ConfirmPipelineBatchRequest.cc b/sae/src/model/ConfirmPipelineBatchRequest.cc index e84af8a94..530de67f9 100644 --- a/sae/src/model/ConfirmPipelineBatchRequest.cc +++ b/sae/src/model/ConfirmPipelineBatchRequest.cc @@ -1,52 +1,46 @@ /* * 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::Sae::Model::ConfirmPipelineBatchRequest; - -ConfirmPipelineBatchRequest::ConfirmPipelineBatchRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/changeorder/ConfirmPipelineBatch"); - setMethod(HttpRequest::Method::Get); -} - -ConfirmPipelineBatchRequest::~ConfirmPipelineBatchRequest() -{} - -bool ConfirmPipelineBatchRequest::getConfirm()const -{ - return confirm_; + */ + +#include + +using AlibabaCloud::Sae::Model::ConfirmPipelineBatchRequest; + +ConfirmPipelineBatchRequest::ConfirmPipelineBatchRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/changeorder/ConfirmPipelineBatch"}; + setMethod(HttpRequest::Method::Get); } -void ConfirmPipelineBatchRequest::setConfirm(bool confirm) -{ - confirm_ = confirm; - setParameter("Confirm", confirm ? "true" : "false"); +ConfirmPipelineBatchRequest::~ConfirmPipelineBatchRequest() {} + +bool ConfirmPipelineBatchRequest::getConfirm() const { + return confirm_; } -std::string ConfirmPipelineBatchRequest::getPipelineId()const -{ - return pipelineId_; +void ConfirmPipelineBatchRequest::setConfirm(bool confirm) { + confirm_ = confirm; + setParameter(std::string("Confirm"), confirm ? "true" : "false"); } -void ConfirmPipelineBatchRequest::setPipelineId(const std::string& pipelineId) -{ - pipelineId_ = pipelineId; - setParameter("PipelineId", pipelineId); +std::string ConfirmPipelineBatchRequest::getPipelineId() const { + return pipelineId_; +} + +void ConfirmPipelineBatchRequest::setPipelineId(const std::string &pipelineId) { + pipelineId_ = pipelineId; + setParameter(std::string("PipelineId"), pipelineId); } diff --git a/sae/src/model/ConfirmPipelineBatchResult.cc b/sae/src/model/ConfirmPipelineBatchResult.cc index 050062a3a..1217fd675 100644 --- a/sae/src/model/ConfirmPipelineBatchResult.cc +++ b/sae/src/model/ConfirmPipelineBatchResult.cc @@ -42,16 +42,16 @@ void ConfirmPipelineBatchResult::parse(const std::string &payload) auto dataNode = value["Data"]; if(!dataNode["PipelineId"].isNull()) data_.pipelineId = dataNode["PipelineId"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/CreateApplicationRequest.cc b/sae/src/model/CreateApplicationRequest.cc index d866ea2df..be21792f7 100644 --- a/sae/src/model/CreateApplicationRequest.cc +++ b/sae/src/model/CreateApplicationRequest.cc @@ -1,613 +1,532 @@ /* * 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::Sae::Model::CreateApplicationRequest; - -CreateApplicationRequest::CreateApplicationRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/createApplication"); - setMethod(HttpRequest::Method::Post); -} - -CreateApplicationRequest::~CreateApplicationRequest() -{} - -std::string CreateApplicationRequest::getNasId()const -{ - return nasId_; + */ + +#include + +using AlibabaCloud::Sae::Model::CreateApplicationRequest; + +CreateApplicationRequest::CreateApplicationRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/createApplication"}; + setMethod(HttpRequest::Method::Post); +} + +CreateApplicationRequest::~CreateApplicationRequest() {} + +std::string CreateApplicationRequest::getNasId() const { + return nasId_; +} + +void CreateApplicationRequest::setNasId(const std::string &nasId) { + nasId_ = nasId; + setParameter(std::string("NasId"), nasId); +} + +std::string CreateApplicationRequest::getJarStartArgs() const { + return jarStartArgs_; +} + +void CreateApplicationRequest::setJarStartArgs(const std::string &jarStartArgs) { + jarStartArgs_ = jarStartArgs; + setParameter(std::string("JarStartArgs"), jarStartArgs); +} + +std::string CreateApplicationRequest::getOssAkSecret() const { + return ossAkSecret_; +} + +void CreateApplicationRequest::setOssAkSecret(const std::string &ossAkSecret) { + ossAkSecret_ = ossAkSecret; + setBodyParameter(std::string("OssAkSecret"), ossAkSecret); +} + +std::string CreateApplicationRequest::getMountHost() const { + return mountHost_; } -void CreateApplicationRequest::setNasId(const std::string& nasId) -{ - nasId_ = nasId; - setParameter("NasId", nasId); +void CreateApplicationRequest::setMountHost(const std::string &mountHost) { + mountHost_ = mountHost; + setParameter(std::string("MountHost"), mountHost); } -std::string CreateApplicationRequest::getJarStartArgs()const -{ - return jarStartArgs_; +bool CreateApplicationRequest::getAutoConfig() const { + return autoConfig_; } -void CreateApplicationRequest::setJarStartArgs(const std::string& jarStartArgs) -{ - jarStartArgs_ = jarStartArgs; - setParameter("JarStartArgs", jarStartArgs); +void CreateApplicationRequest::setAutoConfig(bool autoConfig) { + autoConfig_ = autoConfig; + setParameter(std::string("AutoConfig"), autoConfig ? "true" : "false"); } -std::string CreateApplicationRequest::getOssAkSecret()const -{ - return ossAkSecret_; +std::string CreateApplicationRequest::getEnvs() const { + return envs_; } -void CreateApplicationRequest::setOssAkSecret(const std::string& ossAkSecret) -{ - ossAkSecret_ = ossAkSecret; - setBodyParameter("OssAkSecret", ossAkSecret); +void CreateApplicationRequest::setEnvs(const std::string &envs) { + envs_ = envs; + setParameter(std::string("Envs"), envs); } -std::string CreateApplicationRequest::getMountHost()const -{ - return mountHost_; +std::string CreateApplicationRequest::getKafkaInstanceId() const { + return kafkaInstanceId_; } -void CreateApplicationRequest::setMountHost(const std::string& mountHost) -{ - mountHost_ = mountHost; - setParameter("MountHost", mountHost); +void CreateApplicationRequest::setKafkaInstanceId(const std::string &kafkaInstanceId) { + kafkaInstanceId_ = kafkaInstanceId; + setParameter(std::string("KafkaInstanceId"), kafkaInstanceId); } -bool CreateApplicationRequest::getAutoConfig()const -{ - return autoConfig_; +std::string CreateApplicationRequest::getPhpPECLExtensions() const { + return phpPECLExtensions_; } -void CreateApplicationRequest::setAutoConfig(bool autoConfig) -{ - autoConfig_ = autoConfig; - setParameter("AutoConfig", autoConfig ? "true" : "false"); +void CreateApplicationRequest::setPhpPECLExtensions(const std::string &phpPECLExtensions) { + phpPECLExtensions_ = phpPECLExtensions; + setBodyParameter(std::string("PhpPECLExtensions"), phpPECLExtensions); } -std::string CreateApplicationRequest::getEnvs()const -{ - return envs_; +std::string CreateApplicationRequest::getPhpArmsConfigLocation() const { + return phpArmsConfigLocation_; } -void CreateApplicationRequest::setEnvs(const std::string& envs) -{ - envs_ = envs; - setParameter("Envs", envs); +void CreateApplicationRequest::setPhpArmsConfigLocation(const std::string &phpArmsConfigLocation) { + phpArmsConfigLocation_ = phpArmsConfigLocation; + setParameter(std::string("PhpArmsConfigLocation"), phpArmsConfigLocation); } -std::string CreateApplicationRequest::getKafkaInstanceId()const -{ - return kafkaInstanceId_; +std::string CreateApplicationRequest::getProgrammingLanguage() const { + return programmingLanguage_; } -void CreateApplicationRequest::setKafkaInstanceId(const std::string& kafkaInstanceId) -{ - kafkaInstanceId_ = kafkaInstanceId; - setParameter("KafkaInstanceId", kafkaInstanceId); +void CreateApplicationRequest::setProgrammingLanguage(const std::string &programmingLanguage) { + programmingLanguage_ = programmingLanguage; + setParameter(std::string("ProgrammingLanguage"), programmingLanguage); } -std::string CreateApplicationRequest::getPhpPECLExtensions()const -{ - return phpPECLExtensions_; +std::string CreateApplicationRequest::getCustomHostAlias() const { + return customHostAlias_; } -void CreateApplicationRequest::setPhpPECLExtensions(const std::string& phpPECLExtensions) -{ - phpPECLExtensions_ = phpPECLExtensions; - setBodyParameter("PhpPECLExtensions", phpPECLExtensions); +void CreateApplicationRequest::setCustomHostAlias(const std::string &customHostAlias) { + customHostAlias_ = customHostAlias; + setParameter(std::string("CustomHostAlias"), customHostAlias); } -std::string CreateApplicationRequest::getPhpArmsConfigLocation()const -{ - return phpArmsConfigLocation_; +bool CreateApplicationRequest::getDeploy() const { + return deploy_; } -void CreateApplicationRequest::setPhpArmsConfigLocation(const std::string& phpArmsConfigLocation) -{ - phpArmsConfigLocation_ = phpArmsConfigLocation; - setParameter("PhpArmsConfigLocation", phpArmsConfigLocation); +void CreateApplicationRequest::setDeploy(bool deploy) { + deploy_ = deploy; + setParameter(std::string("Deploy"), deploy ? "true" : "false"); } -std::string CreateApplicationRequest::getCustomHostAlias()const -{ - return customHostAlias_; +std::string CreateApplicationRequest::getJarStartOptions() const { + return jarStartOptions_; } -void CreateApplicationRequest::setCustomHostAlias(const std::string& customHostAlias) -{ - customHostAlias_ = customHostAlias; - setParameter("CustomHostAlias", customHostAlias); +void CreateApplicationRequest::setJarStartOptions(const std::string &jarStartOptions) { + jarStartOptions_ = jarStartOptions; + setParameter(std::string("JarStartOptions"), jarStartOptions); } -bool CreateApplicationRequest::getDeploy()const -{ - return deploy_; +std::string CreateApplicationRequest::getAppName() const { + return appName_; } -void CreateApplicationRequest::setDeploy(bool deploy) -{ - deploy_ = deploy; - setParameter("Deploy", deploy ? "true" : "false"); +void CreateApplicationRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -std::string CreateApplicationRequest::getJarStartOptions()const -{ - return jarStartOptions_; +std::string CreateApplicationRequest::getNamespaceId() const { + return namespaceId_; } -void CreateApplicationRequest::setJarStartOptions(const std::string& jarStartOptions) -{ - jarStartOptions_ = jarStartOptions; - setParameter("JarStartOptions", jarStartOptions); +void CreateApplicationRequest::setNamespaceId(const std::string &namespaceId) { + namespaceId_ = namespaceId; + setParameter(std::string("NamespaceId"), namespaceId); } -std::string CreateApplicationRequest::getAppName()const -{ - return appName_; +bool CreateApplicationRequest::getPurchaseEip() const { + return purchaseEip_; } -void CreateApplicationRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +void CreateApplicationRequest::setPurchaseEip(bool purchaseEip) { + purchaseEip_ = purchaseEip; + setParameter(std::string("PurchaseEip"), purchaseEip ? "true" : "false"); } -std::string CreateApplicationRequest::getNamespaceId()const -{ - return namespaceId_; +std::string CreateApplicationRequest::getConfigMapMountDesc() const { + return configMapMountDesc_; } -void CreateApplicationRequest::setNamespaceId(const std::string& namespaceId) -{ - namespaceId_ = namespaceId; - setParameter("NamespaceId", namespaceId); +void CreateApplicationRequest::setConfigMapMountDesc(const std::string &configMapMountDesc) { + configMapMountDesc_ = configMapMountDesc; + setBodyParameter(std::string("ConfigMapMountDesc"), configMapMountDesc); } -std::string CreateApplicationRequest::getConfigMapMountDesc()const -{ - return configMapMountDesc_; +std::string CreateApplicationRequest::getOssMountDescs() const { + return ossMountDescs_; } -void CreateApplicationRequest::setConfigMapMountDesc(const std::string& configMapMountDesc) -{ - configMapMountDesc_ = configMapMountDesc; - setBodyParameter("ConfigMapMountDesc", configMapMountDesc); +void CreateApplicationRequest::setOssMountDescs(const std::string &ossMountDescs) { + ossMountDescs_ = ossMountDescs; + setBodyParameter(std::string("OssMountDescs"), ossMountDescs); } -std::string CreateApplicationRequest::getOssMountDescs()const -{ - return ossMountDescs_; +std::string CreateApplicationRequest::getKafkaEndpoint() const { + return kafkaEndpoint_; } -void CreateApplicationRequest::setOssMountDescs(const std::string& ossMountDescs) -{ - ossMountDescs_ = ossMountDescs; - setBodyParameter("OssMountDescs", ossMountDescs); +void CreateApplicationRequest::setKafkaEndpoint(const std::string &kafkaEndpoint) { + kafkaEndpoint_ = kafkaEndpoint; + setParameter(std::string("KafkaEndpoint"), kafkaEndpoint); } -std::string CreateApplicationRequest::getKafkaEndpoint()const -{ - return kafkaEndpoint_; +std::string CreateApplicationRequest::getPreStop() const { + return preStop_; } -void CreateApplicationRequest::setKafkaEndpoint(const std::string& kafkaEndpoint) -{ - kafkaEndpoint_ = kafkaEndpoint; - setParameter("KafkaEndpoint", kafkaEndpoint); +void CreateApplicationRequest::setPreStop(const std::string &preStop) { + preStop_ = preStop; + setParameter(std::string("PreStop"), preStop); } -std::string CreateApplicationRequest::getPreStop()const -{ - return preStop_; +int CreateApplicationRequest::getCpu() const { + return cpu_; } -void CreateApplicationRequest::setPreStop(const std::string& preStop) -{ - preStop_ = preStop; - setParameter("PreStop", preStop); +void CreateApplicationRequest::setCpu(int cpu) { + cpu_ = cpu; + setParameter(std::string("Cpu"), std::to_string(cpu)); } -int CreateApplicationRequest::getCpu()const -{ - return cpu_; +std::string CreateApplicationRequest::getVSwitchId() const { + return vSwitchId_; } -void CreateApplicationRequest::setCpu(int cpu) -{ - cpu_ = cpu; - setParameter("Cpu", std::to_string(cpu)); +void CreateApplicationRequest::setVSwitchId(const std::string &vSwitchId) { + vSwitchId_ = vSwitchId; + setParameter(std::string("VSwitchId"), vSwitchId); } -std::string CreateApplicationRequest::getVSwitchId()const -{ - return vSwitchId_; +std::string CreateApplicationRequest::getPackageType() const { + return packageType_; } -void CreateApplicationRequest::setVSwitchId(const std::string& vSwitchId) -{ - vSwitchId_ = vSwitchId; - setParameter("VSwitchId", vSwitchId); +void CreateApplicationRequest::setPackageType(const std::string &packageType) { + packageType_ = packageType; + setParameter(std::string("PackageType"), packageType); } -std::string CreateApplicationRequest::getPackageType()const -{ - return packageType_; +std::string CreateApplicationRequest::getPostStart() const { + return postStart_; } -void CreateApplicationRequest::setPackageType(const std::string& packageType) -{ - packageType_ = packageType; - setParameter("PackageType", packageType); +void CreateApplicationRequest::setPostStart(const std::string &postStart) { + postStart_ = postStart; + setParameter(std::string("PostStart"), postStart); } -std::string CreateApplicationRequest::getPostStart()const -{ - return postStart_; +std::string CreateApplicationRequest::getPhpExtensions() const { + return phpExtensions_; } -void CreateApplicationRequest::setPostStart(const std::string& postStart) -{ - postStart_ = postStart; - setParameter("PostStart", postStart); +void CreateApplicationRequest::setPhpExtensions(const std::string &phpExtensions) { + phpExtensions_ = phpExtensions; + setBodyParameter(std::string("PhpExtensions"), phpExtensions); } -std::string CreateApplicationRequest::getPhpExtensions()const -{ - return phpExtensions_; +bool CreateApplicationRequest::getAssociateEip() const { + return associateEip_; } -void CreateApplicationRequest::setPhpExtensions(const std::string& phpExtensions) -{ - phpExtensions_ = phpExtensions; - setBodyParameter("PhpExtensions", phpExtensions); +void CreateApplicationRequest::setAssociateEip(bool associateEip) { + associateEip_ = associateEip; + setBodyParameter(std::string("AssociateEip"), associateEip ? "true" : "false"); } -bool CreateApplicationRequest::getAssociateEip()const -{ - return associateEip_; +std::string CreateApplicationRequest::getWebContainer() const { + return webContainer_; } -void CreateApplicationRequest::setAssociateEip(bool associateEip) -{ - associateEip_ = associateEip; - setBodyParameter("AssociateEip", associateEip ? "true" : "false"); +void CreateApplicationRequest::setWebContainer(const std::string &webContainer) { + webContainer_ = webContainer; + setParameter(std::string("WebContainer"), webContainer); } -std::string CreateApplicationRequest::getWebContainer()const -{ - return webContainer_; +int CreateApplicationRequest::getMemory() const { + return memory_; } -void CreateApplicationRequest::setWebContainer(const std::string& webContainer) -{ - webContainer_ = webContainer; - setParameter("WebContainer", webContainer); +void CreateApplicationRequest::setMemory(int memory) { + memory_ = memory; + setParameter(std::string("Memory"), std::to_string(memory)); } -int CreateApplicationRequest::getMemory()const -{ - return memory_; +std::string CreateApplicationRequest::getSlsConfigs() const { + return slsConfigs_; } -void CreateApplicationRequest::setMemory(int memory) -{ - memory_ = memory; - setParameter("Memory", std::to_string(memory)); +void CreateApplicationRequest::setSlsConfigs(const std::string &slsConfigs) { + slsConfigs_ = slsConfigs; + setParameter(std::string("SlsConfigs"), slsConfigs); } -std::string CreateApplicationRequest::getSlsConfigs()const -{ - return slsConfigs_; +std::string CreateApplicationRequest::getKafkaConfigs() const { + return kafkaConfigs_; } -void CreateApplicationRequest::setSlsConfigs(const std::string& slsConfigs) -{ - slsConfigs_ = slsConfigs; - setParameter("SlsConfigs", slsConfigs); +void CreateApplicationRequest::setKafkaConfigs(const std::string &kafkaConfigs) { + kafkaConfigs_ = kafkaConfigs; + setParameter(std::string("KafkaConfigs"), kafkaConfigs); } -bool CreateApplicationRequest::getOpenCollectToKafka()const -{ - return openCollectToKafka_; +bool CreateApplicationRequest::getOpenCollectToKafka() const { + return openCollectToKafka_; } -void CreateApplicationRequest::setOpenCollectToKafka(bool openCollectToKafka) -{ - openCollectToKafka_ = openCollectToKafka; - setParameter("OpenCollectToKafka", openCollectToKafka ? "true" : "false"); +void CreateApplicationRequest::setOpenCollectToKafka(bool openCollectToKafka) { + openCollectToKafka_ = openCollectToKafka; + setParameter(std::string("OpenCollectToKafka"), openCollectToKafka ? "true" : "false"); } -std::string CreateApplicationRequest::getCommandArgs()const -{ - return commandArgs_; +std::string CreateApplicationRequest::getCommandArgs() const { + return commandArgs_; } -void CreateApplicationRequest::setCommandArgs(const std::string& commandArgs) -{ - commandArgs_ = commandArgs; - setParameter("CommandArgs", commandArgs); +void CreateApplicationRequest::setCommandArgs(const std::string &commandArgs) { + commandArgs_ = commandArgs; + setParameter(std::string("CommandArgs"), commandArgs); } -std::string CreateApplicationRequest::getAcrAssumeRoleArn()const -{ - return acrAssumeRoleArn_; +std::string CreateApplicationRequest::getAcrAssumeRoleArn() const { + return acrAssumeRoleArn_; } -void CreateApplicationRequest::setAcrAssumeRoleArn(const std::string& acrAssumeRoleArn) -{ - acrAssumeRoleArn_ = acrAssumeRoleArn; - setParameter("AcrAssumeRoleArn", acrAssumeRoleArn); +void CreateApplicationRequest::setAcrAssumeRoleArn(const std::string &acrAssumeRoleArn) { + acrAssumeRoleArn_ = acrAssumeRoleArn; + setParameter(std::string("AcrAssumeRoleArn"), acrAssumeRoleArn); } -std::string CreateApplicationRequest::getReadiness()const -{ - return readiness_; +std::string CreateApplicationRequest::getReadiness() const { + return readiness_; } -void CreateApplicationRequest::setReadiness(const std::string& readiness) -{ - readiness_ = readiness; - setParameter("Readiness", readiness); +void CreateApplicationRequest::setReadiness(const std::string &readiness) { + readiness_ = readiness; + setParameter(std::string("Readiness"), readiness); } -std::string CreateApplicationRequest::getTimezone()const -{ - return timezone_; +std::string CreateApplicationRequest::getTimezone() const { + return timezone_; } -void CreateApplicationRequest::setTimezone(const std::string& timezone) -{ - timezone_ = timezone; - setParameter("Timezone", timezone); +void CreateApplicationRequest::setTimezone(const std::string &timezone) { + timezone_ = timezone; + setParameter(std::string("Timezone"), timezone); } -std::string CreateApplicationRequest::getOssAkId()const -{ - return ossAkId_; +std::string CreateApplicationRequest::getOssAkId() const { + return ossAkId_; } -void CreateApplicationRequest::setOssAkId(const std::string& ossAkId) -{ - ossAkId_ = ossAkId; - setBodyParameter("OssAkId", ossAkId); +void CreateApplicationRequest::setOssAkId(const std::string &ossAkId) { + ossAkId_ = ossAkId; + setBodyParameter(std::string("OssAkId"), ossAkId); } -std::string CreateApplicationRequest::getLiveness()const -{ - return liveness_; +std::string CreateApplicationRequest::getLiveness() const { + return liveness_; } -void CreateApplicationRequest::setLiveness(const std::string& liveness) -{ - liveness_ = liveness; - setParameter("Liveness", liveness); +void CreateApplicationRequest::setLiveness(const std::string &liveness) { + liveness_ = liveness; + setParameter(std::string("Liveness"), liveness); } -std::string CreateApplicationRequest::getSecurityGroupId()const -{ - return securityGroupId_; +std::string CreateApplicationRequest::getSecurityGroupId() const { + return securityGroupId_; } -void CreateApplicationRequest::setSecurityGroupId(const std::string& securityGroupId) -{ - securityGroupId_ = securityGroupId; - setParameter("SecurityGroupId", securityGroupId); +void CreateApplicationRequest::setSecurityGroupId(const std::string &securityGroupId) { + securityGroupId_ = securityGroupId; + setParameter(std::string("SecurityGroupId"), securityGroupId); } -std::string CreateApplicationRequest::getPackageVersion()const -{ - return packageVersion_; +std::string CreateApplicationRequest::getPackageVersion() const { + return packageVersion_; } -void CreateApplicationRequest::setPackageVersion(const std::string& packageVersion) -{ - packageVersion_ = packageVersion; - setParameter("PackageVersion", packageVersion); +void CreateApplicationRequest::setPackageVersion(const std::string &packageVersion) { + packageVersion_ = packageVersion; + setParameter(std::string("PackageVersion"), packageVersion); } -std::string CreateApplicationRequest::getTomcatConfig()const -{ - return tomcatConfig_; +std::string CreateApplicationRequest::getTomcatConfig() const { + return tomcatConfig_; } -void CreateApplicationRequest::setTomcatConfig(const std::string& tomcatConfig) -{ - tomcatConfig_ = tomcatConfig; - setParameter("TomcatConfig", tomcatConfig); +void CreateApplicationRequest::setTomcatConfig(const std::string &tomcatConfig) { + tomcatConfig_ = tomcatConfig; + setParameter(std::string("TomcatConfig"), tomcatConfig); } -std::string CreateApplicationRequest::getWarStartOptions()const -{ - return warStartOptions_; +std::string CreateApplicationRequest::getWarStartOptions() const { + return warStartOptions_; } -void CreateApplicationRequest::setWarStartOptions(const std::string& warStartOptions) -{ - warStartOptions_ = warStartOptions; - setParameter("WarStartOptions", warStartOptions); +void CreateApplicationRequest::setWarStartOptions(const std::string &warStartOptions) { + warStartOptions_ = warStartOptions; + setParameter(std::string("WarStartOptions"), warStartOptions); } -std::string CreateApplicationRequest::getEdasContainerVersion()const -{ - return edasContainerVersion_; +std::string CreateApplicationRequest::getEdasContainerVersion() const { + return edasContainerVersion_; } -void CreateApplicationRequest::setEdasContainerVersion(const std::string& edasContainerVersion) -{ - edasContainerVersion_ = edasContainerVersion; - setParameter("EdasContainerVersion", edasContainerVersion); +void CreateApplicationRequest::setEdasContainerVersion(const std::string &edasContainerVersion) { + edasContainerVersion_ = edasContainerVersion; + setParameter(std::string("EdasContainerVersion"), edasContainerVersion); } -std::string CreateApplicationRequest::getPackageUrl()const -{ - return packageUrl_; +std::string CreateApplicationRequest::getPackageUrl() const { + return packageUrl_; } -void CreateApplicationRequest::setPackageUrl(const std::string& packageUrl) -{ - packageUrl_ = packageUrl; - setParameter("PackageUrl", packageUrl); +void CreateApplicationRequest::setPackageUrl(const std::string &packageUrl) { + packageUrl_ = packageUrl; + setParameter(std::string("PackageUrl"), packageUrl); } -int CreateApplicationRequest::getTerminationGracePeriodSeconds()const -{ - return terminationGracePeriodSeconds_; +int CreateApplicationRequest::getTerminationGracePeriodSeconds() const { + return terminationGracePeriodSeconds_; } -void CreateApplicationRequest::setTerminationGracePeriodSeconds(int terminationGracePeriodSeconds) -{ - terminationGracePeriodSeconds_ = terminationGracePeriodSeconds; - setParameter("TerminationGracePeriodSeconds", std::to_string(terminationGracePeriodSeconds)); +void CreateApplicationRequest::setTerminationGracePeriodSeconds(int terminationGracePeriodSeconds) { + terminationGracePeriodSeconds_ = terminationGracePeriodSeconds; + setParameter(std::string("TerminationGracePeriodSeconds"), std::to_string(terminationGracePeriodSeconds)); } -std::string CreateApplicationRequest::getPhpConfig()const -{ - return phpConfig_; +std::string CreateApplicationRequest::getPhpConfig() const { + return phpConfig_; } -void CreateApplicationRequest::setPhpConfig(const std::string& phpConfig) -{ - phpConfig_ = phpConfig; - setBodyParameter("PhpConfig", phpConfig); +void CreateApplicationRequest::setPhpConfig(const std::string &phpConfig) { + phpConfig_ = phpConfig; + setBodyParameter(std::string("PhpConfig"), phpConfig); } -int CreateApplicationRequest::getReplicas()const -{ - return replicas_; +int CreateApplicationRequest::getReplicas() const { + return replicas_; } -void CreateApplicationRequest::setReplicas(int replicas) -{ - replicas_ = replicas; - setParameter("Replicas", std::to_string(replicas)); +void CreateApplicationRequest::setReplicas(int replicas) { + replicas_ = replicas; + setParameter(std::string("Replicas"), std::to_string(replicas)); } -std::string CreateApplicationRequest::getCommand()const -{ - return command_; +std::string CreateApplicationRequest::getCommand() const { + return command_; } -void CreateApplicationRequest::setCommand(const std::string& command) -{ - command_ = command; - setParameter("Command", command); +void CreateApplicationRequest::setCommand(const std::string &command) { + command_ = command; + setParameter(std::string("Command"), command); } -std::string CreateApplicationRequest::getMountDesc()const -{ - return mountDesc_; +std::string CreateApplicationRequest::getMountDesc() const { + return mountDesc_; } -void CreateApplicationRequest::setMountDesc(const std::string& mountDesc) -{ - mountDesc_ = mountDesc; - setParameter("MountDesc", mountDesc); +void CreateApplicationRequest::setMountDesc(const std::string &mountDesc) { + mountDesc_ = mountDesc; + setParameter(std::string("MountDesc"), mountDesc); } -std::string CreateApplicationRequest::getJdk()const -{ - return jdk_; +std::string CreateApplicationRequest::getJdk() const { + return jdk_; } -void CreateApplicationRequest::setJdk(const std::string& jdk) -{ - jdk_ = jdk; - setParameter("Jdk", jdk); +void CreateApplicationRequest::setJdk(const std::string &jdk) { + jdk_ = jdk; + setParameter(std::string("Jdk"), jdk); } -std::string CreateApplicationRequest::getAppDescription()const -{ - return appDescription_; +std::string CreateApplicationRequest::getAppDescription() const { + return appDescription_; } -void CreateApplicationRequest::setAppDescription(const std::string& appDescription) -{ - appDescription_ = appDescription; - setParameter("AppDescription", appDescription); +void CreateApplicationRequest::setAppDescription(const std::string &appDescription) { + appDescription_ = appDescription; + setParameter(std::string("AppDescription"), appDescription); } -std::string CreateApplicationRequest::getKafkaLogfileConfig()const -{ - return kafkaLogfileConfig_; +std::string CreateApplicationRequest::getKafkaLogfileConfig() const { + return kafkaLogfileConfig_; } -void CreateApplicationRequest::setKafkaLogfileConfig(const std::string& kafkaLogfileConfig) -{ - kafkaLogfileConfig_ = kafkaLogfileConfig; - setParameter("KafkaLogfileConfig", kafkaLogfileConfig); +void CreateApplicationRequest::setKafkaLogfileConfig(const std::string &kafkaLogfileConfig) { + kafkaLogfileConfig_ = kafkaLogfileConfig; + setParameter(std::string("KafkaLogfileConfig"), kafkaLogfileConfig); } -std::string CreateApplicationRequest::getAcrInstanceId()const -{ - return acrInstanceId_; +std::string CreateApplicationRequest::getAcrInstanceId() const { + return acrInstanceId_; } -void CreateApplicationRequest::setAcrInstanceId(const std::string& acrInstanceId) -{ - acrInstanceId_ = acrInstanceId; - setBodyParameter("AcrInstanceId", acrInstanceId); +void CreateApplicationRequest::setAcrInstanceId(const std::string &acrInstanceId) { + acrInstanceId_ = acrInstanceId; + setBodyParameter(std::string("AcrInstanceId"), acrInstanceId); } -std::string CreateApplicationRequest::getVpcId()const -{ - return vpcId_; +std::string CreateApplicationRequest::getVpcId() const { + return vpcId_; } -void CreateApplicationRequest::setVpcId(const std::string& vpcId) -{ - vpcId_ = vpcId; - setParameter("VpcId", vpcId); +void CreateApplicationRequest::setVpcId(const std::string &vpcId) { + vpcId_ = vpcId; + setParameter(std::string("VpcId"), vpcId); } -std::string CreateApplicationRequest::getImageUrl()const -{ - return imageUrl_; +std::string CreateApplicationRequest::getImageUrl() const { + return imageUrl_; } -void CreateApplicationRequest::setImageUrl(const std::string& imageUrl) -{ - imageUrl_ = imageUrl; - setParameter("ImageUrl", imageUrl); +void CreateApplicationRequest::setImageUrl(const std::string &imageUrl) { + imageUrl_ = imageUrl; + setParameter(std::string("ImageUrl"), imageUrl); } -std::string CreateApplicationRequest::getPhp()const -{ - return php_; +std::string CreateApplicationRequest::getPhp() const { + return php_; } -void CreateApplicationRequest::setPhp(const std::string& php) -{ - php_ = php; - setBodyParameter("Php", php); +void CreateApplicationRequest::setPhp(const std::string &php) { + php_ = php; + setBodyParameter(std::string("Php"), php); } -std::string CreateApplicationRequest::getPhpConfigLocation()const -{ - return phpConfigLocation_; +std::string CreateApplicationRequest::getPhpConfigLocation() const { + return phpConfigLocation_; } -void CreateApplicationRequest::setPhpConfigLocation(const std::string& phpConfigLocation) -{ - phpConfigLocation_ = phpConfigLocation; - setParameter("PhpConfigLocation", phpConfigLocation); +void CreateApplicationRequest::setPhpConfigLocation(const std::string &phpConfigLocation) { + phpConfigLocation_ = phpConfigLocation; + setParameter(std::string("PhpConfigLocation"), phpConfigLocation); } diff --git a/sae/src/model/CreateApplicationScalingRuleRequest.cc b/sae/src/model/CreateApplicationScalingRuleRequest.cc index f4c712976..7e1c92733 100644 --- a/sae/src/model/CreateApplicationScalingRuleRequest.cc +++ b/sae/src/model/CreateApplicationScalingRuleRequest.cc @@ -1,118 +1,100 @@ /* * 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::Sae::Model::CreateApplicationScalingRuleRequest; - -CreateApplicationScalingRuleRequest::CreateApplicationScalingRuleRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/scale/applicationScalingRule"); - setMethod(HttpRequest::Method::Post); -} - -CreateApplicationScalingRuleRequest::~CreateApplicationScalingRuleRequest() -{} - -std::string CreateApplicationScalingRuleRequest::getScalingRuleName()const -{ - return scalingRuleName_; + */ + +#include + +using AlibabaCloud::Sae::Model::CreateApplicationScalingRuleRequest; + +CreateApplicationScalingRuleRequest::CreateApplicationScalingRuleRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/scale/applicationScalingRule"}; + setMethod(HttpRequest::Method::Post); } -void CreateApplicationScalingRuleRequest::setScalingRuleName(const std::string& scalingRuleName) -{ - scalingRuleName_ = scalingRuleName; - setParameter("ScalingRuleName", scalingRuleName); +CreateApplicationScalingRuleRequest::~CreateApplicationScalingRuleRequest() {} + +std::string CreateApplicationScalingRuleRequest::getScalingRuleName() const { + return scalingRuleName_; } -int CreateApplicationScalingRuleRequest::getMinReadyInstances()const -{ - return minReadyInstances_; +void CreateApplicationScalingRuleRequest::setScalingRuleName(const std::string &scalingRuleName) { + scalingRuleName_ = scalingRuleName; + setParameter(std::string("ScalingRuleName"), scalingRuleName); } -void CreateApplicationScalingRuleRequest::setMinReadyInstances(int minReadyInstances) -{ - minReadyInstances_ = minReadyInstances; - setParameter("MinReadyInstances", std::to_string(minReadyInstances)); +int CreateApplicationScalingRuleRequest::getMinReadyInstances() const { + return minReadyInstances_; } -bool CreateApplicationScalingRuleRequest::getScalingRuleEnable()const -{ - return scalingRuleEnable_; +void CreateApplicationScalingRuleRequest::setMinReadyInstances(int minReadyInstances) { + minReadyInstances_ = minReadyInstances; + setParameter(std::string("MinReadyInstances"), std::to_string(minReadyInstances)); } -void CreateApplicationScalingRuleRequest::setScalingRuleEnable(bool scalingRuleEnable) -{ - scalingRuleEnable_ = scalingRuleEnable; - setParameter("ScalingRuleEnable", scalingRuleEnable ? "true" : "false"); +bool CreateApplicationScalingRuleRequest::getScalingRuleEnable() const { + return scalingRuleEnable_; } -std::string CreateApplicationScalingRuleRequest::getScalingRuleTimer()const -{ - return scalingRuleTimer_; +void CreateApplicationScalingRuleRequest::setScalingRuleEnable(bool scalingRuleEnable) { + scalingRuleEnable_ = scalingRuleEnable; + setParameter(std::string("ScalingRuleEnable"), scalingRuleEnable ? "true" : "false"); } -void CreateApplicationScalingRuleRequest::setScalingRuleTimer(const std::string& scalingRuleTimer) -{ - scalingRuleTimer_ = scalingRuleTimer; - setParameter("ScalingRuleTimer", scalingRuleTimer); +std::string CreateApplicationScalingRuleRequest::getScalingRuleTimer() const { + return scalingRuleTimer_; } -std::string CreateApplicationScalingRuleRequest::getScalingRuleMetric()const -{ - return scalingRuleMetric_; +void CreateApplicationScalingRuleRequest::setScalingRuleTimer(const std::string &scalingRuleTimer) { + scalingRuleTimer_ = scalingRuleTimer; + setParameter(std::string("ScalingRuleTimer"), scalingRuleTimer); } -void CreateApplicationScalingRuleRequest::setScalingRuleMetric(const std::string& scalingRuleMetric) -{ - scalingRuleMetric_ = scalingRuleMetric; - setParameter("ScalingRuleMetric", scalingRuleMetric); +std::string CreateApplicationScalingRuleRequest::getScalingRuleMetric() const { + return scalingRuleMetric_; } -std::string CreateApplicationScalingRuleRequest::getAppId()const -{ - return appId_; +void CreateApplicationScalingRuleRequest::setScalingRuleMetric(const std::string &scalingRuleMetric) { + scalingRuleMetric_ = scalingRuleMetric; + setParameter(std::string("ScalingRuleMetric"), scalingRuleMetric); } -void CreateApplicationScalingRuleRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string CreateApplicationScalingRuleRequest::getAppId() const { + return appId_; } -int CreateApplicationScalingRuleRequest::getMinReadyInstanceRatio()const -{ - return minReadyInstanceRatio_; +void CreateApplicationScalingRuleRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -void CreateApplicationScalingRuleRequest::setMinReadyInstanceRatio(int minReadyInstanceRatio) -{ - minReadyInstanceRatio_ = minReadyInstanceRatio; - setParameter("MinReadyInstanceRatio", std::to_string(minReadyInstanceRatio)); +int CreateApplicationScalingRuleRequest::getMinReadyInstanceRatio() const { + return minReadyInstanceRatio_; } -std::string CreateApplicationScalingRuleRequest::getScalingRuleType()const -{ - return scalingRuleType_; +void CreateApplicationScalingRuleRequest::setMinReadyInstanceRatio(int minReadyInstanceRatio) { + minReadyInstanceRatio_ = minReadyInstanceRatio; + setParameter(std::string("MinReadyInstanceRatio"), std::to_string(minReadyInstanceRatio)); } -void CreateApplicationScalingRuleRequest::setScalingRuleType(const std::string& scalingRuleType) -{ - scalingRuleType_ = scalingRuleType; - setParameter("ScalingRuleType", scalingRuleType); +std::string CreateApplicationScalingRuleRequest::getScalingRuleType() const { + return scalingRuleType_; +} + +void CreateApplicationScalingRuleRequest::setScalingRuleType(const std::string &scalingRuleType) { + scalingRuleType_ = scalingRuleType; + setParameter(std::string("ScalingRuleType"), scalingRuleType); } diff --git a/sae/src/model/CreateConfigMapRequest.cc b/sae/src/model/CreateConfigMapRequest.cc index 47cbdd2f9..19d47765c 100644 --- a/sae/src/model/CreateConfigMapRequest.cc +++ b/sae/src/model/CreateConfigMapRequest.cc @@ -1,74 +1,64 @@ /* * 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::Sae::Model::CreateConfigMapRequest; - -CreateConfigMapRequest::CreateConfigMapRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/configmap/configMap"); - setMethod(HttpRequest::Method::Post); -} - -CreateConfigMapRequest::~CreateConfigMapRequest() -{} - -std::string CreateConfigMapRequest::getData()const -{ - return data_; + */ + +#include + +using AlibabaCloud::Sae::Model::CreateConfigMapRequest; + +CreateConfigMapRequest::CreateConfigMapRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/configmap/configMap"}; + setMethod(HttpRequest::Method::Post); } -void CreateConfigMapRequest::setData(const std::string& data) -{ - data_ = data; - setBodyParameter("Data", data); +CreateConfigMapRequest::~CreateConfigMapRequest() {} + +std::string CreateConfigMapRequest::getData() const { + return data_; } -std::string CreateConfigMapRequest::getNamespaceId()const -{ - return namespaceId_; +void CreateConfigMapRequest::setData(const std::string &data) { + data_ = data; + setBodyParameter(std::string("Data"), data); } -void CreateConfigMapRequest::setNamespaceId(const std::string& namespaceId) -{ - namespaceId_ = namespaceId; - setParameter("NamespaceId", namespaceId); +std::string CreateConfigMapRequest::getNamespaceId() const { + return namespaceId_; } -std::string CreateConfigMapRequest::getName()const -{ - return name_; +void CreateConfigMapRequest::setNamespaceId(const std::string &namespaceId) { + namespaceId_ = namespaceId; + setParameter(std::string("NamespaceId"), namespaceId); } -void CreateConfigMapRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string CreateConfigMapRequest::getName() const { + return name_; } -std::string CreateConfigMapRequest::getDescription()const -{ - return description_; +void CreateConfigMapRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } -void CreateConfigMapRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +std::string CreateConfigMapRequest::getDescription() const { + return description_; +} + +void CreateConfigMapRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } diff --git a/sae/src/model/CreateGreyTagRouteRequest.cc b/sae/src/model/CreateGreyTagRouteRequest.cc index 9f5de3a2b..f6d078b13 100644 --- a/sae/src/model/CreateGreyTagRouteRequest.cc +++ b/sae/src/model/CreateGreyTagRouteRequest.cc @@ -1,85 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Sae::Model::CreateGreyTagRouteRequest; - -CreateGreyTagRouteRequest::CreateGreyTagRouteRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/tagroute/greyTagRoute"); - setMethod(HttpRequest::Method::Post); -} - -CreateGreyTagRouteRequest::~CreateGreyTagRouteRequest() -{} - -std::string CreateGreyTagRouteRequest::getAppId()const -{ - return appId_; + */ + +#include + +using AlibabaCloud::Sae::Model::CreateGreyTagRouteRequest; + +CreateGreyTagRouteRequest::CreateGreyTagRouteRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/tagroute/greyTagRoute"}; + setMethod(HttpRequest::Method::Post); } -void CreateGreyTagRouteRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +CreateGreyTagRouteRequest::~CreateGreyTagRouteRequest() {} + +std::string CreateGreyTagRouteRequest::getAppId() const { + return appId_; } -std::string CreateGreyTagRouteRequest::getName()const -{ - return name_; +void CreateGreyTagRouteRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -void CreateGreyTagRouteRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string CreateGreyTagRouteRequest::getName() const { + return name_; } -std::string CreateGreyTagRouteRequest::getDescription()const -{ - return description_; +void CreateGreyTagRouteRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } -void CreateGreyTagRouteRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +std::string CreateGreyTagRouteRequest::getDescription() const { + return description_; } -std::string CreateGreyTagRouteRequest::getDubboRules()const -{ - return dubboRules_; +void CreateGreyTagRouteRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void CreateGreyTagRouteRequest::setDubboRules(const std::string& dubboRules) -{ - dubboRules_ = dubboRules; - setParameter("DubboRules", dubboRules); +std::string CreateGreyTagRouteRequest::getDubboRules() const { + return dubboRules_; } -std::string CreateGreyTagRouteRequest::getScRules()const -{ - return scRules_; +void CreateGreyTagRouteRequest::setDubboRules(const std::string &dubboRules) { + dubboRules_ = dubboRules; + setParameter(std::string("DubboRules"), dubboRules); } -void CreateGreyTagRouteRequest::setScRules(const std::string& scRules) -{ - scRules_ = scRules; - setParameter("ScRules", scRules); +std::string CreateGreyTagRouteRequest::getScRules() const { + return scRules_; +} + +void CreateGreyTagRouteRequest::setScRules(const std::string &scRules) { + scRules_ = scRules; + setParameter(std::string("ScRules"), scRules); } diff --git a/sae/src/model/CreateIngressRequest.cc b/sae/src/model/CreateIngressRequest.cc index 7f8dcb290..32b959eb7 100644 --- a/sae/src/model/CreateIngressRequest.cc +++ b/sae/src/model/CreateIngressRequest.cc @@ -1,107 +1,109 @@ /* * 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::Sae::Model::CreateIngressRequest; - -CreateIngressRequest::CreateIngressRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/ingress/Ingress"); - setMethod(HttpRequest::Method::Post); -} - -CreateIngressRequest::~CreateIngressRequest() -{} - -int CreateIngressRequest::getListenerPort()const -{ - return listenerPort_; + */ + +#include + +using AlibabaCloud::Sae::Model::CreateIngressRequest; + +CreateIngressRequest::CreateIngressRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/ingress/Ingress"}; + setMethod(HttpRequest::Method::Post); } -void CreateIngressRequest::setListenerPort(int listenerPort) -{ - listenerPort_ = listenerPort; - setParameter("ListenerPort", std::to_string(listenerPort)); +CreateIngressRequest::~CreateIngressRequest() {} + +int CreateIngressRequest::getListenerPort() const { + return listenerPort_; } -std::string CreateIngressRequest::getSlbId()const -{ - return slbId_; +void CreateIngressRequest::setListenerPort(int listenerPort) { + listenerPort_ = listenerPort; + setParameter(std::string("ListenerPort"), std::to_string(listenerPort)); } -void CreateIngressRequest::setSlbId(const std::string& slbId) -{ - slbId_ = slbId; - setParameter("SlbId", slbId); +std::string CreateIngressRequest::getSlbId() const { + return slbId_; } -std::string CreateIngressRequest::getNamespaceId()const -{ - return namespaceId_; +void CreateIngressRequest::setSlbId(const std::string &slbId) { + slbId_ = slbId; + setParameter(std::string("SlbId"), slbId); } -void CreateIngressRequest::setNamespaceId(const std::string& namespaceId) -{ - namespaceId_ = namespaceId; - setParameter("NamespaceId", namespaceId); +std::string CreateIngressRequest::getNamespaceId() const { + return namespaceId_; } -std::string CreateIngressRequest::getDescription()const -{ - return description_; +void CreateIngressRequest::setNamespaceId(const std::string &namespaceId) { + namespaceId_ = namespaceId; + setParameter(std::string("NamespaceId"), namespaceId); } -void CreateIngressRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +std::string CreateIngressRequest::getDescription() const { + return description_; } -std::string CreateIngressRequest::getRules()const -{ - return rules_; +void CreateIngressRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void CreateIngressRequest::setRules(const std::string& rules) -{ - rules_ = rules; - setBodyParameter("Rules", rules); +std::string CreateIngressRequest::getLoadBalanceType() const { + return loadBalanceType_; } -std::string CreateIngressRequest::getCertId()const -{ - return certId_; +void CreateIngressRequest::setLoadBalanceType(const std::string &loadBalanceType) { + loadBalanceType_ = loadBalanceType; + setParameter(std::string("LoadBalanceType"), loadBalanceType); } -void CreateIngressRequest::setCertId(const std::string& certId) -{ - certId_ = certId; - setParameter("CertId", certId); +std::string CreateIngressRequest::getRules() const { + return rules_; } -std::string CreateIngressRequest::getDefaultRule()const -{ - return defaultRule_; +void CreateIngressRequest::setRules(const std::string &rules) { + rules_ = rules; + setBodyParameter(std::string("Rules"), rules); } -void CreateIngressRequest::setDefaultRule(const std::string& defaultRule) -{ - defaultRule_ = defaultRule; - setParameter("DefaultRule", defaultRule); +std::string CreateIngressRequest::getCertId() const { + return certId_; +} + +void CreateIngressRequest::setCertId(const std::string &certId) { + certId_ = certId; + setParameter(std::string("CertId"), certId); +} + +std::string CreateIngressRequest::getListenerProtocol() const { + return listenerProtocol_; +} + +void CreateIngressRequest::setListenerProtocol(const std::string &listenerProtocol) { + listenerProtocol_ = listenerProtocol; + setParameter(std::string("ListenerProtocol"), listenerProtocol); +} + +std::string CreateIngressRequest::getDefaultRule() const { + return defaultRule_; +} + +void CreateIngressRequest::setDefaultRule(const std::string &defaultRule) { + defaultRule_ = defaultRule; + setParameter(std::string("DefaultRule"), defaultRule); } diff --git a/sae/src/model/CreateNamespaceRequest.cc b/sae/src/model/CreateNamespaceRequest.cc index 3caf98e4c..c329e6dd5 100644 --- a/sae/src/model/CreateNamespaceRequest.cc +++ b/sae/src/model/CreateNamespaceRequest.cc @@ -1,63 +1,55 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Sae::Model::CreateNamespaceRequest; - -CreateNamespaceRequest::CreateNamespaceRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/paas/namespace"); - setMethod(HttpRequest::Method::Post); -} - -CreateNamespaceRequest::~CreateNamespaceRequest() -{} - -std::string CreateNamespaceRequest::getNamespaceName()const -{ - return namespaceName_; + */ + +#include + +using AlibabaCloud::Sae::Model::CreateNamespaceRequest; + +CreateNamespaceRequest::CreateNamespaceRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/paas/namespace"}; + setMethod(HttpRequest::Method::Post); } -void CreateNamespaceRequest::setNamespaceName(const std::string& namespaceName) -{ - namespaceName_ = namespaceName; - setParameter("NamespaceName", namespaceName); +CreateNamespaceRequest::~CreateNamespaceRequest() {} + +std::string CreateNamespaceRequest::getNamespaceName() const { + return namespaceName_; } -std::string CreateNamespaceRequest::getNamespaceDescription()const -{ - return namespaceDescription_; +void CreateNamespaceRequest::setNamespaceName(const std::string &namespaceName) { + namespaceName_ = namespaceName; + setParameter(std::string("NamespaceName"), namespaceName); } -void CreateNamespaceRequest::setNamespaceDescription(const std::string& namespaceDescription) -{ - namespaceDescription_ = namespaceDescription; - setParameter("NamespaceDescription", namespaceDescription); +std::string CreateNamespaceRequest::getNamespaceDescription() const { + return namespaceDescription_; } -std::string CreateNamespaceRequest::getNamespaceId()const -{ - return namespaceId_; +void CreateNamespaceRequest::setNamespaceDescription(const std::string &namespaceDescription) { + namespaceDescription_ = namespaceDescription; + setParameter(std::string("NamespaceDescription"), namespaceDescription); } -void CreateNamespaceRequest::setNamespaceId(const std::string& namespaceId) -{ - namespaceId_ = namespaceId; - setParameter("NamespaceId", namespaceId); +std::string CreateNamespaceRequest::getNamespaceId() const { + return namespaceId_; +} + +void CreateNamespaceRequest::setNamespaceId(const std::string &namespaceId) { + namespaceId_ = namespaceId; + setParameter(std::string("NamespaceId"), namespaceId); } diff --git a/sae/src/model/DeleteApplicationRequest.cc b/sae/src/model/DeleteApplicationRequest.cc index c8752f834..3facf84a2 100644 --- a/sae/src/model/DeleteApplicationRequest.cc +++ b/sae/src/model/DeleteApplicationRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::DeleteApplicationRequest; - -DeleteApplicationRequest::DeleteApplicationRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/deleteApplication"); - setMethod(HttpRequest::Method::Delete); -} - -DeleteApplicationRequest::~DeleteApplicationRequest() -{} - -std::string DeleteApplicationRequest::getAppId()const -{ - return appId_; + */ + +#include + +using AlibabaCloud::Sae::Model::DeleteApplicationRequest; + +DeleteApplicationRequest::DeleteApplicationRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/deleteApplication"}; + setMethod(HttpRequest::Method::Delete); } -void DeleteApplicationRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +DeleteApplicationRequest::~DeleteApplicationRequest() {} + +std::string DeleteApplicationRequest::getAppId() const { + return appId_; +} + +void DeleteApplicationRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/sae/src/model/DeleteApplicationResult.cc b/sae/src/model/DeleteApplicationResult.cc index 0aeb7e944..dd835c6bc 100644 --- a/sae/src/model/DeleteApplicationResult.cc +++ b/sae/src/model/DeleteApplicationResult.cc @@ -42,16 +42,16 @@ void DeleteApplicationResult::parse(const std::string &payload) auto dataNode = value["Data"]; if(!dataNode["ChangeOrderId"].isNull()) data_.changeOrderId = dataNode["ChangeOrderId"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/DeleteApplicationScalingRuleRequest.cc b/sae/src/model/DeleteApplicationScalingRuleRequest.cc index 8dd86f503..c32af5bab 100644 --- a/sae/src/model/DeleteApplicationScalingRuleRequest.cc +++ b/sae/src/model/DeleteApplicationScalingRuleRequest.cc @@ -1,52 +1,46 @@ /* * 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::Sae::Model::DeleteApplicationScalingRuleRequest; - -DeleteApplicationScalingRuleRequest::DeleteApplicationScalingRuleRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/scale/applicationScalingRule"); - setMethod(HttpRequest::Method::Delete); -} - -DeleteApplicationScalingRuleRequest::~DeleteApplicationScalingRuleRequest() -{} - -std::string DeleteApplicationScalingRuleRequest::getScalingRuleName()const -{ - return scalingRuleName_; + */ + +#include + +using AlibabaCloud::Sae::Model::DeleteApplicationScalingRuleRequest; + +DeleteApplicationScalingRuleRequest::DeleteApplicationScalingRuleRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/scale/applicationScalingRule"}; + setMethod(HttpRequest::Method::Delete); } -void DeleteApplicationScalingRuleRequest::setScalingRuleName(const std::string& scalingRuleName) -{ - scalingRuleName_ = scalingRuleName; - setParameter("ScalingRuleName", scalingRuleName); +DeleteApplicationScalingRuleRequest::~DeleteApplicationScalingRuleRequest() {} + +std::string DeleteApplicationScalingRuleRequest::getScalingRuleName() const { + return scalingRuleName_; } -std::string DeleteApplicationScalingRuleRequest::getAppId()const -{ - return appId_; +void DeleteApplicationScalingRuleRequest::setScalingRuleName(const std::string &scalingRuleName) { + scalingRuleName_ = scalingRuleName; + setParameter(std::string("ScalingRuleName"), scalingRuleName); } -void DeleteApplicationScalingRuleRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string DeleteApplicationScalingRuleRequest::getAppId() const { + return appId_; +} + +void DeleteApplicationScalingRuleRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/sae/src/model/DeleteConfigMapRequest.cc b/sae/src/model/DeleteConfigMapRequest.cc index 83ccafbc3..9fe2b194f 100644 --- a/sae/src/model/DeleteConfigMapRequest.cc +++ b/sae/src/model/DeleteConfigMapRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::DeleteConfigMapRequest; - -DeleteConfigMapRequest::DeleteConfigMapRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/configmap/configMap"); - setMethod(HttpRequest::Method::Delete); -} - -DeleteConfigMapRequest::~DeleteConfigMapRequest() -{} - -long DeleteConfigMapRequest::getConfigMapId()const -{ - return configMapId_; + */ + +#include + +using AlibabaCloud::Sae::Model::DeleteConfigMapRequest; + +DeleteConfigMapRequest::DeleteConfigMapRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/configmap/configMap"}; + setMethod(HttpRequest::Method::Delete); } -void DeleteConfigMapRequest::setConfigMapId(long configMapId) -{ - configMapId_ = configMapId; - setParameter("ConfigMapId", std::to_string(configMapId)); +DeleteConfigMapRequest::~DeleteConfigMapRequest() {} + +long DeleteConfigMapRequest::getConfigMapId() const { + return configMapId_; +} + +void DeleteConfigMapRequest::setConfigMapId(long configMapId) { + configMapId_ = configMapId; + setParameter(std::string("ConfigMapId"), std::to_string(configMapId)); } diff --git a/sae/src/model/DeleteConfigMapResult.cc b/sae/src/model/DeleteConfigMapResult.cc index fcf14b644..c5846861d 100644 --- a/sae/src/model/DeleteConfigMapResult.cc +++ b/sae/src/model/DeleteConfigMapResult.cc @@ -44,12 +44,12 @@ void DeleteConfigMapResult::parse(const std::string &payload) data_.configMapId = std::stol(dataNode["ConfigMapId"].asString()); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; diff --git a/sae/src/model/DeleteGreyTagRouteRequest.cc b/sae/src/model/DeleteGreyTagRouteRequest.cc index b9f9d471f..39319d1fc 100644 --- a/sae/src/model/DeleteGreyTagRouteRequest.cc +++ b/sae/src/model/DeleteGreyTagRouteRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::DeleteGreyTagRouteRequest; - -DeleteGreyTagRouteRequest::DeleteGreyTagRouteRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/tagroute/greyTagRoute"); - setMethod(HttpRequest::Method::Delete); -} - -DeleteGreyTagRouteRequest::~DeleteGreyTagRouteRequest() -{} - -long DeleteGreyTagRouteRequest::getGreyTagRouteId()const -{ - return greyTagRouteId_; + */ + +#include + +using AlibabaCloud::Sae::Model::DeleteGreyTagRouteRequest; + +DeleteGreyTagRouteRequest::DeleteGreyTagRouteRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/tagroute/greyTagRoute"}; + setMethod(HttpRequest::Method::Delete); } -void DeleteGreyTagRouteRequest::setGreyTagRouteId(long greyTagRouteId) -{ - greyTagRouteId_ = greyTagRouteId; - setParameter("GreyTagRouteId", std::to_string(greyTagRouteId)); +DeleteGreyTagRouteRequest::~DeleteGreyTagRouteRequest() {} + +long DeleteGreyTagRouteRequest::getGreyTagRouteId() const { + return greyTagRouteId_; +} + +void DeleteGreyTagRouteRequest::setGreyTagRouteId(long greyTagRouteId) { + greyTagRouteId_ = greyTagRouteId; + setParameter(std::string("GreyTagRouteId"), std::to_string(greyTagRouteId)); } diff --git a/sae/src/model/DeleteIngressRequest.cc b/sae/src/model/DeleteIngressRequest.cc index fd87f68f7..b9b0d1785 100644 --- a/sae/src/model/DeleteIngressRequest.cc +++ b/sae/src/model/DeleteIngressRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::DeleteIngressRequest; - -DeleteIngressRequest::DeleteIngressRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/ingress/Ingress"); - setMethod(HttpRequest::Method::Delete); -} - -DeleteIngressRequest::~DeleteIngressRequest() -{} - -long DeleteIngressRequest::getIngressId()const -{ - return ingressId_; + */ + +#include + +using AlibabaCloud::Sae::Model::DeleteIngressRequest; + +DeleteIngressRequest::DeleteIngressRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/ingress/Ingress"}; + setMethod(HttpRequest::Method::Delete); } -void DeleteIngressRequest::setIngressId(long ingressId) -{ - ingressId_ = ingressId; - setParameter("IngressId", std::to_string(ingressId)); +DeleteIngressRequest::~DeleteIngressRequest() {} + +long DeleteIngressRequest::getIngressId() const { + return ingressId_; +} + +void DeleteIngressRequest::setIngressId(long ingressId) { + ingressId_ = ingressId; + setParameter(std::string("IngressId"), std::to_string(ingressId)); } diff --git a/sae/src/model/DeleteNamespaceRequest.cc b/sae/src/model/DeleteNamespaceRequest.cc index b24dd080d..baf265a1b 100644 --- a/sae/src/model/DeleteNamespaceRequest.cc +++ b/sae/src/model/DeleteNamespaceRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::DeleteNamespaceRequest; - -DeleteNamespaceRequest::DeleteNamespaceRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/paas/namespace"); - setMethod(HttpRequest::Method::Delete); -} - -DeleteNamespaceRequest::~DeleteNamespaceRequest() -{} - -std::string DeleteNamespaceRequest::getNamespaceId()const -{ - return namespaceId_; + */ + +#include + +using AlibabaCloud::Sae::Model::DeleteNamespaceRequest; + +DeleteNamespaceRequest::DeleteNamespaceRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/paas/namespace"}; + setMethod(HttpRequest::Method::Delete); } -void DeleteNamespaceRequest::setNamespaceId(const std::string& namespaceId) -{ - namespaceId_ = namespaceId; - setParameter("NamespaceId", namespaceId); +DeleteNamespaceRequest::~DeleteNamespaceRequest() {} + +std::string DeleteNamespaceRequest::getNamespaceId() const { + return namespaceId_; +} + +void DeleteNamespaceRequest::setNamespaceId(const std::string &namespaceId) { + namespaceId_ = namespaceId; + setParameter(std::string("NamespaceId"), namespaceId); } diff --git a/sae/src/model/DeployApplicationRequest.cc b/sae/src/model/DeployApplicationRequest.cc index fb6762452..ecc076e17 100644 --- a/sae/src/model/DeployApplicationRequest.cc +++ b/sae/src/model/DeployApplicationRequest.cc @@ -1,580 +1,487 @@ /* * 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::Sae::Model::DeployApplicationRequest; - -DeployApplicationRequest::DeployApplicationRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/deployApplication"); - setMethod(HttpRequest::Method::Post); -} - -DeployApplicationRequest::~DeployApplicationRequest() -{} - -std::string DeployApplicationRequest::getNasId()const -{ - return nasId_; + */ + +#include + +using AlibabaCloud::Sae::Model::DeployApplicationRequest; + +DeployApplicationRequest::DeployApplicationRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/deployApplication"}; + setMethod(HttpRequest::Method::Post); +} + +DeployApplicationRequest::~DeployApplicationRequest() {} + +std::string DeployApplicationRequest::getNasId() const { + return nasId_; +} + +void DeployApplicationRequest::setNasId(const std::string &nasId) { + nasId_ = nasId; + setParameter(std::string("NasId"), nasId); +} + +std::string DeployApplicationRequest::getJarStartArgs() const { + return jarStartArgs_; } -void DeployApplicationRequest::setNasId(const std::string& nasId) -{ - nasId_ = nasId; - setParameter("NasId", nasId); +void DeployApplicationRequest::setJarStartArgs(const std::string &jarStartArgs) { + jarStartArgs_ = jarStartArgs; + setParameter(std::string("JarStartArgs"), jarStartArgs); } -std::string DeployApplicationRequest::getJarStartArgs()const -{ - return jarStartArgs_; +std::string DeployApplicationRequest::getOssAkSecret() const { + return ossAkSecret_; } -void DeployApplicationRequest::setJarStartArgs(const std::string& jarStartArgs) -{ - jarStartArgs_ = jarStartArgs; - setParameter("JarStartArgs", jarStartArgs); +void DeployApplicationRequest::setOssAkSecret(const std::string &ossAkSecret) { + ossAkSecret_ = ossAkSecret; + setBodyParameter(std::string("OssAkSecret"), ossAkSecret); } -std::string DeployApplicationRequest::getOssAkSecret()const -{ - return ossAkSecret_; +std::string DeployApplicationRequest::getMountHost() const { + return mountHost_; } -void DeployApplicationRequest::setOssAkSecret(const std::string& ossAkSecret) -{ - ossAkSecret_ = ossAkSecret; - setBodyParameter("OssAkSecret", ossAkSecret); +void DeployApplicationRequest::setMountHost(const std::string &mountHost) { + mountHost_ = mountHost; + setParameter(std::string("MountHost"), mountHost); } -std::string DeployApplicationRequest::getMountHost()const -{ - return mountHost_; +int DeployApplicationRequest::getBatchWaitTime() const { + return batchWaitTime_; } -void DeployApplicationRequest::setMountHost(const std::string& mountHost) -{ - mountHost_ = mountHost; - setParameter("MountHost", mountHost); +void DeployApplicationRequest::setBatchWaitTime(int batchWaitTime) { + batchWaitTime_ = batchWaitTime; + setParameter(std::string("BatchWaitTime"), std::to_string(batchWaitTime)); } -int DeployApplicationRequest::getBatchWaitTime()const -{ - return batchWaitTime_; +std::string DeployApplicationRequest::getEnvs() const { + return envs_; } -void DeployApplicationRequest::setBatchWaitTime(int batchWaitTime) -{ - batchWaitTime_ = batchWaitTime; - setParameter("BatchWaitTime", std::to_string(batchWaitTime)); +void DeployApplicationRequest::setEnvs(const std::string &envs) { + envs_ = envs; + setParameter(std::string("Envs"), envs); } -std::string DeployApplicationRequest::getEnvs()const -{ - return envs_; +std::string DeployApplicationRequest::getKafkaInstanceId() const { + return kafkaInstanceId_; } -void DeployApplicationRequest::setEnvs(const std::string& envs) -{ - envs_ = envs; - setParameter("Envs", envs); +void DeployApplicationRequest::setKafkaInstanceId(const std::string &kafkaInstanceId) { + kafkaInstanceId_ = kafkaInstanceId; + setParameter(std::string("KafkaInstanceId"), kafkaInstanceId); } -std::string DeployApplicationRequest::getKafkaInstanceId()const -{ - return kafkaInstanceId_; +std::string DeployApplicationRequest::getPhpPECLExtensions() const { + return phpPECLExtensions_; } -void DeployApplicationRequest::setKafkaInstanceId(const std::string& kafkaInstanceId) -{ - kafkaInstanceId_ = kafkaInstanceId; - setParameter("KafkaInstanceId", kafkaInstanceId); +void DeployApplicationRequest::setPhpPECLExtensions(const std::string &phpPECLExtensions) { + phpPECLExtensions_ = phpPECLExtensions; + setBodyParameter(std::string("PhpPECLExtensions"), phpPECLExtensions); } -std::string DeployApplicationRequest::getPhpPECLExtensions()const -{ - return phpPECLExtensions_; +std::string DeployApplicationRequest::getPhpArmsConfigLocation() const { + return phpArmsConfigLocation_; } -void DeployApplicationRequest::setPhpPECLExtensions(const std::string& phpPECLExtensions) -{ - phpPECLExtensions_ = phpPECLExtensions; - setBodyParameter("PhpPECLExtensions", phpPECLExtensions); +void DeployApplicationRequest::setPhpArmsConfigLocation(const std::string &phpArmsConfigLocation) { + phpArmsConfigLocation_ = phpArmsConfigLocation; + setParameter(std::string("PhpArmsConfigLocation"), phpArmsConfigLocation); } -std::string DeployApplicationRequest::getPhpArmsConfigLocation()const -{ - return phpArmsConfigLocation_; +std::string DeployApplicationRequest::getCustomHostAlias() const { + return customHostAlias_; } -void DeployApplicationRequest::setPhpArmsConfigLocation(const std::string& phpArmsConfigLocation) -{ - phpArmsConfigLocation_ = phpArmsConfigLocation; - setParameter("PhpArmsConfigLocation", phpArmsConfigLocation); +void DeployApplicationRequest::setCustomHostAlias(const std::string &customHostAlias) { + customHostAlias_ = customHostAlias; + setParameter(std::string("CustomHostAlias"), customHostAlias); } -std::string DeployApplicationRequest::getCustomHostAlias()const -{ - return customHostAlias_; +std::string DeployApplicationRequest::getJarStartOptions() const { + return jarStartOptions_; } -void DeployApplicationRequest::setCustomHostAlias(const std::string& customHostAlias) -{ - customHostAlias_ = customHostAlias; - setParameter("CustomHostAlias", customHostAlias); +void DeployApplicationRequest::setJarStartOptions(const std::string &jarStartOptions) { + jarStartOptions_ = jarStartOptions; + setParameter(std::string("JarStartOptions"), jarStartOptions); } -std::string DeployApplicationRequest::getJarStartOptions()const -{ - return jarStartOptions_; +std::string DeployApplicationRequest::getConfigMapMountDesc() const { + return configMapMountDesc_; } -void DeployApplicationRequest::setJarStartOptions(const std::string& jarStartOptions) -{ - jarStartOptions_ = jarStartOptions; - setParameter("JarStartOptions", jarStartOptions); +void DeployApplicationRequest::setConfigMapMountDesc(const std::string &configMapMountDesc) { + configMapMountDesc_ = configMapMountDesc; + setBodyParameter(std::string("ConfigMapMountDesc"), configMapMountDesc); } -std::string DeployApplicationRequest::getConfigMapMountDesc()const -{ - return configMapMountDesc_; +std::string DeployApplicationRequest::getOssMountDescs() const { + return ossMountDescs_; } -void DeployApplicationRequest::setConfigMapMountDesc(const std::string& configMapMountDesc) -{ - configMapMountDesc_ = configMapMountDesc; - setBodyParameter("ConfigMapMountDesc", configMapMountDesc); +void DeployApplicationRequest::setOssMountDescs(const std::string &ossMountDescs) { + ossMountDescs_ = ossMountDescs; + setBodyParameter(std::string("OssMountDescs"), ossMountDescs); } -std::string DeployApplicationRequest::getOssMountDescs()const -{ - return ossMountDescs_; +std::string DeployApplicationRequest::getKafkaEndpoint() const { + return kafkaEndpoint_; } -void DeployApplicationRequest::setOssMountDescs(const std::string& ossMountDescs) -{ - ossMountDescs_ = ossMountDescs; - setBodyParameter("OssMountDescs", ossMountDescs); +void DeployApplicationRequest::setKafkaEndpoint(const std::string &kafkaEndpoint) { + kafkaEndpoint_ = kafkaEndpoint; + setParameter(std::string("KafkaEndpoint"), kafkaEndpoint); } -std::string DeployApplicationRequest::getKafkaEndpoint()const -{ - return kafkaEndpoint_; +std::string DeployApplicationRequest::getPreStop() const { + return preStop_; } -void DeployApplicationRequest::setKafkaEndpoint(const std::string& kafkaEndpoint) -{ - kafkaEndpoint_ = kafkaEndpoint; - setParameter("KafkaEndpoint", kafkaEndpoint); +void DeployApplicationRequest::setPreStop(const std::string &preStop) { + preStop_ = preStop; + setParameter(std::string("PreStop"), preStop); } -std::string DeployApplicationRequest::getPreStop()const -{ - return preStop_; +std::string DeployApplicationRequest::getUpdateStrategy() const { + return updateStrategy_; } -void DeployApplicationRequest::setPreStop(const std::string& preStop) -{ - preStop_ = preStop; - setParameter("PreStop", preStop); +void DeployApplicationRequest::setUpdateStrategy(const std::string &updateStrategy) { + updateStrategy_ = updateStrategy; + setParameter(std::string("UpdateStrategy"), updateStrategy); } -std::string DeployApplicationRequest::getUpdateStrategy()const -{ - return updateStrategy_; +std::string DeployApplicationRequest::getChangeOrderDesc() const { + return changeOrderDesc_; } -void DeployApplicationRequest::setUpdateStrategy(const std::string& updateStrategy) -{ - updateStrategy_ = updateStrategy; - setParameter("UpdateStrategy", updateStrategy); +void DeployApplicationRequest::setChangeOrderDesc(const std::string &changeOrderDesc) { + changeOrderDesc_ = changeOrderDesc; + setParameter(std::string("ChangeOrderDesc"), changeOrderDesc); } -std::string DeployApplicationRequest::getChangeOrderDesc()const -{ - return changeOrderDesc_; +int DeployApplicationRequest::getMinReadyInstanceRatio() const { + return minReadyInstanceRatio_; } -void DeployApplicationRequest::setChangeOrderDesc(const std::string& changeOrderDesc) -{ - changeOrderDesc_ = changeOrderDesc; - setParameter("ChangeOrderDesc", changeOrderDesc); +void DeployApplicationRequest::setMinReadyInstanceRatio(int minReadyInstanceRatio) { + minReadyInstanceRatio_ = minReadyInstanceRatio; + setParameter(std::string("MinReadyInstanceRatio"), std::to_string(minReadyInstanceRatio)); } -int DeployApplicationRequest::getMinReadyInstanceRatio()const -{ - return minReadyInstanceRatio_; +bool DeployApplicationRequest::getAutoEnableApplicationScalingRule() const { + return autoEnableApplicationScalingRule_; } -void DeployApplicationRequest::setMinReadyInstanceRatio(int minReadyInstanceRatio) -{ - minReadyInstanceRatio_ = minReadyInstanceRatio; - setParameter("MinReadyInstanceRatio", std::to_string(minReadyInstanceRatio)); +void DeployApplicationRequest::setAutoEnableApplicationScalingRule(bool autoEnableApplicationScalingRule) { + autoEnableApplicationScalingRule_ = autoEnableApplicationScalingRule; + setParameter(std::string("AutoEnableApplicationScalingRule"), autoEnableApplicationScalingRule ? "true" : "false"); } -bool DeployApplicationRequest::getAutoEnableApplicationScalingRule()const -{ - return autoEnableApplicationScalingRule_; +std::string DeployApplicationRequest::getPostStart() const { + return postStart_; } -void DeployApplicationRequest::setAutoEnableApplicationScalingRule(bool autoEnableApplicationScalingRule) -{ - autoEnableApplicationScalingRule_ = autoEnableApplicationScalingRule; - setParameter("AutoEnableApplicationScalingRule", autoEnableApplicationScalingRule ? "true" : "false"); +void DeployApplicationRequest::setPostStart(const std::string &postStart) { + postStart_ = postStart; + setParameter(std::string("PostStart"), postStart); } -std::string DeployApplicationRequest::getPostStart()const -{ - return postStart_; +std::string DeployApplicationRequest::getPhpExtensions() const { + return phpExtensions_; } -void DeployApplicationRequest::setPostStart(const std::string& postStart) -{ - postStart_ = postStart; - setParameter("PostStart", postStart); +void DeployApplicationRequest::setPhpExtensions(const std::string &phpExtensions) { + phpExtensions_ = phpExtensions; + setBodyParameter(std::string("PhpExtensions"), phpExtensions); } -std::string DeployApplicationRequest::getPhpExtensions()const -{ - return phpExtensions_; +bool DeployApplicationRequest::getAssociateEip() const { + return associateEip_; } -void DeployApplicationRequest::setPhpExtensions(const std::string& phpExtensions) -{ - phpExtensions_ = phpExtensions; - setBodyParameter("PhpExtensions", phpExtensions); +void DeployApplicationRequest::setAssociateEip(bool associateEip) { + associateEip_ = associateEip; + setBodyParameter(std::string("AssociateEip"), associateEip ? "true" : "false"); } -bool DeployApplicationRequest::getAssociateEip()const -{ - return associateEip_; +std::string DeployApplicationRequest::getWebContainer() const { + return webContainer_; } -void DeployApplicationRequest::setAssociateEip(bool associateEip) -{ - associateEip_ = associateEip; - setBodyParameter("AssociateEip", associateEip ? "true" : "false"); +void DeployApplicationRequest::setWebContainer(const std::string &webContainer) { + webContainer_ = webContainer; + setParameter(std::string("WebContainer"), webContainer); } -std::string DeployApplicationRequest::getWebContainer()const -{ - return webContainer_; +std::string DeployApplicationRequest::getEnableAhas() const { + return enableAhas_; } -void DeployApplicationRequest::setWebContainer(const std::string& webContainer) -{ - webContainer_ = webContainer; - setParameter("WebContainer", webContainer); +void DeployApplicationRequest::setEnableAhas(const std::string &enableAhas) { + enableAhas_ = enableAhas; + setParameter(std::string("EnableAhas"), enableAhas); } -std::string DeployApplicationRequest::getEnableAhas()const -{ - return enableAhas_; +std::string DeployApplicationRequest::getSlsConfigs() const { + return slsConfigs_; } -void DeployApplicationRequest::setEnableAhas(const std::string& enableAhas) -{ - enableAhas_ = enableAhas; - setParameter("EnableAhas", enableAhas); +void DeployApplicationRequest::setSlsConfigs(const std::string &slsConfigs) { + slsConfigs_ = slsConfigs; + setParameter(std::string("SlsConfigs"), slsConfigs); } -std::string DeployApplicationRequest::getSlsConfigs()const -{ - return slsConfigs_; +std::string DeployApplicationRequest::getKafkaConfigs() const { + return kafkaConfigs_; } -void DeployApplicationRequest::setSlsConfigs(const std::string& slsConfigs) -{ - slsConfigs_ = slsConfigs; - setParameter("SlsConfigs", slsConfigs); +void DeployApplicationRequest::setKafkaConfigs(const std::string &kafkaConfigs) { + kafkaConfigs_ = kafkaConfigs; + setParameter(std::string("KafkaConfigs"), kafkaConfigs); } -bool DeployApplicationRequest::getOpenCollectToKafka()const -{ - return openCollectToKafka_; +bool DeployApplicationRequest::getOpenCollectToKafka() const { + return openCollectToKafka_; } -void DeployApplicationRequest::setOpenCollectToKafka(bool openCollectToKafka) -{ - openCollectToKafka_ = openCollectToKafka; - setParameter("OpenCollectToKafka", openCollectToKafka ? "true" : "false"); +void DeployApplicationRequest::setOpenCollectToKafka(bool openCollectToKafka) { + openCollectToKafka_ = openCollectToKafka; + setParameter(std::string("OpenCollectToKafka"), openCollectToKafka ? "true" : "false"); } -std::string DeployApplicationRequest::getCommandArgs()const -{ - return commandArgs_; +std::string DeployApplicationRequest::getCommandArgs() const { + return commandArgs_; } -void DeployApplicationRequest::setCommandArgs(const std::string& commandArgs) -{ - commandArgs_ = commandArgs; - setParameter("CommandArgs", commandArgs); +void DeployApplicationRequest::setCommandArgs(const std::string &commandArgs) { + commandArgs_ = commandArgs; + setParameter(std::string("CommandArgs"), commandArgs); } -std::string DeployApplicationRequest::getAcrAssumeRoleArn()const -{ - return acrAssumeRoleArn_; +std::string DeployApplicationRequest::getAcrAssumeRoleArn() const { + return acrAssumeRoleArn_; } -void DeployApplicationRequest::setAcrAssumeRoleArn(const std::string& acrAssumeRoleArn) -{ - acrAssumeRoleArn_ = acrAssumeRoleArn; - setParameter("AcrAssumeRoleArn", acrAssumeRoleArn); +void DeployApplicationRequest::setAcrAssumeRoleArn(const std::string &acrAssumeRoleArn) { + acrAssumeRoleArn_ = acrAssumeRoleArn; + setParameter(std::string("AcrAssumeRoleArn"), acrAssumeRoleArn); } -std::string DeployApplicationRequest::getReadiness()const -{ - return readiness_; +std::string DeployApplicationRequest::getReadiness() const { + return readiness_; } -void DeployApplicationRequest::setReadiness(const std::string& readiness) -{ - readiness_ = readiness; - setParameter("Readiness", readiness); +void DeployApplicationRequest::setReadiness(const std::string &readiness) { + readiness_ = readiness; + setParameter(std::string("Readiness"), readiness); } -std::string DeployApplicationRequest::getTimezone()const -{ - return timezone_; +std::string DeployApplicationRequest::getTimezone() const { + return timezone_; } -void DeployApplicationRequest::setTimezone(const std::string& timezone) -{ - timezone_ = timezone; - setParameter("Timezone", timezone); +void DeployApplicationRequest::setTimezone(const std::string &timezone) { + timezone_ = timezone; + setParameter(std::string("Timezone"), timezone); } -std::string DeployApplicationRequest::getOssAkId()const -{ - return ossAkId_; +std::string DeployApplicationRequest::getOssAkId() const { + return ossAkId_; } -void DeployApplicationRequest::setOssAkId(const std::string& ossAkId) -{ - ossAkId_ = ossAkId; - setBodyParameter("OssAkId", ossAkId); +void DeployApplicationRequest::setOssAkId(const std::string &ossAkId) { + ossAkId_ = ossAkId; + setBodyParameter(std::string("OssAkId"), ossAkId); } -std::string DeployApplicationRequest::getLiveness()const -{ - return liveness_; +std::string DeployApplicationRequest::getLiveness() const { + return liveness_; } -void DeployApplicationRequest::setLiveness(const std::string& liveness) -{ - liveness_ = liveness; - setParameter("Liveness", liveness); +void DeployApplicationRequest::setLiveness(const std::string &liveness) { + liveness_ = liveness; + setParameter(std::string("Liveness"), liveness); } -std::string DeployApplicationRequest::getPackageVersion()const -{ - return packageVersion_; +std::string DeployApplicationRequest::getPackageVersion() const { + return packageVersion_; } -void DeployApplicationRequest::setPackageVersion(const std::string& packageVersion) -{ - packageVersion_ = packageVersion; - setParameter("PackageVersion", packageVersion); +void DeployApplicationRequest::setPackageVersion(const std::string &packageVersion) { + packageVersion_ = packageVersion; + setParameter(std::string("PackageVersion"), packageVersion); } -std::string DeployApplicationRequest::getTomcatConfig()const -{ - return tomcatConfig_; +std::string DeployApplicationRequest::getTomcatConfig() const { + return tomcatConfig_; } -void DeployApplicationRequest::setTomcatConfig(const std::string& tomcatConfig) -{ - tomcatConfig_ = tomcatConfig; - setParameter("TomcatConfig", tomcatConfig); +void DeployApplicationRequest::setTomcatConfig(const std::string &tomcatConfig) { + tomcatConfig_ = tomcatConfig; + setParameter(std::string("TomcatConfig"), tomcatConfig); } -std::string DeployApplicationRequest::getWarStartOptions()const -{ - return warStartOptions_; +std::string DeployApplicationRequest::getWarStartOptions() const { + return warStartOptions_; } -void DeployApplicationRequest::setWarStartOptions(const std::string& warStartOptions) -{ - warStartOptions_ = warStartOptions; - setParameter("WarStartOptions", warStartOptions); +void DeployApplicationRequest::setWarStartOptions(const std::string &warStartOptions) { + warStartOptions_ = warStartOptions; + setParameter(std::string("WarStartOptions"), warStartOptions); } -std::string DeployApplicationRequest::getEdasContainerVersion()const -{ - return edasContainerVersion_; +std::string DeployApplicationRequest::getEdasContainerVersion() const { + return edasContainerVersion_; } -void DeployApplicationRequest::setEdasContainerVersion(const std::string& edasContainerVersion) -{ - edasContainerVersion_ = edasContainerVersion; - setParameter("EdasContainerVersion", edasContainerVersion); +void DeployApplicationRequest::setEdasContainerVersion(const std::string &edasContainerVersion) { + edasContainerVersion_ = edasContainerVersion; + setParameter(std::string("EdasContainerVersion"), edasContainerVersion); } -std::string DeployApplicationRequest::getPackageUrl()const -{ - return packageUrl_; +std::string DeployApplicationRequest::getPackageUrl() const { + return packageUrl_; } -void DeployApplicationRequest::setPackageUrl(const std::string& packageUrl) -{ - packageUrl_ = packageUrl; - setParameter("PackageUrl", packageUrl); +void DeployApplicationRequest::setPackageUrl(const std::string &packageUrl) { + packageUrl_ = packageUrl; + setParameter(std::string("PackageUrl"), packageUrl); } -int DeployApplicationRequest::getTerminationGracePeriodSeconds()const -{ - return terminationGracePeriodSeconds_; +int DeployApplicationRequest::getTerminationGracePeriodSeconds() const { + return terminationGracePeriodSeconds_; } -void DeployApplicationRequest::setTerminationGracePeriodSeconds(int terminationGracePeriodSeconds) -{ - terminationGracePeriodSeconds_ = terminationGracePeriodSeconds; - setParameter("TerminationGracePeriodSeconds", std::to_string(terminationGracePeriodSeconds)); +void DeployApplicationRequest::setTerminationGracePeriodSeconds(int terminationGracePeriodSeconds) { + terminationGracePeriodSeconds_ = terminationGracePeriodSeconds; + setParameter(std::string("TerminationGracePeriodSeconds"), std::to_string(terminationGracePeriodSeconds)); } -std::string DeployApplicationRequest::getPhpConfig()const -{ - return phpConfig_; +std::string DeployApplicationRequest::getPhpConfig() const { + return phpConfig_; } -void DeployApplicationRequest::setPhpConfig(const std::string& phpConfig) -{ - phpConfig_ = phpConfig; - setBodyParameter("PhpConfig", phpConfig); +void DeployApplicationRequest::setPhpConfig(const std::string &phpConfig) { + phpConfig_ = phpConfig; + setBodyParameter(std::string("PhpConfig"), phpConfig); } -bool DeployApplicationRequest::getEnableGreyTagRoute()const -{ - return enableGreyTagRoute_; +bool DeployApplicationRequest::getEnableGreyTagRoute() const { + return enableGreyTagRoute_; } -void DeployApplicationRequest::setEnableGreyTagRoute(bool enableGreyTagRoute) -{ - enableGreyTagRoute_ = enableGreyTagRoute; - setParameter("EnableGreyTagRoute", enableGreyTagRoute ? "true" : "false"); +void DeployApplicationRequest::setEnableGreyTagRoute(bool enableGreyTagRoute) { + enableGreyTagRoute_ = enableGreyTagRoute; + setParameter(std::string("EnableGreyTagRoute"), enableGreyTagRoute ? "true" : "false"); } -std::string DeployApplicationRequest::getCommand()const -{ - return command_; +std::string DeployApplicationRequest::getCommand() const { + return command_; } -void DeployApplicationRequest::setCommand(const std::string& command) -{ - command_ = command; - setParameter("Command", command); +void DeployApplicationRequest::setCommand(const std::string &command) { + command_ = command; + setParameter(std::string("Command"), command); } -std::string DeployApplicationRequest::getMountDesc()const -{ - return mountDesc_; +std::string DeployApplicationRequest::getMountDesc() const { + return mountDesc_; } -void DeployApplicationRequest::setMountDesc(const std::string& mountDesc) -{ - mountDesc_ = mountDesc; - setParameter("MountDesc", mountDesc); +void DeployApplicationRequest::setMountDesc(const std::string &mountDesc) { + mountDesc_ = mountDesc; + setParameter(std::string("MountDesc"), mountDesc); } -std::string DeployApplicationRequest::getJdk()const -{ - return jdk_; +std::string DeployApplicationRequest::getJdk() const { + return jdk_; } -void DeployApplicationRequest::setJdk(const std::string& jdk) -{ - jdk_ = jdk; - setParameter("Jdk", jdk); +void DeployApplicationRequest::setJdk(const std::string &jdk) { + jdk_ = jdk; + setParameter(std::string("Jdk"), jdk); } -int DeployApplicationRequest::getMinReadyInstances()const -{ - return minReadyInstances_; +int DeployApplicationRequest::getMinReadyInstances() const { + return minReadyInstances_; } -void DeployApplicationRequest::setMinReadyInstances(int minReadyInstances) -{ - minReadyInstances_ = minReadyInstances; - setParameter("MinReadyInstances", std::to_string(minReadyInstances)); +void DeployApplicationRequest::setMinReadyInstances(int minReadyInstances) { + minReadyInstances_ = minReadyInstances; + setParameter(std::string("MinReadyInstances"), std::to_string(minReadyInstances)); } -std::string DeployApplicationRequest::getKafkaLogfileConfig()const -{ - return kafkaLogfileConfig_; +std::string DeployApplicationRequest::getKafkaLogfileConfig() const { + return kafkaLogfileConfig_; } -void DeployApplicationRequest::setKafkaLogfileConfig(const std::string& kafkaLogfileConfig) -{ - kafkaLogfileConfig_ = kafkaLogfileConfig; - setParameter("KafkaLogfileConfig", kafkaLogfileConfig); +void DeployApplicationRequest::setKafkaLogfileConfig(const std::string &kafkaLogfileConfig) { + kafkaLogfileConfig_ = kafkaLogfileConfig; + setParameter(std::string("KafkaLogfileConfig"), kafkaLogfileConfig); } -std::string DeployApplicationRequest::getAcrInstanceId()const -{ - return acrInstanceId_; +std::string DeployApplicationRequest::getAcrInstanceId() const { + return acrInstanceId_; } -void DeployApplicationRequest::setAcrInstanceId(const std::string& acrInstanceId) -{ - acrInstanceId_ = acrInstanceId; - setBodyParameter("AcrInstanceId", acrInstanceId); +void DeployApplicationRequest::setAcrInstanceId(const std::string &acrInstanceId) { + acrInstanceId_ = acrInstanceId; + setBodyParameter(std::string("AcrInstanceId"), acrInstanceId); } -std::string DeployApplicationRequest::getAppId()const -{ - return appId_; +std::string DeployApplicationRequest::getAppId() const { + return appId_; } -void DeployApplicationRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +void DeployApplicationRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -std::string DeployApplicationRequest::getImageUrl()const -{ - return imageUrl_; +std::string DeployApplicationRequest::getImageUrl() const { + return imageUrl_; } -void DeployApplicationRequest::setImageUrl(const std::string& imageUrl) -{ - imageUrl_ = imageUrl; - setParameter("ImageUrl", imageUrl); +void DeployApplicationRequest::setImageUrl(const std::string &imageUrl) { + imageUrl_ = imageUrl; + setParameter(std::string("ImageUrl"), imageUrl); } -std::string DeployApplicationRequest::getPhp()const -{ - return php_; +std::string DeployApplicationRequest::getPhp() const { + return php_; } -void DeployApplicationRequest::setPhp(const std::string& php) -{ - php_ = php; - setBodyParameter("Php", php); +void DeployApplicationRequest::setPhp(const std::string &php) { + php_ = php; + setBodyParameter(std::string("Php"), php); } -std::string DeployApplicationRequest::getPhpConfigLocation()const -{ - return phpConfigLocation_; +std::string DeployApplicationRequest::getPhpConfigLocation() const { + return phpConfigLocation_; } -void DeployApplicationRequest::setPhpConfigLocation(const std::string& phpConfigLocation) -{ - phpConfigLocation_ = phpConfigLocation; - setParameter("PhpConfigLocation", phpConfigLocation); +void DeployApplicationRequest::setPhpConfigLocation(const std::string &phpConfigLocation) { + phpConfigLocation_ = phpConfigLocation; + setParameter(std::string("PhpConfigLocation"), phpConfigLocation); } diff --git a/sae/src/model/DescribeAppServiceDetailRequest.cc b/sae/src/model/DescribeAppServiceDetailRequest.cc index 249579b82..2f8831c30 100644 --- a/sae/src/model/DescribeAppServiceDetailRequest.cc +++ b/sae/src/model/DescribeAppServiceDetailRequest.cc @@ -1,85 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Sae::Model::DescribeAppServiceDetailRequest; - -DescribeAppServiceDetailRequest::DescribeAppServiceDetailRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/service/describeAppServiceDetail"); - setMethod(HttpRequest::Method::Get); -} - -DescribeAppServiceDetailRequest::~DescribeAppServiceDetailRequest() -{} - -std::string DescribeAppServiceDetailRequest::getServiceType()const -{ - return serviceType_; + */ + +#include + +using AlibabaCloud::Sae::Model::DescribeAppServiceDetailRequest; + +DescribeAppServiceDetailRequest::DescribeAppServiceDetailRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/service/describeAppServiceDetail"}; + setMethod(HttpRequest::Method::Get); } -void DescribeAppServiceDetailRequest::setServiceType(const std::string& serviceType) -{ - serviceType_ = serviceType; - setParameter("ServiceType", serviceType); +DescribeAppServiceDetailRequest::~DescribeAppServiceDetailRequest() {} + +std::string DescribeAppServiceDetailRequest::getServiceType() const { + return serviceType_; } -std::string DescribeAppServiceDetailRequest::getAppId()const -{ - return appId_; +void DescribeAppServiceDetailRequest::setServiceType(const std::string &serviceType) { + serviceType_ = serviceType; + setParameter(std::string("ServiceType"), serviceType); } -void DescribeAppServiceDetailRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string DescribeAppServiceDetailRequest::getAppId() const { + return appId_; } -std::string DescribeAppServiceDetailRequest::getServiceVersion()const -{ - return serviceVersion_; +void DescribeAppServiceDetailRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -void DescribeAppServiceDetailRequest::setServiceVersion(const std::string& serviceVersion) -{ - serviceVersion_ = serviceVersion; - setParameter("ServiceVersion", serviceVersion); +std::string DescribeAppServiceDetailRequest::getServiceVersion() const { + return serviceVersion_; } -std::string DescribeAppServiceDetailRequest::getServiceName()const -{ - return serviceName_; +void DescribeAppServiceDetailRequest::setServiceVersion(const std::string &serviceVersion) { + serviceVersion_ = serviceVersion; + setParameter(std::string("ServiceVersion"), serviceVersion); } -void DescribeAppServiceDetailRequest::setServiceName(const std::string& serviceName) -{ - serviceName_ = serviceName; - setParameter("ServiceName", serviceName); +std::string DescribeAppServiceDetailRequest::getServiceName() const { + return serviceName_; } -std::string DescribeAppServiceDetailRequest::getServiceGroup()const -{ - return serviceGroup_; +void DescribeAppServiceDetailRequest::setServiceName(const std::string &serviceName) { + serviceName_ = serviceName; + setParameter(std::string("ServiceName"), serviceName); } -void DescribeAppServiceDetailRequest::setServiceGroup(const std::string& serviceGroup) -{ - serviceGroup_ = serviceGroup; - setParameter("ServiceGroup", serviceGroup); +std::string DescribeAppServiceDetailRequest::getServiceGroup() const { + return serviceGroup_; +} + +void DescribeAppServiceDetailRequest::setServiceGroup(const std::string &serviceGroup) { + serviceGroup_ = serviceGroup; + setParameter(std::string("ServiceGroup"), serviceGroup); } diff --git a/sae/src/model/DescribeApplicationConfigRequest.cc b/sae/src/model/DescribeApplicationConfigRequest.cc index 4f8ba098e..132b10732 100644 --- a/sae/src/model/DescribeApplicationConfigRequest.cc +++ b/sae/src/model/DescribeApplicationConfigRequest.cc @@ -1,52 +1,46 @@ /* * 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::Sae::Model::DescribeApplicationConfigRequest; - -DescribeApplicationConfigRequest::DescribeApplicationConfigRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/describeApplicationConfig"); - setMethod(HttpRequest::Method::Get); -} - -DescribeApplicationConfigRequest::~DescribeApplicationConfigRequest() -{} - -std::string DescribeApplicationConfigRequest::getVersionId()const -{ - return versionId_; + */ + +#include + +using AlibabaCloud::Sae::Model::DescribeApplicationConfigRequest; + +DescribeApplicationConfigRequest::DescribeApplicationConfigRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/describeApplicationConfig"}; + setMethod(HttpRequest::Method::Get); } -void DescribeApplicationConfigRequest::setVersionId(const std::string& versionId) -{ - versionId_ = versionId; - setParameter("VersionId", versionId); +DescribeApplicationConfigRequest::~DescribeApplicationConfigRequest() {} + +std::string DescribeApplicationConfigRequest::getVersionId() const { + return versionId_; } -std::string DescribeApplicationConfigRequest::getAppId()const -{ - return appId_; +void DescribeApplicationConfigRequest::setVersionId(const std::string &versionId) { + versionId_ = versionId; + setParameter(std::string("VersionId"), versionId); } -void DescribeApplicationConfigRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string DescribeApplicationConfigRequest::getAppId() const { + return appId_; +} + +void DescribeApplicationConfigRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/sae/src/model/DescribeApplicationConfigResult.cc b/sae/src/model/DescribeApplicationConfigResult.cc index 50f9bba35..2785f8967 100644 --- a/sae/src/model/DescribeApplicationConfigResult.cc +++ b/sae/src/model/DescribeApplicationConfigResult.cc @@ -148,6 +148,8 @@ void DescribeApplicationConfigResult::parse(const std::string &payload) data_.associateEip = dataNode["AssociateEip"].asString() == "true"; if(!dataNode["KafkaConfigs"].isNull()) data_.kafkaConfigs = dataNode["KafkaConfigs"].asString(); + if(!dataNode["ProgrammingLanguage"].isNull()) + data_.programmingLanguage = dataNode["ProgrammingLanguage"].asString(); auto allConfigMapMountDescNode = dataNode["ConfigMapMountDesc"]["ConfigMapMountDescItem"]; for (auto dataNodeConfigMapMountDescConfigMapMountDescItem : allConfigMapMountDescNode) { diff --git a/sae/src/model/DescribeApplicationGroupsRequest.cc b/sae/src/model/DescribeApplicationGroupsRequest.cc index bd6cef39f..e13481f8d 100644 --- a/sae/src/model/DescribeApplicationGroupsRequest.cc +++ b/sae/src/model/DescribeApplicationGroupsRequest.cc @@ -1,63 +1,55 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Sae::Model::DescribeApplicationGroupsRequest; - -DescribeApplicationGroupsRequest::DescribeApplicationGroupsRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/describeApplicationGroups"); - setMethod(HttpRequest::Method::Get); -} - -DescribeApplicationGroupsRequest::~DescribeApplicationGroupsRequest() -{} - -std::string DescribeApplicationGroupsRequest::getAppId()const -{ - return appId_; + */ + +#include + +using AlibabaCloud::Sae::Model::DescribeApplicationGroupsRequest; + +DescribeApplicationGroupsRequest::DescribeApplicationGroupsRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/describeApplicationGroups"}; + setMethod(HttpRequest::Method::Get); } -void DescribeApplicationGroupsRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +DescribeApplicationGroupsRequest::~DescribeApplicationGroupsRequest() {} + +std::string DescribeApplicationGroupsRequest::getAppId() const { + return appId_; } -int DescribeApplicationGroupsRequest::getPageSize()const -{ - return pageSize_; +void DescribeApplicationGroupsRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -void DescribeApplicationGroupsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int DescribeApplicationGroupsRequest::getPageSize() const { + return pageSize_; } -int DescribeApplicationGroupsRequest::getCurrentPage()const -{ - return currentPage_; +void DescribeApplicationGroupsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeApplicationGroupsRequest::setCurrentPage(int currentPage) -{ - currentPage_ = currentPage; - setParameter("CurrentPage", std::to_string(currentPage)); +int DescribeApplicationGroupsRequest::getCurrentPage() const { + return currentPage_; +} + +void DescribeApplicationGroupsRequest::setCurrentPage(int currentPage) { + currentPage_ = currentPage; + setParameter(std::string("CurrentPage"), std::to_string(currentPage)); } diff --git a/sae/src/model/DescribeApplicationGroupsResult.cc b/sae/src/model/DescribeApplicationGroupsResult.cc index 0eede904c..da61683ba 100644 --- a/sae/src/model/DescribeApplicationGroupsResult.cc +++ b/sae/src/model/DescribeApplicationGroupsResult.cc @@ -43,42 +43,42 @@ void DescribeApplicationGroupsResult::parse(const std::string &payload) for (auto valueDataApplicationGroup : allDataNode) { ApplicationGroup dataObject; - if(!valueDataApplicationGroup["GroupId"].isNull()) - dataObject.groupId = valueDataApplicationGroup["GroupId"].asString(); - if(!valueDataApplicationGroup["GroupName"].isNull()) - dataObject.groupName = valueDataApplicationGroup["GroupName"].asString(); - if(!valueDataApplicationGroup["GroupType"].isNull()) - dataObject.groupType = std::stoi(valueDataApplicationGroup["GroupType"].asString()); - if(!valueDataApplicationGroup["PackageType"].isNull()) - dataObject.packageType = valueDataApplicationGroup["PackageType"].asString(); - if(!valueDataApplicationGroup["PackageVersion"].isNull()) - dataObject.packageVersion = valueDataApplicationGroup["PackageVersion"].asString(); + if(!valueDataApplicationGroup["Jdk"].isNull()) + dataObject.jdk = valueDataApplicationGroup["Jdk"].asString(); if(!valueDataApplicationGroup["ImageUrl"].isNull()) dataObject.imageUrl = valueDataApplicationGroup["ImageUrl"].asString(); if(!valueDataApplicationGroup["PackageUrl"].isNull()) dataObject.packageUrl = valueDataApplicationGroup["PackageUrl"].asString(); - if(!valueDataApplicationGroup["Jdk"].isNull()) - dataObject.jdk = valueDataApplicationGroup["Jdk"].asString(); + if(!valueDataApplicationGroup["PackageType"].isNull()) + dataObject.packageType = valueDataApplicationGroup["PackageType"].asString(); + if(!valueDataApplicationGroup["PackageVersion"].isNull()) + dataObject.packageVersion = valueDataApplicationGroup["PackageVersion"].asString(); + if(!valueDataApplicationGroup["GroupName"].isNull()) + dataObject.groupName = valueDataApplicationGroup["GroupName"].asString(); + if(!valueDataApplicationGroup["GroupId"].isNull()) + dataObject.groupId = valueDataApplicationGroup["GroupId"].asString(); if(!valueDataApplicationGroup["WebContainer"].isNull()) dataObject.webContainer = valueDataApplicationGroup["WebContainer"].asString(); - if(!valueDataApplicationGroup["EdasContainerVersion"].isNull()) - dataObject.edasContainerVersion = valueDataApplicationGroup["EdasContainerVersion"].asString(); if(!valueDataApplicationGroup["Replicas"].isNull()) dataObject.replicas = std::stoi(valueDataApplicationGroup["Replicas"].asString()); + if(!valueDataApplicationGroup["EdasContainerVersion"].isNull()) + dataObject.edasContainerVersion = valueDataApplicationGroup["EdasContainerVersion"].asString(); if(!valueDataApplicationGroup["RunningInstances"].isNull()) dataObject.runningInstances = std::stoi(valueDataApplicationGroup["RunningInstances"].asString()); + if(!valueDataApplicationGroup["GroupType"].isNull()) + dataObject.groupType = std::stoi(valueDataApplicationGroup["GroupType"].asString()); data_.push_back(dataObject); } - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; if(!value["ErrorCode"].isNull()) errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/DescribeApplicationImageRequest.cc b/sae/src/model/DescribeApplicationImageRequest.cc index 996b9eb4c..5681a33ca 100644 --- a/sae/src/model/DescribeApplicationImageRequest.cc +++ b/sae/src/model/DescribeApplicationImageRequest.cc @@ -1,52 +1,46 @@ /* * 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::Sae::Model::DescribeApplicationImageRequest; - -DescribeApplicationImageRequest::DescribeApplicationImageRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/container/describeApplicationImage"); - setMethod(HttpRequest::Method::Get); -} - -DescribeApplicationImageRequest::~DescribeApplicationImageRequest() -{} - -std::string DescribeApplicationImageRequest::getAppId()const -{ - return appId_; + */ + +#include + +using AlibabaCloud::Sae::Model::DescribeApplicationImageRequest; + +DescribeApplicationImageRequest::DescribeApplicationImageRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/container/describeApplicationImage"}; + setMethod(HttpRequest::Method::Get); } -void DescribeApplicationImageRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +DescribeApplicationImageRequest::~DescribeApplicationImageRequest() {} + +std::string DescribeApplicationImageRequest::getAppId() const { + return appId_; } -std::string DescribeApplicationImageRequest::getImageUrl()const -{ - return imageUrl_; +void DescribeApplicationImageRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -void DescribeApplicationImageRequest::setImageUrl(const std::string& imageUrl) -{ - imageUrl_ = imageUrl; - setParameter("ImageUrl", imageUrl); +std::string DescribeApplicationImageRequest::getImageUrl() const { + return imageUrl_; +} + +void DescribeApplicationImageRequest::setImageUrl(const std::string &imageUrl) { + imageUrl_ = imageUrl; + setParameter(std::string("ImageUrl"), imageUrl); } diff --git a/sae/src/model/DescribeApplicationImageResult.cc b/sae/src/model/DescribeApplicationImageResult.cc index b1f38384c..8b9ba72e0 100644 --- a/sae/src/model/DescribeApplicationImageResult.cc +++ b/sae/src/model/DescribeApplicationImageResult.cc @@ -40,34 +40,34 @@ void DescribeApplicationImageResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto dataNode = value["Data"]; - if(!dataNode["CrUrl"].isNull()) - data_.crUrl = dataNode["CrUrl"].asString(); - if(!dataNode["Logo"].isNull()) - data_.logo = dataNode["Logo"].asString(); - if(!dataNode["RegionId"].isNull()) - data_.regionId = dataNode["RegionId"].asString(); if(!dataNode["RepoId"].isNull()) data_.repoId = std::stoi(dataNode["RepoId"].asString()); + if(!dataNode["Logo"].isNull()) + data_.logo = dataNode["Logo"].asString(); + if(!dataNode["RepoOriginType"].isNull()) + data_.repoOriginType = dataNode["RepoOriginType"].asString(); + if(!dataNode["CrUrl"].isNull()) + data_.crUrl = dataNode["CrUrl"].asString(); + if(!dataNode["RepoTag"].isNull()) + data_.repoTag = dataNode["RepoTag"].asString(); + if(!dataNode["RepoType"].isNull()) + data_.repoType = dataNode["RepoType"].asString(); if(!dataNode["RepoName"].isNull()) data_.repoName = dataNode["RepoName"].asString(); if(!dataNode["RepoNamespace"].isNull()) data_.repoNamespace = dataNode["RepoNamespace"].asString(); - if(!dataNode["RepoOriginType"].isNull()) - data_.repoOriginType = dataNode["RepoOriginType"].asString(); - if(!dataNode["RepoType"].isNull()) - data_.repoType = dataNode["RepoType"].asString(); - if(!dataNode["RepoTag"].isNull()) - data_.repoTag = dataNode["RepoTag"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); + if(!dataNode["RegionId"].isNull()) + data_.regionId = dataNode["RegionId"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/DescribeApplicationInstancesRequest.cc b/sae/src/model/DescribeApplicationInstancesRequest.cc index 5dfe9a1c2..56ef3cdab 100644 --- a/sae/src/model/DescribeApplicationInstancesRequest.cc +++ b/sae/src/model/DescribeApplicationInstancesRequest.cc @@ -1,96 +1,82 @@ /* * 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::Sae::Model::DescribeApplicationInstancesRequest; - -DescribeApplicationInstancesRequest::DescribeApplicationInstancesRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/describeApplicationInstances"); - setMethod(HttpRequest::Method::Get); -} - -DescribeApplicationInstancesRequest::~DescribeApplicationInstancesRequest() -{} - -std::string DescribeApplicationInstancesRequest::getJobId()const -{ - return jobId_; + */ + +#include + +using AlibabaCloud::Sae::Model::DescribeApplicationInstancesRequest; + +DescribeApplicationInstancesRequest::DescribeApplicationInstancesRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/describeApplicationInstances"}; + setMethod(HttpRequest::Method::Get); } -void DescribeApplicationInstancesRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setParameter("JobId", jobId); +DescribeApplicationInstancesRequest::~DescribeApplicationInstancesRequest() {} + +std::string DescribeApplicationInstancesRequest::getJobId() const { + return jobId_; } -std::string DescribeApplicationInstancesRequest::getAppId()const -{ - return appId_; +void DescribeApplicationInstancesRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); } -void DescribeApplicationInstancesRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string DescribeApplicationInstancesRequest::getAppId() const { + return appId_; } -std::string DescribeApplicationInstancesRequest::getGroupId()const -{ - return groupId_; +void DescribeApplicationInstancesRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -void DescribeApplicationInstancesRequest::setGroupId(const std::string& groupId) -{ - groupId_ = groupId; - setParameter("GroupId", groupId); +std::string DescribeApplicationInstancesRequest::getGroupId() const { + return groupId_; } -int DescribeApplicationInstancesRequest::getPageSize()const -{ - return pageSize_; +void DescribeApplicationInstancesRequest::setGroupId(const std::string &groupId) { + groupId_ = groupId; + setParameter(std::string("GroupId"), groupId); } -void DescribeApplicationInstancesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int DescribeApplicationInstancesRequest::getPageSize() const { + return pageSize_; } -int DescribeApplicationInstancesRequest::getCurrentPage()const -{ - return currentPage_; +void DescribeApplicationInstancesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeApplicationInstancesRequest::setCurrentPage(int currentPage) -{ - currentPage_ = currentPage; - setParameter("CurrentPage", std::to_string(currentPage)); +int DescribeApplicationInstancesRequest::getCurrentPage() const { + return currentPage_; } -bool DescribeApplicationInstancesRequest::getReverse()const -{ - return reverse_; +void DescribeApplicationInstancesRequest::setCurrentPage(int currentPage) { + currentPage_ = currentPage; + setParameter(std::string("CurrentPage"), std::to_string(currentPage)); } -void DescribeApplicationInstancesRequest::setReverse(bool reverse) -{ - reverse_ = reverse; - setParameter("Reverse", reverse ? "true" : "false"); +bool DescribeApplicationInstancesRequest::getReverse() const { + return reverse_; +} + +void DescribeApplicationInstancesRequest::setReverse(bool reverse) { + reverse_ = reverse; + setParameter(std::string("Reverse"), reverse ? "true" : "false"); } diff --git a/sae/src/model/DescribeApplicationScalingRuleRequest.cc b/sae/src/model/DescribeApplicationScalingRuleRequest.cc index 4f6b69c4c..faeefdaea 100644 --- a/sae/src/model/DescribeApplicationScalingRuleRequest.cc +++ b/sae/src/model/DescribeApplicationScalingRuleRequest.cc @@ -1,52 +1,46 @@ /* * 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::Sae::Model::DescribeApplicationScalingRuleRequest; - -DescribeApplicationScalingRuleRequest::DescribeApplicationScalingRuleRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/scale/applicationScalingRule"); - setMethod(HttpRequest::Method::Get); -} - -DescribeApplicationScalingRuleRequest::~DescribeApplicationScalingRuleRequest() -{} - -std::string DescribeApplicationScalingRuleRequest::getScalingRuleName()const -{ - return scalingRuleName_; + */ + +#include + +using AlibabaCloud::Sae::Model::DescribeApplicationScalingRuleRequest; + +DescribeApplicationScalingRuleRequest::DescribeApplicationScalingRuleRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/scale/applicationScalingRule"}; + setMethod(HttpRequest::Method::Get); } -void DescribeApplicationScalingRuleRequest::setScalingRuleName(const std::string& scalingRuleName) -{ - scalingRuleName_ = scalingRuleName; - setParameter("ScalingRuleName", scalingRuleName); +DescribeApplicationScalingRuleRequest::~DescribeApplicationScalingRuleRequest() {} + +std::string DescribeApplicationScalingRuleRequest::getScalingRuleName() const { + return scalingRuleName_; } -std::string DescribeApplicationScalingRuleRequest::getAppId()const -{ - return appId_; +void DescribeApplicationScalingRuleRequest::setScalingRuleName(const std::string &scalingRuleName) { + scalingRuleName_ = scalingRuleName; + setParameter(std::string("ScalingRuleName"), scalingRuleName); } -void DescribeApplicationScalingRuleRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string DescribeApplicationScalingRuleRequest::getAppId() const { + return appId_; +} + +void DescribeApplicationScalingRuleRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/sae/src/model/DescribeApplicationScalingRulesRequest.cc b/sae/src/model/DescribeApplicationScalingRulesRequest.cc index 5ae24c6d1..35526d3d7 100644 --- a/sae/src/model/DescribeApplicationScalingRulesRequest.cc +++ b/sae/src/model/DescribeApplicationScalingRulesRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::DescribeApplicationScalingRulesRequest; - -DescribeApplicationScalingRulesRequest::DescribeApplicationScalingRulesRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/scale/applicationScalingRules"); - setMethod(HttpRequest::Method::Get); -} - -DescribeApplicationScalingRulesRequest::~DescribeApplicationScalingRulesRequest() -{} - -std::string DescribeApplicationScalingRulesRequest::getAppId()const -{ - return appId_; + */ + +#include + +using AlibabaCloud::Sae::Model::DescribeApplicationScalingRulesRequest; + +DescribeApplicationScalingRulesRequest::DescribeApplicationScalingRulesRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/scale/applicationScalingRules"}; + setMethod(HttpRequest::Method::Get); } -void DescribeApplicationScalingRulesRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +DescribeApplicationScalingRulesRequest::~DescribeApplicationScalingRulesRequest() {} + +std::string DescribeApplicationScalingRulesRequest::getAppId() const { + return appId_; +} + +void DescribeApplicationScalingRulesRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/sae/src/model/DescribeApplicationSlbsRequest.cc b/sae/src/model/DescribeApplicationSlbsRequest.cc index 216e3b450..3b39c1fa0 100644 --- a/sae/src/model/DescribeApplicationSlbsRequest.cc +++ b/sae/src/model/DescribeApplicationSlbsRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::DescribeApplicationSlbsRequest; - -DescribeApplicationSlbsRequest::DescribeApplicationSlbsRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/slb"); - setMethod(HttpRequest::Method::Get); -} - -DescribeApplicationSlbsRequest::~DescribeApplicationSlbsRequest() -{} - -std::string DescribeApplicationSlbsRequest::getAppId()const -{ - return appId_; + */ + +#include + +using AlibabaCloud::Sae::Model::DescribeApplicationSlbsRequest; + +DescribeApplicationSlbsRequest::DescribeApplicationSlbsRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/slb"}; + setMethod(HttpRequest::Method::Get); } -void DescribeApplicationSlbsRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +DescribeApplicationSlbsRequest::~DescribeApplicationSlbsRequest() {} + +std::string DescribeApplicationSlbsRequest::getAppId() const { + return appId_; +} + +void DescribeApplicationSlbsRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/sae/src/model/DescribeApplicationSlbsResult.cc b/sae/src/model/DescribeApplicationSlbsResult.cc index 1d07c6b20..ba856064c 100644 --- a/sae/src/model/DescribeApplicationSlbsResult.cc +++ b/sae/src/model/DescribeApplicationSlbsResult.cc @@ -42,50 +42,50 @@ void DescribeApplicationSlbsResult::parse(const std::string &payload) auto dataNode = value["Data"]; if(!dataNode["InternetIp"].isNull()) data_.internetIp = dataNode["InternetIp"].asString(); - if(!dataNode["IntranetIp"].isNull()) - data_.intranetIp = dataNode["IntranetIp"].asString(); if(!dataNode["InternetSlbId"].isNull()) data_.internetSlbId = dataNode["InternetSlbId"].asString(); if(!dataNode["IntranetSlbId"].isNull()) data_.intranetSlbId = dataNode["IntranetSlbId"].asString(); - auto allInternetNode = dataNode["Internet"]["InternetItem"]; - for (auto dataNodeInternetInternetItem : allInternetNode) - { - Data::InternetItem internetItemObject; - if(!dataNodeInternetInternetItem["Port"].isNull()) - internetItemObject.port = std::stoi(dataNodeInternetInternetItem["Port"].asString()); - if(!dataNodeInternetInternetItem["Protocol"].isNull()) - internetItemObject.protocol = dataNodeInternetInternetItem["Protocol"].asString(); - if(!dataNodeInternetInternetItem["TargetPort"].isNull()) - internetItemObject.targetPort = std::stoi(dataNodeInternetInternetItem["TargetPort"].asString()); - if(!dataNodeInternetInternetItem["HttpsCertId"].isNull()) - internetItemObject.httpsCertId = dataNodeInternetInternetItem["HttpsCertId"].asString(); - data_.internet.push_back(internetItemObject); - } + if(!dataNode["IntranetIp"].isNull()) + data_.intranetIp = dataNode["IntranetIp"].asString(); auto allIntranetNode = dataNode["Intranet"]["IntranetItem"]; for (auto dataNodeIntranetIntranetItem : allIntranetNode) { Data::IntranetItem intranetItemObject; - if(!dataNodeIntranetIntranetItem["Port"].isNull()) - intranetItemObject.port = std::stoi(dataNodeIntranetIntranetItem["Port"].asString()); + if(!dataNodeIntranetIntranetItem["HttpsCertId"].isNull()) + intranetItemObject.httpsCertId = dataNodeIntranetIntranetItem["HttpsCertId"].asString(); if(!dataNodeIntranetIntranetItem["Protocol"].isNull()) intranetItemObject.protocol = dataNodeIntranetIntranetItem["Protocol"].asString(); if(!dataNodeIntranetIntranetItem["TargetPort"].isNull()) intranetItemObject.targetPort = std::stoi(dataNodeIntranetIntranetItem["TargetPort"].asString()); - if(!dataNodeIntranetIntranetItem["HttpsCertId"].isNull()) - intranetItemObject.httpsCertId = dataNodeIntranetIntranetItem["HttpsCertId"].asString(); + if(!dataNodeIntranetIntranetItem["Port"].isNull()) + intranetItemObject.port = std::stoi(dataNodeIntranetIntranetItem["Port"].asString()); data_.intranet.push_back(intranetItemObject); } - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); + auto allInternetNode = dataNode["Internet"]["InternetItem"]; + for (auto dataNodeInternetInternetItem : allInternetNode) + { + Data::InternetItem internetItemObject; + if(!dataNodeInternetInternetItem["HttpsCertId"].isNull()) + internetItemObject.httpsCertId = dataNodeInternetInternetItem["HttpsCertId"].asString(); + if(!dataNodeInternetInternetItem["Protocol"].isNull()) + internetItemObject.protocol = dataNodeInternetInternetItem["Protocol"].asString(); + if(!dataNodeInternetInternetItem["TargetPort"].isNull()) + internetItemObject.targetPort = std::stoi(dataNodeInternetInternetItem["TargetPort"].asString()); + if(!dataNodeInternetInternetItem["Port"].isNull()) + internetItemObject.port = std::stoi(dataNodeInternetInternetItem["Port"].asString()); + data_.internet.push_back(internetItemObject); + } if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/DescribeApplicationStatusRequest.cc b/sae/src/model/DescribeApplicationStatusRequest.cc index 295e66068..d6138a577 100644 --- a/sae/src/model/DescribeApplicationStatusRequest.cc +++ b/sae/src/model/DescribeApplicationStatusRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::DescribeApplicationStatusRequest; - -DescribeApplicationStatusRequest::DescribeApplicationStatusRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/describeApplicationStatus"); - setMethod(HttpRequest::Method::Get); -} - -DescribeApplicationStatusRequest::~DescribeApplicationStatusRequest() -{} - -std::string DescribeApplicationStatusRequest::getAppId()const -{ - return appId_; + */ + +#include + +using AlibabaCloud::Sae::Model::DescribeApplicationStatusRequest; + +DescribeApplicationStatusRequest::DescribeApplicationStatusRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/describeApplicationStatus"}; + setMethod(HttpRequest::Method::Get); } -void DescribeApplicationStatusRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +DescribeApplicationStatusRequest::~DescribeApplicationStatusRequest() {} + +std::string DescribeApplicationStatusRequest::getAppId() const { + return appId_; +} + +void DescribeApplicationStatusRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/sae/src/model/DescribeChangeOrderRequest.cc b/sae/src/model/DescribeChangeOrderRequest.cc index 10a636882..905c781c3 100644 --- a/sae/src/model/DescribeChangeOrderRequest.cc +++ b/sae/src/model/DescribeChangeOrderRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::DescribeChangeOrderRequest; - -DescribeChangeOrderRequest::DescribeChangeOrderRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/changeorder/DescribeChangeOrder"); - setMethod(HttpRequest::Method::Get); -} - -DescribeChangeOrderRequest::~DescribeChangeOrderRequest() -{} - -std::string DescribeChangeOrderRequest::getChangeOrderId()const -{ - return changeOrderId_; + */ + +#include + +using AlibabaCloud::Sae::Model::DescribeChangeOrderRequest; + +DescribeChangeOrderRequest::DescribeChangeOrderRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/changeorder/DescribeChangeOrder"}; + setMethod(HttpRequest::Method::Get); } -void DescribeChangeOrderRequest::setChangeOrderId(const std::string& changeOrderId) -{ - changeOrderId_ = changeOrderId; - setParameter("ChangeOrderId", changeOrderId); +DescribeChangeOrderRequest::~DescribeChangeOrderRequest() {} + +std::string DescribeChangeOrderRequest::getChangeOrderId() const { + return changeOrderId_; +} + +void DescribeChangeOrderRequest::setChangeOrderId(const std::string &changeOrderId) { + changeOrderId_ = changeOrderId; + setParameter(std::string("ChangeOrderId"), changeOrderId); } diff --git a/sae/src/model/DescribeComponentsRequest.cc b/sae/src/model/DescribeComponentsRequest.cc index 8c6bc54cf..061f9bbab 100644 --- a/sae/src/model/DescribeComponentsRequest.cc +++ b/sae/src/model/DescribeComponentsRequest.cc @@ -1,52 +1,46 @@ /* * 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::Sae::Model::DescribeComponentsRequest; - -DescribeComponentsRequest::DescribeComponentsRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/resource/components"); - setMethod(HttpRequest::Method::Get); -} - -DescribeComponentsRequest::~DescribeComponentsRequest() -{} - -std::string DescribeComponentsRequest::getAppId()const -{ - return appId_; + */ + +#include + +using AlibabaCloud::Sae::Model::DescribeComponentsRequest; + +DescribeComponentsRequest::DescribeComponentsRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/resource/components"}; + setMethod(HttpRequest::Method::Get); } -void DescribeComponentsRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +DescribeComponentsRequest::~DescribeComponentsRequest() {} + +std::string DescribeComponentsRequest::getAppId() const { + return appId_; } -std::string DescribeComponentsRequest::getType()const -{ - return type_; +void DescribeComponentsRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -void DescribeComponentsRequest::setType(const std::string& type) -{ - type_ = type; - setParameter("Type", type); +std::string DescribeComponentsRequest::getType() const { + return type_; +} + +void DescribeComponentsRequest::setType(const std::string &type) { + type_ = type; + setParameter(std::string("Type"), type); } diff --git a/sae/src/model/DescribeComponentsResult.cc b/sae/src/model/DescribeComponentsResult.cc index 9006a650c..1ed59b48a 100644 --- a/sae/src/model/DescribeComponentsResult.cc +++ b/sae/src/model/DescribeComponentsResult.cc @@ -43,26 +43,26 @@ void DescribeComponentsResult::parse(const std::string &payload) for (auto valueDataDataItem : allDataNode) { DataItem dataObject; + if(!valueDataDataItem["Type"].isNull()) + dataObject.type = valueDataDataItem["Type"].asString(); if(!valueDataDataItem["ComponentKey"].isNull()) dataObject.componentKey = valueDataDataItem["ComponentKey"].asString(); if(!valueDataDataItem["ComponentDescription"].isNull()) dataObject.componentDescription = valueDataDataItem["ComponentDescription"].asString(); if(!valueDataDataItem["Expired"].isNull()) dataObject.expired = valueDataDataItem["Expired"].asString() == "true"; - if(!valueDataDataItem["Type"].isNull()) - dataObject.type = valueDataDataItem["Type"].asString(); data_.push_back(dataObject); } - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/DescribeConfigMapRequest.cc b/sae/src/model/DescribeConfigMapRequest.cc index c04ac75e7..b7e40ef48 100644 --- a/sae/src/model/DescribeConfigMapRequest.cc +++ b/sae/src/model/DescribeConfigMapRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::DescribeConfigMapRequest; - -DescribeConfigMapRequest::DescribeConfigMapRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/configmap/configMap"); - setMethod(HttpRequest::Method::Get); -} - -DescribeConfigMapRequest::~DescribeConfigMapRequest() -{} - -long DescribeConfigMapRequest::getConfigMapId()const -{ - return configMapId_; + */ + +#include + +using AlibabaCloud::Sae::Model::DescribeConfigMapRequest; + +DescribeConfigMapRequest::DescribeConfigMapRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/configmap/configMap"}; + setMethod(HttpRequest::Method::Get); } -void DescribeConfigMapRequest::setConfigMapId(long configMapId) -{ - configMapId_ = configMapId; - setParameter("ConfigMapId", std::to_string(configMapId)); +DescribeConfigMapRequest::~DescribeConfigMapRequest() {} + +long DescribeConfigMapRequest::getConfigMapId() const { + return configMapId_; +} + +void DescribeConfigMapRequest::setConfigMapId(long configMapId) { + configMapId_ = configMapId; + setParameter(std::string("ConfigMapId"), std::to_string(configMapId)); } diff --git a/sae/src/model/DescribeConfigMapResult.cc b/sae/src/model/DescribeConfigMapResult.cc index 16ee01aa3..6a50f2b10 100644 --- a/sae/src/model/DescribeConfigMapResult.cc +++ b/sae/src/model/DescribeConfigMapResult.cc @@ -40,38 +40,38 @@ void DescribeConfigMapResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto dataNode = value["Data"]; - if(!dataNode["ConfigMapId"].isNull()) - data_.configMapId = std::stol(dataNode["ConfigMapId"].asString()); - if(!dataNode["Name"].isNull()) - data_.name = dataNode["Name"].asString(); + if(!dataNode["UpdateTime"].isNull()) + data_.updateTime = std::stol(dataNode["UpdateTime"].asString()); + if(!dataNode["Data"].isNull()) + data_.data = dataNode["Data"].asString(); if(!dataNode["NamespaceId"].isNull()) data_.namespaceId = dataNode["NamespaceId"].asString(); if(!dataNode["Description"].isNull()) data_.description = dataNode["Description"].asString(); - if(!dataNode["Data"].isNull()) - data_.data = dataNode["Data"].asString(); if(!dataNode["CreateTime"].isNull()) data_.createTime = std::stol(dataNode["CreateTime"].asString()); - if(!dataNode["UpdateTime"].isNull()) - data_.updateTime = std::stol(dataNode["UpdateTime"].asString()); + if(!dataNode["ConfigMapId"].isNull()) + data_.configMapId = std::stol(dataNode["ConfigMapId"].asString()); + if(!dataNode["Name"].isNull()) + data_.name = dataNode["Name"].asString(); auto allRelateAppsNode = dataNode["RelateApps"]["RelateApp"]; for (auto dataNodeRelateAppsRelateApp : allRelateAppsNode) { Data::RelateApp relateAppObject; - if(!dataNodeRelateAppsRelateApp["AppId"].isNull()) - relateAppObject.appId = dataNodeRelateAppsRelateApp["AppId"].asString(); if(!dataNodeRelateAppsRelateApp["AppName"].isNull()) relateAppObject.appName = dataNodeRelateAppsRelateApp["AppName"].asString(); + if(!dataNodeRelateAppsRelateApp["AppId"].isNull()) + relateAppObject.appId = dataNodeRelateAppsRelateApp["AppId"].asString(); data_.relateApps.push_back(relateAppObject); } - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; diff --git a/sae/src/model/DescribeConfigurationPriceRequest.cc b/sae/src/model/DescribeConfigurationPriceRequest.cc index d831a7a93..5b8a18555 100644 --- a/sae/src/model/DescribeConfigurationPriceRequest.cc +++ b/sae/src/model/DescribeConfigurationPriceRequest.cc @@ -1,52 +1,46 @@ /* * 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::Sae::Model::DescribeConfigurationPriceRequest; - -DescribeConfigurationPriceRequest::DescribeConfigurationPriceRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/paas/configurationPrice"); - setMethod(HttpRequest::Method::Get); -} - -DescribeConfigurationPriceRequest::~DescribeConfigurationPriceRequest() -{} - -int DescribeConfigurationPriceRequest::getMemory()const -{ - return memory_; + */ + +#include + +using AlibabaCloud::Sae::Model::DescribeConfigurationPriceRequest; + +DescribeConfigurationPriceRequest::DescribeConfigurationPriceRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/paas/configurationPrice"}; + setMethod(HttpRequest::Method::Get); } -void DescribeConfigurationPriceRequest::setMemory(int memory) -{ - memory_ = memory; - setParameter("Memory", std::to_string(memory)); +DescribeConfigurationPriceRequest::~DescribeConfigurationPriceRequest() {} + +int DescribeConfigurationPriceRequest::getMemory() const { + return memory_; } -int DescribeConfigurationPriceRequest::getCpu()const -{ - return cpu_; +void DescribeConfigurationPriceRequest::setMemory(int memory) { + memory_ = memory; + setParameter(std::string("Memory"), std::to_string(memory)); } -void DescribeConfigurationPriceRequest::setCpu(int cpu) -{ - cpu_ = cpu; - setParameter("Cpu", std::to_string(cpu)); +int DescribeConfigurationPriceRequest::getCpu() const { + return cpu_; +} + +void DescribeConfigurationPriceRequest::setCpu(int cpu) { + cpu_ = cpu; + setParameter(std::string("Cpu"), std::to_string(cpu)); } diff --git a/sae/src/model/DescribeEdasContainersRequest.cc b/sae/src/model/DescribeEdasContainersRequest.cc index 23488b708..632f22f6f 100644 --- a/sae/src/model/DescribeEdasContainersRequest.cc +++ b/sae/src/model/DescribeEdasContainersRequest.cc @@ -1,30 +1,28 @@ /* * 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::Sae::Model::DescribeEdasContainersRequest; - -DescribeEdasContainersRequest::DescribeEdasContainersRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/resource/edasContainers"); - setMethod(HttpRequest::Method::Get); -} - -DescribeEdasContainersRequest::~DescribeEdasContainersRequest() -{} - + */ + +#include + +using AlibabaCloud::Sae::Model::DescribeEdasContainersRequest; + +DescribeEdasContainersRequest::DescribeEdasContainersRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/resource/edasContainers"}; + setMethod(HttpRequest::Method::Get); +} + +DescribeEdasContainersRequest::~DescribeEdasContainersRequest() {} + diff --git a/sae/src/model/DescribeEdasContainersResult.cc b/sae/src/model/DescribeEdasContainersResult.cc index 09a9f1a34..f3ac85030 100644 --- a/sae/src/model/DescribeEdasContainersResult.cc +++ b/sae/src/model/DescribeEdasContainersResult.cc @@ -49,16 +49,16 @@ void DescribeEdasContainersResult::parse(const std::string &payload) dataObject.edasContainerVersion = valueDataDataItem["EdasContainerVersion"].asString(); data_.push_back(dataObject); } - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/DescribeGreyTagRouteRequest.cc b/sae/src/model/DescribeGreyTagRouteRequest.cc index 9a0b758b0..2fd4594c9 100644 --- a/sae/src/model/DescribeGreyTagRouteRequest.cc +++ b/sae/src/model/DescribeGreyTagRouteRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::DescribeGreyTagRouteRequest; - -DescribeGreyTagRouteRequest::DescribeGreyTagRouteRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/tagroute/greyTagRoute"); - setMethod(HttpRequest::Method::Get); -} - -DescribeGreyTagRouteRequest::~DescribeGreyTagRouteRequest() -{} - -long DescribeGreyTagRouteRequest::getGreyTagRouteId()const -{ - return greyTagRouteId_; + */ + +#include + +using AlibabaCloud::Sae::Model::DescribeGreyTagRouteRequest; + +DescribeGreyTagRouteRequest::DescribeGreyTagRouteRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/tagroute/greyTagRoute"}; + setMethod(HttpRequest::Method::Get); } -void DescribeGreyTagRouteRequest::setGreyTagRouteId(long greyTagRouteId) -{ - greyTagRouteId_ = greyTagRouteId; - setParameter("GreyTagRouteId", std::to_string(greyTagRouteId)); +DescribeGreyTagRouteRequest::~DescribeGreyTagRouteRequest() {} + +long DescribeGreyTagRouteRequest::getGreyTagRouteId() const { + return greyTagRouteId_; +} + +void DescribeGreyTagRouteRequest::setGreyTagRouteId(long greyTagRouteId) { + greyTagRouteId_ = greyTagRouteId; + setParameter(std::string("GreyTagRouteId"), std::to_string(greyTagRouteId)); } diff --git a/sae/src/model/DescribeGreyTagRouteResult.cc b/sae/src/model/DescribeGreyTagRouteResult.cc index 6399c72db..510a93200 100644 --- a/sae/src/model/DescribeGreyTagRouteResult.cc +++ b/sae/src/model/DescribeGreyTagRouteResult.cc @@ -60,24 +60,24 @@ void DescribeGreyTagRouteResult::parse(const std::string &payload) scRuleObject.path = dataNodeScRulesscRule["path"].asString(); if(!dataNodeScRulesscRule["condition"].isNull()) scRuleObject.condition = dataNodeScRulesscRule["condition"].asString(); - auto allitemsNode = dataNodeScRulesscRule["items"]["item"]; - for (auto dataNodeScRulesscRuleitemsitem : allitemsNode) + auto allitemsNode = dataNodeScRulesscRule["items"]["Scrulesitem"]; + for (auto dataNodeScRulesscRuleitemsScrulesitem : allitemsNode) { - Data::ScRule::Item itemsObject; - if(!dataNodeScRulesscRuleitemsitem["index"].isNull()) - itemsObject.index = std::stoi(dataNodeScRulesscRuleitemsitem["index"].asString()); - if(!dataNodeScRulesscRuleitemsitem["expr"].isNull()) - itemsObject.expr = dataNodeScRulesscRuleitemsitem["expr"].asString(); - if(!dataNodeScRulesscRuleitemsitem["operator"].isNull()) - itemsObject._operator = dataNodeScRulesscRuleitemsitem["operator"].asString(); - if(!dataNodeScRulesscRuleitemsitem["value"].isNull()) - itemsObject.value = dataNodeScRulesscRuleitemsitem["value"].asString(); - if(!dataNodeScRulesscRuleitemsitem["cond"].isNull()) - itemsObject.cond = dataNodeScRulesscRuleitemsitem["cond"].asString(); - if(!dataNodeScRulesscRuleitemsitem["type"].isNull()) - itemsObject.type = dataNodeScRulesscRuleitemsitem["type"].asString(); - if(!dataNodeScRulesscRuleitemsitem["name"].isNull()) - itemsObject.name = dataNodeScRulesscRuleitemsitem["name"].asString(); + Data::ScRule::Scrulesitem itemsObject; + if(!dataNodeScRulesscRuleitemsScrulesitem["type"].isNull()) + itemsObject.type = dataNodeScRulesscRuleitemsScrulesitem["type"].asString(); + if(!dataNodeScRulesscRuleitemsScrulesitem["name"].isNull()) + itemsObject.name = dataNodeScRulesscRuleitemsScrulesitem["name"].asString(); + if(!dataNodeScRulesscRuleitemsScrulesitem["operator"].isNull()) + itemsObject._operator = dataNodeScRulesscRuleitemsScrulesitem["operator"].asString(); + if(!dataNodeScRulesscRuleitemsScrulesitem["value"].isNull()) + itemsObject.value = dataNodeScRulesscRuleitemsScrulesitem["value"].asString(); + if(!dataNodeScRulesscRuleitemsScrulesitem["cond"].isNull()) + itemsObject.cond = dataNodeScRulesscRuleitemsScrulesitem["cond"].asString(); + if(!dataNodeScRulesscRuleitemsScrulesitem["index"].isNull()) + itemsObject.index = std::stoi(dataNodeScRulesscRuleitemsScrulesitem["index"].asString()); + if(!dataNodeScRulesscRuleitemsScrulesitem["expr"].isNull()) + itemsObject.expr = dataNodeScRulesscRuleitemsScrulesitem["expr"].asString(); scRuleObject.items.push_back(itemsObject); } data_.scRules.push_back(scRuleObject); @@ -99,7 +99,7 @@ void DescribeGreyTagRouteResult::parse(const std::string &payload) auto allitems1Node = dataNodeDubboRulesdubboRule["items"]["item"]; for (auto dataNodeDubboRulesdubboRuleitemsitem : allitems1Node) { - Data::DubboRule::Item2 items1Object; + Data::DubboRule::Item items1Object; if(!dataNodeDubboRulesdubboRuleitemsitem["index"].isNull()) items1Object.index = std::stoi(dataNodeDubboRulesdubboRuleitemsitem["index"].asString()); if(!dataNodeDubboRulesdubboRuleitemsitem["expr"].isNull()) diff --git a/sae/src/model/DescribeIngressRequest.cc b/sae/src/model/DescribeIngressRequest.cc index 12d5caa93..b2837dcb4 100644 --- a/sae/src/model/DescribeIngressRequest.cc +++ b/sae/src/model/DescribeIngressRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::DescribeIngressRequest; - -DescribeIngressRequest::DescribeIngressRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/ingress/Ingress"); - setMethod(HttpRequest::Method::Get); -} - -DescribeIngressRequest::~DescribeIngressRequest() -{} - -long DescribeIngressRequest::getIngressId()const -{ - return ingressId_; + */ + +#include + +using AlibabaCloud::Sae::Model::DescribeIngressRequest; + +DescribeIngressRequest::DescribeIngressRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/ingress/Ingress"}; + setMethod(HttpRequest::Method::Get); } -void DescribeIngressRequest::setIngressId(long ingressId) -{ - ingressId_ = ingressId; - setParameter("IngressId", std::to_string(ingressId)); +DescribeIngressRequest::~DescribeIngressRequest() {} + +long DescribeIngressRequest::getIngressId() const { + return ingressId_; +} + +void DescribeIngressRequest::setIngressId(long ingressId) { + ingressId_ = ingressId; + setParameter(std::string("IngressId"), std::to_string(ingressId)); } diff --git a/sae/src/model/DescribeIngressResult.cc b/sae/src/model/DescribeIngressResult.cc index 0684b76c2..5327834cb 100644 --- a/sae/src/model/DescribeIngressResult.cc +++ b/sae/src/model/DescribeIngressResult.cc @@ -40,55 +40,59 @@ void DescribeIngressResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto dataNode = value["Data"]; - if(!dataNode["Id"].isNull()) - data_.id = std::stol(dataNode["Id"].asString()); - if(!dataNode["Name"].isNull()) - data_.name = dataNode["Name"].asString(); + if(!dataNode["SlbId"].isNull()) + data_.slbId = dataNode["SlbId"].asString(); if(!dataNode["NamespaceId"].isNull()) data_.namespaceId = dataNode["NamespaceId"].asString(); if(!dataNode["Description"].isNull()) data_.description = dataNode["Description"].asString(); - if(!dataNode["SlbId"].isNull()) - data_.slbId = dataNode["SlbId"].asString(); if(!dataNode["ListenerPort"].isNull()) data_.listenerPort = std::stoi(dataNode["ListenerPort"].asString()); - if(!dataNode["CertId"].isNull()) - data_.certId = dataNode["CertId"].asString(); if(!dataNode["SlbType"].isNull()) data_.slbType = dataNode["SlbType"].asString(); + if(!dataNode["CertId"].isNull()) + data_.certId = dataNode["CertId"].asString(); + if(!dataNode["Name"].isNull()) + data_.name = dataNode["Name"].asString(); + if(!dataNode["Id"].isNull()) + data_.id = std::stol(dataNode["Id"].asString()); + if(!dataNode["LoadBalanceType"].isNull()) + data_.loadBalanceType = dataNode["LoadBalanceType"].asString(); + if(!dataNode["ListenerProtocol"].isNull()) + data_.listenerProtocol = dataNode["ListenerProtocol"].asString(); auto allRulesNode = dataNode["Rules"]["Rule"]; for (auto dataNodeRulesRule : allRulesNode) { Data::Rule ruleObject; - if(!dataNodeRulesRule["AppId"].isNull()) - ruleObject.appId = dataNodeRulesRule["AppId"].asString(); + if(!dataNodeRulesRule["AppName"].isNull()) + ruleObject.appName = dataNodeRulesRule["AppName"].asString(); if(!dataNodeRulesRule["ContainerPort"].isNull()) ruleObject.containerPort = std::stoi(dataNodeRulesRule["ContainerPort"].asString()); if(!dataNodeRulesRule["Domain"].isNull()) ruleObject.domain = dataNodeRulesRule["Domain"].asString(); + if(!dataNodeRulesRule["AppId"].isNull()) + ruleObject.appId = dataNodeRulesRule["AppId"].asString(); if(!dataNodeRulesRule["Path"].isNull()) ruleObject.path = dataNodeRulesRule["Path"].asString(); - if(!dataNodeRulesRule["AppName"].isNull()) - ruleObject.appName = dataNodeRulesRule["AppName"].asString(); data_.rules.push_back(ruleObject); } auto defaultRuleNode = dataNode["DefaultRule"]; - if(!defaultRuleNode["AppId"].isNull()) - data_.defaultRule.appId = defaultRuleNode["AppId"].asString(); if(!defaultRuleNode["ContainerPort"].isNull()) data_.defaultRule.containerPort = std::stoi(defaultRuleNode["ContainerPort"].asString()); if(!defaultRuleNode["AppName"].isNull()) data_.defaultRule.appName = defaultRuleNode["AppName"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); + if(!defaultRuleNode["AppId"].isNull()) + data_.defaultRule.appId = defaultRuleNode["AppId"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/DescribeInstanceLogRequest.cc b/sae/src/model/DescribeInstanceLogRequest.cc index 1a9b7cac9..884e92187 100644 --- a/sae/src/model/DescribeInstanceLogRequest.cc +++ b/sae/src/model/DescribeInstanceLogRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::DescribeInstanceLogRequest; - -DescribeInstanceLogRequest::DescribeInstanceLogRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/instance/describeInstanceLog"); - setMethod(HttpRequest::Method::Get); -} - -DescribeInstanceLogRequest::~DescribeInstanceLogRequest() -{} - -std::string DescribeInstanceLogRequest::getInstanceId()const -{ - return instanceId_; + */ + +#include + +using AlibabaCloud::Sae::Model::DescribeInstanceLogRequest; + +DescribeInstanceLogRequest::DescribeInstanceLogRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/instance/describeInstanceLog"}; + setMethod(HttpRequest::Method::Get); } -void DescribeInstanceLogRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +DescribeInstanceLogRequest::~DescribeInstanceLogRequest() {} + +std::string DescribeInstanceLogRequest::getInstanceId() const { + return instanceId_; +} + +void DescribeInstanceLogRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/sae/src/model/DescribeInstanceLogResult.cc b/sae/src/model/DescribeInstanceLogResult.cc index d922b4e15..717e28582 100644 --- a/sae/src/model/DescribeInstanceLogResult.cc +++ b/sae/src/model/DescribeInstanceLogResult.cc @@ -39,18 +39,18 @@ void DescribeInstanceLogResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); if(!value["Data"].isNull()) data_ = value["Data"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/DescribeInstanceSpecificationsRequest.cc b/sae/src/model/DescribeInstanceSpecificationsRequest.cc index ddefc8ddc..e4558f663 100644 --- a/sae/src/model/DescribeInstanceSpecificationsRequest.cc +++ b/sae/src/model/DescribeInstanceSpecificationsRequest.cc @@ -1,30 +1,28 @@ /* * 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::Sae::Model::DescribeInstanceSpecificationsRequest; - -DescribeInstanceSpecificationsRequest::DescribeInstanceSpecificationsRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/paas/quota/instanceSpecifications"); - setMethod(HttpRequest::Method::Get); -} - -DescribeInstanceSpecificationsRequest::~DescribeInstanceSpecificationsRequest() -{} - + */ + +#include + +using AlibabaCloud::Sae::Model::DescribeInstanceSpecificationsRequest; + +DescribeInstanceSpecificationsRequest::DescribeInstanceSpecificationsRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/paas/quota/instanceSpecifications"}; + setMethod(HttpRequest::Method::Get); +} + +DescribeInstanceSpecificationsRequest::~DescribeInstanceSpecificationsRequest() {} + diff --git a/sae/src/model/DescribeInstanceSpecificationsResult.cc b/sae/src/model/DescribeInstanceSpecificationsResult.cc index 864422da7..9d50edb39 100644 --- a/sae/src/model/DescribeInstanceSpecificationsResult.cc +++ b/sae/src/model/DescribeInstanceSpecificationsResult.cc @@ -45,28 +45,28 @@ void DescribeInstanceSpecificationsResult::parse(const std::string &payload) DataItem dataObject; if(!valueDataDataItem["Cpu"].isNull()) dataObject.cpu = std::stoi(valueDataDataItem["Cpu"].asString()); - if(!valueDataDataItem["Enable"].isNull()) - dataObject.enable = valueDataDataItem["Enable"].asString() == "true"; - if(!valueDataDataItem["Id"].isNull()) - dataObject.id = std::stoi(valueDataDataItem["Id"].asString()); + if(!valueDataDataItem["Version"].isNull()) + dataObject.version = std::stoi(valueDataDataItem["Version"].asString()); if(!valueDataDataItem["Memory"].isNull()) dataObject.memory = std::stoi(valueDataDataItem["Memory"].asString()); if(!valueDataDataItem["SpecInfo"].isNull()) dataObject.specInfo = valueDataDataItem["SpecInfo"].asString(); - if(!valueDataDataItem["Version"].isNull()) - dataObject.version = std::stoi(valueDataDataItem["Version"].asString()); + if(!valueDataDataItem["Id"].isNull()) + dataObject.id = std::stoi(valueDataDataItem["Id"].asString()); + if(!valueDataDataItem["Enable"].isNull()) + dataObject.enable = valueDataDataItem["Enable"].asString() == "true"; data_.push_back(dataObject); } - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/DescribeNamespaceListRequest.cc b/sae/src/model/DescribeNamespaceListRequest.cc index 3cd25d580..093d15b6a 100644 --- a/sae/src/model/DescribeNamespaceListRequest.cc +++ b/sae/src/model/DescribeNamespaceListRequest.cc @@ -1,52 +1,46 @@ /* * 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::Sae::Model::DescribeNamespaceListRequest; - -DescribeNamespaceListRequest::DescribeNamespaceListRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/namespace/describeNamespaceList"); - setMethod(HttpRequest::Method::Get); -} - -DescribeNamespaceListRequest::~DescribeNamespaceListRequest() -{} - -bool DescribeNamespaceListRequest::getHybridCloudExclude()const -{ - return hybridCloudExclude_; + */ + +#include + +using AlibabaCloud::Sae::Model::DescribeNamespaceListRequest; + +DescribeNamespaceListRequest::DescribeNamespaceListRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/namespace/describeNamespaceList"}; + setMethod(HttpRequest::Method::Get); } -void DescribeNamespaceListRequest::setHybridCloudExclude(bool hybridCloudExclude) -{ - hybridCloudExclude_ = hybridCloudExclude; - setParameter("HybridCloudExclude", hybridCloudExclude ? "true" : "false"); +DescribeNamespaceListRequest::~DescribeNamespaceListRequest() {} + +bool DescribeNamespaceListRequest::getHybridCloudExclude() const { + return hybridCloudExclude_; } -bool DescribeNamespaceListRequest::getContainCustom()const -{ - return containCustom_; +void DescribeNamespaceListRequest::setHybridCloudExclude(bool hybridCloudExclude) { + hybridCloudExclude_ = hybridCloudExclude; + setParameter(std::string("HybridCloudExclude"), hybridCloudExclude ? "true" : "false"); } -void DescribeNamespaceListRequest::setContainCustom(bool containCustom) -{ - containCustom_ = containCustom; - setParameter("ContainCustom", containCustom ? "true" : "false"); +bool DescribeNamespaceListRequest::getContainCustom() const { + return containCustom_; +} + +void DescribeNamespaceListRequest::setContainCustom(bool containCustom) { + containCustom_ = containCustom; + setParameter(std::string("ContainCustom"), containCustom ? "true" : "false"); } diff --git a/sae/src/model/DescribeNamespaceListResult.cc b/sae/src/model/DescribeNamespaceListResult.cc index 949826e2a..8a71313b3 100644 --- a/sae/src/model/DescribeNamespaceListResult.cc +++ b/sae/src/model/DescribeNamespaceListResult.cc @@ -43,38 +43,38 @@ void DescribeNamespaceListResult::parse(const std::string &payload) for (auto valueDataRegionList : allDataNode) { RegionList dataObject; - if(!valueDataRegionList["NamespaceName"].isNull()) - dataObject.namespaceName = valueDataRegionList["NamespaceName"].asString(); - if(!valueDataRegionList["NamespaceId"].isNull()) - dataObject.namespaceId = valueDataRegionList["NamespaceId"].asString(); - if(!valueDataRegionList["AgentInstall"].isNull()) - dataObject.agentInstall = valueDataRegionList["AgentInstall"].asString(); - if(!valueDataRegionList["Current"].isNull()) - dataObject.current = valueDataRegionList["Current"].asString() == "true"; - if(!valueDataRegionList["Custom"].isNull()) - dataObject.custom = valueDataRegionList["Custom"].asString() == "true"; - if(!valueDataRegionList["RegionId"].isNull()) - dataObject.regionId = valueDataRegionList["RegionId"].asString(); - if(!valueDataRegionList["HybridCloudEnable"].isNull()) - dataObject.hybridCloudEnable = valueDataRegionList["HybridCloudEnable"].asString() == "true"; if(!valueDataRegionList["VpcId"].isNull()) dataObject.vpcId = valueDataRegionList["VpcId"].asString(); if(!valueDataRegionList["VSwitchId"].isNull()) dataObject.vSwitchId = valueDataRegionList["VSwitchId"].asString(); + if(!valueDataRegionList["Custom"].isNull()) + dataObject.custom = valueDataRegionList["Custom"].asString() == "true"; + if(!valueDataRegionList["AgentInstall"].isNull()) + dataObject.agentInstall = valueDataRegionList["AgentInstall"].asString(); + if(!valueDataRegionList["NamespaceId"].isNull()) + dataObject.namespaceId = valueDataRegionList["NamespaceId"].asString(); + if(!valueDataRegionList["HybridCloudEnable"].isNull()) + dataObject.hybridCloudEnable = valueDataRegionList["HybridCloudEnable"].asString() == "true"; if(!valueDataRegionList["SecurityGroupId"].isNull()) dataObject.securityGroupId = valueDataRegionList["SecurityGroupId"].asString(); + if(!valueDataRegionList["Current"].isNull()) + dataObject.current = valueDataRegionList["Current"].asString() == "true"; + if(!valueDataRegionList["NamespaceName"].isNull()) + dataObject.namespaceName = valueDataRegionList["NamespaceName"].asString(); + if(!valueDataRegionList["RegionId"].isNull()) + dataObject.regionId = valueDataRegionList["RegionId"].asString(); data_.push_back(dataObject); } - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/DescribeNamespaceRequest.cc b/sae/src/model/DescribeNamespaceRequest.cc index 79754c207..95d0db941 100644 --- a/sae/src/model/DescribeNamespaceRequest.cc +++ b/sae/src/model/DescribeNamespaceRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::DescribeNamespaceRequest; - -DescribeNamespaceRequest::DescribeNamespaceRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/paas/namespace"); - setMethod(HttpRequest::Method::Get); -} - -DescribeNamespaceRequest::~DescribeNamespaceRequest() -{} - -std::string DescribeNamespaceRequest::getNamespaceId()const -{ - return namespaceId_; + */ + +#include + +using AlibabaCloud::Sae::Model::DescribeNamespaceRequest; + +DescribeNamespaceRequest::DescribeNamespaceRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/paas/namespace"}; + setMethod(HttpRequest::Method::Get); } -void DescribeNamespaceRequest::setNamespaceId(const std::string& namespaceId) -{ - namespaceId_ = namespaceId; - setParameter("NamespaceId", namespaceId); +DescribeNamespaceRequest::~DescribeNamespaceRequest() {} + +std::string DescribeNamespaceRequest::getNamespaceId() const { + return namespaceId_; +} + +void DescribeNamespaceRequest::setNamespaceId(const std::string &namespaceId) { + namespaceId_ = namespaceId; + setParameter(std::string("NamespaceId"), namespaceId); } diff --git a/sae/src/model/DescribeNamespaceResourcesRequest.cc b/sae/src/model/DescribeNamespaceResourcesRequest.cc index 89494726d..43e6271b9 100644 --- a/sae/src/model/DescribeNamespaceResourcesRequest.cc +++ b/sae/src/model/DescribeNamespaceResourcesRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::DescribeNamespaceResourcesRequest; - -DescribeNamespaceResourcesRequest::DescribeNamespaceResourcesRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/namespace/describeNamespaceResources"); - setMethod(HttpRequest::Method::Get); -} - -DescribeNamespaceResourcesRequest::~DescribeNamespaceResourcesRequest() -{} - -std::string DescribeNamespaceResourcesRequest::getNamespaceId()const -{ - return namespaceId_; + */ + +#include + +using AlibabaCloud::Sae::Model::DescribeNamespaceResourcesRequest; + +DescribeNamespaceResourcesRequest::DescribeNamespaceResourcesRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/namespace/describeNamespaceResources"}; + setMethod(HttpRequest::Method::Get); } -void DescribeNamespaceResourcesRequest::setNamespaceId(const std::string& namespaceId) -{ - namespaceId_ = namespaceId; - setParameter("NamespaceId", namespaceId); +DescribeNamespaceResourcesRequest::~DescribeNamespaceResourcesRequest() {} + +std::string DescribeNamespaceResourcesRequest::getNamespaceId() const { + return namespaceId_; +} + +void DescribeNamespaceResourcesRequest::setNamespaceId(const std::string &namespaceId) { + namespaceId_ = namespaceId; + setParameter(std::string("NamespaceId"), namespaceId); } diff --git a/sae/src/model/DescribeNamespaceResourcesResult.cc b/sae/src/model/DescribeNamespaceResourcesResult.cc index cb6915eca..a13a7c509 100644 --- a/sae/src/model/DescribeNamespaceResourcesResult.cc +++ b/sae/src/model/DescribeNamespaceResourcesResult.cc @@ -40,46 +40,48 @@ void DescribeNamespaceResourcesResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto dataNode = value["Data"]; - if(!dataNode["NamespaceId"].isNull()) - data_.namespaceId = dataNode["NamespaceId"].asString(); - if(!dataNode["NamespaceName"].isNull()) - data_.namespaceName = dataNode["NamespaceName"].asString(); - if(!dataNode["Description"].isNull()) - data_.description = dataNode["Description"].asString(); - if(!dataNode["UserId"].isNull()) - data_.userId = dataNode["UserId"].asString(); - if(!dataNode["BelongRegion"].isNull()) - data_.belongRegion = dataNode["BelongRegion"].asString(); - if(!dataNode["TenantId"].isNull()) - data_.tenantId = dataNode["TenantId"].asString(); if(!dataNode["VpcId"].isNull()) data_.vpcId = dataNode["VpcId"].asString(); - if(!dataNode["VSwitchId"].isNull()) - data_.vSwitchId = dataNode["VSwitchId"].asString(); - if(!dataNode["SecurityGroupId"].isNull()) - data_.securityGroupId = dataNode["SecurityGroupId"].asString(); - if(!dataNode["AppCount"].isNull()) - data_.appCount = std::stol(dataNode["AppCount"].asString()); if(!dataNode["LastChangeOrderId"].isNull()) data_.lastChangeOrderId = dataNode["LastChangeOrderId"].asString(); + if(!dataNode["BelongRegion"].isNull()) + data_.belongRegion = dataNode["BelongRegion"].asString(); + if(!dataNode["NamespaceId"].isNull()) + data_.namespaceId = dataNode["NamespaceId"].asString(); + if(!dataNode["SecurityGroupId"].isNull()) + data_.securityGroupId = dataNode["SecurityGroupId"].asString(); + if(!dataNode["UserId"].isNull()) + data_.userId = dataNode["UserId"].asString(); + if(!dataNode["NamespaceName"].isNull()) + data_.namespaceName = dataNode["NamespaceName"].asString(); if(!dataNode["LastChangeOrderStatus"].isNull()) data_.lastChangeOrderStatus = dataNode["LastChangeOrderStatus"].asString(); - if(!dataNode["LastChangeOrderRunning"].isNull()) - data_.lastChangeOrderRunning = dataNode["LastChangeOrderRunning"].asString() == "true"; if(!dataNode["VpcName"].isNull()) data_.vpcName = dataNode["VpcName"].asString(); + if(!dataNode["VSwitchId"].isNull()) + data_.vSwitchId = dataNode["VSwitchId"].asString(); + if(!dataNode["Description"].isNull()) + data_.description = dataNode["Description"].asString(); + if(!dataNode["LastChangeOrderRunning"].isNull()) + data_.lastChangeOrderRunning = dataNode["LastChangeOrderRunning"].asString() == "true"; + if(!dataNode["AppCount"].isNull()) + data_.appCount = std::stol(dataNode["AppCount"].asString()); if(!dataNode["VSwitchName"].isNull()) data_.vSwitchName = dataNode["VSwitchName"].asString(); if(!dataNode["NotificationExpired"].isNull()) data_.notificationExpired = dataNode["NotificationExpired"].asString() == "true"; - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); + if(!dataNode["TenantId"].isNull()) + data_.tenantId = dataNode["TenantId"].asString(); + if(!dataNode["JumpServerAppId"].isNull()) + data_.jumpServerAppId = dataNode["JumpServerAppId"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; diff --git a/sae/src/model/DescribeNamespaceResult.cc b/sae/src/model/DescribeNamespaceResult.cc index eb89310e4..c1a4baaed 100644 --- a/sae/src/model/DescribeNamespaceResult.cc +++ b/sae/src/model/DescribeNamespaceResult.cc @@ -40,24 +40,24 @@ void DescribeNamespaceResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto dataNode = value["Data"]; - if(!dataNode["RegionId"].isNull()) - data_.regionId = dataNode["RegionId"].asString(); + if(!dataNode["NamespaceDescription"].isNull()) + data_.namespaceDescription = dataNode["NamespaceDescription"].asString(); if(!dataNode["NamespaceId"].isNull()) data_.namespaceId = dataNode["NamespaceId"].asString(); if(!dataNode["NamespaceName"].isNull()) data_.namespaceName = dataNode["NamespaceName"].asString(); - if(!dataNode["NamespaceDescription"].isNull()) - data_.namespaceDescription = dataNode["NamespaceDescription"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); + if(!dataNode["RegionId"].isNull()) + data_.regionId = dataNode["RegionId"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/DescribeNamespacesRequest.cc b/sae/src/model/DescribeNamespacesRequest.cc index 8b57e0137..220e31565 100644 --- a/sae/src/model/DescribeNamespacesRequest.cc +++ b/sae/src/model/DescribeNamespacesRequest.cc @@ -1,52 +1,46 @@ /* * 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::Sae::Model::DescribeNamespacesRequest; - -DescribeNamespacesRequest::DescribeNamespacesRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/paas/namespaces"); - setMethod(HttpRequest::Method::Get); -} - -DescribeNamespacesRequest::~DescribeNamespacesRequest() -{} - -int DescribeNamespacesRequest::getPageSize()const -{ - return pageSize_; + */ + +#include + +using AlibabaCloud::Sae::Model::DescribeNamespacesRequest; + +DescribeNamespacesRequest::DescribeNamespacesRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/paas/namespaces"}; + setMethod(HttpRequest::Method::Get); } -void DescribeNamespacesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +DescribeNamespacesRequest::~DescribeNamespacesRequest() {} + +int DescribeNamespacesRequest::getPageSize() const { + return pageSize_; } -int DescribeNamespacesRequest::getCurrentPage()const -{ - return currentPage_; +void DescribeNamespacesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void DescribeNamespacesRequest::setCurrentPage(int currentPage) -{ - currentPage_ = currentPage; - setParameter("CurrentPage", std::to_string(currentPage)); +int DescribeNamespacesRequest::getCurrentPage() const { + return currentPage_; +} + +void DescribeNamespacesRequest::setCurrentPage(int currentPage) { + currentPage_ = currentPage; + setParameter(std::string("CurrentPage"), std::to_string(currentPage)); } diff --git a/sae/src/model/DescribePipelineRequest.cc b/sae/src/model/DescribePipelineRequest.cc index 52c61a111..ba4fa52a5 100644 --- a/sae/src/model/DescribePipelineRequest.cc +++ b/sae/src/model/DescribePipelineRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::DescribePipelineRequest; - -DescribePipelineRequest::DescribePipelineRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/changeorder/DescribePipeline"); - setMethod(HttpRequest::Method::Get); -} - -DescribePipelineRequest::~DescribePipelineRequest() -{} - -std::string DescribePipelineRequest::getPipelineId()const -{ - return pipelineId_; + */ + +#include + +using AlibabaCloud::Sae::Model::DescribePipelineRequest; + +DescribePipelineRequest::DescribePipelineRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/changeorder/DescribePipeline"}; + setMethod(HttpRequest::Method::Get); } -void DescribePipelineRequest::setPipelineId(const std::string& pipelineId) -{ - pipelineId_ = pipelineId; - setParameter("PipelineId", pipelineId); +DescribePipelineRequest::~DescribePipelineRequest() {} + +std::string DescribePipelineRequest::getPipelineId() const { + return pipelineId_; +} + +void DescribePipelineRequest::setPipelineId(const std::string &pipelineId) { + pipelineId_ = pipelineId; + setParameter(std::string("PipelineId"), pipelineId); } diff --git a/sae/src/model/DescribeRegionsRequest.cc b/sae/src/model/DescribeRegionsRequest.cc index 95e110dad..f46e1d715 100644 --- a/sae/src/model/DescribeRegionsRequest.cc +++ b/sae/src/model/DescribeRegionsRequest.cc @@ -1,30 +1,28 @@ /* * 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::Sae::Model::DescribeRegionsRequest; - -DescribeRegionsRequest::DescribeRegionsRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/paas/regionConfig"); - setMethod(HttpRequest::Method::Get); -} - -DescribeRegionsRequest::~DescribeRegionsRequest() -{} - + */ + +#include + +using AlibabaCloud::Sae::Model::DescribeRegionsRequest; + +DescribeRegionsRequest::DescribeRegionsRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/paas/regionConfig"}; + setMethod(HttpRequest::Method::Get); +} + +DescribeRegionsRequest::~DescribeRegionsRequest() {} + diff --git a/sae/src/model/DisableApplicationScalingRuleRequest.cc b/sae/src/model/DisableApplicationScalingRuleRequest.cc index 0ad64cab7..061e02a8a 100644 --- a/sae/src/model/DisableApplicationScalingRuleRequest.cc +++ b/sae/src/model/DisableApplicationScalingRuleRequest.cc @@ -1,52 +1,46 @@ /* * 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::Sae::Model::DisableApplicationScalingRuleRequest; - -DisableApplicationScalingRuleRequest::DisableApplicationScalingRuleRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/scale/disableApplicationScalingRule"); - setMethod(HttpRequest::Method::Put); -} - -DisableApplicationScalingRuleRequest::~DisableApplicationScalingRuleRequest() -{} - -std::string DisableApplicationScalingRuleRequest::getScalingRuleName()const -{ - return scalingRuleName_; + */ + +#include + +using AlibabaCloud::Sae::Model::DisableApplicationScalingRuleRequest; + +DisableApplicationScalingRuleRequest::DisableApplicationScalingRuleRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/scale/disableApplicationScalingRule"}; + setMethod(HttpRequest::Method::Put); } -void DisableApplicationScalingRuleRequest::setScalingRuleName(const std::string& scalingRuleName) -{ - scalingRuleName_ = scalingRuleName; - setParameter("ScalingRuleName", scalingRuleName); +DisableApplicationScalingRuleRequest::~DisableApplicationScalingRuleRequest() {} + +std::string DisableApplicationScalingRuleRequest::getScalingRuleName() const { + return scalingRuleName_; } -std::string DisableApplicationScalingRuleRequest::getAppId()const -{ - return appId_; +void DisableApplicationScalingRuleRequest::setScalingRuleName(const std::string &scalingRuleName) { + scalingRuleName_ = scalingRuleName; + setParameter(std::string("ScalingRuleName"), scalingRuleName); } -void DisableApplicationScalingRuleRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string DisableApplicationScalingRuleRequest::getAppId() const { + return appId_; +} + +void DisableApplicationScalingRuleRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/sae/src/model/DownloadFilesRequest.cc b/sae/src/model/DownloadFilesRequest.cc deleted file mode 100644 index 207695f1d..000000000 --- a/sae/src/model/DownloadFilesRequest.cc +++ /dev/null @@ -1,63 +0,0 @@ -/* - * 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::Sae::Model::DownloadFilesRequest; - -DownloadFilesRequest::DownloadFilesRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/downloadFiles"); - setMethod(HttpRequest::Method::Post); -} - -DownloadFilesRequest::~DownloadFilesRequest() -{} - -std::string DownloadFilesRequest::getInstanceId()const -{ - return instanceId_; -} - -void DownloadFilesRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string DownloadFilesRequest::getLocalpath()const -{ - return localpath_; -} - -void DownloadFilesRequest::setLocalpath(const std::string& localpath) -{ - localpath_ = localpath; - setParameter("Localpath", localpath); -} - -std::string DownloadFilesRequest::getAppId()const -{ - return appId_; -} - -void DownloadFilesRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); -} - diff --git a/sae/src/model/EnableApplicationScalingRuleRequest.cc b/sae/src/model/EnableApplicationScalingRuleRequest.cc index 6790af2f7..137be60de 100644 --- a/sae/src/model/EnableApplicationScalingRuleRequest.cc +++ b/sae/src/model/EnableApplicationScalingRuleRequest.cc @@ -1,52 +1,46 @@ /* * 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::Sae::Model::EnableApplicationScalingRuleRequest; - -EnableApplicationScalingRuleRequest::EnableApplicationScalingRuleRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/scale/enableApplicationScalingRule"); - setMethod(HttpRequest::Method::Put); -} - -EnableApplicationScalingRuleRequest::~EnableApplicationScalingRuleRequest() -{} - -std::string EnableApplicationScalingRuleRequest::getScalingRuleName()const -{ - return scalingRuleName_; + */ + +#include + +using AlibabaCloud::Sae::Model::EnableApplicationScalingRuleRequest; + +EnableApplicationScalingRuleRequest::EnableApplicationScalingRuleRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/scale/enableApplicationScalingRule"}; + setMethod(HttpRequest::Method::Put); } -void EnableApplicationScalingRuleRequest::setScalingRuleName(const std::string& scalingRuleName) -{ - scalingRuleName_ = scalingRuleName; - setParameter("ScalingRuleName", scalingRuleName); +EnableApplicationScalingRuleRequest::~EnableApplicationScalingRuleRequest() {} + +std::string EnableApplicationScalingRuleRequest::getScalingRuleName() const { + return scalingRuleName_; } -std::string EnableApplicationScalingRuleRequest::getAppId()const -{ - return appId_; +void EnableApplicationScalingRuleRequest::setScalingRuleName(const std::string &scalingRuleName) { + scalingRuleName_ = scalingRuleName; + setParameter(std::string("ScalingRuleName"), scalingRuleName); } -void EnableApplicationScalingRuleRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string EnableApplicationScalingRuleRequest::getAppId() const { + return appId_; +} + +void EnableApplicationScalingRuleRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/sae/src/model/ListAppEventsRequest.cc b/sae/src/model/ListAppEventsRequest.cc index 4bd9c14e4..067afad1a 100644 --- a/sae/src/model/ListAppEventsRequest.cc +++ b/sae/src/model/ListAppEventsRequest.cc @@ -1,118 +1,100 @@ /* * 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::Sae::Model::ListAppEventsRequest; - -ListAppEventsRequest::ListAppEventsRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/listAppEvents"); - setMethod(HttpRequest::Method::Get); -} - -ListAppEventsRequest::~ListAppEventsRequest() -{} - -std::string ListAppEventsRequest::getReason()const -{ - return reason_; + */ + +#include + +using AlibabaCloud::Sae::Model::ListAppEventsRequest; + +ListAppEventsRequest::ListAppEventsRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/listAppEvents"}; + setMethod(HttpRequest::Method::Get); } -void ListAppEventsRequest::setReason(const std::string& reason) -{ - reason_ = reason; - setParameter("Reason", reason); +ListAppEventsRequest::~ListAppEventsRequest() {} + +std::string ListAppEventsRequest::getReason() const { + return reason_; } -std::string ListAppEventsRequest::getObjectKind()const -{ - return objectKind_; +void ListAppEventsRequest::setReason(const std::string &reason) { + reason_ = reason; + setParameter(std::string("Reason"), reason); } -void ListAppEventsRequest::setObjectKind(const std::string& objectKind) -{ - objectKind_ = objectKind; - setParameter("ObjectKind", objectKind); +std::string ListAppEventsRequest::getObjectKind() const { + return objectKind_; } -std::string ListAppEventsRequest::getAppId()const -{ - return appId_; +void ListAppEventsRequest::setObjectKind(const std::string &objectKind) { + objectKind_ = objectKind; + setParameter(std::string("ObjectKind"), objectKind); } -void ListAppEventsRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string ListAppEventsRequest::getAppId() const { + return appId_; } -int ListAppEventsRequest::getPageSize()const -{ - return pageSize_; +void ListAppEventsRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -void ListAppEventsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListAppEventsRequest::getPageSize() const { + return pageSize_; } -std::string ListAppEventsRequest::getObjectName()const -{ - return objectName_; +void ListAppEventsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListAppEventsRequest::setObjectName(const std::string& objectName) -{ - objectName_ = objectName; - setParameter("ObjectName", objectName); +std::string ListAppEventsRequest::getObjectName() const { + return objectName_; } -std::string ListAppEventsRequest::get_Namespace()const -{ - return _namespace_; +void ListAppEventsRequest::setObjectName(const std::string &objectName) { + objectName_ = objectName; + setParameter(std::string("ObjectName"), objectName); } -void ListAppEventsRequest::set_Namespace(const std::string& _namespace) -{ - _namespace_ = _namespace; - setParameter("_Namespace", _namespace); +std::string ListAppEventsRequest::get_Namespace() const { + return _namespace_; } -int ListAppEventsRequest::getCurrentPage()const -{ - return currentPage_; +void ListAppEventsRequest::set_Namespace(const std::string &_namespace) { + _namespace_ = _namespace; + setParameter(std::string("Namespace"), _namespace); } -void ListAppEventsRequest::setCurrentPage(int currentPage) -{ - currentPage_ = currentPage; - setParameter("CurrentPage", std::to_string(currentPage)); +int ListAppEventsRequest::getCurrentPage() const { + return currentPage_; } -std::string ListAppEventsRequest::getEventType()const -{ - return eventType_; +void ListAppEventsRequest::setCurrentPage(int currentPage) { + currentPage_ = currentPage; + setParameter(std::string("CurrentPage"), std::to_string(currentPage)); } -void ListAppEventsRequest::setEventType(const std::string& eventType) -{ - eventType_ = eventType; - setParameter("EventType", eventType); +std::string ListAppEventsRequest::getEventType() const { + return eventType_; +} + +void ListAppEventsRequest::setEventType(const std::string &eventType) { + eventType_ = eventType; + setParameter(std::string("EventType"), eventType); } diff --git a/sae/src/model/ListAppEventsResult.cc b/sae/src/model/ListAppEventsResult.cc index c7409140c..9f036a494 100644 --- a/sae/src/model/ListAppEventsResult.cc +++ b/sae/src/model/ListAppEventsResult.cc @@ -42,38 +42,38 @@ void ListAppEventsResult::parse(const std::string &payload) auto dataNode = value["Data"]; if(!dataNode["CurrentPage"].isNull()) data_.currentPage = std::stoi(dataNode["CurrentPage"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); if(!dataNode["TotalSize"].isNull()) data_.totalSize = std::stoi(dataNode["TotalSize"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); auto allAppEventEntityNode = dataNode["AppEventEntity"]["AppEventEntityItem"]; for (auto dataNodeAppEventEntityAppEventEntityItem : allAppEventEntityNode) { Data::AppEventEntityItem appEventEntityItemObject; if(!dataNodeAppEventEntityAppEventEntityItem["ObjectKind"].isNull()) appEventEntityItemObject.objectKind = dataNodeAppEventEntityAppEventEntityItem["ObjectKind"].asString(); - if(!dataNodeAppEventEntityAppEventEntityItem["ObjectName"].isNull()) - appEventEntityItemObject.objectName = dataNodeAppEventEntityAppEventEntityItem["ObjectName"].asString(); if(!dataNodeAppEventEntityAppEventEntityItem["EventType"].isNull()) appEventEntityItemObject.eventType = dataNodeAppEventEntityAppEventEntityItem["EventType"].asString(); - if(!dataNodeAppEventEntityAppEventEntityItem["Message"].isNull()) - appEventEntityItemObject.message = dataNodeAppEventEntityAppEventEntityItem["Message"].asString(); - if(!dataNodeAppEventEntityAppEventEntityItem["FirstTimestamp"].isNull()) - appEventEntityItemObject.firstTimestamp = dataNodeAppEventEntityAppEventEntityItem["FirstTimestamp"].asString(); if(!dataNodeAppEventEntityAppEventEntityItem["LastTimestamp"].isNull()) appEventEntityItemObject.lastTimestamp = dataNodeAppEventEntityAppEventEntityItem["LastTimestamp"].asString(); + if(!dataNodeAppEventEntityAppEventEntityItem["Message"].isNull()) + appEventEntityItemObject.message = dataNodeAppEventEntityAppEventEntityItem["Message"].asString(); + if(!dataNodeAppEventEntityAppEventEntityItem["ObjectName"].isNull()) + appEventEntityItemObject.objectName = dataNodeAppEventEntityAppEventEntityItem["ObjectName"].asString(); if(!dataNodeAppEventEntityAppEventEntityItem["Reason"].isNull()) appEventEntityItemObject.reason = dataNodeAppEventEntityAppEventEntityItem["Reason"].asString(); + if(!dataNodeAppEventEntityAppEventEntityItem["FirstTimestamp"].isNull()) + appEventEntityItemObject.firstTimestamp = dataNodeAppEventEntityAppEventEntityItem["FirstTimestamp"].asString(); data_.appEventEntity.push_back(appEventEntityItemObject); } - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; if(!value["ErrorCode"].isNull()) errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/ListAppServicesPageRequest.cc b/sae/src/model/ListAppServicesPageRequest.cc index 65cfe2e57..534003d17 100644 --- a/sae/src/model/ListAppServicesPageRequest.cc +++ b/sae/src/model/ListAppServicesPageRequest.cc @@ -1,74 +1,64 @@ /* * 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::Sae::Model::ListAppServicesPageRequest; - -ListAppServicesPageRequest::ListAppServicesPageRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/service/listAppServicesPage"); - setMethod(HttpRequest::Method::Get); -} - -ListAppServicesPageRequest::~ListAppServicesPageRequest() -{} - -std::string ListAppServicesPageRequest::getServiceType()const -{ - return serviceType_; + */ + +#include + +using AlibabaCloud::Sae::Model::ListAppServicesPageRequest; + +ListAppServicesPageRequest::ListAppServicesPageRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/service/listAppServicesPage"}; + setMethod(HttpRequest::Method::Get); } -void ListAppServicesPageRequest::setServiceType(const std::string& serviceType) -{ - serviceType_ = serviceType; - setParameter("ServiceType", serviceType); +ListAppServicesPageRequest::~ListAppServicesPageRequest() {} + +std::string ListAppServicesPageRequest::getServiceType() const { + return serviceType_; } -std::string ListAppServicesPageRequest::getAppId()const -{ - return appId_; +void ListAppServicesPageRequest::setServiceType(const std::string &serviceType) { + serviceType_ = serviceType; + setParameter(std::string("ServiceType"), serviceType); } -void ListAppServicesPageRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string ListAppServicesPageRequest::getAppId() const { + return appId_; } -int ListAppServicesPageRequest::getPageSize()const -{ - return pageSize_; +void ListAppServicesPageRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -void ListAppServicesPageRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListAppServicesPageRequest::getPageSize() const { + return pageSize_; } -int ListAppServicesPageRequest::getPageNumber()const -{ - return pageNumber_; +void ListAppServicesPageRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListAppServicesPageRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListAppServicesPageRequest::getPageNumber() const { + return pageNumber_; +} + +void ListAppServicesPageRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } diff --git a/sae/src/model/ListAppVersionsRequest.cc b/sae/src/model/ListAppVersionsRequest.cc index db80d3be4..2c28ae018 100644 --- a/sae/src/model/ListAppVersionsRequest.cc +++ b/sae/src/model/ListAppVersionsRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::ListAppVersionsRequest; - -ListAppVersionsRequest::ListAppVersionsRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/listAppVersions"); - setMethod(HttpRequest::Method::Get); -} - -ListAppVersionsRequest::~ListAppVersionsRequest() -{} - -std::string ListAppVersionsRequest::getAppId()const -{ - return appId_; + */ + +#include + +using AlibabaCloud::Sae::Model::ListAppVersionsRequest; + +ListAppVersionsRequest::ListAppVersionsRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/listAppVersions"}; + setMethod(HttpRequest::Method::Get); } -void ListAppVersionsRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +ListAppVersionsRequest::~ListAppVersionsRequest() {} + +std::string ListAppVersionsRequest::getAppId() const { + return appId_; +} + +void ListAppVersionsRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/sae/src/model/ListAppVersionsResult.cc b/sae/src/model/ListAppVersionsResult.cc index 0d105532e..f7f4c3230 100644 --- a/sae/src/model/ListAppVersionsResult.cc +++ b/sae/src/model/ListAppVersionsResult.cc @@ -43,26 +43,26 @@ void ListAppVersionsResult::parse(const std::string &payload) for (auto valueDataPackageVersionEntity : allDataNode) { PackageVersionEntity dataObject; - if(!valueDataPackageVersionEntity["Id"].isNull()) - dataObject.id = valueDataPackageVersionEntity["Id"].asString(); - if(!valueDataPackageVersionEntity["CreateTime"].isNull()) - dataObject.createTime = valueDataPackageVersionEntity["CreateTime"].asString(); - if(!valueDataPackageVersionEntity["WarUrl"].isNull()) - dataObject.warUrl = valueDataPackageVersionEntity["WarUrl"].asString(); if(!valueDataPackageVersionEntity["Type"].isNull()) dataObject.type = valueDataPackageVersionEntity["Type"].asString(); + if(!valueDataPackageVersionEntity["CreateTime"].isNull()) + dataObject.createTime = valueDataPackageVersionEntity["CreateTime"].asString(); if(!valueDataPackageVersionEntity["BuildPackageUrl"].isNull()) dataObject.buildPackageUrl = valueDataPackageVersionEntity["BuildPackageUrl"].asString(); + if(!valueDataPackageVersionEntity["WarUrl"].isNull()) + dataObject.warUrl = valueDataPackageVersionEntity["WarUrl"].asString(); + if(!valueDataPackageVersionEntity["Id"].isNull()) + dataObject.id = valueDataPackageVersionEntity["Id"].asString(); data_.push_back(dataObject); } - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; if(!value["ErrorCode"].isNull()) errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/ListApplicationsRequest.cc b/sae/src/model/ListApplicationsRequest.cc index 1a2e43cc1..8e7687461 100644 --- a/sae/src/model/ListApplicationsRequest.cc +++ b/sae/src/model/ListApplicationsRequest.cc @@ -1,129 +1,109 @@ /* * 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::Sae::Model::ListApplicationsRequest; - -ListApplicationsRequest::ListApplicationsRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/listApplications"); - setMethod(HttpRequest::Method::Get); -} - -ListApplicationsRequest::~ListApplicationsRequest() -{} - -std::string ListApplicationsRequest::getAppName()const -{ - return appName_; + */ + +#include + +using AlibabaCloud::Sae::Model::ListApplicationsRequest; + +ListApplicationsRequest::ListApplicationsRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/listApplications"}; + setMethod(HttpRequest::Method::Get); } -void ListApplicationsRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +ListApplicationsRequest::~ListApplicationsRequest() {} + +std::string ListApplicationsRequest::getAppName() const { + return appName_; } -std::string ListApplicationsRequest::getNamespaceId()const -{ - return namespaceId_; +void ListApplicationsRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void ListApplicationsRequest::setNamespaceId(const std::string& namespaceId) -{ - namespaceId_ = namespaceId; - setParameter("NamespaceId", namespaceId); +std::string ListApplicationsRequest::getNamespaceId() const { + return namespaceId_; } -int ListApplicationsRequest::getPageSize()const -{ - return pageSize_; +void ListApplicationsRequest::setNamespaceId(const std::string &namespaceId) { + namespaceId_ = namespaceId; + setParameter(std::string("NamespaceId"), namespaceId); } -void ListApplicationsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListApplicationsRequest::getPageSize() const { + return pageSize_; } -std::string ListApplicationsRequest::getOrderBy()const -{ - return orderBy_; +void ListApplicationsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListApplicationsRequest::setOrderBy(const std::string& orderBy) -{ - orderBy_ = orderBy; - setParameter("OrderBy", orderBy); +std::string ListApplicationsRequest::getOrderBy() const { + return orderBy_; } -int ListApplicationsRequest::getCurrentPage()const -{ - return currentPage_; +void ListApplicationsRequest::setOrderBy(const std::string &orderBy) { + orderBy_ = orderBy; + setParameter(std::string("OrderBy"), orderBy); } -void ListApplicationsRequest::setCurrentPage(int currentPage) -{ - currentPage_ = currentPage; - setParameter("CurrentPage", std::to_string(currentPage)); +int ListApplicationsRequest::getCurrentPage() const { + return currentPage_; } -std::string ListApplicationsRequest::getFieldValue()const -{ - return fieldValue_; +void ListApplicationsRequest::setCurrentPage(int currentPage) { + currentPage_ = currentPage; + setParameter(std::string("CurrentPage"), std::to_string(currentPage)); } -void ListApplicationsRequest::setFieldValue(const std::string& fieldValue) -{ - fieldValue_ = fieldValue; - setParameter("FieldValue", fieldValue); +std::string ListApplicationsRequest::getFieldValue() const { + return fieldValue_; } -bool ListApplicationsRequest::getReverse()const -{ - return reverse_; +void ListApplicationsRequest::setFieldValue(const std::string &fieldValue) { + fieldValue_ = fieldValue; + setParameter(std::string("FieldValue"), fieldValue); } -void ListApplicationsRequest::setReverse(bool reverse) -{ - reverse_ = reverse; - setParameter("Reverse", reverse ? "true" : "false"); +bool ListApplicationsRequest::getReverse() const { + return reverse_; } -std::string ListApplicationsRequest::getFieldType()const -{ - return fieldType_; +void ListApplicationsRequest::setReverse(bool reverse) { + reverse_ = reverse; + setParameter(std::string("Reverse"), reverse ? "true" : "false"); } -void ListApplicationsRequest::setFieldType(const std::string& fieldType) -{ - fieldType_ = fieldType; - setParameter("FieldType", fieldType); +std::string ListApplicationsRequest::getFieldType() const { + return fieldType_; } -std::string ListApplicationsRequest::getTags()const -{ - return tags_; +void ListApplicationsRequest::setFieldType(const std::string &fieldType) { + fieldType_ = fieldType; + setParameter(std::string("FieldType"), fieldType); } -void ListApplicationsRequest::setTags(const std::string& tags) -{ - tags_ = tags; - setParameter("Tags", tags); +std::string ListApplicationsRequest::getTags() const { + return tags_; +} + +void ListApplicationsRequest::setTags(const std::string &tags) { + tags_ = tags; + setParameter(std::string("Tags"), tags); } diff --git a/sae/src/model/ListChangeOrdersRequest.cc b/sae/src/model/ListChangeOrdersRequest.cc index 6b2132b33..f9c79f9af 100644 --- a/sae/src/model/ListChangeOrdersRequest.cc +++ b/sae/src/model/ListChangeOrdersRequest.cc @@ -1,96 +1,82 @@ /* * 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::Sae::Model::ListChangeOrdersRequest; - -ListChangeOrdersRequest::ListChangeOrdersRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/changeorder/ListChangeOrders"); - setMethod(HttpRequest::Method::Get); -} - -ListChangeOrdersRequest::~ListChangeOrdersRequest() -{} - -std::string ListChangeOrdersRequest::getCoType()const -{ - return coType_; + */ + +#include + +using AlibabaCloud::Sae::Model::ListChangeOrdersRequest; + +ListChangeOrdersRequest::ListChangeOrdersRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/changeorder/ListChangeOrders"}; + setMethod(HttpRequest::Method::Get); } -void ListChangeOrdersRequest::setCoType(const std::string& coType) -{ - coType_ = coType; - setParameter("CoType", coType); +ListChangeOrdersRequest::~ListChangeOrdersRequest() {} + +std::string ListChangeOrdersRequest::getCoType() const { + return coType_; } -std::string ListChangeOrdersRequest::getAppId()const -{ - return appId_; +void ListChangeOrdersRequest::setCoType(const std::string &coType) { + coType_ = coType; + setParameter(std::string("CoType"), coType); } -void ListChangeOrdersRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string ListChangeOrdersRequest::getAppId() const { + return appId_; } -int ListChangeOrdersRequest::getPageSize()const -{ - return pageSize_; +void ListChangeOrdersRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -void ListChangeOrdersRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListChangeOrdersRequest::getPageSize() const { + return pageSize_; } -int ListChangeOrdersRequest::getCurrentPage()const -{ - return currentPage_; +void ListChangeOrdersRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListChangeOrdersRequest::setCurrentPage(int currentPage) -{ - currentPage_ = currentPage; - setParameter("CurrentPage", std::to_string(currentPage)); +int ListChangeOrdersRequest::getCurrentPage() const { + return currentPage_; } -std::string ListChangeOrdersRequest::getCoStatus()const -{ - return coStatus_; +void ListChangeOrdersRequest::setCurrentPage(int currentPage) { + currentPage_ = currentPage; + setParameter(std::string("CurrentPage"), std::to_string(currentPage)); } -void ListChangeOrdersRequest::setCoStatus(const std::string& coStatus) -{ - coStatus_ = coStatus; - setParameter("CoStatus", coStatus); +std::string ListChangeOrdersRequest::getCoStatus() const { + return coStatus_; } -std::string ListChangeOrdersRequest::getKey()const -{ - return key_; +void ListChangeOrdersRequest::setCoStatus(const std::string &coStatus) { + coStatus_ = coStatus; + setParameter(std::string("CoStatus"), coStatus); } -void ListChangeOrdersRequest::setKey(const std::string& key) -{ - key_ = key; - setParameter("Key", key); +std::string ListChangeOrdersRequest::getKey() const { + return key_; +} + +void ListChangeOrdersRequest::setKey(const std::string &key) { + key_ = key; + setParameter(std::string("Key"), key); } diff --git a/sae/src/model/ListChangeOrdersResult.cc b/sae/src/model/ListChangeOrdersResult.cc index 14a340bcd..736a6c19e 100644 --- a/sae/src/model/ListChangeOrdersResult.cc +++ b/sae/src/model/ListChangeOrdersResult.cc @@ -40,44 +40,44 @@ void ListChangeOrdersResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto dataNode = value["Data"]; - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); if(!dataNode["CurrentPage"].isNull()) data_.currentPage = std::stoi(dataNode["CurrentPage"].asString()); if(!dataNode["TotalSize"].isNull()) data_.totalSize = std::stoi(dataNode["TotalSize"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); auto allChangeOrderListNode = dataNode["ChangeOrderList"]["ChangeOrder"]; for (auto dataNodeChangeOrderListChangeOrder : allChangeOrderListNode) { Data::ChangeOrder changeOrderObject; if(!dataNodeChangeOrderListChangeOrder["Status"].isNull()) changeOrderObject.status = std::stoi(dataNodeChangeOrderListChangeOrder["Status"].asString()); - if(!dataNodeChangeOrderListChangeOrder["Description"].isNull()) - changeOrderObject.description = dataNodeChangeOrderListChangeOrder["Description"].asString(); - if(!dataNodeChangeOrderListChangeOrder["CreateTime"].isNull()) - changeOrderObject.createTime = dataNodeChangeOrderListChangeOrder["CreateTime"].asString(); - if(!dataNodeChangeOrderListChangeOrder["ChangeOrderId"].isNull()) - changeOrderObject.changeOrderId = dataNodeChangeOrderListChangeOrder["ChangeOrderId"].asString(); - if(!dataNodeChangeOrderListChangeOrder["CreateUserId"].isNull()) - changeOrderObject.createUserId = dataNodeChangeOrderListChangeOrder["CreateUserId"].asString(); - if(!dataNodeChangeOrderListChangeOrder["BatchType"].isNull()) - changeOrderObject.batchType = dataNodeChangeOrderListChangeOrder["BatchType"].asString(); - if(!dataNodeChangeOrderListChangeOrder["Source"].isNull()) - changeOrderObject.source = dataNodeChangeOrderListChangeOrder["Source"].asString(); - if(!dataNodeChangeOrderListChangeOrder["GroupId"].isNull()) - changeOrderObject.groupId = dataNodeChangeOrderListChangeOrder["GroupId"].asString(); - if(!dataNodeChangeOrderListChangeOrder["AppId"].isNull()) - changeOrderObject.appId = dataNodeChangeOrderListChangeOrder["AppId"].asString(); - if(!dataNodeChangeOrderListChangeOrder["CoTypeCode"].isNull()) - changeOrderObject.coTypeCode = dataNodeChangeOrderListChangeOrder["CoTypeCode"].asString(); if(!dataNodeChangeOrderListChangeOrder["FinishTime"].isNull()) changeOrderObject.finishTime = dataNodeChangeOrderListChangeOrder["FinishTime"].asString(); + if(!dataNodeChangeOrderListChangeOrder["CreateTime"].isNull()) + changeOrderObject.createTime = dataNodeChangeOrderListChangeOrder["CreateTime"].asString(); if(!dataNodeChangeOrderListChangeOrder["UserId"].isNull()) changeOrderObject.userId = dataNodeChangeOrderListChangeOrder["UserId"].asString(); - if(!dataNodeChangeOrderListChangeOrder["CoType"].isNull()) - changeOrderObject.coType = dataNodeChangeOrderListChangeOrder["CoType"].asString(); + if(!dataNodeChangeOrderListChangeOrder["Source"].isNull()) + changeOrderObject.source = dataNodeChangeOrderListChangeOrder["Source"].asString(); if(!dataNodeChangeOrderListChangeOrder["BatchCount"].isNull()) changeOrderObject.batchCount = std::stoi(dataNodeChangeOrderListChangeOrder["BatchCount"].asString()); + if(!dataNodeChangeOrderListChangeOrder["CreateUserId"].isNull()) + changeOrderObject.createUserId = dataNodeChangeOrderListChangeOrder["CreateUserId"].asString(); + if(!dataNodeChangeOrderListChangeOrder["CoTypeCode"].isNull()) + changeOrderObject.coTypeCode = dataNodeChangeOrderListChangeOrder["CoTypeCode"].asString(); + if(!dataNodeChangeOrderListChangeOrder["ChangeOrderId"].isNull()) + changeOrderObject.changeOrderId = dataNodeChangeOrderListChangeOrder["ChangeOrderId"].asString(); + if(!dataNodeChangeOrderListChangeOrder["BatchType"].isNull()) + changeOrderObject.batchType = dataNodeChangeOrderListChangeOrder["BatchType"].asString(); + if(!dataNodeChangeOrderListChangeOrder["GroupId"].isNull()) + changeOrderObject.groupId = dataNodeChangeOrderListChangeOrder["GroupId"].asString(); + if(!dataNodeChangeOrderListChangeOrder["Description"].isNull()) + changeOrderObject.description = dataNodeChangeOrderListChangeOrder["Description"].asString(); + if(!dataNodeChangeOrderListChangeOrder["CoType"].isNull()) + changeOrderObject.coType = dataNodeChangeOrderListChangeOrder["CoType"].asString(); + if(!dataNodeChangeOrderListChangeOrder["AppId"].isNull()) + changeOrderObject.appId = dataNodeChangeOrderListChangeOrder["AppId"].asString(); data_.changeOrderList.push_back(changeOrderObject); } if(!value["Message"].isNull()) diff --git a/sae/src/model/ListConsumedServicesRequest.cc b/sae/src/model/ListConsumedServicesRequest.cc index 764d3800a..b73650611 100644 --- a/sae/src/model/ListConsumedServicesRequest.cc +++ b/sae/src/model/ListConsumedServicesRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::ListConsumedServicesRequest; - -ListConsumedServicesRequest::ListConsumedServicesRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/service/listConsumedServices"); - setMethod(HttpRequest::Method::Get); -} - -ListConsumedServicesRequest::~ListConsumedServicesRequest() -{} - -std::string ListConsumedServicesRequest::getAppId()const -{ - return appId_; + */ + +#include + +using AlibabaCloud::Sae::Model::ListConsumedServicesRequest; + +ListConsumedServicesRequest::ListConsumedServicesRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/service/listConsumedServices"}; + setMethod(HttpRequest::Method::Get); } -void ListConsumedServicesRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +ListConsumedServicesRequest::~ListConsumedServicesRequest() {} + +std::string ListConsumedServicesRequest::getAppId() const { + return appId_; +} + +void ListConsumedServicesRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/sae/src/model/ListConsumedServicesResult.cc b/sae/src/model/ListConsumedServicesResult.cc index 1e2e04920..6c9ac141f 100644 --- a/sae/src/model/ListConsumedServicesResult.cc +++ b/sae/src/model/ListConsumedServicesResult.cc @@ -43,14 +43,14 @@ void ListConsumedServicesResult::parse(const std::string &payload) for (auto valueDataListConsumedServices : allDataNode) { ListConsumedServices dataObject; - if(!valueDataListConsumedServices["Group2Ip"].isNull()) - dataObject.group2Ip = valueDataListConsumedServices["Group2Ip"].asString(); if(!valueDataListConsumedServices["Type"].isNull()) dataObject.type = valueDataListConsumedServices["Type"].asString(); - if(!valueDataListConsumedServices["AppId"].isNull()) - dataObject.appId = valueDataListConsumedServices["AppId"].asString(); if(!valueDataListConsumedServices["Version"].isNull()) dataObject.version = valueDataListConsumedServices["Version"].asString(); + if(!valueDataListConsumedServices["AppId"].isNull()) + dataObject.appId = valueDataListConsumedServices["AppId"].asString(); + if(!valueDataListConsumedServices["Group2Ip"].isNull()) + dataObject.group2Ip = valueDataListConsumedServices["Group2Ip"].asString(); if(!valueDataListConsumedServices["Name"].isNull()) dataObject.name = valueDataListConsumedServices["Name"].asString(); auto allGroups = value["Groups"]["Group"]; diff --git a/sae/src/model/ListGreyTagRouteRequest.cc b/sae/src/model/ListGreyTagRouteRequest.cc index cc12a8c7c..b7871d643 100644 --- a/sae/src/model/ListGreyTagRouteRequest.cc +++ b/sae/src/model/ListGreyTagRouteRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::ListGreyTagRouteRequest; - -ListGreyTagRouteRequest::ListGreyTagRouteRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/tagroute/greyTagRouteList"); - setMethod(HttpRequest::Method::Get); -} - -ListGreyTagRouteRequest::~ListGreyTagRouteRequest() -{} - -std::string ListGreyTagRouteRequest::getAppId()const -{ - return appId_; + */ + +#include + +using AlibabaCloud::Sae::Model::ListGreyTagRouteRequest; + +ListGreyTagRouteRequest::ListGreyTagRouteRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/tagroute/greyTagRouteList"}; + setMethod(HttpRequest::Method::Get); } -void ListGreyTagRouteRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +ListGreyTagRouteRequest::~ListGreyTagRouteRequest() {} + +std::string ListGreyTagRouteRequest::getAppId() const { + return appId_; +} + +void ListGreyTagRouteRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/sae/src/model/ListGreyTagRouteResult.cc b/sae/src/model/ListGreyTagRouteResult.cc index 74dcf2395..d5ae2749e 100644 --- a/sae/src/model/ListGreyTagRouteResult.cc +++ b/sae/src/model/ListGreyTagRouteResult.cc @@ -40,26 +40,26 @@ void ListGreyTagRouteResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto dataNode = value["Data"]; - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); if(!dataNode["CurrentPage"].isNull()) data_.currentPage = std::stoi(dataNode["CurrentPage"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); if(!dataNode["TotalSize"].isNull()) data_.totalSize = std::stol(dataNode["TotalSize"].asString()); auto allResultNode = dataNode["Result"]["resultItem"]; for (auto dataNodeResultresultItem : allResultNode) { Data::ResultItem resultItemObject; - if(!dataNodeResultresultItem["Description"].isNull()) - resultItemObject.description = dataNodeResultresultItem["Description"].asString(); if(!dataNodeResultresultItem["GreyTagRouteId"].isNull()) resultItemObject.greyTagRouteId = std::stol(dataNodeResultresultItem["GreyTagRouteId"].asString()); + if(!dataNodeResultresultItem["Name"].isNull()) + resultItemObject.name = dataNodeResultresultItem["Name"].asString(); + if(!dataNodeResultresultItem["Description"].isNull()) + resultItemObject.description = dataNodeResultresultItem["Description"].asString(); if(!dataNodeResultresultItem["CreateTime"].isNull()) resultItemObject.createTime = std::stol(dataNodeResultresultItem["CreateTime"].asString()); if(!dataNodeResultresultItem["UpdateTime"].isNull()) resultItemObject.updateTime = std::stol(dataNodeResultresultItem["UpdateTime"].asString()); - if(!dataNodeResultresultItem["Name"].isNull()) - resultItemObject.name = dataNodeResultresultItem["Name"].asString(); auto allScRulesNode = dataNodeResultresultItem["ScRules"]["scRule"]; for (auto dataNodeResultresultItemScRulesscRule : allScRulesNode) { @@ -72,20 +72,20 @@ void ListGreyTagRouteResult::parse(const std::string &payload) for (auto dataNodeResultresultItemScRulesscRuleitemsitem : allitemsNode) { Data::ResultItem::ScRule::Item itemsObject; + if(!dataNodeResultresultItemScRulesscRuleitemsitem["type"].isNull()) + itemsObject.type = dataNodeResultresultItemScRulesscRuleitemsitem["type"].asString(); if(!dataNodeResultresultItemScRulesscRuleitemsitem["name"].isNull()) itemsObject.name = dataNodeResultresultItemScRulesscRuleitemsitem["name"].asString(); + if(!dataNodeResultresultItemScRulesscRuleitemsitem["operator"].isNull()) + itemsObject._operator = dataNodeResultresultItemScRulesscRuleitemsitem["operator"].asString(); + if(!dataNodeResultresultItemScRulesscRuleitemsitem["value"].isNull()) + itemsObject.value = dataNodeResultresultItemScRulesscRuleitemsitem["value"].asString(); + if(!dataNodeResultresultItemScRulesscRuleitemsitem["cond"].isNull()) + itemsObject.cond = dataNodeResultresultItemScRulesscRuleitemsitem["cond"].asString(); if(!dataNodeResultresultItemScRulesscRuleitemsitem["index"].isNull()) itemsObject.index = std::stoi(dataNodeResultresultItemScRulesscRuleitemsitem["index"].asString()); if(!dataNodeResultresultItemScRulesscRuleitemsitem["expr"].isNull()) itemsObject.expr = dataNodeResultresultItemScRulesscRuleitemsitem["expr"].asString(); - if(!dataNodeResultresultItemScRulesscRuleitemsitem["type"].isNull()) - itemsObject.type = dataNodeResultresultItemScRulesscRuleitemsitem["type"].asString(); - if(!dataNodeResultresultItemScRulesscRuleitemsitem["cond"].isNull()) - itemsObject.cond = dataNodeResultresultItemScRulesscRuleitemsitem["cond"].asString(); - if(!dataNodeResultresultItemScRulesscRuleitemsitem["value"].isNull()) - itemsObject.value = dataNodeResultresultItemScRulesscRuleitemsitem["value"].asString(); - if(!dataNodeResultresultItemScRulesscRuleitemsitem["operator"].isNull()) - itemsObject._operator = dataNodeResultresultItemScRulesscRuleitemsitem["operator"].asString(); scRulesObject.items.push_back(itemsObject); } resultItemObject.scRules.push_back(scRulesObject); @@ -94,34 +94,34 @@ void ListGreyTagRouteResult::parse(const std::string &payload) for (auto dataNodeResultresultItemDubboRulesdubboRule : allDubboRulesNode) { Data::ResultItem::DubboRule dubboRulesObject; - if(!dataNodeResultresultItemDubboRulesdubboRule["condition"].isNull()) - dubboRulesObject.condition = dataNodeResultresultItemDubboRulesdubboRule["condition"].asString(); - if(!dataNodeResultresultItemDubboRulesdubboRule["methodName"].isNull()) - dubboRulesObject.methodName = dataNodeResultresultItemDubboRulesdubboRule["methodName"].asString(); if(!dataNodeResultresultItemDubboRulesdubboRule["serviceName"].isNull()) dubboRulesObject.serviceName = dataNodeResultresultItemDubboRulesdubboRule["serviceName"].asString(); - if(!dataNodeResultresultItemDubboRulesdubboRule["version"].isNull()) - dubboRulesObject.version = dataNodeResultresultItemDubboRulesdubboRule["version"].asString(); if(!dataNodeResultresultItemDubboRulesdubboRule["group"].isNull()) dubboRulesObject.group = dataNodeResultresultItemDubboRulesdubboRule["group"].asString(); + if(!dataNodeResultresultItemDubboRulesdubboRule["version"].isNull()) + dubboRulesObject.version = dataNodeResultresultItemDubboRulesdubboRule["version"].asString(); + if(!dataNodeResultresultItemDubboRulesdubboRule["methodName"].isNull()) + dubboRulesObject.methodName = dataNodeResultresultItemDubboRulesdubboRule["methodName"].asString(); + if(!dataNodeResultresultItemDubboRulesdubboRule["condition"].isNull()) + dubboRulesObject.condition = dataNodeResultresultItemDubboRulesdubboRule["condition"].asString(); auto allitems1Node = dataNodeResultresultItemDubboRulesdubboRule["items"]["item"]; for (auto dataNodeResultresultItemDubboRulesdubboRuleitemsitem : allitems1Node) { Data::ResultItem::DubboRule::Item2 items1Object; - if(!dataNodeResultresultItemDubboRulesdubboRuleitemsitem["name"].isNull()) - items1Object.name = dataNodeResultresultItemDubboRulesdubboRuleitemsitem["name"].asString(); if(!dataNodeResultresultItemDubboRulesdubboRuleitemsitem["index"].isNull()) items1Object.index = std::stoi(dataNodeResultresultItemDubboRulesdubboRuleitemsitem["index"].asString()); if(!dataNodeResultresultItemDubboRulesdubboRuleitemsitem["expr"].isNull()) items1Object.expr = dataNodeResultresultItemDubboRulesdubboRuleitemsitem["expr"].asString(); - if(!dataNodeResultresultItemDubboRulesdubboRuleitemsitem["type"].isNull()) - items1Object.type = dataNodeResultresultItemDubboRulesdubboRuleitemsitem["type"].asString(); - if(!dataNodeResultresultItemDubboRulesdubboRuleitemsitem["cond"].isNull()) - items1Object.cond = dataNodeResultresultItemDubboRulesdubboRuleitemsitem["cond"].asString(); - if(!dataNodeResultresultItemDubboRulesdubboRuleitemsitem["value"].isNull()) - items1Object.value = dataNodeResultresultItemDubboRulesdubboRuleitemsitem["value"].asString(); if(!dataNodeResultresultItemDubboRulesdubboRuleitemsitem["operator"].isNull()) items1Object._operator = dataNodeResultresultItemDubboRulesdubboRuleitemsitem["operator"].asString(); + if(!dataNodeResultresultItemDubboRulesdubboRuleitemsitem["value"].isNull()) + items1Object.value = dataNodeResultresultItemDubboRulesdubboRuleitemsitem["value"].asString(); + if(!dataNodeResultresultItemDubboRulesdubboRuleitemsitem["cond"].isNull()) + items1Object.cond = dataNodeResultresultItemDubboRulesdubboRuleitemsitem["cond"].asString(); + if(!dataNodeResultresultItemDubboRulesdubboRuleitemsitem["type"].isNull()) + items1Object.type = dataNodeResultresultItemDubboRulesdubboRuleitemsitem["type"].asString(); + if(!dataNodeResultresultItemDubboRulesdubboRuleitemsitem["name"].isNull()) + items1Object.name = dataNodeResultresultItemDubboRulesdubboRuleitemsitem["name"].asString(); dubboRulesObject.items1.push_back(items1Object); } resultItemObject.dubboRules.push_back(dubboRulesObject); diff --git a/sae/src/model/ListIngressesRequest.cc b/sae/src/model/ListIngressesRequest.cc index 4088425a4..08f36d479 100644 --- a/sae/src/model/ListIngressesRequest.cc +++ b/sae/src/model/ListIngressesRequest.cc @@ -1,52 +1,46 @@ /* * 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::Sae::Model::ListIngressesRequest; - -ListIngressesRequest::ListIngressesRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/ingress/IngressList"); - setMethod(HttpRequest::Method::Get); -} - -ListIngressesRequest::~ListIngressesRequest() -{} - -std::string ListIngressesRequest::getNamespaceId()const -{ - return namespaceId_; + */ + +#include + +using AlibabaCloud::Sae::Model::ListIngressesRequest; + +ListIngressesRequest::ListIngressesRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/ingress/IngressList"}; + setMethod(HttpRequest::Method::Get); } -void ListIngressesRequest::setNamespaceId(const std::string& namespaceId) -{ - namespaceId_ = namespaceId; - setParameter("NamespaceId", namespaceId); +ListIngressesRequest::~ListIngressesRequest() {} + +std::string ListIngressesRequest::getNamespaceId() const { + return namespaceId_; } -std::string ListIngressesRequest::getAppId()const -{ - return appId_; +void ListIngressesRequest::setNamespaceId(const std::string &namespaceId) { + namespaceId_ = namespaceId; + setParameter(std::string("NamespaceId"), namespaceId); } -void ListIngressesRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string ListIngressesRequest::getAppId() const { + return appId_; +} + +void ListIngressesRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/sae/src/model/ListIngressesResult.cc b/sae/src/model/ListIngressesResult.cc index 9d031e173..0a3d6dd93 100644 --- a/sae/src/model/ListIngressesResult.cc +++ b/sae/src/model/ListIngressesResult.cc @@ -44,34 +44,38 @@ void ListIngressesResult::parse(const std::string &payload) for (auto dataNodeIngressListIngress : allIngressListNode) { Data::Ingress ingressObject; - if(!dataNodeIngressListIngress["Id"].isNull()) - ingressObject.id = std::stol(dataNodeIngressListIngress["Id"].asString()); - if(!dataNodeIngressListIngress["Name"].isNull()) - ingressObject.name = dataNodeIngressListIngress["Name"].asString(); - if(!dataNodeIngressListIngress["NamespaceId"].isNull()) - ingressObject.namespaceId = dataNodeIngressListIngress["NamespaceId"].asString(); if(!dataNodeIngressListIngress["SlbId"].isNull()) ingressObject.slbId = dataNodeIngressListIngress["SlbId"].asString(); - if(!dataNodeIngressListIngress["ListenerPort"].isNull()) - ingressObject.listenerPort = dataNodeIngressListIngress["ListenerPort"].asString(); - if(!dataNodeIngressListIngress["CertId"].isNull()) - ingressObject.certId = dataNodeIngressListIngress["CertId"].asString(); + if(!dataNodeIngressListIngress["NamespaceId"].isNull()) + ingressObject.namespaceId = dataNodeIngressListIngress["NamespaceId"].asString(); if(!dataNodeIngressListIngress["Description"].isNull()) ingressObject.description = dataNodeIngressListIngress["Description"].asString(); + if(!dataNodeIngressListIngress["ListenerPort"].isNull()) + ingressObject.listenerPort = dataNodeIngressListIngress["ListenerPort"].asString(); if(!dataNodeIngressListIngress["SlbType"].isNull()) ingressObject.slbType = dataNodeIngressListIngress["SlbType"].asString(); + if(!dataNodeIngressListIngress["CertId"].isNull()) + ingressObject.certId = dataNodeIngressListIngress["CertId"].asString(); + if(!dataNodeIngressListIngress["Name"].isNull()) + ingressObject.name = dataNodeIngressListIngress["Name"].asString(); + if(!dataNodeIngressListIngress["Id"].isNull()) + ingressObject.id = std::stol(dataNodeIngressListIngress["Id"].asString()); + if(!dataNodeIngressListIngress["LoadBalanceType"].isNull()) + ingressObject.loadBalanceType = dataNodeIngressListIngress["LoadBalanceType"].asString(); + if(!dataNodeIngressListIngress["ListenerProtocol"].isNull()) + ingressObject.listenerProtocol = dataNodeIngressListIngress["ListenerProtocol"].asString(); data_.ingressList.push_back(ingressObject); } - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/ListLogConfigsRequest.cc b/sae/src/model/ListLogConfigsRequest.cc index b89e38d68..5ee9b95d2 100644 --- a/sae/src/model/ListLogConfigsRequest.cc +++ b/sae/src/model/ListLogConfigsRequest.cc @@ -1,63 +1,55 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Sae::Model::ListLogConfigsRequest; - -ListLogConfigsRequest::ListLogConfigsRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/log/listLogConfigs"); - setMethod(HttpRequest::Method::Get); -} - -ListLogConfigsRequest::~ListLogConfigsRequest() -{} - -std::string ListLogConfigsRequest::getAppId()const -{ - return appId_; + */ + +#include + +using AlibabaCloud::Sae::Model::ListLogConfigsRequest; + +ListLogConfigsRequest::ListLogConfigsRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/log/listLogConfigs"}; + setMethod(HttpRequest::Method::Get); } -void ListLogConfigsRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +ListLogConfigsRequest::~ListLogConfigsRequest() {} + +std::string ListLogConfigsRequest::getAppId() const { + return appId_; } -int ListLogConfigsRequest::getPageSize()const -{ - return pageSize_; +void ListLogConfigsRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -void ListLogConfigsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListLogConfigsRequest::getPageSize() const { + return pageSize_; } -int ListLogConfigsRequest::getCurrentPage()const -{ - return currentPage_; +void ListLogConfigsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListLogConfigsRequest::setCurrentPage(int currentPage) -{ - currentPage_ = currentPage; - setParameter("CurrentPage", std::to_string(currentPage)); +int ListLogConfigsRequest::getCurrentPage() const { + return currentPage_; +} + +void ListLogConfigsRequest::setCurrentPage(int currentPage) { + currentPage_ = currentPage; + setParameter(std::string("CurrentPage"), std::to_string(currentPage)); } diff --git a/sae/src/model/ListLogConfigsResult.cc b/sae/src/model/ListLogConfigsResult.cc index c5d351d06..d0a69e48e 100644 --- a/sae/src/model/ListLogConfigsResult.cc +++ b/sae/src/model/ListLogConfigsResult.cc @@ -42,10 +42,10 @@ void ListLogConfigsResult::parse(const std::string &payload) auto dataNode = value["Data"]; if(!dataNode["CurrentPage"].isNull()) data_.currentPage = std::stoi(dataNode["CurrentPage"].asString()); - if(!dataNode["PageSize"].isNull()) - data_.pageSize = std::stoi(dataNode["PageSize"].asString()); if(!dataNode["TotalSize"].isNull()) data_.totalSize = std::stoi(dataNode["TotalSize"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); auto allLogConfigsNode = dataNode["LogConfigs"]["LogConfig"]; for (auto dataNodeLogConfigsLogConfig : allLogConfigsNode) { @@ -54,30 +54,30 @@ void ListLogConfigsResult::parse(const std::string &payload) logConfigObject.configName = dataNodeLogConfigsLogConfig["ConfigName"].asString(); if(!dataNodeLogConfigsLogConfig["LogDir"].isNull()) logConfigObject.logDir = dataNodeLogConfigsLogConfig["LogDir"].asString(); - if(!dataNodeLogConfigsLogConfig["SlsProject"].isNull()) - logConfigObject.slsProject = dataNodeLogConfigsLogConfig["SlsProject"].asString(); if(!dataNodeLogConfigsLogConfig["SlsLogStore"].isNull()) logConfigObject.slsLogStore = dataNodeLogConfigsLogConfig["SlsLogStore"].asString(); + if(!dataNodeLogConfigsLogConfig["CreateTime"].isNull()) + logConfigObject.createTime = dataNodeLogConfigsLogConfig["CreateTime"].asString(); if(!dataNodeLogConfigsLogConfig["StoreType"].isNull()) logConfigObject.storeType = dataNodeLogConfigsLogConfig["StoreType"].asString(); + if(!dataNodeLogConfigsLogConfig["SlsProject"].isNull()) + logConfigObject.slsProject = dataNodeLogConfigsLogConfig["SlsProject"].asString(); if(!dataNodeLogConfigsLogConfig["LogType"].isNull()) logConfigObject.logType = dataNodeLogConfigsLogConfig["LogType"].asString(); if(!dataNodeLogConfigsLogConfig["RegionId"].isNull()) logConfigObject.regionId = dataNodeLogConfigsLogConfig["RegionId"].asString(); - if(!dataNodeLogConfigsLogConfig["CreateTime"].isNull()) - logConfigObject.createTime = dataNodeLogConfigsLogConfig["CreateTime"].asString(); data_.logConfigs.push_back(logConfigObject); } - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/ListNamespaceChangeOrdersRequest.cc b/sae/src/model/ListNamespaceChangeOrdersRequest.cc index e41c50c44..2006ca791 100644 --- a/sae/src/model/ListNamespaceChangeOrdersRequest.cc +++ b/sae/src/model/ListNamespaceChangeOrdersRequest.cc @@ -1,96 +1,82 @@ /* * 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::Sae::Model::ListNamespaceChangeOrdersRequest; - -ListNamespaceChangeOrdersRequest::ListNamespaceChangeOrdersRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/changeorder/listNamespaceChangeOrders"); - setMethod(HttpRequest::Method::Get); -} - -ListNamespaceChangeOrdersRequest::~ListNamespaceChangeOrdersRequest() -{} - -std::string ListNamespaceChangeOrdersRequest::getCoType()const -{ - return coType_; + */ + +#include + +using AlibabaCloud::Sae::Model::ListNamespaceChangeOrdersRequest; + +ListNamespaceChangeOrdersRequest::ListNamespaceChangeOrdersRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/changeorder/listNamespaceChangeOrders"}; + setMethod(HttpRequest::Method::Get); } -void ListNamespaceChangeOrdersRequest::setCoType(const std::string& coType) -{ - coType_ = coType; - setParameter("CoType", coType); +ListNamespaceChangeOrdersRequest::~ListNamespaceChangeOrdersRequest() {} + +std::string ListNamespaceChangeOrdersRequest::getCoType() const { + return coType_; } -std::string ListNamespaceChangeOrdersRequest::getNamespaceId()const -{ - return namespaceId_; +void ListNamespaceChangeOrdersRequest::setCoType(const std::string &coType) { + coType_ = coType; + setParameter(std::string("CoType"), coType); } -void ListNamespaceChangeOrdersRequest::setNamespaceId(const std::string& namespaceId) -{ - namespaceId_ = namespaceId; - setParameter("NamespaceId", namespaceId); +std::string ListNamespaceChangeOrdersRequest::getNamespaceId() const { + return namespaceId_; } -int ListNamespaceChangeOrdersRequest::getPageSize()const -{ - return pageSize_; +void ListNamespaceChangeOrdersRequest::setNamespaceId(const std::string &namespaceId) { + namespaceId_ = namespaceId; + setParameter(std::string("NamespaceId"), namespaceId); } -void ListNamespaceChangeOrdersRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListNamespaceChangeOrdersRequest::getPageSize() const { + return pageSize_; } -int ListNamespaceChangeOrdersRequest::getCurrentPage()const -{ - return currentPage_; +void ListNamespaceChangeOrdersRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListNamespaceChangeOrdersRequest::setCurrentPage(int currentPage) -{ - currentPage_ = currentPage; - setParameter("CurrentPage", std::to_string(currentPage)); +int ListNamespaceChangeOrdersRequest::getCurrentPage() const { + return currentPage_; } -std::string ListNamespaceChangeOrdersRequest::getCoStatus()const -{ - return coStatus_; +void ListNamespaceChangeOrdersRequest::setCurrentPage(int currentPage) { + currentPage_ = currentPage; + setParameter(std::string("CurrentPage"), std::to_string(currentPage)); } -void ListNamespaceChangeOrdersRequest::setCoStatus(const std::string& coStatus) -{ - coStatus_ = coStatus; - setParameter("CoStatus", coStatus); +std::string ListNamespaceChangeOrdersRequest::getCoStatus() const { + return coStatus_; } -std::string ListNamespaceChangeOrdersRequest::getKey()const -{ - return key_; +void ListNamespaceChangeOrdersRequest::setCoStatus(const std::string &coStatus) { + coStatus_ = coStatus; + setParameter(std::string("CoStatus"), coStatus); } -void ListNamespaceChangeOrdersRequest::setKey(const std::string& key) -{ - key_ = key; - setParameter("Key", key); +std::string ListNamespaceChangeOrdersRequest::getKey() const { + return key_; +} + +void ListNamespaceChangeOrdersRequest::setKey(const std::string &key) { + key_ = key; + setParameter(std::string("Key"), key); } diff --git a/sae/src/model/ListNamespaceChangeOrdersResult.cc b/sae/src/model/ListNamespaceChangeOrdersResult.cc index 7252b4ae2..e5cc82a2e 100644 --- a/sae/src/model/ListNamespaceChangeOrdersResult.cc +++ b/sae/src/model/ListNamespaceChangeOrdersResult.cc @@ -50,48 +50,48 @@ void ListNamespaceChangeOrdersResult::parse(const std::string &payload) for (auto dataNodeChangeOrderListChangeOrder : allChangeOrderListNode) { Data::ChangeOrder changeOrderObject; - if(!dataNodeChangeOrderListChangeOrder["NamespaceId"].isNull()) - changeOrderObject.namespaceId = dataNodeChangeOrderListChangeOrder["NamespaceId"].asString(); - if(!dataNodeChangeOrderListChangeOrder["BatchCount"].isNull()) - changeOrderObject.batchCount = std::stoi(dataNodeChangeOrderListChangeOrder["BatchCount"].asString()); - if(!dataNodeChangeOrderListChangeOrder["BatchType"].isNull()) - changeOrderObject.batchType = dataNodeChangeOrderListChangeOrder["BatchType"].asString(); - if(!dataNodeChangeOrderListChangeOrder["ChangeOrderId"].isNull()) - changeOrderObject.changeOrderId = dataNodeChangeOrderListChangeOrder["ChangeOrderId"].asString(); - if(!dataNodeChangeOrderListChangeOrder["CoType"].isNull()) - changeOrderObject.coType = dataNodeChangeOrderListChangeOrder["CoType"].asString(); - if(!dataNodeChangeOrderListChangeOrder["CoTypeCode"].isNull()) - changeOrderObject.coTypeCode = dataNodeChangeOrderListChangeOrder["CoTypeCode"].asString(); - if(!dataNodeChangeOrderListChangeOrder["CreateTime"].isNull()) - changeOrderObject.createTime = dataNodeChangeOrderListChangeOrder["CreateTime"].asString(); - if(!dataNodeChangeOrderListChangeOrder["Description"].isNull()) - changeOrderObject.description = dataNodeChangeOrderListChangeOrder["Description"].asString(); - if(!dataNodeChangeOrderListChangeOrder["FinishTime"].isNull()) - changeOrderObject.finishTime = dataNodeChangeOrderListChangeOrder["FinishTime"].asString(); - if(!dataNodeChangeOrderListChangeOrder["GroupId"].isNull()) - changeOrderObject.groupId = dataNodeChangeOrderListChangeOrder["GroupId"].asString(); - if(!dataNodeChangeOrderListChangeOrder["Pipelines"].isNull()) - changeOrderObject.pipelines = dataNodeChangeOrderListChangeOrder["Pipelines"].asString(); - if(!dataNodeChangeOrderListChangeOrder["Source"].isNull()) - changeOrderObject.source = dataNodeChangeOrderListChangeOrder["Source"].asString(); if(!dataNodeChangeOrderListChangeOrder["Status"].isNull()) changeOrderObject.status = std::stoi(dataNodeChangeOrderListChangeOrder["Status"].asString()); - if(!dataNodeChangeOrderListChangeOrder["CreateUserId"].isNull()) - changeOrderObject.createUserId = dataNodeChangeOrderListChangeOrder["CreateUserId"].asString(); + if(!dataNodeChangeOrderListChangeOrder["FinishTime"].isNull()) + changeOrderObject.finishTime = dataNodeChangeOrderListChangeOrder["FinishTime"].asString(); + if(!dataNodeChangeOrderListChangeOrder["NamespaceId"].isNull()) + changeOrderObject.namespaceId = dataNodeChangeOrderListChangeOrder["NamespaceId"].asString(); + if(!dataNodeChangeOrderListChangeOrder["CreateTime"].isNull()) + changeOrderObject.createTime = dataNodeChangeOrderListChangeOrder["CreateTime"].asString(); if(!dataNodeChangeOrderListChangeOrder["UserId"].isNull()) changeOrderObject.userId = dataNodeChangeOrderListChangeOrder["UserId"].asString(); + if(!dataNodeChangeOrderListChangeOrder["Source"].isNull()) + changeOrderObject.source = dataNodeChangeOrderListChangeOrder["Source"].asString(); + if(!dataNodeChangeOrderListChangeOrder["CreateUserId"].isNull()) + changeOrderObject.createUserId = dataNodeChangeOrderListChangeOrder["CreateUserId"].asString(); + if(!dataNodeChangeOrderListChangeOrder["BatchCount"].isNull()) + changeOrderObject.batchCount = std::stoi(dataNodeChangeOrderListChangeOrder["BatchCount"].asString()); + if(!dataNodeChangeOrderListChangeOrder["CoTypeCode"].isNull()) + changeOrderObject.coTypeCode = dataNodeChangeOrderListChangeOrder["CoTypeCode"].asString(); + if(!dataNodeChangeOrderListChangeOrder["ChangeOrderId"].isNull()) + changeOrderObject.changeOrderId = dataNodeChangeOrderListChangeOrder["ChangeOrderId"].asString(); + if(!dataNodeChangeOrderListChangeOrder["BatchType"].isNull()) + changeOrderObject.batchType = dataNodeChangeOrderListChangeOrder["BatchType"].asString(); + if(!dataNodeChangeOrderListChangeOrder["Description"].isNull()) + changeOrderObject.description = dataNodeChangeOrderListChangeOrder["Description"].asString(); + if(!dataNodeChangeOrderListChangeOrder["GroupId"].isNull()) + changeOrderObject.groupId = dataNodeChangeOrderListChangeOrder["GroupId"].asString(); + if(!dataNodeChangeOrderListChangeOrder["CoType"].isNull()) + changeOrderObject.coType = dataNodeChangeOrderListChangeOrder["CoType"].asString(); + if(!dataNodeChangeOrderListChangeOrder["Pipelines"].isNull()) + changeOrderObject.pipelines = dataNodeChangeOrderListChangeOrder["Pipelines"].asString(); data_.changeOrderList.push_back(changeOrderObject); } + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; if(!value["Code"].isNull()) code_ = value["Code"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/ListNamespacedConfigMapsRequest.cc b/sae/src/model/ListNamespacedConfigMapsRequest.cc index b27d10fbf..80a8b1575 100644 --- a/sae/src/model/ListNamespacedConfigMapsRequest.cc +++ b/sae/src/model/ListNamespacedConfigMapsRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::ListNamespacedConfigMapsRequest; - -ListNamespacedConfigMapsRequest::ListNamespacedConfigMapsRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/configmap/listNamespacedConfigMaps"); - setMethod(HttpRequest::Method::Get); -} - -ListNamespacedConfigMapsRequest::~ListNamespacedConfigMapsRequest() -{} - -std::string ListNamespacedConfigMapsRequest::getNamespaceId()const -{ - return namespaceId_; + */ + +#include + +using AlibabaCloud::Sae::Model::ListNamespacedConfigMapsRequest; + +ListNamespacedConfigMapsRequest::ListNamespacedConfigMapsRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/configmap/listNamespacedConfigMaps"}; + setMethod(HttpRequest::Method::Get); } -void ListNamespacedConfigMapsRequest::setNamespaceId(const std::string& namespaceId) -{ - namespaceId_ = namespaceId; - setParameter("NamespaceId", namespaceId); +ListNamespacedConfigMapsRequest::~ListNamespacedConfigMapsRequest() {} + +std::string ListNamespacedConfigMapsRequest::getNamespaceId() const { + return namespaceId_; +} + +void ListNamespacedConfigMapsRequest::setNamespaceId(const std::string &namespaceId) { + namespaceId_ = namespaceId; + setParameter(std::string("NamespaceId"), namespaceId); } diff --git a/sae/src/model/ListNamespacedConfigMapsResult.cc b/sae/src/model/ListNamespacedConfigMapsResult.cc index d1377a944..774b8e49b 100644 --- a/sae/src/model/ListNamespacedConfigMapsResult.cc +++ b/sae/src/model/ListNamespacedConfigMapsResult.cc @@ -44,40 +44,40 @@ void ListNamespacedConfigMapsResult::parse(const std::string &payload) for (auto dataNodeConfigMapsConfigMap : allConfigMapsNode) { Data::ConfigMap configMapObject; - if(!dataNodeConfigMapsConfigMap["ConfigMapId"].isNull()) - configMapObject.configMapId = std::stol(dataNodeConfigMapsConfigMap["ConfigMapId"].asString()); - if(!dataNodeConfigMapsConfigMap["Name"].isNull()) - configMapObject.name = dataNodeConfigMapsConfigMap["Name"].asString(); + if(!dataNodeConfigMapsConfigMap["UpdateTime"].isNull()) + configMapObject.updateTime = std::stol(dataNodeConfigMapsConfigMap["UpdateTime"].asString()); + if(!dataNodeConfigMapsConfigMap["Data"].isNull()) + configMapObject.data = dataNodeConfigMapsConfigMap["Data"].asString(); if(!dataNodeConfigMapsConfigMap["NamespaceId"].isNull()) configMapObject.namespaceId = dataNodeConfigMapsConfigMap["NamespaceId"].asString(); if(!dataNodeConfigMapsConfigMap["Description"].isNull()) configMapObject.description = dataNodeConfigMapsConfigMap["Description"].asString(); - if(!dataNodeConfigMapsConfigMap["Data"].isNull()) - configMapObject.data = dataNodeConfigMapsConfigMap["Data"].asString(); if(!dataNodeConfigMapsConfigMap["CreateTime"].isNull()) configMapObject.createTime = std::stol(dataNodeConfigMapsConfigMap["CreateTime"].asString()); - if(!dataNodeConfigMapsConfigMap["UpdateTime"].isNull()) - configMapObject.updateTime = std::stol(dataNodeConfigMapsConfigMap["UpdateTime"].asString()); + if(!dataNodeConfigMapsConfigMap["ConfigMapId"].isNull()) + configMapObject.configMapId = std::stol(dataNodeConfigMapsConfigMap["ConfigMapId"].asString()); + if(!dataNodeConfigMapsConfigMap["Name"].isNull()) + configMapObject.name = dataNodeConfigMapsConfigMap["Name"].asString(); auto allRelateAppsNode = dataNodeConfigMapsConfigMap["RelateApps"]["RelateApp"]; for (auto dataNodeConfigMapsConfigMapRelateAppsRelateApp : allRelateAppsNode) { Data::ConfigMap::RelateApp relateAppsObject; - if(!dataNodeConfigMapsConfigMapRelateAppsRelateApp["AppId"].isNull()) - relateAppsObject.appId = dataNodeConfigMapsConfigMapRelateAppsRelateApp["AppId"].asString(); if(!dataNodeConfigMapsConfigMapRelateAppsRelateApp["AppName"].isNull()) relateAppsObject.appName = dataNodeConfigMapsConfigMapRelateAppsRelateApp["AppName"].asString(); + if(!dataNodeConfigMapsConfigMapRelateAppsRelateApp["AppId"].isNull()) + relateAppsObject.appId = dataNodeConfigMapsConfigMapRelateAppsRelateApp["AppId"].asString(); configMapObject.relateApps.push_back(relateAppsObject); } data_.configMaps.push_back(configMapObject); } - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; diff --git a/sae/src/model/ListPublishedServicesRequest.cc b/sae/src/model/ListPublishedServicesRequest.cc index 29c678b46..e36e311f1 100644 --- a/sae/src/model/ListPublishedServicesRequest.cc +++ b/sae/src/model/ListPublishedServicesRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::ListPublishedServicesRequest; - -ListPublishedServicesRequest::ListPublishedServicesRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/service/listPublishedServices"); - setMethod(HttpRequest::Method::Get); -} - -ListPublishedServicesRequest::~ListPublishedServicesRequest() -{} - -std::string ListPublishedServicesRequest::getAppId()const -{ - return appId_; + */ + +#include + +using AlibabaCloud::Sae::Model::ListPublishedServicesRequest; + +ListPublishedServicesRequest::ListPublishedServicesRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/service/listPublishedServices"}; + setMethod(HttpRequest::Method::Get); } -void ListPublishedServicesRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +ListPublishedServicesRequest::~ListPublishedServicesRequest() {} + +std::string ListPublishedServicesRequest::getAppId() const { + return appId_; +} + +void ListPublishedServicesRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/sae/src/model/ListPublishedServicesResult.cc b/sae/src/model/ListPublishedServicesResult.cc index 72e83093e..e4021cbd9 100644 --- a/sae/src/model/ListPublishedServicesResult.cc +++ b/sae/src/model/ListPublishedServicesResult.cc @@ -43,14 +43,14 @@ void ListPublishedServicesResult::parse(const std::string &payload) for (auto valueDataDataItem : allDataNode) { DataItem dataObject; - if(!valueDataDataItem["Group2Ip"].isNull()) - dataObject.group2Ip = valueDataDataItem["Group2Ip"].asString(); if(!valueDataDataItem["Type"].isNull()) dataObject.type = valueDataDataItem["Type"].asString(); - if(!valueDataDataItem["AppId"].isNull()) - dataObject.appId = valueDataDataItem["AppId"].asString(); if(!valueDataDataItem["Version"].isNull()) dataObject.version = valueDataDataItem["Version"].asString(); + if(!valueDataDataItem["AppId"].isNull()) + dataObject.appId = valueDataDataItem["AppId"].asString(); + if(!valueDataDataItem["Group2Ip"].isNull()) + dataObject.group2Ip = valueDataDataItem["Group2Ip"].asString(); if(!valueDataDataItem["Name"].isNull()) dataObject.name = valueDataDataItem["Name"].asString(); auto allGroups = value["Groups"]["Group"]; diff --git a/sae/src/model/ListTagResourcesRequest.cc b/sae/src/model/ListTagResourcesRequest.cc index 4213d615e..9723cc68c 100644 --- a/sae/src/model/ListTagResourcesRequest.cc +++ b/sae/src/model/ListTagResourcesRequest.cc @@ -1,85 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Sae::Model::ListTagResourcesRequest; - -ListTagResourcesRequest::ListTagResourcesRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/tags"); - setMethod(HttpRequest::Method::Get); -} - -ListTagResourcesRequest::~ListTagResourcesRequest() -{} - -std::string ListTagResourcesRequest::getRegionId()const -{ - return regionId_; + */ + +#include + +using AlibabaCloud::Sae::Model::ListTagResourcesRequest; + +ListTagResourcesRequest::ListTagResourcesRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/tags"}; + setMethod(HttpRequest::Method::Get); } -void ListTagResourcesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); +ListTagResourcesRequest::~ListTagResourcesRequest() {} + +std::string ListTagResourcesRequest::getRegionId() const { + return regionId_; } -std::string ListTagResourcesRequest::getNextToken()const -{ - return nextToken_; +void ListTagResourcesRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); } -void ListTagResourcesRequest::setNextToken(const std::string& nextToken) -{ - nextToken_ = nextToken; - setParameter("NextToken", nextToken); +std::string ListTagResourcesRequest::getNextToken() const { + return nextToken_; } -std::string ListTagResourcesRequest::getResourceType()const -{ - return resourceType_; +void ListTagResourcesRequest::setNextToken(const std::string &nextToken) { + nextToken_ = nextToken; + setParameter(std::string("NextToken"), nextToken); } -void ListTagResourcesRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); +std::string ListTagResourcesRequest::getResourceType() const { + return resourceType_; } -std::string ListTagResourcesRequest::getResourceIds()const -{ - return resourceIds_; +void ListTagResourcesRequest::setResourceType(const std::string &resourceType) { + resourceType_ = resourceType; + setParameter(std::string("ResourceType"), resourceType); } -void ListTagResourcesRequest::setResourceIds(const std::string& resourceIds) -{ - resourceIds_ = resourceIds; - setParameter("ResourceIds", resourceIds); +std::string ListTagResourcesRequest::getResourceIds() const { + return resourceIds_; } -std::string ListTagResourcesRequest::getTags()const -{ - return tags_; +void ListTagResourcesRequest::setResourceIds(const std::string &resourceIds) { + resourceIds_ = resourceIds; + setParameter(std::string("ResourceIds"), resourceIds); } -void ListTagResourcesRequest::setTags(const std::string& tags) -{ - tags_ = tags; - setParameter("Tags", tags); +std::string ListTagResourcesRequest::getTags() const { + return tags_; +} + +void ListTagResourcesRequest::setTags(const std::string &tags) { + tags_ = tags; + setParameter(std::string("Tags"), tags); } diff --git a/sae/src/model/OpenSaeServiceRequest.cc b/sae/src/model/OpenSaeServiceRequest.cc index 6c46242b4..7baf3de45 100644 --- a/sae/src/model/OpenSaeServiceRequest.cc +++ b/sae/src/model/OpenSaeServiceRequest.cc @@ -1,30 +1,28 @@ /* * 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::Sae::Model::OpenSaeServiceRequest; - -OpenSaeServiceRequest::OpenSaeServiceRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/service/open"); - setMethod(HttpRequest::Method::Post); -} - -OpenSaeServiceRequest::~OpenSaeServiceRequest() -{} - + */ + +#include + +using AlibabaCloud::Sae::Model::OpenSaeServiceRequest; + +OpenSaeServiceRequest::OpenSaeServiceRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/service/open"}; + setMethod(HttpRequest::Method::Post); +} + +OpenSaeServiceRequest::~OpenSaeServiceRequest() {} + diff --git a/sae/src/model/QueryResourceStaticsRequest.cc b/sae/src/model/QueryResourceStaticsRequest.cc index 875aa85aa..9a8888e2d 100644 --- a/sae/src/model/QueryResourceStaticsRequest.cc +++ b/sae/src/model/QueryResourceStaticsRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::QueryResourceStaticsRequest; - -QueryResourceStaticsRequest::QueryResourceStaticsRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/paas/quota/queryResourceStatics"); - setMethod(HttpRequest::Method::Get); -} - -QueryResourceStaticsRequest::~QueryResourceStaticsRequest() -{} - -std::string QueryResourceStaticsRequest::getAppId()const -{ - return appId_; + */ + +#include + +using AlibabaCloud::Sae::Model::QueryResourceStaticsRequest; + +QueryResourceStaticsRequest::QueryResourceStaticsRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/paas/quota/queryResourceStatics"}; + setMethod(HttpRequest::Method::Get); } -void QueryResourceStaticsRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +QueryResourceStaticsRequest::~QueryResourceStaticsRequest() {} + +std::string QueryResourceStaticsRequest::getAppId() const { + return appId_; +} + +void QueryResourceStaticsRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/sae/src/model/ReduceApplicationCapacityByInstanceIdsRequest.cc b/sae/src/model/ReduceApplicationCapacityByInstanceIdsRequest.cc index c138cdd61..96e533a1a 100644 --- a/sae/src/model/ReduceApplicationCapacityByInstanceIdsRequest.cc +++ b/sae/src/model/ReduceApplicationCapacityByInstanceIdsRequest.cc @@ -1,52 +1,46 @@ /* * 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::Sae::Model::ReduceApplicationCapacityByInstanceIdsRequest; - -ReduceApplicationCapacityByInstanceIdsRequest::ReduceApplicationCapacityByInstanceIdsRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/ScaleInApplicationWithInstanceIds"); - setMethod(HttpRequest::Method::Put); -} - -ReduceApplicationCapacityByInstanceIdsRequest::~ReduceApplicationCapacityByInstanceIdsRequest() -{} - -std::string ReduceApplicationCapacityByInstanceIdsRequest::getInstanceIds()const -{ - return instanceIds_; + */ + +#include + +using AlibabaCloud::Sae::Model::ReduceApplicationCapacityByInstanceIdsRequest; + +ReduceApplicationCapacityByInstanceIdsRequest::ReduceApplicationCapacityByInstanceIdsRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/ScaleInApplicationWithInstanceIds"}; + setMethod(HttpRequest::Method::Put); } -void ReduceApplicationCapacityByInstanceIdsRequest::setInstanceIds(const std::string& instanceIds) -{ - instanceIds_ = instanceIds; - setParameter("InstanceIds", instanceIds); +ReduceApplicationCapacityByInstanceIdsRequest::~ReduceApplicationCapacityByInstanceIdsRequest() {} + +std::string ReduceApplicationCapacityByInstanceIdsRequest::getInstanceIds() const { + return instanceIds_; } -std::string ReduceApplicationCapacityByInstanceIdsRequest::getAppId()const -{ - return appId_; +void ReduceApplicationCapacityByInstanceIdsRequest::setInstanceIds(const std::string &instanceIds) { + instanceIds_ = instanceIds; + setParameter(std::string("InstanceIds"), instanceIds); } -void ReduceApplicationCapacityByInstanceIdsRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string ReduceApplicationCapacityByInstanceIdsRequest::getAppId() const { + return appId_; +} + +void ReduceApplicationCapacityByInstanceIdsRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/sae/src/model/RescaleApplicationRequest.cc b/sae/src/model/RescaleApplicationRequest.cc index e4526b301..b698a1665 100644 --- a/sae/src/model/RescaleApplicationRequest.cc +++ b/sae/src/model/RescaleApplicationRequest.cc @@ -1,85 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Sae::Model::RescaleApplicationRequest; - -RescaleApplicationRequest::RescaleApplicationRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/rescaleApplication"); - setMethod(HttpRequest::Method::Put); -} - -RescaleApplicationRequest::~RescaleApplicationRequest() -{} - -int RescaleApplicationRequest::getMinReadyInstances()const -{ - return minReadyInstances_; + */ + +#include + +using AlibabaCloud::Sae::Model::RescaleApplicationRequest; + +RescaleApplicationRequest::RescaleApplicationRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/rescaleApplication"}; + setMethod(HttpRequest::Method::Put); } -void RescaleApplicationRequest::setMinReadyInstances(int minReadyInstances) -{ - minReadyInstances_ = minReadyInstances; - setParameter("MinReadyInstances", std::to_string(minReadyInstances)); +RescaleApplicationRequest::~RescaleApplicationRequest() {} + +int RescaleApplicationRequest::getMinReadyInstances() const { + return minReadyInstances_; } -int RescaleApplicationRequest::getReplicas()const -{ - return replicas_; +void RescaleApplicationRequest::setMinReadyInstances(int minReadyInstances) { + minReadyInstances_ = minReadyInstances; + setParameter(std::string("MinReadyInstances"), std::to_string(minReadyInstances)); } -void RescaleApplicationRequest::setReplicas(int replicas) -{ - replicas_ = replicas; - setParameter("Replicas", std::to_string(replicas)); +int RescaleApplicationRequest::getReplicas() const { + return replicas_; } -std::string RescaleApplicationRequest::getAppId()const -{ - return appId_; +void RescaleApplicationRequest::setReplicas(int replicas) { + replicas_ = replicas; + setParameter(std::string("Replicas"), std::to_string(replicas)); } -void RescaleApplicationRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string RescaleApplicationRequest::getAppId() const { + return appId_; } -int RescaleApplicationRequest::getMinReadyInstanceRatio()const -{ - return minReadyInstanceRatio_; +void RescaleApplicationRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -void RescaleApplicationRequest::setMinReadyInstanceRatio(int minReadyInstanceRatio) -{ - minReadyInstanceRatio_ = minReadyInstanceRatio; - setParameter("MinReadyInstanceRatio", std::to_string(minReadyInstanceRatio)); +int RescaleApplicationRequest::getMinReadyInstanceRatio() const { + return minReadyInstanceRatio_; } -bool RescaleApplicationRequest::getAutoEnableApplicationScalingRule()const -{ - return autoEnableApplicationScalingRule_; +void RescaleApplicationRequest::setMinReadyInstanceRatio(int minReadyInstanceRatio) { + minReadyInstanceRatio_ = minReadyInstanceRatio; + setParameter(std::string("MinReadyInstanceRatio"), std::to_string(minReadyInstanceRatio)); } -void RescaleApplicationRequest::setAutoEnableApplicationScalingRule(bool autoEnableApplicationScalingRule) -{ - autoEnableApplicationScalingRule_ = autoEnableApplicationScalingRule; - setParameter("AutoEnableApplicationScalingRule", autoEnableApplicationScalingRule ? "true" : "false"); +bool RescaleApplicationRequest::getAutoEnableApplicationScalingRule() const { + return autoEnableApplicationScalingRule_; +} + +void RescaleApplicationRequest::setAutoEnableApplicationScalingRule(bool autoEnableApplicationScalingRule) { + autoEnableApplicationScalingRule_ = autoEnableApplicationScalingRule; + setParameter(std::string("AutoEnableApplicationScalingRule"), autoEnableApplicationScalingRule ? "true" : "false"); } diff --git a/sae/src/model/RescaleApplicationVerticallyRequest.cc b/sae/src/model/RescaleApplicationVerticallyRequest.cc index bb9ded6b7..1894611f1 100644 --- a/sae/src/model/RescaleApplicationVerticallyRequest.cc +++ b/sae/src/model/RescaleApplicationVerticallyRequest.cc @@ -1,63 +1,55 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Sae::Model::RescaleApplicationVerticallyRequest; - -RescaleApplicationVerticallyRequest::RescaleApplicationVerticallyRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/rescaleApplicationVertically"); - setMethod(HttpRequest::Method::Post); -} - -RescaleApplicationVerticallyRequest::~RescaleApplicationVerticallyRequest() -{} - -std::string RescaleApplicationVerticallyRequest::getMemory()const -{ - return memory_; + */ + +#include + +using AlibabaCloud::Sae::Model::RescaleApplicationVerticallyRequest; + +RescaleApplicationVerticallyRequest::RescaleApplicationVerticallyRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/rescaleApplicationVertically"}; + setMethod(HttpRequest::Method::Post); } -void RescaleApplicationVerticallyRequest::setMemory(const std::string& memory) -{ - memory_ = memory; - setParameter("Memory", memory); +RescaleApplicationVerticallyRequest::~RescaleApplicationVerticallyRequest() {} + +std::string RescaleApplicationVerticallyRequest::getMemory() const { + return memory_; } -std::string RescaleApplicationVerticallyRequest::getAppId()const -{ - return appId_; +void RescaleApplicationVerticallyRequest::setMemory(const std::string &memory) { + memory_ = memory; + setParameter(std::string("Memory"), memory); } -void RescaleApplicationVerticallyRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string RescaleApplicationVerticallyRequest::getAppId() const { + return appId_; } -std::string RescaleApplicationVerticallyRequest::getCpu()const -{ - return cpu_; +void RescaleApplicationVerticallyRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -void RescaleApplicationVerticallyRequest::setCpu(const std::string& cpu) -{ - cpu_ = cpu; - setParameter("Cpu", cpu); +std::string RescaleApplicationVerticallyRequest::getCpu() const { + return cpu_; +} + +void RescaleApplicationVerticallyRequest::setCpu(const std::string &cpu) { + cpu_ = cpu; + setParameter(std::string("Cpu"), cpu); } diff --git a/sae/src/model/RescaleApplicationVerticallyResult.cc b/sae/src/model/RescaleApplicationVerticallyResult.cc index 149af3b88..dd6991f63 100644 --- a/sae/src/model/RescaleApplicationVerticallyResult.cc +++ b/sae/src/model/RescaleApplicationVerticallyResult.cc @@ -42,16 +42,16 @@ void RescaleApplicationVerticallyResult::parse(const std::string &payload) auto dataNode = value["Data"]; if(!dataNode["ChangeOrderId"].isNull()) data_.changeOrderId = dataNode["ChangeOrderId"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/RestartApplicationRequest.cc b/sae/src/model/RestartApplicationRequest.cc index 83080824e..61a30470e 100644 --- a/sae/src/model/RestartApplicationRequest.cc +++ b/sae/src/model/RestartApplicationRequest.cc @@ -1,63 +1,55 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Sae::Model::RestartApplicationRequest; - -RestartApplicationRequest::RestartApplicationRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/restartApplication"); - setMethod(HttpRequest::Method::Put); -} - -RestartApplicationRequest::~RestartApplicationRequest() -{} - -int RestartApplicationRequest::getMinReadyInstances()const -{ - return minReadyInstances_; + */ + +#include + +using AlibabaCloud::Sae::Model::RestartApplicationRequest; + +RestartApplicationRequest::RestartApplicationRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/restartApplication"}; + setMethod(HttpRequest::Method::Put); } -void RestartApplicationRequest::setMinReadyInstances(int minReadyInstances) -{ - minReadyInstances_ = minReadyInstances; - setParameter("MinReadyInstances", std::to_string(minReadyInstances)); +RestartApplicationRequest::~RestartApplicationRequest() {} + +int RestartApplicationRequest::getMinReadyInstances() const { + return minReadyInstances_; } -std::string RestartApplicationRequest::getAppId()const -{ - return appId_; +void RestartApplicationRequest::setMinReadyInstances(int minReadyInstances) { + minReadyInstances_ = minReadyInstances; + setParameter(std::string("MinReadyInstances"), std::to_string(minReadyInstances)); } -void RestartApplicationRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string RestartApplicationRequest::getAppId() const { + return appId_; } -int RestartApplicationRequest::getMinReadyInstanceRatio()const -{ - return minReadyInstanceRatio_; +void RestartApplicationRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -void RestartApplicationRequest::setMinReadyInstanceRatio(int minReadyInstanceRatio) -{ - minReadyInstanceRatio_ = minReadyInstanceRatio; - setParameter("MinReadyInstanceRatio", std::to_string(minReadyInstanceRatio)); +int RestartApplicationRequest::getMinReadyInstanceRatio() const { + return minReadyInstanceRatio_; +} + +void RestartApplicationRequest::setMinReadyInstanceRatio(int minReadyInstanceRatio) { + minReadyInstanceRatio_ = minReadyInstanceRatio; + setParameter(std::string("MinReadyInstanceRatio"), std::to_string(minReadyInstanceRatio)); } diff --git a/sae/src/model/RestartInstancesRequest.cc b/sae/src/model/RestartInstancesRequest.cc index f3b4ee9c3..929ade644 100644 --- a/sae/src/model/RestartInstancesRequest.cc +++ b/sae/src/model/RestartInstancesRequest.cc @@ -1,52 +1,46 @@ /* * 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::Sae::Model::RestartInstancesRequest; - -RestartInstancesRequest::RestartInstancesRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/restartInstances"); - setMethod(HttpRequest::Method::Put); -} - -RestartInstancesRequest::~RestartInstancesRequest() -{} - -std::string RestartInstancesRequest::getInstanceIds()const -{ - return instanceIds_; + */ + +#include + +using AlibabaCloud::Sae::Model::RestartInstancesRequest; + +RestartInstancesRequest::RestartInstancesRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/restartInstances"}; + setMethod(HttpRequest::Method::Put); } -void RestartInstancesRequest::setInstanceIds(const std::string& instanceIds) -{ - instanceIds_ = instanceIds; - setParameter("InstanceIds", instanceIds); +RestartInstancesRequest::~RestartInstancesRequest() {} + +std::string RestartInstancesRequest::getInstanceIds() const { + return instanceIds_; } -std::string RestartInstancesRequest::getAppId()const -{ - return appId_; +void RestartInstancesRequest::setInstanceIds(const std::string &instanceIds) { + instanceIds_ = instanceIds; + setParameter(std::string("InstanceIds"), instanceIds); } -void RestartInstancesRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string RestartInstancesRequest::getAppId() const { + return appId_; +} + +void RestartInstancesRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/sae/src/model/RestartInstancesResult.cc b/sae/src/model/RestartInstancesResult.cc index bd6d75e75..0506b6e35 100644 --- a/sae/src/model/RestartInstancesResult.cc +++ b/sae/src/model/RestartInstancesResult.cc @@ -42,16 +42,16 @@ void RestartInstancesResult::parse(const std::string &payload) auto dataNode = value["Data"]; if(!dataNode["ChangeOrderId"].isNull()) data_.changeOrderId = dataNode["ChangeOrderId"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/RollbackApplicationRequest.cc b/sae/src/model/RollbackApplicationRequest.cc index 960eaf515..541676b74 100644 --- a/sae/src/model/RollbackApplicationRequest.cc +++ b/sae/src/model/RollbackApplicationRequest.cc @@ -1,107 +1,91 @@ /* * 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::Sae::Model::RollbackApplicationRequest; - -RollbackApplicationRequest::RollbackApplicationRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/rollbackApplication"); - setMethod(HttpRequest::Method::Put); -} - -RollbackApplicationRequest::~RollbackApplicationRequest() -{} - -int RollbackApplicationRequest::getMinReadyInstances()const -{ - return minReadyInstances_; + */ + +#include + +using AlibabaCloud::Sae::Model::RollbackApplicationRequest; + +RollbackApplicationRequest::RollbackApplicationRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/rollbackApplication"}; + setMethod(HttpRequest::Method::Put); } -void RollbackApplicationRequest::setMinReadyInstances(int minReadyInstances) -{ - minReadyInstances_ = minReadyInstances; - setParameter("MinReadyInstances", std::to_string(minReadyInstances)); +RollbackApplicationRequest::~RollbackApplicationRequest() {} + +int RollbackApplicationRequest::getMinReadyInstances() const { + return minReadyInstances_; } -std::string RollbackApplicationRequest::getVersionId()const -{ - return versionId_; +void RollbackApplicationRequest::setMinReadyInstances(int minReadyInstances) { + minReadyInstances_ = minReadyInstances; + setParameter(std::string("MinReadyInstances"), std::to_string(minReadyInstances)); } -void RollbackApplicationRequest::setVersionId(const std::string& versionId) -{ - versionId_ = versionId; - setParameter("VersionId", versionId); +std::string RollbackApplicationRequest::getVersionId() const { + return versionId_; } -std::string RollbackApplicationRequest::getAppId()const -{ - return appId_; +void RollbackApplicationRequest::setVersionId(const std::string &versionId) { + versionId_ = versionId; + setParameter(std::string("VersionId"), versionId); } -void RollbackApplicationRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string RollbackApplicationRequest::getAppId() const { + return appId_; } -int RollbackApplicationRequest::getBatchWaitTime()const -{ - return batchWaitTime_; +void RollbackApplicationRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -void RollbackApplicationRequest::setBatchWaitTime(int batchWaitTime) -{ - batchWaitTime_ = batchWaitTime; - setParameter("BatchWaitTime", std::to_string(batchWaitTime)); +int RollbackApplicationRequest::getBatchWaitTime() const { + return batchWaitTime_; } -int RollbackApplicationRequest::getMinReadyInstanceRatio()const -{ - return minReadyInstanceRatio_; +void RollbackApplicationRequest::setBatchWaitTime(int batchWaitTime) { + batchWaitTime_ = batchWaitTime; + setParameter(std::string("BatchWaitTime"), std::to_string(batchWaitTime)); } -void RollbackApplicationRequest::setMinReadyInstanceRatio(int minReadyInstanceRatio) -{ - minReadyInstanceRatio_ = minReadyInstanceRatio; - setParameter("MinReadyInstanceRatio", std::to_string(minReadyInstanceRatio)); +int RollbackApplicationRequest::getMinReadyInstanceRatio() const { + return minReadyInstanceRatio_; } -std::string RollbackApplicationRequest::getAutoEnableApplicationScalingRule()const -{ - return autoEnableApplicationScalingRule_; +void RollbackApplicationRequest::setMinReadyInstanceRatio(int minReadyInstanceRatio) { + minReadyInstanceRatio_ = minReadyInstanceRatio; + setParameter(std::string("MinReadyInstanceRatio"), std::to_string(minReadyInstanceRatio)); } -void RollbackApplicationRequest::setAutoEnableApplicationScalingRule(const std::string& autoEnableApplicationScalingRule) -{ - autoEnableApplicationScalingRule_ = autoEnableApplicationScalingRule; - setParameter("AutoEnableApplicationScalingRule", autoEnableApplicationScalingRule); +std::string RollbackApplicationRequest::getAutoEnableApplicationScalingRule() const { + return autoEnableApplicationScalingRule_; } -std::string RollbackApplicationRequest::getUpdateStrategy()const -{ - return updateStrategy_; +void RollbackApplicationRequest::setAutoEnableApplicationScalingRule(const std::string &autoEnableApplicationScalingRule) { + autoEnableApplicationScalingRule_ = autoEnableApplicationScalingRule; + setParameter(std::string("AutoEnableApplicationScalingRule"), autoEnableApplicationScalingRule); } -void RollbackApplicationRequest::setUpdateStrategy(const std::string& updateStrategy) -{ - updateStrategy_ = updateStrategy; - setParameter("UpdateStrategy", updateStrategy); +std::string RollbackApplicationRequest::getUpdateStrategy() const { + return updateStrategy_; +} + +void RollbackApplicationRequest::setUpdateStrategy(const std::string &updateStrategy) { + updateStrategy_ = updateStrategy; + setParameter(std::string("UpdateStrategy"), updateStrategy); } diff --git a/sae/src/model/StartApplicationRequest.cc b/sae/src/model/StartApplicationRequest.cc index f3b028a46..5e0a6bcfc 100644 --- a/sae/src/model/StartApplicationRequest.cc +++ b/sae/src/model/StartApplicationRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::StartApplicationRequest; - -StartApplicationRequest::StartApplicationRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/startApplication"); - setMethod(HttpRequest::Method::Put); -} - -StartApplicationRequest::~StartApplicationRequest() -{} - -std::string StartApplicationRequest::getAppId()const -{ - return appId_; + */ + +#include + +using AlibabaCloud::Sae::Model::StartApplicationRequest; + +StartApplicationRequest::StartApplicationRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/startApplication"}; + setMethod(HttpRequest::Method::Put); } -void StartApplicationRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +StartApplicationRequest::~StartApplicationRequest() {} + +std::string StartApplicationRequest::getAppId() const { + return appId_; +} + +void StartApplicationRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/sae/src/model/StartApplicationResult.cc b/sae/src/model/StartApplicationResult.cc index fc8e2b836..4cae1c1f7 100644 --- a/sae/src/model/StartApplicationResult.cc +++ b/sae/src/model/StartApplicationResult.cc @@ -42,16 +42,16 @@ void StartApplicationResult::parse(const std::string &payload) auto dataNode = value["Data"]; if(!dataNode["ChangeOrderId"].isNull()) data_.changeOrderId = dataNode["ChangeOrderId"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/StopApplicationRequest.cc b/sae/src/model/StopApplicationRequest.cc index d17f29a69..ddeffdbd9 100644 --- a/sae/src/model/StopApplicationRequest.cc +++ b/sae/src/model/StopApplicationRequest.cc @@ -1,41 +1,37 @@ /* * 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::Sae::Model::StopApplicationRequest; - -StopApplicationRequest::StopApplicationRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/stopApplication"); - setMethod(HttpRequest::Method::Put); -} - -StopApplicationRequest::~StopApplicationRequest() -{} - -std::string StopApplicationRequest::getAppId()const -{ - return appId_; + */ + +#include + +using AlibabaCloud::Sae::Model::StopApplicationRequest; + +StopApplicationRequest::StopApplicationRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/stopApplication"}; + setMethod(HttpRequest::Method::Put); } -void StopApplicationRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +StopApplicationRequest::~StopApplicationRequest() {} + +std::string StopApplicationRequest::getAppId() const { + return appId_; +} + +void StopApplicationRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } diff --git a/sae/src/model/StopApplicationResult.cc b/sae/src/model/StopApplicationResult.cc index f1a1f448c..27631461c 100644 --- a/sae/src/model/StopApplicationResult.cc +++ b/sae/src/model/StopApplicationResult.cc @@ -42,16 +42,16 @@ void StopApplicationResult::parse(const std::string &payload) auto dataNode = value["Data"]; if(!dataNode["ChangeOrderId"].isNull()) data_.changeOrderId = dataNode["ChangeOrderId"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/TagResourcesRequest.cc b/sae/src/model/TagResourcesRequest.cc index e4a293b33..79d410898 100644 --- a/sae/src/model/TagResourcesRequest.cc +++ b/sae/src/model/TagResourcesRequest.cc @@ -1,74 +1,64 @@ /* * 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::Sae::Model::TagResourcesRequest; - -TagResourcesRequest::TagResourcesRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/tags"); - setMethod(HttpRequest::Method::Post); -} - -TagResourcesRequest::~TagResourcesRequest() -{} - -std::string TagResourcesRequest::getRegionId()const -{ - return regionId_; + */ + +#include + +using AlibabaCloud::Sae::Model::TagResourcesRequest; + +TagResourcesRequest::TagResourcesRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/tags"}; + setMethod(HttpRequest::Method::Post); } -void TagResourcesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setBodyParameter("RegionId", regionId); +TagResourcesRequest::~TagResourcesRequest() {} + +std::string TagResourcesRequest::getRegionId() const { + return regionId_; } -std::string TagResourcesRequest::getResourceType()const -{ - return resourceType_; +void TagResourcesRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setBodyParameter(std::string("RegionId"), regionId); } -void TagResourcesRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setBodyParameter("ResourceType", resourceType); +std::string TagResourcesRequest::getResourceType() const { + return resourceType_; } -std::string TagResourcesRequest::getTags()const -{ - return tags_; +void TagResourcesRequest::setResourceType(const std::string &resourceType) { + resourceType_ = resourceType; + setBodyParameter(std::string("ResourceType"), resourceType); } -void TagResourcesRequest::setTags(const std::string& tags) -{ - tags_ = tags; - setBodyParameter("Tags", tags); +std::string TagResourcesRequest::getTags() const { + return tags_; } -std::string TagResourcesRequest::getResourceIds()const -{ - return resourceIds_; +void TagResourcesRequest::setTags(const std::string &tags) { + tags_ = tags; + setBodyParameter(std::string("Tags"), tags); } -void TagResourcesRequest::setResourceIds(const std::string& resourceIds) -{ - resourceIds_ = resourceIds; - setBodyParameter("ResourceIds", resourceIds); +std::string TagResourcesRequest::getResourceIds() const { + return resourceIds_; +} + +void TagResourcesRequest::setResourceIds(const std::string &resourceIds) { + resourceIds_ = resourceIds; + setBodyParameter(std::string("ResourceIds"), resourceIds); } diff --git a/sae/src/model/UnbindSlbRequest.cc b/sae/src/model/UnbindSlbRequest.cc index 7adcadf7e..51ce08384 100644 --- a/sae/src/model/UnbindSlbRequest.cc +++ b/sae/src/model/UnbindSlbRequest.cc @@ -1,63 +1,55 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Sae::Model::UnbindSlbRequest; - -UnbindSlbRequest::UnbindSlbRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/slb"); - setMethod(HttpRequest::Method::Delete); -} - -UnbindSlbRequest::~UnbindSlbRequest() -{} - -bool UnbindSlbRequest::getIntranet()const -{ - return intranet_; + */ + +#include + +using AlibabaCloud::Sae::Model::UnbindSlbRequest; + +UnbindSlbRequest::UnbindSlbRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/slb"}; + setMethod(HttpRequest::Method::Delete); } -void UnbindSlbRequest::setIntranet(bool intranet) -{ - intranet_ = intranet; - setParameter("Intranet", intranet ? "true" : "false"); +UnbindSlbRequest::~UnbindSlbRequest() {} + +bool UnbindSlbRequest::getIntranet() const { + return intranet_; } -std::string UnbindSlbRequest::getAppId()const -{ - return appId_; +void UnbindSlbRequest::setIntranet(bool intranet) { + intranet_ = intranet; + setParameter(std::string("Intranet"), intranet ? "true" : "false"); } -void UnbindSlbRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string UnbindSlbRequest::getAppId() const { + return appId_; } -bool UnbindSlbRequest::getInternet()const -{ - return internet_; +void UnbindSlbRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -void UnbindSlbRequest::setInternet(bool internet) -{ - internet_ = internet; - setParameter("Internet", internet ? "true" : "false"); +bool UnbindSlbRequest::getInternet() const { + return internet_; +} + +void UnbindSlbRequest::setInternet(bool internet) { + internet_ = internet; + setParameter(std::string("Internet"), internet ? "true" : "false"); } diff --git a/sae/src/model/UnbindSlbResult.cc b/sae/src/model/UnbindSlbResult.cc index 6f91c4fb0..eaec580c0 100644 --- a/sae/src/model/UnbindSlbResult.cc +++ b/sae/src/model/UnbindSlbResult.cc @@ -42,16 +42,16 @@ void UnbindSlbResult::parse(const std::string &payload) auto dataNode = value["Data"]; if(!dataNode["ChangeOrderId"].isNull()) data_.changeOrderId = dataNode["ChangeOrderId"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/UntagResourcesRequest.cc b/sae/src/model/UntagResourcesRequest.cc index 8b4522c9d..aa83d622d 100644 --- a/sae/src/model/UntagResourcesRequest.cc +++ b/sae/src/model/UntagResourcesRequest.cc @@ -1,85 +1,73 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Sae::Model::UntagResourcesRequest; - -UntagResourcesRequest::UntagResourcesRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/tags"); - setMethod(HttpRequest::Method::Delete); -} - -UntagResourcesRequest::~UntagResourcesRequest() -{} - -std::string UntagResourcesRequest::getRegionId()const -{ - return regionId_; + */ + +#include + +using AlibabaCloud::Sae::Model::UntagResourcesRequest; + +UntagResourcesRequest::UntagResourcesRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/tags"}; + setMethod(HttpRequest::Method::Delete); } -void UntagResourcesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); +UntagResourcesRequest::~UntagResourcesRequest() {} + +std::string UntagResourcesRequest::getRegionId() const { + return regionId_; } -std::string UntagResourcesRequest::getTagKeys()const -{ - return tagKeys_; +void UntagResourcesRequest::setRegionId(const std::string ®ionId) { + regionId_ = regionId; + setParameter(std::string("RegionId"), regionId); } -void UntagResourcesRequest::setTagKeys(const std::string& tagKeys) -{ - tagKeys_ = tagKeys; - setParameter("TagKeys", tagKeys); +std::string UntagResourcesRequest::getTagKeys() const { + return tagKeys_; } -bool UntagResourcesRequest::getDeleteAll()const -{ - return deleteAll_; +void UntagResourcesRequest::setTagKeys(const std::string &tagKeys) { + tagKeys_ = tagKeys; + setParameter(std::string("TagKeys"), tagKeys); } -void UntagResourcesRequest::setDeleteAll(bool deleteAll) -{ - deleteAll_ = deleteAll; - setParameter("DeleteAll", deleteAll ? "true" : "false"); +bool UntagResourcesRequest::getDeleteAll() const { + return deleteAll_; } -std::string UntagResourcesRequest::getResourceType()const -{ - return resourceType_; +void UntagResourcesRequest::setDeleteAll(bool deleteAll) { + deleteAll_ = deleteAll; + setParameter(std::string("DeleteAll"), deleteAll ? "true" : "false"); } -void UntagResourcesRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); +std::string UntagResourcesRequest::getResourceType() const { + return resourceType_; } -std::string UntagResourcesRequest::getResourceIds()const -{ - return resourceIds_; +void UntagResourcesRequest::setResourceType(const std::string &resourceType) { + resourceType_ = resourceType; + setParameter(std::string("ResourceType"), resourceType); } -void UntagResourcesRequest::setResourceIds(const std::string& resourceIds) -{ - resourceIds_ = resourceIds; - setParameter("ResourceIds", resourceIds); +std::string UntagResourcesRequest::getResourceIds() const { + return resourceIds_; +} + +void UntagResourcesRequest::setResourceIds(const std::string &resourceIds) { + resourceIds_ = resourceIds; + setParameter(std::string("ResourceIds"), resourceIds); } diff --git a/sae/src/model/UpdateAppSecurityGroupRequest.cc b/sae/src/model/UpdateAppSecurityGroupRequest.cc index 64f30238e..9e8a37587 100644 --- a/sae/src/model/UpdateAppSecurityGroupRequest.cc +++ b/sae/src/model/UpdateAppSecurityGroupRequest.cc @@ -1,52 +1,46 @@ /* * 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::Sae::Model::UpdateAppSecurityGroupRequest; - -UpdateAppSecurityGroupRequest::UpdateAppSecurityGroupRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/updateAppSecurityGroup"); - setMethod(HttpRequest::Method::Put); -} - -UpdateAppSecurityGroupRequest::~UpdateAppSecurityGroupRequest() -{} - -std::string UpdateAppSecurityGroupRequest::getAppId()const -{ - return appId_; + */ + +#include + +using AlibabaCloud::Sae::Model::UpdateAppSecurityGroupRequest; + +UpdateAppSecurityGroupRequest::UpdateAppSecurityGroupRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/updateAppSecurityGroup"}; + setMethod(HttpRequest::Method::Put); } -void UpdateAppSecurityGroupRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +UpdateAppSecurityGroupRequest::~UpdateAppSecurityGroupRequest() {} + +std::string UpdateAppSecurityGroupRequest::getAppId() const { + return appId_; } -std::string UpdateAppSecurityGroupRequest::getSecurityGroupId()const -{ - return securityGroupId_; +void UpdateAppSecurityGroupRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -void UpdateAppSecurityGroupRequest::setSecurityGroupId(const std::string& securityGroupId) -{ - securityGroupId_ = securityGroupId; - setParameter("SecurityGroupId", securityGroupId); +std::string UpdateAppSecurityGroupRequest::getSecurityGroupId() const { + return securityGroupId_; +} + +void UpdateAppSecurityGroupRequest::setSecurityGroupId(const std::string &securityGroupId) { + securityGroupId_ = securityGroupId; + setParameter(std::string("SecurityGroupId"), securityGroupId); } diff --git a/sae/src/model/UpdateAppSecurityGroupResult.cc b/sae/src/model/UpdateAppSecurityGroupResult.cc index ed646c2f8..a4a45f072 100644 --- a/sae/src/model/UpdateAppSecurityGroupResult.cc +++ b/sae/src/model/UpdateAppSecurityGroupResult.cc @@ -39,14 +39,14 @@ void UpdateAppSecurityGroupResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; diff --git a/sae/src/model/UpdateApplicationDescriptionRequest.cc b/sae/src/model/UpdateApplicationDescriptionRequest.cc new file mode 100644 index 000000000..f2e2f9a9e --- /dev/null +++ b/sae/src/model/UpdateApplicationDescriptionRequest.cc @@ -0,0 +1,46 @@ +/* + * 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::Sae::Model::UpdateApplicationDescriptionRequest; + +UpdateApplicationDescriptionRequest::UpdateApplicationDescriptionRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/updateAppDescription"}; + setMethod(HttpRequest::Method::Put); +} + +UpdateApplicationDescriptionRequest::~UpdateApplicationDescriptionRequest() {} + +std::string UpdateApplicationDescriptionRequest::getAppDescription() const { + return appDescription_; +} + +void UpdateApplicationDescriptionRequest::setAppDescription(const std::string &appDescription) { + appDescription_ = appDescription; + setParameter(std::string("AppDescription"), appDescription); +} + +std::string UpdateApplicationDescriptionRequest::getAppId() const { + return appId_; +} + +void UpdateApplicationDescriptionRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); +} + diff --git a/sae/src/model/UploadFilesResult.cc b/sae/src/model/UpdateApplicationDescriptionResult.cc similarity index 66% rename from sae/src/model/UploadFilesResult.cc rename to sae/src/model/UpdateApplicationDescriptionResult.cc index c6e87fd91..d9f116c2a 100644 --- a/sae/src/model/UploadFilesResult.cc +++ b/sae/src/model/UpdateApplicationDescriptionResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Sae; using namespace AlibabaCloud::Sae::Model; -UploadFilesResult::UploadFilesResult() : +UpdateApplicationDescriptionResult::UpdateApplicationDescriptionResult() : ServiceResult() {} -UploadFilesResult::UploadFilesResult(const std::string &payload) : +UpdateApplicationDescriptionResult::UpdateApplicationDescriptionResult(const std::string &payload) : ServiceResult() { parse(payload); } -UploadFilesResult::~UploadFilesResult() +UpdateApplicationDescriptionResult::~UpdateApplicationDescriptionResult() {} -void UploadFilesResult::parse(const std::string &payload) +void UpdateApplicationDescriptionResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -43,8 +43,6 @@ void UploadFilesResult::parse(const std::string &payload) message_ = value["Message"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); if(!value["ErrorCode"].isNull()) errorCode_ = value["ErrorCode"].asString(); if(!value["Code"].isNull()) @@ -54,32 +52,27 @@ void UploadFilesResult::parse(const std::string &payload) } -std::string UploadFilesResult::getMessage()const +std::string UpdateApplicationDescriptionResult::getMessage()const { return message_; } -std::string UploadFilesResult::getTraceId()const +std::string UpdateApplicationDescriptionResult::getTraceId()const { return traceId_; } -std::string UploadFilesResult::getData()const -{ - return data_; -} - -std::string UploadFilesResult::getErrorCode()const +std::string UpdateApplicationDescriptionResult::getErrorCode()const { return errorCode_; } -std::string UploadFilesResult::getCode()const +std::string UpdateApplicationDescriptionResult::getCode()const { return code_; } -bool UploadFilesResult::getSuccess()const +bool UpdateApplicationDescriptionResult::getSuccess()const { return success_; } diff --git a/sae/src/model/UpdateApplicationScalingRuleRequest.cc b/sae/src/model/UpdateApplicationScalingRuleRequest.cc index 6a2cd7039..713f0b540 100644 --- a/sae/src/model/UpdateApplicationScalingRuleRequest.cc +++ b/sae/src/model/UpdateApplicationScalingRuleRequest.cc @@ -1,96 +1,82 @@ /* * 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::Sae::Model::UpdateApplicationScalingRuleRequest; - -UpdateApplicationScalingRuleRequest::UpdateApplicationScalingRuleRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/scale/applicationScalingRule"); - setMethod(HttpRequest::Method::Put); -} - -UpdateApplicationScalingRuleRequest::~UpdateApplicationScalingRuleRequest() -{} - -std::string UpdateApplicationScalingRuleRequest::getScalingRuleName()const -{ - return scalingRuleName_; + */ + +#include + +using AlibabaCloud::Sae::Model::UpdateApplicationScalingRuleRequest; + +UpdateApplicationScalingRuleRequest::UpdateApplicationScalingRuleRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/scale/applicationScalingRule"}; + setMethod(HttpRequest::Method::Put); } -void UpdateApplicationScalingRuleRequest::setScalingRuleName(const std::string& scalingRuleName) -{ - scalingRuleName_ = scalingRuleName; - setParameter("ScalingRuleName", scalingRuleName); +UpdateApplicationScalingRuleRequest::~UpdateApplicationScalingRuleRequest() {} + +std::string UpdateApplicationScalingRuleRequest::getScalingRuleName() const { + return scalingRuleName_; } -int UpdateApplicationScalingRuleRequest::getMinReadyInstances()const -{ - return minReadyInstances_; +void UpdateApplicationScalingRuleRequest::setScalingRuleName(const std::string &scalingRuleName) { + scalingRuleName_ = scalingRuleName; + setParameter(std::string("ScalingRuleName"), scalingRuleName); } -void UpdateApplicationScalingRuleRequest::setMinReadyInstances(int minReadyInstances) -{ - minReadyInstances_ = minReadyInstances; - setParameter("MinReadyInstances", std::to_string(minReadyInstances)); +int UpdateApplicationScalingRuleRequest::getMinReadyInstances() const { + return minReadyInstances_; } -std::string UpdateApplicationScalingRuleRequest::getScalingRuleTimer()const -{ - return scalingRuleTimer_; +void UpdateApplicationScalingRuleRequest::setMinReadyInstances(int minReadyInstances) { + minReadyInstances_ = minReadyInstances; + setParameter(std::string("MinReadyInstances"), std::to_string(minReadyInstances)); } -void UpdateApplicationScalingRuleRequest::setScalingRuleTimer(const std::string& scalingRuleTimer) -{ - scalingRuleTimer_ = scalingRuleTimer; - setParameter("ScalingRuleTimer", scalingRuleTimer); +std::string UpdateApplicationScalingRuleRequest::getScalingRuleTimer() const { + return scalingRuleTimer_; } -std::string UpdateApplicationScalingRuleRequest::getScalingRuleMetric()const -{ - return scalingRuleMetric_; +void UpdateApplicationScalingRuleRequest::setScalingRuleTimer(const std::string &scalingRuleTimer) { + scalingRuleTimer_ = scalingRuleTimer; + setParameter(std::string("ScalingRuleTimer"), scalingRuleTimer); } -void UpdateApplicationScalingRuleRequest::setScalingRuleMetric(const std::string& scalingRuleMetric) -{ - scalingRuleMetric_ = scalingRuleMetric; - setParameter("ScalingRuleMetric", scalingRuleMetric); +std::string UpdateApplicationScalingRuleRequest::getScalingRuleMetric() const { + return scalingRuleMetric_; } -std::string UpdateApplicationScalingRuleRequest::getAppId()const -{ - return appId_; +void UpdateApplicationScalingRuleRequest::setScalingRuleMetric(const std::string &scalingRuleMetric) { + scalingRuleMetric_ = scalingRuleMetric; + setParameter(std::string("ScalingRuleMetric"), scalingRuleMetric); } -void UpdateApplicationScalingRuleRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); +std::string UpdateApplicationScalingRuleRequest::getAppId() const { + return appId_; } -int UpdateApplicationScalingRuleRequest::getMinReadyInstanceRatio()const -{ - return minReadyInstanceRatio_; +void UpdateApplicationScalingRuleRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); } -void UpdateApplicationScalingRuleRequest::setMinReadyInstanceRatio(int minReadyInstanceRatio) -{ - minReadyInstanceRatio_ = minReadyInstanceRatio; - setParameter("MinReadyInstanceRatio", std::to_string(minReadyInstanceRatio)); +int UpdateApplicationScalingRuleRequest::getMinReadyInstanceRatio() const { + return minReadyInstanceRatio_; +} + +void UpdateApplicationScalingRuleRequest::setMinReadyInstanceRatio(int minReadyInstanceRatio) { + minReadyInstanceRatio_ = minReadyInstanceRatio; + setParameter(std::string("MinReadyInstanceRatio"), std::to_string(minReadyInstanceRatio)); } diff --git a/sae/src/model/UpdateApplicationVswitchesRequest.cc b/sae/src/model/UpdateApplicationVswitchesRequest.cc new file mode 100644 index 000000000..3c0acbf90 --- /dev/null +++ b/sae/src/model/UpdateApplicationVswitchesRequest.cc @@ -0,0 +1,46 @@ +/* + * 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::Sae::Model::UpdateApplicationVswitchesRequest; + +UpdateApplicationVswitchesRequest::UpdateApplicationVswitchesRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/app/updateAppVswitches"}; + setMethod(HttpRequest::Method::Put); +} + +UpdateApplicationVswitchesRequest::~UpdateApplicationVswitchesRequest() {} + +std::string UpdateApplicationVswitchesRequest::getVSwitchId() const { + return vSwitchId_; +} + +void UpdateApplicationVswitchesRequest::setVSwitchId(const std::string &vSwitchId) { + vSwitchId_ = vSwitchId; + setParameter(std::string("VSwitchId"), vSwitchId); +} + +std::string UpdateApplicationVswitchesRequest::getAppId() const { + return appId_; +} + +void UpdateApplicationVswitchesRequest::setAppId(const std::string &appId) { + appId_ = appId; + setParameter(std::string("AppId"), appId); +} + diff --git a/sae/src/model/DownloadFilesResult.cc b/sae/src/model/UpdateApplicationVswitchesResult.cc similarity index 67% rename from sae/src/model/DownloadFilesResult.cc rename to sae/src/model/UpdateApplicationVswitchesResult.cc index 1c460ef2d..7a68abc76 100644 --- a/sae/src/model/DownloadFilesResult.cc +++ b/sae/src/model/UpdateApplicationVswitchesResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Sae; using namespace AlibabaCloud::Sae::Model; -DownloadFilesResult::DownloadFilesResult() : +UpdateApplicationVswitchesResult::UpdateApplicationVswitchesResult() : ServiceResult() {} -DownloadFilesResult::DownloadFilesResult(const std::string &payload) : +UpdateApplicationVswitchesResult::UpdateApplicationVswitchesResult(const std::string &payload) : ServiceResult() { parse(payload); } -DownloadFilesResult::~DownloadFilesResult() +UpdateApplicationVswitchesResult::~UpdateApplicationVswitchesResult() {} -void DownloadFilesResult::parse(const std::string &payload) +void UpdateApplicationVswitchesResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -43,8 +43,6 @@ void DownloadFilesResult::parse(const std::string &payload) message_ = value["Message"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); if(!value["ErrorCode"].isNull()) errorCode_ = value["ErrorCode"].asString(); if(!value["Code"].isNull()) @@ -54,32 +52,27 @@ void DownloadFilesResult::parse(const std::string &payload) } -std::string DownloadFilesResult::getMessage()const +std::string UpdateApplicationVswitchesResult::getMessage()const { return message_; } -std::string DownloadFilesResult::getTraceId()const +std::string UpdateApplicationVswitchesResult::getTraceId()const { return traceId_; } -std::string DownloadFilesResult::getData()const -{ - return data_; -} - -std::string DownloadFilesResult::getErrorCode()const +std::string UpdateApplicationVswitchesResult::getErrorCode()const { return errorCode_; } -std::string DownloadFilesResult::getCode()const +std::string UpdateApplicationVswitchesResult::getCode()const { return code_; } -bool DownloadFilesResult::getSuccess()const +bool UpdateApplicationVswitchesResult::getSuccess()const { return success_; } diff --git a/sae/src/model/UpdateConfigMapRequest.cc b/sae/src/model/UpdateConfigMapRequest.cc index ae9987ac2..37d0dc5b0 100644 --- a/sae/src/model/UpdateConfigMapRequest.cc +++ b/sae/src/model/UpdateConfigMapRequest.cc @@ -1,63 +1,55 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Sae::Model::UpdateConfigMapRequest; - -UpdateConfigMapRequest::UpdateConfigMapRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/configmap/configMap"); - setMethod(HttpRequest::Method::Put); -} - -UpdateConfigMapRequest::~UpdateConfigMapRequest() -{} - -std::string UpdateConfigMapRequest::getData()const -{ - return data_; + */ + +#include + +using AlibabaCloud::Sae::Model::UpdateConfigMapRequest; + +UpdateConfigMapRequest::UpdateConfigMapRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/configmap/configMap"}; + setMethod(HttpRequest::Method::Put); } -void UpdateConfigMapRequest::setData(const std::string& data) -{ - data_ = data; - setBodyParameter("Data", data); +UpdateConfigMapRequest::~UpdateConfigMapRequest() {} + +std::string UpdateConfigMapRequest::getData() const { + return data_; } -std::string UpdateConfigMapRequest::getDescription()const -{ - return description_; +void UpdateConfigMapRequest::setData(const std::string &data) { + data_ = data; + setBodyParameter(std::string("Data"), data); } -void UpdateConfigMapRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +std::string UpdateConfigMapRequest::getDescription() const { + return description_; } -long UpdateConfigMapRequest::getConfigMapId()const -{ - return configMapId_; +void UpdateConfigMapRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void UpdateConfigMapRequest::setConfigMapId(long configMapId) -{ - configMapId_ = configMapId; - setParameter("ConfigMapId", std::to_string(configMapId)); +long UpdateConfigMapRequest::getConfigMapId() const { + return configMapId_; +} + +void UpdateConfigMapRequest::setConfigMapId(long configMapId) { + configMapId_ = configMapId; + setParameter(std::string("ConfigMapId"), std::to_string(configMapId)); } diff --git a/sae/src/model/UpdateGreyTagRouteRequest.cc b/sae/src/model/UpdateGreyTagRouteRequest.cc index 3323927fa..3dd939a3c 100644 --- a/sae/src/model/UpdateGreyTagRouteRequest.cc +++ b/sae/src/model/UpdateGreyTagRouteRequest.cc @@ -1,74 +1,64 @@ /* * 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::Sae::Model::UpdateGreyTagRouteRequest; - -UpdateGreyTagRouteRequest::UpdateGreyTagRouteRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/tagroute/greyTagRoute"); - setMethod(HttpRequest::Method::Put); -} - -UpdateGreyTagRouteRequest::~UpdateGreyTagRouteRequest() -{} - -long UpdateGreyTagRouteRequest::getGreyTagRouteId()const -{ - return greyTagRouteId_; + */ + +#include + +using AlibabaCloud::Sae::Model::UpdateGreyTagRouteRequest; + +UpdateGreyTagRouteRequest::UpdateGreyTagRouteRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/tagroute/greyTagRoute"}; + setMethod(HttpRequest::Method::Put); } -void UpdateGreyTagRouteRequest::setGreyTagRouteId(long greyTagRouteId) -{ - greyTagRouteId_ = greyTagRouteId; - setParameter("GreyTagRouteId", std::to_string(greyTagRouteId)); +UpdateGreyTagRouteRequest::~UpdateGreyTagRouteRequest() {} + +long UpdateGreyTagRouteRequest::getGreyTagRouteId() const { + return greyTagRouteId_; } -std::string UpdateGreyTagRouteRequest::getDescription()const -{ - return description_; +void UpdateGreyTagRouteRequest::setGreyTagRouteId(long greyTagRouteId) { + greyTagRouteId_ = greyTagRouteId; + setParameter(std::string("GreyTagRouteId"), std::to_string(greyTagRouteId)); } -void UpdateGreyTagRouteRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +std::string UpdateGreyTagRouteRequest::getDescription() const { + return description_; } -std::string UpdateGreyTagRouteRequest::getDubboRules()const -{ - return dubboRules_; +void UpdateGreyTagRouteRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void UpdateGreyTagRouteRequest::setDubboRules(const std::string& dubboRules) -{ - dubboRules_ = dubboRules; - setParameter("DubboRules", dubboRules); +std::string UpdateGreyTagRouteRequest::getDubboRules() const { + return dubboRules_; } -std::string UpdateGreyTagRouteRequest::getScRules()const -{ - return scRules_; +void UpdateGreyTagRouteRequest::setDubboRules(const std::string &dubboRules) { + dubboRules_ = dubboRules; + setParameter(std::string("DubboRules"), dubboRules); } -void UpdateGreyTagRouteRequest::setScRules(const std::string& scRules) -{ - scRules_ = scRules; - setParameter("ScRules", scRules); +std::string UpdateGreyTagRouteRequest::getScRules() const { + return scRules_; +} + +void UpdateGreyTagRouteRequest::setScRules(const std::string &scRules) { + scRules_ = scRules; + setParameter(std::string("ScRules"), scRules); } diff --git a/sae/src/model/UpdateIngressRequest.cc b/sae/src/model/UpdateIngressRequest.cc index 16e635a3c..42c296f03 100644 --- a/sae/src/model/UpdateIngressRequest.cc +++ b/sae/src/model/UpdateIngressRequest.cc @@ -1,96 +1,100 @@ /* * 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::Sae::Model::UpdateIngressRequest; - -UpdateIngressRequest::UpdateIngressRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/ingress/Ingress"); - setMethod(HttpRequest::Method::Put); -} - -UpdateIngressRequest::~UpdateIngressRequest() -{} - -long UpdateIngressRequest::getIngressId()const -{ - return ingressId_; + */ + +#include + +using AlibabaCloud::Sae::Model::UpdateIngressRequest; + +UpdateIngressRequest::UpdateIngressRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/ingress/Ingress"}; + setMethod(HttpRequest::Method::Put); } -void UpdateIngressRequest::setIngressId(long ingressId) -{ - ingressId_ = ingressId; - setParameter("IngressId", std::to_string(ingressId)); +UpdateIngressRequest::~UpdateIngressRequest() {} + +long UpdateIngressRequest::getIngressId() const { + return ingressId_; } -std::string UpdateIngressRequest::getListenerPort()const -{ - return listenerPort_; +void UpdateIngressRequest::setIngressId(long ingressId) { + ingressId_ = ingressId; + setParameter(std::string("IngressId"), std::to_string(ingressId)); } -void UpdateIngressRequest::setListenerPort(const std::string& listenerPort) -{ - listenerPort_ = listenerPort; - setParameter("ListenerPort", listenerPort); +std::string UpdateIngressRequest::getListenerPort() const { + return listenerPort_; } -std::string UpdateIngressRequest::getDescription()const -{ - return description_; +void UpdateIngressRequest::setListenerPort(const std::string &listenerPort) { + listenerPort_ = listenerPort; + setParameter(std::string("ListenerPort"), listenerPort); } -void UpdateIngressRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +std::string UpdateIngressRequest::getDescription() const { + return description_; } -std::string UpdateIngressRequest::getRules()const -{ - return rules_; +void UpdateIngressRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void UpdateIngressRequest::setRules(const std::string& rules) -{ - rules_ = rules; - setBodyParameter("Rules", rules); +std::string UpdateIngressRequest::getLoadBalanceType() const { + return loadBalanceType_; } -std::string UpdateIngressRequest::getCertId()const -{ - return certId_; +void UpdateIngressRequest::setLoadBalanceType(const std::string &loadBalanceType) { + loadBalanceType_ = loadBalanceType; + setParameter(std::string("LoadBalanceType"), loadBalanceType); } -void UpdateIngressRequest::setCertId(const std::string& certId) -{ - certId_ = certId; - setParameter("CertId", certId); +std::string UpdateIngressRequest::getRules() const { + return rules_; } -std::string UpdateIngressRequest::getDefaultRule()const -{ - return defaultRule_; +void UpdateIngressRequest::setRules(const std::string &rules) { + rules_ = rules; + setBodyParameter(std::string("Rules"), rules); } -void UpdateIngressRequest::setDefaultRule(const std::string& defaultRule) -{ - defaultRule_ = defaultRule; - setParameter("DefaultRule", defaultRule); +std::string UpdateIngressRequest::getCertId() const { + return certId_; +} + +void UpdateIngressRequest::setCertId(const std::string &certId) { + certId_ = certId; + setParameter(std::string("CertId"), certId); +} + +std::string UpdateIngressRequest::getListenerProtocol() const { + return listenerProtocol_; +} + +void UpdateIngressRequest::setListenerProtocol(const std::string &listenerProtocol) { + listenerProtocol_ = listenerProtocol; + setParameter(std::string("ListenerProtocol"), listenerProtocol); +} + +std::string UpdateIngressRequest::getDefaultRule() const { + return defaultRule_; +} + +void UpdateIngressRequest::setDefaultRule(const std::string &defaultRule) { + defaultRule_ = defaultRule; + setParameter(std::string("DefaultRule"), defaultRule); } diff --git a/sae/src/model/UpdateNamespaceRequest.cc b/sae/src/model/UpdateNamespaceRequest.cc index 657270261..2fc799945 100644 --- a/sae/src/model/UpdateNamespaceRequest.cc +++ b/sae/src/model/UpdateNamespaceRequest.cc @@ -1,63 +1,55 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Sae::Model::UpdateNamespaceRequest; - -UpdateNamespaceRequest::UpdateNamespaceRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/paas/namespace"); - setMethod(HttpRequest::Method::Put); -} - -UpdateNamespaceRequest::~UpdateNamespaceRequest() -{} - -std::string UpdateNamespaceRequest::getNamespaceName()const -{ - return namespaceName_; + */ + +#include + +using AlibabaCloud::Sae::Model::UpdateNamespaceRequest; + +UpdateNamespaceRequest::UpdateNamespaceRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/paas/namespace"}; + setMethod(HttpRequest::Method::Put); } -void UpdateNamespaceRequest::setNamespaceName(const std::string& namespaceName) -{ - namespaceName_ = namespaceName; - setParameter("NamespaceName", namespaceName); +UpdateNamespaceRequest::~UpdateNamespaceRequest() {} + +std::string UpdateNamespaceRequest::getNamespaceName() const { + return namespaceName_; } -std::string UpdateNamespaceRequest::getNamespaceDescription()const -{ - return namespaceDescription_; +void UpdateNamespaceRequest::setNamespaceName(const std::string &namespaceName) { + namespaceName_ = namespaceName; + setParameter(std::string("NamespaceName"), namespaceName); } -void UpdateNamespaceRequest::setNamespaceDescription(const std::string& namespaceDescription) -{ - namespaceDescription_ = namespaceDescription; - setParameter("NamespaceDescription", namespaceDescription); +std::string UpdateNamespaceRequest::getNamespaceDescription() const { + return namespaceDescription_; } -std::string UpdateNamespaceRequest::getNamespaceId()const -{ - return namespaceId_; +void UpdateNamespaceRequest::setNamespaceDescription(const std::string &namespaceDescription) { + namespaceDescription_ = namespaceDescription; + setParameter(std::string("NamespaceDescription"), namespaceDescription); } -void UpdateNamespaceRequest::setNamespaceId(const std::string& namespaceId) -{ - namespaceId_ = namespaceId; - setParameter("NamespaceId", namespaceId); +std::string UpdateNamespaceRequest::getNamespaceId() const { + return namespaceId_; +} + +void UpdateNamespaceRequest::setNamespaceId(const std::string &namespaceId) { + namespaceId_ = namespaceId; + setParameter(std::string("NamespaceId"), namespaceId); } diff --git a/sae/src/model/UpdateNamespaceResult.cc b/sae/src/model/UpdateNamespaceResult.cc index cb08c25d0..0dc741f44 100644 --- a/sae/src/model/UpdateNamespaceResult.cc +++ b/sae/src/model/UpdateNamespaceResult.cc @@ -40,24 +40,24 @@ void UpdateNamespaceResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto dataNode = value["Data"]; - if(!dataNode["RegionId"].isNull()) - data_.regionId = dataNode["RegionId"].asString(); + if(!dataNode["NamespaceDescription"].isNull()) + data_.namespaceDescription = dataNode["NamespaceDescription"].asString(); if(!dataNode["NamespaceId"].isNull()) data_.namespaceId = dataNode["NamespaceId"].asString(); if(!dataNode["NamespaceName"].isNull()) data_.namespaceName = dataNode["NamespaceName"].asString(); - if(!dataNode["NamespaceDescription"].isNull()) - data_.namespaceDescription = dataNode["NamespaceDescription"].asString(); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); + if(!dataNode["RegionId"].isNull()) + data_.regionId = dataNode["RegionId"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/sae/src/model/UpdateNamespaceVpcRequest.cc b/sae/src/model/UpdateNamespaceVpcRequest.cc index fa0b84035..73fda7b1a 100644 --- a/sae/src/model/UpdateNamespaceVpcRequest.cc +++ b/sae/src/model/UpdateNamespaceVpcRequest.cc @@ -1,52 +1,46 @@ /* * 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::Sae::Model::UpdateNamespaceVpcRequest; - -UpdateNamespaceVpcRequest::UpdateNamespaceVpcRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/namespace/updateNamespaceVpc"); - setMethod(HttpRequest::Method::Post); -} - -UpdateNamespaceVpcRequest::~UpdateNamespaceVpcRequest() -{} - -std::string UpdateNamespaceVpcRequest::getNamespaceId()const -{ - return namespaceId_; + */ + +#include + +using AlibabaCloud::Sae::Model::UpdateNamespaceVpcRequest; + +UpdateNamespaceVpcRequest::UpdateNamespaceVpcRequest() + : RoaServiceRequest("sae", "2019-05-06") { + setResourcePath("/pop/v1/sam/namespace/updateNamespaceVpc"}; + setMethod(HttpRequest::Method::Post); } -void UpdateNamespaceVpcRequest::setNamespaceId(const std::string& namespaceId) -{ - namespaceId_ = namespaceId; - setParameter("NamespaceId", namespaceId); +UpdateNamespaceVpcRequest::~UpdateNamespaceVpcRequest() {} + +std::string UpdateNamespaceVpcRequest::getNamespaceId() const { + return namespaceId_; } -std::string UpdateNamespaceVpcRequest::getVpcId()const -{ - return vpcId_; +void UpdateNamespaceVpcRequest::setNamespaceId(const std::string &namespaceId) { + namespaceId_ = namespaceId; + setParameter(std::string("NamespaceId"), namespaceId); } -void UpdateNamespaceVpcRequest::setVpcId(const std::string& vpcId) -{ - vpcId_ = vpcId; - setParameter("VpcId", vpcId); +std::string UpdateNamespaceVpcRequest::getVpcId() const { + return vpcId_; +} + +void UpdateNamespaceVpcRequest::setVpcId(const std::string &vpcId) { + vpcId_ = vpcId; + setParameter(std::string("VpcId"), vpcId); } diff --git a/sae/src/model/UpdateNamespaceVpcResult.cc b/sae/src/model/UpdateNamespaceVpcResult.cc index 5e437f7a8..5079cbac4 100644 --- a/sae/src/model/UpdateNamespaceVpcResult.cc +++ b/sae/src/model/UpdateNamespaceVpcResult.cc @@ -39,14 +39,14 @@ void UpdateNamespaceVpcResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["TraceId"].isNull()) traceId_ = value["TraceId"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; diff --git a/sae/src/model/UploadFilesRequest.cc b/sae/src/model/UploadFilesRequest.cc deleted file mode 100644 index dd7af3006..000000000 --- a/sae/src/model/UploadFilesRequest.cc +++ /dev/null @@ -1,74 +0,0 @@ -/* - * 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::Sae::Model::UploadFilesRequest; - -UploadFilesRequest::UploadFilesRequest() : - RoaServiceRequest("sae", "2019-05-06") -{ - setResourcePath("/pop/v1/sam/app/uploadFiles"); - setMethod(HttpRequest::Method::Post); -} - -UploadFilesRequest::~UploadFilesRequest() -{} - -std::string UploadFilesRequest::getInstanceId()const -{ - return instanceId_; -} - -void UploadFilesRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); -} - -std::string UploadFilesRequest::getCloudUrl()const -{ - return cloudUrl_; -} - -void UploadFilesRequest::setCloudUrl(const std::string& cloudUrl) -{ - cloudUrl_ = cloudUrl; - setParameter("CloudUrl", cloudUrl); -} - -std::string UploadFilesRequest::getLocalpath()const -{ - return localpath_; -} - -void UploadFilesRequest::setLocalpath(const std::string& localpath) -{ - localpath_ = localpath; - setParameter("Localpath", localpath); -} - -std::string UploadFilesRequest::getAppId()const -{ - return appId_; -} - -void UploadFilesRequest::setAppId(const std::string& appId) -{ - appId_ = appId; - setParameter("AppId", appId); -} -