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 {
56 template <
typename LaunchTemplateT = LaunchTemplate>
58 m_launchTemplateHasBeenSet =
true;
59 m_launchTemplate = std::forward<LaunchTemplateT>(value);
61 template <
typename LaunchTemplateT = LaunchTemplate>
74 template <
typename InstancesDistributionT = InstancesDistribution>
76 m_instancesDistributionHasBeenSet =
true;
77 m_instancesDistribution = std::forward<InstancesDistributionT>(value);
79 template <
typename InstancesDistributionT = InstancesDistribution>
89 bool m_launchTemplateHasBeenSet =
false;
90 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