7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/model/LaunchTemplateSpecification.h>
9#include <aws/autoscaling/model/MixedInstancesPolicy.h>
10#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
20namespace AutoScaling {
50 template <
typename LaunchTemplateT = LaunchTemplateSpecification>
52 m_launchTemplateHasBeenSet =
true;
53 m_launchTemplate = std::forward<LaunchTemplateT>(value);
55 template <
typename LaunchTemplateT = LaunchTemplateSpecification>
74 template <
typename MixedInstancesPolicyT = MixedInstancesPolicy>
76 m_mixedInstancesPolicyHasBeenSet =
true;
77 m_mixedInstancesPolicy = std::forward<MixedInstancesPolicyT>(value);
79 template <
typename MixedInstancesPolicyT = MixedInstancesPolicy>
89 bool m_launchTemplateHasBeenSet =
false;
90 bool m_mixedInstancesPolicyHasBeenSet =
false;
void SetMixedInstancesPolicy(MixedInstancesPolicyT &&value)
const MixedInstancesPolicy & GetMixedInstancesPolicy() const
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_AUTOSCALING_API DesiredConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DesiredConfiguration & WithLaunchTemplate(LaunchTemplateT &&value)
bool LaunchTemplateHasBeenSet() const
AWS_AUTOSCALING_API DesiredConfiguration()=default
DesiredConfiguration & WithMixedInstancesPolicy(MixedInstancesPolicyT &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetLaunchTemplate(LaunchTemplateT &&value)
const LaunchTemplateSpecification & GetLaunchTemplate() const
AWS_AUTOSCALING_API DesiredConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
bool MixedInstancesPolicyHasBeenSet() const
std::basic_ostream< char, std::char_traits< char > > OStream