7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/model/InstancesDistribution.h>
9#include <aws/autoscaling/model/LaunchTemplate.h>
10#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
20namespace AutoScaling {
50 template <
typename LaunchTemplateT = LaunchTemplate>
52 m_launchTemplateHasBeenSet =
true;
53 m_launchTemplate = std::forward<LaunchTemplateT>(value);
55 template <
typename LaunchTemplateT = LaunchTemplate>
68 template <
typename InstancesDistributionT = InstancesDistribution>
70 m_instancesDistributionHasBeenSet =
true;
71 m_instancesDistribution = std::forward<InstancesDistributionT>(value);
73 template <
typename InstancesDistributionT = InstancesDistribution>
83 bool m_launchTemplateHasBeenSet =
false;
84 bool m_instancesDistributionHasBeenSet =
false;
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool InstancesDistributionHasBeenSet() const
AWS_AUTOSCALING_API MixedInstancesPolicy()=default
AWS_AUTOSCALING_API MixedInstancesPolicy(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetInstancesDistribution(InstancesDistributionT &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool LaunchTemplateHasBeenSet() const
AWS_AUTOSCALING_API MixedInstancesPolicy & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
MixedInstancesPolicy & WithLaunchTemplate(LaunchTemplateT &&value)
const LaunchTemplate & GetLaunchTemplate() const
MixedInstancesPolicy & WithInstancesDistribution(InstancesDistributionT &&value)
void SetLaunchTemplate(LaunchTemplateT &&value)
const InstancesDistribution & GetInstancesDistribution() const
std::basic_ostream< char, std::char_traits< char > > OStream