7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/RequestLaunchTemplateData.h>
49 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
64 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
79 inline void SetLaunchTemplateId(
const char* value) { m_launchTemplateIdHasBeenSet =
true; m_launchTemplateId.assign(value); }
94 inline void SetLaunchTemplateName(
const char* value) { m_launchTemplateNameHasBeenSet =
true; m_launchTemplateName.assign(value); }
115 inline void SetSourceVersion(
const char* value) { m_sourceVersionHasBeenSet =
true; m_sourceVersion.assign(value); }
129 inline void SetVersionDescription(
const char* value) { m_versionDescriptionHasBeenSet =
true; m_versionDescription.assign(value); }
158 inline void SetResolveAlias(
bool value) { m_resolveAliasHasBeenSet =
true; m_resolveAlias = value; }
164 bool m_dryRunHasBeenSet =
false;
167 bool m_clientTokenHasBeenSet =
false;
170 bool m_launchTemplateIdHasBeenSet =
false;
173 bool m_launchTemplateNameHasBeenSet =
false;
176 bool m_sourceVersionHasBeenSet =
false;
179 bool m_versionDescriptionHasBeenSet =
false;
182 bool m_launchTemplateDataHasBeenSet =
false;
185 bool m_resolveAliasHasBeenSet =
false;
CreateLaunchTemplateVersionRequest & WithSourceVersion(const Aws::String &value)
CreateLaunchTemplateVersionRequest & WithResolveAlias(bool value)
bool ClientTokenHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetSourceVersion(const Aws::String &value)
CreateLaunchTemplateVersionRequest & WithVersionDescription(const char *value)
void SetLaunchTemplateData(const RequestLaunchTemplateData &value)
void SetLaunchTemplateName(const char *value)
void SetClientToken(const char *value)
CreateLaunchTemplateVersionRequest & WithClientToken(const Aws::String &value)
CreateLaunchTemplateVersionRequest & WithClientToken(const char *value)
CreateLaunchTemplateVersionRequest & WithSourceVersion(const char *value)
bool SourceVersionHasBeenSet() const
CreateLaunchTemplateVersionRequest & WithLaunchTemplateId(Aws::String &&value)
CreateLaunchTemplateVersionRequest & WithVersionDescription(Aws::String &&value)
CreateLaunchTemplateVersionRequest & WithLaunchTemplateData(const RequestLaunchTemplateData &value)
void SetVersionDescription(const char *value)
const Aws::String & GetSourceVersion() const
void SetLaunchTemplateData(RequestLaunchTemplateData &&value)
void SetClientToken(const Aws::String &value)
bool VersionDescriptionHasBeenSet() const
const Aws::String & GetClientToken() const
CreateLaunchTemplateVersionRequest & WithLaunchTemplateName(Aws::String &&value)
const Aws::String & GetVersionDescription() const
void SetClientToken(Aws::String &&value)
void SetVersionDescription(const Aws::String &value)
void SetVersionDescription(Aws::String &&value)
void SetLaunchTemplateId(const char *value)
CreateLaunchTemplateVersionRequest & WithLaunchTemplateId(const char *value)
void SetLaunchTemplateId(const Aws::String &value)
bool LaunchTemplateNameHasBeenSet() const
const Aws::String & GetLaunchTemplateId() const
CreateLaunchTemplateVersionRequest & WithVersionDescription(const Aws::String &value)
void SetDryRun(bool value)
bool LaunchTemplateIdHasBeenSet() const
CreateLaunchTemplateVersionRequest & WithLaunchTemplateName(const Aws::String &value)
CreateLaunchTemplateVersionRequest & WithLaunchTemplateId(const Aws::String &value)
CreateLaunchTemplateVersionRequest & WithLaunchTemplateName(const char *value)
void SetLaunchTemplateName(Aws::String &&value)
void SetLaunchTemplateName(const Aws::String &value)
bool LaunchTemplateDataHasBeenSet() const
CreateLaunchTemplateVersionRequest & WithDryRun(bool value)
void SetSourceVersion(const char *value)
void SetLaunchTemplateId(Aws::String &&value)
const RequestLaunchTemplateData & GetLaunchTemplateData() const
const Aws::String & GetLaunchTemplateName() const
CreateLaunchTemplateVersionRequest & WithClientToken(Aws::String &&value)
CreateLaunchTemplateVersionRequest & WithLaunchTemplateData(RequestLaunchTemplateData &&value)
virtual const char * GetServiceRequestName() const override
bool ResolveAliasHasBeenSet() const
void SetResolveAlias(bool value)
CreateLaunchTemplateVersionRequest & WithSourceVersion(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
bool GetResolveAlias() const
bool DryRunHasBeenSet() const
void SetSourceVersion(Aws::String &&value)
AWS_EC2_API CreateLaunchTemplateVersionRequest()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String