7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
63 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
78 inline void SetLaunchTemplateId(
const char* value) { m_launchTemplateIdHasBeenSet =
true; m_launchTemplateId.assign(value); }
93 inline void SetLaunchTemplateName(
const char* value) { m_launchTemplateNameHasBeenSet =
true; m_launchTemplateName.assign(value); }
107 inline void SetDefaultVersion(
const char* value) { m_defaultVersionHasBeenSet =
true; m_defaultVersion.assign(value); }
115 bool m_dryRunHasBeenSet =
false;
118 bool m_clientTokenHasBeenSet =
false;
121 bool m_launchTemplateIdHasBeenSet =
false;
124 bool m_launchTemplateNameHasBeenSet =
false;
127 bool m_defaultVersionHasBeenSet =
false;
bool DryRunHasBeenSet() const
ModifyLaunchTemplateRequest & WithDefaultVersion(const Aws::String &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyLaunchTemplateRequest & WithClientToken(const Aws::String &value)
void SetLaunchTemplateName(const Aws::String &value)
void SetDefaultVersion(const Aws::String &value)
ModifyLaunchTemplateRequest & WithLaunchTemplateId(Aws::String &&value)
void SetClientToken(const char *value)
ModifyLaunchTemplateRequest & WithLaunchTemplateId(const char *value)
ModifyLaunchTemplateRequest & WithDryRun(bool value)
ModifyLaunchTemplateRequest & WithClientToken(const char *value)
void SetLaunchTemplateId(Aws::String &&value)
ModifyLaunchTemplateRequest & WithDefaultVersion(Aws::String &&value)
AWS_EC2_API ModifyLaunchTemplateRequest()
const Aws::String & GetLaunchTemplateId() const
const Aws::String & GetLaunchTemplateName() const
ModifyLaunchTemplateRequest & WithDefaultVersion(const char *value)
const Aws::String & GetClientToken() const
bool DefaultVersionHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ModifyLaunchTemplateRequest & WithLaunchTemplateId(const Aws::String &value)
void SetClientToken(Aws::String &&value)
ModifyLaunchTemplateRequest & WithLaunchTemplateName(const char *value)
bool ClientTokenHasBeenSet() const
bool LaunchTemplateNameHasBeenSet() const
void SetLaunchTemplateId(const Aws::String &value)
void SetClientToken(const Aws::String &value)
bool LaunchTemplateIdHasBeenSet() const
void SetDefaultVersion(const char *value)
ModifyLaunchTemplateRequest & WithLaunchTemplateName(Aws::String &&value)
void SetDryRun(bool value)
void SetLaunchTemplateName(const char *value)
void SetDefaultVersion(Aws::String &&value)
void SetLaunchTemplateId(const char *value)
void SetLaunchTemplateName(Aws::String &&value)
const Aws::String & GetDefaultVersion() const
ModifyLaunchTemplateRequest & WithClientToken(Aws::String &&value)
ModifyLaunchTemplateRequest & WithLaunchTemplateName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String