7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/autoscaling/model/LaunchTemplateSpecification.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/autoscaling/model/LaunchTemplateOverrides.h>
51 template<
typename LaunchTemplateSpecificationT = LaunchTemplateSpecification>
52 void SetLaunchTemplateSpecification(LaunchTemplateSpecificationT&& value) { m_launchTemplateSpecificationHasBeenSet =
true; m_launchTemplateSpecification = std::forward<LaunchTemplateSpecificationT>(value); }
53 template<
typename LaunchTemplateSpecificationT = LaunchTemplateSpecification>
64 template<
typename Overr
idesT = Aws::Vector<LaunchTemplateOverr
ides>>
65 void SetOverrides(OverridesT&& value) { m_overridesHasBeenSet =
true; m_overrides = std::forward<OverridesT>(value); }
66 template<
typename Overr
idesT = Aws::Vector<LaunchTemplateOverr
ides>>
68 template<
typename Overr
idesT = LaunchTemplateOverr
ides>
69 LaunchTemplate&
AddOverrides(OverridesT&& value) { m_overridesHasBeenSet =
true; m_overrides.emplace_back(std::forward<OverridesT>(value));
return *
this; }
74 bool m_launchTemplateSpecificationHasBeenSet =
false;
77 bool m_overridesHasBeenSet =
false;
bool LaunchTemplateSpecificationHasBeenSet() const
LaunchTemplate & AddOverrides(OverridesT &&value)
const Aws::Vector< LaunchTemplateOverrides > & GetOverrides() const
AWS_AUTOSCALING_API LaunchTemplate()=default
void SetLaunchTemplateSpecification(LaunchTemplateSpecificationT &&value)
AWS_AUTOSCALING_API LaunchTemplate & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
LaunchTemplate & WithOverrides(OverridesT &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_AUTOSCALING_API LaunchTemplate(const Aws::Utils::Xml::XmlNode &xmlNode)
bool OverridesHasBeenSet() const
void SetOverrides(OverridesT &&value)
LaunchTemplate & WithLaunchTemplateSpecification(LaunchTemplateSpecificationT &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const LaunchTemplateSpecification & GetLaunchTemplateSpecification() const
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream