7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/model/LaunchTemplateOverrides.h>
9#include <aws/autoscaling/model/LaunchTemplateSpecification.h>
10#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace AutoScaling {
45 template <
typename LaunchTemplateSpecificationT = LaunchTemplateSpecification>
47 m_launchTemplateSpecificationHasBeenSet =
true;
48 m_launchTemplateSpecification = std::forward<LaunchTemplateSpecificationT>(value);
50 template <
typename LaunchTemplateSpecificationT = LaunchTemplateSpecification>
64 template <
typename Overr
idesT = Aws::Vector<LaunchTemplateOverr
ides>>
66 m_overridesHasBeenSet =
true;
67 m_overrides = std::forward<OverridesT>(value);
69 template <
typename Overr
idesT = Aws::Vector<LaunchTemplateOverr
ides>>
74 template <
typename Overr
idesT = LaunchTemplateOverr
ides>
76 m_overridesHasBeenSet =
true;
77 m_overrides.emplace_back(std::forward<OverridesT>(value));
85 bool m_launchTemplateSpecificationHasBeenSet =
false;
86 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