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/LifecycleState.h>
11#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 SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
113 inline void SetHealthStatus(
const char* value) { m_healthStatusHasBeenSet =
true; m_healthStatus.assign(value); }
127 inline void SetLaunchConfigurationName(
const char* value) { m_launchConfigurationNameHasBeenSet =
true; m_launchConfigurationName.assign(value); }
165 inline void SetWeightedCapacity(
const char* value) { m_weightedCapacityHasBeenSet =
true; m_weightedCapacity.assign(value); }
173 bool m_instanceIdHasBeenSet =
false;
176 bool m_instanceTypeHasBeenSet =
false;
179 bool m_availabilityZoneHasBeenSet =
false;
182 bool m_lifecycleStateHasBeenSet =
false;
185 bool m_healthStatusHasBeenSet =
false;
188 bool m_launchConfigurationNameHasBeenSet =
false;
191 bool m_launchTemplateHasBeenSet =
false;
193 bool m_protectedFromScaleIn;
194 bool m_protectedFromScaleInHasBeenSet =
false;
197 bool m_weightedCapacityHasBeenSet =
false;
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Instance & WithInstanceType(Aws::String &&value)
void SetAvailabilityZone(Aws::String &&value)
Instance & WithLaunchConfigurationName(const char *value)
Instance & WithWeightedCapacity(const Aws::String &value)
void SetWeightedCapacity(Aws::String &&value)
const Aws::String & GetLaunchConfigurationName() const
Instance & WithWeightedCapacity(Aws::String &&value)
Instance & WithHealthStatus(const Aws::String &value)
void SetHealthStatus(const Aws::String &value)
void SetAvailabilityZone(const char *value)
void SetProtectedFromScaleIn(bool value)
Instance & WithAvailabilityZone(Aws::String &&value)
void SetWeightedCapacity(const char *value)
bool InstanceIdHasBeenSet() const
void SetLifecycleState(const LifecycleState &value)
void SetLaunchConfigurationName(const Aws::String &value)
const Aws::String & GetInstanceType() const
void SetAvailabilityZone(const Aws::String &value)
bool LifecycleStateHasBeenSet() const
const Aws::String & GetWeightedCapacity() const
void SetInstanceId(const Aws::String &value)
Instance & WithInstanceType(const Aws::String &value)
Instance & WithInstanceId(const char *value)
Instance & WithProtectedFromScaleIn(bool value)
Instance & WithInstanceId(Aws::String &&value)
AWS_AUTOSCALING_API Instance & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetInstanceId() const
bool LaunchTemplateHasBeenSet() const
void SetInstanceType(const char *value)
void SetWeightedCapacity(const Aws::String &value)
Instance & WithAvailabilityZone(const Aws::String &value)
bool AvailabilityZoneHasBeenSet() const
bool HealthStatusHasBeenSet() const
void SetLaunchTemplate(LaunchTemplateSpecification &&value)
Instance & WithLaunchTemplate(const LaunchTemplateSpecification &value)
bool LaunchConfigurationNameHasBeenSet() const
void SetInstanceType(Aws::String &&value)
void SetInstanceId(const char *value)
void SetHealthStatus(const char *value)
Instance & WithLaunchConfigurationName(const Aws::String &value)
void SetLifecycleState(LifecycleState &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Instance & WithLaunchConfigurationName(Aws::String &&value)
bool GetProtectedFromScaleIn() const
void SetHealthStatus(Aws::String &&value)
void SetLaunchTemplate(const LaunchTemplateSpecification &value)
Instance & WithWeightedCapacity(const char *value)
const Aws::String & GetAvailabilityZone() const
bool InstanceTypeHasBeenSet() const
void SetLaunchConfigurationName(Aws::String &&value)
Instance & WithHealthStatus(const char *value)
const LifecycleState & GetLifecycleState() const
Instance & WithInstanceId(const Aws::String &value)
Instance & WithLifecycleState(const LifecycleState &value)
Instance & WithAvailabilityZone(const char *value)
Instance & WithHealthStatus(Aws::String &&value)
Instance & WithLaunchTemplate(LaunchTemplateSpecification &&value)
void SetInstanceId(Aws::String &&value)
const LaunchTemplateSpecification & GetLaunchTemplate() const
void SetLaunchConfigurationName(const char *value)
AWS_AUTOSCALING_API Instance(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ProtectedFromScaleInHasBeenSet() const
const Aws::String & GetHealthStatus() const
void SetInstanceType(const Aws::String &value)
bool WeightedCapacityHasBeenSet() const
AWS_AUTOSCALING_API Instance()
Instance & WithLifecycleState(LifecycleState &&value)
Instance & WithInstanceType(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream