7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/autoscaling/model/LaunchTemplate.h>
10#include <aws/autoscaling/model/InstancesDistribution.h>
56 template<
typename LaunchTemplateT = LaunchTemplate>
57 void SetLaunchTemplate(LaunchTemplateT&& value) { m_launchTemplateHasBeenSet =
true; m_launchTemplate = std::forward<LaunchTemplateT>(value); }
58 template<
typename LaunchTemplateT = LaunchTemplate>
68 template<
typename InstancesDistributionT = InstancesDistribution>
69 void SetInstancesDistribution(InstancesDistributionT&& value) { m_instancesDistributionHasBeenSet =
true; m_instancesDistribution = std::forward<InstancesDistributionT>(value); }
70 template<
typename InstancesDistributionT = InstancesDistribution>
76 bool m_launchTemplateHasBeenSet =
false;
79 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