7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.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/core/utils/DateTime.h>
14#include <aws/autoscaling/model/WarmPoolConfiguration.h>
15#include <aws/autoscaling/model/InstanceMaintenancePolicy.h>
16#include <aws/autoscaling/model/AvailabilityZoneDistribution.h>
17#include <aws/autoscaling/model/AvailabilityZoneImpairmentPolicy.h>
18#include <aws/autoscaling/model/CapacityReservationSpecification.h>
19#include <aws/autoscaling/model/Instance.h>
20#include <aws/autoscaling/model/SuspendedProcess.h>
21#include <aws/autoscaling/model/EnabledMetric.h>
22#include <aws/autoscaling/model/TagDescription.h>
23#include <aws/autoscaling/model/TrafficSourceIdentifier.h>
62 template<
typename AutoScalingGroupNameT = Aws::String>
63 void SetAutoScalingGroupName(AutoScalingGroupNameT&& value) { m_autoScalingGroupNameHasBeenSet =
true; m_autoScalingGroupName = std::forward<AutoScalingGroupNameT>(value); }
64 template<
typename AutoScalingGroupNameT = Aws::String>
74 template<
typename AutoScalingGroupARNT = Aws::String>
75 void SetAutoScalingGroupARN(AutoScalingGroupARNT&& value) { m_autoScalingGroupARNHasBeenSet =
true; m_autoScalingGroupARN = std::forward<AutoScalingGroupARNT>(value); }
76 template<
typename AutoScalingGroupARNT = Aws::String>
86 template<
typename LaunchConfigurationNameT = Aws::String>
87 void SetLaunchConfigurationName(LaunchConfigurationNameT&& value) { m_launchConfigurationNameHasBeenSet =
true; m_launchConfigurationName = std::forward<LaunchConfigurationNameT>(value); }
88 template<
typename LaunchConfigurationNameT = Aws::String>
98 template<
typename LaunchTemplateT = LaunchTemplateSpecification>
99 void SetLaunchTemplate(LaunchTemplateT&& value) { m_launchTemplateHasBeenSet =
true; m_launchTemplate = std::forward<LaunchTemplateT>(value); }
100 template<
typename LaunchTemplateT = LaunchTemplateSpecification>
110 template<
typename MixedInstancesPolicyT = MixedInstancesPolicy>
111 void SetMixedInstancesPolicy(MixedInstancesPolicyT&& value) { m_mixedInstancesPolicyHasBeenSet =
true; m_mixedInstancesPolicy = std::forward<MixedInstancesPolicyT>(value); }
112 template<
typename MixedInstancesPolicyT = MixedInstancesPolicy>
122 inline void SetMinSize(
int value) { m_minSizeHasBeenSet =
true; m_minSize = value; }
132 inline void SetMaxSize(
int value) { m_maxSizeHasBeenSet =
true; m_maxSize = value; }
142 inline void SetDesiredCapacity(
int value) { m_desiredCapacityHasBeenSet =
true; m_desiredCapacity = value; }
153 inline void SetPredictedCapacity(
int value) { m_predictedCapacityHasBeenSet =
true; m_predictedCapacity = value; }
163 inline void SetDefaultCooldown(
int value) { m_defaultCooldownHasBeenSet =
true; m_defaultCooldown = value; }
173 template<
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
174 void SetAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet =
true; m_availabilityZones = std::forward<AvailabilityZonesT>(value); }
175 template<
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
177 template<
typename AvailabilityZonesT = Aws::String>
178 AutoScalingGroup&
AddAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet =
true; m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value));
return *
this; }
187 template<
typename LoadBalancerNamesT = Aws::Vector<Aws::String>>
188 void SetLoadBalancerNames(LoadBalancerNamesT&& value) { m_loadBalancerNamesHasBeenSet =
true; m_loadBalancerNames = std::forward<LoadBalancerNamesT>(value); }
189 template<
typename LoadBalancerNamesT = Aws::Vector<Aws::String>>
191 template<
typename LoadBalancerNamesT = Aws::String>
192 AutoScalingGroup&
AddLoadBalancerNames(LoadBalancerNamesT&& value) { m_loadBalancerNamesHasBeenSet =
true; m_loadBalancerNames.emplace_back(std::forward<LoadBalancerNamesT>(value));
return *
this; }
202 template<
typename TargetGroupARNsT = Aws::Vector<Aws::String>>
203 void SetTargetGroupARNs(TargetGroupARNsT&& value) { m_targetGroupARNsHasBeenSet =
true; m_targetGroupARNs = std::forward<TargetGroupARNsT>(value); }
204 template<
typename TargetGroupARNsT = Aws::Vector<Aws::String>>
206 template<
typename TargetGroupARNsT = Aws::String>
207 AutoScalingGroup&
AddTargetGroupARNs(TargetGroupARNsT&& value) { m_targetGroupARNsHasBeenSet =
true; m_targetGroupARNs.emplace_back(std::forward<TargetGroupARNsT>(value));
return *
this; }
216 template<
typename HealthCheckTypeT = Aws::String>
217 void SetHealthCheckType(HealthCheckTypeT&& value) { m_healthCheckTypeHasBeenSet =
true; m_healthCheckType = std::forward<HealthCheckTypeT>(value); }
218 template<
typename HealthCheckTypeT = Aws::String>
238 template<
typename InstancesT = Aws::Vector<Instance>>
239 void SetInstances(InstancesT&& value) { m_instancesHasBeenSet =
true; m_instances = std::forward<InstancesT>(value); }
240 template<
typename InstancesT = Aws::Vector<Instance>>
242 template<
typename InstancesT = Instance>
243 AutoScalingGroup&
AddInstances(InstancesT&& value) { m_instancesHasBeenSet =
true; m_instances.emplace_back(std::forward<InstancesT>(value));
return *
this; }
252 template<
typename CreatedTimeT = Aws::Utils::DateTime>
253 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
254 template<
typename CreatedTimeT = Aws::Utils::DateTime>
264 template<
typename SuspendedProcessesT = Aws::Vector<SuspendedProcess>>
265 void SetSuspendedProcesses(SuspendedProcessesT&& value) { m_suspendedProcessesHasBeenSet =
true; m_suspendedProcesses = std::forward<SuspendedProcessesT>(value); }
266 template<
typename SuspendedProcessesT = Aws::Vector<SuspendedProcess>>
268 template<
typename SuspendedProcessesT = SuspendedProcess>
269 AutoScalingGroup&
AddSuspendedProcesses(SuspendedProcessesT&& value) { m_suspendedProcessesHasBeenSet =
true; m_suspendedProcesses.emplace_back(std::forward<SuspendedProcessesT>(value));
return *
this; }
279 template<
typename PlacementGroupT = Aws::String>
280 void SetPlacementGroup(PlacementGroupT&& value) { m_placementGroupHasBeenSet =
true; m_placementGroup = std::forward<PlacementGroupT>(value); }
281 template<
typename PlacementGroupT = Aws::String>
291 template<
typename VPCZoneIdentifierT = Aws::String>
292 void SetVPCZoneIdentifier(VPCZoneIdentifierT&& value) { m_vPCZoneIdentifierHasBeenSet =
true; m_vPCZoneIdentifier = std::forward<VPCZoneIdentifierT>(value); }
293 template<
typename VPCZoneIdentifierT = Aws::String>
303 template<
typename EnabledMetricsT = Aws::Vector<EnabledMetric>>
304 void SetEnabledMetrics(EnabledMetricsT&& value) { m_enabledMetricsHasBeenSet =
true; m_enabledMetrics = std::forward<EnabledMetricsT>(value); }
305 template<
typename EnabledMetricsT = Aws::Vector<EnabledMetric>>
307 template<
typename EnabledMetricsT = EnabledMetric>
308 AutoScalingGroup&
AddEnabledMetrics(EnabledMetricsT&& value) { m_enabledMetricsHasBeenSet =
true; m_enabledMetrics.emplace_back(std::forward<EnabledMetricsT>(value));
return *
this; }
319 template<
typename StatusT = Aws::String>
320 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
321 template<
typename StatusT = Aws::String>
331 template<
typename TagsT = Aws::Vector<TagDescription>>
332 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
333 template<
typename TagsT = Aws::Vector<TagDescription>>
335 template<
typename TagsT = TagDescription>
336 AutoScalingGroup&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
345 template<
typename TerminationPoliciesT = Aws::Vector<Aws::String>>
346 void SetTerminationPolicies(TerminationPoliciesT&& value) { m_terminationPoliciesHasBeenSet =
true; m_terminationPolicies = std::forward<TerminationPoliciesT>(value); }
347 template<
typename TerminationPoliciesT = Aws::Vector<Aws::String>>
349 template<
typename TerminationPoliciesT = Aws::String>
350 AutoScalingGroup&
AddTerminationPolicies(TerminationPoliciesT&& value) { m_terminationPoliciesHasBeenSet =
true; m_terminationPolicies.emplace_back(std::forward<TerminationPoliciesT>(value));
return *
this; }
375 template<
typename ServiceLinkedRoleARNT = Aws::String>
376 void SetServiceLinkedRoleARN(ServiceLinkedRoleARNT&& value) { m_serviceLinkedRoleARNHasBeenSet =
true; m_serviceLinkedRoleARN = std::forward<ServiceLinkedRoleARNT>(value); }
377 template<
typename ServiceLinkedRoleARNT = Aws::String>
398 inline void SetCapacityRebalance(
bool value) { m_capacityRebalanceHasBeenSet =
true; m_capacityRebalance = value; }
408 template<
typename WarmPoolConfigurationT = WarmPoolConfiguration>
409 void SetWarmPoolConfiguration(WarmPoolConfigurationT&& value) { m_warmPoolConfigurationHasBeenSet =
true; m_warmPoolConfiguration = std::forward<WarmPoolConfigurationT>(value); }
410 template<
typename WarmPoolConfigurationT = WarmPoolConfiguration>
420 inline void SetWarmPoolSize(
int value) { m_warmPoolSizeHasBeenSet =
true; m_warmPoolSize = value; }
430 template<
typename ContextT = Aws::String>
431 void SetContext(ContextT&& value) { m_contextHasBeenSet =
true; m_context = std::forward<ContextT>(value); }
432 template<
typename ContextT = Aws::String>
444 template<
typename DesiredCapacityTypeT = Aws::String>
445 void SetDesiredCapacityType(DesiredCapacityTypeT&& value) { m_desiredCapacityTypeHasBeenSet =
true; m_desiredCapacityType = std::forward<DesiredCapacityTypeT>(value); }
446 template<
typename DesiredCapacityTypeT = Aws::String>
466 template<
typename TrafficSourcesT = Aws::Vector<TrafficSourceIdentifier>>
467 void SetTrafficSources(TrafficSourcesT&& value) { m_trafficSourcesHasBeenSet =
true; m_trafficSources = std::forward<TrafficSourcesT>(value); }
468 template<
typename TrafficSourcesT = Aws::Vector<TrafficSourceIdentifier>>
470 template<
typename TrafficSourcesT = TrafficSourceIdentifier>
471 AutoScalingGroup&
AddTrafficSources(TrafficSourcesT&& value) { m_trafficSourcesHasBeenSet =
true; m_trafficSources.emplace_back(std::forward<TrafficSourcesT>(value));
return *
this; }
480 template<
typename InstanceMa
intenancePolicyT = InstanceMa
intenancePolicy>
481 void SetInstanceMaintenancePolicy(InstanceMaintenancePolicyT&& value) { m_instanceMaintenancePolicyHasBeenSet =
true; m_instanceMaintenancePolicy = std::forward<InstanceMaintenancePolicyT>(value); }
482 template<
typename InstanceMa
intenancePolicyT = InstanceMa
intenancePolicy>
492 template<
typename AvailabilityZoneDistributionT = AvailabilityZoneDistribution>
493 void SetAvailabilityZoneDistribution(AvailabilityZoneDistributionT&& value) { m_availabilityZoneDistributionHasBeenSet =
true; m_availabilityZoneDistribution = std::forward<AvailabilityZoneDistributionT>(value); }
494 template<
typename AvailabilityZoneDistributionT = AvailabilityZoneDistribution>
504 template<
typename AvailabilityZoneImpairmentPolicyT = AvailabilityZoneImpairmentPolicy>
505 void SetAvailabilityZoneImpairmentPolicy(AvailabilityZoneImpairmentPolicyT&& value) { m_availabilityZoneImpairmentPolicyHasBeenSet =
true; m_availabilityZoneImpairmentPolicy = std::forward<AvailabilityZoneImpairmentPolicyT>(value); }
506 template<
typename AvailabilityZoneImpairmentPolicyT = AvailabilityZoneImpairmentPolicy>
516 template<
typename CapacityReservationSpecificationT = CapacityReservationSpecification>
517 void SetCapacityReservationSpecification(CapacityReservationSpecificationT&& value) { m_capacityReservationSpecificationHasBeenSet =
true; m_capacityReservationSpecification = std::forward<CapacityReservationSpecificationT>(value); }
518 template<
typename CapacityReservationSpecificationT = CapacityReservationSpecification>
524 bool m_autoScalingGroupNameHasBeenSet =
false;
527 bool m_autoScalingGroupARNHasBeenSet =
false;
530 bool m_launchConfigurationNameHasBeenSet =
false;
533 bool m_launchTemplateHasBeenSet =
false;
536 bool m_mixedInstancesPolicyHasBeenSet =
false;
539 bool m_minSizeHasBeenSet =
false;
542 bool m_maxSizeHasBeenSet =
false;
544 int m_desiredCapacity{0};
545 bool m_desiredCapacityHasBeenSet =
false;
547 int m_predictedCapacity{0};
548 bool m_predictedCapacityHasBeenSet =
false;
550 int m_defaultCooldown{0};
551 bool m_defaultCooldownHasBeenSet =
false;
554 bool m_availabilityZonesHasBeenSet =
false;
557 bool m_loadBalancerNamesHasBeenSet =
false;
560 bool m_targetGroupARNsHasBeenSet =
false;
563 bool m_healthCheckTypeHasBeenSet =
false;
565 int m_healthCheckGracePeriod{0};
566 bool m_healthCheckGracePeriodHasBeenSet =
false;
569 bool m_instancesHasBeenSet =
false;
572 bool m_createdTimeHasBeenSet =
false;
575 bool m_suspendedProcessesHasBeenSet =
false;
578 bool m_placementGroupHasBeenSet =
false;
581 bool m_vPCZoneIdentifierHasBeenSet =
false;
584 bool m_enabledMetricsHasBeenSet =
false;
587 bool m_statusHasBeenSet =
false;
590 bool m_tagsHasBeenSet =
false;
593 bool m_terminationPoliciesHasBeenSet =
false;
595 bool m_newInstancesProtectedFromScaleIn{
false};
596 bool m_newInstancesProtectedFromScaleInHasBeenSet =
false;
599 bool m_serviceLinkedRoleARNHasBeenSet =
false;
601 int m_maxInstanceLifetime{0};
602 bool m_maxInstanceLifetimeHasBeenSet =
false;
604 bool m_capacityRebalance{
false};
605 bool m_capacityRebalanceHasBeenSet =
false;
607 WarmPoolConfiguration m_warmPoolConfiguration;
608 bool m_warmPoolConfigurationHasBeenSet =
false;
610 int m_warmPoolSize{0};
611 bool m_warmPoolSizeHasBeenSet =
false;
614 bool m_contextHasBeenSet =
false;
617 bool m_desiredCapacityTypeHasBeenSet =
false;
619 int m_defaultInstanceWarmup{0};
620 bool m_defaultInstanceWarmupHasBeenSet =
false;
623 bool m_trafficSourcesHasBeenSet =
false;
625 InstanceMaintenancePolicy m_instanceMaintenancePolicy;
626 bool m_instanceMaintenancePolicyHasBeenSet =
false;
628 AvailabilityZoneDistribution m_availabilityZoneDistribution;
629 bool m_availabilityZoneDistributionHasBeenSet =
false;
631 AvailabilityZoneImpairmentPolicy m_availabilityZoneImpairmentPolicy;
632 bool m_availabilityZoneImpairmentPolicyHasBeenSet =
false;
634 CapacityReservationSpecification m_capacityReservationSpecification;
635 bool m_capacityReservationSpecificationHasBeenSet =
false;
AutoScalingGroup & AddAvailabilityZones(AvailabilityZonesT &&value)
const Aws::String & GetDesiredCapacityType() const
AutoScalingGroup & WithAutoScalingGroupName(AutoScalingGroupNameT &&value)
AutoScalingGroup & WithServiceLinkedRoleARN(ServiceLinkedRoleARNT &&value)
AutoScalingGroup & WithAvailabilityZones(AvailabilityZonesT &&value)
void SetTerminationPolicies(TerminationPoliciesT &&value)
int GetDefaultCooldown() const
AutoScalingGroup & WithInstances(InstancesT &&value)
AutoScalingGroup & WithInstanceMaintenancePolicy(InstanceMaintenancePolicyT &&value)
AutoScalingGroup & WithCapacityRebalance(bool value)
void SetContext(ContextT &&value)
AutoScalingGroup & WithCreatedTime(CreatedTimeT &&value)
bool DesiredCapacityTypeHasBeenSet() const
bool DesiredCapacityHasBeenSet() const
void SetServiceLinkedRoleARN(ServiceLinkedRoleARNT &&value)
bool GetCapacityRebalance() const
void SetEnabledMetrics(EnabledMetricsT &&value)
int GetMaxInstanceLifetime() const
bool MinSizeHasBeenSet() const
AutoScalingGroup & AddEnabledMetrics(EnabledMetricsT &&value)
void SetAvailabilityZoneDistribution(AvailabilityZoneDistributionT &&value)
bool TagsHasBeenSet() const
AutoScalingGroup & WithEnabledMetrics(EnabledMetricsT &&value)
AutoScalingGroup & WithAutoScalingGroupARN(AutoScalingGroupARNT &&value)
void SetLoadBalancerNames(LoadBalancerNamesT &&value)
AutoScalingGroup & WithTerminationPolicies(TerminationPoliciesT &&value)
bool DefaultInstanceWarmupHasBeenSet() const
const Aws::String & GetPlacementGroup() const
void SetDesiredCapacity(int value)
AutoScalingGroup & AddTags(TagsT &&value)
void SetCapacityReservationSpecification(CapacityReservationSpecificationT &&value)
bool MixedInstancesPolicyHasBeenSet() const
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetWarmPoolSize(int value)
void SetMaxSize(int value)
AutoScalingGroup & WithMinSize(int value)
void SetNewInstancesProtectedFromScaleIn(bool value)
void SetInstanceMaintenancePolicy(InstanceMaintenancePolicyT &&value)
const InstanceMaintenancePolicy & GetInstanceMaintenancePolicy() const
bool GetNewInstancesProtectedFromScaleIn() const
AutoScalingGroup & WithDefaultInstanceWarmup(int value)
bool AvailabilityZoneDistributionHasBeenSet() const
void SetWarmPoolConfiguration(WarmPoolConfigurationT &&value)
AutoScalingGroup & WithWarmPoolSize(int value)
AutoScalingGroup & WithCapacityReservationSpecification(CapacityReservationSpecificationT &&value)
const LaunchTemplateSpecification & GetLaunchTemplate() const
int GetWarmPoolSize() const
void SetLaunchConfigurationName(LaunchConfigurationNameT &&value)
bool AvailabilityZoneImpairmentPolicyHasBeenSet() const
AutoScalingGroup & WithMixedInstancesPolicy(MixedInstancesPolicyT &&value)
AWS_AUTOSCALING_API AutoScalingGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
AutoScalingGroup & WithPredictedCapacity(int value)
void SetDesiredCapacityType(DesiredCapacityTypeT &&value)
bool CapacityReservationSpecificationHasBeenSet() const
AutoScalingGroup & WithLaunchConfigurationName(LaunchConfigurationNameT &&value)
const Aws::Vector< TagDescription > & GetTags() const
bool SuspendedProcessesHasBeenSet() const
void SetDefaultInstanceWarmup(int value)
bool PredictedCapacityHasBeenSet() const
AutoScalingGroup & WithMaxSize(int value)
const Aws::Vector< Aws::String > & GetTerminationPolicies() const
bool AvailabilityZonesHasBeenSet() const
bool AutoScalingGroupNameHasBeenSet() const
AutoScalingGroup & AddTerminationPolicies(TerminationPoliciesT &&value)
const CapacityReservationSpecification & GetCapacityReservationSpecification() const
AutoScalingGroup & WithContext(ContextT &&value)
void SetHealthCheckGracePeriod(int value)
bool NewInstancesProtectedFromScaleInHasBeenSet() const
AutoScalingGroup & WithMaxInstanceLifetime(int value)
AutoScalingGroup & WithAvailabilityZoneImpairmentPolicy(AvailabilityZoneImpairmentPolicyT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
AutoScalingGroup & WithTags(TagsT &&value)
AWS_AUTOSCALING_API AutoScalingGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ContextHasBeenSet() const
const AvailabilityZoneImpairmentPolicy & GetAvailabilityZoneImpairmentPolicy() const
void SetTrafficSources(TrafficSourcesT &&value)
bool PlacementGroupHasBeenSet() const
const Aws::String & GetAutoScalingGroupName() const
const AvailabilityZoneDistribution & GetAvailabilityZoneDistribution() const
const WarmPoolConfiguration & GetWarmPoolConfiguration() const
bool WarmPoolConfigurationHasBeenSet() const
void SetCreatedTime(CreatedTimeT &&value)
AutoScalingGroup & WithAvailabilityZoneDistribution(AvailabilityZoneDistributionT &&value)
AutoScalingGroup & WithHealthCheckGracePeriod(int value)
void SetPlacementGroup(PlacementGroupT &&value)
const Aws::Vector< Aws::String > & GetLoadBalancerNames() const
bool MaxInstanceLifetimeHasBeenSet() const
void SetLaunchTemplate(LaunchTemplateT &&value)
int GetDefaultInstanceWarmup() const
void SetTags(TagsT &&value)
bool LaunchConfigurationNameHasBeenSet() const
const Aws::String & GetContext() const
const Aws::String & GetHealthCheckType() const
AWS_AUTOSCALING_API AutoScalingGroup()=default
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AutoScalingGroup & WithNewInstancesProtectedFromScaleIn(bool value)
bool TargetGroupARNsHasBeenSet() const
AutoScalingGroup & AddTargetGroupARNs(TargetGroupARNsT &&value)
bool TrafficSourcesHasBeenSet() const
const MixedInstancesPolicy & GetMixedInstancesPolicy() const
AutoScalingGroup & WithDefaultCooldown(int value)
int GetHealthCheckGracePeriod() const
bool WarmPoolSizeHasBeenSet() const
int GetDesiredCapacity() const
bool MaxSizeHasBeenSet() const
AutoScalingGroup & AddTrafficSources(TrafficSourcesT &&value)
void SetAutoScalingGroupARN(AutoScalingGroupARNT &&value)
AutoScalingGroup & WithTrafficSources(TrafficSourcesT &&value)
void SetCapacityRebalance(bool value)
void SetMixedInstancesPolicy(MixedInstancesPolicyT &&value)
const Aws::Vector< SuspendedProcess > & GetSuspendedProcesses() const
bool DefaultCooldownHasBeenSet() const
AutoScalingGroup & AddSuspendedProcesses(SuspendedProcessesT &&value)
const Aws::Vector< Instance > & GetInstances() const
AutoScalingGroup & WithLaunchTemplate(LaunchTemplateT &&value)
const Aws::String & GetServiceLinkedRoleARN() const
bool LaunchTemplateHasBeenSet() const
bool StatusHasBeenSet() const
void SetVPCZoneIdentifier(VPCZoneIdentifierT &&value)
void SetAvailabilityZones(AvailabilityZonesT &&value)
AutoScalingGroup & WithDesiredCapacity(int value)
AutoScalingGroup & WithLoadBalancerNames(LoadBalancerNamesT &&value)
const Aws::String & GetLaunchConfigurationName() const
bool CreatedTimeHasBeenSet() const
bool EnabledMetricsHasBeenSet() const
const Aws::Vector< TrafficSourceIdentifier > & GetTrafficSources() const
void SetAvailabilityZoneImpairmentPolicy(AvailabilityZoneImpairmentPolicyT &&value)
AutoScalingGroup & AddInstances(InstancesT &&value)
void SetMaxInstanceLifetime(int value)
void SetDefaultCooldown(int value)
AutoScalingGroup & WithTargetGroupARNs(TargetGroupARNsT &&value)
bool AutoScalingGroupARNHasBeenSet() const
void SetMinSize(int value)
const Aws::Vector< EnabledMetric > & GetEnabledMetrics() const
AutoScalingGroup & WithSuspendedProcesses(SuspendedProcessesT &&value)
bool TerminationPoliciesHasBeenSet() const
AutoScalingGroup & WithVPCZoneIdentifier(VPCZoneIdentifierT &&value)
AutoScalingGroup & WithDesiredCapacityType(DesiredCapacityTypeT &&value)
void SetInstances(InstancesT &&value)
const Aws::String & GetVPCZoneIdentifier() const
const Aws::String & GetStatus() const
bool HealthCheckGracePeriodHasBeenSet() const
bool VPCZoneIdentifierHasBeenSet() const
bool ServiceLinkedRoleARNHasBeenSet() const
void SetPredictedCapacity(int value)
void SetHealthCheckType(HealthCheckTypeT &&value)
AutoScalingGroup & AddLoadBalancerNames(LoadBalancerNamesT &&value)
int GetPredictedCapacity() const
void SetAutoScalingGroupName(AutoScalingGroupNameT &&value)
bool InstanceMaintenancePolicyHasBeenSet() const
AutoScalingGroup & WithStatus(StatusT &&value)
void SetStatus(StatusT &&value)
bool LoadBalancerNamesHasBeenSet() const
bool CapacityRebalanceHasBeenSet() const
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
bool HealthCheckTypeHasBeenSet() const
AutoScalingGroup & WithHealthCheckType(HealthCheckTypeT &&value)
const Aws::String & GetAutoScalingGroupARN() const
void SetSuspendedProcesses(SuspendedProcessesT &&value)
void SetTargetGroupARNs(TargetGroupARNsT &&value)
bool InstancesHasBeenSet() const
const Aws::Vector< Aws::String > & GetTargetGroupARNs() const
AutoScalingGroup & WithWarmPoolConfiguration(WarmPoolConfigurationT &&value)
AutoScalingGroup & WithPlacementGroup(PlacementGroupT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream