7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/AutoScalingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/autoscaling/model/LaunchTemplateSpecification.h>
11#include <aws/autoscaling/model/MixedInstancesPolicy.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/autoscaling/model/InstanceMaintenancePolicy.h>
51 inline void SetAutoScalingGroupName(
const char* value) { m_autoScalingGroupNameHasBeenSet =
true; m_autoScalingGroupName.assign(value); }
67 inline void SetLaunchConfigurationName(
const char* value) { m_launchConfigurationNameHasBeenSet =
true; m_launchConfigurationName.assign(value); }
108 inline void SetMinSize(
int value) { m_minSizeHasBeenSet =
true; m_minSize = value; }
123 inline void SetMaxSize(
int value) { m_maxSizeHasBeenSet =
true; m_maxSize = value; }
136 inline void SetDesiredCapacity(
int value) { m_desiredCapacityHasBeenSet =
true; m_desiredCapacity = value; }
151 inline void SetDefaultCooldown(
int value) { m_defaultCooldownHasBeenSet =
true; m_defaultCooldown = value; }
185 inline void SetHealthCheckType(
const char* value) { m_healthCheckTypeHasBeenSet =
true; m_healthCheckType.assign(value); }
224 inline void SetPlacementGroup(
const char* value) { m_placementGroupHasBeenSet =
true; m_placementGroup.assign(value); }
240 inline void SetVPCZoneIdentifier(
const char* value) { m_vPCZoneIdentifierHasBeenSet =
true; m_vPCZoneIdentifier.assign(value); }
297 inline void SetServiceLinkedRoleARN(
const char* value) { m_serviceLinkedRoleARNHasBeenSet =
true; m_serviceLinkedRoleARN.assign(value); }
328 inline void SetCapacityRebalance(
bool value) { m_capacityRebalanceHasBeenSet =
true; m_capacityRebalance = value; }
340 inline void SetContext(
const char* value) { m_contextHasBeenSet =
true; m_context.assign(value); }
362 inline void SetDesiredCapacityType(
const char* value) { m_desiredCapacityTypeHasBeenSet =
true; m_desiredCapacityType.assign(value); }
410 bool m_autoScalingGroupNameHasBeenSet =
false;
413 bool m_launchConfigurationNameHasBeenSet =
false;
416 bool m_launchTemplateHasBeenSet =
false;
419 bool m_mixedInstancesPolicyHasBeenSet =
false;
422 bool m_minSizeHasBeenSet =
false;
425 bool m_maxSizeHasBeenSet =
false;
427 int m_desiredCapacity;
428 bool m_desiredCapacityHasBeenSet =
false;
430 int m_defaultCooldown;
431 bool m_defaultCooldownHasBeenSet =
false;
434 bool m_availabilityZonesHasBeenSet =
false;
437 bool m_healthCheckTypeHasBeenSet =
false;
439 int m_healthCheckGracePeriod;
440 bool m_healthCheckGracePeriodHasBeenSet =
false;
443 bool m_placementGroupHasBeenSet =
false;
446 bool m_vPCZoneIdentifierHasBeenSet =
false;
449 bool m_terminationPoliciesHasBeenSet =
false;
451 bool m_newInstancesProtectedFromScaleIn;
452 bool m_newInstancesProtectedFromScaleInHasBeenSet =
false;
455 bool m_serviceLinkedRoleARNHasBeenSet =
false;
457 int m_maxInstanceLifetime;
458 bool m_maxInstanceLifetimeHasBeenSet =
false;
460 bool m_capacityRebalance;
461 bool m_capacityRebalanceHasBeenSet =
false;
464 bool m_contextHasBeenSet =
false;
467 bool m_desiredCapacityTypeHasBeenSet =
false;
469 int m_defaultInstanceWarmup;
470 bool m_defaultInstanceWarmupHasBeenSet =
false;
473 bool m_instanceMaintenancePolicyHasBeenSet =
false;
UpdateAutoScalingGroupRequest & WithHealthCheckType(Aws::String &&value)
UpdateAutoScalingGroupRequest & WithTerminationPolicies(const Aws::Vector< Aws::String > &value)
UpdateAutoScalingGroupRequest & WithLaunchConfigurationName(const char *value)
void SetInstanceMaintenancePolicy(const InstanceMaintenancePolicy &value)
const InstanceMaintenancePolicy & GetInstanceMaintenancePolicy() const
void SetLaunchConfigurationName(const Aws::String &value)
UpdateAutoScalingGroupRequest & WithAvailabilityZones(Aws::Vector< Aws::String > &&value)
void SetDefaultCooldown(int value)
void SetContext(const Aws::String &value)
UpdateAutoScalingGroupRequest & WithHealthCheckType(const char *value)
const Aws::String & GetContext() const
void SetLaunchConfigurationName(const char *value)
const Aws::String & GetAutoScalingGroupName() const
bool LaunchConfigurationNameHasBeenSet() const
void SetNewInstancesProtectedFromScaleIn(bool value)
UpdateAutoScalingGroupRequest & WithDesiredCapacityType(const char *value)
UpdateAutoScalingGroupRequest & AddTerminationPolicies(Aws::String &&value)
UpdateAutoScalingGroupRequest & WithServiceLinkedRoleARN(const Aws::String &value)
void SetHealthCheckType(const Aws::String &value)
UpdateAutoScalingGroupRequest & WithAutoScalingGroupName(const char *value)
UpdateAutoScalingGroupRequest & WithContext(Aws::String &&value)
UpdateAutoScalingGroupRequest & AddTerminationPolicies(const Aws::String &value)
void SetPlacementGroup(const char *value)
void SetServiceLinkedRoleARN(const char *value)
bool DefaultCooldownHasBeenSet() const
UpdateAutoScalingGroupRequest & AddAvailabilityZones(const Aws::String &value)
UpdateAutoScalingGroupRequest & WithAvailabilityZones(const Aws::Vector< Aws::String > &value)
void SetVPCZoneIdentifier(const Aws::String &value)
void SetPlacementGroup(const Aws::String &value)
const MixedInstancesPolicy & GetMixedInstancesPolicy() const
UpdateAutoScalingGroupRequest & WithLaunchConfigurationName(Aws::String &&value)
void SetHealthCheckType(const char *value)
bool MaxSizeHasBeenSet() const
UpdateAutoScalingGroupRequest & WithTerminationPolicies(Aws::Vector< Aws::String > &&value)
void SetContext(const char *value)
bool GetCapacityRebalance() const
bool NewInstancesProtectedFromScaleInHasBeenSet() const
UpdateAutoScalingGroupRequest & AddAvailabilityZones(const char *value)
UpdateAutoScalingGroupRequest & WithServiceLinkedRoleARN(Aws::String &&value)
bool HealthCheckGracePeriodHasBeenSet() const
void SetVPCZoneIdentifier(Aws::String &&value)
bool HealthCheckTypeHasBeenSet() const
UpdateAutoScalingGroupRequest & WithDesiredCapacityType(const Aws::String &value)
void SetVPCZoneIdentifier(const char *value)
bool ContextHasBeenSet() const
UpdateAutoScalingGroupRequest & WithInstanceMaintenancePolicy(InstanceMaintenancePolicy &&value)
const Aws::String & GetDesiredCapacityType() const
const Aws::Vector< Aws::String > & GetTerminationPolicies() const
UpdateAutoScalingGroupRequest & WithCapacityRebalance(bool value)
void SetDesiredCapacityType(Aws::String &&value)
void SetContext(Aws::String &&value)
UpdateAutoScalingGroupRequest & WithMixedInstancesPolicy(MixedInstancesPolicy &&value)
void SetHealthCheckType(Aws::String &&value)
bool MaxInstanceLifetimeHasBeenSet() const
UpdateAutoScalingGroupRequest & WithPlacementGroup(const char *value)
UpdateAutoScalingGroupRequest & AddAvailabilityZones(Aws::String &&value)
UpdateAutoScalingGroupRequest & WithAutoScalingGroupName(Aws::String &&value)
const Aws::String & GetServiceLinkedRoleARN() const
UpdateAutoScalingGroupRequest & WithInstanceMaintenancePolicy(const InstanceMaintenancePolicy &value)
UpdateAutoScalingGroupRequest & WithLaunchTemplate(LaunchTemplateSpecification &&value)
void SetPlacementGroup(Aws::String &&value)
void SetMinSize(int value)
int GetDefaultInstanceWarmup() const
bool LaunchTemplateHasBeenSet() const
void SetServiceLinkedRoleARN(Aws::String &&value)
UpdateAutoScalingGroupRequest & WithServiceLinkedRoleARN(const char *value)
bool ServiceLinkedRoleARNHasBeenSet() const
bool DesiredCapacityTypeHasBeenSet() const
const Aws::String & GetPlacementGroup() const
void SetLaunchTemplate(LaunchTemplateSpecification &&value)
UpdateAutoScalingGroupRequest & WithLaunchConfigurationName(const Aws::String &value)
void SetAvailabilityZones(Aws::Vector< Aws::String > &&value)
bool GetNewInstancesProtectedFromScaleIn() const
UpdateAutoScalingGroupRequest & WithDefaultCooldown(int value)
UpdateAutoScalingGroupRequest & WithVPCZoneIdentifier(const Aws::String &value)
bool MinSizeHasBeenSet() const
void SetTerminationPolicies(const Aws::Vector< Aws::String > &value)
UpdateAutoScalingGroupRequest & WithPlacementGroup(const Aws::String &value)
UpdateAutoScalingGroupRequest & AddTerminationPolicies(const char *value)
void SetDefaultInstanceWarmup(int value)
const Aws::String & GetLaunchConfigurationName() const
AWS_AUTOSCALING_API UpdateAutoScalingGroupRequest()
UpdateAutoScalingGroupRequest & WithMinSize(int value)
UpdateAutoScalingGroupRequest & WithPlacementGroup(Aws::String &&value)
void SetMaxSize(int value)
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
UpdateAutoScalingGroupRequest & WithMaxInstanceLifetime(int value)
bool CapacityRebalanceHasBeenSet() const
bool PlacementGroupHasBeenSet() const
void SetLaunchConfigurationName(Aws::String &&value)
UpdateAutoScalingGroupRequest & WithVPCZoneIdentifier(const char *value)
bool VPCZoneIdentifierHasBeenSet() const
UpdateAutoScalingGroupRequest & WithNewInstancesProtectedFromScaleIn(bool value)
bool DesiredCapacityHasBeenSet() const
void SetMaxInstanceLifetime(int value)
void SetDesiredCapacity(int value)
UpdateAutoScalingGroupRequest & WithDefaultInstanceWarmup(int value)
UpdateAutoScalingGroupRequest & WithDesiredCapacity(int value)
AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
UpdateAutoScalingGroupRequest & WithHealthCheckType(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
bool DefaultInstanceWarmupHasBeenSet() const
UpdateAutoScalingGroupRequest & WithLaunchTemplate(const LaunchTemplateSpecification &value)
void SetAutoScalingGroupName(Aws::String &&value)
bool MixedInstancesPolicyHasBeenSet() const
void SetLaunchTemplate(const LaunchTemplateSpecification &value)
UpdateAutoScalingGroupRequest & WithMixedInstancesPolicy(const MixedInstancesPolicy &value)
UpdateAutoScalingGroupRequest & WithContext(const char *value)
UpdateAutoScalingGroupRequest & WithMaxSize(int value)
void SetServiceLinkedRoleARN(const Aws::String &value)
UpdateAutoScalingGroupRequest & WithDesiredCapacityType(Aws::String &&value)
void SetCapacityRebalance(bool value)
bool AvailabilityZonesHasBeenSet() const
void SetInstanceMaintenancePolicy(InstanceMaintenancePolicy &&value)
bool AutoScalingGroupNameHasBeenSet() const
UpdateAutoScalingGroupRequest & WithHealthCheckGracePeriod(int value)
int GetHealthCheckGracePeriod() const
bool InstanceMaintenancePolicyHasBeenSet() const
int GetMaxInstanceLifetime() const
const Aws::String & GetHealthCheckType() const
void SetTerminationPolicies(Aws::Vector< Aws::String > &&value)
void SetDesiredCapacityType(const Aws::String &value)
const LaunchTemplateSpecification & GetLaunchTemplate() const
const Aws::String & GetVPCZoneIdentifier() const
UpdateAutoScalingGroupRequest & WithVPCZoneIdentifier(Aws::String &&value)
void SetDesiredCapacityType(const char *value)
UpdateAutoScalingGroupRequest & WithAutoScalingGroupName(const Aws::String &value)
void SetMixedInstancesPolicy(MixedInstancesPolicy &&value)
bool TerminationPoliciesHasBeenSet() const
int GetDesiredCapacity() const
void SetAutoScalingGroupName(const char *value)
int GetDefaultCooldown() const
void SetHealthCheckGracePeriod(int value)
void SetMixedInstancesPolicy(const MixedInstancesPolicy &value)
void SetAutoScalingGroupName(const Aws::String &value)
UpdateAutoScalingGroupRequest & WithContext(const Aws::String &value)
AWS_AUTOSCALING_API Aws::String SerializePayload() const override
void SetAvailabilityZones(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector