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/ec2/model/ResponseLaunchTemplateData.h>
52 inline void SetLaunchTemplateId(
const char* value) { m_launchTemplateIdHasBeenSet =
true; m_launchTemplateId.assign(value); }
66 inline void SetLaunchTemplateName(
const char* value) { m_launchTemplateNameHasBeenSet =
true; m_launchTemplateName.assign(value); }
78 inline void SetVersionNumber(
long long value) { m_versionNumberHasBeenSet =
true; m_versionNumber = value; }
90 inline void SetVersionDescription(
const char* value) { m_versionDescriptionHasBeenSet =
true; m_versionDescription.assign(value); }
116 inline void SetCreatedBy(
const char* value) { m_createdByHasBeenSet =
true; m_createdBy.assign(value); }
128 inline void SetDefaultVersion(
bool value) { m_defaultVersionHasBeenSet =
true; m_defaultVersion = value; }
146 bool m_launchTemplateIdHasBeenSet =
false;
149 bool m_launchTemplateNameHasBeenSet =
false;
151 long long m_versionNumber;
152 bool m_versionNumberHasBeenSet =
false;
155 bool m_versionDescriptionHasBeenSet =
false;
158 bool m_createTimeHasBeenSet =
false;
161 bool m_createdByHasBeenSet =
false;
163 bool m_defaultVersion;
164 bool m_defaultVersionHasBeenSet =
false;
167 bool m_launchTemplateDataHasBeenSet =
false;
void SetVersionDescription(const char *value)
AWS_EC2_API LaunchTemplateVersion()
bool GetDefaultVersion() const
void SetCreateTime(const Aws::Utils::DateTime &value)
AWS_EC2_API LaunchTemplateVersion(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetLaunchTemplateId() const
LaunchTemplateVersion & WithCreatedBy(const char *value)
LaunchTemplateVersion & WithLaunchTemplateData(const ResponseLaunchTemplateData &value)
bool CreateTimeHasBeenSet() const
LaunchTemplateVersion & WithLaunchTemplateName(const char *value)
LaunchTemplateVersion & WithLaunchTemplateName(const Aws::String &value)
void SetVersionDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetCreateTime() const
LaunchTemplateVersion & WithCreatedBy(const Aws::String &value)
void SetDefaultVersion(bool value)
void SetCreatedBy(Aws::String &&value)
void SetLaunchTemplateName(Aws::String &&value)
LaunchTemplateVersion & WithCreatedBy(Aws::String &&value)
LaunchTemplateVersion & WithLaunchTemplateName(Aws::String &&value)
bool LaunchTemplateDataHasBeenSet() const
LaunchTemplateVersion & WithCreateTime(const Aws::Utils::DateTime &value)
bool CreatedByHasBeenSet() const
LaunchTemplateVersion & WithDefaultVersion(bool value)
LaunchTemplateVersion & WithCreateTime(Aws::Utils::DateTime &&value)
LaunchTemplateVersion & WithLaunchTemplateId(const Aws::String &value)
void SetVersionDescription(Aws::String &&value)
LaunchTemplateVersion & WithLaunchTemplateId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
LaunchTemplateVersion & WithVersionDescription(Aws::String &&value)
long long GetVersionNumber() const
void SetCreateTime(Aws::Utils::DateTime &&value)
bool LaunchTemplateIdHasBeenSet() const
const ResponseLaunchTemplateData & GetLaunchTemplateData() const
void SetLaunchTemplateName(const Aws::String &value)
void SetLaunchTemplateData(ResponseLaunchTemplateData &&value)
AWS_EC2_API LaunchTemplateVersion & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetCreatedBy() const
LaunchTemplateVersion & WithLaunchTemplateId(const char *value)
void SetCreatedBy(const char *value)
LaunchTemplateVersion & WithVersionDescription(const char *value)
LaunchTemplateVersion & WithVersionNumber(long long value)
const Aws::String & GetVersionDescription() const
void SetLaunchTemplateId(const char *value)
bool VersionNumberHasBeenSet() const
void SetLaunchTemplateData(const ResponseLaunchTemplateData &value)
void SetCreatedBy(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetLaunchTemplateId(Aws::String &&value)
const Aws::String & GetLaunchTemplateName() const
bool DefaultVersionHasBeenSet() const
void SetVersionNumber(long long value)
bool LaunchTemplateNameHasBeenSet() const
bool VersionDescriptionHasBeenSet() const
void SetLaunchTemplateName(const char *value)
void SetLaunchTemplateId(const Aws::String &value)
LaunchTemplateVersion & WithLaunchTemplateData(ResponseLaunchTemplateData &&value)
LaunchTemplateVersion & WithVersionDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream