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>
68 template<
typename InstanceTypeT = Aws::String>
69 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet =
true; m_instanceType = std::forward<InstanceTypeT>(value); }
70 template<
typename InstanceTypeT = Aws::String>
100 template<
typename WeightedCapacityT = Aws::String>
101 void SetWeightedCapacity(WeightedCapacityT&& value) { m_weightedCapacityHasBeenSet =
true; m_weightedCapacity = std::forward<WeightedCapacityT>(value); }
102 template<
typename WeightedCapacityT = Aws::String>
121 template<
typename LaunchTemplateSpecificationT = LaunchTemplateSpecification>
122 void SetLaunchTemplateSpecification(LaunchTemplateSpecificationT&& value) { m_launchTemplateSpecificationHasBeenSet =
true; m_launchTemplateSpecification = std::forward<LaunchTemplateSpecificationT>(value); }
123 template<
typename LaunchTemplateSpecificationT = LaunchTemplateSpecification>
142 template<
typename InstanceRequirementsT = InstanceRequirements>
143 void SetInstanceRequirements(InstanceRequirementsT&& value) { m_instanceRequirementsHasBeenSet =
true; m_instanceRequirements = std::forward<InstanceRequirementsT>(value); }
144 template<
typename InstanceRequirementsT = InstanceRequirements>
150 bool m_instanceTypeHasBeenSet =
false;
153 bool m_weightedCapacityHasBeenSet =
false;
156 bool m_launchTemplateSpecificationHasBeenSet =
false;
159 bool m_instanceRequirementsHasBeenSet =
false;
const Aws::String & GetInstanceType() const
const LaunchTemplateSpecification & GetLaunchTemplateSpecification() const
const InstanceRequirements & GetInstanceRequirements() const
LaunchTemplateOverrides & WithWeightedCapacity(WeightedCapacityT &&value)
AWS_AUTOSCALING_API LaunchTemplateOverrides()=default
AWS_AUTOSCALING_API LaunchTemplateOverrides & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool LaunchTemplateSpecificationHasBeenSet() const
bool InstanceTypeHasBeenSet() const
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 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
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream