7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/model/InstanceRequirements.h>
9#include <aws/autoscaling/model/LaunchTemplateSpecification.h>
10#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
21namespace AutoScaling {
62 template <
typename InstanceTypeT = Aws::String>
64 m_instanceTypeHasBeenSet =
true;
65 m_instanceType = std::forward<InstanceTypeT>(value);
67 template <
typename InstanceTypeT = Aws::String>
100 template <
typename WeightedCapacityT = Aws::String>
102 m_weightedCapacityHasBeenSet =
true;
103 m_weightedCapacity = std::forward<WeightedCapacityT>(value);
105 template <
typename WeightedCapacityT = Aws::String>
127 template <
typename LaunchTemplateSpecificationT = LaunchTemplateSpecification>
129 m_launchTemplateSpecificationHasBeenSet =
true;
130 m_launchTemplateSpecification = std::forward<LaunchTemplateSpecificationT>(value);
132 template <
typename LaunchTemplateSpecificationT = LaunchTemplateSpecification>
154 template <
typename InstanceRequirementsT = InstanceRequirements>
156 m_instanceRequirementsHasBeenSet =
true;
157 m_instanceRequirements = std::forward<InstanceRequirementsT>(value);
159 template <
typename InstanceRequirementsT = InstanceRequirements>
178 template <
typename ImageIdT = Aws::String>
180 m_imageIdHasBeenSet =
true;
181 m_imageId = std::forward<ImageIdT>(value);
183 template <
typename ImageIdT = Aws::String>
199 bool m_instanceTypeHasBeenSet =
false;
200 bool m_weightedCapacityHasBeenSet =
false;
201 bool m_launchTemplateSpecificationHasBeenSet =
false;
202 bool m_instanceRequirementsHasBeenSet =
false;
203 bool m_imageIdHasBeenSet =
false;
const Aws::String & GetInstanceType() const
const LaunchTemplateSpecification & GetLaunchTemplateSpecification() const
const InstanceRequirements & GetInstanceRequirements() const
LaunchTemplateOverrides & WithWeightedCapacity(WeightedCapacityT &&value)
const Aws::String & GetImageId() const
AWS_AUTOSCALING_API LaunchTemplateOverrides()=default
AWS_AUTOSCALING_API LaunchTemplateOverrides & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool LaunchTemplateSpecificationHasBeenSet() const
bool InstanceTypeHasBeenSet() const
LaunchTemplateOverrides & WithImageId(ImageIdT &&value)
LaunchTemplateOverrides & WithInstanceRequirements(InstanceRequirementsT &&value)
bool WeightedCapacityHasBeenSet() const
LaunchTemplateOverrides & WithLaunchTemplateSpecification(LaunchTemplateSpecificationT &&value)
void SetWeightedCapacity(WeightedCapacityT &&value)
bool InstanceRequirementsHasBeenSet() const
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
LaunchTemplateOverrides & WithInstanceType(InstanceTypeT &&value)
AWS_AUTOSCALING_API LaunchTemplateOverrides(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetImageId(ImageIdT &&value)
void SetLaunchTemplateSpecification(LaunchTemplateSpecificationT &&value)
void SetInstanceRequirements(InstanceRequirementsT &&value)
const Aws::String & GetWeightedCapacity() const
void SetInstanceType(InstanceTypeT &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool ImageIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream