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>
52 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
66 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
80 inline void SetAutoScalingGroupName(
const char* value) { m_autoScalingGroupNameHasBeenSet =
true; m_autoScalingGroupName.assign(value); }
94 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
122 inline void SetLifecycleState(
const char* value) { m_lifecycleStateHasBeenSet =
true; m_lifecycleState.assign(value); }
139 inline void SetHealthStatus(
const char* value) { m_healthStatusHasBeenSet =
true; m_healthStatus.assign(value); }
154 inline void SetLaunchConfigurationName(
const char* value) { m_launchConfigurationNameHasBeenSet =
true; m_launchConfigurationName.assign(value); }
192 inline void SetWeightedCapacity(
const char* value) { m_weightedCapacityHasBeenSet =
true; m_weightedCapacity.assign(value); }
200 bool m_instanceIdHasBeenSet =
false;
203 bool m_instanceTypeHasBeenSet =
false;
206 bool m_autoScalingGroupNameHasBeenSet =
false;
209 bool m_availabilityZoneHasBeenSet =
false;
212 bool m_lifecycleStateHasBeenSet =
false;
215 bool m_healthStatusHasBeenSet =
false;
218 bool m_launchConfigurationNameHasBeenSet =
false;
221 bool m_launchTemplateHasBeenSet =
false;
223 bool m_protectedFromScaleIn;
224 bool m_protectedFromScaleInHasBeenSet =
false;
227 bool m_weightedCapacityHasBeenSet =
false;
const Aws::String & GetLifecycleState() const
void SetAvailabilityZone(Aws::String &&value)
const Aws::String & GetInstanceId() const
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetHealthStatus(Aws::String &&value)
AWS_AUTOSCALING_API AutoScalingInstanceDetails()
void SetProtectedFromScaleIn(bool value)
bool HealthStatusHasBeenSet() const
AutoScalingInstanceDetails & WithAutoScalingGroupName(const char *value)
bool ProtectedFromScaleInHasBeenSet() const
void SetLifecycleState(Aws::String &&value)
void SetHealthStatus(const char *value)
AutoScalingInstanceDetails & WithProtectedFromScaleIn(bool value)
const Aws::String & GetInstanceType() const
AutoScalingInstanceDetails & WithInstanceType(const char *value)
void SetAvailabilityZone(const Aws::String &value)
AutoScalingInstanceDetails & WithLaunchConfigurationName(Aws::String &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetHealthStatus(const Aws::String &value)
const Aws::String & GetAutoScalingGroupName() const
void SetInstanceId(const Aws::String &value)
AutoScalingInstanceDetails & WithAutoScalingGroupName(const Aws::String &value)
void SetInstanceType(const char *value)
void SetLaunchConfigurationName(const Aws::String &value)
bool InstanceIdHasBeenSet() const
void SetInstanceId(Aws::String &&value)
void SetAutoScalingGroupName(Aws::String &&value)
AutoScalingInstanceDetails & WithWeightedCapacity(const Aws::String &value)
AutoScalingInstanceDetails & WithWeightedCapacity(Aws::String &&value)
void SetLifecycleState(const char *value)
bool AvailabilityZoneHasBeenSet() const
const Aws::String & GetWeightedCapacity() const
AutoScalingInstanceDetails & WithInstanceId(const char *value)
AWS_AUTOSCALING_API AutoScalingInstanceDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAutoScalingGroupName(const Aws::String &value)
void SetInstanceType(const Aws::String &value)
AutoScalingInstanceDetails & WithHealthStatus(Aws::String &&value)
AutoScalingInstanceDetails & WithAvailabilityZone(const char *value)
void SetInstanceType(Aws::String &&value)
bool LaunchConfigurationNameHasBeenSet() const
void SetAutoScalingGroupName(const char *value)
void SetWeightedCapacity(const Aws::String &value)
bool WeightedCapacityHasBeenSet() const
AutoScalingInstanceDetails & WithInstanceType(Aws::String &&value)
void SetLaunchTemplate(const LaunchTemplateSpecification &value)
void SetLaunchConfigurationName(const char *value)
AutoScalingInstanceDetails & WithAvailabilityZone(const Aws::String &value)
bool InstanceTypeHasBeenSet() const
void SetLaunchConfigurationName(Aws::String &&value)
void SetInstanceId(const char *value)
const Aws::String & GetLaunchConfigurationName() const
void SetAvailabilityZone(const char *value)
AutoScalingInstanceDetails & WithLaunchConfigurationName(const char *value)
AutoScalingInstanceDetails & WithAutoScalingGroupName(Aws::String &&value)
bool LaunchTemplateHasBeenSet() const
AutoScalingInstanceDetails & WithLifecycleState(Aws::String &&value)
void SetWeightedCapacity(Aws::String &&value)
AWS_AUTOSCALING_API AutoScalingInstanceDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AutoScalingInstanceDetails & WithLaunchTemplate(LaunchTemplateSpecification &&value)
bool GetProtectedFromScaleIn() const
AutoScalingInstanceDetails & WithInstanceId(const Aws::String &value)
AutoScalingInstanceDetails & WithHealthStatus(const char *value)
AutoScalingInstanceDetails & WithLaunchConfigurationName(const Aws::String &value)
AutoScalingInstanceDetails & WithInstanceId(Aws::String &&value)
void SetLaunchTemplate(LaunchTemplateSpecification &&value)
const Aws::String & GetAvailabilityZone() const
AutoScalingInstanceDetails & WithLifecycleState(const char *value)
AutoScalingInstanceDetails & WithInstanceType(const Aws::String &value)
void SetWeightedCapacity(const char *value)
AutoScalingInstanceDetails & WithLaunchTemplate(const LaunchTemplateSpecification &value)
const Aws::String & GetHealthStatus() const
void SetLifecycleState(const Aws::String &value)
AutoScalingInstanceDetails & WithLifecycleState(const Aws::String &value)
AutoScalingInstanceDetails & WithHealthStatus(const Aws::String &value)
const LaunchTemplateSpecification & GetLaunchTemplate() const
bool AutoScalingGroupNameHasBeenSet() const
AutoScalingInstanceDetails & WithWeightedCapacity(const char *value)
AutoScalingInstanceDetails & WithAvailabilityZone(Aws::String &&value)
bool LifecycleStateHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream