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/InstanceRequirements.h>
70 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
104 inline void SetWeightedCapacity(
const char* value) { m_weightedCapacityHasBeenSet =
true; m_weightedCapacity.assign(value); }
154 bool m_instanceTypeHasBeenSet =
false;
157 bool m_weightedCapacityHasBeenSet =
false;
160 bool m_launchTemplateSpecificationHasBeenSet =
false;
163 bool m_instanceRequirementsHasBeenSet =
false;
const Aws::String & GetInstanceType() const
const LaunchTemplateSpecification & GetLaunchTemplateSpecification() const
const InstanceRequirements & GetInstanceRequirements() const
void SetInstanceType(const char *value)
LaunchTemplateOverrides & WithInstanceType(const char *value)
AWS_AUTOSCALING_API LaunchTemplateOverrides()
LaunchTemplateOverrides & WithWeightedCapacity(Aws::String &&value)
LaunchTemplateOverrides & WithLaunchTemplateSpecification(const LaunchTemplateSpecification &value)
void SetInstanceType(const Aws::String &value)
void SetWeightedCapacity(Aws::String &&value)
void SetWeightedCapacity(const Aws::String &value)
AWS_AUTOSCALING_API LaunchTemplateOverrides & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
LaunchTemplateOverrides & WithWeightedCapacity(const Aws::String &value)
bool LaunchTemplateSpecificationHasBeenSet() const
bool InstanceTypeHasBeenSet() const
LaunchTemplateOverrides & WithInstanceRequirements(const InstanceRequirements &value)
void SetWeightedCapacity(const char *value)
void SetLaunchTemplateSpecification(LaunchTemplateSpecification &&value)
void SetLaunchTemplateSpecification(const LaunchTemplateSpecification &value)
LaunchTemplateOverrides & WithInstanceRequirements(InstanceRequirements &&value)
LaunchTemplateOverrides & WithInstanceType(Aws::String &&value)
bool WeightedCapacityHasBeenSet() const
LaunchTemplateOverrides & WithWeightedCapacity(const char *value)
bool InstanceRequirementsHasBeenSet() const
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
LaunchTemplateOverrides & WithInstanceType(const Aws::String &value)
void SetInstanceType(Aws::String &&value)
void SetInstanceRequirements(InstanceRequirements &&value)
AWS_AUTOSCALING_API LaunchTemplateOverrides(const Aws::Utils::Xml::XmlNode &xmlNode)
LaunchTemplateOverrides & WithLaunchTemplateSpecification(LaunchTemplateSpecification &&value)
const Aws::String & GetWeightedCapacity() const
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetInstanceRequirements(const InstanceRequirements &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream