7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/Tag.h>
53 inline void SetLaunchTemplateId(
const char* value) { m_launchTemplateIdHasBeenSet =
true; m_launchTemplateId.assign(value); }
67 inline void SetLaunchTemplateName(
const char* value) { m_launchTemplateNameHasBeenSet =
true; m_launchTemplateName.assign(value); }
93 inline void SetCreatedBy(
const char* value) { m_createdByHasBeenSet =
true; m_createdBy.assign(value); }
105 inline void SetDefaultVersionNumber(
long long value) { m_defaultVersionNumberHasBeenSet =
true; m_defaultVersionNumber = value; }
115 inline void SetLatestVersionNumber(
long long value) { m_latestVersionNumberHasBeenSet =
true; m_latestVersionNumber = value; }
135 bool m_launchTemplateIdHasBeenSet =
false;
138 bool m_launchTemplateNameHasBeenSet =
false;
141 bool m_createTimeHasBeenSet =
false;
144 bool m_createdByHasBeenSet =
false;
146 long long m_defaultVersionNumber;
147 bool m_defaultVersionNumberHasBeenSet =
false;
149 long long m_latestVersionNumber;
150 bool m_latestVersionNumberHasBeenSet =
false;
153 bool m_tagsHasBeenSet =
false;
LaunchTemplate & WithLaunchTemplateName(const char *value)
AWS_EC2_API LaunchTemplate & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
LaunchTemplate & WithLaunchTemplateId(const Aws::String &value)
void SetLaunchTemplateId(const char *value)
AWS_EC2_API LaunchTemplate()
void SetCreatedBy(const Aws::String &value)
void SetLatestVersionNumber(long long value)
long long GetDefaultVersionNumber() const
void SetLaunchTemplateId(Aws::String &&value)
const Aws::String & GetLaunchTemplateId() const
long long GetLatestVersionNumber() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
LaunchTemplate & WithLatestVersionNumber(long long value)
void SetTags(const Aws::Vector< Tag > &value)
bool LaunchTemplateNameHasBeenSet() const
void SetCreateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreateTime() const
void SetLaunchTemplateName(const Aws::String &value)
LaunchTemplate & WithLaunchTemplateName(const Aws::String &value)
LaunchTemplate & AddTags(Tag &&value)
LaunchTemplate & WithCreatedBy(const Aws::String &value)
const Aws::String & GetCreatedBy() const
bool LaunchTemplateIdHasBeenSet() const
bool CreatedByHasBeenSet() const
void SetDefaultVersionNumber(long long value)
LaunchTemplate & WithLaunchTemplateName(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
void SetLaunchTemplateName(Aws::String &&value)
bool DefaultVersionNumberHasBeenSet() const
LaunchTemplate & WithLaunchTemplateId(const char *value)
bool CreateTimeHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
LaunchTemplate & WithDefaultVersionNumber(long long value)
const Aws::String & GetLaunchTemplateName() const
bool TagsHasBeenSet() const
LaunchTemplate & WithCreatedBy(const char *value)
LaunchTemplate & WithCreatedBy(Aws::String &&value)
AWS_EC2_API LaunchTemplate(const Aws::Utils::Xml::XmlNode &xmlNode)
LaunchTemplate & AddTags(const Tag &value)
LaunchTemplate & WithCreateTime(const Aws::Utils::DateTime &value)
void SetCreatedBy(Aws::String &&value)
void SetLaunchTemplateId(const Aws::String &value)
void SetCreatedBy(const char *value)
bool LatestVersionNumberHasBeenSet() const
void SetCreateTime(Aws::Utils::DateTime &&value)
LaunchTemplate & WithCreateTime(Aws::Utils::DateTime &&value)
void SetTags(Aws::Vector< Tag > &&value)
LaunchTemplate & WithTags(Aws::Vector< Tag > &&value)
LaunchTemplate & WithTags(const Aws::Vector< Tag > &value)
void SetLaunchTemplateName(const char *value)
LaunchTemplate & WithLaunchTemplateId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream