Generated 2014-08-28 for Ess.

This commit is contained in:
sdk-team
2025-04-25 07:04:42 +00:00
parent 1f2e0e0b42
commit 9b2557bf41
223 changed files with 19126 additions and 14475 deletions

View File

@@ -1 +1 @@
1.36.2062 1.36.2063

View File

@@ -21,18 +21,26 @@ set(ess_public_header
include/alibabacloud/ess/EssExport.h ) include/alibabacloud/ess/EssExport.h )
set(ess_public_header_model set(ess_public_header_model
include/alibabacloud/ess/model/AttachAlbServerGroupsRequest.h
include/alibabacloud/ess/model/AttachAlbServerGroupsResult.h
include/alibabacloud/ess/model/AttachDBInstancesRequest.h include/alibabacloud/ess/model/AttachDBInstancesRequest.h
include/alibabacloud/ess/model/AttachDBInstancesResult.h include/alibabacloud/ess/model/AttachDBInstancesResult.h
include/alibabacloud/ess/model/AttachInstancesRequest.h include/alibabacloud/ess/model/AttachInstancesRequest.h
include/alibabacloud/ess/model/AttachInstancesResult.h include/alibabacloud/ess/model/AttachInstancesResult.h
include/alibabacloud/ess/model/AttachLoadBalancersRequest.h include/alibabacloud/ess/model/AttachLoadBalancersRequest.h
include/alibabacloud/ess/model/AttachLoadBalancersResult.h include/alibabacloud/ess/model/AttachLoadBalancersResult.h
include/alibabacloud/ess/model/AttachServerGroupsRequest.h
include/alibabacloud/ess/model/AttachServerGroupsResult.h
include/alibabacloud/ess/model/AttachVServerGroupsRequest.h include/alibabacloud/ess/model/AttachVServerGroupsRequest.h
include/alibabacloud/ess/model/AttachVServerGroupsResult.h include/alibabacloud/ess/model/AttachVServerGroupsResult.h
include/alibabacloud/ess/model/ChangeResourceGroupRequest.h
include/alibabacloud/ess/model/ChangeResourceGroupResult.h
include/alibabacloud/ess/model/CompleteLifecycleActionRequest.h include/alibabacloud/ess/model/CompleteLifecycleActionRequest.h
include/alibabacloud/ess/model/CompleteLifecycleActionResult.h include/alibabacloud/ess/model/CompleteLifecycleActionResult.h
include/alibabacloud/ess/model/CreateAlarmRequest.h include/alibabacloud/ess/model/CreateAlarmRequest.h
include/alibabacloud/ess/model/CreateAlarmResult.h include/alibabacloud/ess/model/CreateAlarmResult.h
include/alibabacloud/ess/model/CreateEciScalingConfigurationRequest.h
include/alibabacloud/ess/model/CreateEciScalingConfigurationResult.h
include/alibabacloud/ess/model/CreateLifecycleHookRequest.h include/alibabacloud/ess/model/CreateLifecycleHookRequest.h
include/alibabacloud/ess/model/CreateLifecycleHookResult.h include/alibabacloud/ess/model/CreateLifecycleHookResult.h
include/alibabacloud/ess/model/CreateNotificationConfigurationRequest.h include/alibabacloud/ess/model/CreateNotificationConfigurationRequest.h
@@ -49,6 +57,8 @@ set(ess_public_header_model
include/alibabacloud/ess/model/DeactivateScalingConfigurationResult.h include/alibabacloud/ess/model/DeactivateScalingConfigurationResult.h
include/alibabacloud/ess/model/DeleteAlarmRequest.h include/alibabacloud/ess/model/DeleteAlarmRequest.h
include/alibabacloud/ess/model/DeleteAlarmResult.h include/alibabacloud/ess/model/DeleteAlarmResult.h
include/alibabacloud/ess/model/DeleteEciScalingConfigurationRequest.h
include/alibabacloud/ess/model/DeleteEciScalingConfigurationResult.h
include/alibabacloud/ess/model/DeleteLifecycleHookRequest.h include/alibabacloud/ess/model/DeleteLifecycleHookRequest.h
include/alibabacloud/ess/model/DeleteLifecycleHookResult.h include/alibabacloud/ess/model/DeleteLifecycleHookResult.h
include/alibabacloud/ess/model/DeleteNotificationConfigurationRequest.h include/alibabacloud/ess/model/DeleteNotificationConfigurationRequest.h
@@ -63,6 +73,10 @@ set(ess_public_header_model
include/alibabacloud/ess/model/DeleteScheduledTaskResult.h include/alibabacloud/ess/model/DeleteScheduledTaskResult.h
include/alibabacloud/ess/model/DescribeAlarmsRequest.h include/alibabacloud/ess/model/DescribeAlarmsRequest.h
include/alibabacloud/ess/model/DescribeAlarmsResult.h include/alibabacloud/ess/model/DescribeAlarmsResult.h
include/alibabacloud/ess/model/DescribeEciScalingConfigurationsRequest.h
include/alibabacloud/ess/model/DescribeEciScalingConfigurationsResult.h
include/alibabacloud/ess/model/DescribeElasticStrengthRequest.h
include/alibabacloud/ess/model/DescribeElasticStrengthResult.h
include/alibabacloud/ess/model/DescribeLifecycleActionsRequest.h include/alibabacloud/ess/model/DescribeLifecycleActionsRequest.h
include/alibabacloud/ess/model/DescribeLifecycleActionsResult.h include/alibabacloud/ess/model/DescribeLifecycleActionsResult.h
include/alibabacloud/ess/model/DescribeLifecycleHooksRequest.h include/alibabacloud/ess/model/DescribeLifecycleHooksRequest.h
@@ -73,6 +87,8 @@ set(ess_public_header_model
include/alibabacloud/ess/model/DescribeNotificationConfigurationsResult.h include/alibabacloud/ess/model/DescribeNotificationConfigurationsResult.h
include/alibabacloud/ess/model/DescribeNotificationTypesRequest.h include/alibabacloud/ess/model/DescribeNotificationTypesRequest.h
include/alibabacloud/ess/model/DescribeNotificationTypesResult.h include/alibabacloud/ess/model/DescribeNotificationTypesResult.h
include/alibabacloud/ess/model/DescribePatternTypesRequest.h
include/alibabacloud/ess/model/DescribePatternTypesResult.h
include/alibabacloud/ess/model/DescribeRegionsRequest.h include/alibabacloud/ess/model/DescribeRegionsRequest.h
include/alibabacloud/ess/model/DescribeRegionsResult.h include/alibabacloud/ess/model/DescribeRegionsResult.h
include/alibabacloud/ess/model/DescribeScalingActivitiesRequest.h include/alibabacloud/ess/model/DescribeScalingActivitiesRequest.h
@@ -89,12 +105,16 @@ set(ess_public_header_model
include/alibabacloud/ess/model/DescribeScalingRulesResult.h include/alibabacloud/ess/model/DescribeScalingRulesResult.h
include/alibabacloud/ess/model/DescribeScheduledTasksRequest.h include/alibabacloud/ess/model/DescribeScheduledTasksRequest.h
include/alibabacloud/ess/model/DescribeScheduledTasksResult.h include/alibabacloud/ess/model/DescribeScheduledTasksResult.h
include/alibabacloud/ess/model/DetachAlbServerGroupsRequest.h
include/alibabacloud/ess/model/DetachAlbServerGroupsResult.h
include/alibabacloud/ess/model/DetachDBInstancesRequest.h include/alibabacloud/ess/model/DetachDBInstancesRequest.h
include/alibabacloud/ess/model/DetachDBInstancesResult.h include/alibabacloud/ess/model/DetachDBInstancesResult.h
include/alibabacloud/ess/model/DetachInstancesRequest.h include/alibabacloud/ess/model/DetachInstancesRequest.h
include/alibabacloud/ess/model/DetachInstancesResult.h include/alibabacloud/ess/model/DetachInstancesResult.h
include/alibabacloud/ess/model/DetachLoadBalancersRequest.h include/alibabacloud/ess/model/DetachLoadBalancersRequest.h
include/alibabacloud/ess/model/DetachLoadBalancersResult.h include/alibabacloud/ess/model/DetachLoadBalancersResult.h
include/alibabacloud/ess/model/DetachServerGroupsRequest.h
include/alibabacloud/ess/model/DetachServerGroupsResult.h
include/alibabacloud/ess/model/DetachVServerGroupsRequest.h include/alibabacloud/ess/model/DetachVServerGroupsRequest.h
include/alibabacloud/ess/model/DetachVServerGroupsResult.h include/alibabacloud/ess/model/DetachVServerGroupsResult.h
include/alibabacloud/ess/model/DisableAlarmRequest.h include/alibabacloud/ess/model/DisableAlarmRequest.h
@@ -119,6 +139,10 @@ set(ess_public_header_model
include/alibabacloud/ess/model/ListTagValuesResult.h include/alibabacloud/ess/model/ListTagValuesResult.h
include/alibabacloud/ess/model/ModifyAlarmRequest.h include/alibabacloud/ess/model/ModifyAlarmRequest.h
include/alibabacloud/ess/model/ModifyAlarmResult.h include/alibabacloud/ess/model/ModifyAlarmResult.h
include/alibabacloud/ess/model/ModifyEciScalingConfigurationRequest.h
include/alibabacloud/ess/model/ModifyEciScalingConfigurationResult.h
include/alibabacloud/ess/model/ModifyInstanceAttributeRequest.h
include/alibabacloud/ess/model/ModifyInstanceAttributeResult.h
include/alibabacloud/ess/model/ModifyLifecycleHookRequest.h include/alibabacloud/ess/model/ModifyLifecycleHookRequest.h
include/alibabacloud/ess/model/ModifyLifecycleHookResult.h include/alibabacloud/ess/model/ModifyLifecycleHookResult.h
include/alibabacloud/ess/model/ModifyNotificationConfigurationRequest.h include/alibabacloud/ess/model/ModifyNotificationConfigurationRequest.h
@@ -139,6 +163,8 @@ set(ess_public_header_model
include/alibabacloud/ess/model/RemoveInstancesResult.h include/alibabacloud/ess/model/RemoveInstancesResult.h
include/alibabacloud/ess/model/ResumeProcessesRequest.h include/alibabacloud/ess/model/ResumeProcessesRequest.h
include/alibabacloud/ess/model/ResumeProcessesResult.h include/alibabacloud/ess/model/ResumeProcessesResult.h
include/alibabacloud/ess/model/ScaleWithAdjustmentRequest.h
include/alibabacloud/ess/model/ScaleWithAdjustmentResult.h
include/alibabacloud/ess/model/SetGroupDeletionProtectionRequest.h include/alibabacloud/ess/model/SetGroupDeletionProtectionRequest.h
include/alibabacloud/ess/model/SetGroupDeletionProtectionResult.h include/alibabacloud/ess/model/SetGroupDeletionProtectionResult.h
include/alibabacloud/ess/model/SetInstanceHealthRequest.h include/alibabacloud/ess/model/SetInstanceHealthRequest.h
@@ -158,18 +184,26 @@ set(ess_public_header_model
set(ess_src set(ess_src
src/EssClient.cc src/EssClient.cc
src/model/AttachAlbServerGroupsRequest.cc
src/model/AttachAlbServerGroupsResult.cc
src/model/AttachDBInstancesRequest.cc src/model/AttachDBInstancesRequest.cc
src/model/AttachDBInstancesResult.cc src/model/AttachDBInstancesResult.cc
src/model/AttachInstancesRequest.cc src/model/AttachInstancesRequest.cc
src/model/AttachInstancesResult.cc src/model/AttachInstancesResult.cc
src/model/AttachLoadBalancersRequest.cc src/model/AttachLoadBalancersRequest.cc
src/model/AttachLoadBalancersResult.cc src/model/AttachLoadBalancersResult.cc
src/model/AttachServerGroupsRequest.cc
src/model/AttachServerGroupsResult.cc
src/model/AttachVServerGroupsRequest.cc src/model/AttachVServerGroupsRequest.cc
src/model/AttachVServerGroupsResult.cc src/model/AttachVServerGroupsResult.cc
src/model/ChangeResourceGroupRequest.cc
src/model/ChangeResourceGroupResult.cc
src/model/CompleteLifecycleActionRequest.cc src/model/CompleteLifecycleActionRequest.cc
src/model/CompleteLifecycleActionResult.cc src/model/CompleteLifecycleActionResult.cc
src/model/CreateAlarmRequest.cc src/model/CreateAlarmRequest.cc
src/model/CreateAlarmResult.cc src/model/CreateAlarmResult.cc
src/model/CreateEciScalingConfigurationRequest.cc
src/model/CreateEciScalingConfigurationResult.cc
src/model/CreateLifecycleHookRequest.cc src/model/CreateLifecycleHookRequest.cc
src/model/CreateLifecycleHookResult.cc src/model/CreateLifecycleHookResult.cc
src/model/CreateNotificationConfigurationRequest.cc src/model/CreateNotificationConfigurationRequest.cc
@@ -186,6 +220,8 @@ set(ess_src
src/model/DeactivateScalingConfigurationResult.cc src/model/DeactivateScalingConfigurationResult.cc
src/model/DeleteAlarmRequest.cc src/model/DeleteAlarmRequest.cc
src/model/DeleteAlarmResult.cc src/model/DeleteAlarmResult.cc
src/model/DeleteEciScalingConfigurationRequest.cc
src/model/DeleteEciScalingConfigurationResult.cc
src/model/DeleteLifecycleHookRequest.cc src/model/DeleteLifecycleHookRequest.cc
src/model/DeleteLifecycleHookResult.cc src/model/DeleteLifecycleHookResult.cc
src/model/DeleteNotificationConfigurationRequest.cc src/model/DeleteNotificationConfigurationRequest.cc
@@ -200,6 +236,10 @@ set(ess_src
src/model/DeleteScheduledTaskResult.cc src/model/DeleteScheduledTaskResult.cc
src/model/DescribeAlarmsRequest.cc src/model/DescribeAlarmsRequest.cc
src/model/DescribeAlarmsResult.cc src/model/DescribeAlarmsResult.cc
src/model/DescribeEciScalingConfigurationsRequest.cc
src/model/DescribeEciScalingConfigurationsResult.cc
src/model/DescribeElasticStrengthRequest.cc
src/model/DescribeElasticStrengthResult.cc
src/model/DescribeLifecycleActionsRequest.cc src/model/DescribeLifecycleActionsRequest.cc
src/model/DescribeLifecycleActionsResult.cc src/model/DescribeLifecycleActionsResult.cc
src/model/DescribeLifecycleHooksRequest.cc src/model/DescribeLifecycleHooksRequest.cc
@@ -210,6 +250,8 @@ set(ess_src
src/model/DescribeNotificationConfigurationsResult.cc src/model/DescribeNotificationConfigurationsResult.cc
src/model/DescribeNotificationTypesRequest.cc src/model/DescribeNotificationTypesRequest.cc
src/model/DescribeNotificationTypesResult.cc src/model/DescribeNotificationTypesResult.cc
src/model/DescribePatternTypesRequest.cc
src/model/DescribePatternTypesResult.cc
src/model/DescribeRegionsRequest.cc src/model/DescribeRegionsRequest.cc
src/model/DescribeRegionsResult.cc src/model/DescribeRegionsResult.cc
src/model/DescribeScalingActivitiesRequest.cc src/model/DescribeScalingActivitiesRequest.cc
@@ -226,12 +268,16 @@ set(ess_src
src/model/DescribeScalingRulesResult.cc src/model/DescribeScalingRulesResult.cc
src/model/DescribeScheduledTasksRequest.cc src/model/DescribeScheduledTasksRequest.cc
src/model/DescribeScheduledTasksResult.cc src/model/DescribeScheduledTasksResult.cc
src/model/DetachAlbServerGroupsRequest.cc
src/model/DetachAlbServerGroupsResult.cc
src/model/DetachDBInstancesRequest.cc src/model/DetachDBInstancesRequest.cc
src/model/DetachDBInstancesResult.cc src/model/DetachDBInstancesResult.cc
src/model/DetachInstancesRequest.cc src/model/DetachInstancesRequest.cc
src/model/DetachInstancesResult.cc src/model/DetachInstancesResult.cc
src/model/DetachLoadBalancersRequest.cc src/model/DetachLoadBalancersRequest.cc
src/model/DetachLoadBalancersResult.cc src/model/DetachLoadBalancersResult.cc
src/model/DetachServerGroupsRequest.cc
src/model/DetachServerGroupsResult.cc
src/model/DetachVServerGroupsRequest.cc src/model/DetachVServerGroupsRequest.cc
src/model/DetachVServerGroupsResult.cc src/model/DetachVServerGroupsResult.cc
src/model/DisableAlarmRequest.cc src/model/DisableAlarmRequest.cc
@@ -256,6 +302,10 @@ set(ess_src
src/model/ListTagValuesResult.cc src/model/ListTagValuesResult.cc
src/model/ModifyAlarmRequest.cc src/model/ModifyAlarmRequest.cc
src/model/ModifyAlarmResult.cc src/model/ModifyAlarmResult.cc
src/model/ModifyEciScalingConfigurationRequest.cc
src/model/ModifyEciScalingConfigurationResult.cc
src/model/ModifyInstanceAttributeRequest.cc
src/model/ModifyInstanceAttributeResult.cc
src/model/ModifyLifecycleHookRequest.cc src/model/ModifyLifecycleHookRequest.cc
src/model/ModifyLifecycleHookResult.cc src/model/ModifyLifecycleHookResult.cc
src/model/ModifyNotificationConfigurationRequest.cc src/model/ModifyNotificationConfigurationRequest.cc
@@ -276,6 +326,8 @@ set(ess_src
src/model/RemoveInstancesResult.cc src/model/RemoveInstancesResult.cc
src/model/ResumeProcessesRequest.cc src/model/ResumeProcessesRequest.cc
src/model/ResumeProcessesResult.cc src/model/ResumeProcessesResult.cc
src/model/ScaleWithAdjustmentRequest.cc
src/model/ScaleWithAdjustmentResult.cc
src/model/SetGroupDeletionProtectionRequest.cc src/model/SetGroupDeletionProtectionRequest.cc
src/model/SetGroupDeletionProtectionResult.cc src/model/SetGroupDeletionProtectionResult.cc
src/model/SetInstanceHealthRequest.cc src/model/SetInstanceHealthRequest.cc

View File

@@ -22,18 +22,26 @@
#include <alibabacloud/core/EndpointProvider.h> #include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h> #include <alibabacloud/core/RpcServiceClient.h>
#include "EssExport.h" #include "EssExport.h"
#include "model/AttachAlbServerGroupsRequest.h"
#include "model/AttachAlbServerGroupsResult.h"
#include "model/AttachDBInstancesRequest.h" #include "model/AttachDBInstancesRequest.h"
#include "model/AttachDBInstancesResult.h" #include "model/AttachDBInstancesResult.h"
#include "model/AttachInstancesRequest.h" #include "model/AttachInstancesRequest.h"
#include "model/AttachInstancesResult.h" #include "model/AttachInstancesResult.h"
#include "model/AttachLoadBalancersRequest.h" #include "model/AttachLoadBalancersRequest.h"
#include "model/AttachLoadBalancersResult.h" #include "model/AttachLoadBalancersResult.h"
#include "model/AttachServerGroupsRequest.h"
#include "model/AttachServerGroupsResult.h"
#include "model/AttachVServerGroupsRequest.h" #include "model/AttachVServerGroupsRequest.h"
#include "model/AttachVServerGroupsResult.h" #include "model/AttachVServerGroupsResult.h"
#include "model/ChangeResourceGroupRequest.h"
#include "model/ChangeResourceGroupResult.h"
#include "model/CompleteLifecycleActionRequest.h" #include "model/CompleteLifecycleActionRequest.h"
#include "model/CompleteLifecycleActionResult.h" #include "model/CompleteLifecycleActionResult.h"
#include "model/CreateAlarmRequest.h" #include "model/CreateAlarmRequest.h"
#include "model/CreateAlarmResult.h" #include "model/CreateAlarmResult.h"
#include "model/CreateEciScalingConfigurationRequest.h"
#include "model/CreateEciScalingConfigurationResult.h"
#include "model/CreateLifecycleHookRequest.h" #include "model/CreateLifecycleHookRequest.h"
#include "model/CreateLifecycleHookResult.h" #include "model/CreateLifecycleHookResult.h"
#include "model/CreateNotificationConfigurationRequest.h" #include "model/CreateNotificationConfigurationRequest.h"
@@ -50,6 +58,8 @@
#include "model/DeactivateScalingConfigurationResult.h" #include "model/DeactivateScalingConfigurationResult.h"
#include "model/DeleteAlarmRequest.h" #include "model/DeleteAlarmRequest.h"
#include "model/DeleteAlarmResult.h" #include "model/DeleteAlarmResult.h"
#include "model/DeleteEciScalingConfigurationRequest.h"
#include "model/DeleteEciScalingConfigurationResult.h"
#include "model/DeleteLifecycleHookRequest.h" #include "model/DeleteLifecycleHookRequest.h"
#include "model/DeleteLifecycleHookResult.h" #include "model/DeleteLifecycleHookResult.h"
#include "model/DeleteNotificationConfigurationRequest.h" #include "model/DeleteNotificationConfigurationRequest.h"
@@ -64,6 +74,10 @@
#include "model/DeleteScheduledTaskResult.h" #include "model/DeleteScheduledTaskResult.h"
#include "model/DescribeAlarmsRequest.h" #include "model/DescribeAlarmsRequest.h"
#include "model/DescribeAlarmsResult.h" #include "model/DescribeAlarmsResult.h"
#include "model/DescribeEciScalingConfigurationsRequest.h"
#include "model/DescribeEciScalingConfigurationsResult.h"
#include "model/DescribeElasticStrengthRequest.h"
#include "model/DescribeElasticStrengthResult.h"
#include "model/DescribeLifecycleActionsRequest.h" #include "model/DescribeLifecycleActionsRequest.h"
#include "model/DescribeLifecycleActionsResult.h" #include "model/DescribeLifecycleActionsResult.h"
#include "model/DescribeLifecycleHooksRequest.h" #include "model/DescribeLifecycleHooksRequest.h"
@@ -74,6 +88,8 @@
#include "model/DescribeNotificationConfigurationsResult.h" #include "model/DescribeNotificationConfigurationsResult.h"
#include "model/DescribeNotificationTypesRequest.h" #include "model/DescribeNotificationTypesRequest.h"
#include "model/DescribeNotificationTypesResult.h" #include "model/DescribeNotificationTypesResult.h"
#include "model/DescribePatternTypesRequest.h"
#include "model/DescribePatternTypesResult.h"
#include "model/DescribeRegionsRequest.h" #include "model/DescribeRegionsRequest.h"
#include "model/DescribeRegionsResult.h" #include "model/DescribeRegionsResult.h"
#include "model/DescribeScalingActivitiesRequest.h" #include "model/DescribeScalingActivitiesRequest.h"
@@ -90,12 +106,16 @@
#include "model/DescribeScalingRulesResult.h" #include "model/DescribeScalingRulesResult.h"
#include "model/DescribeScheduledTasksRequest.h" #include "model/DescribeScheduledTasksRequest.h"
#include "model/DescribeScheduledTasksResult.h" #include "model/DescribeScheduledTasksResult.h"
#include "model/DetachAlbServerGroupsRequest.h"
#include "model/DetachAlbServerGroupsResult.h"
#include "model/DetachDBInstancesRequest.h" #include "model/DetachDBInstancesRequest.h"
#include "model/DetachDBInstancesResult.h" #include "model/DetachDBInstancesResult.h"
#include "model/DetachInstancesRequest.h" #include "model/DetachInstancesRequest.h"
#include "model/DetachInstancesResult.h" #include "model/DetachInstancesResult.h"
#include "model/DetachLoadBalancersRequest.h" #include "model/DetachLoadBalancersRequest.h"
#include "model/DetachLoadBalancersResult.h" #include "model/DetachLoadBalancersResult.h"
#include "model/DetachServerGroupsRequest.h"
#include "model/DetachServerGroupsResult.h"
#include "model/DetachVServerGroupsRequest.h" #include "model/DetachVServerGroupsRequest.h"
#include "model/DetachVServerGroupsResult.h" #include "model/DetachVServerGroupsResult.h"
#include "model/DisableAlarmRequest.h" #include "model/DisableAlarmRequest.h"
@@ -120,6 +140,10 @@
#include "model/ListTagValuesResult.h" #include "model/ListTagValuesResult.h"
#include "model/ModifyAlarmRequest.h" #include "model/ModifyAlarmRequest.h"
#include "model/ModifyAlarmResult.h" #include "model/ModifyAlarmResult.h"
#include "model/ModifyEciScalingConfigurationRequest.h"
#include "model/ModifyEciScalingConfigurationResult.h"
#include "model/ModifyInstanceAttributeRequest.h"
#include "model/ModifyInstanceAttributeResult.h"
#include "model/ModifyLifecycleHookRequest.h" #include "model/ModifyLifecycleHookRequest.h"
#include "model/ModifyLifecycleHookResult.h" #include "model/ModifyLifecycleHookResult.h"
#include "model/ModifyNotificationConfigurationRequest.h" #include "model/ModifyNotificationConfigurationRequest.h"
@@ -140,6 +164,8 @@
#include "model/RemoveInstancesResult.h" #include "model/RemoveInstancesResult.h"
#include "model/ResumeProcessesRequest.h" #include "model/ResumeProcessesRequest.h"
#include "model/ResumeProcessesResult.h" #include "model/ResumeProcessesResult.h"
#include "model/ScaleWithAdjustmentRequest.h"
#include "model/ScaleWithAdjustmentResult.h"
#include "model/SetGroupDeletionProtectionRequest.h" #include "model/SetGroupDeletionProtectionRequest.h"
#include "model/SetGroupDeletionProtectionResult.h" #include "model/SetGroupDeletionProtectionResult.h"
#include "model/SetInstanceHealthRequest.h" #include "model/SetInstanceHealthRequest.h"
@@ -165,6 +191,9 @@ namespace AlibabaCloud
class ALIBABACLOUD_ESS_EXPORT EssClient : public RpcServiceClient class ALIBABACLOUD_ESS_EXPORT EssClient : public RpcServiceClient
{ {
public: public:
typedef Outcome<Error, Model::AttachAlbServerGroupsResult> AttachAlbServerGroupsOutcome;
typedef std::future<AttachAlbServerGroupsOutcome> AttachAlbServerGroupsOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::AttachAlbServerGroupsRequest&, const AttachAlbServerGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachAlbServerGroupsAsyncHandler;
typedef Outcome<Error, Model::AttachDBInstancesResult> AttachDBInstancesOutcome; typedef Outcome<Error, Model::AttachDBInstancesResult> AttachDBInstancesOutcome;
typedef std::future<AttachDBInstancesOutcome> AttachDBInstancesOutcomeCallable; typedef std::future<AttachDBInstancesOutcome> AttachDBInstancesOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::AttachDBInstancesRequest&, const AttachDBInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachDBInstancesAsyncHandler; typedef std::function<void(const EssClient*, const Model::AttachDBInstancesRequest&, const AttachDBInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachDBInstancesAsyncHandler;
@@ -174,15 +203,24 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::AttachLoadBalancersResult> AttachLoadBalancersOutcome; typedef Outcome<Error, Model::AttachLoadBalancersResult> AttachLoadBalancersOutcome;
typedef std::future<AttachLoadBalancersOutcome> AttachLoadBalancersOutcomeCallable; typedef std::future<AttachLoadBalancersOutcome> AttachLoadBalancersOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::AttachLoadBalancersRequest&, const AttachLoadBalancersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachLoadBalancersAsyncHandler; typedef std::function<void(const EssClient*, const Model::AttachLoadBalancersRequest&, const AttachLoadBalancersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachLoadBalancersAsyncHandler;
typedef Outcome<Error, Model::AttachServerGroupsResult> AttachServerGroupsOutcome;
typedef std::future<AttachServerGroupsOutcome> AttachServerGroupsOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::AttachServerGroupsRequest&, const AttachServerGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachServerGroupsAsyncHandler;
typedef Outcome<Error, Model::AttachVServerGroupsResult> AttachVServerGroupsOutcome; typedef Outcome<Error, Model::AttachVServerGroupsResult> AttachVServerGroupsOutcome;
typedef std::future<AttachVServerGroupsOutcome> AttachVServerGroupsOutcomeCallable; typedef std::future<AttachVServerGroupsOutcome> AttachVServerGroupsOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::AttachVServerGroupsRequest&, const AttachVServerGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachVServerGroupsAsyncHandler; typedef std::function<void(const EssClient*, const Model::AttachVServerGroupsRequest&, const AttachVServerGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachVServerGroupsAsyncHandler;
typedef Outcome<Error, Model::ChangeResourceGroupResult> ChangeResourceGroupOutcome;
typedef std::future<ChangeResourceGroupOutcome> ChangeResourceGroupOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::ChangeResourceGroupRequest&, const ChangeResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeResourceGroupAsyncHandler;
typedef Outcome<Error, Model::CompleteLifecycleActionResult> CompleteLifecycleActionOutcome; typedef Outcome<Error, Model::CompleteLifecycleActionResult> CompleteLifecycleActionOutcome;
typedef std::future<CompleteLifecycleActionOutcome> CompleteLifecycleActionOutcomeCallable; typedef std::future<CompleteLifecycleActionOutcome> CompleteLifecycleActionOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::CompleteLifecycleActionRequest&, const CompleteLifecycleActionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CompleteLifecycleActionAsyncHandler; typedef std::function<void(const EssClient*, const Model::CompleteLifecycleActionRequest&, const CompleteLifecycleActionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CompleteLifecycleActionAsyncHandler;
typedef Outcome<Error, Model::CreateAlarmResult> CreateAlarmOutcome; typedef Outcome<Error, Model::CreateAlarmResult> CreateAlarmOutcome;
typedef std::future<CreateAlarmOutcome> CreateAlarmOutcomeCallable; typedef std::future<CreateAlarmOutcome> CreateAlarmOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::CreateAlarmRequest&, const CreateAlarmOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAlarmAsyncHandler; typedef std::function<void(const EssClient*, const Model::CreateAlarmRequest&, const CreateAlarmOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAlarmAsyncHandler;
typedef Outcome<Error, Model::CreateEciScalingConfigurationResult> CreateEciScalingConfigurationOutcome;
typedef std::future<CreateEciScalingConfigurationOutcome> CreateEciScalingConfigurationOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::CreateEciScalingConfigurationRequest&, const CreateEciScalingConfigurationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateEciScalingConfigurationAsyncHandler;
typedef Outcome<Error, Model::CreateLifecycleHookResult> CreateLifecycleHookOutcome; typedef Outcome<Error, Model::CreateLifecycleHookResult> CreateLifecycleHookOutcome;
typedef std::future<CreateLifecycleHookOutcome> CreateLifecycleHookOutcomeCallable; typedef std::future<CreateLifecycleHookOutcome> CreateLifecycleHookOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::CreateLifecycleHookRequest&, const CreateLifecycleHookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateLifecycleHookAsyncHandler; typedef std::function<void(const EssClient*, const Model::CreateLifecycleHookRequest&, const CreateLifecycleHookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateLifecycleHookAsyncHandler;
@@ -207,6 +245,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteAlarmResult> DeleteAlarmOutcome; typedef Outcome<Error, Model::DeleteAlarmResult> DeleteAlarmOutcome;
typedef std::future<DeleteAlarmOutcome> DeleteAlarmOutcomeCallable; typedef std::future<DeleteAlarmOutcome> DeleteAlarmOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::DeleteAlarmRequest&, const DeleteAlarmOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAlarmAsyncHandler; typedef std::function<void(const EssClient*, const Model::DeleteAlarmRequest&, const DeleteAlarmOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAlarmAsyncHandler;
typedef Outcome<Error, Model::DeleteEciScalingConfigurationResult> DeleteEciScalingConfigurationOutcome;
typedef std::future<DeleteEciScalingConfigurationOutcome> DeleteEciScalingConfigurationOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::DeleteEciScalingConfigurationRequest&, const DeleteEciScalingConfigurationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteEciScalingConfigurationAsyncHandler;
typedef Outcome<Error, Model::DeleteLifecycleHookResult> DeleteLifecycleHookOutcome; typedef Outcome<Error, Model::DeleteLifecycleHookResult> DeleteLifecycleHookOutcome;
typedef std::future<DeleteLifecycleHookOutcome> DeleteLifecycleHookOutcomeCallable; typedef std::future<DeleteLifecycleHookOutcome> DeleteLifecycleHookOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::DeleteLifecycleHookRequest&, const DeleteLifecycleHookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLifecycleHookAsyncHandler; typedef std::function<void(const EssClient*, const Model::DeleteLifecycleHookRequest&, const DeleteLifecycleHookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLifecycleHookAsyncHandler;
@@ -228,6 +269,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeAlarmsResult> DescribeAlarmsOutcome; typedef Outcome<Error, Model::DescribeAlarmsResult> DescribeAlarmsOutcome;
typedef std::future<DescribeAlarmsOutcome> DescribeAlarmsOutcomeCallable; typedef std::future<DescribeAlarmsOutcome> DescribeAlarmsOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::DescribeAlarmsRequest&, const DescribeAlarmsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAlarmsAsyncHandler; typedef std::function<void(const EssClient*, const Model::DescribeAlarmsRequest&, const DescribeAlarmsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAlarmsAsyncHandler;
typedef Outcome<Error, Model::DescribeEciScalingConfigurationsResult> DescribeEciScalingConfigurationsOutcome;
typedef std::future<DescribeEciScalingConfigurationsOutcome> DescribeEciScalingConfigurationsOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::DescribeEciScalingConfigurationsRequest&, const DescribeEciScalingConfigurationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEciScalingConfigurationsAsyncHandler;
typedef Outcome<Error, Model::DescribeElasticStrengthResult> DescribeElasticStrengthOutcome;
typedef std::future<DescribeElasticStrengthOutcome> DescribeElasticStrengthOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::DescribeElasticStrengthRequest&, const DescribeElasticStrengthOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeElasticStrengthAsyncHandler;
typedef Outcome<Error, Model::DescribeLifecycleActionsResult> DescribeLifecycleActionsOutcome; typedef Outcome<Error, Model::DescribeLifecycleActionsResult> DescribeLifecycleActionsOutcome;
typedef std::future<DescribeLifecycleActionsOutcome> DescribeLifecycleActionsOutcomeCallable; typedef std::future<DescribeLifecycleActionsOutcome> DescribeLifecycleActionsOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::DescribeLifecycleActionsRequest&, const DescribeLifecycleActionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLifecycleActionsAsyncHandler; typedef std::function<void(const EssClient*, const Model::DescribeLifecycleActionsRequest&, const DescribeLifecycleActionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLifecycleActionsAsyncHandler;
@@ -243,6 +290,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeNotificationTypesResult> DescribeNotificationTypesOutcome; typedef Outcome<Error, Model::DescribeNotificationTypesResult> DescribeNotificationTypesOutcome;
typedef std::future<DescribeNotificationTypesOutcome> DescribeNotificationTypesOutcomeCallable; typedef std::future<DescribeNotificationTypesOutcome> DescribeNotificationTypesOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::DescribeNotificationTypesRequest&, const DescribeNotificationTypesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNotificationTypesAsyncHandler; typedef std::function<void(const EssClient*, const Model::DescribeNotificationTypesRequest&, const DescribeNotificationTypesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNotificationTypesAsyncHandler;
typedef Outcome<Error, Model::DescribePatternTypesResult> DescribePatternTypesOutcome;
typedef std::future<DescribePatternTypesOutcome> DescribePatternTypesOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::DescribePatternTypesRequest&, const DescribePatternTypesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePatternTypesAsyncHandler;
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome; typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable; typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler; typedef std::function<void(const EssClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
@@ -267,6 +317,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeScheduledTasksResult> DescribeScheduledTasksOutcome; typedef Outcome<Error, Model::DescribeScheduledTasksResult> DescribeScheduledTasksOutcome;
typedef std::future<DescribeScheduledTasksOutcome> DescribeScheduledTasksOutcomeCallable; typedef std::future<DescribeScheduledTasksOutcome> DescribeScheduledTasksOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::DescribeScheduledTasksRequest&, const DescribeScheduledTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeScheduledTasksAsyncHandler; typedef std::function<void(const EssClient*, const Model::DescribeScheduledTasksRequest&, const DescribeScheduledTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeScheduledTasksAsyncHandler;
typedef Outcome<Error, Model::DetachAlbServerGroupsResult> DetachAlbServerGroupsOutcome;
typedef std::future<DetachAlbServerGroupsOutcome> DetachAlbServerGroupsOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::DetachAlbServerGroupsRequest&, const DetachAlbServerGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachAlbServerGroupsAsyncHandler;
typedef Outcome<Error, Model::DetachDBInstancesResult> DetachDBInstancesOutcome; typedef Outcome<Error, Model::DetachDBInstancesResult> DetachDBInstancesOutcome;
typedef std::future<DetachDBInstancesOutcome> DetachDBInstancesOutcomeCallable; typedef std::future<DetachDBInstancesOutcome> DetachDBInstancesOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::DetachDBInstancesRequest&, const DetachDBInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachDBInstancesAsyncHandler; typedef std::function<void(const EssClient*, const Model::DetachDBInstancesRequest&, const DetachDBInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachDBInstancesAsyncHandler;
@@ -276,6 +329,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DetachLoadBalancersResult> DetachLoadBalancersOutcome; typedef Outcome<Error, Model::DetachLoadBalancersResult> DetachLoadBalancersOutcome;
typedef std::future<DetachLoadBalancersOutcome> DetachLoadBalancersOutcomeCallable; typedef std::future<DetachLoadBalancersOutcome> DetachLoadBalancersOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::DetachLoadBalancersRequest&, const DetachLoadBalancersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachLoadBalancersAsyncHandler; typedef std::function<void(const EssClient*, const Model::DetachLoadBalancersRequest&, const DetachLoadBalancersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachLoadBalancersAsyncHandler;
typedef Outcome<Error, Model::DetachServerGroupsResult> DetachServerGroupsOutcome;
typedef std::future<DetachServerGroupsOutcome> DetachServerGroupsOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::DetachServerGroupsRequest&, const DetachServerGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachServerGroupsAsyncHandler;
typedef Outcome<Error, Model::DetachVServerGroupsResult> DetachVServerGroupsOutcome; typedef Outcome<Error, Model::DetachVServerGroupsResult> DetachVServerGroupsOutcome;
typedef std::future<DetachVServerGroupsOutcome> DetachVServerGroupsOutcomeCallable; typedef std::future<DetachVServerGroupsOutcome> DetachVServerGroupsOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::DetachVServerGroupsRequest&, const DetachVServerGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachVServerGroupsAsyncHandler; typedef std::function<void(const EssClient*, const Model::DetachVServerGroupsRequest&, const DetachVServerGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachVServerGroupsAsyncHandler;
@@ -312,6 +368,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyAlarmResult> ModifyAlarmOutcome; typedef Outcome<Error, Model::ModifyAlarmResult> ModifyAlarmOutcome;
typedef std::future<ModifyAlarmOutcome> ModifyAlarmOutcomeCallable; typedef std::future<ModifyAlarmOutcome> ModifyAlarmOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::ModifyAlarmRequest&, const ModifyAlarmOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAlarmAsyncHandler; typedef std::function<void(const EssClient*, const Model::ModifyAlarmRequest&, const ModifyAlarmOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAlarmAsyncHandler;
typedef Outcome<Error, Model::ModifyEciScalingConfigurationResult> ModifyEciScalingConfigurationOutcome;
typedef std::future<ModifyEciScalingConfigurationOutcome> ModifyEciScalingConfigurationOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::ModifyEciScalingConfigurationRequest&, const ModifyEciScalingConfigurationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyEciScalingConfigurationAsyncHandler;
typedef Outcome<Error, Model::ModifyInstanceAttributeResult> ModifyInstanceAttributeOutcome;
typedef std::future<ModifyInstanceAttributeOutcome> ModifyInstanceAttributeOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::ModifyInstanceAttributeRequest&, const ModifyInstanceAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceAttributeAsyncHandler;
typedef Outcome<Error, Model::ModifyLifecycleHookResult> ModifyLifecycleHookOutcome; typedef Outcome<Error, Model::ModifyLifecycleHookResult> ModifyLifecycleHookOutcome;
typedef std::future<ModifyLifecycleHookOutcome> ModifyLifecycleHookOutcomeCallable; typedef std::future<ModifyLifecycleHookOutcome> ModifyLifecycleHookOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::ModifyLifecycleHookRequest&, const ModifyLifecycleHookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyLifecycleHookAsyncHandler; typedef std::function<void(const EssClient*, const Model::ModifyLifecycleHookRequest&, const ModifyLifecycleHookOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyLifecycleHookAsyncHandler;
@@ -342,6 +404,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ResumeProcessesResult> ResumeProcessesOutcome; typedef Outcome<Error, Model::ResumeProcessesResult> ResumeProcessesOutcome;
typedef std::future<ResumeProcessesOutcome> ResumeProcessesOutcomeCallable; typedef std::future<ResumeProcessesOutcome> ResumeProcessesOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::ResumeProcessesRequest&, const ResumeProcessesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResumeProcessesAsyncHandler; typedef std::function<void(const EssClient*, const Model::ResumeProcessesRequest&, const ResumeProcessesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResumeProcessesAsyncHandler;
typedef Outcome<Error, Model::ScaleWithAdjustmentResult> ScaleWithAdjustmentOutcome;
typedef std::future<ScaleWithAdjustmentOutcome> ScaleWithAdjustmentOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::ScaleWithAdjustmentRequest&, const ScaleWithAdjustmentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ScaleWithAdjustmentAsyncHandler;
typedef Outcome<Error, Model::SetGroupDeletionProtectionResult> SetGroupDeletionProtectionOutcome; typedef Outcome<Error, Model::SetGroupDeletionProtectionResult> SetGroupDeletionProtectionOutcome;
typedef std::future<SetGroupDeletionProtectionOutcome> SetGroupDeletionProtectionOutcomeCallable; typedef std::future<SetGroupDeletionProtectionOutcome> SetGroupDeletionProtectionOutcomeCallable;
typedef std::function<void(const EssClient*, const Model::SetGroupDeletionProtectionRequest&, const SetGroupDeletionProtectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetGroupDeletionProtectionAsyncHandler; typedef std::function<void(const EssClient*, const Model::SetGroupDeletionProtectionRequest&, const SetGroupDeletionProtectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetGroupDeletionProtectionAsyncHandler;
@@ -371,6 +436,9 @@ namespace AlibabaCloud
EssClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration); EssClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
EssClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); EssClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~EssClient(); ~EssClient();
AttachAlbServerGroupsOutcome attachAlbServerGroups(const Model::AttachAlbServerGroupsRequest &request)const;
void attachAlbServerGroupsAsync(const Model::AttachAlbServerGroupsRequest& request, const AttachAlbServerGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AttachAlbServerGroupsOutcomeCallable attachAlbServerGroupsCallable(const Model::AttachAlbServerGroupsRequest& request) const;
AttachDBInstancesOutcome attachDBInstances(const Model::AttachDBInstancesRequest &request)const; AttachDBInstancesOutcome attachDBInstances(const Model::AttachDBInstancesRequest &request)const;
void attachDBInstancesAsync(const Model::AttachDBInstancesRequest& request, const AttachDBInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void attachDBInstancesAsync(const Model::AttachDBInstancesRequest& request, const AttachDBInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AttachDBInstancesOutcomeCallable attachDBInstancesCallable(const Model::AttachDBInstancesRequest& request) const; AttachDBInstancesOutcomeCallable attachDBInstancesCallable(const Model::AttachDBInstancesRequest& request) const;
@@ -380,15 +448,24 @@ namespace AlibabaCloud
AttachLoadBalancersOutcome attachLoadBalancers(const Model::AttachLoadBalancersRequest &request)const; AttachLoadBalancersOutcome attachLoadBalancers(const Model::AttachLoadBalancersRequest &request)const;
void attachLoadBalancersAsync(const Model::AttachLoadBalancersRequest& request, const AttachLoadBalancersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void attachLoadBalancersAsync(const Model::AttachLoadBalancersRequest& request, const AttachLoadBalancersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AttachLoadBalancersOutcomeCallable attachLoadBalancersCallable(const Model::AttachLoadBalancersRequest& request) const; AttachLoadBalancersOutcomeCallable attachLoadBalancersCallable(const Model::AttachLoadBalancersRequest& request) const;
AttachServerGroupsOutcome attachServerGroups(const Model::AttachServerGroupsRequest &request)const;
void attachServerGroupsAsync(const Model::AttachServerGroupsRequest& request, const AttachServerGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AttachServerGroupsOutcomeCallable attachServerGroupsCallable(const Model::AttachServerGroupsRequest& request) const;
AttachVServerGroupsOutcome attachVServerGroups(const Model::AttachVServerGroupsRequest &request)const; AttachVServerGroupsOutcome attachVServerGroups(const Model::AttachVServerGroupsRequest &request)const;
void attachVServerGroupsAsync(const Model::AttachVServerGroupsRequest& request, const AttachVServerGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void attachVServerGroupsAsync(const Model::AttachVServerGroupsRequest& request, const AttachVServerGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AttachVServerGroupsOutcomeCallable attachVServerGroupsCallable(const Model::AttachVServerGroupsRequest& request) const; AttachVServerGroupsOutcomeCallable attachVServerGroupsCallable(const Model::AttachVServerGroupsRequest& request) const;
ChangeResourceGroupOutcome changeResourceGroup(const Model::ChangeResourceGroupRequest &request)const;
void changeResourceGroupAsync(const Model::ChangeResourceGroupRequest& request, const ChangeResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ChangeResourceGroupOutcomeCallable changeResourceGroupCallable(const Model::ChangeResourceGroupRequest& request) const;
CompleteLifecycleActionOutcome completeLifecycleAction(const Model::CompleteLifecycleActionRequest &request)const; CompleteLifecycleActionOutcome completeLifecycleAction(const Model::CompleteLifecycleActionRequest &request)const;
void completeLifecycleActionAsync(const Model::CompleteLifecycleActionRequest& request, const CompleteLifecycleActionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void completeLifecycleActionAsync(const Model::CompleteLifecycleActionRequest& request, const CompleteLifecycleActionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CompleteLifecycleActionOutcomeCallable completeLifecycleActionCallable(const Model::CompleteLifecycleActionRequest& request) const; CompleteLifecycleActionOutcomeCallable completeLifecycleActionCallable(const Model::CompleteLifecycleActionRequest& request) const;
CreateAlarmOutcome createAlarm(const Model::CreateAlarmRequest &request)const; CreateAlarmOutcome createAlarm(const Model::CreateAlarmRequest &request)const;
void createAlarmAsync(const Model::CreateAlarmRequest& request, const CreateAlarmAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void createAlarmAsync(const Model::CreateAlarmRequest& request, const CreateAlarmAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateAlarmOutcomeCallable createAlarmCallable(const Model::CreateAlarmRequest& request) const; CreateAlarmOutcomeCallable createAlarmCallable(const Model::CreateAlarmRequest& request) const;
CreateEciScalingConfigurationOutcome createEciScalingConfiguration(const Model::CreateEciScalingConfigurationRequest &request)const;
void createEciScalingConfigurationAsync(const Model::CreateEciScalingConfigurationRequest& request, const CreateEciScalingConfigurationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateEciScalingConfigurationOutcomeCallable createEciScalingConfigurationCallable(const Model::CreateEciScalingConfigurationRequest& request) const;
CreateLifecycleHookOutcome createLifecycleHook(const Model::CreateLifecycleHookRequest &request)const; CreateLifecycleHookOutcome createLifecycleHook(const Model::CreateLifecycleHookRequest &request)const;
void createLifecycleHookAsync(const Model::CreateLifecycleHookRequest& request, const CreateLifecycleHookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void createLifecycleHookAsync(const Model::CreateLifecycleHookRequest& request, const CreateLifecycleHookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateLifecycleHookOutcomeCallable createLifecycleHookCallable(const Model::CreateLifecycleHookRequest& request) const; CreateLifecycleHookOutcomeCallable createLifecycleHookCallable(const Model::CreateLifecycleHookRequest& request) const;
@@ -413,6 +490,9 @@ namespace AlibabaCloud
DeleteAlarmOutcome deleteAlarm(const Model::DeleteAlarmRequest &request)const; DeleteAlarmOutcome deleteAlarm(const Model::DeleteAlarmRequest &request)const;
void deleteAlarmAsync(const Model::DeleteAlarmRequest& request, const DeleteAlarmAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void deleteAlarmAsync(const Model::DeleteAlarmRequest& request, const DeleteAlarmAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteAlarmOutcomeCallable deleteAlarmCallable(const Model::DeleteAlarmRequest& request) const; DeleteAlarmOutcomeCallable deleteAlarmCallable(const Model::DeleteAlarmRequest& request) const;
DeleteEciScalingConfigurationOutcome deleteEciScalingConfiguration(const Model::DeleteEciScalingConfigurationRequest &request)const;
void deleteEciScalingConfigurationAsync(const Model::DeleteEciScalingConfigurationRequest& request, const DeleteEciScalingConfigurationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteEciScalingConfigurationOutcomeCallable deleteEciScalingConfigurationCallable(const Model::DeleteEciScalingConfigurationRequest& request) const;
DeleteLifecycleHookOutcome deleteLifecycleHook(const Model::DeleteLifecycleHookRequest &request)const; DeleteLifecycleHookOutcome deleteLifecycleHook(const Model::DeleteLifecycleHookRequest &request)const;
void deleteLifecycleHookAsync(const Model::DeleteLifecycleHookRequest& request, const DeleteLifecycleHookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void deleteLifecycleHookAsync(const Model::DeleteLifecycleHookRequest& request, const DeleteLifecycleHookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteLifecycleHookOutcomeCallable deleteLifecycleHookCallable(const Model::DeleteLifecycleHookRequest& request) const; DeleteLifecycleHookOutcomeCallable deleteLifecycleHookCallable(const Model::DeleteLifecycleHookRequest& request) const;
@@ -434,6 +514,12 @@ namespace AlibabaCloud
DescribeAlarmsOutcome describeAlarms(const Model::DescribeAlarmsRequest &request)const; DescribeAlarmsOutcome describeAlarms(const Model::DescribeAlarmsRequest &request)const;
void describeAlarmsAsync(const Model::DescribeAlarmsRequest& request, const DescribeAlarmsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void describeAlarmsAsync(const Model::DescribeAlarmsRequest& request, const DescribeAlarmsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAlarmsOutcomeCallable describeAlarmsCallable(const Model::DescribeAlarmsRequest& request) const; DescribeAlarmsOutcomeCallable describeAlarmsCallable(const Model::DescribeAlarmsRequest& request) const;
DescribeEciScalingConfigurationsOutcome describeEciScalingConfigurations(const Model::DescribeEciScalingConfigurationsRequest &request)const;
void describeEciScalingConfigurationsAsync(const Model::DescribeEciScalingConfigurationsRequest& request, const DescribeEciScalingConfigurationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeEciScalingConfigurationsOutcomeCallable describeEciScalingConfigurationsCallable(const Model::DescribeEciScalingConfigurationsRequest& request) const;
DescribeElasticStrengthOutcome describeElasticStrength(const Model::DescribeElasticStrengthRequest &request)const;
void describeElasticStrengthAsync(const Model::DescribeElasticStrengthRequest& request, const DescribeElasticStrengthAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeElasticStrengthOutcomeCallable describeElasticStrengthCallable(const Model::DescribeElasticStrengthRequest& request) const;
DescribeLifecycleActionsOutcome describeLifecycleActions(const Model::DescribeLifecycleActionsRequest &request)const; DescribeLifecycleActionsOutcome describeLifecycleActions(const Model::DescribeLifecycleActionsRequest &request)const;
void describeLifecycleActionsAsync(const Model::DescribeLifecycleActionsRequest& request, const DescribeLifecycleActionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void describeLifecycleActionsAsync(const Model::DescribeLifecycleActionsRequest& request, const DescribeLifecycleActionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeLifecycleActionsOutcomeCallable describeLifecycleActionsCallable(const Model::DescribeLifecycleActionsRequest& request) const; DescribeLifecycleActionsOutcomeCallable describeLifecycleActionsCallable(const Model::DescribeLifecycleActionsRequest& request) const;
@@ -449,6 +535,9 @@ namespace AlibabaCloud
DescribeNotificationTypesOutcome describeNotificationTypes(const Model::DescribeNotificationTypesRequest &request)const; DescribeNotificationTypesOutcome describeNotificationTypes(const Model::DescribeNotificationTypesRequest &request)const;
void describeNotificationTypesAsync(const Model::DescribeNotificationTypesRequest& request, const DescribeNotificationTypesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void describeNotificationTypesAsync(const Model::DescribeNotificationTypesRequest& request, const DescribeNotificationTypesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeNotificationTypesOutcomeCallable describeNotificationTypesCallable(const Model::DescribeNotificationTypesRequest& request) const; DescribeNotificationTypesOutcomeCallable describeNotificationTypesCallable(const Model::DescribeNotificationTypesRequest& request) const;
DescribePatternTypesOutcome describePatternTypes(const Model::DescribePatternTypesRequest &request)const;
void describePatternTypesAsync(const Model::DescribePatternTypesRequest& request, const DescribePatternTypesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribePatternTypesOutcomeCallable describePatternTypesCallable(const Model::DescribePatternTypesRequest& request) const;
DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const; DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const;
void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const; DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const;
@@ -473,6 +562,9 @@ namespace AlibabaCloud
DescribeScheduledTasksOutcome describeScheduledTasks(const Model::DescribeScheduledTasksRequest &request)const; DescribeScheduledTasksOutcome describeScheduledTasks(const Model::DescribeScheduledTasksRequest &request)const;
void describeScheduledTasksAsync(const Model::DescribeScheduledTasksRequest& request, const DescribeScheduledTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void describeScheduledTasksAsync(const Model::DescribeScheduledTasksRequest& request, const DescribeScheduledTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeScheduledTasksOutcomeCallable describeScheduledTasksCallable(const Model::DescribeScheduledTasksRequest& request) const; DescribeScheduledTasksOutcomeCallable describeScheduledTasksCallable(const Model::DescribeScheduledTasksRequest& request) const;
DetachAlbServerGroupsOutcome detachAlbServerGroups(const Model::DetachAlbServerGroupsRequest &request)const;
void detachAlbServerGroupsAsync(const Model::DetachAlbServerGroupsRequest& request, const DetachAlbServerGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetachAlbServerGroupsOutcomeCallable detachAlbServerGroupsCallable(const Model::DetachAlbServerGroupsRequest& request) const;
DetachDBInstancesOutcome detachDBInstances(const Model::DetachDBInstancesRequest &request)const; DetachDBInstancesOutcome detachDBInstances(const Model::DetachDBInstancesRequest &request)const;
void detachDBInstancesAsync(const Model::DetachDBInstancesRequest& request, const DetachDBInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void detachDBInstancesAsync(const Model::DetachDBInstancesRequest& request, const DetachDBInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetachDBInstancesOutcomeCallable detachDBInstancesCallable(const Model::DetachDBInstancesRequest& request) const; DetachDBInstancesOutcomeCallable detachDBInstancesCallable(const Model::DetachDBInstancesRequest& request) const;
@@ -482,6 +574,9 @@ namespace AlibabaCloud
DetachLoadBalancersOutcome detachLoadBalancers(const Model::DetachLoadBalancersRequest &request)const; DetachLoadBalancersOutcome detachLoadBalancers(const Model::DetachLoadBalancersRequest &request)const;
void detachLoadBalancersAsync(const Model::DetachLoadBalancersRequest& request, const DetachLoadBalancersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void detachLoadBalancersAsync(const Model::DetachLoadBalancersRequest& request, const DetachLoadBalancersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetachLoadBalancersOutcomeCallable detachLoadBalancersCallable(const Model::DetachLoadBalancersRequest& request) const; DetachLoadBalancersOutcomeCallable detachLoadBalancersCallable(const Model::DetachLoadBalancersRequest& request) const;
DetachServerGroupsOutcome detachServerGroups(const Model::DetachServerGroupsRequest &request)const;
void detachServerGroupsAsync(const Model::DetachServerGroupsRequest& request, const DetachServerGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetachServerGroupsOutcomeCallable detachServerGroupsCallable(const Model::DetachServerGroupsRequest& request) const;
DetachVServerGroupsOutcome detachVServerGroups(const Model::DetachVServerGroupsRequest &request)const; DetachVServerGroupsOutcome detachVServerGroups(const Model::DetachVServerGroupsRequest &request)const;
void detachVServerGroupsAsync(const Model::DetachVServerGroupsRequest& request, const DetachVServerGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void detachVServerGroupsAsync(const Model::DetachVServerGroupsRequest& request, const DetachVServerGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetachVServerGroupsOutcomeCallable detachVServerGroupsCallable(const Model::DetachVServerGroupsRequest& request) const; DetachVServerGroupsOutcomeCallable detachVServerGroupsCallable(const Model::DetachVServerGroupsRequest& request) const;
@@ -518,6 +613,12 @@ namespace AlibabaCloud
ModifyAlarmOutcome modifyAlarm(const Model::ModifyAlarmRequest &request)const; ModifyAlarmOutcome modifyAlarm(const Model::ModifyAlarmRequest &request)const;
void modifyAlarmAsync(const Model::ModifyAlarmRequest& request, const ModifyAlarmAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void modifyAlarmAsync(const Model::ModifyAlarmRequest& request, const ModifyAlarmAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyAlarmOutcomeCallable modifyAlarmCallable(const Model::ModifyAlarmRequest& request) const; ModifyAlarmOutcomeCallable modifyAlarmCallable(const Model::ModifyAlarmRequest& request) const;
ModifyEciScalingConfigurationOutcome modifyEciScalingConfiguration(const Model::ModifyEciScalingConfigurationRequest &request)const;
void modifyEciScalingConfigurationAsync(const Model::ModifyEciScalingConfigurationRequest& request, const ModifyEciScalingConfigurationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyEciScalingConfigurationOutcomeCallable modifyEciScalingConfigurationCallable(const Model::ModifyEciScalingConfigurationRequest& request) const;
ModifyInstanceAttributeOutcome modifyInstanceAttribute(const Model::ModifyInstanceAttributeRequest &request)const;
void modifyInstanceAttributeAsync(const Model::ModifyInstanceAttributeRequest& request, const ModifyInstanceAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyInstanceAttributeOutcomeCallable modifyInstanceAttributeCallable(const Model::ModifyInstanceAttributeRequest& request) const;
ModifyLifecycleHookOutcome modifyLifecycleHook(const Model::ModifyLifecycleHookRequest &request)const; ModifyLifecycleHookOutcome modifyLifecycleHook(const Model::ModifyLifecycleHookRequest &request)const;
void modifyLifecycleHookAsync(const Model::ModifyLifecycleHookRequest& request, const ModifyLifecycleHookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void modifyLifecycleHookAsync(const Model::ModifyLifecycleHookRequest& request, const ModifyLifecycleHookAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyLifecycleHookOutcomeCallable modifyLifecycleHookCallable(const Model::ModifyLifecycleHookRequest& request) const; ModifyLifecycleHookOutcomeCallable modifyLifecycleHookCallable(const Model::ModifyLifecycleHookRequest& request) const;
@@ -548,6 +649,9 @@ namespace AlibabaCloud
ResumeProcessesOutcome resumeProcesses(const Model::ResumeProcessesRequest &request)const; ResumeProcessesOutcome resumeProcesses(const Model::ResumeProcessesRequest &request)const;
void resumeProcessesAsync(const Model::ResumeProcessesRequest& request, const ResumeProcessesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void resumeProcessesAsync(const Model::ResumeProcessesRequest& request, const ResumeProcessesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResumeProcessesOutcomeCallable resumeProcessesCallable(const Model::ResumeProcessesRequest& request) const; ResumeProcessesOutcomeCallable resumeProcessesCallable(const Model::ResumeProcessesRequest& request) const;
ScaleWithAdjustmentOutcome scaleWithAdjustment(const Model::ScaleWithAdjustmentRequest &request)const;
void scaleWithAdjustmentAsync(const Model::ScaleWithAdjustmentRequest& request, const ScaleWithAdjustmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ScaleWithAdjustmentOutcomeCallable scaleWithAdjustmentCallable(const Model::ScaleWithAdjustmentRequest& request) const;
SetGroupDeletionProtectionOutcome setGroupDeletionProtection(const Model::SetGroupDeletionProtectionRequest &request)const; SetGroupDeletionProtectionOutcome setGroupDeletionProtection(const Model::SetGroupDeletionProtectionRequest &request)const;
void setGroupDeletionProtectionAsync(const Model::SetGroupDeletionProtectionRequest& request, const SetGroupDeletionProtectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const; void setGroupDeletionProtectionAsync(const Model::SetGroupDeletionProtectionRequest& request, const SetGroupDeletionProtectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetGroupDeletionProtectionOutcomeCallable setGroupDeletionProtectionCallable(const Model::SetGroupDeletionProtectionRequest& request) const; SetGroupDeletionProtectionOutcomeCallable setGroupDeletionProtectionCallable(const Model::SetGroupDeletionProtectionRequest& request) const;

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ESS_MODEL_ATTACHALBSERVERGROUPSREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_ATTACHALBSERVERGROUPSREQUEST_H_
#include <alibabacloud/ess/EssExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ess {
namespace Model {
class ALIBABACLOUD_ESS_EXPORT AttachAlbServerGroupsRequest : public RpcServiceRequest {
public:
struct AlbServerGroup {
std::string albServerGroupId;
int port;
int weight;
};
AttachAlbServerGroupsRequest();
~AttachAlbServerGroupsRequest();
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getScalingGroupId() const;
void setScalingGroupId(const std::string &scalingGroupId);
bool getForceAttach() const;
void setForceAttach(bool forceAttach);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::vector<AlbServerGroup> getAlbServerGroup() const;
void setAlbServerGroup(const std::vector<AlbServerGroup> &albServerGroup);
private:
std::string clientToken_;
std::string scalingGroupId_;
bool forceAttach_;
std::string accessKeyId_;
std::string regionId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::vector<AlbServerGroup> albServerGroup_;
};
} // namespace Model
} // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_ATTACHALBSERVERGROUPSREQUEST_H_

View File

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

View File

@@ -1,66 +1,69 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_ATTACHDBINSTANCESREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_ATTACHDBINSTANCESREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_ATTACHDBINSTANCESREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_ATTACHDBINSTANCESREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT AttachDBInstancesRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT AttachDBInstancesRequest : public RpcServiceRequest AttachDBInstancesRequest();
{ ~AttachDBInstancesRequest();
std::string getClientToken() const;
public: void setClientToken(const std::string &clientToken);
AttachDBInstancesRequest(); std::string getScalingGroupId() const;
~AttachDBInstancesRequest(); void setScalingGroupId(const std::string &scalingGroupId);
bool getForceAttach() const;
std::string getClientToken()const; void setForceAttach(bool forceAttach);
void setClientToken(const std::string& clientToken); std::string getType() const;
std::string getScalingGroupId()const; void setType(const std::string &type);
void setScalingGroupId(const std::string& scalingGroupId); std::string getAccessKeyId() const;
bool getForceAttach()const; void setAccessKeyId(const std::string &accessKeyId);
void setForceAttach(bool forceAttach); std::string getRegionId() const;
std::string getAccessKeyId()const; void setRegionId(const std::string &regionId);
void setAccessKeyId(const std::string& accessKeyId); std::string getAttachMode() const;
std::string getResourceOwnerAccount()const; void setAttachMode(const std::string &attachMode);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getResourceOwnerAccount() const;
std::vector<std::string> getDBInstance()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setDBInstance(const std::vector<std::string>& dBInstance); std::vector<std::string> getDBInstance() const;
long getOwnerId()const; void setDBInstance(const std::vector<std::string> &dBInstance);
void setOwnerId(long ownerId); long getOwnerId() const;
void setOwnerId(long ownerId);
private:
std::string clientToken_; private:
std::string scalingGroupId_; std::string clientToken_;
bool forceAttach_; std::string scalingGroupId_;
std::string accessKeyId_; bool forceAttach_;
std::string resourceOwnerAccount_; std::string type_;
std::vector<std::string> dBInstance_; std::string accessKeyId_;
long ownerId_; std::string regionId_;
std::string attachMode_;
}; std::string resourceOwnerAccount_;
} std::vector<std::string> dBInstance_;
} long ownerId_;
} };
#endif // !ALIBABACLOUD_ESS_MODEL_ATTACHDBINSTANCESREQUEST_H_ } // namespace Model
} // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_ATTACHDBINSTANCESREQUEST_H_

View File

@@ -1,186 +1,78 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_ATTACHINSTANCESREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_ATTACHINSTANCESREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_ATTACHINSTANCESREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_ATTACHINSTANCESREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT AttachInstancesRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT AttachInstancesRequest : public RpcServiceRequest AttachInstancesRequest();
{ ~AttachInstancesRequest();
long getResourceOwnerId() const;
public: void setResourceOwnerId(long resourceOwnerId);
AttachInstancesRequest(); std::string getClientToken() const;
~AttachInstancesRequest(); void setClientToken(const std::string &clientToken);
std::string getScalingGroupId() const;
int getLoadBalancerWeight6()const; void setScalingGroupId(const std::string &scalingGroupId);
void setLoadBalancerWeight6(int loadBalancerWeight6); std::string getAccessKeyId() const;
int getLoadBalancerWeight11()const; void setAccessKeyId(const std::string &accessKeyId);
void setLoadBalancerWeight11(int loadBalancerWeight11); std::string getRegionId() const;
int getLoadBalancerWeight7()const; void setRegionId(const std::string &regionId);
void setLoadBalancerWeight7(int loadBalancerWeight7); bool getIgnoreInvalidInstance() const;
int getLoadBalancerWeight12()const; void setIgnoreInvalidInstance(bool ignoreInvalidInstance);
void setLoadBalancerWeight12(int loadBalancerWeight12); std::string getResourceOwnerAccount() const;
long getResourceOwnerId()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setResourceOwnerId(long resourceOwnerId); std::string getOwnerAccount() const;
int getLoadBalancerWeight8()const; void setOwnerAccount(const std::string &ownerAccount);
void setLoadBalancerWeight8(int loadBalancerWeight8); long getOwnerId() const;
int getLoadBalancerWeight9()const; void setOwnerId(long ownerId);
void setLoadBalancerWeight9(int loadBalancerWeight9); bool getEntrusted() const;
int getLoadBalancerWeight10()const; void setEntrusted(bool entrusted);
void setLoadBalancerWeight10(int loadBalancerWeight10); std::vector<std::string> getInstanceId() const;
int getLoadBalancerWeight2()const; void setInstanceId(const std::vector<std::string> &instanceId);
void setLoadBalancerWeight2(int loadBalancerWeight2); std::vector<int> getLoadBalancerWeight() const;
int getLoadBalancerWeight15()const; void setLoadBalancerWeight(const std::vector<int> &loadBalancerWeight);
void setLoadBalancerWeight15(int loadBalancerWeight15); bool getLifecycleHook() const;
int getLoadBalancerWeight3()const; void setLifecycleHook(bool lifecycleHook);
void setLoadBalancerWeight3(int loadBalancerWeight3);
int getLoadBalancerWeight16()const; private:
void setLoadBalancerWeight16(int loadBalancerWeight16); long resourceOwnerId_;
int getLoadBalancerWeight4()const; std::string clientToken_;
void setLoadBalancerWeight4(int loadBalancerWeight4); std::string scalingGroupId_;
int getLoadBalancerWeight13()const; std::string accessKeyId_;
void setLoadBalancerWeight13(int loadBalancerWeight13); std::string regionId_;
int getLoadBalancerWeight5()const; bool ignoreInvalidInstance_;
void setLoadBalancerWeight5(int loadBalancerWeight5); std::string resourceOwnerAccount_;
int getLoadBalancerWeight14()const; std::string ownerAccount_;
void setLoadBalancerWeight14(int loadBalancerWeight14); long ownerId_;
int getLoadBalancerWeight1()const; bool entrusted_;
void setLoadBalancerWeight1(int loadBalancerWeight1); std::vector<std::string> instanceId_;
std::string getInstanceId1()const; std::vector<int> loadBalancerWeight_;
void setInstanceId1(const std::string& instanceId1); bool lifecycleHook_;
int getLoadBalancerWeight20()const; };
void setLoadBalancerWeight20(int loadBalancerWeight20); } // namespace Model
std::string getInstanceId3()const; } // namespace Ess
void setInstanceId3(const std::string& instanceId3); } // namespace AlibabaCloud
std::string getInstanceId2()const; #endif // !ALIBABACLOUD_ESS_MODEL_ATTACHINSTANCESREQUEST_H_
void setInstanceId2(const std::string& instanceId2);
std::string getInstanceId5()const;
void setInstanceId5(const std::string& instanceId5);
std::string getInstanceId4()const;
void setInstanceId4(const std::string& instanceId4);
std::string getInstanceId7()const;
void setInstanceId7(const std::string& instanceId7);
std::string getInstanceId6()const;
void setInstanceId6(const std::string& instanceId6);
std::string getInstanceId9()const;
void setInstanceId9(const std::string& instanceId9);
std::string getInstanceId8()const;
void setInstanceId8(const std::string& instanceId8);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getLoadBalancerWeight19()const;
void setLoadBalancerWeight19(int loadBalancerWeight19);
int getLoadBalancerWeight17()const;
void setLoadBalancerWeight17(int loadBalancerWeight17);
int getLoadBalancerWeight18()const;
void setLoadBalancerWeight18(int loadBalancerWeight18);
std::string getInstanceId10()const;
void setInstanceId10(const std::string& instanceId10);
std::string getInstanceId12()const;
void setInstanceId12(const std::string& instanceId12);
std::string getInstanceId11()const;
void setInstanceId11(const std::string& instanceId11);
std::string getScalingGroupId()const;
void setScalingGroupId(const std::string& scalingGroupId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId20()const;
void setInstanceId20(const std::string& instanceId20);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
bool getEntrusted()const;
void setEntrusted(bool entrusted);
std::string getInstanceId18()const;
void setInstanceId18(const std::string& instanceId18);
std::string getInstanceId17()const;
void setInstanceId17(const std::string& instanceId17);
std::string getInstanceId19()const;
void setInstanceId19(const std::string& instanceId19);
std::string getInstanceId14()const;
void setInstanceId14(const std::string& instanceId14);
std::string getInstanceId13()const;
void setInstanceId13(const std::string& instanceId13);
std::string getInstanceId16()const;
void setInstanceId16(const std::string& instanceId16);
std::string getInstanceId15()const;
void setInstanceId15(const std::string& instanceId15);
private:
int loadBalancerWeight6_;
int loadBalancerWeight11_;
int loadBalancerWeight7_;
int loadBalancerWeight12_;
long resourceOwnerId_;
int loadBalancerWeight8_;
int loadBalancerWeight9_;
int loadBalancerWeight10_;
int loadBalancerWeight2_;
int loadBalancerWeight15_;
int loadBalancerWeight3_;
int loadBalancerWeight16_;
int loadBalancerWeight4_;
int loadBalancerWeight13_;
int loadBalancerWeight5_;
int loadBalancerWeight14_;
int loadBalancerWeight1_;
std::string instanceId1_;
int loadBalancerWeight20_;
std::string instanceId3_;
std::string instanceId2_;
std::string instanceId5_;
std::string instanceId4_;
std::string instanceId7_;
std::string instanceId6_;
std::string instanceId9_;
std::string instanceId8_;
long ownerId_;
int loadBalancerWeight19_;
int loadBalancerWeight17_;
int loadBalancerWeight18_;
std::string instanceId10_;
std::string instanceId12_;
std::string instanceId11_;
std::string scalingGroupId_;
std::string accessKeyId_;
std::string instanceId20_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
bool entrusted_;
std::string instanceId18_;
std::string instanceId17_;
std::string instanceId19_;
std::string instanceId14_;
std::string instanceId13_;
std::string instanceId16_;
std::string instanceId15_;
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_ATTACHINSTANCESREQUEST_H_

View File

@@ -1,66 +1,70 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_ATTACHLOADBALANCERSREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_ATTACHLOADBALANCERSREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_ATTACHLOADBALANCERSREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_ATTACHLOADBALANCERSREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT AttachLoadBalancersRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT AttachLoadBalancersRequest : public RpcServiceRequest struct LoadBalancerConfig {
{ std::string loadBalancerId;
int weight;
public: };
AttachLoadBalancersRequest(); AttachLoadBalancersRequest();
~AttachLoadBalancersRequest(); ~AttachLoadBalancersRequest();
std::string getClientToken() const;
std::string getClientToken()const; void setClientToken(const std::string &clientToken);
void setClientToken(const std::string& clientToken); std::string getScalingGroupId() const;
std::string getScalingGroupId()const; void setScalingGroupId(const std::string &scalingGroupId);
void setScalingGroupId(const std::string& scalingGroupId); bool getForceAttach() const;
bool getForceAttach()const; void setForceAttach(bool forceAttach);
void setForceAttach(bool forceAttach); std::vector<LoadBalancerConfig> getLoadBalancerConfig() const;
std::string getAccessKeyId()const; void setLoadBalancerConfig(const std::vector<LoadBalancerConfig> &loadBalancerConfig);
void setAccessKeyId(const std::string& accessKeyId); std::string getAccessKeyId() const;
std::vector<std::string> getLoadBalancer()const; void setAccessKeyId(const std::string &accessKeyId);
void setLoadBalancer(const std::vector<std::string>& loadBalancer); std::vector<std::string> getLoadBalancer() const;
std::string getResourceOwnerAccount()const; void setLoadBalancer(const std::vector<std::string> &loadBalancer);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getResourceOwnerAccount() const;
long getOwnerId()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setOwnerId(long ownerId); long getOwnerId() const;
void setOwnerId(long ownerId);
private: bool getAsync() const;
std::string clientToken_; void setAsync(bool async);
std::string scalingGroupId_;
bool forceAttach_; private:
std::string accessKeyId_; std::string clientToken_;
std::vector<std::string> loadBalancer_; std::string scalingGroupId_;
std::string resourceOwnerAccount_; bool forceAttach_;
long ownerId_; std::vector<LoadBalancerConfig> loadBalancerConfig_;
std::string accessKeyId_;
}; std::vector<std::string> loadBalancer_;
} std::string resourceOwnerAccount_;
} long ownerId_;
} bool async_;
#endif // !ALIBABACLOUD_ESS_MODEL_ATTACHLOADBALANCERSREQUEST_H_ };
} // namespace Model
} // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_ATTACHLOADBALANCERSREQUEST_H_

View File

@@ -37,10 +37,12 @@ namespace AlibabaCloud
AttachLoadBalancersResult(); AttachLoadBalancersResult();
explicit AttachLoadBalancersResult(const std::string &payload); explicit AttachLoadBalancersResult(const std::string &payload);
~AttachLoadBalancersResult(); ~AttachLoadBalancersResult();
std::string getScalingActivityId()const;
protected: protected:
void parse(const std::string &payload); void parse(const std::string &payload);
private: private:
std::string scalingActivityId_;
}; };
} }

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ESS_MODEL_ATTACHSERVERGROUPSREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_ATTACHSERVERGROUPSREQUEST_H_
#include <alibabacloud/ess/EssExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ess {
namespace Model {
class ALIBABACLOUD_ESS_EXPORT AttachServerGroupsRequest : public RpcServiceRequest {
public:
struct ServerGroup {
std::string serverGroupId;
int port;
int weight;
std::string type;
};
AttachServerGroupsRequest();
~AttachServerGroupsRequest();
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getScalingGroupId() const;
void setScalingGroupId(const std::string &scalingGroupId);
bool getForceAttach() const;
void setForceAttach(bool forceAttach);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::vector<ServerGroup> getServerGroup() const;
void setServerGroup(const std::vector<ServerGroup> &serverGroup);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
long getOwnerId() const;
void setOwnerId(long ownerId);
private:
std::string clientToken_;
std::string scalingGroupId_;
bool forceAttach_;
std::string accessKeyId_;
std::string regionId_;
std::vector<ServerGroup> serverGroup_;
std::string resourceOwnerAccount_;
long ownerId_;
};
} // namespace Model
} // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_ATTACHSERVERGROUPSREQUEST_H_

View File

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

View File

@@ -1,81 +1,72 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_ATTACHVSERVERGROUPSREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_ATTACHVSERVERGROUPSREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_ATTACHVSERVERGROUPSREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_ATTACHVSERVERGROUPSREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT AttachVServerGroupsRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT AttachVServerGroupsRequest : public RpcServiceRequest struct VServerGroup {
{ std::string loadBalancerId;
public: struct VServerGroupAttribute {
struct VServerGroup std::string vServerGroupId;
{ int port;
std::string loadBalancerId; int weight;
struct VServerGroupAttribute };
{ std::vector<VServerGroupAttribute> vServerGroupAttribute;
std::string vServerGroupId; };
int port; AttachVServerGroupsRequest();
int weight; ~AttachVServerGroupsRequest();
}; std::string getClientToken() const;
std::vector<VServerGroupAttribute> vServerGroupAttribute; void setClientToken(const std::string &clientToken);
}; std::string getScalingGroupId() const;
void setScalingGroupId(const std::string &scalingGroupId);
public: bool getForceAttach() const;
AttachVServerGroupsRequest(); void setForceAttach(bool forceAttach);
~AttachVServerGroupsRequest(); std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getClientToken()const; std::string getRegionId() const;
void setClientToken(const std::string& clientToken); void setRegionId(const std::string &regionId);
std::string getScalingGroupId()const; std::string getResourceOwnerAccount() const;
void setScalingGroupId(const std::string& scalingGroupId); void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
bool getForceAttach()const; long getOwnerId() const;
void setForceAttach(bool forceAttach); void setOwnerId(long ownerId);
std::string getAccessKeyId()const; std::vector<VServerGroup> getVServerGroup() const;
void setAccessKeyId(const std::string& accessKeyId); void setVServerGroup(const std::vector<VServerGroup> &vServerGroup);
std::string getRegionId()const;
void setRegionId(const std::string& regionId); private:
std::string getResourceOwnerAccount()const; std::string clientToken_;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string scalingGroupId_;
long getOwnerId()const; bool forceAttach_;
void setOwnerId(long ownerId); std::string accessKeyId_;
std::vector<VServerGroup> getVServerGroup()const; std::string regionId_;
void setVServerGroup(const std::vector<VServerGroup>& vServerGroup); std::string resourceOwnerAccount_;
long ownerId_;
private: std::vector<VServerGroup> vServerGroup_;
std::string clientToken_; };
std::string scalingGroupId_; } // namespace Model
bool forceAttach_; } // namespace Ess
std::string accessKeyId_; } // namespace AlibabaCloud
std::string regionId_; #endif // !ALIBABACLOUD_ESS_MODEL_ATTACHVSERVERGROUPSREQUEST_H_
std::string resourceOwnerAccount_;
long ownerId_;
std::vector<VServerGroup> vServerGroup_;
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_ATTACHVSERVERGROUPSREQUEST_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ESS_MODEL_CHANGERESOURCEGROUPREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_CHANGERESOURCEGROUPREQUEST_H_
#include <alibabacloud/ess/EssExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ess {
namespace Model {
class ALIBABACLOUD_ESS_EXPORT ChangeResourceGroupRequest : public RpcServiceRequest {
public:
ChangeResourceGroupRequest();
~ChangeResourceGroupRequest();
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getResourceId() const;
void setResourceId(const std::string &resourceId);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
std::string getNewResourceGroupId() const;
void setNewResourceGroupId(const std::string &newResourceGroupId);
private:
std::string accessKeyId_;
std::string regionId_;
std::string resourceId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string resourceType_;
std::string newResourceGroupId_;
};
} // namespace Model
} // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_CHANGERESOURCEGROUPREQUEST_H_

View File

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

View File

@@ -1,69 +1,66 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_COMPLETELIFECYCLEACTIONREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_COMPLETELIFECYCLEACTIONREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_COMPLETELIFECYCLEACTIONREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_COMPLETELIFECYCLEACTIONREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT CompleteLifecycleActionRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT CompleteLifecycleActionRequest : public RpcServiceRequest CompleteLifecycleActionRequest();
{ ~CompleteLifecycleActionRequest();
std::string getLifecycleActionToken() const;
public: void setLifecycleActionToken(const std::string &lifecycleActionToken);
CompleteLifecycleActionRequest(); std::string getClientToken() const;
~CompleteLifecycleActionRequest(); void setClientToken(const std::string &clientToken);
std::string getAccessKeyId() const;
std::string getLifecycleActionToken()const; void setAccessKeyId(const std::string &accessKeyId);
void setLifecycleActionToken(const std::string& lifecycleActionToken); std::string getRegionId() const;
std::string getClientToken()const; void setRegionId(const std::string &regionId);
void setClientToken(const std::string& clientToken); std::string getResourceOwnerAccount() const;
std::string getAccessKeyId()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setAccessKeyId(const std::string& accessKeyId); std::string getLifecycleHookId() const;
std::string getResourceOwnerAccount()const; void setLifecycleHookId(const std::string &lifecycleHookId);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getOwnerAccount() const;
std::string getLifecycleHookId()const; void setOwnerAccount(const std::string &ownerAccount);
void setLifecycleHookId(const std::string& lifecycleHookId); long getOwnerId() const;
std::string getOwnerAccount()const; void setOwnerId(long ownerId);
void setOwnerAccount(const std::string& ownerAccount); std::string getLifecycleActionResult() const;
long getOwnerId()const; void setLifecycleActionResult(const std::string &lifecycleActionResult);
void setOwnerId(long ownerId);
std::string getLifecycleActionResult()const; private:
void setLifecycleActionResult(const std::string& lifecycleActionResult); std::string lifecycleActionToken_;
std::string clientToken_;
private: std::string accessKeyId_;
std::string lifecycleActionToken_; std::string regionId_;
std::string clientToken_; std::string resourceOwnerAccount_;
std::string accessKeyId_; std::string lifecycleHookId_;
std::string resourceOwnerAccount_; std::string ownerAccount_;
std::string lifecycleHookId_; long ownerId_;
std::string ownerAccount_; std::string lifecycleActionResult_;
long ownerId_; };
std::string lifecycleActionResult_; } // namespace Model
} // namespace Ess
}; } // namespace AlibabaCloud
} #endif // !ALIBABACLOUD_ESS_MODEL_COMPLETELIFECYCLEACTIONREQUEST_H_
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_COMPLETELIFECYCLEACTIONREQUEST_H_

View File

@@ -1,105 +1,107 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_CREATEALARMREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_CREATEALARMREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_CREATEALARMREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_CREATEALARMREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT CreateAlarmRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT CreateAlarmRequest : public RpcServiceRequest struct Dimension {
{ std::string dimensionValue;
public: std::string dimensionKey;
struct Dimension };
{ struct Expression {
std::string dimensionValue; int period;
std::string dimensionKey; float threshold;
}; std::string metricName;
std::string comparisonOperator;
public: std::string statistics;
CreateAlarmRequest(); };
~CreateAlarmRequest(); CreateAlarmRequest();
~CreateAlarmRequest();
std::string getMetricType()const; std::string getMetricType() const;
void setMetricType(const std::string& metricType); void setMetricType(const std::string &metricType);
std::string getScalingGroupId()const; std::string getScalingGroupId() const;
void setScalingGroupId(const std::string& scalingGroupId); void setScalingGroupId(const std::string &scalingGroupId);
std::string getDescription()const; std::string getDescription() const;
void setDescription(const std::string& description); void setDescription(const std::string &description);
std::vector<std::string> getAlarmAction()const; std::string getExpressionsLogicOperator() const;
void setAlarmAction(const std::vector<std::string>& alarmAction); void setExpressionsLogicOperator(const std::string &expressionsLogicOperator);
float getThreshold()const; std::vector<std::string> getAlarmAction() const;
void setThreshold(float threshold); void setAlarmAction(const std::vector<std::string> &alarmAction);
std::string getAccessKeyId()const; float getThreshold() const;
void setAccessKeyId(const std::string& accessKeyId); void setThreshold(float threshold);
std::string getEffective()const; std::string getEffective() const;
void setEffective(const std::string& effective); void setEffective(const std::string &effective);
std::string getRegionId()const; std::string getRegionId() const;
void setRegionId(const std::string& regionId); void setRegionId(const std::string &regionId);
int getEvaluationCount()const; int getEvaluationCount() const;
void setEvaluationCount(int evaluationCount); void setEvaluationCount(int evaluationCount);
std::string getMetricName()const; std::string getMetricName() const;
void setMetricName(const std::string& metricName); void setMetricName(const std::string &metricName);
std::vector<Dimension> getDimension()const; std::vector<Dimension> getDimension() const;
void setDimension(const std::vector<Dimension>& dimension); void setDimension(const std::vector<Dimension> &dimension);
int getPeriod()const; int getPeriod() const;
void setPeriod(int period); void setPeriod(int period);
std::string getResourceOwnerAccount()const; std::vector<Expression> getExpression() const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); void setExpression(const std::vector<Expression> &expression);
int getGroupId()const; std::string getResourceOwnerAccount() const;
void setGroupId(int groupId); void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
long getOwnerId()const; int getGroupId() const;
void setOwnerId(long ownerId); void setGroupId(int groupId);
std::string getName()const; long getOwnerId() const;
void setName(const std::string& name); void setOwnerId(long ownerId);
std::string getComparisonOperator()const; std::string getName() const;
void setComparisonOperator(const std::string& comparisonOperator); void setName(const std::string &name);
std::string getStatistics()const; std::string getComparisonOperator() const;
void setStatistics(const std::string& statistics); void setComparisonOperator(const std::string &comparisonOperator);
std::string getStatistics() const;
private: void setStatistics(const std::string &statistics);
std::string metricType_;
std::string scalingGroupId_; private:
std::string description_; std::string metricType_;
std::vector<std::string> alarmAction_; std::string scalingGroupId_;
float threshold_; std::string description_;
std::string accessKeyId_; std::string expressionsLogicOperator_;
std::string effective_; std::vector<std::string> alarmAction_;
std::string regionId_; float threshold_;
int evaluationCount_; std::string effective_;
std::string metricName_; std::string regionId_;
std::vector<Dimension> dimension_; int evaluationCount_;
int period_; std::string metricName_;
std::string resourceOwnerAccount_; std::vector<Dimension> dimension_;
int groupId_; int period_;
long ownerId_; std::vector<Expression> expression_;
std::string name_; std::string resourceOwnerAccount_;
std::string comparisonOperator_; int groupId_;
std::string statistics_; long ownerId_;
std::string name_;
}; std::string comparisonOperator_;
} std::string statistics_;
} };
} } // namespace Model
#endif // !ALIBABACLOUD_ESS_MODEL_CREATEALARMREQUEST_H_ } // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_CREATEALARMREQUEST_H_

View File

@@ -0,0 +1,334 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ESS_MODEL_CREATEECISCALINGCONFIGURATIONREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_CREATEECISCALINGCONFIGURATIONREQUEST_H_
#include <alibabacloud/ess/EssExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ess {
namespace Model {
class ALIBABACLOUD_ESS_EXPORT CreateEciScalingConfigurationRequest : public RpcServiceRequest {
public:
struct Container {
bool stdin;
int lifecyclePostStartHandlerHttpGetPort;
std::string workingDir;
int readinessProbeHttpGetPort;
int livenessProbeHttpGetPort;
int lifecyclePreStopHandlerTcpSocketPort;
struct VolumeMount {
std::string mountPath;
bool readOnly;
std::string mountPropagation;
std::string name;
std::string subPath;
};
std::vector<VolumeMount> volumeMount;
std::string image;
float cpu;
std::string readinessProbeHttpGetPath;
int gpu;
bool stdinOnce;
std::string lifecyclePostStartHandlerTcpSocketHost;
int livenessProbeSuccessThreshold;
long securityContextRunAsUser;
int livenessProbePeriodSeconds;
int livenessProbeInitialDelaySeconds;
struct Port {
std::string protocol;
int port;
};
std::vector<Port> port;
std::string name;
std::string lifecyclePreStopHandlerTcpSocketHost;
bool securityContextReadOnlyRootFilesystem;
std::string lifecyclePreStopHandlerHttpGetHost;
float memory;
std::string lifecyclePreStopHandlerHttpGetScheme;
int lifecyclePostStartHandlerTcpSocketPort;
std::string lifecyclePreStopHandlerHttpGetPath;
std::string lifecyclePostStartHandlerHttpGetHost;
int readinessProbeFailureThreshold;
int readinessProbeSuccessThreshold;
std::string lifecyclePostStartHandlerHttpGetPath;
int readinessProbeInitialDelaySeconds;
std::string readinessProbeHttpGetScheme;
int lifecyclePreStopHandlerHttpGetPort;
std::string imagePullPolicy;
std::string livenessProbeHttpGetPath;
std::string lifecyclePostStartHandlerHttpGetScheme;
int livenessProbeTimeoutSeconds;
int livenessProbeTcpSocketPort;
int readinessProbePeriodSeconds;
struct EnvironmentVar {
std::string fieldRefFieldPath;
std::string value;
std::string key;
};
std::vector<EnvironmentVar> environmentVar;
bool tty;
int livenessProbeFailureThreshold;
int readinessProbeTimeoutSeconds;
int readinessProbeTcpSocketPort;
std::string livenessProbeHttpGetScheme;
};
struct HostAliase {
std::string ip;
};
struct Tag {
std::string value;
std::string key;
};
struct Volume {
std::string diskVolumeFsType;
std::string emptyDirVolumeSizeLimit;
std::string nFSVolumePath;
std::string diskVolumeDiskId;
std::string flexVolumeFsType;
std::string type;
std::string flexVolumeDriver;
std::string flexVolumeOptions;
std::string nFSVolumeServer;
std::string emptyDirVolumeMedium;
std::string hostPathVolumePath;
std::string name;
struct ConfigFileVolumeConfigFileToPath {
int mode;
std::string path;
std::string content;
};
std::vector<ConfigFileVolumeConfigFileToPath> configFileVolumeConfigFileToPath;
int diskVolumeDiskSize;
int configFileVolumeDefaultMode;
std::string hostPathVolumeType;
bool nFSVolumeReadOnly;
};
struct DnsConfigOption {
std::string name;
std::string value;
};
struct SecurityContextSysctl {
std::string name;
std::string value;
};
struct InitContainer {
std::string image;
struct InitContainerEnvironmentVar {
std::string fieldRefFieldPath;
std::string value;
std::string key;
};
std::vector<InitContainerEnvironmentVar> initContainerEnvironmentVar;
float memory;
std::string workingDir;
float cpu;
int gpu;
std::string imagePullPolicy;
long securityContextRunAsUser;
struct InitContainerPort {
std::string protocol;
int port;
};
std::vector<InitContainerPort> initContainerPort;
std::string name;
struct InitContainerVolumeMount {
std::string mountPath;
bool readOnly;
std::string mountPropagation;
std::string name;
std::string subPath;
};
std::vector<InitContainerVolumeMount> initContainerVolumeMount;
bool securityContextReadOnlyRootFilesystem;
};
struct ImageRegistryCredential {
std::string server;
std::string password;
std::string userName;
};
struct AcrRegistryInfo {
std::string instanceName;
std::string instanceId;
std::string regionId;
};
CreateEciScalingConfigurationRequest();
~CreateEciScalingConfigurationRequest();
std::vector<Container> getContainer() const;
void setContainer(const std::vector<Container> &container);
std::vector<std::string> getNtpServer() const;
void setNtpServer(const std::vector<std::string> &ntpServer);
float getSpotPriceLimit() const;
void setSpotPriceLimit(float spotPriceLimit);
bool getEnableSls() const;
void setEnableSls(bool enableSls);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getHostName() const;
void setHostName(const std::string &hostName);
long getActiveDeadlineSeconds() const;
void setActiveDeadlineSeconds(long activeDeadlineSeconds);
long getEgressBandwidth() const;
void setEgressBandwidth(long egressBandwidth);
std::vector<std::string> getDnsConfigSearch() const;
void setDnsConfigSearch(const std::vector<std::string> &dnsConfigSearch);
std::vector<HostAliase> getHostAliase() const;
void setHostAliase(const std::vector<HostAliase> &hostAliase);
std::string getImageSnapshotId() const;
void setImageSnapshotId(const std::string &imageSnapshotId);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
int getCpuOptionsThreadsPerCore() const;
void setCpuOptionsThreadsPerCore(int cpuOptionsThreadsPerCore);
std::string getDataCachePL() const;
void setDataCachePL(const std::string &dataCachePL);
int getIpv6AddressCount() const;
void setIpv6AddressCount(int ipv6AddressCount);
float getCpu() const;
void setCpu(float cpu);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getScalingConfigurationName() const;
void setScalingConfigurationName(const std::string &scalingConfigurationName);
std::string getSpotStrategy() const;
void setSpotStrategy(const std::string &spotStrategy);
std::vector<Volume> getVolume() const;
void setVolume(const std::vector<Volume> &volume);
std::string getInstanceFamilyLevel() const;
void setInstanceFamilyLevel(const std::string &instanceFamilyLevel);
std::vector<DnsConfigOption> getDnsConfigOption() const;
void setDnsConfigOption(const std::vector<DnsConfigOption> &dnsConfigOption);
int getEphemeralStorage() const;
void setEphemeralStorage(int ephemeralStorage);
int getDataCacheProvisionedIops() const;
void setDataCacheProvisionedIops(int dataCacheProvisionedIops);
int getEipBandwidth() const;
void setEipBandwidth(int eipBandwidth);
std::string getGpuDriverVersion() const;
void setGpuDriverVersion(const std::string &gpuDriverVersion);
bool getCostOptimization() const;
void setCostOptimization(bool costOptimization);
bool getDataCacheBurstingEnabled() const;
void setDataCacheBurstingEnabled(bool dataCacheBurstingEnabled);
float getMemory() const;
void setMemory(float memory);
std::string getScalingGroupId() const;
void setScalingGroupId(const std::string &scalingGroupId);
std::string getSecurityGroupId() const;
void setSecurityGroupId(const std::string &securityGroupId);
std::string getDescription() const;
void setDescription(const std::string &description);
long getIngressBandwidth() const;
void setIngressBandwidth(long ingressBandwidth);
std::string getDnsPolicy() const;
void setDnsPolicy(const std::string &dnsPolicy);
std::vector<SecurityContextSysctl> getSecurityContextSysctl() const;
void setSecurityContextSysctl(const std::vector<SecurityContextSysctl> &securityContextSysctl);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getDataCacheBucket() const;
void setDataCacheBucket(const std::string &dataCacheBucket);
std::vector<std::string> getDnsConfigNameServer() const;
void setDnsConfigNameServer(const std::vector<std::string> &dnsConfigNameServer);
std::vector<InitContainer> getInitContainer() const;
void setInitContainer(const std::vector<InitContainer> &initContainer);
std::vector<std::string> getInstanceType() const;
void setInstanceType(const std::vector<std::string> &instanceType);
long getTerminationGracePeriodSeconds() const;
void setTerminationGracePeriodSeconds(long terminationGracePeriodSeconds);
std::vector<ImageRegistryCredential> getImageRegistryCredential() const;
void setImageRegistryCredential(const std::vector<ImageRegistryCredential> &imageRegistryCredential);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getRestartPolicy() const;
void setRestartPolicy(const std::string &restartPolicy);
int getCpuOptionsCore() const;
void setCpuOptionsCore(int cpuOptionsCore);
std::string getRamRoleName() const;
void setRamRoleName(const std::string &ramRoleName);
std::vector<AcrRegistryInfo> getAcrRegistryInfo() const;
void setAcrRegistryInfo(const std::vector<AcrRegistryInfo> &acrRegistryInfo);
bool getAutoMatchImageCache() const;
void setAutoMatchImageCache(bool autoMatchImageCache);
int getLoadBalancerWeight() const;
void setLoadBalancerWeight(int loadBalancerWeight);
std::string getContainerGroupName() const;
void setContainerGroupName(const std::string &containerGroupName);
bool getAutoCreateEip() const;
void setAutoCreateEip(bool autoCreateEip);
private:
std::vector<Container> container_;
std::vector<std::string> ntpServer_;
float spotPriceLimit_;
bool enableSls_;
std::string resourceGroupId_;
std::string hostName_;
long activeDeadlineSeconds_;
long egressBandwidth_;
std::vector<std::string> dnsConfigSearch_;
std::vector<HostAliase> hostAliase_;
std::string imageSnapshotId_;
std::vector<Tag> tag_;
int cpuOptionsThreadsPerCore_;
std::string dataCachePL_;
int ipv6AddressCount_;
float cpu_;
long ownerId_;
std::string scalingConfigurationName_;
std::string spotStrategy_;
std::vector<Volume> volume_;
std::string instanceFamilyLevel_;
std::vector<DnsConfigOption> dnsConfigOption_;
int ephemeralStorage_;
int dataCacheProvisionedIops_;
int eipBandwidth_;
std::string gpuDriverVersion_;
bool costOptimization_;
bool dataCacheBurstingEnabled_;
float memory_;
std::string scalingGroupId_;
std::string securityGroupId_;
std::string description_;
long ingressBandwidth_;
std::string dnsPolicy_;
std::vector<SecurityContextSysctl> securityContextSysctl_;
std::string accessKeyId_;
std::string dataCacheBucket_;
std::vector<std::string> dnsConfigNameServer_;
std::vector<InitContainer> initContainer_;
std::vector<std::string> instanceType_;
long terminationGracePeriodSeconds_;
std::vector<ImageRegistryCredential> imageRegistryCredential_;
std::string resourceOwnerAccount_;
std::string restartPolicy_;
int cpuOptionsCore_;
std::string ramRoleName_;
std::vector<AcrRegistryInfo> acrRegistryInfo_;
bool autoMatchImageCache_;
int loadBalancerWeight_;
std::string containerGroupName_;
bool autoCreateEip_;
};
} // namespace Model
} // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_CREATEECISCALINGCONFIGURATIONREQUEST_H_

View File

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

View File

@@ -1,78 +1,72 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_CREATELIFECYCLEHOOKREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_CREATELIFECYCLEHOOKREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_CREATELIFECYCLEHOOKREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_CREATELIFECYCLEHOOKREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT CreateLifecycleHookRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT CreateLifecycleHookRequest : public RpcServiceRequest CreateLifecycleHookRequest();
{ ~CreateLifecycleHookRequest();
std::string getDefaultResult() const;
public: void setDefaultResult(const std::string &defaultResult);
CreateLifecycleHookRequest(); int getHeartbeatTimeout() const;
~CreateLifecycleHookRequest(); void setHeartbeatTimeout(int heartbeatTimeout);
std::string getScalingGroupId() const;
std::string getDefaultResult()const; void setScalingGroupId(const std::string &scalingGroupId);
void setDefaultResult(const std::string& defaultResult); std::string getLifecycleTransition() const;
int getHeartbeatTimeout()const; void setLifecycleTransition(const std::string &lifecycleTransition);
void setHeartbeatTimeout(int heartbeatTimeout); std::string getAccessKeyId() const;
std::string getScalingGroupId()const; void setAccessKeyId(const std::string &accessKeyId);
void setScalingGroupId(const std::string& scalingGroupId); std::string getLifecycleHookName() const;
std::string getLifecycleTransition()const; void setLifecycleHookName(const std::string &lifecycleHookName);
void setLifecycleTransition(const std::string& lifecycleTransition); std::string getNotificationArn() const;
std::string getAccessKeyId()const; void setNotificationArn(const std::string &notificationArn);
void setAccessKeyId(const std::string& accessKeyId); std::string getResourceOwnerAccount() const;
std::string getLifecycleHookName()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setLifecycleHookName(const std::string& lifecycleHookName); std::string getOwnerAccount() const;
std::string getNotificationArn()const; void setOwnerAccount(const std::string &ownerAccount);
void setNotificationArn(const std::string& notificationArn); std::string getNotificationMetadata() const;
std::string getResourceOwnerAccount()const; void setNotificationMetadata(const std::string &notificationMetadata);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); long getOwnerId() const;
std::string getOwnerAccount()const; void setOwnerId(long ownerId);
void setOwnerAccount(const std::string& ownerAccount);
std::string getNotificationMetadata()const; private:
void setNotificationMetadata(const std::string& notificationMetadata); std::string defaultResult_;
long getOwnerId()const; int heartbeatTimeout_;
void setOwnerId(long ownerId); std::string scalingGroupId_;
std::string lifecycleTransition_;
private: std::string accessKeyId_;
std::string defaultResult_; std::string lifecycleHookName_;
int heartbeatTimeout_; std::string notificationArn_;
std::string scalingGroupId_; std::string resourceOwnerAccount_;
std::string lifecycleTransition_; std::string ownerAccount_;
std::string accessKeyId_; std::string notificationMetadata_;
std::string lifecycleHookName_; long ownerId_;
std::string notificationArn_; };
std::string resourceOwnerAccount_; } // namespace Model
std::string ownerAccount_; } // namespace Ess
std::string notificationMetadata_; } // namespace AlibabaCloud
long ownerId_; #endif // !ALIBABACLOUD_ESS_MODEL_CREATELIFECYCLEHOOKREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_CREATELIFECYCLEHOOKREQUEST_H_

View File

@@ -1,63 +1,63 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_CREATENOTIFICATIONCONFIGURATIONREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_CREATENOTIFICATIONCONFIGURATIONREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_CREATENOTIFICATIONCONFIGURATIONREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_CREATENOTIFICATIONCONFIGURATIONREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT CreateNotificationConfigurationRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT CreateNotificationConfigurationRequest : public RpcServiceRequest CreateNotificationConfigurationRequest();
{ ~CreateNotificationConfigurationRequest();
std::string getScalingGroupId() const;
public: void setScalingGroupId(const std::string &scalingGroupId);
CreateNotificationConfigurationRequest(); std::string getTimeZone() const;
~CreateNotificationConfigurationRequest(); void setTimeZone(const std::string &timeZone);
std::string getAccessKeyId() const;
std::string getScalingGroupId()const; void setAccessKeyId(const std::string &accessKeyId);
void setScalingGroupId(const std::string& scalingGroupId); std::string getRegionId() const;
std::string getAccessKeyId()const; void setRegionId(const std::string &regionId);
void setAccessKeyId(const std::string& accessKeyId); std::string getNotificationArn() const;
std::string getNotificationArn()const; void setNotificationArn(const std::string &notificationArn);
void setNotificationArn(const std::string& notificationArn); std::string getResourceOwnerAccount() const;
std::string getResourceOwnerAccount()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); long getOwnerId() const;
long getOwnerId()const; void setOwnerId(long ownerId);
void setOwnerId(long ownerId); std::vector<std::string> getNotificationType() const;
std::vector<std::string> getNotificationType()const; void setNotificationType(const std::vector<std::string> &notificationType);
void setNotificationType(const std::vector<std::string>& notificationType);
private:
private: std::string scalingGroupId_;
std::string scalingGroupId_; std::string timeZone_;
std::string accessKeyId_; std::string accessKeyId_;
std::string notificationArn_; std::string regionId_;
std::string resourceOwnerAccount_; std::string notificationArn_;
long ownerId_; std::string resourceOwnerAccount_;
std::vector<std::string> notificationType_; long ownerId_;
std::vector<std::string> notificationType_;
}; };
} } // namespace Model
} } // namespace Ess
} } // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_CREATENOTIFICATIONCONFIGURATIONREQUEST_H_ #endif // !ALIBABACLOUD_ESS_MODEL_CREATENOTIFICATIONCONFIGURATIONREQUEST_H_

View File

@@ -1,217 +1,323 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_CREATESCALINGCONFIGURATIONREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_CREATESCALINGCONFIGURATIONREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_CREATESCALINGCONFIGURATIONREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_CREATESCALINGCONFIGURATIONREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT CreateScalingConfigurationRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT CreateScalingConfigurationRequest : public RpcServiceRequest struct SecurityOptions {
{ std::string confidentialComputingMode;
public: };
struct SpotPriceLimit struct SpotPriceLimit {
{ std::string instanceType;
std::string instanceType; float priceLimit;
float priceLimit; };
}; struct CustomPriorities {
struct DataDisk std::string vswitchId;
{ std::string instanceType;
std::string diskName; };
std::string snapshotId; struct CpuOptions {
int size; std::string string;
std::string encrypted; std::vector<std::string> accelerators;
std::string autoSnapshotPolicyId; };
std::string description; struct InstancePatternInfo {
std::string category; float memory;
std::string kMSKeyId; int maximumCpuCoreCount;
std::string device; float maxPrice;
bool deleteWithInstance; int minimumGpuAmount;
}; int maximumGpuAmount;
float maximumMemorySize;
public: int minimumInitialCredit;
CreateScalingConfigurationRequest(); int minimumEniIpv6AddressQuantity;
~CreateScalingConfigurationRequest(); int minimumEniPrivateIpAddressQuantity;
std::string burstablePerformance;
std::string getHpcClusterId()const; int minimumCpuCoreCount;
void setHpcClusterId(const std::string& hpcClusterId); int minimumEniQuantity;
std::string getSecurityEnhancementStrategy()const; float minimumMemorySize;
void setSecurityEnhancementStrategy(const std::string& securityEnhancementStrategy); int cores;
std::string getKeyPairName()const; std::string instanceFamilyLevel;
void setKeyPairName(const std::string& keyPairName); int minimumBaselineCredit;
std::vector<SpotPriceLimit> getSpotPriceLimit()const; };
void setSpotPriceLimit(const std::vector<SpotPriceLimit>& spotPriceLimit); struct NetworkInterfaces {
std::string getResourceGroupId()const; int ipv6AddressCount;
void setResourceGroupId(const std::string& resourceGroupId); std::string instanceType;
std::string getPrivatePoolOptionsMatchCriteria()const; std::string networkInterfaceTrafficMode;
void setPrivatePoolOptionsMatchCriteria(const std::string& privatePoolOptionsMatchCriteria); };
std::string getHostName()const; struct ResourcePoolOptions {
void setHostName(const std::string& hostName); std::string strategy;
std::string getPassword()const; std::string string;
void setPassword(const std::string& password); std::vector<std::string> privatePoolIds;
std::string getInstanceDescription()const; };
void setInstanceDescription(const std::string& instanceDescription); struct DataDisk {
std::string getSystemDiskAutoSnapshotPolicyId()const; std::string snapshotId;
void setSystemDiskAutoSnapshotPolicyId(const std::string& systemDiskAutoSnapshotPolicyId); std::string performanceLevel;
std::string getPrivatePoolOptionsId()const; std::string autoSnapshotPolicyId;
void setPrivatePoolOptionsId(const std::string& privatePoolOptionsId); std::string description;
int getIpv6AddressCount()const; bool burstingEnabled;
void setIpv6AddressCount(int ipv6AddressCount); std::string diskName;
int getCpu()const; long provisionedIops;
void setCpu(int cpu); std::string encrypted;
long getOwnerId()const; int size;
void setOwnerId(long ownerId); std::string category;
std::string getScalingConfigurationName()const; std::string kMSKeyId;
void setScalingConfigurationName(const std::string& scalingConfigurationName); std::string device;
std::string getTags()const; bool deleteWithInstance;
void setTags(const std::string& tags); };
std::string getSpotStrategy()const; struct InstanceTypeOverride {
void setSpotStrategy(const std::string& spotStrategy); int weightedCapacity;
std::string getInstanceName()const; std::string instanceType;
void setInstanceName(const std::string& instanceName); };
std::string getInternetChargeType()const; CreateScalingConfigurationRequest();
void setInternetChargeType(const std::string& internetChargeType); ~CreateScalingConfigurationRequest();
std::string getZoneId()const; std::string getHpcClusterId() const;
void setZoneId(const std::string& zoneId); void setHpcClusterId(const std::string &hpcClusterId);
int getInternetMaxBandwidthIn()const; SecurityOptions getSecurityOptions() const;
void setInternetMaxBandwidthIn(int internetMaxBandwidthIn); void setSecurityOptions(const SecurityOptions &securityOptions);
std::string getAffinity()const; std::string getSecurityEnhancementStrategy() const;
void setAffinity(const std::string& affinity); void setSecurityEnhancementStrategy(const std::string &securityEnhancementStrategy);
std::string getImageId()const; std::string getKeyPairName() const;
void setImageId(const std::string& imageId); void setKeyPairName(const std::string &keyPairName);
int getMemory()const; std::vector<SpotPriceLimit> getSpotPriceLimit() const;
void setMemory(int memory); void setSpotPriceLimit(const std::vector<SpotPriceLimit> &spotPriceLimit);
std::string getClientToken()const; bool getDeletionProtection() const;
void setClientToken(const std::string& clientToken); void setDeletionProtection(bool deletionProtection);
std::string getScalingGroupId()const; std::string getResourceGroupId() const;
void setScalingGroupId(const std::string& scalingGroupId); void setResourceGroupId(const std::string &resourceGroupId);
std::vector<std::string> getInstanceTypes()const; std::string getPrivatePoolOptionsMatchCriteria() const;
void setInstanceTypes(const std::vector<std::string>& instanceTypes); void setPrivatePoolOptionsMatchCriteria(const std::string &privatePoolOptionsMatchCriteria);
std::string getIoOptimized()const; std::string getHostName() const;
void setIoOptimized(const std::string& ioOptimized); void setHostName(const std::string &hostName);
std::string getSecurityGroupId()const; std::string getPassword() const;
void setSecurityGroupId(const std::string& securityGroupId); void setPassword(const std::string &password);
int getInternetMaxBandwidthOut()const; std::string getInstanceDescription() const;
void setInternetMaxBandwidthOut(int internetMaxBandwidthOut); void setInstanceDescription(const std::string &instanceDescription);
std::string getSystemDiskCategory()const; int getStorageSetPartitionNumber() const;
void setSystemDiskCategory(const std::string& systemDiskCategory); void setStorageSetPartitionNumber(int storageSetPartitionNumber);
std::string getAccessKeyId()const; std::vector<CustomPriorities> getCustomPriorities() const;
void setAccessKeyId(const std::string& accessKeyId); void setCustomPriorities(const std::vector<CustomPriorities> &customPriorities);
std::string getUserData()const; std::string getSystemDiskAutoSnapshotPolicyId() const;
void setUserData(const std::string& userData); void setSystemDiskAutoSnapshotPolicyId(const std::string &systemDiskAutoSnapshotPolicyId);
bool getPasswordInherit()const; std::string getPrivatePoolOptionsId() const;
void setPasswordInherit(bool passwordInherit); void setPrivatePoolOptionsId(const std::string &privatePoolOptionsId);
std::string getImageName()const; bool getImageOptionsLoginAsNonRoot() const;
void setImageName(const std::string& imageName); void setImageOptionsLoginAsNonRoot(bool imageOptionsLoginAsNonRoot);
std::string getInstanceType()const; int getIpv6AddressCount() const;
void setInstanceType(const std::string& instanceType); void setIpv6AddressCount(int ipv6AddressCount);
std::map<std::string, std::string> getSchedulerOptions()const; int getCpu() const;
void setSchedulerOptions(const std::map<std::string, std::string>& schedulerOptions); void setCpu(int cpu);
std::string getDeploymentSetId()const; std::vector<std::string> getSystemDiskCategories() const;
void setDeploymentSetId(const std::string& deploymentSetId); void setSystemDiskCategories(const std::vector<std::string> &systemDiskCategories);
std::string getResourceOwnerAccount()const; long getOwnerId() const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); void setOwnerId(long ownerId);
std::string getOwnerAccount()const; std::string getScalingConfigurationName() const;
void setOwnerAccount(const std::string& ownerAccount); void setScalingConfigurationName(const std::string &scalingConfigurationName);
std::string getTenancy()const; std::string getTags() const;
void setTenancy(const std::string& tenancy); void setTags(const std::string &tags);
std::string getSystemDiskDiskName()const; std::string getSpotStrategy() const;
void setSystemDiskDiskName(const std::string& systemDiskDiskName); void setSpotStrategy(const std::string &spotStrategy);
std::string getRamRoleName()const; CpuOptions getCpuOptions() const;
void setRamRoleName(const std::string& ramRoleName); void setCpuOptions(const CpuOptions &cpuOptions);
std::string getDedicatedHostId()const; bool getSystemDiskBurstingEnabled() const;
void setDedicatedHostId(const std::string& dedicatedHostId); void setSystemDiskBurstingEnabled(bool systemDiskBurstingEnabled);
std::string getCreditSpecification()const; std::string getInstanceName() const;
void setCreditSpecification(const std::string& creditSpecification); void setInstanceName(const std::string &instanceName);
std::vector<std::string> getSecurityGroupIds()const; std::string getInternetChargeType() const;
void setSecurityGroupIds(const std::vector<std::string>& securityGroupIds); void setInternetChargeType(const std::string &internetChargeType);
std::vector<DataDisk> getDataDisk()const; std::string getZoneId() const;
void setDataDisk(const std::vector<DataDisk>& dataDisk); void setZoneId(const std::string &zoneId);
int getLoadBalancerWeight()const; int getInternetMaxBandwidthIn() const;
void setLoadBalancerWeight(int loadBalancerWeight); void setInternetMaxBandwidthIn(int internetMaxBandwidthIn);
int getSystemDiskSize()const; std::vector<InstancePatternInfo> getInstancePatternInfo() const;
void setSystemDiskSize(int systemDiskSize); void setInstancePatternInfo(const std::vector<InstancePatternInfo> &instancePatternInfo);
std::string getImageFamily()const; std::string getAffinity() const;
void setImageFamily(const std::string& imageFamily); void setAffinity(const std::string &affinity);
std::string getSystemDiskDescription()const; std::vector<NetworkInterfaces> getNetworkInterfaces() const;
void setSystemDiskDescription(const std::string& systemDiskDescription); void setNetworkInterfaces(const std::vector<NetworkInterfaces> &networkInterfaces);
std::string getImageId() const;
private: void setImageId(const std::string &imageId);
std::string hpcClusterId_; int getMemory() const;
std::string securityEnhancementStrategy_; void setMemory(int memory);
std::string keyPairName_; std::string getClientToken() const;
std::vector<SpotPriceLimit> spotPriceLimit_; void setClientToken(const std::string &clientToken);
std::string resourceGroupId_; std::string getSpotInterruptionBehavior() const;
std::string privatePoolOptionsMatchCriteria_; void setSpotInterruptionBehavior(const std::string &spotInterruptionBehavior);
std::string hostName_; std::string getScalingGroupId() const;
std::string password_; void setScalingGroupId(const std::string &scalingGroupId);
std::string instanceDescription_; std::string getIoOptimized() const;
std::string systemDiskAutoSnapshotPolicyId_; void setIoOptimized(const std::string &ioOptimized);
std::string privatePoolOptionsId_; std::vector<std::string> getInstanceTypes() const;
int ipv6AddressCount_; void setInstanceTypes(const std::vector<std::string> &instanceTypes);
int cpu_; std::string getSecurityGroupId() const;
long ownerId_; void setSecurityGroupId(const std::string &securityGroupId);
std::string scalingConfigurationName_; int getInternetMaxBandwidthOut() const;
std::string tags_; void setInternetMaxBandwidthOut(int internetMaxBandwidthOut);
std::string spotStrategy_; std::string getSystemDiskKMSKeyId() const;
std::string instanceName_; void setSystemDiskKMSKeyId(const std::string &systemDiskKMSKeyId);
std::string internetChargeType_; std::string getSystemDiskCategory() const;
std::string zoneId_; void setSystemDiskCategory(const std::string &systemDiskCategory);
int internetMaxBandwidthIn_; std::string getAccessKeyId() const;
std::string affinity_; void setAccessKeyId(const std::string &accessKeyId);
std::string imageId_; std::string getSystemDiskPerformanceLevel() const;
int memory_; void setSystemDiskPerformanceLevel(const std::string &systemDiskPerformanceLevel);
std::string clientToken_; std::string getUserData() const;
std::string scalingGroupId_; void setUserData(const std::string &userData);
std::vector<std::string> instanceTypes_; bool getPasswordInherit() const;
std::string ioOptimized_; void setPasswordInherit(bool passwordInherit);
std::string securityGroupId_; ResourcePoolOptions getResourcePoolOptions() const;
int internetMaxBandwidthOut_; void setResourcePoolOptions(const ResourcePoolOptions &resourcePoolOptions);
std::string systemDiskCategory_; std::string getImageName() const;
std::string accessKeyId_; void setImageName(const std::string &imageName);
std::string userData_; std::string getHttpEndpoint() const;
bool passwordInherit_; void setHttpEndpoint(const std::string &httpEndpoint);
std::string imageName_; std::string getDedicatedHostClusterId() const;
std::string instanceType_; void setDedicatedHostClusterId(const std::string &dedicatedHostClusterId);
std::map<std::string, std::string> schedulerOptions_; std::string getInstanceType() const;
std::string deploymentSetId_; void setInstanceType(const std::string &instanceType);
std::string resourceOwnerAccount_; std::map<std::string, std::string> getSchedulerOptions() const;
std::string ownerAccount_; void setSchedulerOptions(std::map<std::string, std::string> schedulerOptions);
std::string tenancy_; std::string getDeploymentSetId() const;
std::string systemDiskDiskName_; void setDeploymentSetId(const std::string &deploymentSetId);
std::string ramRoleName_; std::string getResourceOwnerAccount() const;
std::string dedicatedHostId_; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string creditSpecification_; std::string getOwnerAccount() const;
std::vector<std::string> securityGroupIds_; void setOwnerAccount(const std::string &ownerAccount);
std::vector<DataDisk> dataDisk_; std::string getTenancy() const;
int loadBalancerWeight_; void setTenancy(const std::string &tenancy);
int systemDiskSize_; std::string getSystemDiskDiskName() const;
std::string imageFamily_; void setSystemDiskDiskName(const std::string &systemDiskDiskName);
std::string systemDiskDescription_; std::string getRamRoleName() const;
void setRamRoleName(const std::string &ramRoleName);
}; std::string getSystemDiskEncryptAlgorithm() const;
} void setSystemDiskEncryptAlgorithm(const std::string &systemDiskEncryptAlgorithm);
} std::string getDedicatedHostId() const;
} void setDedicatedHostId(const std::string &dedicatedHostId);
#endif // !ALIBABACLOUD_ESS_MODEL_CREATESCALINGCONFIGURATIONREQUEST_H_ std::string getCreditSpecification() const;
void setCreditSpecification(const std::string &creditSpecification);
int getSpotDuration() const;
void setSpotDuration(int spotDuration);
std::vector<std::string> getSecurityGroupIds() const;
void setSecurityGroupIds(const std::vector<std::string> &securityGroupIds);
std::vector<DataDisk> getDataDisk() const;
void setDataDisk(const std::vector<DataDisk> &dataDisk);
std::vector<InstanceTypeOverride> getInstanceTypeOverride() const;
void setInstanceTypeOverride(const std::vector<InstanceTypeOverride> &instanceTypeOverride);
long getSystemDiskProvisionedIops() const;
void setSystemDiskProvisionedIops(long systemDiskProvisionedIops);
int getLoadBalancerWeight() const;
void setLoadBalancerWeight(int loadBalancerWeight);
std::string getStorageSetId() const;
void setStorageSetId(const std::string &storageSetId);
int getSystemDiskSize() const;
void setSystemDiskSize(int systemDiskSize);
std::string getImageFamily() const;
void setImageFamily(const std::string &imageFamily);
std::string getHttpTokens() const;
void setHttpTokens(const std::string &httpTokens);
std::string getSystemDiskDescription() const;
void setSystemDiskDescription(const std::string &systemDiskDescription);
bool getSystemDiskEncrypted() const;
void setSystemDiskEncrypted(bool systemDiskEncrypted);
private:
std::string hpcClusterId_;
SecurityOptions securityOptions_;
std::string securityEnhancementStrategy_;
std::string keyPairName_;
std::vector<SpotPriceLimit> spotPriceLimit_;
bool deletionProtection_;
std::string resourceGroupId_;
std::string privatePoolOptionsMatchCriteria_;
std::string hostName_;
std::string password_;
std::string instanceDescription_;
int storageSetPartitionNumber_;
std::vector<CustomPriorities> customPriorities_;
std::string systemDiskAutoSnapshotPolicyId_;
std::string privatePoolOptionsId_;
bool imageOptionsLoginAsNonRoot_;
int ipv6AddressCount_;
int cpu_;
std::vector<std::string> systemDiskCategories_;
long ownerId_;
std::string scalingConfigurationName_;
std::string tags_;
std::string spotStrategy_;
CpuOptions cpuOptions_;
bool systemDiskBurstingEnabled_;
std::string instanceName_;
std::string internetChargeType_;
std::string zoneId_;
int internetMaxBandwidthIn_;
std::vector<InstancePatternInfo> instancePatternInfo_;
std::string affinity_;
std::vector<NetworkInterfaces> networkInterfaces_;
std::string imageId_;
int memory_;
std::string clientToken_;
std::string spotInterruptionBehavior_;
std::string scalingGroupId_;
std::string ioOptimized_;
std::vector<std::string> instanceTypes_;
std::string securityGroupId_;
int internetMaxBandwidthOut_;
std::string systemDiskKMSKeyId_;
std::string systemDiskCategory_;
std::string accessKeyId_;
std::string systemDiskPerformanceLevel_;
std::string userData_;
bool passwordInherit_;
ResourcePoolOptions resourcePoolOptions_;
std::string imageName_;
std::string httpEndpoint_;
std::string dedicatedHostClusterId_;
std::string instanceType_;
std::map<std::string, std::string> schedulerOptions_;
std::string deploymentSetId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string tenancy_;
std::string systemDiskDiskName_;
std::string ramRoleName_;
std::string systemDiskEncryptAlgorithm_;
std::string dedicatedHostId_;
std::string creditSpecification_;
int spotDuration_;
std::vector<std::string> securityGroupIds_;
std::vector<DataDisk> dataDisk_;
std::vector<InstanceTypeOverride> instanceTypeOverride_;
long systemDiskProvisionedIops_;
int loadBalancerWeight_;
std::string storageSetId_;
int systemDiskSize_;
std::string imageFamily_;
std::string httpTokens_;
std::string systemDiskDescription_;
bool systemDiskEncrypted_;
};
} // namespace Model
} // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_CREATESCALINGCONFIGURATIONREQUEST_H_

View File

@@ -1,170 +1,255 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_CREATESCALINGGROUPREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_CREATESCALINGGROUPREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_CREATESCALINGGROUPREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_CREATESCALINGGROUPREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT CreateScalingGroupRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT CreateScalingGroupRequest : public RpcServiceRequest struct Tag {
{ bool propagate;
public: std::string value;
struct Tag std::string key;
{ };
std::string value; struct ServerGroup {
std::string key; std::string serverGroupId;
}; int port;
struct LifecycleHook int weight;
{ std::string type;
std::string defaultResult; };
std::string lifecycleHookName; struct LaunchTemplateOverride {
int heartbeatTimeout; int weightedCapacity;
std::string notificationArn; std::string instanceType;
std::string notificationMetadata; float spotPriceLimit;
std::string lifecycleTransition; };
}; struct CapacityOptions {
struct VServerGroup bool compensateWithOnDemand;
{ std::string priceComparisonMode;
std::string loadBalancerId; int onDemandBaseCapacity;
struct VServerGroupAttribute bool spotAutoReplaceOnDemand;
{ int onDemandPercentageAboveBaseCapacity;
std::string vServerGroupId; };
int port; struct AlbServerGroup {
int weight; std::string albServerGroupId;
}; int port;
std::vector<VServerGroupAttribute> vServerGroupAttribute; int weight;
}; };
struct LifecycleHook {
public: std::string defaultResult;
CreateScalingGroupRequest(); std::string lifecycleHookName;
~CreateScalingGroupRequest(); int heartbeatTimeout;
std::string notificationArn;
std::vector<std::string> getVSwitchIds()const; std::string notificationMetadata;
void setVSwitchIds(const std::vector<std::string>& vSwitchIds); std::string lifecycleTransition;
bool getSpotInstanceRemedy()const; };
void setSpotInstanceRemedy(bool spotInstanceRemedy); struct SystemTag {
bool getScaleOutAmountCheck()const; std::string scope;
void setScaleOutAmountCheck(bool scaleOutAmountCheck); std::string value;
std::vector<Tag> getTag()const; std::string key;
void setTag(const std::vector<Tag>& tag); bool spread;
int getDefaultCooldown()const; };
void setDefaultCooldown(int defaultCooldown); struct LoadBalancerConfig {
std::string getMultiAZPolicy()const; std::string loadBalancerId;
void setMultiAZPolicy(const std::string& multiAZPolicy); int weight;
std::string getDBInstanceIds()const; };
void setDBInstanceIds(const std::string& dBInstanceIds); struct DBInstance {
std::string getLaunchTemplateId()const; std::string dBInstanceId;
void setLaunchTemplateId(const std::string& launchTemplateId); std::string type;
int getDesiredCapacity()const; std::string attachMode;
void setDesiredCapacity(int desiredCapacity); };
bool getCompensateWithOnDemand()const; struct VServerGroup {
void setCompensateWithOnDemand(bool compensateWithOnDemand); std::string loadBalancerId;
int getMinSize()const; struct VServerGroupAttribute {
void setMinSize(int minSize); std::string vServerGroupId;
long getOwnerId()const; int port;
void setOwnerId(long ownerId); int weight;
std::string getVSwitchId()const; };
void setVSwitchId(const std::string& vSwitchId); std::vector<VServerGroupAttribute> vServerGroupAttribute;
std::string getInstanceId()const; };
void setInstanceId(const std::string& instanceId); CreateScalingGroupRequest();
int getMaxSize()const; ~CreateScalingGroupRequest();
void setMaxSize(int maxSize); bool getAzBalance() const;
std::vector<LifecycleHook> getLifecycleHook()const; void setAzBalance(bool azBalance);
void setLifecycleHook(const std::vector<LifecycleHook>& lifecycleHook); std::vector<std::string> getVSwitchIds() const;
std::string getLoadBalancerIds()const; void setVSwitchIds(const std::vector<std::string> &vSwitchIds);
void setLoadBalancerIds(const std::string& loadBalancerIds); int getMaxInstanceLifetime() const;
std::string getClientToken()const; void setMaxInstanceLifetime(int maxInstanceLifetime);
void setClientToken(const std::string& clientToken); bool getSpotInstanceRemedy() const;
int getOnDemandBaseCapacity()const; void setSpotInstanceRemedy(bool spotInstanceRemedy);
void setOnDemandBaseCapacity(int onDemandBaseCapacity); bool getScaleOutAmountCheck() const;
std::string getAccessKeyId()const; void setScaleOutAmountCheck(bool scaleOutAmountCheck);
void setAccessKeyId(const std::string& accessKeyId); std::string getResourceGroupId() const;
int getOnDemandPercentageAboveBaseCapacity()const; void setResourceGroupId(const std::string &resourceGroupId);
void setOnDemandPercentageAboveBaseCapacity(int onDemandPercentageAboveBaseCapacity); std::string getGroupType() const;
std::string getRegionId()const; void setGroupType(const std::string &groupType);
void setRegionId(const std::string& regionId); bool getSyncAlarmRuleToCms() const;
std::string getRemovalPolicy1()const; void setSyncAlarmRuleToCms(bool syncAlarmRuleToCms);
void setRemovalPolicy1(const std::string& removalPolicy1); std::string getCustomPolicyARN() const;
std::string getRemovalPolicy2()const; void setCustomPolicyARN(const std::string &customPolicyARN);
void setRemovalPolicy2(const std::string& removalPolicy2); std::vector<Tag> getTag() const;
std::string getHealthCheckType()const; void setTag(const std::vector<Tag> &tag);
void setHealthCheckType(const std::string& healthCheckType); int getStopInstanceTimeout() const;
std::string getResourceOwnerAccount()const; void setStopInstanceTimeout(int stopInstanceTimeout);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); int getDefaultCooldown() const;
std::string getScalingGroupName()const; void setDefaultCooldown(int defaultCooldown);
void setScalingGroupName(const std::string& scalingGroupName); std::vector<std::string> getHealthCheckTypes() const;
std::string getOwnerAccount()const; void setHealthCheckTypes(const std::vector<std::string> &healthCheckTypes);
void setOwnerAccount(const std::string& ownerAccount); std::string getContainerGroupId() const;
int getSpotInstancePools()const; void setContainerGroupId(const std::string &containerGroupId);
void setSpotInstancePools(int spotInstancePools); std::string getMultiAZPolicy() const;
bool getGroupDeletionProtection()const; void setMultiAZPolicy(const std::string &multiAZPolicy);
void setGroupDeletionProtection(bool groupDeletionProtection); std::string getDBInstanceIds() const;
std::string getLaunchTemplateVersion()const; void setDBInstanceIds(const std::string &dBInstanceIds);
void setLaunchTemplateVersion(const std::string& launchTemplateVersion); std::string getLaunchTemplateId() const;
std::string getScalingPolicy()const; void setLaunchTemplateId(const std::string &launchTemplateId);
void setScalingPolicy(const std::string& scalingPolicy); int getDesiredCapacity() const;
std::vector<VServerGroup> getVServerGroup()const; void setDesiredCapacity(int desiredCapacity);
void setVServerGroup(const std::vector<VServerGroup>& vServerGroup); std::vector<ServerGroup> getServerGroup() const;
void setServerGroup(const std::vector<ServerGroup> &serverGroup);
private: std::vector<LaunchTemplateOverride> getLaunchTemplateOverride() const;
std::vector<std::string> vSwitchIds_; void setLaunchTemplateOverride(const std::vector<LaunchTemplateOverride> &launchTemplateOverride);
bool spotInstanceRemedy_; bool getCompensateWithOnDemand() const;
bool scaleOutAmountCheck_; void setCompensateWithOnDemand(bool compensateWithOnDemand);
std::vector<Tag> tag_; CapacityOptions getCapacityOptions() const;
int defaultCooldown_; void setCapacityOptions(const CapacityOptions &capacityOptions);
std::string multiAZPolicy_; int getMinSize() const;
std::string dBInstanceIds_; void setMinSize(int minSize);
std::string launchTemplateId_; long getOwnerId() const;
int desiredCapacity_; void setOwnerId(long ownerId);
bool compensateWithOnDemand_; std::vector<AlbServerGroup> getAlbServerGroup() const;
int minSize_; void setAlbServerGroup(const std::vector<AlbServerGroup> &albServerGroup);
long ownerId_; std::string getVSwitchId() const;
std::string vSwitchId_; void setVSwitchId(const std::string &vSwitchId);
std::string instanceId_; std::string getInstanceId() const;
int maxSize_; void setInstanceId(const std::string &instanceId);
std::vector<LifecycleHook> lifecycleHook_; int getMaxSize() const;
std::string loadBalancerIds_; void setMaxSize(int maxSize);
std::string clientToken_; std::vector<LifecycleHook> getLifecycleHook() const;
int onDemandBaseCapacity_; void setLifecycleHook(const std::vector<LifecycleHook> &lifecycleHook);
std::string accessKeyId_; std::string getLoadBalancerIds() const;
int onDemandPercentageAboveBaseCapacity_; void setLoadBalancerIds(const std::string &loadBalancerIds);
std::string regionId_; std::string getClientToken() const;
std::string removalPolicy1_; void setClientToken(const std::string &clientToken);
std::string removalPolicy2_; std::vector<SystemTag> getSystemTag() const;
std::string healthCheckType_; void setSystemTag(const std::vector<SystemTag> &systemTag);
std::string resourceOwnerAccount_; std::vector<LoadBalancerConfig> getLoadBalancerConfig() const;
std::string scalingGroupName_; void setLoadBalancerConfig(const std::vector<LoadBalancerConfig> &loadBalancerConfig);
std::string ownerAccount_; int getOnDemandBaseCapacity() const;
int spotInstancePools_; void setOnDemandBaseCapacity(int onDemandBaseCapacity);
bool groupDeletionProtection_; std::string getAccessKeyId() const;
std::string launchTemplateVersion_; void setAccessKeyId(const std::string &accessKeyId);
std::string scalingPolicy_; int getOnDemandPercentageAboveBaseCapacity() const;
std::vector<VServerGroup> vServerGroup_; void setOnDemandPercentageAboveBaseCapacity(int onDemandPercentageAboveBaseCapacity);
std::string getSpotAllocationStrategy() const;
}; void setSpotAllocationStrategy(const std::string &spotAllocationStrategy);
} std::string getRegionId() const;
} void setRegionId(const std::string &regionId);
} std::string getRemovalPolicy1() const;
#endif // !ALIBABACLOUD_ESS_MODEL_CREATESCALINGGROUPREQUEST_H_ void setRemovalPolicy1(const std::string &removalPolicy1);
std::string getRemovalPolicy2() const;
void setRemovalPolicy2(const std::string &removalPolicy2);
std::string getRemovalPolicy3() const;
void setRemovalPolicy3(const std::string &removalPolicy3);
std::string getHealthCheckType() const;
void setHealthCheckType(const std::string &healthCheckType);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getScalingGroupName() const;
void setScalingGroupName(const std::string &scalingGroupName);
std::string getOwnerAccount() const;
void setOwnerAccount(const std::string &ownerAccount);
int getSpotInstancePools() const;
void setSpotInstancePools(int spotInstancePools);
std::vector<DBInstance> getDBInstance() const;
void setDBInstance(const std::vector<DBInstance> &dBInstance);
bool getGroupDeletionProtection() const;
void setGroupDeletionProtection(bool groupDeletionProtection);
std::string getLaunchTemplateVersion() const;
void setLaunchTemplateVersion(const std::string &launchTemplateVersion);
std::string getScalingPolicy() const;
void setScalingPolicy(const std::string &scalingPolicy);
std::string getAllocationStrategy() const;
void setAllocationStrategy(const std::string &allocationStrategy);
std::vector<VServerGroup> getVServerGroup() const;
void setVServerGroup(const std::vector<VServerGroup> &vServerGroup);
private:
bool azBalance_;
std::vector<std::string> vSwitchIds_;
int maxInstanceLifetime_;
bool spotInstanceRemedy_;
bool scaleOutAmountCheck_;
std::string resourceGroupId_;
std::string groupType_;
bool syncAlarmRuleToCms_;
std::string customPolicyARN_;
std::vector<Tag> tag_;
int stopInstanceTimeout_;
int defaultCooldown_;
std::vector<std::string> healthCheckTypes_;
std::string containerGroupId_;
std::string multiAZPolicy_;
std::string dBInstanceIds_;
std::string launchTemplateId_;
int desiredCapacity_;
std::vector<ServerGroup> serverGroup_;
std::vector<LaunchTemplateOverride> launchTemplateOverride_;
bool compensateWithOnDemand_;
CapacityOptions capacityOptions_;
int minSize_;
long ownerId_;
std::vector<AlbServerGroup> albServerGroup_;
std::string vSwitchId_;
std::string instanceId_;
int maxSize_;
std::vector<LifecycleHook> lifecycleHook_;
std::string loadBalancerIds_;
std::string clientToken_;
std::vector<SystemTag> systemTag_;
std::vector<LoadBalancerConfig> loadBalancerConfig_;
int onDemandBaseCapacity_;
std::string accessKeyId_;
int onDemandPercentageAboveBaseCapacity_;
std::string spotAllocationStrategy_;
std::string regionId_;
std::string removalPolicy1_;
std::string removalPolicy2_;
std::string removalPolicy3_;
std::string healthCheckType_;
std::string resourceOwnerAccount_;
std::string scalingGroupName_;
std::string ownerAccount_;
int spotInstancePools_;
std::vector<DBInstance> dBInstance_;
bool groupDeletionProtection_;
std::string launchTemplateVersion_;
std::string scalingPolicy_;
std::string allocationStrategy_;
std::vector<VServerGroup> vServerGroup_;
};
} // namespace Model
} // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_CREATESCALINGGROUPREQUEST_H_

View File

@@ -1,121 +1,143 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_CREATESCALINGRULEREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_CREATESCALINGRULEREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_CREATESCALINGRULEREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_CREATESCALINGRULEREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT CreateScalingRuleRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT CreateScalingRuleRequest : public RpcServiceRequest struct AlarmDimension {
{ std::string dimensionValue;
public: std::string dimensionKey;
struct StepAdjustment };
{ struct StepAdjustment {
float metricIntervalLowerBound; float metricIntervalUpperBound;
float metricIntervalUpperBound; float metricIntervalLowerBound;
int scalingAdjustment; int scalingAdjustment;
}; };
struct HybridMetrics {
public: std::string statistic;
CreateScalingRuleRequest(); std::string expression;
~CreateScalingRuleRequest(); std::string id;
std::string metricName;
std::vector<StepAdjustment> getStepAdjustment()const; struct Dimensions {
void setStepAdjustment(const std::vector<StepAdjustment>& stepAdjustment); std::string dimensionValue;
std::string getScalingGroupId()const; std::string dimensionKey;
void setScalingGroupId(const std::string& scalingGroupId); };
bool getDisableScaleIn()const; std::vector<Dimensions> dimensions;
void setDisableScaleIn(bool disableScaleIn); };
int getInitialMaxSize()const; CreateScalingRuleRequest();
void setInitialMaxSize(int initialMaxSize); ~CreateScalingRuleRequest();
std::string getAccessKeyId()const; std::string getMetricType() const;
void setAccessKeyId(const std::string& accessKeyId); void setMetricType(const std::string &metricType);
std::string getScalingRuleName()const; std::vector<AlarmDimension> getAlarmDimension() const;
void setScalingRuleName(const std::string& scalingRuleName); void setAlarmDimension(const std::vector<AlarmDimension> &alarmDimension);
int getCooldown()const; std::vector<StepAdjustment> getStepAdjustment() const;
void setCooldown(int cooldown); void setStepAdjustment(const std::vector<StepAdjustment> &stepAdjustment);
std::string getPredictiveValueBehavior()const; std::string getScalingGroupId() const;
void setPredictiveValueBehavior(const std::string& predictiveValueBehavior); void setScalingGroupId(const std::string &scalingGroupId);
int getScaleInEvaluationCount()const; bool getDisableScaleIn() const;
void setScaleInEvaluationCount(int scaleInEvaluationCount); void setDisableScaleIn(bool disableScaleIn);
std::string getScalingRuleType()const; int getInitialMaxSize() const;
void setScalingRuleType(const std::string& scalingRuleType); void setInitialMaxSize(int initialMaxSize);
std::string getMetricName()const; std::string getAccessKeyId() const;
void setMetricName(const std::string& metricName); void setAccessKeyId(const std::string &accessKeyId);
std::string getPredictiveScalingMode()const; std::string getScalingRuleName() const;
void setPredictiveScalingMode(const std::string& predictiveScalingMode); void setScalingRuleName(const std::string &scalingRuleName);
std::string getResourceOwnerAccount()const; std::string getHybridMonitorNamespace() const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); void setHybridMonitorNamespace(const std::string &hybridMonitorNamespace);
int getAdjustmentValue()const; std::string getRegionId() const;
void setAdjustmentValue(int adjustmentValue); void setRegionId(const std::string &regionId);
int getEstimatedInstanceWarmup()const; int getCooldown() const;
void setEstimatedInstanceWarmup(int estimatedInstanceWarmup); void setCooldown(int cooldown);
std::string getOwnerAccount()const; std::string getPredictiveValueBehavior() const;
void setOwnerAccount(const std::string& ownerAccount); void setPredictiveValueBehavior(const std::string &predictiveValueBehavior);
int getPredictiveTaskBufferTime()const; int getScaleInEvaluationCount() const;
void setPredictiveTaskBufferTime(int predictiveTaskBufferTime); void setScaleInEvaluationCount(int scaleInEvaluationCount);
std::string getAdjustmentType()const; std::string getScalingRuleType() const;
void setAdjustmentType(const std::string& adjustmentType); void setScalingRuleType(const std::string &scalingRuleType);
long getOwnerId()const; std::string getMetricName() const;
void setOwnerId(long ownerId); void setMetricName(const std::string &metricName);
int getPredictiveValueBuffer()const; std::string getPredictiveScalingMode() const;
void setPredictiveValueBuffer(int predictiveValueBuffer); void setPredictiveScalingMode(const std::string &predictiveScalingMode);
int getScaleOutEvaluationCount()const; std::string getResourceOwnerAccount() const;
void setScaleOutEvaluationCount(int scaleOutEvaluationCount); void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
int getMinAdjustmentMagnitude()const; int getAdjustmentValue() const;
void setMinAdjustmentMagnitude(int minAdjustmentMagnitude); void setAdjustmentValue(int adjustmentValue);
float getTargetValue()const; int getEstimatedInstanceWarmup() const;
void setTargetValue(float targetValue); void setEstimatedInstanceWarmup(int estimatedInstanceWarmup);
std::string getOwnerAccount() const;
private: void setOwnerAccount(const std::string &ownerAccount);
std::vector<StepAdjustment> stepAdjustment_; int getPredictiveTaskBufferTime() const;
std::string scalingGroupId_; void setPredictiveTaskBufferTime(int predictiveTaskBufferTime);
bool disableScaleIn_; std::string getAdjustmentType() const;
int initialMaxSize_; void setAdjustmentType(const std::string &adjustmentType);
std::string accessKeyId_; long getOwnerId() const;
std::string scalingRuleName_; void setOwnerId(long ownerId);
int cooldown_; int getPredictiveValueBuffer() const;
std::string predictiveValueBehavior_; void setPredictiveValueBuffer(int predictiveValueBuffer);
int scaleInEvaluationCount_; std::vector<HybridMetrics> getHybridMetrics() const;
std::string scalingRuleType_; void setHybridMetrics(const std::vector<HybridMetrics> &hybridMetrics);
std::string metricName_; int getScaleOutEvaluationCount() const;
std::string predictiveScalingMode_; void setScaleOutEvaluationCount(int scaleOutEvaluationCount);
std::string resourceOwnerAccount_; int getMinAdjustmentMagnitude() const;
int adjustmentValue_; void setMinAdjustmentMagnitude(int minAdjustmentMagnitude);
int estimatedInstanceWarmup_; float getTargetValue() const;
std::string ownerAccount_; void setTargetValue(float targetValue);
int predictiveTaskBufferTime_;
std::string adjustmentType_; private:
long ownerId_; std::string metricType_;
int predictiveValueBuffer_; std::vector<AlarmDimension> alarmDimension_;
int scaleOutEvaluationCount_; std::vector<StepAdjustment> stepAdjustment_;
int minAdjustmentMagnitude_; std::string scalingGroupId_;
float targetValue_; bool disableScaleIn_;
int initialMaxSize_;
}; std::string accessKeyId_;
} std::string scalingRuleName_;
} std::string hybridMonitorNamespace_;
} std::string regionId_;
#endif // !ALIBABACLOUD_ESS_MODEL_CREATESCALINGRULEREQUEST_H_ int cooldown_;
std::string predictiveValueBehavior_;
int scaleInEvaluationCount_;
std::string scalingRuleType_;
std::string metricName_;
std::string predictiveScalingMode_;
std::string resourceOwnerAccount_;
int adjustmentValue_;
int estimatedInstanceWarmup_;
std::string ownerAccount_;
int predictiveTaskBufferTime_;
std::string adjustmentType_;
long ownerId_;
int predictiveValueBuffer_;
std::vector<HybridMetrics> hybridMetrics_;
int scaleOutEvaluationCount_;
int minAdjustmentMagnitude_;
float targetValue_;
};
} // namespace Model
} // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_CREATESCALINGRULEREQUEST_H_

View File

@@ -1,99 +1,93 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_CREATESCHEDULEDTASKREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_CREATESCHEDULEDTASKREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_CREATESCHEDULEDTASKREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_CREATESCHEDULEDTASKREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT CreateScheduledTaskRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT CreateScheduledTaskRequest : public RpcServiceRequest CreateScheduledTaskRequest();
{ ~CreateScheduledTaskRequest();
std::string getScheduledAction() const;
public: void setScheduledAction(const std::string &scheduledAction);
CreateScheduledTaskRequest(); int getMaxValue() const;
~CreateScheduledTaskRequest(); void setMaxValue(int maxValue);
std::string getScalingGroupId() const;
std::string getScheduledAction()const; void setScalingGroupId(const std::string &scalingGroupId);
void setScheduledAction(const std::string& scheduledAction); std::string getDescription() const;
int getMaxValue()const; void setDescription(const std::string &description);
void setMaxValue(int maxValue); std::string getRecurrenceEndTime() const;
std::string getScalingGroupId()const; void setRecurrenceEndTime(const std::string &recurrenceEndTime);
void setScalingGroupId(const std::string& scalingGroupId); std::string getAccessKeyId() const;
std::string getDescription()const; void setAccessKeyId(const std::string &accessKeyId);
void setDescription(const std::string& description); std::string getRegionId() const;
std::string getRecurrenceEndTime()const; void setRegionId(const std::string &regionId);
void setRecurrenceEndTime(const std::string& recurrenceEndTime); std::string getLaunchTime() const;
std::string getAccessKeyId()const; void setLaunchTime(const std::string &launchTime);
void setAccessKeyId(const std::string& accessKeyId); int getDesiredCapacity() const;
std::string getRegionId()const; void setDesiredCapacity(int desiredCapacity);
void setRegionId(const std::string& regionId); std::string getResourceOwnerAccount() const;
std::string getLaunchTime()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setLaunchTime(const std::string& launchTime); std::string getOwnerAccount() const;
int getDesiredCapacity()const; void setOwnerAccount(const std::string &ownerAccount);
void setDesiredCapacity(int desiredCapacity); long getOwnerId() const;
std::string getResourceOwnerAccount()const; void setOwnerId(long ownerId);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getRecurrenceValue() const;
std::string getOwnerAccount()const; void setRecurrenceValue(const std::string &recurrenceValue);
void setOwnerAccount(const std::string& ownerAccount); int getLaunchExpirationTime() const;
long getOwnerId()const; void setLaunchExpirationTime(int launchExpirationTime);
void setOwnerId(long ownerId); int getMinValue() const;
std::string getRecurrenceValue()const; void setMinValue(int minValue);
void setRecurrenceValue(const std::string& recurrenceValue); std::string getScheduledTaskName() const;
int getLaunchExpirationTime()const; void setScheduledTaskName(const std::string &scheduledTaskName);
void setLaunchExpirationTime(int launchExpirationTime); bool getTaskEnabled() const;
int getMinValue()const; void setTaskEnabled(bool taskEnabled);
void setMinValue(int minValue); std::string getRecurrenceType() const;
std::string getScheduledTaskName()const; void setRecurrenceType(const std::string &recurrenceType);
void setScheduledTaskName(const std::string& scheduledTaskName);
bool getTaskEnabled()const; private:
void setTaskEnabled(bool taskEnabled); std::string scheduledAction_;
std::string getRecurrenceType()const; int maxValue_;
void setRecurrenceType(const std::string& recurrenceType); std::string scalingGroupId_;
std::string description_;
private: std::string recurrenceEndTime_;
std::string scheduledAction_; std::string accessKeyId_;
int maxValue_; std::string regionId_;
std::string scalingGroupId_; std::string launchTime_;
std::string description_; int desiredCapacity_;
std::string recurrenceEndTime_; std::string resourceOwnerAccount_;
std::string accessKeyId_; std::string ownerAccount_;
std::string regionId_; long ownerId_;
std::string launchTime_; std::string recurrenceValue_;
int desiredCapacity_; int launchExpirationTime_;
std::string resourceOwnerAccount_; int minValue_;
std::string ownerAccount_; std::string scheduledTaskName_;
long ownerId_; bool taskEnabled_;
std::string recurrenceValue_; std::string recurrenceType_;
int launchExpirationTime_; };
int minValue_; } // namespace Model
std::string scheduledTaskName_; } // namespace Ess
bool taskEnabled_; } // namespace AlibabaCloud
std::string recurrenceType_; #endif // !ALIBABACLOUD_ESS_MODEL_CREATESCHEDULEDTASKREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_CREATESCHEDULEDTASKREQUEST_H_

View File

@@ -1,60 +1,54 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DEACTIVATESCALINGCONFIGURATIONREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DEACTIVATESCALINGCONFIGURATIONREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DEACTIVATESCALINGCONFIGURATIONREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DEACTIVATESCALINGCONFIGURATIONREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DeactivateScalingConfigurationRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DeactivateScalingConfigurationRequest : public RpcServiceRequest DeactivateScalingConfigurationRequest();
{ ~DeactivateScalingConfigurationRequest();
std::string getAccessKeyId() const;
public: void setAccessKeyId(const std::string &accessKeyId);
DeactivateScalingConfigurationRequest(); std::string getResourceOwnerAccount() const;
~DeactivateScalingConfigurationRequest(); void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getOwnerAccount() const;
std::string getResourceOwnerAccount()const; void setOwnerAccount(const std::string &ownerAccount);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); long getOwnerId() const;
std::string getOwnerAccount()const; void setOwnerId(long ownerId);
void setOwnerAccount(const std::string& ownerAccount); std::string getScalingConfigurationId() const;
long getOwnerId()const; void setScalingConfigurationId(const std::string &scalingConfigurationId);
void setOwnerId(long ownerId);
std::string getAccessKeyId()const; private:
void setAccessKeyId(const std::string& accessKeyId); std::string accessKeyId_;
std::string getScalingConfigurationId()const; std::string resourceOwnerAccount_;
void setScalingConfigurationId(const std::string& scalingConfigurationId); std::string ownerAccount_;
long ownerId_;
private: std::string scalingConfigurationId_;
std::string resourceOwnerAccount_; };
std::string ownerAccount_; } // namespace Model
long ownerId_; } // namespace Ess
std::string accessKeyId_; } // namespace AlibabaCloud
std::string scalingConfigurationId_; #endif // !ALIBABACLOUD_ESS_MODEL_DEACTIVATESCALINGCONFIGURATIONREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DEACTIVATESCALINGCONFIGURATIONREQUEST_H_

View File

@@ -1,60 +1,54 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DELETEALARMREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DELETEALARMREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DELETEALARMREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DELETEALARMREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DeleteAlarmRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DeleteAlarmRequest : public RpcServiceRequest DeleteAlarmRequest();
{ ~DeleteAlarmRequest();
std::string getAccessKeyId() const;
public: void setAccessKeyId(const std::string &accessKeyId);
DeleteAlarmRequest(); std::string getRegionId() const;
~DeleteAlarmRequest(); void setRegionId(const std::string &regionId);
std::string getResourceOwnerAccount() const;
std::string getResourceOwnerAccount()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); long getOwnerId() const;
long getOwnerId()const; void setOwnerId(long ownerId);
void setOwnerId(long ownerId); std::string getAlarmTaskId() const;
std::string getAlarmTaskId()const; void setAlarmTaskId(const std::string &alarmTaskId);
void setAlarmTaskId(const std::string& alarmTaskId);
std::string getAccessKeyId()const; private:
void setAccessKeyId(const std::string& accessKeyId); std::string accessKeyId_;
std::string getRegionId()const; std::string regionId_;
void setRegionId(const std::string& regionId); std::string resourceOwnerAccount_;
long ownerId_;
private: std::string alarmTaskId_;
std::string resourceOwnerAccount_; };
long ownerId_; } // namespace Model
std::string alarmTaskId_; } // namespace Ess
std::string accessKeyId_; } // namespace AlibabaCloud
std::string regionId_; #endif // !ALIBABACLOUD_ESS_MODEL_DELETEALARMREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DELETEALARMREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ESS_MODEL_DELETEECISCALINGCONFIGURATIONREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DELETEECISCALINGCONFIGURATIONREQUEST_H_
#include <alibabacloud/ess/EssExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ess {
namespace Model {
class ALIBABACLOUD_ESS_EXPORT DeleteEciScalingConfigurationRequest : public RpcServiceRequest {
public:
DeleteEciScalingConfigurationRequest();
~DeleteEciScalingConfigurationRequest();
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getOwnerAccount() const;
void setOwnerAccount(const std::string &ownerAccount);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getScalingConfigurationId() const;
void setScalingConfigurationId(const std::string &scalingConfigurationId);
private:
std::string accessKeyId_;
std::string regionId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string scalingConfigurationId_;
};
} // namespace Model
} // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_DELETEECISCALINGCONFIGURATIONREQUEST_H_

View File

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

View File

@@ -1,66 +1,63 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DELETELIFECYCLEHOOKREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DELETELIFECYCLEHOOKREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DELETELIFECYCLEHOOKREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DELETELIFECYCLEHOOKREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DeleteLifecycleHookRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DeleteLifecycleHookRequest : public RpcServiceRequest DeleteLifecycleHookRequest();
{ ~DeleteLifecycleHookRequest();
std::string getScalingGroupId() const;
public: void setScalingGroupId(const std::string &scalingGroupId);
DeleteLifecycleHookRequest(); std::string getAccessKeyId() const;
~DeleteLifecycleHookRequest(); void setAccessKeyId(const std::string &accessKeyId);
std::string getLifecycleHookName() const;
std::string getScalingGroupId()const; void setLifecycleHookName(const std::string &lifecycleHookName);
void setScalingGroupId(const std::string& scalingGroupId); std::string getRegionId() const;
std::string getAccessKeyId()const; void setRegionId(const std::string &regionId);
void setAccessKeyId(const std::string& accessKeyId); std::string getResourceOwnerAccount() const;
std::string getLifecycleHookName()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setLifecycleHookName(const std::string& lifecycleHookName); std::string getLifecycleHookId() const;
std::string getResourceOwnerAccount()const; void setLifecycleHookId(const std::string &lifecycleHookId);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getOwnerAccount() const;
std::string getLifecycleHookId()const; void setOwnerAccount(const std::string &ownerAccount);
void setLifecycleHookId(const std::string& lifecycleHookId); long getOwnerId() const;
std::string getOwnerAccount()const; void setOwnerId(long ownerId);
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const; private:
void setOwnerId(long ownerId); std::string scalingGroupId_;
std::string accessKeyId_;
private: std::string lifecycleHookName_;
std::string scalingGroupId_; std::string regionId_;
std::string accessKeyId_; std::string resourceOwnerAccount_;
std::string lifecycleHookName_; std::string lifecycleHookId_;
std::string resourceOwnerAccount_; std::string ownerAccount_;
std::string lifecycleHookId_; long ownerId_;
std::string ownerAccount_; };
long ownerId_; } // namespace Model
} // namespace Ess
}; } // namespace AlibabaCloud
} #endif // !ALIBABACLOUD_ESS_MODEL_DELETELIFECYCLEHOOKREQUEST_H_
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DELETELIFECYCLEHOOKREQUEST_H_

View File

@@ -1,60 +1,57 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DELETENOTIFICATIONCONFIGURATIONREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DELETENOTIFICATIONCONFIGURATIONREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DELETENOTIFICATIONCONFIGURATIONREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DELETENOTIFICATIONCONFIGURATIONREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DeleteNotificationConfigurationRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DeleteNotificationConfigurationRequest : public RpcServiceRequest DeleteNotificationConfigurationRequest();
{ ~DeleteNotificationConfigurationRequest();
std::string getScalingGroupId() const;
public: void setScalingGroupId(const std::string &scalingGroupId);
DeleteNotificationConfigurationRequest(); std::string getAccessKeyId() const;
~DeleteNotificationConfigurationRequest(); void setAccessKeyId(const std::string &accessKeyId);
std::string getRegionId() const;
std::string getResourceOwnerAccount()const; void setRegionId(const std::string &regionId);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getNotificationArn() const;
std::string getScalingGroupId()const; void setNotificationArn(const std::string &notificationArn);
void setScalingGroupId(const std::string& scalingGroupId); std::string getResourceOwnerAccount() const;
long getOwnerId()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setOwnerId(long ownerId); long getOwnerId() const;
std::string getAccessKeyId()const; void setOwnerId(long ownerId);
void setAccessKeyId(const std::string& accessKeyId);
std::string getNotificationArn()const; private:
void setNotificationArn(const std::string& notificationArn); std::string scalingGroupId_;
std::string accessKeyId_;
private: std::string regionId_;
std::string resourceOwnerAccount_; std::string notificationArn_;
std::string scalingGroupId_; std::string resourceOwnerAccount_;
long ownerId_; long ownerId_;
std::string accessKeyId_; };
std::string notificationArn_; } // namespace Model
} // namespace Ess
}; } // namespace AlibabaCloud
} #endif // !ALIBABACLOUD_ESS_MODEL_DELETENOTIFICATIONCONFIGURATIONREQUEST_H_
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DELETENOTIFICATIONCONFIGURATIONREQUEST_H_

View File

@@ -1,60 +1,54 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DELETESCALINGCONFIGURATIONREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DELETESCALINGCONFIGURATIONREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DELETESCALINGCONFIGURATIONREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DELETESCALINGCONFIGURATIONREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DeleteScalingConfigurationRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DeleteScalingConfigurationRequest : public RpcServiceRequest DeleteScalingConfigurationRequest();
{ ~DeleteScalingConfigurationRequest();
std::string getAccessKeyId() const;
public: void setAccessKeyId(const std::string &accessKeyId);
DeleteScalingConfigurationRequest(); std::string getResourceOwnerAccount() const;
~DeleteScalingConfigurationRequest(); void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getOwnerAccount() const;
std::string getResourceOwnerAccount()const; void setOwnerAccount(const std::string &ownerAccount);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); long getOwnerId() const;
std::string getOwnerAccount()const; void setOwnerId(long ownerId);
void setOwnerAccount(const std::string& ownerAccount); std::string getScalingConfigurationId() const;
long getOwnerId()const; void setScalingConfigurationId(const std::string &scalingConfigurationId);
void setOwnerId(long ownerId);
std::string getAccessKeyId()const; private:
void setAccessKeyId(const std::string& accessKeyId); std::string accessKeyId_;
std::string getScalingConfigurationId()const; std::string resourceOwnerAccount_;
void setScalingConfigurationId(const std::string& scalingConfigurationId); std::string ownerAccount_;
long ownerId_;
private: std::string scalingConfigurationId_;
std::string resourceOwnerAccount_; };
std::string ownerAccount_; } // namespace Model
long ownerId_; } // namespace Ess
std::string accessKeyId_; } // namespace AlibabaCloud
std::string scalingConfigurationId_; #endif // !ALIBABACLOUD_ESS_MODEL_DELETESCALINGCONFIGURATIONREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DELETESCALINGCONFIGURATIONREQUEST_H_

View File

@@ -1,63 +1,60 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DELETESCALINGGROUPREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DELETESCALINGGROUPREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DELETESCALINGGROUPREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DELETESCALINGGROUPREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DeleteScalingGroupRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DeleteScalingGroupRequest : public RpcServiceRequest DeleteScalingGroupRequest();
{ ~DeleteScalingGroupRequest();
std::string getScalingGroupId() const;
public: void setScalingGroupId(const std::string &scalingGroupId);
DeleteScalingGroupRequest(); std::string getAccessKeyId() const;
~DeleteScalingGroupRequest(); void setAccessKeyId(const std::string &accessKeyId);
std::string getRegionId() const;
std::string getScalingGroupId()const; void setRegionId(const std::string &regionId);
void setScalingGroupId(const std::string& scalingGroupId); bool getForceDelete() const;
std::string getAccessKeyId()const; void setForceDelete(bool forceDelete);
void setAccessKeyId(const std::string& accessKeyId); std::string getResourceOwnerAccount() const;
bool getForceDelete()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setForceDelete(bool forceDelete); std::string getOwnerAccount() const;
std::string getResourceOwnerAccount()const; void setOwnerAccount(const std::string &ownerAccount);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); long getOwnerId() const;
std::string getOwnerAccount()const; void setOwnerId(long ownerId);
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const; private:
void setOwnerId(long ownerId); std::string scalingGroupId_;
std::string accessKeyId_;
private: std::string regionId_;
std::string scalingGroupId_; bool forceDelete_;
std::string accessKeyId_; std::string resourceOwnerAccount_;
bool forceDelete_; std::string ownerAccount_;
std::string resourceOwnerAccount_; long ownerId_;
std::string ownerAccount_; };
long ownerId_; } // namespace Model
} // namespace Ess
}; } // namespace AlibabaCloud
} #endif // !ALIBABACLOUD_ESS_MODEL_DELETESCALINGGROUPREQUEST_H_
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DELETESCALINGGROUPREQUEST_H_

View File

@@ -1,60 +1,57 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DELETESCALINGRULEREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DELETESCALINGRULEREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DELETESCALINGRULEREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DELETESCALINGRULEREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DeleteScalingRuleRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DeleteScalingRuleRequest : public RpcServiceRequest DeleteScalingRuleRequest();
{ ~DeleteScalingRuleRequest();
std::string getScalingRuleId() const;
public: void setScalingRuleId(const std::string &scalingRuleId);
DeleteScalingRuleRequest(); std::string getAccessKeyId() const;
~DeleteScalingRuleRequest(); void setAccessKeyId(const std::string &accessKeyId);
std::string getRegionId() const;
std::string getResourceOwnerAccount()const; void setRegionId(const std::string &regionId);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getResourceOwnerAccount() const;
std::string getOwnerAccount()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setOwnerAccount(const std::string& ownerAccount); std::string getOwnerAccount() const;
long getOwnerId()const; void setOwnerAccount(const std::string &ownerAccount);
void setOwnerId(long ownerId); long getOwnerId() const;
std::string getScalingRuleId()const; void setOwnerId(long ownerId);
void setScalingRuleId(const std::string& scalingRuleId);
std::string getAccessKeyId()const; private:
void setAccessKeyId(const std::string& accessKeyId); std::string scalingRuleId_;
std::string accessKeyId_;
private: std::string regionId_;
std::string resourceOwnerAccount_; std::string resourceOwnerAccount_;
std::string ownerAccount_; std::string ownerAccount_;
long ownerId_; long ownerId_;
std::string scalingRuleId_; };
std::string accessKeyId_; } // namespace Model
} // namespace Ess
}; } // namespace AlibabaCloud
} #endif // !ALIBABACLOUD_ESS_MODEL_DELETESCALINGRULEREQUEST_H_
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DELETESCALINGRULEREQUEST_H_

View File

@@ -1,60 +1,57 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DELETESCHEDULEDTASKREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DELETESCHEDULEDTASKREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DELETESCHEDULEDTASKREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DELETESCHEDULEDTASKREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DeleteScheduledTaskRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DeleteScheduledTaskRequest : public RpcServiceRequest DeleteScheduledTaskRequest();
{ ~DeleteScheduledTaskRequest();
std::string getAccessKeyId() const;
public: void setAccessKeyId(const std::string &accessKeyId);
DeleteScheduledTaskRequest(); std::string getRegionId() const;
~DeleteScheduledTaskRequest(); void setRegionId(const std::string &regionId);
std::string getResourceOwnerAccount() const;
std::string getResourceOwnerAccount()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getOwnerAccount() const;
std::string getOwnerAccount()const; void setOwnerAccount(const std::string &ownerAccount);
void setOwnerAccount(const std::string& ownerAccount); long getOwnerId() const;
long getOwnerId()const; void setOwnerId(long ownerId);
void setOwnerId(long ownerId); std::string getScheduledTaskId() const;
std::string getAccessKeyId()const; void setScheduledTaskId(const std::string &scheduledTaskId);
void setAccessKeyId(const std::string& accessKeyId);
std::string getScheduledTaskId()const; private:
void setScheduledTaskId(const std::string& scheduledTaskId); std::string accessKeyId_;
std::string regionId_;
private: std::string resourceOwnerAccount_;
std::string resourceOwnerAccount_; std::string ownerAccount_;
std::string ownerAccount_; long ownerId_;
long ownerId_; std::string scheduledTaskId_;
std::string accessKeyId_; };
std::string scheduledTaskId_; } // namespace Model
} // namespace Ess
}; } // namespace AlibabaCloud
} #endif // !ALIBABACLOUD_ESS_MODEL_DELETESCHEDULEDTASKREQUEST_H_
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DELETESCHEDULEDTASKREQUEST_H_

View File

@@ -1,78 +1,75 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBEALARMSREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBEALARMSREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DESCRIBEALARMSREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DESCRIBEALARMSREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DescribeAlarmsRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DescribeAlarmsRequest : public RpcServiceRequest DescribeAlarmsRequest();
{ ~DescribeAlarmsRequest();
std::string getMetricType() const;
public: void setMetricType(const std::string &metricType);
DescribeAlarmsRequest(); std::string getScalingGroupId() const;
~DescribeAlarmsRequest(); void setScalingGroupId(const std::string &scalingGroupId);
int getPageNumber() const;
std::string getMetricType()const; void setPageNumber(int pageNumber);
void setMetricType(const std::string& metricType); std::string getAccessKeyId() const;
std::string getScalingGroupId()const; void setAccessKeyId(const std::string &accessKeyId);
void setScalingGroupId(const std::string& scalingGroupId); std::string getRegionId() const;
int getPageNumber()const; void setRegionId(const std::string &regionId);
void setPageNumber(int pageNumber); int getPageSize() const;
std::string getAccessKeyId()const; void setPageSize(int pageSize);
void setAccessKeyId(const std::string& accessKeyId); std::string getState() const;
std::string getRegionId()const; void setState(const std::string &state);
void setRegionId(const std::string& regionId); std::string getMetricName() const;
int getPageSize()const; void setMetricName(const std::string &metricName);
void setPageSize(int pageSize); std::string getResourceOwnerAccount() const;
std::string getState()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setState(const std::string& state); long getOwnerId() const;
std::string getResourceOwnerAccount()const; void setOwnerId(long ownerId);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getAlarmTaskId() const;
long getOwnerId()const; void setAlarmTaskId(const std::string &alarmTaskId);
void setOwnerId(long ownerId); bool getIsEnable() const;
std::string getAlarmTaskId()const; void setIsEnable(bool isEnable);
void setAlarmTaskId(const std::string& alarmTaskId);
bool getIsEnable()const; private:
void setIsEnable(bool isEnable); std::string metricType_;
std::string scalingGroupId_;
private: int pageNumber_;
std::string metricType_; std::string accessKeyId_;
std::string scalingGroupId_; std::string regionId_;
int pageNumber_; int pageSize_;
std::string accessKeyId_; std::string state_;
std::string regionId_; std::string metricName_;
int pageSize_; std::string resourceOwnerAccount_;
std::string state_; long ownerId_;
std::string resourceOwnerAccount_; std::string alarmTaskId_;
long ownerId_; bool isEnable_;
std::string alarmTaskId_; };
bool isEnable_; } // namespace Model
} // namespace Ess
}; } // namespace AlibabaCloud
} #endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBEALARMSREQUEST_H_
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBEALARMSREQUEST_H_

View File

@@ -39,20 +39,46 @@ namespace AlibabaCloud
std::string dimensionValue; std::string dimensionValue;
std::string dimensionKey; std::string dimensionKey;
}; };
struct Expression
{
std::string metricName;
std::string comparisonOperator;
int period;
std::string statistics;
float threshold;
};
struct HybridMetric
{
struct Dimension2
{
std::string dimensionValue;
std::string dimensionKey;
};
std::string metricName;
std::string statistic;
std::string expression;
std::vector<HybridMetric::Dimension2> dimensions1;
std::string id;
};
std::string comparisonOperator; std::string comparisonOperator;
std::string description; std::string description;
std::string promQL;
std::string scalingGroupId; std::string scalingGroupId;
std::string metricType; std::string metricType;
std::vector<Alarm::Dimension> dimensions; std::vector<Alarm::Dimension> dimensions;
int period;
int evaluationCount; int evaluationCount;
int period;
std::vector<Alarm::HybridMetric> hybridMetrics;
std::string statistics; std::string statistics;
std::string name;
std::string effective; std::string effective;
std::string name;
std::vector<std::string> alarmActions; std::vector<std::string> alarmActions;
std::string metricName; std::string metricName;
std::string expressionsLogicOperator;
std::string state; std::string state;
std::string hybridMonitorNamespace;
bool enable; bool enable;
std::vector<Alarm::Expression> expressions;
std::string alarmTaskId; std::string alarmTaskId;
float threshold; float threshold;
}; };

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBEECISCALINGCONFIGURATIONSREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DESCRIBEECISCALINGCONFIGURATIONSREQUEST_H_
#include <alibabacloud/ess/EssExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ess {
namespace Model {
class ALIBABACLOUD_ESS_EXPORT DescribeEciScalingConfigurationsRequest : public RpcServiceRequest {
public:
DescribeEciScalingConfigurationsRequest();
~DescribeEciScalingConfigurationsRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getScalingGroupId() const;
void setScalingGroupId(const std::string &scalingGroupId);
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getOwnerAccount() const;
void setOwnerAccount(const std::string &ownerAccount);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::vector<std::string> getScalingConfigurationName() const;
void setScalingConfigurationName(const std::vector<std::string> &scalingConfigurationName);
std::vector<std::string> getScalingConfigurationId() const;
void setScalingConfigurationId(const std::vector<std::string> &scalingConfigurationId);
private:
long resourceOwnerId_;
std::string scalingGroupId_;
int pageNumber_;
std::string accessKeyId_;
std::string regionId_;
int pageSize_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::vector<std::string> scalingConfigurationName_;
std::vector<std::string> scalingConfigurationId_;
};
} // namespace Model
} // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBEECISCALINGCONFIGURATIONSREQUEST_H_

View File

@@ -0,0 +1,282 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ESS_MODEL_DESCRIBEECISCALINGCONFIGURATIONSRESULT_H_
#define ALIBABACLOUD_ESS_MODEL_DESCRIBEECISCALINGCONFIGURATIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ess/EssExport.h>
namespace AlibabaCloud
{
namespace Ess
{
namespace Model
{
class ALIBABACLOUD_ESS_EXPORT DescribeEciScalingConfigurationsResult : public ServiceResult
{
public:
struct ScalingConfiguration
{
struct Container
{
struct Port
{
int port;
std::string protocol;
};
struct VolumeMount
{
bool readOnly;
std::string mountPath;
std::string subPath;
std::string mountPropagation;
std::string name;
};
struct EnvironmentVar
{
std::string fieldRefFieldPath;
std::string value;
std::string key;
};
std::vector<Container::EnvironmentVar> environmentVars;
std::vector<std::string> readinessProbeExecCommands;
float memory;
int readinessProbeTcpSocketPort;
std::string readinessProbeHttpGetPath;
float cpu;
std::string image;
std::string readinessProbeHttpGetScheme;
int gpu;
bool stdinOnce;
std::string lifecyclePreStopHandlerTcpSocketHost;
std::string name;
std::string lifecyclePostStartHandlerHttpGetHost;
bool securityContextReadOnlyRootFilesystem;
std::string lifecyclePostStartHandlerHttpGetPath;
int livenessProbePeriodSeconds;
std::vector<std::string> livenessProbeExecCommands;
int readinessProbeSuccessThreshold;
int readinessProbeInitialDelaySeconds;
std::string lifecyclePreStopHandlerHttpGetScheme;
std::vector<std::string> securityContextCapabilityAdds;
int lifecyclePreStopHandlerHttpGetPort;
bool stdin;
std::string workingDir;
std::string lifecyclePostStartHandlerHttpGetScheme;
int readinessProbeTimeoutSeconds;
std::vector<std::string> lifecyclePostStartHandlerExecs;
std::string lifecyclePreStopHandlerHttpGetHost;
int lifecyclePostStartHandlerHttpGetPort;
std::string lifecyclePreStopHandlerHttpGetPath;
std::string livenessProbeHttpGetScheme;
int livenessProbeTimeoutSeconds;
int livenessProbeFailureThreshold;
std::string livenessProbeHttpGetPath;
std::vector<Container::VolumeMount> volumeMounts;
int livenessProbeInitialDelaySeconds;
int livenessProbeTcpSocketPort;
bool tty;
long securityContextRunAsUser;
std::vector<std::string> commands;
int readinessProbePeriodSeconds;
std::vector<std::string> lifecyclePreStopHandlerExecs;
int livenessProbeSuccessThreshold;
std::string lifecyclePostStartHandlerTcpSocketHost;
int lifecyclePreStopHandlerTcpSocketPort;
std::vector<std::string> args;
int readinessProbeFailureThreshold;
std::vector<Container::Port> ports;
int readinessProbeHttpGetPort;
std::string imagePullPolicy;
int livenessProbeHttpGetPort;
int lifecyclePostStartHandlerTcpSocketPort;
};
struct InitContainer
{
struct InitContainerEnvironmentVar
{
std::string fieldRefFieldPath;
std::string value;
std::string key;
};
struct InitContainerPort
{
int port;
std::string protocol;
};
struct InitContainerVolumeMount
{
bool readOnly;
std::string mountPath;
std::string subPath;
std::string mountPropagation;
std::string name;
};
std::vector<std::string> initContainerArgs;
float memory;
std::vector<InitContainer::InitContainerPort> initContainerPorts;
float cpu;
std::string image;
int gpu;
std::vector<InitContainer::InitContainerEnvironmentVar> initContainerEnvironmentVars;
std::string name;
std::string workingDir;
std::vector<std::string> initContainerCommands;
std::string imagePullPolicy;
bool securityContextReadOnlyRootFilesystem;
std::string securityContextRunAsUser;
std::vector<InitContainer::InitContainerVolumeMount> initContainerVolumeMounts;
std::vector<std::string> securityContextCapabilityAdds1;
};
struct Tag
{
std::string value;
std::string key;
};
struct Volume
{
struct ConfigFileVolumeConfigFileToPath
{
std::string path;
std::string content;
int mode;
};
std::string hostPathVolumeType;
std::string flexVolumeFsType;
std::string emptyDirVolumeSizeLimit;
std::string nFSVolumeServer;
int diskVolumeDiskSize;
std::vector<Volume::ConfigFileVolumeConfigFileToPath> configFileVolumeConfigFileToPaths;
bool nFSVolumeReadOnly;
std::string name;
std::string hostPathVolumePath;
std::string nFSVolumePath;
std::string type;
std::string flexVolumeDriver;
std::string diskVolumeDiskId;
int configFileVolumeDefaultMode;
std::string flexVolumeOptions;
std::string emptyDirVolumeMedium;
std::string diskVolumeFsType;
};
struct ImageRegistryCredential
{
std::string userName;
std::string server;
std::string password;
};
struct DnsConfigOption
{
std::string value;
std::string name;
};
struct HostAlias
{
std::string ip;
std::vector<std::string> hostnames;
};
struct SecurityContextSysCtl
{
std::string value;
std::string name;
};
struct AcrRegistryInfo
{
std::string instanceName;
std::vector<std::string> domains;
std::string instanceId;
std::string regionId;
};
std::string scalingConfigurationName;
std::string resourceGroupId;
std::vector<std::string> ntpServers;
float memory;
std::vector<std::string> dnsConfigSearches;
std::string dataCachePL;
float cpu;
long ingressBandwidth;
int dataCacheProvisionedIops;
std::vector<ScalingConfiguration::Volume> volumes;
std::string ramRoleName;
std::vector<ScalingConfiguration::DnsConfigOption> dnsConfigOptions;
std::vector<ScalingConfiguration::Tag> tags;
std::string hostName;
std::vector<std::string> dnsConfigNameServers;
int activeDeadlineSeconds;
int loadBalancerWeight;
std::string scalingGroupId;
bool slsEnable;
int cpuOptionsCore;
bool autoCreateEip;
std::vector<ScalingConfiguration::HostAlias> hostAliases;
std::string gpuDriverVersion;
std::vector<ScalingConfiguration::ImageRegistryCredential> imageRegistryCredentials;
std::string dnsPolicy;
std::string creationTime;
std::string instanceFamilyLevel;
int ephemeralStorage;
std::string scalingConfigurationId;
std::string description;
std::vector<ScalingConfiguration::Container> containers;
std::string lifecycleState;
std::string containerGroupName;
std::string imageSnapshotId;
long egressBandwidth;
bool autoMatchImageCache;
int ipv6AddressCount;
std::string dataCacheBucket;
float spotPriceLimit;
std::vector<std::string> instanceTypes;
std::string spotStrategy;
std::vector<ScalingConfiguration::AcrRegistryInfo> acrRegistryInfos;
std::vector<ScalingConfiguration::InitContainer> initContainers;
std::vector<ScalingConfiguration::SecurityContextSysCtl> securityContextSysCtls;
int cpuOptionsThreadsPerCore;
bool dataCacheBurstingEnabled;
int terminationGracePeriodSeconds;
std::string securityGroupId;
std::string restartPolicy;
bool costOptimization;
int eipBandwidth;
std::string regionId;
};
DescribeEciScalingConfigurationsResult();
explicit DescribeEciScalingConfigurationsResult(const std::string &payload);
~DescribeEciScalingConfigurationsResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<ScalingConfiguration> getScalingConfigurations()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<ScalingConfiguration> scalingConfigurations_;
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBEECISCALINGCONFIGURATIONSRESULT_H_

View File

@@ -0,0 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ESS_MODEL_DESCRIBEELASTICSTRENGTHREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DESCRIBEELASTICSTRENGTHREQUEST_H_
#include <alibabacloud/ess/EssExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ess {
namespace Model {
class ALIBABACLOUD_ESS_EXPORT DescribeElasticStrengthRequest : public RpcServiceRequest {
public:
DescribeElasticStrengthRequest();
~DescribeElasticStrengthRequest();
std::string getImageId() const;
void setImageId(const std::string &imageId);
std::vector<std::string> getDataDiskCategories() const;
void setDataDiskCategories(const std::vector<std::string> &dataDiskCategories);
std::string getScalingGroupId() const;
void setScalingGroupId(const std::string &scalingGroupId);
std::vector<std::string> getVSwitchIds() const;
void setVSwitchIds(const std::vector<std::string> &vSwitchIds);
std::vector<std::string> getInstanceTypes() const;
void setInstanceTypes(const std::vector<std::string> &instanceTypes);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getImageName() const;
void setImageName(const std::string &imageName);
std::vector<std::string> getScalingGroupIds() const;
void setScalingGroupIds(const std::vector<std::string> &scalingGroupIds);
int getIpv6AddressCount() const;
void setIpv6AddressCount(int ipv6AddressCount);
std::vector<std::string> getSystemDiskCategories() const;
void setSystemDiskCategories(const std::vector<std::string> &systemDiskCategories);
std::string getSpotStrategy() const;
void setSpotStrategy(const std::string &spotStrategy);
std::string getPriorityStrategy() const;
void setPriorityStrategy(const std::string &priorityStrategy);
std::string getImageFamily() const;
void setImageFamily(const std::string &imageFamily);
private:
std::string imageId_;
std::vector<std::string> dataDiskCategories_;
std::string scalingGroupId_;
std::vector<std::string> vSwitchIds_;
std::vector<std::string> instanceTypes_;
std::string accessKeyId_;
std::string regionId_;
std::string imageName_;
std::vector<std::string> scalingGroupIds_;
int ipv6AddressCount_;
std::vector<std::string> systemDiskCategories_;
std::string spotStrategy_;
std::string priorityStrategy_;
std::string imageFamily_;
};
} // namespace Model
} // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBEELASTICSTRENGTHREQUEST_H_

View File

@@ -0,0 +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.
*/
#ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBEELASTICSTRENGTHRESULT_H_
#define ALIBABACLOUD_ESS_MODEL_DESCRIBEELASTICSTRENGTHRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ess/EssExport.h>
namespace AlibabaCloud
{
namespace Ess
{
namespace Model
{
class ALIBABACLOUD_ESS_EXPORT DescribeElasticStrengthResult : public ServiceResult
{
public:
struct ResourcePool
{
struct InventoryHealth
{
int healthScore;
int supplyScore;
int adequacyScore;
int hotScore;
};
std::string msg;
std::string status;
std::string zoneId;
std::vector<std::string> vSwitchIds;
InventoryHealth inventoryHealth;
std::string instanceType;
std::string code;
double strength;
};
struct ElasticStrengthModel
{
struct ResourcePool2
{
struct InventoryHealth4
{
int healthScore;
int supplyScore;
int adequacyScore;
int hotScore;
};
std::string msg;
std::string status;
std::string zoneId;
std::vector<std::string> vSwitchIds3;
InventoryHealth4 inventoryHealth4;
std::string instanceType;
std::string code;
double strength;
};
std::vector<ElasticStrengthModel::ResourcePool2> resourcePools1;
std::string scalingGroupId;
std::string elasticStrength;
double totalStrength;
};
DescribeElasticStrengthResult();
explicit DescribeElasticStrengthResult(const std::string &payload);
~DescribeElasticStrengthResult();
std::vector<ResourcePool> getResourcePools()const;
std::vector<ElasticStrengthModel> getElasticStrengthModels()const;
std::string getElasticStrength()const;
double getTotalStrength()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ResourcePool> resourcePools_;
std::vector<ElasticStrengthModel> elasticStrengthModels_;
std::string elasticStrength_;
double totalStrength_;
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBEELASTICSTRENGTHRESULT_H_

View File

@@ -1,66 +1,63 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBELIFECYCLEACTIONSREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBELIFECYCLEACTIONSREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DESCRIBELIFECYCLEACTIONSREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DESCRIBELIFECYCLEACTIONSREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DescribeLifecycleActionsRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DescribeLifecycleActionsRequest : public RpcServiceRequest DescribeLifecycleActionsRequest();
{ ~DescribeLifecycleActionsRequest();
std::string getLifecycleActionStatus() const;
public: void setLifecycleActionStatus(const std::string &lifecycleActionStatus);
DescribeLifecycleActionsRequest(); std::string getAccessKeyId() const;
~DescribeLifecycleActionsRequest(); void setAccessKeyId(const std::string &accessKeyId);
std::string getNextToken() const;
std::string getLifecycleActionStatus()const; void setNextToken(const std::string &nextToken);
void setLifecycleActionStatus(const std::string& lifecycleActionStatus); std::string getRegionId() const;
std::string getAccessKeyId()const; void setRegionId(const std::string &regionId);
void setAccessKeyId(const std::string& accessKeyId); std::string getResourceOwnerAccount() const;
std::string getNextToken()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setNextToken(const std::string& nextToken); long getOwnerId() const;
std::string getResourceOwnerAccount()const; void setOwnerId(long ownerId);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getScalingActivityId() const;
long getOwnerId()const; void setScalingActivityId(const std::string &scalingActivityId);
void setOwnerId(long ownerId); int getMaxResults() const;
std::string getScalingActivityId()const; void setMaxResults(int maxResults);
void setScalingActivityId(const std::string& scalingActivityId);
int getMaxResults()const; private:
void setMaxResults(int maxResults); std::string lifecycleActionStatus_;
std::string accessKeyId_;
private: std::string nextToken_;
std::string lifecycleActionStatus_; std::string regionId_;
std::string accessKeyId_; std::string resourceOwnerAccount_;
std::string nextToken_; long ownerId_;
std::string resourceOwnerAccount_; std::string scalingActivityId_;
long ownerId_; int maxResults_;
std::string scalingActivityId_; };
int maxResults_; } // namespace Model
} // namespace Ess
}; } // namespace AlibabaCloud
} #endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBELIFECYCLEACTIONSREQUEST_H_
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBELIFECYCLEACTIONSREQUEST_H_

View File

@@ -1,72 +1,69 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBELIFECYCLEHOOKSREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBELIFECYCLEHOOKSREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DESCRIBELIFECYCLEHOOKSREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DESCRIBELIFECYCLEHOOKSREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DescribeLifecycleHooksRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DescribeLifecycleHooksRequest : public RpcServiceRequest DescribeLifecycleHooksRequest();
{ ~DescribeLifecycleHooksRequest();
std::string getScalingGroupId() const;
public: void setScalingGroupId(const std::string &scalingGroupId);
DescribeLifecycleHooksRequest(); int getPageNumber() const;
~DescribeLifecycleHooksRequest(); void setPageNumber(int pageNumber);
std::string getAccessKeyId() const;
std::string getScalingGroupId()const; void setAccessKeyId(const std::string &accessKeyId);
void setScalingGroupId(const std::string& scalingGroupId); std::string getLifecycleHookName() const;
int getPageNumber()const; void setLifecycleHookName(const std::string &lifecycleHookName);
void setPageNumber(int pageNumber); std::string getRegionId() const;
std::string getAccessKeyId()const; void setRegionId(const std::string &regionId);
void setAccessKeyId(const std::string& accessKeyId); int getPageSize() const;
std::string getLifecycleHookName()const; void setPageSize(int pageSize);
void setLifecycleHookName(const std::string& lifecycleHookName); std::string getResourceOwnerAccount() const;
int getPageSize()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setPageSize(int pageSize); std::vector<std::string> getLifecycleHookId() const;
std::string getResourceOwnerAccount()const; void setLifecycleHookId(const std::vector<std::string> &lifecycleHookId);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getOwnerAccount() const;
std::vector<std::string> getLifecycleHookId()const; void setOwnerAccount(const std::string &ownerAccount);
void setLifecycleHookId(const std::vector<std::string>& lifecycleHookId); long getOwnerId() const;
std::string getOwnerAccount()const; void setOwnerId(long ownerId);
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const; private:
void setOwnerId(long ownerId); std::string scalingGroupId_;
int pageNumber_;
private: std::string accessKeyId_;
std::string scalingGroupId_; std::string lifecycleHookName_;
int pageNumber_; std::string regionId_;
std::string accessKeyId_; int pageSize_;
std::string lifecycleHookName_; std::string resourceOwnerAccount_;
int pageSize_; std::vector<std::string> lifecycleHookId_;
std::string resourceOwnerAccount_; std::string ownerAccount_;
std::vector<std::string> lifecycleHookId_; long ownerId_;
std::string ownerAccount_; };
long ownerId_; } // namespace Model
} // namespace Ess
}; } // namespace AlibabaCloud
} #endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBELIFECYCLEHOOKSREQUEST_H_
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBELIFECYCLEHOOKSREQUEST_H_

View File

@@ -34,10 +34,11 @@ namespace AlibabaCloud
public: public:
struct LifecycleHook struct LifecycleHook
{ {
std::string lifecycleHookStatus;
std::string lifecycleHookName; std::string lifecycleHookName;
std::string notificationArn; std::string notificationArn;
std::string scalingGroupId;
std::string lifecycleTransition; std::string lifecycleTransition;
std::string scalingGroupId;
int heartbeatTimeout; int heartbeatTimeout;
std::string notificationMetadata; std::string notificationMetadata;
std::string defaultResult; std::string defaultResult;

View File

@@ -1,54 +1,48 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBELIMITATIONREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBELIMITATIONREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DESCRIBELIMITATIONREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DESCRIBELIMITATIONREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DescribeLimitationRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DescribeLimitationRequest : public RpcServiceRequest DescribeLimitationRequest();
{ ~DescribeLimitationRequest();
std::string getResourceOwnerAccount() const;
public: void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
DescribeLimitationRequest(); long getOwnerId() const;
~DescribeLimitationRequest(); void setOwnerId(long ownerId);
std::string getAccessKeyId() const;
std::string getResourceOwnerAccount()const; void setAccessKeyId(const std::string &accessKeyId);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const; private:
void setOwnerId(long ownerId); std::string resourceOwnerAccount_;
std::string getAccessKeyId()const; long ownerId_;
void setAccessKeyId(const std::string& accessKeyId); std::string accessKeyId_;
};
private: } // namespace Model
std::string resourceOwnerAccount_; } // namespace Ess
long ownerId_; } // namespace AlibabaCloud
std::string accessKeyId_; #endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBELIMITATIONREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBELIMITATIONREQUEST_H_

View File

@@ -37,34 +37,38 @@ namespace AlibabaCloud
DescribeLimitationResult(); DescribeLimitationResult();
explicit DescribeLimitationResult(const std::string &payload); explicit DescribeLimitationResult(const std::string &payload);
~DescribeLimitationResult(); ~DescribeLimitationResult();
int getMaxNumberOfLifecycleHooks()const;
int getMaxNumberOfScalingRules()const;
int getMaxNumberOfScalingInstances()const; int getMaxNumberOfScalingInstances()const;
int getMaxNumberOfScheduledTasks()const; int getMaxNumberOfScheduledTasks()const;
int getMaxNumberOfVServerGroups()const; int getMaxNumberOfVServerGroups()const;
int getMaxNumberOfLoadBalancers()const; int getMaxNumberOfLoadBalancers()const;
int getMaxNumberOfAlbServerGroup()const;
int getMaxNumberOfMinSize()const; int getMaxNumberOfMinSize()const;
int getMaxNumberOfScalingGroups()const; int getMaxNumberOfScalingGroups()const;
int getMaxNumberOfNotificationConfigurations()const; int getMaxNumberOfNotificationConfigurations()const;
int getMaxNumberOfScalingConfigurations()const;
int getMaxNumberOfDBInstances()const;
int getMaxNumberOfMaxSize()const; int getMaxNumberOfMaxSize()const;
int getMaxNumberOfDBInstances()const;
int getMaxNumberOfLifecycleHooks()const;
int getMaxNumberOfScalingRules()const;
int getMaxNumberOfNlbServerGroup()const;
int getMaxNumberOfScalingConfigurations()const;
protected: protected:
void parse(const std::string &payload); void parse(const std::string &payload);
private: private:
int maxNumberOfLifecycleHooks_;
int maxNumberOfScalingRules_;
int maxNumberOfScalingInstances_; int maxNumberOfScalingInstances_;
int maxNumberOfScheduledTasks_; int maxNumberOfScheduledTasks_;
int maxNumberOfVServerGroups_; int maxNumberOfVServerGroups_;
int maxNumberOfLoadBalancers_; int maxNumberOfLoadBalancers_;
int maxNumberOfAlbServerGroup_;
int maxNumberOfMinSize_; int maxNumberOfMinSize_;
int maxNumberOfScalingGroups_; int maxNumberOfScalingGroups_;
int maxNumberOfNotificationConfigurations_; int maxNumberOfNotificationConfigurations_;
int maxNumberOfScalingConfigurations_;
int maxNumberOfDBInstances_;
int maxNumberOfMaxSize_; int maxNumberOfMaxSize_;
int maxNumberOfDBInstances_;
int maxNumberOfLifecycleHooks_;
int maxNumberOfScalingRules_;
int maxNumberOfNlbServerGroup_;
int maxNumberOfScalingConfigurations_;
}; };
} }

View File

@@ -1,57 +1,54 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBENOTIFICATIONCONFIGURATIONSREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBENOTIFICATIONCONFIGURATIONSREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DESCRIBENOTIFICATIONCONFIGURATIONSREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DESCRIBENOTIFICATIONCONFIGURATIONSREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DescribeNotificationConfigurationsRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DescribeNotificationConfigurationsRequest : public RpcServiceRequest DescribeNotificationConfigurationsRequest();
{ ~DescribeNotificationConfigurationsRequest();
std::string getScalingGroupId() const;
public: void setScalingGroupId(const std::string &scalingGroupId);
DescribeNotificationConfigurationsRequest(); std::string getAccessKeyId() const;
~DescribeNotificationConfigurationsRequest(); void setAccessKeyId(const std::string &accessKeyId);
std::string getRegionId() const;
std::string getResourceOwnerAccount()const; void setRegionId(const std::string &regionId);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getResourceOwnerAccount() const;
std::string getScalingGroupId()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setScalingGroupId(const std::string& scalingGroupId); long getOwnerId() const;
long getOwnerId()const; void setOwnerId(long ownerId);
void setOwnerId(long ownerId);
std::string getAccessKeyId()const; private:
void setAccessKeyId(const std::string& accessKeyId); std::string scalingGroupId_;
std::string accessKeyId_;
private: std::string regionId_;
std::string resourceOwnerAccount_; std::string resourceOwnerAccount_;
std::string scalingGroupId_; long ownerId_;
long ownerId_; };
std::string accessKeyId_; } // namespace Model
} // namespace Ess
}; } // namespace AlibabaCloud
} #endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBENOTIFICATIONCONFIGURATIONSREQUEST_H_
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBENOTIFICATIONCONFIGURATIONSREQUEST_H_

View File

@@ -34,6 +34,7 @@ namespace AlibabaCloud
public: public:
struct NotificationConfigurationModel struct NotificationConfigurationModel
{ {
std::string timeZone;
std::string notificationArn; std::string notificationArn;
std::string scalingGroupId; std::string scalingGroupId;
std::vector<std::string> notificationTypes; std::vector<std::string> notificationTypes;

View File

@@ -1,54 +1,48 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBENOTIFICATIONTYPESREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBENOTIFICATIONTYPESREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DESCRIBENOTIFICATIONTYPESREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DESCRIBENOTIFICATIONTYPESREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DescribeNotificationTypesRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DescribeNotificationTypesRequest : public RpcServiceRequest DescribeNotificationTypesRequest();
{ ~DescribeNotificationTypesRequest();
std::string getResourceOwnerAccount() const;
public: void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
DescribeNotificationTypesRequest(); long getOwnerId() const;
~DescribeNotificationTypesRequest(); void setOwnerId(long ownerId);
std::string getAccessKeyId() const;
std::string getResourceOwnerAccount()const; void setAccessKeyId(const std::string &accessKeyId);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const; private:
void setOwnerId(long ownerId); std::string resourceOwnerAccount_;
std::string getAccessKeyId()const; long ownerId_;
void setAccessKeyId(const std::string& accessKeyId); std::string accessKeyId_;
};
private: } // namespace Model
std::string resourceOwnerAccount_; } // namespace Ess
long ownerId_; } // namespace AlibabaCloud
std::string accessKeyId_; #endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBENOTIFICATIONTYPESREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBENOTIFICATIONTYPESREQUEST_H_

View File

@@ -0,0 +1,132 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ESS_MODEL_DESCRIBEPATTERNTYPESREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DESCRIBEPATTERNTYPESREQUEST_H_
#include <alibabacloud/ess/EssExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ess {
namespace Model {
class ALIBABACLOUD_ESS_EXPORT DescribePatternTypesRequest : public RpcServiceRequest {
public:
DescribePatternTypesRequest();
~DescribePatternTypesRequest();
int getMaximumCpuCoreCount() const;
void setMaximumCpuCoreCount(int maximumCpuCoreCount);
int getMaximumGpuAmount() const;
void setMaximumGpuAmount(int maximumGpuAmount);
float getMaximumMemorySize() const;
void setMaximumMemorySize(float maximumMemorySize);
int getMinimumCpuCoreCount() const;
void setMinimumCpuCoreCount(int minimumCpuCoreCount);
int getCores() const;
void setCores(int cores);
std::vector<std::string> getInstanceTypeFamilies() const;
void setInstanceTypeFamilies(const std::vector<std::string> &instanceTypeFamilies);
int getMinimumBaselineCredit() const;
void setMinimumBaselineCredit(int minimumBaselineCredit);
std::vector<std::string> getCpuArchitectures() const;
void setCpuArchitectures(const std::vector<std::string> &cpuArchitectures);
std::vector<std::string> getInstanceCategories() const;
void setInstanceCategories(const std::vector<std::string> &instanceCategories);
float getMaxPrice() const;
void setMaxPrice(float maxPrice);
int getMinimumGpuAmount() const;
void setMinimumGpuAmount(int minimumGpuAmount);
std::string getBurstablePerformance() const;
void setBurstablePerformance(const std::string &burstablePerformance);
std::vector<std::string> getPhysicalProcessorModels() const;
void setPhysicalProcessorModels(const std::vector<std::string> &physicalProcessorModels);
std::string getSpotStrategy() const;
void setSpotStrategy(const std::string &spotStrategy);
std::vector<std::string> getVSwitchId() const;
void setVSwitchId(const std::vector<std::string> &vSwitchId);
int getMinimumEniQuantity() const;
void setMinimumEniQuantity(int minimumEniQuantity);
float getMinimumMemorySize() const;
void setMinimumMemorySize(float minimumMemorySize);
std::string getInstanceFamilyLevel() const;
void setInstanceFamilyLevel(const std::string &instanceFamilyLevel);
std::vector<std::string> getZoneId() const;
void setZoneId(const std::vector<std::string> &zoneId);
std::vector<float> getMemoryList() const;
void setMemoryList(const std::vector<float> &memoryList);
float getMemory() const;
void setMemory(float memory);
int getMinimumEniIpv6AddressQuantity() const;
void setMinimumEniIpv6AddressQuantity(int minimumEniIpv6AddressQuantity);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::vector<int> getCoresList() const;
void setCoresList(const std::vector<int> &coresList);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::vector<std::string> getArchitecture() const;
void setArchitecture(const std::vector<std::string> &architecture);
int getMinimumInitialCredit() const;
void setMinimumInitialCredit(int minimumInitialCredit);
std::vector<std::string> getExcludedInstanceType() const;
void setExcludedInstanceType(const std::vector<std::string> &excludedInstanceType);
int getMinimumEniPrivateIpAddressQuantity() const;
void setMinimumEniPrivateIpAddressQuantity(int minimumEniPrivateIpAddressQuantity);
std::vector<std::string> getGpuSpecs() const;
void setGpuSpecs(const std::vector<std::string> &gpuSpecs);
long getChannelId() const;
void setChannelId(long channelId);
private:
int maximumCpuCoreCount_;
int maximumGpuAmount_;
float maximumMemorySize_;
int minimumCpuCoreCount_;
int cores_;
std::vector<std::string> instanceTypeFamilies_;
int minimumBaselineCredit_;
std::vector<std::string> cpuArchitectures_;
std::vector<std::string> instanceCategories_;
float maxPrice_;
int minimumGpuAmount_;
std::string burstablePerformance_;
std::vector<std::string> physicalProcessorModels_;
std::string spotStrategy_;
std::vector<std::string> vSwitchId_;
int minimumEniQuantity_;
float minimumMemorySize_;
std::string instanceFamilyLevel_;
std::vector<std::string> zoneId_;
std::vector<float> memoryList_;
float memory_;
int minimumEniIpv6AddressQuantity_;
std::string accessKeyId_;
std::vector<int> coresList_;
std::string regionId_;
std::vector<std::string> architecture_;
int minimumInitialCredit_;
std::vector<std::string> excludedInstanceType_;
int minimumEniPrivateIpAddressQuantity_;
std::vector<std::string> gpuSpecs_;
long channelId_;
};
} // namespace Model
} // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBEPATTERNTYPESREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ESS_MODEL_DESCRIBEPATTERNTYPESRESULT_H_
#define ALIBABACLOUD_ESS_MODEL_DESCRIBEPATTERNTYPESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ess/EssExport.h>
namespace AlibabaCloud
{
namespace Ess
{
namespace Model
{
class ALIBABACLOUD_ESS_EXPORT DescribePatternTypesResult : public ServiceResult
{
public:
struct PatternType
{
int cores;
std::string instanceTypeFamily;
float memory;
std::string instanceFamilyLevel;
std::string instanceType;
};
DescribePatternTypesResult();
explicit DescribePatternTypesResult(const std::string &payload);
~DescribePatternTypesResult();
std::vector<PatternType> getPatternTypes()const;
protected:
void parse(const std::string &payload);
private:
std::vector<PatternType> patternTypes_;
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBEPATTERNTYPESRESULT_H_

View File

@@ -1,60 +1,54 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBEREGIONSREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBEREGIONSREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DESCRIBEREGIONSREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DESCRIBEREGIONSREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DescribeRegionsRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DescribeRegionsRequest : public RpcServiceRequest DescribeRegionsRequest();
{ ~DescribeRegionsRequest();
long getResourceOwnerId() const;
public: void setResourceOwnerId(long resourceOwnerId);
DescribeRegionsRequest(); std::string getResourceOwnerAccount() const;
~DescribeRegionsRequest(); void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
long getOwnerId() const;
long getResourceOwnerId()const; void setOwnerId(long ownerId);
void setResourceOwnerId(long resourceOwnerId); std::string getAccessKeyId() const;
std::string getResourceOwnerAccount()const; void setAccessKeyId(const std::string &accessKeyId);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getAcceptLanguage() const;
long getOwnerId()const; void setAcceptLanguage(const std::string &acceptLanguage);
void setOwnerId(long ownerId);
std::string getAccessKeyId()const; private:
void setAccessKeyId(const std::string& accessKeyId); long resourceOwnerId_;
std::string getAcceptLanguage()const; std::string resourceOwnerAccount_;
void setAcceptLanguage(const std::string& acceptLanguage); long ownerId_;
std::string accessKeyId_;
private: std::string acceptLanguage_;
long resourceOwnerId_; };
std::string resourceOwnerAccount_; } // namespace Model
long ownerId_; } // namespace Ess
std::string accessKeyId_; } // namespace AlibabaCloud
std::string acceptLanguage_; #endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBEREGIONSREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBEREGIONSREQUEST_H_

View File

@@ -1,135 +1,75 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGACTIVITIESREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGACTIVITIESREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGACTIVITIESREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGACTIVITIESREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DescribeScalingActivitiesRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DescribeScalingActivitiesRequest : public RpcServiceRequest DescribeScalingActivitiesRequest();
{ ~DescribeScalingActivitiesRequest();
long getResourceOwnerId() const;
public: void setResourceOwnerId(long resourceOwnerId);
DescribeScalingActivitiesRequest(); std::string getScalingGroupId() const;
~DescribeScalingActivitiesRequest(); void setScalingGroupId(const std::string &scalingGroupId);
std::string getInstanceRefreshTaskId() const;
std::string getScalingActivityId9()const; void setInstanceRefreshTaskId(const std::string &instanceRefreshTaskId);
void setScalingActivityId9(const std::string& scalingActivityId9); int getPageNumber() const;
long getResourceOwnerId()const; void setPageNumber(int pageNumber);
void setResourceOwnerId(long resourceOwnerId); std::string getAccessKeyId() const;
std::string getScalingActivityId5()const; void setAccessKeyId(const std::string &accessKeyId);
void setScalingActivityId5(const std::string& scalingActivityId5); std::string getStatusCode() const;
std::string getScalingActivityId6()const; void setStatusCode(const std::string &statusCode);
void setScalingActivityId6(const std::string& scalingActivityId6); std::string getRegionId() const;
std::string getScalingGroupId()const; void setRegionId(const std::string &regionId);
void setScalingGroupId(const std::string& scalingGroupId); int getPageSize() const;
std::string getScalingActivityId7()const; void setPageSize(int pageSize);
void setScalingActivityId7(const std::string& scalingActivityId7); std::string getResourceOwnerAccount() const;
std::string getScalingActivityId8()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setScalingActivityId8(const std::string& scalingActivityId8); std::string getOwnerAccount() const;
std::string getScalingActivityId1()const; void setOwnerAccount(const std::string &ownerAccount);
void setScalingActivityId1(const std::string& scalingActivityId1); long getOwnerId() const;
std::string getScalingActivityId2()const; void setOwnerId(long ownerId);
void setScalingActivityId2(const std::string& scalingActivityId2); std::vector<std::string> getScalingActivityId() const;
std::string getScalingActivityId3()const; void setScalingActivityId(const std::vector<std::string> &scalingActivityId);
void setScalingActivityId3(const std::string& scalingActivityId3);
std::string getScalingActivityId4()const; private:
void setScalingActivityId4(const std::string& scalingActivityId4); long resourceOwnerId_;
int getPageNumber()const; std::string scalingGroupId_;
void setPageNumber(int pageNumber); std::string instanceRefreshTaskId_;
std::string getAccessKeyId()const; int pageNumber_;
void setAccessKeyId(const std::string& accessKeyId); std::string accessKeyId_;
std::string getStatusCode()const; std::string statusCode_;
void setStatusCode(const std::string& statusCode); std::string regionId_;
std::string getRegionId()const; int pageSize_;
void setRegionId(const std::string& regionId); std::string resourceOwnerAccount_;
int getPageSize()const; std::string ownerAccount_;
void setPageSize(int pageSize); long ownerId_;
std::string getScalingActivityId11()const; std::vector<std::string> scalingActivityId_;
void setScalingActivityId11(const std::string& scalingActivityId11); };
std::string getScalingActivityId10()const; } // namespace Model
void setScalingActivityId10(const std::string& scalingActivityId10); } // namespace Ess
std::string getScalingActivityId13()const; } // namespace AlibabaCloud
void setScalingActivityId13(const std::string& scalingActivityId13); #endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGACTIVITIESREQUEST_H_
std::string getScalingActivityId12()const;
void setScalingActivityId12(const std::string& scalingActivityId12);
std::string getScalingActivityId15()const;
void setScalingActivityId15(const std::string& scalingActivityId15);
std::string getScalingActivityId14()const;
void setScalingActivityId14(const std::string& scalingActivityId14);
std::string getScalingActivityId17()const;
void setScalingActivityId17(const std::string& scalingActivityId17);
std::string getScalingActivityId16()const;
void setScalingActivityId16(const std::string& scalingActivityId16);
std::string getScalingActivityId19()const;
void setScalingActivityId19(const std::string& scalingActivityId19);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getScalingActivityId18()const;
void setScalingActivityId18(const std::string& scalingActivityId18);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getScalingActivityId20()const;
void setScalingActivityId20(const std::string& scalingActivityId20);
private:
std::string scalingActivityId9_;
long resourceOwnerId_;
std::string scalingActivityId5_;
std::string scalingActivityId6_;
std::string scalingGroupId_;
std::string scalingActivityId7_;
std::string scalingActivityId8_;
std::string scalingActivityId1_;
std::string scalingActivityId2_;
std::string scalingActivityId3_;
std::string scalingActivityId4_;
int pageNumber_;
std::string accessKeyId_;
std::string statusCode_;
std::string regionId_;
int pageSize_;
std::string scalingActivityId11_;
std::string scalingActivityId10_;
std::string scalingActivityId13_;
std::string scalingActivityId12_;
std::string scalingActivityId15_;
std::string scalingActivityId14_;
std::string scalingActivityId17_;
std::string scalingActivityId16_;
std::string scalingActivityId19_;
std::string resourceOwnerAccount_;
std::string scalingActivityId18_;
std::string ownerAccount_;
long ownerId_;
std::string scalingActivityId20_;
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGACTIVITIESREQUEST_H_

View File

@@ -34,19 +34,48 @@ namespace AlibabaCloud
public: public:
struct ScalingActivity struct ScalingActivity
{ {
struct LifecycleHookContext
{
std::vector<std::string> ignoredLifecycleHookIds;
bool disableLifecycleHook;
};
struct ErrorMessagesItem
{
std::string description;
std::string message;
std::vector<std::string> failedInstanceIds;
std::string code;
};
int scalingInstanceNumber; int scalingInstanceNumber;
int progress;
std::string description; std::string description;
std::string endTime; std::string endTime;
std::string triggerSourceType;
std::string activityMetadata;
std::string autoCreatedCapacity;
std::string statusCode;
LifecycleHookContext lifecycleHookContext;
std::vector<std::string> stoppedInstances;
std::string cause;
std::string totalCapacity;
std::vector<std::string> destroyedInstances;
std::string instanceRefreshTaskId;
int progress;
std::string attachedCapacity; std::string attachedCapacity;
std::string scalingActivityId; std::string scalingActivityId;
std::string scalingGroupId; std::string scalingGroupId;
std::string startTime; std::string startTime;
std::string statusCode; int destroyedCapacity;
std::string autoCreatedCapacity; std::string triggerSourceId;
std::vector<std::string> startedInstances;
std::string statusMessage; std::string statusMessage;
std::string cause; std::vector<ScalingActivity::ErrorMessagesItem> errorMessages;
std::string totalCapacity; int startedCapacity;
int createdCapacity;
std::vector<std::string> createdInstances;
int stoppedCapacity;
std::string errorCode;
std::string errorMessage;
std::string detail;
}; };

View File

@@ -1,60 +1,54 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGACTIVITYDETAILREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGACTIVITYDETAILREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGACTIVITYDETAILREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGACTIVITYDETAILREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DescribeScalingActivityDetailRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DescribeScalingActivityDetailRequest : public RpcServiceRequest DescribeScalingActivityDetailRequest();
{ ~DescribeScalingActivityDetailRequest();
long getResourceOwnerId() const;
public: void setResourceOwnerId(long resourceOwnerId);
DescribeScalingActivityDetailRequest(); std::string getResourceOwnerAccount() const;
~DescribeScalingActivityDetailRequest(); void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
long getOwnerId() const;
long getResourceOwnerId()const; void setOwnerId(long ownerId);
void setResourceOwnerId(long resourceOwnerId); std::string getScalingActivityId() const;
std::string getResourceOwnerAccount()const; void setScalingActivityId(const std::string &scalingActivityId);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getAccessKeyId() const;
long getOwnerId()const; void setAccessKeyId(const std::string &accessKeyId);
void setOwnerId(long ownerId);
std::string getScalingActivityId()const; private:
void setScalingActivityId(const std::string& scalingActivityId); long resourceOwnerId_;
std::string getAccessKeyId()const; std::string resourceOwnerAccount_;
void setAccessKeyId(const std::string& accessKeyId); long ownerId_;
std::string scalingActivityId_;
private: std::string accessKeyId_;
long resourceOwnerId_; };
std::string resourceOwnerAccount_; } // namespace Model
long ownerId_; } // namespace Ess
std::string scalingActivityId_; } // namespace AlibabaCloud
std::string accessKeyId_; #endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGACTIVITYDETAILREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGACTIVITYDETAILREQUEST_H_

View File

@@ -1,132 +1,72 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGCONFIGURATIONSREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGCONFIGURATIONSREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGCONFIGURATIONSREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGCONFIGURATIONSREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DescribeScalingConfigurationsRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DescribeScalingConfigurationsRequest : public RpcServiceRequest DescribeScalingConfigurationsRequest();
{ ~DescribeScalingConfigurationsRequest();
long getResourceOwnerId() const;
public: void setResourceOwnerId(long resourceOwnerId);
DescribeScalingConfigurationsRequest(); std::string getScalingGroupId() const;
~DescribeScalingConfigurationsRequest(); void setScalingGroupId(const std::string &scalingGroupId);
int getPageNumber() const;
std::string getScalingConfigurationId6()const; void setPageNumber(int pageNumber);
void setScalingConfigurationId6(const std::string& scalingConfigurationId6); std::string getAccessKeyId() const;
std::string getScalingConfigurationId7()const; void setAccessKeyId(const std::string &accessKeyId);
void setScalingConfigurationId7(const std::string& scalingConfigurationId7); std::string getRegionId() const;
long getResourceOwnerId()const; void setRegionId(const std::string &regionId);
void setResourceOwnerId(long resourceOwnerId); int getPageSize() const;
std::string getScalingConfigurationId4()const; void setPageSize(int pageSize);
void setScalingConfigurationId4(const std::string& scalingConfigurationId4); std::string getResourceOwnerAccount() const;
std::string getScalingConfigurationId5()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setScalingConfigurationId5(const std::string& scalingConfigurationId5); std::string getOwnerAccount() const;
std::string getScalingGroupId()const; void setOwnerAccount(const std::string &ownerAccount);
void setScalingGroupId(const std::string& scalingGroupId); long getOwnerId() const;
std::string getScalingConfigurationId8()const; void setOwnerId(long ownerId);
void setScalingConfigurationId8(const std::string& scalingConfigurationId8); std::vector<std::string> getScalingConfigurationName() const;
std::string getScalingConfigurationId9()const; void setScalingConfigurationName(const std::vector<std::string> &scalingConfigurationName);
void setScalingConfigurationId9(const std::string& scalingConfigurationId9); std::vector<std::string> getScalingConfigurationId() const;
std::string getScalingConfigurationId10()const; void setScalingConfigurationId(const std::vector<std::string> &scalingConfigurationId);
void setScalingConfigurationId10(const std::string& scalingConfigurationId10);
int getPageNumber()const; private:
void setPageNumber(int pageNumber); long resourceOwnerId_;
std::string getAccessKeyId()const; std::string scalingGroupId_;
void setAccessKeyId(const std::string& accessKeyId); int pageNumber_;
std::string getScalingConfigurationName2()const; std::string accessKeyId_;
void setScalingConfigurationName2(const std::string& scalingConfigurationName2); std::string regionId_;
std::string getRegionId()const; int pageSize_;
void setRegionId(const std::string& regionId); std::string resourceOwnerAccount_;
std::string getScalingConfigurationName3()const; std::string ownerAccount_;
void setScalingConfigurationName3(const std::string& scalingConfigurationName3); long ownerId_;
std::string getScalingConfigurationName1()const; std::vector<std::string> scalingConfigurationName_;
void setScalingConfigurationName1(const std::string& scalingConfigurationName1); std::vector<std::string> scalingConfigurationId_;
int getPageSize()const; };
void setPageSize(int pageSize); } // namespace Model
std::string getScalingConfigurationId2()const; } // namespace Ess
void setScalingConfigurationId2(const std::string& scalingConfigurationId2); } // namespace AlibabaCloud
std::string getScalingConfigurationId3()const; #endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGCONFIGURATIONSREQUEST_H_
void setScalingConfigurationId3(const std::string& scalingConfigurationId3);
std::string getScalingConfigurationId1()const;
void setScalingConfigurationId1(const std::string& scalingConfigurationId1);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getScalingConfigurationName6()const;
void setScalingConfigurationName6(const std::string& scalingConfigurationName6);
std::string getScalingConfigurationName7()const;
void setScalingConfigurationName7(const std::string& scalingConfigurationName7);
std::string getScalingConfigurationName4()const;
void setScalingConfigurationName4(const std::string& scalingConfigurationName4);
std::string getScalingConfigurationName5()const;
void setScalingConfigurationName5(const std::string& scalingConfigurationName5);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getScalingConfigurationName8()const;
void setScalingConfigurationName8(const std::string& scalingConfigurationName8);
std::string getScalingConfigurationName9()const;
void setScalingConfigurationName9(const std::string& scalingConfigurationName9);
std::string getScalingConfigurationName10()const;
void setScalingConfigurationName10(const std::string& scalingConfigurationName10);
private:
std::string scalingConfigurationId6_;
std::string scalingConfigurationId7_;
long resourceOwnerId_;
std::string scalingConfigurationId4_;
std::string scalingConfigurationId5_;
std::string scalingGroupId_;
std::string scalingConfigurationId8_;
std::string scalingConfigurationId9_;
std::string scalingConfigurationId10_;
int pageNumber_;
std::string accessKeyId_;
std::string scalingConfigurationName2_;
std::string regionId_;
std::string scalingConfigurationName3_;
std::string scalingConfigurationName1_;
int pageSize_;
std::string scalingConfigurationId2_;
std::string scalingConfigurationId3_;
std::string scalingConfigurationId1_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string scalingConfigurationName6_;
std::string scalingConfigurationName7_;
std::string scalingConfigurationName4_;
std::string scalingConfigurationName5_;
long ownerId_;
std::string scalingConfigurationName8_;
std::string scalingConfigurationName9_;
std::string scalingConfigurationName10_;
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGCONFIGURATIONSREQUEST_H_

View File

@@ -38,18 +38,31 @@ namespace AlibabaCloud
{ {
std::string managedPrivateSpaceId; std::string managedPrivateSpaceId;
}; };
struct SecurityOptions
{
std::string confidentialComputingMode;
};
struct ResourcePoolOptions
{
std::string strategy;
std::vector<std::string> privatePoolIds;
};
struct DataDisk struct DataDisk
{ {
std::string snapshotId; bool burstingEnabled;
std::string description;
std::string category; std::string category;
std::string kMSKeyId; std::string kMSKeyId;
std::string description; std::vector<std::string> categories;
int size; std::string performanceLevel;
std::string device; std::string device;
int size;
std::string encrypted; std::string encrypted;
bool deleteWithInstance; bool deleteWithInstance;
std::string autoSnapshotPolicyId; std::string autoSnapshotPolicyId;
std::string diskName; std::string diskName;
long provisionedIops;
std::string snapshotId;
}; };
struct Tag struct Tag
{ {
@@ -61,38 +74,96 @@ namespace AlibabaCloud
float priceLimit; float priceLimit;
std::string instanceType; std::string instanceType;
}; };
struct InstancePatternInfo
{
float memory;
std::vector<std::string> physicalProcessorModels;
int minimumEniQuantity;
std::vector<std::string> excludedInstanceTypes;
int minimumBaselineCredit;
float maximumMemorySize;
int cores;
int minimumCpuCoreCount;
std::vector<std::string> cpuArchitectures;
int maximumCpuCoreCount;
int minimumEniPrivateIpAddressQuantity;
std::vector<std::string> gpuSpecs;
std::vector<std::string> instanceCategories;
std::string instanceFamilyLevel;
int maximumGpuAmount;
float minimumMemorySize;
int minimumEniIpv6AddressQuantity;
int minimumGpuAmount;
float maxPrice;
std::string burstablePerformance;
std::vector<std::string> instanceTypeFamilies;
int minimumInitialCredit;
std::vector<std::string> architectures;
};
struct CustomPriority
{
std::string instanceType;
std::string vswitchId;
};
struct NetworkInterface
{
std::string networkInterfaceTrafficMode;
std::vector<std::string> securityGroupIds1;
int ipv6AddressCount;
std::string instanceType;
};
std::string scalingConfigurationName; std::string scalingConfigurationName;
std::string dedicatedHostId; std::string dedicatedHostId;
std::vector<std::string> weightedCapacities;
std::vector<ScalingConfiguration::DataDisk> dataDisks; std::vector<ScalingConfiguration::DataDisk> dataDisks;
std::string resourceGroupId; std::string resourceGroupId;
std::string systemDiskDescription; std::string systemDiskDescription;
bool imageOptionsLoginAsNonRoot;
int memory; int memory;
long systemDiskProvisionedIops;
int cpu; int cpu;
std::string systemDiskEncryptAlgorithm;
std::string ramRoleName; std::string ramRoleName;
std::string systemDiskPerformanceLevel;
std::string imageId; std::string imageId;
std::string storageSetId;
std::vector<ScalingConfiguration::Tag> tags; std::vector<ScalingConfiguration::Tag> tags;
std::string hostName; std::string hostName;
int loadBalancerWeight; int loadBalancerWeight;
std::string scalingGroupId; std::string scalingGroupId;
std::string systemDiskKMSKeyId;
std::string imageFamily; std::string imageFamily;
std::string privatePoolOptionsMatchCriteria; std::string privatePoolOptionsMatchCriteria;
bool deletionProtection;
std::string httpEndpoint;
std::vector<std::string> securityGroupIds; std::vector<std::string> securityGroupIds;
std::string internetChargeType;
std::string privatePoolOptionsId; std::string privatePoolOptionsId;
std::string instanceName; std::string internetChargeType;
std::string deploymentSetId; std::string deploymentSetId;
std::string instanceName;
std::string spotInterruptionBehavior;
int internetMaxBandwidthOut; int internetMaxBandwidthOut;
std::vector<ScalingConfiguration::InstancePatternInfo> instancePatternInfos;
SecurityOptions securityOptions;
std::string creationTime; std::string creationTime;
std::string affinity; std::string affinity;
std::string scalingConfigurationId; std::string scalingConfigurationId;
std::string securityEnhancementStrategy; std::string securityEnhancementStrategy;
std::string dedicatedHostClusterId;
std::string tenancy; std::string tenancy;
std::string imageOwnerAlias;
int systemDiskSize; int systemDiskSize;
std::string userData; std::string userData;
int spotDuration;
std::string lifecycleState; std::string lifecycleState;
int storageSetPartitionNumber;
bool systemDiskEncrypted;
std::vector<ScalingConfiguration::CustomPriority> customPriorities;
std::string systemDiskAutoSnapshotPolicyId; std::string systemDiskAutoSnapshotPolicyId;
std::string systemDiskName; std::string systemDiskName;
int ipv6AddressCount; int ipv6AddressCount;
std::vector<ScalingConfiguration::NetworkInterface> networkInterfaces;
std::vector<std::string> systemDiskCategories;
SchedulerOptions schedulerOptions; SchedulerOptions schedulerOptions;
std::vector<ScalingConfiguration::SpotPriceModel> spotPriceLimit; std::vector<ScalingConfiguration::SpotPriceModel> spotPriceLimit;
std::vector<std::string> instanceTypes; std::vector<std::string> instanceTypes;
@@ -100,12 +171,16 @@ namespace AlibabaCloud
std::string spotStrategy; std::string spotStrategy;
bool passwordInherit; bool passwordInherit;
std::string keyPairName; std::string keyPairName;
ResourcePoolOptions resourcePoolOptions;
std::string ioOptimized; std::string ioOptimized;
std::string zoneId; std::string zoneId;
std::string hpcClusterId; std::string hpcClusterId;
bool passwordSetted;
std::string securityGroupId; std::string securityGroupId;
std::string systemDiskCategory; std::string systemDiskCategory;
bool systemDiskBurstingEnabled;
std::string imageName; std::string imageName;
std::string httpTokens;
int internetMaxBandwidthIn; int internetMaxBandwidthIn;
std::string instanceGeneration; std::string instanceGeneration;
std::string instanceDescription; std::string instanceDescription;

View File

@@ -1,189 +1,142 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGGROUPSREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGGROUPSREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGGROUPSREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGGROUPSREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DescribeScalingGroupsRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DescribeScalingGroupsRequest : public RpcServiceRequest struct Tag {
{ std::string value;
std::string key;
public: };
DescribeScalingGroupsRequest(); DescribeScalingGroupsRequest();
~DescribeScalingGroupsRequest(); ~DescribeScalingGroupsRequest();
long getResourceOwnerId() const;
long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId);
void setResourceOwnerId(long resourceOwnerId); std::string getResourceGroupId() const;
std::string getScalingGroupId10()const; void setResourceGroupId(const std::string &resourceGroupId);
void setScalingGroupId10(const std::string& scalingGroupId10); std::string getGroupType() const;
std::string getScalingGroupId12()const; void setGroupType(const std::string &groupType);
void setScalingGroupId12(const std::string& scalingGroupId12); std::vector<Tag> getTag() const;
std::string getScalingGroupId13()const; void setTag(const std::vector<Tag> &tag);
void setScalingGroupId13(const std::string& scalingGroupId13); long getOwnerId() const;
std::string getScalingGroupId14()const; void setOwnerId(long ownerId);
void setScalingGroupId14(const std::string& scalingGroupId14); std::vector<std::string> getScalingGroupId() const;
std::string getScalingGroupId15()const; void setScalingGroupId(const std::vector<std::string> &scalingGroupId);
void setScalingGroupId15(const std::string& scalingGroupId15); int getPageNumber() const;
long getOwnerId()const; void setPageNumber(int pageNumber);
void setOwnerId(long ownerId); std::string getAccessKeyId() const;
int getPageNumber()const; void setAccessKeyId(const std::string &accessKeyId);
void setPageNumber(int pageNumber); std::string getRegionId() const;
std::string getAccessKeyId()const; void setRegionId(const std::string &regionId);
void setAccessKeyId(const std::string& accessKeyId); int getPageSize() const;
std::string getRegionId()const; void setPageSize(int pageSize);
void setRegionId(const std::string& regionId); std::string getScalingGroupName20() const;
int getPageSize()const; void setScalingGroupName20(const std::string &scalingGroupName20);
void setPageSize(int pageSize); std::string getScalingGroupName19() const;
std::string getScalingGroupName20()const; void setScalingGroupName19(const std::string &scalingGroupName19);
void setScalingGroupName20(const std::string& scalingGroupName20); std::string getScalingGroupName18() const;
std::string getScalingGroupName19()const; void setScalingGroupName18(const std::string &scalingGroupName18);
void setScalingGroupName19(const std::string& scalingGroupName19); std::string getScalingGroupName17() const;
std::string getScalingGroupId20()const; void setScalingGroupName17(const std::string &scalingGroupName17);
void setScalingGroupId20(const std::string& scalingGroupId20); std::string getScalingGroupName16() const;
std::string getScalingGroupName18()const; void setScalingGroupName16(const std::string &scalingGroupName16);
void setScalingGroupName18(const std::string& scalingGroupName18); std::string getResourceOwnerAccount() const;
std::string getScalingGroupName17()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setScalingGroupName17(const std::string& scalingGroupName17); std::string getScalingGroupName() const;
std::string getScalingGroupName16()const; void setScalingGroupName(const std::string &scalingGroupName);
void setScalingGroupName16(const std::string& scalingGroupName16); std::string getOwnerAccount() const;
std::string getResourceOwnerAccount()const; void setOwnerAccount(const std::string &ownerAccount);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getScalingGroupName1() const;
std::string getScalingGroupName()const; void setScalingGroupName1(const std::string &scalingGroupName1);
void setScalingGroupName(const std::string& scalingGroupName); std::string getScalingGroupName2() const;
std::string getOwnerAccount()const; void setScalingGroupName2(const std::string &scalingGroupName2);
void setOwnerAccount(const std::string& ownerAccount); std::string getScalingGroupName7() const;
std::string getScalingGroupName1()const; void setScalingGroupName7(const std::string &scalingGroupName7);
void setScalingGroupName1(const std::string& scalingGroupName1); std::string getScalingGroupName11() const;
std::string getScalingGroupName2()const; void setScalingGroupName11(const std::string &scalingGroupName11);
void setScalingGroupName2(const std::string& scalingGroupName2); std::string getScalingGroupName8() const;
std::string getScalingGroupId2()const; void setScalingGroupName8(const std::string &scalingGroupName8);
void setScalingGroupId2(const std::string& scalingGroupId2); std::string getScalingGroupName10() const;
std::string getScalingGroupId1()const; void setScalingGroupName10(const std::string &scalingGroupName10);
void setScalingGroupId1(const std::string& scalingGroupId1); std::string getScalingGroupName9() const;
std::string getScalingGroupId6()const; void setScalingGroupName9(const std::string &scalingGroupName9);
void setScalingGroupId6(const std::string& scalingGroupId6); std::string getScalingGroupName3() const;
std::string getScalingGroupId16()const; void setScalingGroupName3(const std::string &scalingGroupName3);
void setScalingGroupId16(const std::string& scalingGroupId16); std::string getScalingGroupName15() const;
std::string getScalingGroupName7()const; void setScalingGroupName15(const std::string &scalingGroupName15);
void setScalingGroupName7(const std::string& scalingGroupName7); std::string getScalingGroupName4() const;
std::string getScalingGroupName11()const; void setScalingGroupName4(const std::string &scalingGroupName4);
void setScalingGroupName11(const std::string& scalingGroupName11); std::string getScalingGroupName14() const;
std::string getScalingGroupId5()const; void setScalingGroupName14(const std::string &scalingGroupName14);
void setScalingGroupId5(const std::string& scalingGroupId5); std::string getScalingGroupName5() const;
std::string getScalingGroupId17()const; void setScalingGroupName5(const std::string &scalingGroupName5);
void setScalingGroupId17(const std::string& scalingGroupId17); std::string getScalingGroupName13() const;
std::string getScalingGroupName8()const; void setScalingGroupName13(const std::string &scalingGroupName13);
void setScalingGroupName8(const std::string& scalingGroupName8); std::string getScalingGroupName6() const;
std::string getScalingGroupName10()const; void setScalingGroupName6(const std::string &scalingGroupName6);
void setScalingGroupName10(const std::string& scalingGroupName10); std::string getScalingGroupName12() const;
std::string getScalingGroupId4()const; void setScalingGroupName12(const std::string &scalingGroupName12);
void setScalingGroupId4(const std::string& scalingGroupId4);
std::string getScalingGroupId18()const; private:
void setScalingGroupId18(const std::string& scalingGroupId18); long resourceOwnerId_;
std::string getScalingGroupName9()const; std::string resourceGroupId_;
void setScalingGroupName9(const std::string& scalingGroupName9); std::string groupType_;
std::string getScalingGroupId3()const; std::vector<Tag> tag_;
void setScalingGroupId3(const std::string& scalingGroupId3); long ownerId_;
std::string getScalingGroupId19()const; std::vector<std::string> scalingGroupId_;
void setScalingGroupId19(const std::string& scalingGroupId19); int pageNumber_;
std::string getScalingGroupName3()const; std::string accessKeyId_;
void setScalingGroupName3(const std::string& scalingGroupName3); std::string regionId_;
std::string getScalingGroupName15()const; int pageSize_;
void setScalingGroupName15(const std::string& scalingGroupName15); std::string scalingGroupName20_;
std::string getScalingGroupId9()const; std::string scalingGroupName19_;
void setScalingGroupId9(const std::string& scalingGroupId9); std::string scalingGroupName18_;
std::string getScalingGroupName4()const; std::string scalingGroupName17_;
void setScalingGroupName4(const std::string& scalingGroupName4); std::string scalingGroupName16_;
std::string getScalingGroupName14()const; std::string resourceOwnerAccount_;
void setScalingGroupName14(const std::string& scalingGroupName14); std::string scalingGroupName_;
std::string getScalingGroupId8()const; std::string ownerAccount_;
void setScalingGroupId8(const std::string& scalingGroupId8); std::string scalingGroupName1_;
std::string getScalingGroupName5()const; std::string scalingGroupName2_;
void setScalingGroupName5(const std::string& scalingGroupName5); std::string scalingGroupName7_;
std::string getScalingGroupName13()const; std::string scalingGroupName11_;
void setScalingGroupName13(const std::string& scalingGroupName13); std::string scalingGroupName8_;
std::string getScalingGroupId7()const; std::string scalingGroupName10_;
void setScalingGroupId7(const std::string& scalingGroupId7); std::string scalingGroupName9_;
std::string getScalingGroupName6()const; std::string scalingGroupName3_;
void setScalingGroupName6(const std::string& scalingGroupName6); std::string scalingGroupName15_;
std::string getScalingGroupName12()const; std::string scalingGroupName4_;
void setScalingGroupName12(const std::string& scalingGroupName12); std::string scalingGroupName14_;
std::string scalingGroupName5_;
private: std::string scalingGroupName13_;
long resourceOwnerId_; std::string scalingGroupName6_;
std::string scalingGroupId10_; std::string scalingGroupName12_;
std::string scalingGroupId12_; };
std::string scalingGroupId13_; } // namespace Model
std::string scalingGroupId14_; } // namespace Ess
std::string scalingGroupId15_; } // namespace AlibabaCloud
long ownerId_; #endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGGROUPSREQUEST_H_
int pageNumber_;
std::string accessKeyId_;
std::string regionId_;
int pageSize_;
std::string scalingGroupName20_;
std::string scalingGroupName19_;
std::string scalingGroupId20_;
std::string scalingGroupName18_;
std::string scalingGroupName17_;
std::string scalingGroupName16_;
std::string resourceOwnerAccount_;
std::string scalingGroupName_;
std::string ownerAccount_;
std::string scalingGroupName1_;
std::string scalingGroupName2_;
std::string scalingGroupId2_;
std::string scalingGroupId1_;
std::string scalingGroupId6_;
std::string scalingGroupId16_;
std::string scalingGroupName7_;
std::string scalingGroupName11_;
std::string scalingGroupId5_;
std::string scalingGroupId17_;
std::string scalingGroupName8_;
std::string scalingGroupName10_;
std::string scalingGroupId4_;
std::string scalingGroupId18_;
std::string scalingGroupName9_;
std::string scalingGroupId3_;
std::string scalingGroupId19_;
std::string scalingGroupName3_;
std::string scalingGroupName15_;
std::string scalingGroupId9_;
std::string scalingGroupName4_;
std::string scalingGroupName14_;
std::string scalingGroupId8_;
std::string scalingGroupName5_;
std::string scalingGroupName13_;
std::string scalingGroupId7_;
std::string scalingGroupName6_;
std::string scalingGroupName12_;
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGGROUPSREQUEST_H_

View File

@@ -34,6 +34,14 @@ namespace AlibabaCloud
public: public:
struct ScalingGroup struct ScalingGroup
{ {
struct CapacityOptions
{
int onDemandBaseCapacity;
bool compensateWithOnDemand;
int onDemandPercentageAboveBaseCapacity;
bool spotAutoReplaceOnDemand;
std::string priceComparisonMode;
};
struct VServerGroup struct VServerGroup
{ {
struct VServerGroupAttribute struct VServerGroupAttribute
@@ -45,46 +53,107 @@ namespace AlibabaCloud
std::string loadBalancerId; std::string loadBalancerId;
std::vector<VServerGroup::VServerGroupAttribute> vServerGroupAttributes; std::vector<VServerGroup::VServerGroupAttribute> vServerGroupAttributes;
}; };
struct LaunchTemplateOverride
{
int weightedCapacity;
float spotPriceLimit;
std::string instanceType;
};
struct AlbServerGroup
{
std::string albServerGroupId;
int port;
int weight;
};
struct ServerGroup
{
std::string type;
int port;
std::string serverGroupId;
int weight;
};
struct LoadBalancerConfig
{
std::string loadBalancerId;
int weight;
};
struct Tag
{
std::string tagKey;
bool propagate;
std::string tagValue;
};
struct DBInstance
{
std::string type;
std::string dBInstanceId;
std::vector<std::string> securityGroupIds;
};
bool spotInstanceRemedy; bool spotInstanceRemedy;
std::string resourceGroupId;
std::vector<ScalingGroup::ServerGroup> serverGroups;
std::string activeScalingConfigurationId; std::string activeScalingConfigurationId;
bool compensateWithOnDemand;
int onDemandPercentageAboveBaseCapacity;
int desiredCapacity; int desiredCapacity;
std::string lifecycleState; std::vector<ScalingGroup::AlbServerGroup> albServerGroups;
std::string modificationTime;
int onDemandBaseCapacity; int onDemandBaseCapacity;
std::vector<std::string> removalPolicies; std::vector<std::string> removalPolicies;
int pendingWaitCapacity; std::vector<ScalingGroup::LaunchTemplateOverride> launchTemplateOverrides;
int totalCapacity; std::vector<ScalingGroup::Tag> tags;
int removingWaitCapacity;
int protectedCapacity;
int standbyCapacity;
std::string scalingPolicy;
std::vector<std::string> suspendedProcesses; std::vector<std::string> suspendedProcesses;
int removingCapacity; int removingCapacity;
std::vector<std::string> vSwitchIds; std::vector<std::string> vSwitchIds;
int pendingCapacity;
std::string scalingGroupId; std::string scalingGroupId;
int pendingCapacity;
std::string vSwitchId; std::string vSwitchId;
std::vector<std::string> loadBalancerIds; std::vector<std::string> loadBalancerIds;
int spotInstancePools; int spotInstancePools;
bool groupDeletionProtection;
std::string launchTemplateId; std::string launchTemplateId;
int maxSize; std::string customPolicyARN;
std::vector<ScalingGroup::LoadBalancerConfig> loadBalancerConfigs;
int spotCapacity;
std::string scalingGroupName; std::string scalingGroupName;
int activeCapacity;
int minSize;
int defaultCooldown;
bool scaleOutAmountCheck; bool scaleOutAmountCheck;
int defaultCooldown;
std::string vpcId; std::string vpcId;
std::string launchTemplateVersion; std::string groupType;
std::string creationTime; std::string creationTime;
std::string launchTemplateVersion;
std::string multiAZPolicy; std::string multiAZPolicy;
int stoppedCapacity; int stoppedCapacity;
std::vector<ScalingGroup::VServerGroup> vServerGroups; std::string currentHostName;
std::string regionId; CapacityOptions capacityOptions;
std::vector<std::string> dBInstanceIds; std::vector<std::string> dBInstanceIds;
std::string healthCheckType; std::string healthCheckType;
bool compensateWithOnDemand;
int onDemandPercentageAboveBaseCapacity;
std::string modificationTime;
std::string lifecycleState;
int totalInstanceCount;
std::vector<std::string> healthCheckTypes;
std::string allocationStrategy;
bool weighted;
int initCapacity;
int pendingWaitCapacity;
int totalCapacity;
int removingWaitCapacity;
bool isElasticStrengthInAlarm;
std::string spotAllocationStrategy;
int protectedCapacity;
int standbyCapacity;
std::string scalingPolicy;
bool groupDeletionProtection;
int maxSize;
bool enableDesiredCapacity;
int minSize;
int activeCapacity;
bool azBalance;
bool systemSuspended;
std::string monitorGroupId;
std::vector<ScalingGroup::VServerGroup> vServerGroups;
std::string regionId;
std::vector<ScalingGroup::DBInstance> dBInstances;
int maxInstanceLifetime;
int stopInstanceTimeout;
}; };

View File

@@ -1,144 +1,90 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGINSTANCESREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGINSTANCESREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGINSTANCESREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGINSTANCESREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DescribeScalingInstancesRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DescribeScalingInstancesRequest : public RpcServiceRequest DescribeScalingInstancesRequest();
{ ~DescribeScalingInstancesRequest();
long getResourceOwnerId() const;
public: void setResourceOwnerId(long resourceOwnerId);
DescribeScalingInstancesRequest(); std::string getScalingGroupId() const;
~DescribeScalingInstancesRequest(); void setScalingGroupId(const std::string &scalingGroupId);
std::string getLifecycleState() const;
long getResourceOwnerId()const; void setLifecycleState(const std::string &lifecycleState);
void setResourceOwnerId(long resourceOwnerId); std::string getCreationType() const;
std::string getCreationType()const; void setCreationType(const std::string &creationType);
void setCreationType(const std::string& creationType); int getPageNumber() const;
std::string getInstanceId1()const; void setPageNumber(int pageNumber);
void setInstanceId1(const std::string& instanceId1); std::string getAccessKeyId() const;
std::string getInstanceId3()const; void setAccessKeyId(const std::string &accessKeyId);
void setInstanceId3(const std::string& instanceId3); std::string getRegionId() const;
std::string getInstanceId2()const; void setRegionId(const std::string &regionId);
void setInstanceId2(const std::string& instanceId2); int getPageSize() const;
std::string getInstanceId5()const; void setPageSize(int pageSize);
void setInstanceId5(const std::string& instanceId5); std::string getResourceOwnerAccount() const;
std::string getInstanceId4()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setInstanceId4(const std::string& instanceId4); std::string getOwnerAccount() const;
std::string getInstanceId7()const; void setOwnerAccount(const std::string &ownerAccount);
void setInstanceId7(const std::string& instanceId7); long getOwnerId() const;
std::string getInstanceId6()const; void setOwnerId(long ownerId);
void setInstanceId6(const std::string& instanceId6); std::string getScalingActivityId() const;
std::string getInstanceId9()const; void setScalingActivityId(const std::string &scalingActivityId);
void setInstanceId9(const std::string& instanceId9); std::vector<std::string> getCreationTypes() const;
std::string getInstanceId8()const; void setCreationTypes(const std::vector<std::string> &creationTypes);
void setInstanceId8(const std::string& instanceId8); std::string getScalingConfigurationId() const;
long getOwnerId()const; void setScalingConfigurationId(const std::string &scalingConfigurationId);
void setOwnerId(long ownerId); std::vector<std::string> getInstanceId() const;
std::string getScalingConfigurationId()const; void setInstanceId(const std::vector<std::string> &instanceId);
void setScalingConfigurationId(const std::string& scalingConfigurationId); std::string getHealthStatus() const;
std::string getHealthStatus()const; void setHealthStatus(const std::string &healthStatus);
void setHealthStatus(const std::string& healthStatus); std::vector<std::string> getLifecycleStates() const;
std::string getInstanceId10()const; void setLifecycleStates(const std::vector<std::string> &lifecycleStates);
void setInstanceId10(const std::string& instanceId10);
std::string getInstanceId12()const; private:
void setInstanceId12(const std::string& instanceId12); long resourceOwnerId_;
std::string getInstanceId11()const; std::string scalingGroupId_;
void setInstanceId11(const std::string& instanceId11); std::string lifecycleState_;
std::string getScalingGroupId()const; std::string creationType_;
void setScalingGroupId(const std::string& scalingGroupId); int pageNumber_;
std::string getLifecycleState()const; std::string accessKeyId_;
void setLifecycleState(const std::string& lifecycleState); std::string regionId_;
int getPageNumber()const; int pageSize_;
void setPageNumber(int pageNumber); std::string resourceOwnerAccount_;
std::string getAccessKeyId()const; std::string ownerAccount_;
void setAccessKeyId(const std::string& accessKeyId); long ownerId_;
std::string getRegionId()const; std::string scalingActivityId_;
void setRegionId(const std::string& regionId); std::vector<std::string> creationTypes_;
int getPageSize()const; std::string scalingConfigurationId_;
void setPageSize(int pageSize); std::vector<std::string> instanceId_;
std::string getInstanceId20()const; std::string healthStatus_;
void setInstanceId20(const std::string& instanceId20); std::vector<std::string> lifecycleStates_;
std::string getResourceOwnerAccount()const; };
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); } // namespace Model
std::string getOwnerAccount()const; } // namespace Ess
void setOwnerAccount(const std::string& ownerAccount); } // namespace AlibabaCloud
std::string getInstanceId18()const; #endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGINSTANCESREQUEST_H_
void setInstanceId18(const std::string& instanceId18);
std::string getInstanceId17()const;
void setInstanceId17(const std::string& instanceId17);
std::string getInstanceId19()const;
void setInstanceId19(const std::string& instanceId19);
std::string getInstanceId14()const;
void setInstanceId14(const std::string& instanceId14);
std::string getInstanceId13()const;
void setInstanceId13(const std::string& instanceId13);
std::string getInstanceId16()const;
void setInstanceId16(const std::string& instanceId16);
std::string getInstanceId15()const;
void setInstanceId15(const std::string& instanceId15);
private:
long resourceOwnerId_;
std::string creationType_;
std::string instanceId1_;
std::string instanceId3_;
std::string instanceId2_;
std::string instanceId5_;
std::string instanceId4_;
std::string instanceId7_;
std::string instanceId6_;
std::string instanceId9_;
std::string instanceId8_;
long ownerId_;
std::string scalingConfigurationId_;
std::string healthStatus_;
std::string instanceId10_;
std::string instanceId12_;
std::string instanceId11_;
std::string scalingGroupId_;
std::string lifecycleState_;
int pageNumber_;
std::string accessKeyId_;
std::string regionId_;
int pageSize_;
std::string instanceId20_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string instanceId18_;
std::string instanceId17_;
std::string instanceId19_;
std::string instanceId14_;
std::string instanceId13_;
std::string instanceId16_;
std::string instanceId15_;
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGINSTANCESREQUEST_H_

View File

@@ -36,17 +36,24 @@ namespace AlibabaCloud
{ {
int loadBalancerWeight; int loadBalancerWeight;
std::string createdTime; std::string createdTime;
std::string privateIpAddress;
std::string zoneId;
std::string instanceId; std::string instanceId;
std::string scalingActivityId;
std::string scalingGroupId; std::string scalingGroupId;
std::string healthStatus; std::string healthStatus;
std::string lifecycleState;
std::string launchTemplateId; std::string launchTemplateId;
std::string lifecycleState;
std::string scalingInstanceId;
std::string creationType; std::string creationType;
int weightedCapacity;
std::string warmupState; std::string warmupState;
std::string creationTime; std::string creationTime;
std::string launchTemplateVersion; std::string launchTemplateVersion;
bool entrusted; bool entrusted;
std::string scalingConfigurationId; std::string scalingConfigurationId;
std::string instanceType;
std::string spotStrategy;
}; };
@@ -57,6 +64,7 @@ namespace AlibabaCloud
int getPageSize()const; int getPageSize()const;
int getPageNumber()const; int getPageNumber()const;
std::vector<ScalingInstance> getScalingInstances()const; std::vector<ScalingInstance> getScalingInstances()const;
int getTotalSpotCount()const;
protected: protected:
void parse(const std::string &payload); void parse(const std::string &payload);
@@ -65,6 +73,7 @@ namespace AlibabaCloud
int pageSize_; int pageSize_;
int pageNumber_; int pageNumber_;
std::vector<ScalingInstance> scalingInstances_; std::vector<ScalingInstance> scalingInstances_;
int totalSpotCount_;
}; };
} }

View File

@@ -1,168 +1,81 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGRULESREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGRULESREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGRULESREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGRULESREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DescribeScalingRulesRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DescribeScalingRulesRequest : public RpcServiceRequest DescribeScalingRulesRequest();
{ ~DescribeScalingRulesRequest();
long getResourceOwnerId() const;
public: void setResourceOwnerId(long resourceOwnerId);
DescribeScalingRulesRequest(); std::string getScalingGroupId() const;
~DescribeScalingRulesRequest(); void setScalingGroupId(const std::string &scalingGroupId);
std::vector<std::string> getScalingRuleId() const;
long getResourceOwnerId()const; void setScalingRuleId(const std::vector<std::string> &scalingRuleId);
void setResourceOwnerId(long resourceOwnerId); int getPageNumber() const;
std::string getScalingRuleId10()const; void setPageNumber(int pageNumber);
void setScalingRuleId10(const std::string& scalingRuleId10); std::string getAccessKeyId() const;
long getOwnerId()const; void setAccessKeyId(const std::string &accessKeyId);
void setOwnerId(long ownerId); std::vector<std::string> getScalingRuleName() const;
std::string getScalingRuleAri1()const; void setScalingRuleName(const std::vector<std::string> &scalingRuleName);
void setScalingRuleAri1(const std::string& scalingRuleAri1); std::string getRegionId() const;
std::string getScalingRuleAri2()const; void setRegionId(const std::string &regionId);
void setScalingRuleAri2(const std::string& scalingRuleAri2); int getPageSize() const;
std::string getScalingRuleAri3()const; void setPageSize(int pageSize);
void setScalingRuleAri3(const std::string& scalingRuleAri3); std::string getScalingRuleType() const;
std::string getScalingRuleAri4()const; void setScalingRuleType(const std::string &scalingRuleType);
void setScalingRuleAri4(const std::string& scalingRuleAri4); std::string getResourceOwnerAccount() const;
std::string getScalingRuleAri5()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setScalingRuleAri5(const std::string& scalingRuleAri5); std::string getOwnerAccount() const;
std::string getScalingRuleAri6()const; void setOwnerAccount(const std::string &ownerAccount);
void setScalingRuleAri6(const std::string& scalingRuleAri6); long getOwnerId() const;
std::string getScalingRuleAri7()const; void setOwnerId(long ownerId);
void setScalingRuleAri7(const std::string& scalingRuleAri7); std::vector<std::string> getScalingRuleAri() const;
std::string getScalingRuleAri8()const; void setScalingRuleAri(const std::vector<std::string> &scalingRuleAri);
void setScalingRuleAri8(const std::string& scalingRuleAri8); bool getShowAlarmRules() const;
bool getShowAlarmRules()const; void setShowAlarmRules(bool showAlarmRules);
void setShowAlarmRules(bool showAlarmRules);
std::string getScalingRuleName1()const; private:
void setScalingRuleName1(const std::string& scalingRuleName1); long resourceOwnerId_;
std::string getScalingRuleName2()const; std::string scalingGroupId_;
void setScalingRuleName2(const std::string& scalingRuleName2); std::vector<std::string> scalingRuleId_;
std::string getScalingRuleName3()const; int pageNumber_;
void setScalingRuleName3(const std::string& scalingRuleName3); std::string accessKeyId_;
std::string getScalingRuleName4()const; std::vector<std::string> scalingRuleName_;
void setScalingRuleName4(const std::string& scalingRuleName4); std::string regionId_;
std::string getScalingRuleName5()const; int pageSize_;
void setScalingRuleName5(const std::string& scalingRuleName5); std::string scalingRuleType_;
std::string getScalingGroupId()const; std::string resourceOwnerAccount_;
void setScalingGroupId(const std::string& scalingGroupId); std::string ownerAccount_;
std::string getScalingRuleName6()const; long ownerId_;
void setScalingRuleName6(const std::string& scalingRuleName6); std::vector<std::string> scalingRuleAri_;
std::string getScalingRuleName7()const; bool showAlarmRules_;
void setScalingRuleName7(const std::string& scalingRuleName7); };
std::string getScalingRuleName8()const; } // namespace Model
void setScalingRuleName8(const std::string& scalingRuleName8); } // namespace Ess
std::string getScalingRuleAri9()const; } // namespace AlibabaCloud
void setScalingRuleAri9(const std::string& scalingRuleAri9); #endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGRULESREQUEST_H_
std::string getScalingRuleName9()const;
void setScalingRuleName9(const std::string& scalingRuleName9);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getScalingRuleType()const;
void setScalingRuleType(const std::string& scalingRuleType);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getScalingRuleName10()const;
void setScalingRuleName10(const std::string& scalingRuleName10);
std::string getScalingRuleId8()const;
void setScalingRuleId8(const std::string& scalingRuleId8);
std::string getScalingRuleId9()const;
void setScalingRuleId9(const std::string& scalingRuleId9);
std::string getScalingRuleAri10()const;
void setScalingRuleAri10(const std::string& scalingRuleAri10);
std::string getScalingRuleId4()const;
void setScalingRuleId4(const std::string& scalingRuleId4);
std::string getScalingRuleId5()const;
void setScalingRuleId5(const std::string& scalingRuleId5);
std::string getScalingRuleId6()const;
void setScalingRuleId6(const std::string& scalingRuleId6);
std::string getScalingRuleId7()const;
void setScalingRuleId7(const std::string& scalingRuleId7);
std::string getScalingRuleId1()const;
void setScalingRuleId1(const std::string& scalingRuleId1);
std::string getScalingRuleId2()const;
void setScalingRuleId2(const std::string& scalingRuleId2);
std::string getScalingRuleId3()const;
void setScalingRuleId3(const std::string& scalingRuleId3);
private:
long resourceOwnerId_;
std::string scalingRuleId10_;
long ownerId_;
std::string scalingRuleAri1_;
std::string scalingRuleAri2_;
std::string scalingRuleAri3_;
std::string scalingRuleAri4_;
std::string scalingRuleAri5_;
std::string scalingRuleAri6_;
std::string scalingRuleAri7_;
std::string scalingRuleAri8_;
bool showAlarmRules_;
std::string scalingRuleName1_;
std::string scalingRuleName2_;
std::string scalingRuleName3_;
std::string scalingRuleName4_;
std::string scalingRuleName5_;
std::string scalingGroupId_;
std::string scalingRuleName6_;
std::string scalingRuleName7_;
std::string scalingRuleName8_;
std::string scalingRuleAri9_;
std::string scalingRuleName9_;
int pageNumber_;
std::string accessKeyId_;
std::string regionId_;
int pageSize_;
std::string scalingRuleType_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string scalingRuleName10_;
std::string scalingRuleId8_;
std::string scalingRuleId9_;
std::string scalingRuleAri10_;
std::string scalingRuleId4_;
std::string scalingRuleId5_;
std::string scalingRuleId6_;
std::string scalingRuleId7_;
std::string scalingRuleId1_;
std::string scalingRuleId2_;
std::string scalingRuleId3_;
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBESCALINGRULESREQUEST_H_

View File

@@ -43,6 +43,7 @@ namespace AlibabaCloud
}; };
std::string metricName; std::string metricName;
std::string comparisonOperator; std::string comparisonOperator;
std::string metricType;
std::vector<Alarm::Dimension> dimensions; std::vector<Alarm::Dimension> dimensions;
int evaluationCount; int evaluationCount;
std::string alarmTaskName; std::string alarmTaskName;
@@ -56,30 +57,52 @@ namespace AlibabaCloud
float metricIntervalLowerBound; float metricIntervalLowerBound;
int scalingAdjustment; int scalingAdjustment;
}; };
float targetValue; struct AlarmDimension
{
std::string dimensionValue;
std::string dimensionKey;
};
struct HybridMetric
{
struct Dimension2
{
std::string dimensionValue;
std::string dimensionKey;
};
std::string metricName;
std::string statistic;
std::string expression;
std::vector<HybridMetric::Dimension2> dimensions1;
std::string id;
};
std::vector<ScalingRule::StepAdjustment> stepAdjustments; std::vector<ScalingRule::StepAdjustment> stepAdjustments;
std::string scalingGroupId;
int cooldown; int cooldown;
std::string predictiveValueBehavior; std::string predictiveValueBehavior;
std::string metricType;
std::vector<ScalingRule::HybridMetric> hybridMetrics;
std::string scalingRuleAri;
std::string metricName;
std::string scalingRuleName;
int scaleOutEvaluationCount;
int initialMaxSize;
std::string scalingRuleType;
int estimatedInstanceWarmup;
int predictiveTaskBufferTime;
int predictiveValueBuffer;
float targetValue;
std::string scalingGroupId;
std::vector<ScalingRule::Alarm> alarms; std::vector<ScalingRule::Alarm> alarms;
std::string scalingRuleId; std::string scalingRuleId;
int minAdjustmentMagnitude; int minAdjustmentMagnitude;
bool disableScaleIn; bool disableScaleIn;
int maxSize; int maxSize;
std::string adjustmentType; std::string adjustmentType;
std::string scalingRuleAri;
int minSize; int minSize;
std::string metricName; std::vector<ScalingRule::AlarmDimension> alarmDimensions;
std::string scalingRuleName;
int adjustmentValue; int adjustmentValue;
int scaleOutEvaluationCount; std::string hybridMonitorNamespace;
int initialMaxSize;
std::string scalingRuleType;
int estimatedInstanceWarmup;
int scaleInEvaluationCount;
std::string predictiveScalingMode; std::string predictiveScalingMode;
int predictiveValueBuffer; int scaleInEvaluationCount;
int predictiveTaskBufferTime;
}; };

View File

@@ -1,252 +1,87 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBESCHEDULEDTASKSREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DESCRIBESCHEDULEDTASKSREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DESCRIBESCHEDULEDTASKSREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DESCRIBESCHEDULEDTASKSREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DescribeScheduledTasksRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DescribeScheduledTasksRequest : public RpcServiceRequest DescribeScheduledTasksRequest();
{ ~DescribeScheduledTasksRequest();
long getResourceOwnerId() const;
public: void setResourceOwnerId(long resourceOwnerId);
DescribeScheduledTasksRequest(); std::vector<std::string> getScheduledAction() const;
~DescribeScheduledTasksRequest(); void setScheduledAction(const std::vector<std::string> &scheduledAction);
std::string getScalingGroupId() const;
long getResourceOwnerId()const; void setScalingGroupId(const std::string &scalingGroupId);
void setResourceOwnerId(long resourceOwnerId); std::string getTaskName() const;
std::string getScheduledAction2()const; void setTaskName(const std::string &taskName);
void setScheduledAction2(const std::string& scheduledAction2); int getPageNumber() const;
std::string getScheduledAction1()const; void setPageNumber(int pageNumber);
void setScheduledAction1(const std::string& scheduledAction1); std::string getAccessKeyId() const;
std::string getScheduledAction6()const; void setAccessKeyId(const std::string &accessKeyId);
void setScheduledAction6(const std::string& scheduledAction6); std::string getRegionId() const;
std::string getScheduledAction5()const; void setRegionId(const std::string &regionId);
void setScheduledAction5(const std::string& scheduledAction5); int getPageSize() const;
std::string getScheduledAction4()const; void setPageSize(int pageSize);
void setScheduledAction4(const std::string& scheduledAction4); std::string getResourceOwnerAccount() const;
std::string getScheduledAction3()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setScheduledAction3(const std::string& scheduledAction3); std::string getOwnerAccount() const;
std::string getScheduledAction9()const; void setOwnerAccount(const std::string &ownerAccount);
void setScheduledAction9(const std::string& scheduledAction9); long getOwnerId() const;
std::string getScheduledAction8()const; void setOwnerId(long ownerId);
void setScheduledAction8(const std::string& scheduledAction8); std::string getRecurrenceValue() const;
std::string getScheduledAction7()const; void setRecurrenceValue(const std::string &recurrenceValue);
void setScheduledAction7(const std::string& scheduledAction7); std::vector<std::string> getScheduledTaskName() const;
long getOwnerId()const; void setScheduledTaskName(const std::vector<std::string> &scheduledTaskName);
void setOwnerId(long ownerId); bool getTaskEnabled() const;
std::string getScheduledTaskName20()const; void setTaskEnabled(bool taskEnabled);
void setScheduledTaskName20(const std::string& scheduledTaskName20); std::vector<std::string> getScheduledTaskId() const;
std::string getScheduledTaskName19()const; void setScheduledTaskId(const std::vector<std::string> &scheduledTaskId);
void setScheduledTaskName19(const std::string& scheduledTaskName19); std::string getRecurrenceType() const;
std::string getScheduledTaskName18()const; void setRecurrenceType(const std::string &recurrenceType);
void setScheduledTaskName18(const std::string& scheduledTaskName18);
std::string getScheduledTaskId20()const; private:
void setScheduledTaskId20(const std::string& scheduledTaskId20); long resourceOwnerId_;
std::string getScalingGroupId()const; std::vector<std::string> scheduledAction_;
void setScalingGroupId(const std::string& scalingGroupId); std::string scalingGroupId_;
std::string getScheduledTaskName13()const; std::string taskName_;
void setScheduledTaskName13(const std::string& scheduledTaskName13); int pageNumber_;
std::string getScheduledTaskName12()const; std::string accessKeyId_;
void setScheduledTaskName12(const std::string& scheduledTaskName12); std::string regionId_;
std::string getScheduledTaskName11()const; int pageSize_;
void setScheduledTaskName11(const std::string& scheduledTaskName11); std::string resourceOwnerAccount_;
std::string getScheduledTaskName10()const; std::string ownerAccount_;
void setScheduledTaskName10(const std::string& scheduledTaskName10); long ownerId_;
std::string getScheduledTaskName17()const; std::string recurrenceValue_;
void setScheduledTaskName17(const std::string& scheduledTaskName17); std::vector<std::string> scheduledTaskName_;
std::string getScheduledTaskName16()const; bool taskEnabled_;
void setScheduledTaskName16(const std::string& scheduledTaskName16); std::vector<std::string> scheduledTaskId_;
int getPageNumber()const; std::string recurrenceType_;
void setPageNumber(int pageNumber); };
std::string getScheduledTaskName15()const; } // namespace Model
void setScheduledTaskName15(const std::string& scheduledTaskName15); } // namespace Ess
std::string getAccessKeyId()const; } // namespace AlibabaCloud
void setAccessKeyId(const std::string& accessKeyId); #endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBESCHEDULEDTASKSREQUEST_H_
std::string getScheduledTaskName14()const;
void setScheduledTaskName14(const std::string& scheduledTaskName14);
std::string getScheduledTaskId2()const;
void setScheduledTaskId2(const std::string& scheduledTaskId2);
std::string getScheduledTaskId1()const;
void setScheduledTaskId1(const std::string& scheduledTaskId1);
std::string getScheduledTaskId4()const;
void setScheduledTaskId4(const std::string& scheduledTaskId4);
std::string getScheduledTaskId18()const;
void setScheduledTaskId18(const std::string& scheduledTaskId18);
std::string getScheduledTaskId3()const;
void setScheduledTaskId3(const std::string& scheduledTaskId3);
std::string getScheduledTaskId19()const;
void setScheduledTaskId19(const std::string& scheduledTaskId19);
std::string getScheduledTaskId6()const;
void setScheduledTaskId6(const std::string& scheduledTaskId6);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getScheduledTaskId5()const;
void setScheduledTaskId5(const std::string& scheduledTaskId5);
std::string getScheduledTaskId8()const;
void setScheduledTaskId8(const std::string& scheduledTaskId8);
std::string getScheduledTaskName9()const;
void setScheduledTaskName9(const std::string& scheduledTaskName9);
std::string getScheduledAction20()const;
void setScheduledAction20(const std::string& scheduledAction20);
std::string getScheduledTaskId7()const;
void setScheduledTaskId7(const std::string& scheduledTaskId7);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getScheduledTaskId12()const;
void setScheduledTaskId12(const std::string& scheduledTaskId12);
std::string getScheduledTaskName7()const;
void setScheduledTaskName7(const std::string& scheduledTaskName7);
std::string getScheduledTaskId9()const;
void setScheduledTaskId9(const std::string& scheduledTaskId9);
std::string getScheduledTaskId13()const;
void setScheduledTaskId13(const std::string& scheduledTaskId13);
std::string getScheduledTaskName8()const;
void setScheduledTaskName8(const std::string& scheduledTaskName8);
std::string getScheduledTaskId10()const;
void setScheduledTaskId10(const std::string& scheduledTaskId10);
std::string getScheduledTaskName5()const;
void setScheduledTaskName5(const std::string& scheduledTaskName5);
std::string getScheduledTaskId11()const;
void setScheduledTaskId11(const std::string& scheduledTaskId11);
std::string getScheduledTaskName6()const;
void setScheduledTaskName6(const std::string& scheduledTaskName6);
std::string getScheduledTaskId16()const;
void setScheduledTaskId16(const std::string& scheduledTaskId16);
std::string getScheduledTaskName3()const;
void setScheduledTaskName3(const std::string& scheduledTaskName3);
std::string getScheduledTaskId17()const;
void setScheduledTaskId17(const std::string& scheduledTaskId17);
std::string getScheduledTaskName4()const;
void setScheduledTaskName4(const std::string& scheduledTaskName4);
std::string getScheduledTaskId14()const;
void setScheduledTaskId14(const std::string& scheduledTaskId14);
std::string getScheduledTaskName1()const;
void setScheduledTaskName1(const std::string& scheduledTaskName1);
std::string getScheduledTaskId15()const;
void setScheduledTaskId15(const std::string& scheduledTaskId15);
std::string getScheduledTaskName2()const;
void setScheduledTaskName2(const std::string& scheduledTaskName2);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getScheduledAction18()const;
void setScheduledAction18(const std::string& scheduledAction18);
std::string getScheduledAction19()const;
void setScheduledAction19(const std::string& scheduledAction19);
std::string getScheduledAction16()const;
void setScheduledAction16(const std::string& scheduledAction16);
std::string getScheduledAction17()const;
void setScheduledAction17(const std::string& scheduledAction17);
std::string getScheduledAction14()const;
void setScheduledAction14(const std::string& scheduledAction14);
std::string getScheduledAction15()const;
void setScheduledAction15(const std::string& scheduledAction15);
std::string getScheduledAction12()const;
void setScheduledAction12(const std::string& scheduledAction12);
std::string getScheduledAction13()const;
void setScheduledAction13(const std::string& scheduledAction13);
std::string getScheduledAction10()const;
void setScheduledAction10(const std::string& scheduledAction10);
std::string getScheduledAction11()const;
void setScheduledAction11(const std::string& scheduledAction11);
private:
long resourceOwnerId_;
std::string scheduledAction2_;
std::string scheduledAction1_;
std::string scheduledAction6_;
std::string scheduledAction5_;
std::string scheduledAction4_;
std::string scheduledAction3_;
std::string scheduledAction9_;
std::string scheduledAction8_;
std::string scheduledAction7_;
long ownerId_;
std::string scheduledTaskName20_;
std::string scheduledTaskName19_;
std::string scheduledTaskName18_;
std::string scheduledTaskId20_;
std::string scalingGroupId_;
std::string scheduledTaskName13_;
std::string scheduledTaskName12_;
std::string scheduledTaskName11_;
std::string scheduledTaskName10_;
std::string scheduledTaskName17_;
std::string scheduledTaskName16_;
int pageNumber_;
std::string scheduledTaskName15_;
std::string accessKeyId_;
std::string scheduledTaskName14_;
std::string scheduledTaskId2_;
std::string scheduledTaskId1_;
std::string scheduledTaskId4_;
std::string scheduledTaskId18_;
std::string scheduledTaskId3_;
std::string scheduledTaskId19_;
std::string scheduledTaskId6_;
std::string regionId_;
std::string scheduledTaskId5_;
std::string scheduledTaskId8_;
std::string scheduledTaskName9_;
std::string scheduledAction20_;
std::string scheduledTaskId7_;
int pageSize_;
std::string scheduledTaskId12_;
std::string scheduledTaskName7_;
std::string scheduledTaskId9_;
std::string scheduledTaskId13_;
std::string scheduledTaskName8_;
std::string scheduledTaskId10_;
std::string scheduledTaskName5_;
std::string scheduledTaskId11_;
std::string scheduledTaskName6_;
std::string scheduledTaskId16_;
std::string scheduledTaskName3_;
std::string scheduledTaskId17_;
std::string scheduledTaskName4_;
std::string scheduledTaskId14_;
std::string scheduledTaskName1_;
std::string scheduledTaskId15_;
std::string scheduledTaskName2_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string scheduledAction18_;
std::string scheduledAction19_;
std::string scheduledAction16_;
std::string scheduledAction17_;
std::string scheduledAction14_;
std::string scheduledAction15_;
std::string scheduledAction12_;
std::string scheduledAction13_;
std::string scheduledAction10_;
std::string scheduledAction11_;
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DESCRIBESCHEDULEDTASKSREQUEST_H_

View File

@@ -45,8 +45,8 @@ namespace AlibabaCloud
int launchExpirationTime; int launchExpirationTime;
int minValue; int minValue;
std::string scheduledAction; std::string scheduledAction;
std::string recurrenceEndTime;
std::string recurrenceValue; std::string recurrenceValue;
std::string recurrenceEndTime;
bool taskEnabled; bool taskEnabled;
}; };

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ESS_MODEL_DETACHALBSERVERGROUPSREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DETACHALBSERVERGROUPSREQUEST_H_
#include <alibabacloud/ess/EssExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ess {
namespace Model {
class ALIBABACLOUD_ESS_EXPORT DetachAlbServerGroupsRequest : public RpcServiceRequest {
public:
struct AlbServerGroup {
std::string albServerGroupId;
int port;
};
DetachAlbServerGroupsRequest();
~DetachAlbServerGroupsRequest();
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getScalingGroupId() const;
void setScalingGroupId(const std::string &scalingGroupId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::vector<AlbServerGroup> getAlbServerGroup() const;
void setAlbServerGroup(const std::vector<AlbServerGroup> &albServerGroup);
bool getForceDetach() const;
void setForceDetach(bool forceDetach);
private:
std::string clientToken_;
std::string scalingGroupId_;
std::string accessKeyId_;
std::string regionId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::vector<AlbServerGroup> albServerGroup_;
bool forceDetach_;
};
} // namespace Model
} // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_DETACHALBSERVERGROUPSREQUEST_H_

View File

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

View File

@@ -1,66 +1,66 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DETACHDBINSTANCESREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DETACHDBINSTANCESREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DETACHDBINSTANCESREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DETACHDBINSTANCESREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DetachDBInstancesRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DetachDBInstancesRequest : public RpcServiceRequest DetachDBInstancesRequest();
{ ~DetachDBInstancesRequest();
std::string getClientToken() const;
public: void setClientToken(const std::string &clientToken);
DetachDBInstancesRequest(); std::string getScalingGroupId() const;
~DetachDBInstancesRequest(); void setScalingGroupId(const std::string &scalingGroupId);
std::string getAccessKeyId() const;
std::string getClientToken()const; void setAccessKeyId(const std::string &accessKeyId);
void setClientToken(const std::string& clientToken); std::string getRegionId() const;
std::string getScalingGroupId()const; void setRegionId(const std::string &regionId);
void setScalingGroupId(const std::string& scalingGroupId); bool getRemoveSecurityGroup() const;
std::string getAccessKeyId()const; void setRemoveSecurityGroup(bool removeSecurityGroup);
void setAccessKeyId(const std::string& accessKeyId); std::string getResourceOwnerAccount() const;
std::string getResourceOwnerAccount()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::vector<std::string> getDBInstance() const;
std::vector<std::string> getDBInstance()const; void setDBInstance(const std::vector<std::string> &dBInstance);
void setDBInstance(const std::vector<std::string>& dBInstance); long getOwnerId() const;
long getOwnerId()const; void setOwnerId(long ownerId);
void setOwnerId(long ownerId); bool getForceDetach() const;
bool getForceDetach()const; void setForceDetach(bool forceDetach);
void setForceDetach(bool forceDetach);
private:
private: std::string clientToken_;
std::string clientToken_; std::string scalingGroupId_;
std::string scalingGroupId_; std::string accessKeyId_;
std::string accessKeyId_; std::string regionId_;
std::string resourceOwnerAccount_; bool removeSecurityGroup_;
std::vector<std::string> dBInstance_; std::string resourceOwnerAccount_;
long ownerId_; std::vector<std::string> dBInstance_;
bool forceDetach_; long ownerId_;
bool forceDetach_;
}; };
} } // namespace Model
} } // namespace Ess
} } // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_DETACHDBINSTANCESREQUEST_H_ #endif // !ALIBABACLOUD_ESS_MODEL_DETACHDBINSTANCESREQUEST_H_

View File

@@ -1,72 +1,75 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DETACHINSTANCESREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DETACHINSTANCESREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DETACHINSTANCESREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DETACHINSTANCESREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DetachInstancesRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DetachInstancesRequest : public RpcServiceRequest DetachInstancesRequest();
{ ~DetachInstancesRequest();
long getResourceOwnerId() const;
public: void setResourceOwnerId(long resourceOwnerId);
DetachInstancesRequest(); std::string getClientToken() const;
~DetachInstancesRequest(); void setClientToken(const std::string &clientToken);
std::string getScalingGroupId() const;
long getResourceOwnerId()const; void setScalingGroupId(const std::string &scalingGroupId);
void setResourceOwnerId(long resourceOwnerId); std::string getAccessKeyId() const;
std::string getScalingGroupId()const; void setAccessKeyId(const std::string &accessKeyId);
void setScalingGroupId(const std::string& scalingGroupId); bool getDecreaseDesiredCapacity() const;
std::string getAccessKeyId()const; void setDecreaseDesiredCapacity(bool decreaseDesiredCapacity);
void setAccessKeyId(const std::string& accessKeyId); bool getIgnoreInvalidInstance() const;
bool getDecreaseDesiredCapacity()const; void setIgnoreInvalidInstance(bool ignoreInvalidInstance);
void setDecreaseDesiredCapacity(bool decreaseDesiredCapacity); std::string getResourceOwnerAccount() const;
std::string getResourceOwnerAccount()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getOwnerAccount() const;
std::string getOwnerAccount()const; void setOwnerAccount(const std::string &ownerAccount);
void setOwnerAccount(const std::string& ownerAccount); long getOwnerId() const;
long getOwnerId()const; void setOwnerId(long ownerId);
void setOwnerId(long ownerId); std::string getDetachOption() const;
std::vector<std::string> getInstanceId()const; void setDetachOption(const std::string &detachOption);
void setInstanceId(const std::vector<std::string>& instanceId); std::vector<std::string> getInstanceId() const;
std::string getDetachOption()const; void setInstanceId(const std::vector<std::string> &instanceId);
void setDetachOption(const std::string& detachOption); bool getLifecycleHook() const;
void setLifecycleHook(bool lifecycleHook);
private:
long resourceOwnerId_; private:
std::string scalingGroupId_; long resourceOwnerId_;
std::string accessKeyId_; std::string clientToken_;
bool decreaseDesiredCapacity_; std::string scalingGroupId_;
std::string resourceOwnerAccount_; std::string accessKeyId_;
std::string ownerAccount_; bool decreaseDesiredCapacity_;
long ownerId_; bool ignoreInvalidInstance_;
std::vector<std::string> instanceId_; std::string resourceOwnerAccount_;
std::string detachOption_; std::string ownerAccount_;
long ownerId_;
}; std::string detachOption_;
} std::vector<std::string> instanceId_;
} bool lifecycleHook_;
} };
#endif // !ALIBABACLOUD_ESS_MODEL_DETACHINSTANCESREQUEST_H_ } // namespace Model
} // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_DETACHINSTANCESREQUEST_H_

View File

@@ -1,66 +1,66 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DETACHLOADBALANCERSREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DETACHLOADBALANCERSREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DETACHLOADBALANCERSREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DETACHLOADBALANCERSREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DetachLoadBalancersRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DetachLoadBalancersRequest : public RpcServiceRequest DetachLoadBalancersRequest();
{ ~DetachLoadBalancersRequest();
std::string getClientToken() const;
public: void setClientToken(const std::string &clientToken);
DetachLoadBalancersRequest(); std::string getScalingGroupId() const;
~DetachLoadBalancersRequest(); void setScalingGroupId(const std::string &scalingGroupId);
std::string getAccessKeyId() const;
std::string getClientToken()const; void setAccessKeyId(const std::string &accessKeyId);
void setClientToken(const std::string& clientToken); std::vector<std::string> getLoadBalancer() const;
std::string getScalingGroupId()const; void setLoadBalancer(const std::vector<std::string> &loadBalancer);
void setScalingGroupId(const std::string& scalingGroupId); std::string getRegionId() const;
std::string getAccessKeyId()const; void setRegionId(const std::string &regionId);
void setAccessKeyId(const std::string& accessKeyId); std::string getResourceOwnerAccount() const;
std::vector<std::string> getLoadBalancer()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setLoadBalancer(const std::vector<std::string>& loadBalancer); long getOwnerId() const;
std::string getResourceOwnerAccount()const; void setOwnerId(long ownerId);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); bool getAsync() const;
long getOwnerId()const; void setAsync(bool async);
void setOwnerId(long ownerId); bool getForceDetach() const;
bool getForceDetach()const; void setForceDetach(bool forceDetach);
void setForceDetach(bool forceDetach);
private:
private: std::string clientToken_;
std::string clientToken_; std::string scalingGroupId_;
std::string scalingGroupId_; std::string accessKeyId_;
std::string accessKeyId_; std::vector<std::string> loadBalancer_;
std::vector<std::string> loadBalancer_; std::string regionId_;
std::string resourceOwnerAccount_; std::string resourceOwnerAccount_;
long ownerId_; long ownerId_;
bool forceDetach_; bool async_;
bool forceDetach_;
}; };
} } // namespace Model
} } // namespace Ess
} } // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_DETACHLOADBALANCERSREQUEST_H_ #endif // !ALIBABACLOUD_ESS_MODEL_DETACHLOADBALANCERSREQUEST_H_

View File

@@ -37,10 +37,12 @@ namespace AlibabaCloud
DetachLoadBalancersResult(); DetachLoadBalancersResult();
explicit DetachLoadBalancersResult(const std::string &payload); explicit DetachLoadBalancersResult(const std::string &payload);
~DetachLoadBalancersResult(); ~DetachLoadBalancersResult();
std::string getScalingActivityId()const;
protected: protected:
void parse(const std::string &payload); void parse(const std::string &payload);
private: private:
std::string scalingActivityId_;
}; };
} }

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ESS_MODEL_DETACHSERVERGROUPSREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DETACHSERVERGROUPSREQUEST_H_
#include <alibabacloud/ess/EssExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ess {
namespace Model {
class ALIBABACLOUD_ESS_EXPORT DetachServerGroupsRequest : public RpcServiceRequest {
public:
struct ServerGroup {
std::string serverGroupId;
int port;
std::string type;
};
DetachServerGroupsRequest();
~DetachServerGroupsRequest();
std::string getClientToken() const;
void setClientToken(const std::string &clientToken);
std::string getScalingGroupId() const;
void setScalingGroupId(const std::string &scalingGroupId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::vector<ServerGroup> getServerGroup() const;
void setServerGroup(const std::vector<ServerGroup> &serverGroup);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
long getOwnerId() const;
void setOwnerId(long ownerId);
bool getForceDetach() const;
void setForceDetach(bool forceDetach);
private:
std::string clientToken_;
std::string scalingGroupId_;
std::string accessKeyId_;
std::string regionId_;
std::vector<ServerGroup> serverGroup_;
std::string resourceOwnerAccount_;
long ownerId_;
bool forceDetach_;
};
} // namespace Model
} // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_DETACHSERVERGROUPSREQUEST_H_

View File

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

View File

@@ -1,80 +1,71 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DETACHVSERVERGROUPSREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DETACHVSERVERGROUPSREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DETACHVSERVERGROUPSREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DETACHVSERVERGROUPSREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DetachVServerGroupsRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DetachVServerGroupsRequest : public RpcServiceRequest struct VServerGroup {
{ std::string loadBalancerId;
public: struct VServerGroupAttribute {
struct VServerGroup std::string vServerGroupId;
{ int port;
std::string loadBalancerId; };
struct VServerGroupAttribute std::vector<VServerGroupAttribute> vServerGroupAttribute;
{ };
std::string vServerGroupId; DetachVServerGroupsRequest();
int port; ~DetachVServerGroupsRequest();
}; std::string getClientToken() const;
std::vector<VServerGroupAttribute> vServerGroupAttribute; void setClientToken(const std::string &clientToken);
}; std::string getScalingGroupId() const;
void setScalingGroupId(const std::string &scalingGroupId);
public: std::string getAccessKeyId() const;
DetachVServerGroupsRequest(); void setAccessKeyId(const std::string &accessKeyId);
~DetachVServerGroupsRequest(); std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getClientToken()const; std::string getResourceOwnerAccount() const;
void setClientToken(const std::string& clientToken); void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getScalingGroupId()const; long getOwnerId() const;
void setScalingGroupId(const std::string& scalingGroupId); void setOwnerId(long ownerId);
std::string getAccessKeyId()const; bool getForceDetach() const;
void setAccessKeyId(const std::string& accessKeyId); void setForceDetach(bool forceDetach);
std::string getRegionId()const; std::vector<VServerGroup> getVServerGroup() const;
void setRegionId(const std::string& regionId); void setVServerGroup(const std::vector<VServerGroup> &vServerGroup);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); private:
long getOwnerId()const; std::string clientToken_;
void setOwnerId(long ownerId); std::string scalingGroupId_;
bool getForceDetach()const; std::string accessKeyId_;
void setForceDetach(bool forceDetach); std::string regionId_;
std::vector<VServerGroup> getVServerGroup()const; std::string resourceOwnerAccount_;
void setVServerGroup(const std::vector<VServerGroup>& vServerGroup); long ownerId_;
bool forceDetach_;
private: std::vector<VServerGroup> vServerGroup_;
std::string clientToken_; };
std::string scalingGroupId_; } // namespace Model
std::string accessKeyId_; } // namespace Ess
std::string regionId_; } // namespace AlibabaCloud
std::string resourceOwnerAccount_; #endif // !ALIBABACLOUD_ESS_MODEL_DETACHVSERVERGROUPSREQUEST_H_
long ownerId_;
bool forceDetach_;
std::vector<VServerGroup> vServerGroup_;
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DETACHVSERVERGROUPSREQUEST_H_

View File

@@ -1,60 +1,54 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DISABLEALARMREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DISABLEALARMREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DISABLEALARMREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DISABLEALARMREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DisableAlarmRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DisableAlarmRequest : public RpcServiceRequest DisableAlarmRequest();
{ ~DisableAlarmRequest();
std::string getAccessKeyId() const;
public: void setAccessKeyId(const std::string &accessKeyId);
DisableAlarmRequest(); std::string getRegionId() const;
~DisableAlarmRequest(); void setRegionId(const std::string &regionId);
std::string getResourceOwnerAccount() const;
std::string getResourceOwnerAccount()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); long getOwnerId() const;
long getOwnerId()const; void setOwnerId(long ownerId);
void setOwnerId(long ownerId); std::string getAlarmTaskId() const;
std::string getAlarmTaskId()const; void setAlarmTaskId(const std::string &alarmTaskId);
void setAlarmTaskId(const std::string& alarmTaskId);
std::string getAccessKeyId()const; private:
void setAccessKeyId(const std::string& accessKeyId); std::string accessKeyId_;
std::string getRegionId()const; std::string regionId_;
void setRegionId(const std::string& regionId); std::string resourceOwnerAccount_;
long ownerId_;
private: std::string alarmTaskId_;
std::string resourceOwnerAccount_; };
long ownerId_; } // namespace Model
std::string alarmTaskId_; } // namespace Ess
std::string accessKeyId_; } // namespace AlibabaCloud
std::string regionId_; #endif // !ALIBABACLOUD_ESS_MODEL_DISABLEALARMREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DISABLEALARMREQUEST_H_

View File

@@ -1,63 +1,57 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_DISABLESCALINGGROUPREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_DISABLESCALINGGROUPREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_DISABLESCALINGGROUPREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_DISABLESCALINGGROUPREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT DisableScalingGroupRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT DisableScalingGroupRequest : public RpcServiceRequest DisableScalingGroupRequest();
{ ~DisableScalingGroupRequest();
long getResourceOwnerId() const;
public: void setResourceOwnerId(long resourceOwnerId);
DisableScalingGroupRequest(); std::string getScalingGroupId() const;
~DisableScalingGroupRequest(); void setScalingGroupId(const std::string &scalingGroupId);
std::string getAccessKeyId() const;
long getResourceOwnerId()const; void setAccessKeyId(const std::string &accessKeyId);
void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount() const;
std::string getResourceOwnerAccount()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getOwnerAccount() const;
std::string getScalingGroupId()const; void setOwnerAccount(const std::string &ownerAccount);
void setScalingGroupId(const std::string& scalingGroupId); long getOwnerId() const;
std::string getOwnerAccount()const; void setOwnerId(long ownerId);
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const; private:
void setOwnerId(long ownerId); long resourceOwnerId_;
std::string getAccessKeyId()const; std::string scalingGroupId_;
void setAccessKeyId(const std::string& accessKeyId); std::string accessKeyId_;
std::string resourceOwnerAccount_;
private: std::string ownerAccount_;
long resourceOwnerId_; long ownerId_;
std::string resourceOwnerAccount_; };
std::string scalingGroupId_; } // namespace Model
std::string ownerAccount_; } // namespace Ess
long ownerId_; } // namespace AlibabaCloud
std::string accessKeyId_; #endif // !ALIBABACLOUD_ESS_MODEL_DISABLESCALINGGROUPREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_DISABLESCALINGGROUPREQUEST_H_

View File

@@ -1,60 +1,54 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_ENABLEALARMREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_ENABLEALARMREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_ENABLEALARMREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_ENABLEALARMREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT EnableAlarmRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT EnableAlarmRequest : public RpcServiceRequest EnableAlarmRequest();
{ ~EnableAlarmRequest();
std::string getAccessKeyId() const;
public: void setAccessKeyId(const std::string &accessKeyId);
EnableAlarmRequest(); std::string getRegionId() const;
~EnableAlarmRequest(); void setRegionId(const std::string &regionId);
std::string getResourceOwnerAccount() const;
std::string getResourceOwnerAccount()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); long getOwnerId() const;
long getOwnerId()const; void setOwnerId(long ownerId);
void setOwnerId(long ownerId); std::string getAlarmTaskId() const;
std::string getAlarmTaskId()const; void setAlarmTaskId(const std::string &alarmTaskId);
void setAlarmTaskId(const std::string& alarmTaskId);
std::string getAccessKeyId()const; private:
void setAccessKeyId(const std::string& accessKeyId); std::string accessKeyId_;
std::string getRegionId()const; std::string regionId_;
void setRegionId(const std::string& regionId); std::string resourceOwnerAccount_;
long ownerId_;
private: std::string alarmTaskId_;
std::string resourceOwnerAccount_; };
long ownerId_; } // namespace Model
std::string alarmTaskId_; } // namespace Ess
std::string accessKeyId_; } // namespace AlibabaCloud
std::string regionId_; #endif // !ALIBABACLOUD_ESS_MODEL_ENABLEALARMREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_ENABLEALARMREQUEST_H_

View File

@@ -1,192 +1,82 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_ENABLESCALINGGROUPREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_ENABLESCALINGGROUPREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_ENABLESCALINGGROUPREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_ENABLESCALINGGROUPREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT EnableScalingGroupRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT EnableScalingGroupRequest : public RpcServiceRequest struct LaunchTemplateOverride {
{ int weightedCapacity;
std::string instanceType;
public: };
EnableScalingGroupRequest(); EnableScalingGroupRequest();
~EnableScalingGroupRequest(); ~EnableScalingGroupRequest();
long getResourceOwnerId() const;
int getLoadBalancerWeight6()const; void setResourceOwnerId(long resourceOwnerId);
void setLoadBalancerWeight6(int loadBalancerWeight6); std::string getScalingGroupId() const;
int getLoadBalancerWeight11()const; void setScalingGroupId(const std::string &scalingGroupId);
void setLoadBalancerWeight11(int loadBalancerWeight11); std::string getActiveScalingConfigurationId() const;
int getLoadBalancerWeight7()const; void setActiveScalingConfigurationId(const std::string &activeScalingConfigurationId);
void setLoadBalancerWeight7(int loadBalancerWeight7); std::string getAccessKeyId() const;
int getLoadBalancerWeight12()const; void setAccessKeyId(const std::string &accessKeyId);
void setLoadBalancerWeight12(int loadBalancerWeight12); std::string getRegionId() const;
long getResourceOwnerId()const; void setRegionId(const std::string &regionId);
void setResourceOwnerId(long resourceOwnerId); std::string getLaunchTemplateId() const;
int getLoadBalancerWeight8()const; void setLaunchTemplateId(const std::string &launchTemplateId);
void setLoadBalancerWeight8(int loadBalancerWeight8); std::string getResourceOwnerAccount() const;
int getLoadBalancerWeight9()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setLoadBalancerWeight9(int loadBalancerWeight9); std::vector<LaunchTemplateOverride> getLaunchTemplateOverride() const;
int getLoadBalancerWeight10()const; void setLaunchTemplateOverride(const std::vector<LaunchTemplateOverride> &launchTemplateOverride);
void setLoadBalancerWeight10(int loadBalancerWeight10); std::string getOwnerAccount() const;
int getLoadBalancerWeight2()const; void setOwnerAccount(const std::string &ownerAccount);
void setLoadBalancerWeight2(int loadBalancerWeight2); long getOwnerId() const;
int getLoadBalancerWeight15()const; void setOwnerId(long ownerId);
void setLoadBalancerWeight15(int loadBalancerWeight15); std::string getLaunchTemplateVersion() const;
int getLoadBalancerWeight3()const; void setLaunchTemplateVersion(const std::string &launchTemplateVersion);
void setLoadBalancerWeight3(int loadBalancerWeight3); std::vector<std::string> getInstanceId() const;
int getLoadBalancerWeight16()const; void setInstanceId(const std::vector<std::string> &instanceId);
void setLoadBalancerWeight16(int loadBalancerWeight16); std::vector<int> getLoadBalancerWeight() const;
int getLoadBalancerWeight4()const; void setLoadBalancerWeight(const std::vector<int> &loadBalancerWeight);
void setLoadBalancerWeight4(int loadBalancerWeight4);
int getLoadBalancerWeight13()const; private:
void setLoadBalancerWeight13(int loadBalancerWeight13); long resourceOwnerId_;
int getLoadBalancerWeight5()const; std::string scalingGroupId_;
void setLoadBalancerWeight5(int loadBalancerWeight5); std::string activeScalingConfigurationId_;
int getLoadBalancerWeight14()const; std::string accessKeyId_;
void setLoadBalancerWeight14(int loadBalancerWeight14); std::string regionId_;
std::string getActiveScalingConfigurationId()const; std::string launchTemplateId_;
void setActiveScalingConfigurationId(const std::string& activeScalingConfigurationId); std::string resourceOwnerAccount_;
int getLoadBalancerWeight1()const; std::vector<LaunchTemplateOverride> launchTemplateOverride_;
void setLoadBalancerWeight1(int loadBalancerWeight1); std::string ownerAccount_;
std::string getInstanceId1()const; long ownerId_;
void setInstanceId1(const std::string& instanceId1); std::string launchTemplateVersion_;
int getLoadBalancerWeight20()const; std::vector<std::string> instanceId_;
void setLoadBalancerWeight20(int loadBalancerWeight20); std::vector<int> loadBalancerWeight_;
std::string getInstanceId3()const; };
void setInstanceId3(const std::string& instanceId3); } // namespace Model
std::string getLaunchTemplateId()const; } // namespace Ess
void setLaunchTemplateId(const std::string& launchTemplateId); } // namespace AlibabaCloud
std::string getInstanceId2()const; #endif // !ALIBABACLOUD_ESS_MODEL_ENABLESCALINGGROUPREQUEST_H_
void setInstanceId2(const std::string& instanceId2);
std::string getInstanceId5()const;
void setInstanceId5(const std::string& instanceId5);
std::string getInstanceId4()const;
void setInstanceId4(const std::string& instanceId4);
std::string getInstanceId7()const;
void setInstanceId7(const std::string& instanceId7);
std::string getInstanceId6()const;
void setInstanceId6(const std::string& instanceId6);
std::string getInstanceId9()const;
void setInstanceId9(const std::string& instanceId9);
std::string getInstanceId8()const;
void setInstanceId8(const std::string& instanceId8);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getLoadBalancerWeight19()const;
void setLoadBalancerWeight19(int loadBalancerWeight19);
int getLoadBalancerWeight17()const;
void setLoadBalancerWeight17(int loadBalancerWeight17);
int getLoadBalancerWeight18()const;
void setLoadBalancerWeight18(int loadBalancerWeight18);
std::string getInstanceId10()const;
void setInstanceId10(const std::string& instanceId10);
std::string getInstanceId12()const;
void setInstanceId12(const std::string& instanceId12);
std::string getInstanceId11()const;
void setInstanceId11(const std::string& instanceId11);
std::string getScalingGroupId()const;
void setScalingGroupId(const std::string& scalingGroupId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId20()const;
void setInstanceId20(const std::string& instanceId20);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getLaunchTemplateVersion()const;
void setLaunchTemplateVersion(const std::string& launchTemplateVersion);
std::string getInstanceId18()const;
void setInstanceId18(const std::string& instanceId18);
std::string getInstanceId17()const;
void setInstanceId17(const std::string& instanceId17);
std::string getInstanceId19()const;
void setInstanceId19(const std::string& instanceId19);
std::string getInstanceId14()const;
void setInstanceId14(const std::string& instanceId14);
std::string getInstanceId13()const;
void setInstanceId13(const std::string& instanceId13);
std::string getInstanceId16()const;
void setInstanceId16(const std::string& instanceId16);
std::string getInstanceId15()const;
void setInstanceId15(const std::string& instanceId15);
private:
int loadBalancerWeight6_;
int loadBalancerWeight11_;
int loadBalancerWeight7_;
int loadBalancerWeight12_;
long resourceOwnerId_;
int loadBalancerWeight8_;
int loadBalancerWeight9_;
int loadBalancerWeight10_;
int loadBalancerWeight2_;
int loadBalancerWeight15_;
int loadBalancerWeight3_;
int loadBalancerWeight16_;
int loadBalancerWeight4_;
int loadBalancerWeight13_;
int loadBalancerWeight5_;
int loadBalancerWeight14_;
std::string activeScalingConfigurationId_;
int loadBalancerWeight1_;
std::string instanceId1_;
int loadBalancerWeight20_;
std::string instanceId3_;
std::string launchTemplateId_;
std::string instanceId2_;
std::string instanceId5_;
std::string instanceId4_;
std::string instanceId7_;
std::string instanceId6_;
std::string instanceId9_;
std::string instanceId8_;
long ownerId_;
int loadBalancerWeight19_;
int loadBalancerWeight17_;
int loadBalancerWeight18_;
std::string instanceId10_;
std::string instanceId12_;
std::string instanceId11_;
std::string scalingGroupId_;
std::string accessKeyId_;
std::string instanceId20_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string launchTemplateVersion_;
std::string instanceId18_;
std::string instanceId17_;
std::string instanceId19_;
std::string instanceId14_;
std::string instanceId13_;
std::string instanceId16_;
std::string instanceId15_;
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_ENABLESCALINGGROUPREQUEST_H_

View File

@@ -1,63 +1,60 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_ENTERSTANDBYREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_ENTERSTANDBYREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_ENTERSTANDBYREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_ENTERSTANDBYREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT EnterStandbyRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT EnterStandbyRequest : public RpcServiceRequest EnterStandbyRequest();
{ ~EnterStandbyRequest();
std::string getClientToken() const;
public: void setClientToken(const std::string &clientToken);
EnterStandbyRequest(); std::string getScalingGroupId() const;
~EnterStandbyRequest(); void setScalingGroupId(const std::string &scalingGroupId);
std::string getAccessKeyId() const;
std::string getClientToken()const; void setAccessKeyId(const std::string &accessKeyId);
void setClientToken(const std::string& clientToken); std::string getResourceOwnerAccount() const;
std::string getScalingGroupId()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setScalingGroupId(const std::string& scalingGroupId); long getOwnerId() const;
std::string getAccessKeyId()const; void setOwnerId(long ownerId);
void setAccessKeyId(const std::string& accessKeyId); bool getAsync() const;
std::string getResourceOwnerAccount()const; void setAsync(bool async);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::vector<std::string> getInstanceId() const;
long getOwnerId()const; void setInstanceId(const std::vector<std::string> &instanceId);
void setOwnerId(long ownerId);
std::vector<std::string> getInstanceId()const; private:
void setInstanceId(const std::vector<std::string>& instanceId); std::string clientToken_;
std::string scalingGroupId_;
private: std::string accessKeyId_;
std::string clientToken_; std::string resourceOwnerAccount_;
std::string scalingGroupId_; long ownerId_;
std::string accessKeyId_; bool async_;
std::string resourceOwnerAccount_; std::vector<std::string> instanceId_;
long ownerId_; };
std::vector<std::string> instanceId_; } // namespace Model
} // namespace Ess
}; } // namespace AlibabaCloud
} #endif // !ALIBABACLOUD_ESS_MODEL_ENTERSTANDBYREQUEST_H_
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_ENTERSTANDBYREQUEST_H_

View File

@@ -37,10 +37,12 @@ namespace AlibabaCloud
EnterStandbyResult(); EnterStandbyResult();
explicit EnterStandbyResult(const std::string &payload); explicit EnterStandbyResult(const std::string &payload);
~EnterStandbyResult(); ~EnterStandbyResult();
std::string getScalingActivityId()const;
protected: protected:
void parse(const std::string &payload); void parse(const std::string &payload);
private: private:
std::string scalingActivityId_;
}; };
} }

View File

@@ -1,72 +1,69 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_EXECUTESCALINGRULEREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_EXECUTESCALINGRULEREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_EXECUTESCALINGRULEREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_EXECUTESCALINGRULEREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT ExecuteScalingRuleRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT ExecuteScalingRuleRequest : public RpcServiceRequest ExecuteScalingRuleRequest();
{ ~ExecuteScalingRuleRequest();
long getResourceOwnerId() const;
public: void setResourceOwnerId(long resourceOwnerId);
ExecuteScalingRuleRequest(); std::string getClientToken() const;
~ExecuteScalingRuleRequest(); void setClientToken(const std::string &clientToken);
std::string getAccessKeyId() const;
long getResourceOwnerId()const; void setAccessKeyId(const std::string &accessKeyId);
void setResourceOwnerId(long resourceOwnerId); std::string getRegionId() const;
std::string getClientToken()const; void setRegionId(const std::string &regionId);
void setClientToken(const std::string& clientToken); float getBreachThreshold() const;
std::string getAccessKeyId()const; void setBreachThreshold(float breachThreshold);
void setAccessKeyId(const std::string& accessKeyId); std::string getResourceOwnerAccount() const;
float getBreachThreshold()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setBreachThreshold(float breachThreshold); std::string getOwnerAccount() const;
std::string getResourceOwnerAccount()const; void setOwnerAccount(const std::string &ownerAccount);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); long getOwnerId() const;
std::string getOwnerAccount()const; void setOwnerId(long ownerId);
void setOwnerAccount(const std::string& ownerAccount); float getMetricValue() const;
long getOwnerId()const; void setMetricValue(float metricValue);
void setOwnerId(long ownerId); std::string getScalingRuleAri() const;
float getMetricValue()const; void setScalingRuleAri(const std::string &scalingRuleAri);
void setMetricValue(float metricValue);
std::string getScalingRuleAri()const; private:
void setScalingRuleAri(const std::string& scalingRuleAri); long resourceOwnerId_;
std::string clientToken_;
private: std::string accessKeyId_;
long resourceOwnerId_; std::string regionId_;
std::string clientToken_; float breachThreshold_;
std::string accessKeyId_; std::string resourceOwnerAccount_;
float breachThreshold_; std::string ownerAccount_;
std::string resourceOwnerAccount_; long ownerId_;
std::string ownerAccount_; float metricValue_;
long ownerId_; std::string scalingRuleAri_;
float metricValue_; };
std::string scalingRuleAri_; } // namespace Model
} // namespace Ess
}; } // namespace AlibabaCloud
} #endif // !ALIBABACLOUD_ESS_MODEL_EXECUTESCALINGRULEREQUEST_H_
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_EXECUTESCALINGRULEREQUEST_H_

View File

@@ -1,63 +1,63 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_EXITSTANDBYREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_EXITSTANDBYREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_EXITSTANDBYREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_EXITSTANDBYREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT ExitStandbyRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT ExitStandbyRequest : public RpcServiceRequest ExitStandbyRequest();
{ ~ExitStandbyRequest();
std::string getClientToken() const;
public: void setClientToken(const std::string &clientToken);
ExitStandbyRequest(); std::string getScalingGroupId() const;
~ExitStandbyRequest(); void setScalingGroupId(const std::string &scalingGroupId);
std::string getAccessKeyId() const;
std::string getClientToken()const; void setAccessKeyId(const std::string &accessKeyId);
void setClientToken(const std::string& clientToken); std::string getRegionId() const;
std::string getScalingGroupId()const; void setRegionId(const std::string &regionId);
void setScalingGroupId(const std::string& scalingGroupId); std::string getResourceOwnerAccount() const;
std::string getAccessKeyId()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setAccessKeyId(const std::string& accessKeyId); long getOwnerId() const;
std::string getResourceOwnerAccount()const; void setOwnerId(long ownerId);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); bool getAsync() const;
long getOwnerId()const; void setAsync(bool async);
void setOwnerId(long ownerId); std::vector<std::string> getInstanceId() const;
std::vector<std::string> getInstanceId()const; void setInstanceId(const std::vector<std::string> &instanceId);
void setInstanceId(const std::vector<std::string>& instanceId);
private:
private: std::string clientToken_;
std::string clientToken_; std::string scalingGroupId_;
std::string scalingGroupId_; std::string accessKeyId_;
std::string accessKeyId_; std::string regionId_;
std::string resourceOwnerAccount_; std::string resourceOwnerAccount_;
long ownerId_; long ownerId_;
std::vector<std::string> instanceId_; bool async_;
std::vector<std::string> instanceId_;
}; };
} } // namespace Model
} } // namespace Ess
} } // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_EXITSTANDBYREQUEST_H_ #endif // !ALIBABACLOUD_ESS_MODEL_EXITSTANDBYREQUEST_H_

View File

@@ -37,10 +37,12 @@ namespace AlibabaCloud
ExitStandbyResult(); ExitStandbyResult();
explicit ExitStandbyResult(const std::string &payload); explicit ExitStandbyResult(const std::string &payload);
~ExitStandbyResult(); ~ExitStandbyResult();
std::string getScalingActivityId()const;
protected: protected:
void parse(const std::string &payload); void parse(const std::string &payload);
private: private:
std::string scalingActivityId_;
}; };
} }

View File

@@ -1,66 +1,60 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_LISTTAGKEYSREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_LISTTAGKEYSREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_LISTTAGKEYSREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_LISTTAGKEYSREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT ListTagKeysRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT ListTagKeysRequest : public RpcServiceRequest ListTagKeysRequest();
{ ~ListTagKeysRequest();
std::string getAccessKeyId() const;
public: void setAccessKeyId(const std::string &accessKeyId);
ListTagKeysRequest(); std::string getRegionId() const;
~ListTagKeysRequest(); void setRegionId(const std::string &regionId);
std::string getNextToken() const;
std::string getAccessKeyId()const; void setNextToken(const std::string &nextToken);
void setAccessKeyId(const std::string& accessKeyId); int getPageSize() const;
std::string getRegionId()const; void setPageSize(int pageSize);
void setRegionId(const std::string& regionId); std::string getResourceOwnerAccount() const;
std::string getNextToken()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setNextToken(const std::string& nextToken); long getOwnerId() const;
int getPageSize()const; void setOwnerId(long ownerId);
void setPageSize(int pageSize); std::string getResourceType() const;
std::string getResourceOwnerAccount()const; void setResourceType(const std::string &resourceType);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const; private:
void setOwnerId(long ownerId); std::string accessKeyId_;
std::string getResourceType()const; std::string regionId_;
void setResourceType(const std::string& resourceType); std::string nextToken_;
int pageSize_;
private: std::string resourceOwnerAccount_;
std::string accessKeyId_; long ownerId_;
std::string regionId_; std::string resourceType_;
std::string nextToken_; };
int pageSize_; } // namespace Model
std::string resourceOwnerAccount_; } // namespace Ess
long ownerId_; } // namespace AlibabaCloud
std::string resourceType_; #endif // !ALIBABACLOUD_ESS_MODEL_LISTTAGKEYSREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_LISTTAGKEYSREQUEST_H_

View File

@@ -1,75 +1,67 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_LISTTAGRESOURCESREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_LISTTAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_LISTTAGRESOURCESREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_LISTTAGRESOURCESREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT ListTagResourcesRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT ListTagResourcesRequest : public RpcServiceRequest struct Tag {
{ std::string value;
public: std::string key;
struct Tag };
{ ListTagResourcesRequest();
std::string value; ~ListTagResourcesRequest();
std::string key; std::string getAccessKeyId() const;
}; void setAccessKeyId(const std::string &accessKeyId);
std::string getRegionId() const;
public: void setRegionId(const std::string &regionId);
ListTagResourcesRequest(); std::string getNextToken() const;
~ListTagResourcesRequest(); void setNextToken(const std::string &nextToken);
std::vector<Tag> getTag() const;
std::string getAccessKeyId()const; void setTag(const std::vector<Tag> &tag);
void setAccessKeyId(const std::string& accessKeyId); std::vector<std::string> getResourceId() const;
std::string getRegionId()const; void setResourceId(const std::vector<std::string> &resourceId);
void setRegionId(const std::string& regionId); std::string getResourceOwnerAccount() const;
std::string getNextToken()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setNextToken(const std::string& nextToken); long getOwnerId() const;
std::vector<Tag> getTag()const; void setOwnerId(long ownerId);
void setTag(const std::vector<Tag>& tag); std::string getResourceType() const;
std::vector<std::string> getResourceId()const; void setResourceType(const std::string &resourceType);
void setResourceId(const std::vector<std::string>& resourceId);
std::string getResourceOwnerAccount()const; private:
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string accessKeyId_;
long getOwnerId()const; std::string regionId_;
void setOwnerId(long ownerId); std::string nextToken_;
std::string getResourceType()const; std::vector<Tag> tag_;
void setResourceType(const std::string& resourceType); std::vector<std::string> resourceId_;
std::string resourceOwnerAccount_;
private: long ownerId_;
std::string accessKeyId_; std::string resourceType_;
std::string regionId_; };
std::string nextToken_; } // namespace Model
std::vector<Tag> tag_; } // namespace Ess
std::vector<std::string> resourceId_; } // namespace AlibabaCloud
std::string resourceOwnerAccount_; #endif // !ALIBABACLOUD_ESS_MODEL_LISTTAGRESOURCESREQUEST_H_
long ownerId_;
std::string resourceType_;
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_LISTTAGRESOURCESREQUEST_H_

View File

@@ -37,6 +37,7 @@ namespace AlibabaCloud
std::string resourceId; std::string resourceId;
std::string tagKey; std::string tagKey;
std::string resourceType; std::string resourceType;
bool propagate;
std::string tagValue; std::string tagValue;
}; };

View File

@@ -1,69 +1,63 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_LISTTAGVALUESREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_LISTTAGVALUESREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_LISTTAGVALUESREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_LISTTAGVALUESREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT ListTagValuesRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT ListTagValuesRequest : public RpcServiceRequest ListTagValuesRequest();
{ ~ListTagValuesRequest();
std::string getAccessKeyId() const;
public: void setAccessKeyId(const std::string &accessKeyId);
ListTagValuesRequest(); std::string getRegionId() const;
~ListTagValuesRequest(); void setRegionId(const std::string &regionId);
std::string getNextToken() const;
std::string getAccessKeyId()const; void setNextToken(const std::string &nextToken);
void setAccessKeyId(const std::string& accessKeyId); int getPageSize() const;
std::string getRegionId()const; void setPageSize(int pageSize);
void setRegionId(const std::string& regionId); std::string getKey() const;
std::string getNextToken()const; void setKey(const std::string &key);
void setNextToken(const std::string& nextToken); std::string getResourceOwnerAccount() const;
int getPageSize()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setPageSize(int pageSize); long getOwnerId() const;
std::string getKey()const; void setOwnerId(long ownerId);
void setKey(const std::string& key); std::string getResourceType() const;
std::string getResourceOwnerAccount()const; void setResourceType(const std::string &resourceType);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const; private:
void setOwnerId(long ownerId); std::string accessKeyId_;
std::string getResourceType()const; std::string regionId_;
void setResourceType(const std::string& resourceType); std::string nextToken_;
int pageSize_;
private: std::string key_;
std::string accessKeyId_; std::string resourceOwnerAccount_;
std::string regionId_; long ownerId_;
std::string nextToken_; std::string resourceType_;
int pageSize_; };
std::string key_; } // namespace Model
std::string resourceOwnerAccount_; } // namespace Ess
long ownerId_; } // namespace AlibabaCloud
std::string resourceType_; #endif // !ALIBABACLOUD_ESS_MODEL_LISTTAGVALUESREQUEST_H_
};
}
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_LISTTAGVALUESREQUEST_H_

View File

@@ -1,105 +1,107 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_MODIFYALARMREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_MODIFYALARMREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_MODIFYALARMREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_MODIFYALARMREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT ModifyAlarmRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT ModifyAlarmRequest : public RpcServiceRequest struct Dimension {
{ std::string dimensionValue;
public: std::string dimensionKey;
struct Dimension };
{ struct Expression {
std::string dimensionValue; int period;
std::string dimensionKey; float threshold;
}; std::string metricName;
std::string comparisonOperator;
public: std::string statistics;
ModifyAlarmRequest(); };
~ModifyAlarmRequest(); ModifyAlarmRequest();
~ModifyAlarmRequest();
std::string getMetricType()const; std::string getMetricType() const;
void setMetricType(const std::string& metricType); void setMetricType(const std::string &metricType);
std::string getDescription()const; std::string getDescription() const;
void setDescription(const std::string& description); void setDescription(const std::string &description);
std::vector<std::string> getAlarmAction()const; std::string getExpressionsLogicOperator() const;
void setAlarmAction(const std::vector<std::string>& alarmAction); void setExpressionsLogicOperator(const std::string &expressionsLogicOperator);
float getThreshold()const; std::vector<std::string> getAlarmAction() const;
void setThreshold(float threshold); void setAlarmAction(const std::vector<std::string> &alarmAction);
std::string getAccessKeyId()const; float getThreshold() const;
void setAccessKeyId(const std::string& accessKeyId); void setThreshold(float threshold);
std::string getEffective()const; std::string getEffective() const;
void setEffective(const std::string& effective); void setEffective(const std::string &effective);
std::string getRegionId()const; std::string getRegionId() const;
void setRegionId(const std::string& regionId); void setRegionId(const std::string &regionId);
int getEvaluationCount()const; int getEvaluationCount() const;
void setEvaluationCount(int evaluationCount); void setEvaluationCount(int evaluationCount);
std::string getMetricName()const; std::string getMetricName() const;
void setMetricName(const std::string& metricName); void setMetricName(const std::string &metricName);
std::vector<Dimension> getDimension()const; std::vector<Dimension> getDimension() const;
void setDimension(const std::vector<Dimension>& dimension); void setDimension(const std::vector<Dimension> &dimension);
int getPeriod()const; int getPeriod() const;
void setPeriod(int period); void setPeriod(int period);
std::string getResourceOwnerAccount()const; std::vector<Expression> getExpression() const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); void setExpression(const std::vector<Expression> &expression);
int getGroupId()const; std::string getResourceOwnerAccount() const;
void setGroupId(int groupId); void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
long getOwnerId()const; int getGroupId() const;
void setOwnerId(long ownerId); void setGroupId(int groupId);
std::string getAlarmTaskId()const; long getOwnerId() const;
void setAlarmTaskId(const std::string& alarmTaskId); void setOwnerId(long ownerId);
std::string getName()const; std::string getAlarmTaskId() const;
void setName(const std::string& name); void setAlarmTaskId(const std::string &alarmTaskId);
std::string getComparisonOperator()const; std::string getName() const;
void setComparisonOperator(const std::string& comparisonOperator); void setName(const std::string &name);
std::string getStatistics()const; std::string getComparisonOperator() const;
void setStatistics(const std::string& statistics); void setComparisonOperator(const std::string &comparisonOperator);
std::string getStatistics() const;
private: void setStatistics(const std::string &statistics);
std::string metricType_;
std::string description_; private:
std::vector<std::string> alarmAction_; std::string metricType_;
float threshold_; std::string description_;
std::string accessKeyId_; std::string expressionsLogicOperator_;
std::string effective_; std::vector<std::string> alarmAction_;
std::string regionId_; float threshold_;
int evaluationCount_; std::string effective_;
std::string metricName_; std::string regionId_;
std::vector<Dimension> dimension_; int evaluationCount_;
int period_; std::string metricName_;
std::string resourceOwnerAccount_; std::vector<Dimension> dimension_;
int groupId_; int period_;
long ownerId_; std::vector<Expression> expression_;
std::string alarmTaskId_; std::string resourceOwnerAccount_;
std::string name_; int groupId_;
std::string comparisonOperator_; long ownerId_;
std::string statistics_; std::string alarmTaskId_;
std::string name_;
}; std::string comparisonOperator_;
} std::string statistics_;
} };
} } // namespace Model
#endif // !ALIBABACLOUD_ESS_MODEL_MODIFYALARMREQUEST_H_ } // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_MODIFYALARMREQUEST_H_

View File

@@ -0,0 +1,337 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ESS_MODEL_MODIFYECISCALINGCONFIGURATIONREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_MODIFYECISCALINGCONFIGURATIONREQUEST_H_
#include <alibabacloud/ess/EssExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ess {
namespace Model {
class ALIBABACLOUD_ESS_EXPORT ModifyEciScalingConfigurationRequest : public RpcServiceRequest {
public:
struct Container {
bool stdin;
int lifecyclePostStartHandlerHttpGetPort;
std::string workingDir;
int readinessProbeHttpGetPort;
int livenessProbeHttpGetPort;
int lifecyclePreStopHandlerTcpSocketPort;
struct VolumeMount {
std::string mountPath;
bool readOnly;
std::string mountPropagation;
std::string name;
std::string subPath;
};
std::vector<VolumeMount> volumeMount;
std::string image;
float cpu;
std::string readinessProbeHttpGetPath;
int gpu;
bool stdinOnce;
std::string lifecyclePostStartHandlerTcpSocketHost;
int livenessProbeSuccessThreshold;
long securityContextRunAsUser;
int livenessProbePeriodSeconds;
int livenessProbeInitialDelaySeconds;
struct Port {
std::string protocol;
int port;
};
std::vector<Port> port;
std::string name;
std::string lifecyclePreStopHandlerTcpSocketHost;
bool securityContextReadOnlyRootFilesystem;
std::string lifecyclePreStopHandlerHttpGetHost;
float memory;
std::string lifecyclePreStopHandlerHttpGetScheme;
int lifecyclePostStartHandlerTcpSocketPort;
std::string lifecyclePreStopHandlerHttpGetPath;
std::string lifecyclePostStartHandlerHttpGetHost;
int readinessProbeFailureThreshold;
int readinessProbeSuccessThreshold;
std::string lifecyclePostStartHandlerHttpGetPath;
int readinessProbeInitialDelaySeconds;
std::string readinessProbeHttpGetScheme;
int lifecyclePreStopHandlerHttpGetPort;
std::string imagePullPolicy;
std::string livenessProbeHttpGetPath;
std::string lifecyclePostStartHandlerHttpGetScheme;
int livenessProbeTimeoutSeconds;
int livenessProbeTcpSocketPort;
int readinessProbePeriodSeconds;
struct EnvironmentVar {
std::string fieldRefFieldPath;
std::string value;
std::string key;
};
std::vector<EnvironmentVar> environmentVar;
bool tty;
int livenessProbeFailureThreshold;
int readinessProbeTimeoutSeconds;
int readinessProbeTcpSocketPort;
std::string livenessProbeHttpGetScheme;
};
struct HostAliase {
std::string ip;
};
struct Tag {
std::string value;
std::string key;
};
struct Volume {
std::string diskVolumeFsType;
std::string emptyDirVolumeSizeLimit;
std::string nFSVolumePath;
std::string diskVolumeDiskId;
std::string flexVolumeFsType;
std::string type;
std::string flexVolumeDriver;
std::string flexVolumeOptions;
std::string nFSVolumeServer;
std::string emptyDirVolumeMedium;
std::string hostPathVolumePath;
std::string name;
struct ConfigFileVolumeConfigFileToPath {
int mode;
std::string path;
std::string content;
};
std::vector<ConfigFileVolumeConfigFileToPath> configFileVolumeConfigFileToPath;
int diskVolumeDiskSize;
int configFileVolumeDefaultMode;
std::string hostPathVolumeType;
bool nFSVolumeReadOnly;
};
struct DnsConfigOption {
std::string name;
std::string value;
};
struct SecurityContextSysctl {
std::string name;
std::string value;
};
struct InitContainer {
std::string image;
struct InitContainerEnvironmentVar {
std::string fieldRefFieldPath;
std::string value;
std::string key;
};
std::vector<InitContainerEnvironmentVar> initContainerEnvironmentVar;
float memory;
std::string workingDir;
float cpu;
int gpu;
std::string imagePullPolicy;
long securityContextRunAsUser;
struct InitContainerPort {
std::string protocol;
int port;
};
std::vector<InitContainerPort> initContainerPort;
std::string name;
struct InitContainerVolumeMount {
std::string mountPath;
bool readOnly;
std::string mountPropagation;
std::string name;
std::string subPath;
};
std::vector<InitContainerVolumeMount> initContainerVolumeMount;
bool securityContextReadOnlyRootFilesystem;
};
struct ImageRegistryCredential {
std::string server;
std::string password;
std::string userName;
};
struct AcrRegistryInfo {
std::string instanceName;
std::string instanceId;
std::string regionId;
};
ModifyEciScalingConfigurationRequest();
~ModifyEciScalingConfigurationRequest();
std::vector<Container> getContainer() const;
void setContainer(const std::vector<Container> &container);
std::vector<std::string> getNtpServer() const;
void setNtpServer(const std::vector<std::string> &ntpServer);
float getSpotPriceLimit() const;
void setSpotPriceLimit(float spotPriceLimit);
bool getEnableSls() const;
void setEnableSls(bool enableSls);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getHostName() const;
void setHostName(const std::string &hostName);
long getActiveDeadlineSeconds() const;
void setActiveDeadlineSeconds(long activeDeadlineSeconds);
long getEgressBandwidth() const;
void setEgressBandwidth(long egressBandwidth);
std::vector<std::string> getDnsConfigSearch() const;
void setDnsConfigSearch(const std::vector<std::string> &dnsConfigSearch);
std::vector<HostAliase> getHostAliase() const;
void setHostAliase(const std::vector<HostAliase> &hostAliase);
std::string getImageSnapshotId() const;
void setImageSnapshotId(const std::string &imageSnapshotId);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
int getCpuOptionsThreadsPerCore() const;
void setCpuOptionsThreadsPerCore(int cpuOptionsThreadsPerCore);
std::string getDataCachePL() const;
void setDataCachePL(const std::string &dataCachePL);
int getIpv6AddressCount() const;
void setIpv6AddressCount(int ipv6AddressCount);
float getCpu() const;
void setCpu(float cpu);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getScalingConfigurationName() const;
void setScalingConfigurationName(const std::string &scalingConfigurationName);
std::string getScalingConfigurationId() const;
void setScalingConfigurationId(const std::string &scalingConfigurationId);
std::string getSpotStrategy() const;
void setSpotStrategy(const std::string &spotStrategy);
std::vector<Volume> getVolume() const;
void setVolume(const std::vector<Volume> &volume);
std::string getInstanceFamilyLevel() const;
void setInstanceFamilyLevel(const std::string &instanceFamilyLevel);
std::vector<DnsConfigOption> getDnsConfigOption() const;
void setDnsConfigOption(const std::vector<DnsConfigOption> &dnsConfigOption);
std::string getContainersUpdateType() const;
void setContainersUpdateType(const std::string &containersUpdateType);
int getEphemeralStorage() const;
void setEphemeralStorage(int ephemeralStorage);
int getDataCacheProvisionedIops() const;
void setDataCacheProvisionedIops(int dataCacheProvisionedIops);
int getEipBandwidth() const;
void setEipBandwidth(int eipBandwidth);
std::string getGpuDriverVersion() const;
void setGpuDriverVersion(const std::string &gpuDriverVersion);
bool getCostOptimization() const;
void setCostOptimization(bool costOptimization);
bool getDataCacheBurstingEnabled() const;
void setDataCacheBurstingEnabled(bool dataCacheBurstingEnabled);
float getMemory() const;
void setMemory(float memory);
std::string getSecurityGroupId() const;
void setSecurityGroupId(const std::string &securityGroupId);
std::string getDescription() const;
void setDescription(const std::string &description);
long getIngressBandwidth() const;
void setIngressBandwidth(long ingressBandwidth);
std::string getDnsPolicy() const;
void setDnsPolicy(const std::string &dnsPolicy);
std::vector<SecurityContextSysctl> getSecurityContextSysctl() const;
void setSecurityContextSysctl(const std::vector<SecurityContextSysctl> &securityContextSysctl);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getDataCacheBucket() const;
void setDataCacheBucket(const std::string &dataCacheBucket);
std::vector<std::string> getDnsConfigNameServer() const;
void setDnsConfigNameServer(const std::vector<std::string> &dnsConfigNameServer);
std::vector<InitContainer> getInitContainer() const;
void setInitContainer(const std::vector<InitContainer> &initContainer);
std::vector<std::string> getInstanceType() const;
void setInstanceType(const std::vector<std::string> &instanceType);
long getTerminationGracePeriodSeconds() const;
void setTerminationGracePeriodSeconds(long terminationGracePeriodSeconds);
std::vector<ImageRegistryCredential> getImageRegistryCredential() const;
void setImageRegistryCredential(const std::vector<ImageRegistryCredential> &imageRegistryCredential);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getRestartPolicy() const;
void setRestartPolicy(const std::string &restartPolicy);
int getCpuOptionsCore() const;
void setCpuOptionsCore(int cpuOptionsCore);
std::string getRamRoleName() const;
void setRamRoleName(const std::string &ramRoleName);
std::vector<AcrRegistryInfo> getAcrRegistryInfo() const;
void setAcrRegistryInfo(const std::vector<AcrRegistryInfo> &acrRegistryInfo);
bool getAutoMatchImageCache() const;
void setAutoMatchImageCache(bool autoMatchImageCache);
int getLoadBalancerWeight() const;
void setLoadBalancerWeight(int loadBalancerWeight);
std::string getContainerGroupName() const;
void setContainerGroupName(const std::string &containerGroupName);
bool getAutoCreateEip() const;
void setAutoCreateEip(bool autoCreateEip);
private:
std::vector<Container> container_;
std::vector<std::string> ntpServer_;
float spotPriceLimit_;
bool enableSls_;
std::string resourceGroupId_;
std::string hostName_;
long activeDeadlineSeconds_;
long egressBandwidth_;
std::vector<std::string> dnsConfigSearch_;
std::vector<HostAliase> hostAliase_;
std::string imageSnapshotId_;
std::vector<Tag> tag_;
int cpuOptionsThreadsPerCore_;
std::string dataCachePL_;
int ipv6AddressCount_;
float cpu_;
long ownerId_;
std::string scalingConfigurationName_;
std::string scalingConfigurationId_;
std::string spotStrategy_;
std::vector<Volume> volume_;
std::string instanceFamilyLevel_;
std::vector<DnsConfigOption> dnsConfigOption_;
std::string containersUpdateType_;
int ephemeralStorage_;
int dataCacheProvisionedIops_;
int eipBandwidth_;
std::string gpuDriverVersion_;
bool costOptimization_;
bool dataCacheBurstingEnabled_;
float memory_;
std::string securityGroupId_;
std::string description_;
long ingressBandwidth_;
std::string dnsPolicy_;
std::vector<SecurityContextSysctl> securityContextSysctl_;
std::string accessKeyId_;
std::string dataCacheBucket_;
std::vector<std::string> dnsConfigNameServer_;
std::vector<InitContainer> initContainer_;
std::vector<std::string> instanceType_;
long terminationGracePeriodSeconds_;
std::vector<ImageRegistryCredential> imageRegistryCredential_;
std::string resourceOwnerAccount_;
std::string restartPolicy_;
int cpuOptionsCore_;
std::string ramRoleName_;
std::vector<AcrRegistryInfo> acrRegistryInfo_;
bool autoMatchImageCache_;
int loadBalancerWeight_;
std::string containerGroupName_;
bool autoCreateEip_;
};
} // namespace Model
} // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_MODIFYECISCALINGCONFIGURATIONREQUEST_H_

View File

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

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ESS_MODEL_MODIFYINSTANCEATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_MODIFYINSTANCEATTRIBUTEREQUEST_H_
#include <alibabacloud/ess/EssExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ess {
namespace Model {
class ALIBABACLOUD_ESS_EXPORT ModifyInstanceAttributeRequest : public RpcServiceRequest {
public:
ModifyInstanceAttributeRequest();
~ModifyInstanceAttributeRequest();
std::string getScalingGroupId() const;
void setScalingGroupId(const std::string &scalingGroupId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
long getOwnerId() const;
void setOwnerId(long ownerId);
bool getEntrusted() const;
void setEntrusted(bool entrusted);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::vector<std::string> getInstanceIds() const;
void setInstanceIds(const std::vector<std::string> &instanceIds);
private:
std::string scalingGroupId_;
std::string accessKeyId_;
std::string regionId_;
std::string resourceOwnerAccount_;
long ownerId_;
bool entrusted_;
std::string instanceId_;
std::vector<std::string> instanceIds_;
};
} // namespace Model
} // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_MODIFYINSTANCEATTRIBUTEREQUEST_H_

View File

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

View File

@@ -1,81 +1,81 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_MODIFYLIFECYCLEHOOKREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_MODIFYLIFECYCLEHOOKREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_MODIFYLIFECYCLEHOOKREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_MODIFYLIFECYCLEHOOKREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT ModifyLifecycleHookRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT ModifyLifecycleHookRequest : public RpcServiceRequest ModifyLifecycleHookRequest();
{ ~ModifyLifecycleHookRequest();
std::string getDefaultResult() const;
public: void setDefaultResult(const std::string &defaultResult);
ModifyLifecycleHookRequest(); int getHeartbeatTimeout() const;
~ModifyLifecycleHookRequest(); void setHeartbeatTimeout(int heartbeatTimeout);
std::string getScalingGroupId() const;
std::string getDefaultResult()const; void setScalingGroupId(const std::string &scalingGroupId);
void setDefaultResult(const std::string& defaultResult); std::string getLifecycleTransition() const;
int getHeartbeatTimeout()const; void setLifecycleTransition(const std::string &lifecycleTransition);
void setHeartbeatTimeout(int heartbeatTimeout); std::string getAccessKeyId() const;
std::string getScalingGroupId()const; void setAccessKeyId(const std::string &accessKeyId);
void setScalingGroupId(const std::string& scalingGroupId); std::string getLifecycleHookName() const;
std::string getLifecycleTransition()const; void setLifecycleHookName(const std::string &lifecycleHookName);
void setLifecycleTransition(const std::string& lifecycleTransition); std::string getRegionId() const;
std::string getAccessKeyId()const; void setRegionId(const std::string &regionId);
void setAccessKeyId(const std::string& accessKeyId); std::string getNotificationArn() const;
std::string getLifecycleHookName()const; void setNotificationArn(const std::string &notificationArn);
void setLifecycleHookName(const std::string& lifecycleHookName); std::string getLifecycleHookStatus() const;
std::string getNotificationArn()const; void setLifecycleHookStatus(const std::string &lifecycleHookStatus);
void setNotificationArn(const std::string& notificationArn); std::string getResourceOwnerAccount() const;
std::string getResourceOwnerAccount()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getLifecycleHookId() const;
std::string getLifecycleHookId()const; void setLifecycleHookId(const std::string &lifecycleHookId);
void setLifecycleHookId(const std::string& lifecycleHookId); std::string getOwnerAccount() const;
std::string getOwnerAccount()const; void setOwnerAccount(const std::string &ownerAccount);
void setOwnerAccount(const std::string& ownerAccount); std::string getNotificationMetadata() const;
std::string getNotificationMetadata()const; void setNotificationMetadata(const std::string &notificationMetadata);
void setNotificationMetadata(const std::string& notificationMetadata); long getOwnerId() const;
long getOwnerId()const; void setOwnerId(long ownerId);
void setOwnerId(long ownerId);
private:
private: std::string defaultResult_;
std::string defaultResult_; int heartbeatTimeout_;
int heartbeatTimeout_; std::string scalingGroupId_;
std::string scalingGroupId_; std::string lifecycleTransition_;
std::string lifecycleTransition_; std::string accessKeyId_;
std::string accessKeyId_; std::string lifecycleHookName_;
std::string lifecycleHookName_; std::string regionId_;
std::string notificationArn_; std::string notificationArn_;
std::string resourceOwnerAccount_; std::string lifecycleHookStatus_;
std::string lifecycleHookId_; std::string resourceOwnerAccount_;
std::string ownerAccount_; std::string lifecycleHookId_;
std::string notificationMetadata_; std::string ownerAccount_;
long ownerId_; std::string notificationMetadata_;
long ownerId_;
}; };
} } // namespace Model
} } // namespace Ess
} } // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_MODIFYLIFECYCLEHOOKREQUEST_H_ #endif // !ALIBABACLOUD_ESS_MODEL_MODIFYLIFECYCLEHOOKREQUEST_H_

View File

@@ -1,63 +1,63 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_MODIFYNOTIFICATIONCONFIGURATIONREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_MODIFYNOTIFICATIONCONFIGURATIONREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_MODIFYNOTIFICATIONCONFIGURATIONREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_MODIFYNOTIFICATIONCONFIGURATIONREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT ModifyNotificationConfigurationRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT ModifyNotificationConfigurationRequest : public RpcServiceRequest ModifyNotificationConfigurationRequest();
{ ~ModifyNotificationConfigurationRequest();
std::string getScalingGroupId() const;
public: void setScalingGroupId(const std::string &scalingGroupId);
ModifyNotificationConfigurationRequest(); std::string getTimeZone() const;
~ModifyNotificationConfigurationRequest(); void setTimeZone(const std::string &timeZone);
std::string getAccessKeyId() const;
std::string getScalingGroupId()const; void setAccessKeyId(const std::string &accessKeyId);
void setScalingGroupId(const std::string& scalingGroupId); std::string getRegionId() const;
std::string getAccessKeyId()const; void setRegionId(const std::string &regionId);
void setAccessKeyId(const std::string& accessKeyId); std::string getNotificationArn() const;
std::string getNotificationArn()const; void setNotificationArn(const std::string &notificationArn);
void setNotificationArn(const std::string& notificationArn); std::string getResourceOwnerAccount() const;
std::string getResourceOwnerAccount()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); long getOwnerId() const;
long getOwnerId()const; void setOwnerId(long ownerId);
void setOwnerId(long ownerId); std::vector<std::string> getNotificationType() const;
std::vector<std::string> getNotificationType()const; void setNotificationType(const std::vector<std::string> &notificationType);
void setNotificationType(const std::vector<std::string>& notificationType);
private:
private: std::string scalingGroupId_;
std::string scalingGroupId_; std::string timeZone_;
std::string accessKeyId_; std::string accessKeyId_;
std::string notificationArn_; std::string regionId_;
std::string resourceOwnerAccount_; std::string notificationArn_;
long ownerId_; std::string resourceOwnerAccount_;
std::vector<std::string> notificationType_; long ownerId_;
std::vector<std::string> notificationType_;
}; };
} } // namespace Model
} } // namespace Ess
} } // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_MODIFYNOTIFICATIONCONFIGURATIONREQUEST_H_ #endif // !ALIBABACLOUD_ESS_MODEL_MODIFYNOTIFICATIONCONFIGURATIONREQUEST_H_

View File

@@ -1,205 +1,317 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_MODIFYSCALINGCONFIGURATIONREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_MODIFYSCALINGCONFIGURATIONREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_MODIFYSCALINGCONFIGURATIONREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_MODIFYSCALINGCONFIGURATIONREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT ModifyScalingConfigurationRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT ModifyScalingConfigurationRequest : public RpcServiceRequest struct SecurityOptions {
{ std::string confidentialComputingMode;
public: };
struct SpotPriceLimit struct SpotPriceLimit {
{ std::string instanceType;
std::string instanceType; float priceLimit;
float priceLimit; };
}; struct CustomPriorities {
struct DataDisk std::string vswitchId;
{ std::string instanceType;
std::string diskName; };
std::string snapshotId; struct CpuOptions {
int size; std::string string;
std::string encrypted; std::vector<std::string> accelerators;
std::string autoSnapshotPolicyId; };
std::string description; struct InstancePatternInfo {
std::string category; float memory;
std::string kMSKeyId; int maximumCpuCoreCount;
std::string device; float maxPrice;
bool deleteWithInstance; int minimumGpuAmount;
}; int maximumGpuAmount;
float maximumMemorySize;
public: int minimumInitialCredit;
ModifyScalingConfigurationRequest(); int minimumEniIpv6AddressQuantity;
~ModifyScalingConfigurationRequest(); int minimumEniPrivateIpAddressQuantity;
std::string burstablePerformance;
std::string getHpcClusterId()const; int minimumCpuCoreCount;
void setHpcClusterId(const std::string& hpcClusterId); int minimumEniQuantity;
std::string getKeyPairName()const; float minimumMemorySize;
void setKeyPairName(const std::string& keyPairName); int cores;
std::vector<SpotPriceLimit> getSpotPriceLimit()const; std::string instanceFamilyLevel;
void setSpotPriceLimit(const std::vector<SpotPriceLimit>& spotPriceLimit); int minimumBaselineCredit;
std::string getResourceGroupId()const; };
void setResourceGroupId(const std::string& resourceGroupId); struct NetworkInterfaces {
std::string getPrivatePoolOptionsMatchCriteria()const; int ipv6AddressCount;
void setPrivatePoolOptionsMatchCriteria(const std::string& privatePoolOptionsMatchCriteria); std::string instanceType;
std::string getHostName()const; std::string networkInterfaceTrafficMode;
void setHostName(const std::string& hostName); };
std::string getInstanceDescription()const; struct ResourcePoolOptions {
void setInstanceDescription(const std::string& instanceDescription); std::string strategy;
std::string getSystemDiskAutoSnapshotPolicyId()const; std::string string;
void setSystemDiskAutoSnapshotPolicyId(const std::string& systemDiskAutoSnapshotPolicyId); std::vector<std::string> privatePoolIds;
std::string getPrivatePoolOptionsId()const; };
void setPrivatePoolOptionsId(const std::string& privatePoolOptionsId); struct DataDisk {
int getIpv6AddressCount()const; std::string snapshotId;
void setIpv6AddressCount(int ipv6AddressCount); std::string performanceLevel;
int getCpu()const; std::string autoSnapshotPolicyId;
void setCpu(int cpu); std::string description;
long getOwnerId()const; bool burstingEnabled;
void setOwnerId(long ownerId); std::string diskName;
std::string getScalingConfigurationName()const; long provisionedIops;
void setScalingConfigurationName(const std::string& scalingConfigurationName); std::string encrypted;
std::string getTags()const; int size;
void setTags(const std::string& tags); std::string category;
std::string getScalingConfigurationId()const; std::string kMSKeyId;
void setScalingConfigurationId(const std::string& scalingConfigurationId); std::string device;
std::string getSpotStrategy()const; bool deleteWithInstance;
void setSpotStrategy(const std::string& spotStrategy); };
std::string getInstanceName()const; struct InstanceTypeOverride {
void setInstanceName(const std::string& instanceName); int weightedCapacity;
std::string getInternetChargeType()const; std::string instanceType;
void setInternetChargeType(const std::string& internetChargeType); };
std::string getZoneId()const; ModifyScalingConfigurationRequest();
void setZoneId(const std::string& zoneId); ~ModifyScalingConfigurationRequest();
std::string getAffinity()const; std::string getHpcClusterId() const;
void setAffinity(const std::string& affinity); void setHpcClusterId(const std::string &hpcClusterId);
std::string getImageId()const; SecurityOptions getSecurityOptions() const;
void setImageId(const std::string& imageId); void setSecurityOptions(const SecurityOptions &securityOptions);
int getMemory()const; std::string getKeyPairName() const;
void setMemory(int memory); void setKeyPairName(const std::string &keyPairName);
std::string getIoOptimized()const; std::vector<SpotPriceLimit> getSpotPriceLimit() const;
void setIoOptimized(const std::string& ioOptimized); void setSpotPriceLimit(const std::vector<SpotPriceLimit> &spotPriceLimit);
std::vector<std::string> getInstanceTypes()const; bool getDeletionProtection() const;
void setInstanceTypes(const std::vector<std::string>& instanceTypes); void setDeletionProtection(bool deletionProtection);
int getInternetMaxBandwidthOut()const; std::string getResourceGroupId() const;
void setInternetMaxBandwidthOut(int internetMaxBandwidthOut); void setResourceGroupId(const std::string &resourceGroupId);
std::string getSecurityGroupId()const; std::string getPrivatePoolOptionsMatchCriteria() const;
void setSecurityGroupId(const std::string& securityGroupId); void setPrivatePoolOptionsMatchCriteria(const std::string &privatePoolOptionsMatchCriteria);
std::string getSystemDiskCategory()const; std::string getHostName() const;
void setSystemDiskCategory(const std::string& systemDiskCategory); void setHostName(const std::string &hostName);
std::string getAccessKeyId()const; std::string getPassword() const;
void setAccessKeyId(const std::string& accessKeyId); void setPassword(const std::string &password);
std::string getUserData()const; std::string getInstanceDescription() const;
void setUserData(const std::string& userData); void setInstanceDescription(const std::string &instanceDescription);
bool getPasswordInherit()const; int getStorageSetPartitionNumber() const;
void setPasswordInherit(bool passwordInherit); void setStorageSetPartitionNumber(int storageSetPartitionNumber);
std::string getImageName()const; std::vector<CustomPriorities> getCustomPriorities() const;
void setImageName(const std::string& imageName); void setCustomPriorities(const std::vector<CustomPriorities> &customPriorities);
bool getOverride()const; std::string getSystemDiskAutoSnapshotPolicyId() const;
void setOverride(bool override); void setSystemDiskAutoSnapshotPolicyId(const std::string &systemDiskAutoSnapshotPolicyId);
std::map<std::string, std::string> getSchedulerOptions()const; std::string getPrivatePoolOptionsId() const;
void setSchedulerOptions(const std::map<std::string, std::string>& schedulerOptions); void setPrivatePoolOptionsId(const std::string &privatePoolOptionsId);
std::string getDeploymentSetId()const; bool getImageOptionsLoginAsNonRoot() const;
void setDeploymentSetId(const std::string& deploymentSetId); void setImageOptionsLoginAsNonRoot(bool imageOptionsLoginAsNonRoot);
std::string getResourceOwnerAccount()const; int getIpv6AddressCount() const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); void setIpv6AddressCount(int ipv6AddressCount);
std::string getOwnerAccount()const; int getCpu() const;
void setOwnerAccount(const std::string& ownerAccount); void setCpu(int cpu);
std::string getTenancy()const; std::vector<std::string> getSystemDiskCategories() const;
void setTenancy(const std::string& tenancy); void setSystemDiskCategories(const std::vector<std::string> &systemDiskCategories);
std::string getSystemDiskDiskName()const; long getOwnerId() const;
void setSystemDiskDiskName(const std::string& systemDiskDiskName); void setOwnerId(long ownerId);
std::string getRamRoleName()const; std::string getScalingConfigurationName() const;
void setRamRoleName(const std::string& ramRoleName); void setScalingConfigurationName(const std::string &scalingConfigurationName);
std::string getDedicatedHostId()const; std::string getTags() const;
void setDedicatedHostId(const std::string& dedicatedHostId); void setTags(const std::string &tags);
std::string getCreditSpecification()const; std::string getScalingConfigurationId() const;
void setCreditSpecification(const std::string& creditSpecification); void setScalingConfigurationId(const std::string &scalingConfigurationId);
std::vector<std::string> getSecurityGroupIds()const; std::string getSpotStrategy() const;
void setSecurityGroupIds(const std::vector<std::string>& securityGroupIds); void setSpotStrategy(const std::string &spotStrategy);
std::vector<DataDisk> getDataDisk()const; CpuOptions getCpuOptions() const;
void setDataDisk(const std::vector<DataDisk>& dataDisk); void setCpuOptions(const CpuOptions &cpuOptions);
int getLoadBalancerWeight()const; bool getSystemDiskBurstingEnabled() const;
void setLoadBalancerWeight(int loadBalancerWeight); void setSystemDiskBurstingEnabled(bool systemDiskBurstingEnabled);
int getSystemDiskSize()const; std::string getInstanceName() const;
void setSystemDiskSize(int systemDiskSize); void setInstanceName(const std::string &instanceName);
std::string getImageFamily()const; std::string getInternetChargeType() const;
void setImageFamily(const std::string& imageFamily); void setInternetChargeType(const std::string &internetChargeType);
std::string getSystemDiskDescription()const; std::string getZoneId() const;
void setSystemDiskDescription(const std::string& systemDiskDescription); void setZoneId(const std::string &zoneId);
int getInternetMaxBandwidthIn() const;
private: void setInternetMaxBandwidthIn(int internetMaxBandwidthIn);
std::string hpcClusterId_; std::vector<InstancePatternInfo> getInstancePatternInfo() const;
std::string keyPairName_; void setInstancePatternInfo(const std::vector<InstancePatternInfo> &instancePatternInfo);
std::vector<SpotPriceLimit> spotPriceLimit_; std::string getAffinity() const;
std::string resourceGroupId_; void setAffinity(const std::string &affinity);
std::string privatePoolOptionsMatchCriteria_; std::vector<NetworkInterfaces> getNetworkInterfaces() const;
std::string hostName_; void setNetworkInterfaces(const std::vector<NetworkInterfaces> &networkInterfaces);
std::string instanceDescription_; std::string getImageId() const;
std::string systemDiskAutoSnapshotPolicyId_; void setImageId(const std::string &imageId);
std::string privatePoolOptionsId_; int getMemory() const;
int ipv6AddressCount_; void setMemory(int memory);
int cpu_; std::string getSpotInterruptionBehavior() const;
long ownerId_; void setSpotInterruptionBehavior(const std::string &spotInterruptionBehavior);
std::string scalingConfigurationName_; std::string getIoOptimized() const;
std::string tags_; void setIoOptimized(const std::string &ioOptimized);
std::string scalingConfigurationId_; std::vector<std::string> getInstanceTypes() const;
std::string spotStrategy_; void setInstanceTypes(const std::vector<std::string> &instanceTypes);
std::string instanceName_; int getInternetMaxBandwidthOut() const;
std::string internetChargeType_; void setInternetMaxBandwidthOut(int internetMaxBandwidthOut);
std::string zoneId_; std::string getSecurityGroupId() const;
std::string affinity_; void setSecurityGroupId(const std::string &securityGroupId);
std::string imageId_; std::string getSystemDiskKMSKeyId() const;
int memory_; void setSystemDiskKMSKeyId(const std::string &systemDiskKMSKeyId);
std::string ioOptimized_; std::string getSystemDiskCategory() const;
std::vector<std::string> instanceTypes_; void setSystemDiskCategory(const std::string &systemDiskCategory);
int internetMaxBandwidthOut_; std::string getAccessKeyId() const;
std::string securityGroupId_; void setAccessKeyId(const std::string &accessKeyId);
std::string systemDiskCategory_; std::string getSystemDiskPerformanceLevel() const;
std::string accessKeyId_; void setSystemDiskPerformanceLevel(const std::string &systemDiskPerformanceLevel);
std::string userData_; std::string getUserData() const;
bool passwordInherit_; void setUserData(const std::string &userData);
std::string imageName_; bool getPasswordInherit() const;
bool override_; void setPasswordInherit(bool passwordInherit);
std::map<std::string, std::string> schedulerOptions_; ResourcePoolOptions getResourcePoolOptions() const;
std::string deploymentSetId_; void setResourcePoolOptions(const ResourcePoolOptions &resourcePoolOptions);
std::string resourceOwnerAccount_; std::string getImageName() const;
std::string ownerAccount_; void setImageName(const std::string &imageName);
std::string tenancy_; std::string getHttpEndpoint() const;
std::string systemDiskDiskName_; void setHttpEndpoint(const std::string &httpEndpoint);
std::string ramRoleName_; std::string getDedicatedHostClusterId() const;
std::string dedicatedHostId_; void setDedicatedHostClusterId(const std::string &dedicatedHostClusterId);
std::string creditSpecification_; bool getOverride() const;
std::vector<std::string> securityGroupIds_; void setOverride(bool override);
std::vector<DataDisk> dataDisk_; std::map<std::string, std::string> getSchedulerOptions() const;
int loadBalancerWeight_; void setSchedulerOptions(std::map<std::string, std::string> schedulerOptions);
int systemDiskSize_; std::string getDeploymentSetId() const;
std::string imageFamily_; void setDeploymentSetId(const std::string &deploymentSetId);
std::string systemDiskDescription_; std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
}; std::string getOwnerAccount() const;
} void setOwnerAccount(const std::string &ownerAccount);
} std::string getTenancy() const;
} void setTenancy(const std::string &tenancy);
#endif // !ALIBABACLOUD_ESS_MODEL_MODIFYSCALINGCONFIGURATIONREQUEST_H_ std::string getSystemDiskDiskName() const;
void setSystemDiskDiskName(const std::string &systemDiskDiskName);
std::string getRamRoleName() const;
void setRamRoleName(const std::string &ramRoleName);
std::string getSystemDiskEncryptAlgorithm() const;
void setSystemDiskEncryptAlgorithm(const std::string &systemDiskEncryptAlgorithm);
std::string getDedicatedHostId() const;
void setDedicatedHostId(const std::string &dedicatedHostId);
std::string getCreditSpecification() const;
void setCreditSpecification(const std::string &creditSpecification);
int getSpotDuration() const;
void setSpotDuration(int spotDuration);
std::vector<std::string> getSecurityGroupIds() const;
void setSecurityGroupIds(const std::vector<std::string> &securityGroupIds);
std::vector<DataDisk> getDataDisk() const;
void setDataDisk(const std::vector<DataDisk> &dataDisk);
std::vector<InstanceTypeOverride> getInstanceTypeOverride() const;
void setInstanceTypeOverride(const std::vector<InstanceTypeOverride> &instanceTypeOverride);
long getSystemDiskProvisionedIops() const;
void setSystemDiskProvisionedIops(long systemDiskProvisionedIops);
int getLoadBalancerWeight() const;
void setLoadBalancerWeight(int loadBalancerWeight);
std::string getStorageSetId() const;
void setStorageSetId(const std::string &storageSetId);
int getSystemDiskSize() const;
void setSystemDiskSize(int systemDiskSize);
std::string getImageFamily() const;
void setImageFamily(const std::string &imageFamily);
std::string getHttpTokens() const;
void setHttpTokens(const std::string &httpTokens);
std::string getSystemDiskDescription() const;
void setSystemDiskDescription(const std::string &systemDiskDescription);
bool getSystemDiskEncrypted() const;
void setSystemDiskEncrypted(bool systemDiskEncrypted);
private:
std::string hpcClusterId_;
SecurityOptions securityOptions_;
std::string keyPairName_;
std::vector<SpotPriceLimit> spotPriceLimit_;
bool deletionProtection_;
std::string resourceGroupId_;
std::string privatePoolOptionsMatchCriteria_;
std::string hostName_;
std::string password_;
std::string instanceDescription_;
int storageSetPartitionNumber_;
std::vector<CustomPriorities> customPriorities_;
std::string systemDiskAutoSnapshotPolicyId_;
std::string privatePoolOptionsId_;
bool imageOptionsLoginAsNonRoot_;
int ipv6AddressCount_;
int cpu_;
std::vector<std::string> systemDiskCategories_;
long ownerId_;
std::string scalingConfigurationName_;
std::string tags_;
std::string scalingConfigurationId_;
std::string spotStrategy_;
CpuOptions cpuOptions_;
bool systemDiskBurstingEnabled_;
std::string instanceName_;
std::string internetChargeType_;
std::string zoneId_;
int internetMaxBandwidthIn_;
std::vector<InstancePatternInfo> instancePatternInfo_;
std::string affinity_;
std::vector<NetworkInterfaces> networkInterfaces_;
std::string imageId_;
int memory_;
std::string spotInterruptionBehavior_;
std::string ioOptimized_;
std::vector<std::string> instanceTypes_;
int internetMaxBandwidthOut_;
std::string securityGroupId_;
std::string systemDiskKMSKeyId_;
std::string systemDiskCategory_;
std::string accessKeyId_;
std::string systemDiskPerformanceLevel_;
std::string userData_;
bool passwordInherit_;
ResourcePoolOptions resourcePoolOptions_;
std::string imageName_;
std::string httpEndpoint_;
std::string dedicatedHostClusterId_;
bool override_;
std::map<std::string, std::string> schedulerOptions_;
std::string deploymentSetId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string tenancy_;
std::string systemDiskDiskName_;
std::string ramRoleName_;
std::string systemDiskEncryptAlgorithm_;
std::string dedicatedHostId_;
std::string creditSpecification_;
int spotDuration_;
std::vector<std::string> securityGroupIds_;
std::vector<DataDisk> dataDisk_;
std::vector<InstanceTypeOverride> instanceTypeOverride_;
long systemDiskProvisionedIops_;
int loadBalancerWeight_;
std::string storageSetId_;
int systemDiskSize_;
std::string imageFamily_;
std::string httpTokens_;
std::string systemDiskDescription_;
bool systemDiskEncrypted_;
};
} // namespace Model
} // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_MODIFYSCALINGCONFIGURATIONREQUEST_H_

View File

@@ -1,120 +1,165 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_MODIFYSCALINGGROUPREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_MODIFYSCALINGGROUPREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_MODIFYSCALINGGROUPREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_MODIFYSCALINGGROUPREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT ModifyScalingGroupRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT ModifyScalingGroupRequest : public RpcServiceRequest struct LaunchTemplateOverride {
{ int weightedCapacity;
std::string instanceType;
public: float spotPriceLimit;
ModifyScalingGroupRequest(); };
~ModifyScalingGroupRequest(); struct CapacityOptions {
bool compensateWithOnDemand;
long getResourceOwnerId()const; std::string priceComparisonMode;
void setResourceOwnerId(long resourceOwnerId); int onDemandBaseCapacity;
std::string getScalingGroupId()const; bool spotAutoReplaceOnDemand;
void setScalingGroupId(const std::string& scalingGroupId); int onDemandPercentageAboveBaseCapacity;
std::vector<std::string> getVSwitchIds()const; };
void setVSwitchIds(const std::vector<std::string>& vSwitchIds); ModifyScalingGroupRequest();
std::string getActiveScalingConfigurationId()const; ~ModifyScalingGroupRequest();
void setActiveScalingConfigurationId(const std::string& activeScalingConfigurationId); long getResourceOwnerId() const;
int getOnDemandBaseCapacity()const; void setResourceOwnerId(long resourceOwnerId);
void setOnDemandBaseCapacity(int onDemandBaseCapacity); bool getAzBalance() const;
std::string getAccessKeyId()const; void setAzBalance(bool azBalance);
void setAccessKeyId(const std::string& accessKeyId); std::vector<std::string> getVSwitchIds() const;
int getOnDemandPercentageAboveBaseCapacity()const; void setVSwitchIds(const std::vector<std::string> &vSwitchIds);
void setOnDemandPercentageAboveBaseCapacity(int onDemandPercentageAboveBaseCapacity); int getMaxInstanceLifetime() const;
bool getSpotInstanceRemedy()const; void setMaxInstanceLifetime(int maxInstanceLifetime);
void setSpotInstanceRemedy(bool spotInstanceRemedy); std::string getActiveScalingConfigurationId() const;
bool getScaleOutAmountCheck()const; void setActiveScalingConfigurationId(const std::string &activeScalingConfigurationId);
void setScaleOutAmountCheck(bool scaleOutAmountCheck); bool getSpotInstanceRemedy() const;
int getDefaultCooldown()const; void setSpotInstanceRemedy(bool spotInstanceRemedy);
void setDefaultCooldown(int defaultCooldown); bool getScaleOutAmountCheck() const;
std::string getRemovalPolicy1()const; void setScaleOutAmountCheck(bool scaleOutAmountCheck);
void setRemovalPolicy1(const std::string& removalPolicy1); std::string getCustomPolicyARN() const;
std::string getRemovalPolicy2()const; void setCustomPolicyARN(const std::string &customPolicyARN);
void setRemovalPolicy2(const std::string& removalPolicy2); int getStopInstanceTimeout() const;
std::string getHealthCheckType()const; void setStopInstanceTimeout(int stopInstanceTimeout);
void setHealthCheckType(const std::string& healthCheckType); int getDefaultCooldown() const;
std::string getLaunchTemplateId()const; void setDefaultCooldown(int defaultCooldown);
void setLaunchTemplateId(const std::string& launchTemplateId); std::vector<std::string> getHealthCheckTypes() const;
int getDesiredCapacity()const; void setHealthCheckTypes(const std::vector<std::string> &healthCheckTypes);
void setDesiredCapacity(int desiredCapacity); std::string getMultiAZPolicy() const;
std::string getResourceOwnerAccount()const; void setMultiAZPolicy(const std::string &multiAZPolicy);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getLaunchTemplateId() const;
std::string getScalingGroupName()const; void setLaunchTemplateId(const std::string &launchTemplateId);
void setScalingGroupName(const std::string& scalingGroupName); int getDesiredCapacity() const;
std::string getOwnerAccount()const; void setDesiredCapacity(int desiredCapacity);
void setOwnerAccount(const std::string& ownerAccount); std::vector<LaunchTemplateOverride> getLaunchTemplateOverride() const;
bool getCompensateWithOnDemand()const; void setLaunchTemplateOverride(const std::vector<LaunchTemplateOverride> &launchTemplateOverride);
void setCompensateWithOnDemand(bool compensateWithOnDemand); bool getCompensateWithOnDemand() const;
int getSpotInstancePools()const; void setCompensateWithOnDemand(bool compensateWithOnDemand);
void setSpotInstancePools(int spotInstancePools); CapacityOptions getCapacityOptions() const;
int getMinSize()const; void setCapacityOptions(const CapacityOptions &capacityOptions);
void setMinSize(int minSize); int getMinSize() const;
bool getGroupDeletionProtection()const; void setMinSize(int minSize);
void setGroupDeletionProtection(bool groupDeletionProtection); long getOwnerId() const;
long getOwnerId()const; void setOwnerId(long ownerId);
void setOwnerId(long ownerId); int getMaxSize() const;
std::string getLaunchTemplateVersion()const; void setMaxSize(int maxSize);
void setLaunchTemplateVersion(const std::string& launchTemplateVersion); std::string getScalingGroupId() const;
int getMaxSize()const; void setScalingGroupId(const std::string &scalingGroupId);
void setMaxSize(int maxSize); int getOnDemandBaseCapacity() const;
void setOnDemandBaseCapacity(int onDemandBaseCapacity);
private: std::string getAccessKeyId() const;
long resourceOwnerId_; void setAccessKeyId(const std::string &accessKeyId);
std::string scalingGroupId_; int getOnDemandPercentageAboveBaseCapacity() const;
std::vector<std::string> vSwitchIds_; void setOnDemandPercentageAboveBaseCapacity(int onDemandPercentageAboveBaseCapacity);
std::string activeScalingConfigurationId_; std::string getSpotAllocationStrategy() const;
int onDemandBaseCapacity_; void setSpotAllocationStrategy(const std::string &spotAllocationStrategy);
std::string accessKeyId_; bool getDisableDesiredCapacity() const;
int onDemandPercentageAboveBaseCapacity_; void setDisableDesiredCapacity(bool disableDesiredCapacity);
bool spotInstanceRemedy_; std::string getRemovalPolicy1() const;
bool scaleOutAmountCheck_; void setRemovalPolicy1(const std::string &removalPolicy1);
int defaultCooldown_; std::string getRemovalPolicy2() const;
std::string removalPolicy1_; void setRemovalPolicy2(const std::string &removalPolicy2);
std::string removalPolicy2_; std::string getRemovalPolicy3() const;
std::string healthCheckType_; void setRemovalPolicy3(const std::string &removalPolicy3);
std::string launchTemplateId_; std::string getHealthCheckType() const;
int desiredCapacity_; void setHealthCheckType(const std::string &healthCheckType);
std::string resourceOwnerAccount_; std::string getResourceOwnerAccount() const;
std::string scalingGroupName_; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string ownerAccount_; std::string getScalingGroupName() const;
bool compensateWithOnDemand_; void setScalingGroupName(const std::string &scalingGroupName);
int spotInstancePools_; std::string getOwnerAccount() const;
int minSize_; void setOwnerAccount(const std::string &ownerAccount);
bool groupDeletionProtection_; int getSpotInstancePools() const;
long ownerId_; void setSpotInstancePools(int spotInstancePools);
std::string launchTemplateVersion_; bool getGroupDeletionProtection() const;
int maxSize_; void setGroupDeletionProtection(bool groupDeletionProtection);
std::string getLaunchTemplateVersion() const;
}; void setLaunchTemplateVersion(const std::string &launchTemplateVersion);
} std::string getScalingPolicy() const;
} void setScalingPolicy(const std::string &scalingPolicy);
} std::string getAllocationStrategy() const;
#endif // !ALIBABACLOUD_ESS_MODEL_MODIFYSCALINGGROUPREQUEST_H_ void setAllocationStrategy(const std::string &allocationStrategy);
private:
long resourceOwnerId_;
bool azBalance_;
std::vector<std::string> vSwitchIds_;
int maxInstanceLifetime_;
std::string activeScalingConfigurationId_;
bool spotInstanceRemedy_;
bool scaleOutAmountCheck_;
std::string customPolicyARN_;
int stopInstanceTimeout_;
int defaultCooldown_;
std::vector<std::string> healthCheckTypes_;
std::string multiAZPolicy_;
std::string launchTemplateId_;
int desiredCapacity_;
std::vector<LaunchTemplateOverride> launchTemplateOverride_;
bool compensateWithOnDemand_;
CapacityOptions capacityOptions_;
int minSize_;
long ownerId_;
int maxSize_;
std::string scalingGroupId_;
int onDemandBaseCapacity_;
std::string accessKeyId_;
int onDemandPercentageAboveBaseCapacity_;
std::string spotAllocationStrategy_;
bool disableDesiredCapacity_;
std::string removalPolicy1_;
std::string removalPolicy2_;
std::string removalPolicy3_;
std::string healthCheckType_;
std::string resourceOwnerAccount_;
std::string scalingGroupName_;
std::string ownerAccount_;
int spotInstancePools_;
bool groupDeletionProtection_;
std::string launchTemplateVersion_;
std::string scalingPolicy_;
std::string allocationStrategy_;
};
} // namespace Model
} // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_MODIFYSCALINGGROUPREQUEST_H_

View File

@@ -1,121 +1,140 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_MODIFYSCALINGRULEREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_MODIFYSCALINGRULEREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_MODIFYSCALINGRULEREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_MODIFYSCALINGRULEREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT ModifyScalingRuleRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT ModifyScalingRuleRequest : public RpcServiceRequest struct AlarmDimension {
{ std::string dimensionValue;
public: std::string dimensionKey;
struct StepAdjustment };
{ struct StepAdjustment {
float metricIntervalLowerBound; float metricIntervalUpperBound;
float metricIntervalUpperBound; float metricIntervalLowerBound;
int scalingAdjustment; int scalingAdjustment;
}; };
struct HybridMetrics {
public: std::string statistic;
ModifyScalingRuleRequest(); std::string expression;
~ModifyScalingRuleRequest(); std::string id;
std::string metricName;
long getResourceOwnerId()const; struct Dimensions {
void setResourceOwnerId(long resourceOwnerId); std::string dimensionValue;
std::vector<StepAdjustment> getStepAdjustment()const; std::string dimensionKey;
void setStepAdjustment(const std::vector<StepAdjustment>& stepAdjustment); };
bool getDisableScaleIn()const; std::vector<Dimensions> dimensions;
void setDisableScaleIn(bool disableScaleIn); };
std::string getScalingRuleId()const; ModifyScalingRuleRequest();
void setScalingRuleId(const std::string& scalingRuleId); ~ModifyScalingRuleRequest();
int getInitialMaxSize()const; std::string getMetricType() const;
void setInitialMaxSize(int initialMaxSize); void setMetricType(const std::string &metricType);
std::string getAccessKeyId()const; long getResourceOwnerId() const;
void setAccessKeyId(const std::string& accessKeyId); void setResourceOwnerId(long resourceOwnerId);
std::string getScalingRuleName()const; std::vector<AlarmDimension> getAlarmDimension() const;
void setScalingRuleName(const std::string& scalingRuleName); void setAlarmDimension(const std::vector<AlarmDimension> &alarmDimension);
int getCooldown()const; std::vector<StepAdjustment> getStepAdjustment() const;
void setCooldown(int cooldown); void setStepAdjustment(const std::vector<StepAdjustment> &stepAdjustment);
std::string getPredictiveValueBehavior()const; bool getDisableScaleIn() const;
void setPredictiveValueBehavior(const std::string& predictiveValueBehavior); void setDisableScaleIn(bool disableScaleIn);
int getScaleInEvaluationCount()const; std::string getScalingRuleId() const;
void setScaleInEvaluationCount(int scaleInEvaluationCount); void setScalingRuleId(const std::string &scalingRuleId);
std::string getMetricName()const; int getInitialMaxSize() const;
void setMetricName(const std::string& metricName); void setInitialMaxSize(int initialMaxSize);
std::string getPredictiveScalingMode()const; std::string getAccessKeyId() const;
void setPredictiveScalingMode(const std::string& predictiveScalingMode); void setAccessKeyId(const std::string &accessKeyId);
std::string getResourceOwnerAccount()const; std::string getScalingRuleName() const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); void setScalingRuleName(const std::string &scalingRuleName);
int getAdjustmentValue()const; std::string getHybridMonitorNamespace() const;
void setAdjustmentValue(int adjustmentValue); void setHybridMonitorNamespace(const std::string &hybridMonitorNamespace);
int getEstimatedInstanceWarmup()const; int getCooldown() const;
void setEstimatedInstanceWarmup(int estimatedInstanceWarmup); void setCooldown(int cooldown);
std::string getOwnerAccount()const; std::string getPredictiveValueBehavior() const;
void setOwnerAccount(const std::string& ownerAccount); void setPredictiveValueBehavior(const std::string &predictiveValueBehavior);
int getPredictiveTaskBufferTime()const; int getScaleInEvaluationCount() const;
void setPredictiveTaskBufferTime(int predictiveTaskBufferTime); void setScaleInEvaluationCount(int scaleInEvaluationCount);
std::string getAdjustmentType()const; std::string getMetricName() const;
void setAdjustmentType(const std::string& adjustmentType); void setMetricName(const std::string &metricName);
long getOwnerId()const; std::string getPredictiveScalingMode() const;
void setOwnerId(long ownerId); void setPredictiveScalingMode(const std::string &predictiveScalingMode);
int getPredictiveValueBuffer()const; std::string getResourceOwnerAccount() const;
void setPredictiveValueBuffer(int predictiveValueBuffer); void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
int getScaleOutEvaluationCount()const; int getAdjustmentValue() const;
void setScaleOutEvaluationCount(int scaleOutEvaluationCount); void setAdjustmentValue(int adjustmentValue);
int getMinAdjustmentMagnitude()const; int getEstimatedInstanceWarmup() const;
void setMinAdjustmentMagnitude(int minAdjustmentMagnitude); void setEstimatedInstanceWarmup(int estimatedInstanceWarmup);
float getTargetValue()const; std::string getOwnerAccount() const;
void setTargetValue(float targetValue); void setOwnerAccount(const std::string &ownerAccount);
int getPredictiveTaskBufferTime() const;
private: void setPredictiveTaskBufferTime(int predictiveTaskBufferTime);
long resourceOwnerId_; std::string getAdjustmentType() const;
std::vector<StepAdjustment> stepAdjustment_; void setAdjustmentType(const std::string &adjustmentType);
bool disableScaleIn_; long getOwnerId() const;
std::string scalingRuleId_; void setOwnerId(long ownerId);
int initialMaxSize_; int getPredictiveValueBuffer() const;
std::string accessKeyId_; void setPredictiveValueBuffer(int predictiveValueBuffer);
std::string scalingRuleName_; std::vector<HybridMetrics> getHybridMetrics() const;
int cooldown_; void setHybridMetrics(const std::vector<HybridMetrics> &hybridMetrics);
std::string predictiveValueBehavior_; int getScaleOutEvaluationCount() const;
int scaleInEvaluationCount_; void setScaleOutEvaluationCount(int scaleOutEvaluationCount);
std::string metricName_; int getMinAdjustmentMagnitude() const;
std::string predictiveScalingMode_; void setMinAdjustmentMagnitude(int minAdjustmentMagnitude);
std::string resourceOwnerAccount_; float getTargetValue() const;
int adjustmentValue_; void setTargetValue(float targetValue);
int estimatedInstanceWarmup_;
std::string ownerAccount_; private:
int predictiveTaskBufferTime_; std::string metricType_;
std::string adjustmentType_; long resourceOwnerId_;
long ownerId_; std::vector<AlarmDimension> alarmDimension_;
int predictiveValueBuffer_; std::vector<StepAdjustment> stepAdjustment_;
int scaleOutEvaluationCount_; bool disableScaleIn_;
int minAdjustmentMagnitude_; std::string scalingRuleId_;
float targetValue_; int initialMaxSize_;
std::string accessKeyId_;
}; std::string scalingRuleName_;
} std::string hybridMonitorNamespace_;
} int cooldown_;
} std::string predictiveValueBehavior_;
#endif // !ALIBABACLOUD_ESS_MODEL_MODIFYSCALINGRULEREQUEST_H_ int scaleInEvaluationCount_;
std::string metricName_;
std::string predictiveScalingMode_;
std::string resourceOwnerAccount_;
int adjustmentValue_;
int estimatedInstanceWarmup_;
std::string ownerAccount_;
int predictiveTaskBufferTime_;
std::string adjustmentType_;
long ownerId_;
int predictiveValueBuffer_;
std::vector<HybridMetrics> hybridMetrics_;
int scaleOutEvaluationCount_;
int minAdjustmentMagnitude_;
float targetValue_;
};
} // namespace Model
} // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_MODIFYSCALINGRULEREQUEST_H_

View File

@@ -1,102 +1,99 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_MODIFYSCHEDULEDTASKREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_MODIFYSCHEDULEDTASKREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_MODIFYSCHEDULEDTASKREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_MODIFYSCHEDULEDTASKREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT ModifyScheduledTaskRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT ModifyScheduledTaskRequest : public RpcServiceRequest ModifyScheduledTaskRequest();
{ ~ModifyScheduledTaskRequest();
long getResourceOwnerId() const;
public: void setResourceOwnerId(long resourceOwnerId);
ModifyScheduledTaskRequest(); std::string getScheduledAction() const;
~ModifyScheduledTaskRequest(); void setScheduledAction(const std::string &scheduledAction);
int getMaxValue() const;
long getResourceOwnerId()const; void setMaxValue(int maxValue);
void setResourceOwnerId(long resourceOwnerId); std::string getScalingGroupId() const;
std::string getScheduledAction()const; void setScalingGroupId(const std::string &scalingGroupId);
void setScheduledAction(const std::string& scheduledAction); std::string getDescription() const;
int getMaxValue()const; void setDescription(const std::string &description);
void setMaxValue(int maxValue); std::string getRecurrenceEndTime() const;
std::string getScalingGroupId()const; void setRecurrenceEndTime(const std::string &recurrenceEndTime);
void setScalingGroupId(const std::string& scalingGroupId); std::string getAccessKeyId() const;
std::string getDescription()const; void setAccessKeyId(const std::string &accessKeyId);
void setDescription(const std::string& description); std::string getRegionId() const;
std::string getRecurrenceEndTime()const; void setRegionId(const std::string &regionId);
void setRecurrenceEndTime(const std::string& recurrenceEndTime); std::string getLaunchTime() const;
std::string getAccessKeyId()const; void setLaunchTime(const std::string &launchTime);
void setAccessKeyId(const std::string& accessKeyId); int getDesiredCapacity() const;
std::string getLaunchTime()const; void setDesiredCapacity(int desiredCapacity);
void setLaunchTime(const std::string& launchTime); std::string getResourceOwnerAccount() const;
int getDesiredCapacity()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setDesiredCapacity(int desiredCapacity); std::string getOwnerAccount() const;
std::string getResourceOwnerAccount()const; void setOwnerAccount(const std::string &ownerAccount);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); long getOwnerId() const;
std::string getOwnerAccount()const; void setOwnerId(long ownerId);
void setOwnerAccount(const std::string& ownerAccount); std::string getRecurrenceValue() const;
long getOwnerId()const; void setRecurrenceValue(const std::string &recurrenceValue);
void setOwnerId(long ownerId); int getLaunchExpirationTime() const;
std::string getRecurrenceValue()const; void setLaunchExpirationTime(int launchExpirationTime);
void setRecurrenceValue(const std::string& recurrenceValue); int getMinValue() const;
int getLaunchExpirationTime()const; void setMinValue(int minValue);
void setLaunchExpirationTime(int launchExpirationTime); std::string getScheduledTaskName() const;
int getMinValue()const; void setScheduledTaskName(const std::string &scheduledTaskName);
void setMinValue(int minValue); bool getTaskEnabled() const;
std::string getScheduledTaskName()const; void setTaskEnabled(bool taskEnabled);
void setScheduledTaskName(const std::string& scheduledTaskName); std::string getScheduledTaskId() const;
bool getTaskEnabled()const; void setScheduledTaskId(const std::string &scheduledTaskId);
void setTaskEnabled(bool taskEnabled); std::string getRecurrenceType() const;
std::string getScheduledTaskId()const; void setRecurrenceType(const std::string &recurrenceType);
void setScheduledTaskId(const std::string& scheduledTaskId);
std::string getRecurrenceType()const; private:
void setRecurrenceType(const std::string& recurrenceType); long resourceOwnerId_;
std::string scheduledAction_;
private: int maxValue_;
long resourceOwnerId_; std::string scalingGroupId_;
std::string scheduledAction_; std::string description_;
int maxValue_; std::string recurrenceEndTime_;
std::string scalingGroupId_; std::string accessKeyId_;
std::string description_; std::string regionId_;
std::string recurrenceEndTime_; std::string launchTime_;
std::string accessKeyId_; int desiredCapacity_;
std::string launchTime_; std::string resourceOwnerAccount_;
int desiredCapacity_; std::string ownerAccount_;
std::string resourceOwnerAccount_; long ownerId_;
std::string ownerAccount_; std::string recurrenceValue_;
long ownerId_; int launchExpirationTime_;
std::string recurrenceValue_; int minValue_;
int launchExpirationTime_; std::string scheduledTaskName_;
int minValue_; bool taskEnabled_;
std::string scheduledTaskName_; std::string scheduledTaskId_;
bool taskEnabled_; std::string recurrenceType_;
std::string scheduledTaskId_; };
std::string recurrenceType_; } // namespace Model
} // namespace Ess
}; } // namespace AlibabaCloud
} #endif // !ALIBABACLOUD_ESS_MODEL_MODIFYSCHEDULEDTASKREQUEST_H_
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_MODIFYSCHEDULEDTASKREQUEST_H_

View File

@@ -1,63 +1,60 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_REBALANCEINSTANCESREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_REBALANCEINSTANCESREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_REBALANCEINSTANCESREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_REBALANCEINSTANCESREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT RebalanceInstancesRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT RebalanceInstancesRequest : public RpcServiceRequest RebalanceInstancesRequest();
{ ~RebalanceInstancesRequest();
long getResourceOwnerId() const;
public: void setResourceOwnerId(long resourceOwnerId);
RebalanceInstancesRequest(); std::string getScalingGroupId() const;
~RebalanceInstancesRequest(); void setScalingGroupId(const std::string &scalingGroupId);
std::string getAccessKeyId() const;
long getResourceOwnerId()const; void setAccessKeyId(const std::string &accessKeyId);
void setResourceOwnerId(long resourceOwnerId); std::string getRegionId() const;
std::string getResourceOwnerAccount()const; void setRegionId(const std::string &regionId);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getResourceOwnerAccount() const;
std::string getScalingGroupId()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setScalingGroupId(const std::string& scalingGroupId); std::string getOwnerAccount() const;
std::string getOwnerAccount()const; void setOwnerAccount(const std::string &ownerAccount);
void setOwnerAccount(const std::string& ownerAccount); long getOwnerId() const;
long getOwnerId()const; void setOwnerId(long ownerId);
void setOwnerId(long ownerId);
std::string getAccessKeyId()const; private:
void setAccessKeyId(const std::string& accessKeyId); long resourceOwnerId_;
std::string scalingGroupId_;
private: std::string accessKeyId_;
long resourceOwnerId_; std::string regionId_;
std::string resourceOwnerAccount_; std::string resourceOwnerAccount_;
std::string scalingGroupId_; std::string ownerAccount_;
std::string ownerAccount_; long ownerId_;
long ownerId_; };
std::string accessKeyId_; } // namespace Model
} // namespace Ess
}; } // namespace AlibabaCloud
} #endif // !ALIBABACLOUD_ESS_MODEL_REBALANCEINSTANCESREQUEST_H_
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_REBALANCEINSTANCESREQUEST_H_

View File

@@ -1,66 +1,63 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_RECORDLIFECYCLEACTIONHEARTBEATREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_RECORDLIFECYCLEACTIONHEARTBEATREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_RECORDLIFECYCLEACTIONHEARTBEATREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_RECORDLIFECYCLEACTIONHEARTBEATREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT RecordLifecycleActionHeartbeatRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT RecordLifecycleActionHeartbeatRequest : public RpcServiceRequest RecordLifecycleActionHeartbeatRequest();
{ ~RecordLifecycleActionHeartbeatRequest();
std::string getLifecycleActionToken() const;
public: void setLifecycleActionToken(const std::string &lifecycleActionToken);
RecordLifecycleActionHeartbeatRequest(); int getHeartbeatTimeout() const;
~RecordLifecycleActionHeartbeatRequest(); void setHeartbeatTimeout(int heartbeatTimeout);
std::string getAccessKeyId() const;
std::string getLifecycleActionToken()const; void setAccessKeyId(const std::string &accessKeyId);
void setLifecycleActionToken(const std::string& lifecycleActionToken); std::string getRegionId() const;
int getHeartbeatTimeout()const; void setRegionId(const std::string &regionId);
void setHeartbeatTimeout(int heartbeatTimeout); std::string getResourceOwnerAccount() const;
std::string getAccessKeyId()const; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
void setAccessKeyId(const std::string& accessKeyId); std::string getLifecycleHookId() const;
std::string getResourceOwnerAccount()const; void setLifecycleHookId(const std::string &lifecycleHookId);
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getOwnerAccount() const;
std::string getLifecycleHookId()const; void setOwnerAccount(const std::string &ownerAccount);
void setLifecycleHookId(const std::string& lifecycleHookId); long getOwnerId() const;
std::string getOwnerAccount()const; void setOwnerId(long ownerId);
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const; private:
void setOwnerId(long ownerId); std::string lifecycleActionToken_;
int heartbeatTimeout_;
private: std::string accessKeyId_;
std::string lifecycleActionToken_; std::string regionId_;
int heartbeatTimeout_; std::string resourceOwnerAccount_;
std::string accessKeyId_; std::string lifecycleHookId_;
std::string resourceOwnerAccount_; std::string ownerAccount_;
std::string lifecycleHookId_; long ownerId_;
std::string ownerAccount_; };
long ownerId_; } // namespace Model
} // namespace Ess
}; } // namespace AlibabaCloud
} #endif // !ALIBABACLOUD_ESS_MODEL_RECORDLIFECYCLEACTIONHEARTBEATREQUEST_H_
}
}
#endif // !ALIBABACLOUD_ESS_MODEL_RECORDLIFECYCLEACTIONHEARTBEATREQUEST_H_

View File

@@ -1,72 +1,86 @@
/* /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#ifndef ALIBABACLOUD_ESS_MODEL_REMOVEINSTANCESREQUEST_H_ #ifndef ALIBABACLOUD_ESS_MODEL_REMOVEINSTANCESREQUEST_H_
#define ALIBABACLOUD_ESS_MODEL_REMOVEINSTANCESREQUEST_H_ #define ALIBABACLOUD_ESS_MODEL_REMOVEINSTANCESREQUEST_H_
#include <string> #include <alibabacloud/ess/EssExport.h>
#include <vector> #include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/core/RpcServiceRequest.h> #include <string>
#include <alibabacloud/ess/EssExport.h> #include <vector>
#include <map>
namespace AlibabaCloud
{ namespace AlibabaCloud {
namespace Ess namespace Ess {
{ namespace Model {
namespace Model class ALIBABACLOUD_ESS_EXPORT RemoveInstancesRequest : public RpcServiceRequest {
{ public:
class ALIBABACLOUD_ESS_EXPORT RemoveInstancesRequest : public RpcServiceRequest struct LifecycleHookContext {
{ bool disableLifecycleHook;
std::string string;
public: std::vector<std::string> ignoredLifecycleHookIds;
RemoveInstancesRequest(); };
~RemoveInstancesRequest(); RemoveInstancesRequest();
~RemoveInstancesRequest();
long getResourceOwnerId()const; long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId); void setResourceOwnerId(long resourceOwnerId);
std::string getScalingGroupId()const; std::string getClientToken() const;
void setScalingGroupId(const std::string& scalingGroupId); void setClientToken(const std::string &clientToken);
std::string getAccessKeyId()const; std::string getScalingGroupId() const;
void setAccessKeyId(const std::string& accessKeyId); void setScalingGroupId(const std::string &scalingGroupId);
bool getDecreaseDesiredCapacity()const; LifecycleHookContext getLifecycleHookContext() const;
void setDecreaseDesiredCapacity(bool decreaseDesiredCapacity); void setLifecycleHookContext(const LifecycleHookContext &lifecycleHookContext);
std::string getRemovePolicy()const; std::string getAccessKeyId() const;
void setRemovePolicy(const std::string& removePolicy); void setAccessKeyId(const std::string &accessKeyId);
std::string getResourceOwnerAccount()const; bool getDecreaseDesiredCapacity() const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount); void setDecreaseDesiredCapacity(bool decreaseDesiredCapacity);
std::string getOwnerAccount()const; bool getIgnoreInvalidInstance() const;
void setOwnerAccount(const std::string& ownerAccount); void setIgnoreInvalidInstance(bool ignoreInvalidInstance);
long getOwnerId()const; std::string getRegionId() const;
void setOwnerId(long ownerId); void setRegionId(const std::string &regionId);
std::vector<std::string> getInstanceId()const; int getStopInstanceTimeout() const;
void setInstanceId(const std::vector<std::string>& instanceId); void setStopInstanceTimeout(int stopInstanceTimeout);
std::string getRemovePolicy() const;
private: void setRemovePolicy(const std::string &removePolicy);
long resourceOwnerId_; std::string getResourceOwnerAccount() const;
std::string scalingGroupId_; void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string accessKeyId_; std::string getOwnerAccount() const;
bool decreaseDesiredCapacity_; void setOwnerAccount(const std::string &ownerAccount);
std::string removePolicy_; long getOwnerId() const;
std::string resourceOwnerAccount_; void setOwnerId(long ownerId);
std::string ownerAccount_; std::vector<std::string> getInstanceId() const;
long ownerId_; void setInstanceId(const std::vector<std::string> &instanceId);
std::vector<std::string> instanceId_;
private:
}; long resourceOwnerId_;
} std::string clientToken_;
} std::string scalingGroupId_;
} LifecycleHookContext lifecycleHookContext_;
#endif // !ALIBABACLOUD_ESS_MODEL_REMOVEINSTANCESREQUEST_H_ std::string accessKeyId_;
bool decreaseDesiredCapacity_;
bool ignoreInvalidInstance_;
std::string regionId_;
int stopInstanceTimeout_;
std::string removePolicy_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::vector<std::string> instanceId_;
};
} // namespace Model
} // namespace Ess
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ESS_MODEL_REMOVEINSTANCESREQUEST_H_

Some files were not shown because too many files have changed in this diff Show More