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/FastLaunchSnapshotConfigurationRequest.h>
11#include <aws/ec2/model/FastLaunchLaunchTemplateSpecificationRequest.h>
49 inline void SetImageId(
const char* value) { m_imageIdHasBeenSet =
true; m_imageId.assign(value); }
65 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
120 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
126 bool m_imageIdHasBeenSet =
false;
129 bool m_resourceTypeHasBeenSet =
false;
132 bool m_snapshotConfigurationHasBeenSet =
false;
135 bool m_launchTemplateHasBeenSet =
false;
137 int m_maxParallelLaunches;
138 bool m_maxParallelLaunchesHasBeenSet =
false;
141 bool m_dryRunHasBeenSet =
false;
int GetMaxParallelLaunches() const
void SetImageId(Aws::String &&value)
bool LaunchTemplateHasBeenSet() const
EnableFastLaunchRequest & WithResourceType(Aws::String &&value)
void SetLaunchTemplate(const FastLaunchLaunchTemplateSpecificationRequest &value)
EnableFastLaunchRequest & WithSnapshotConfiguration(FastLaunchSnapshotConfigurationRequest &&value)
void SetMaxParallelLaunches(int value)
EnableFastLaunchRequest & WithSnapshotConfiguration(const FastLaunchSnapshotConfigurationRequest &value)
void SetImageId(const char *value)
void SetResourceType(const Aws::String &value)
bool ImageIdHasBeenSet() const
void SetSnapshotConfiguration(const FastLaunchSnapshotConfigurationRequest &value)
bool DryRunHasBeenSet() const
EnableFastLaunchRequest & WithImageId(const Aws::String &value)
AWS_EC2_API Aws::String SerializePayload() const override
const Aws::String & GetResourceType() const
const FastLaunchLaunchTemplateSpecificationRequest & GetLaunchTemplate() const
void SetDryRun(bool value)
EnableFastLaunchRequest & WithDryRun(bool value)
bool SnapshotConfigurationHasBeenSet() const
EnableFastLaunchRequest & WithResourceType(const Aws::String &value)
EnableFastLaunchRequest & WithImageId(Aws::String &&value)
EnableFastLaunchRequest & WithMaxParallelLaunches(int value)
EnableFastLaunchRequest & WithImageId(const char *value)
AWS_EC2_API EnableFastLaunchRequest()
bool MaxParallelLaunchesHasBeenSet() const
void SetResourceType(Aws::String &&value)
void SetSnapshotConfiguration(FastLaunchSnapshotConfigurationRequest &&value)
const Aws::String & GetImageId() const
EnableFastLaunchRequest & WithResourceType(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetResourceType(const char *value)
const FastLaunchSnapshotConfigurationRequest & GetSnapshotConfiguration() const
EnableFastLaunchRequest & WithLaunchTemplate(const FastLaunchLaunchTemplateSpecificationRequest &value)
bool ResourceTypeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetImageId(const Aws::String &value)
void SetLaunchTemplate(FastLaunchLaunchTemplateSpecificationRequest &&value)
EnableFastLaunchRequest & WithLaunchTemplate(FastLaunchLaunchTemplateSpecificationRequest &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String