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>
47 template<
typename ImageIdT = Aws::String>
48 void SetImageId(ImageIdT&& value) { m_imageIdHasBeenSet =
true; m_imageId = std::forward<ImageIdT>(value); }
49 template<
typename ImageIdT = Aws::String>
61 template<
typename ResourceTypeT = Aws::String>
62 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
63 template<
typename ResourceTypeT = Aws::String>
75 template<
typename SnapshotConfigurationT = FastLaunchSnapshotConfigurationRequest>
76 void SetSnapshotConfiguration(SnapshotConfigurationT&& value) { m_snapshotConfigurationHasBeenSet =
true; m_snapshotConfiguration = std::forward<SnapshotConfigurationT>(value); }
77 template<
typename SnapshotConfigurationT = FastLaunchSnapshotConfigurationRequest>
89 template<
typename LaunchTemplateT = FastLaunchLaunchTemplateSpecificationRequest>
90 void SetLaunchTemplate(LaunchTemplateT&& value) { m_launchTemplateHasBeenSet =
true; m_launchTemplate = std::forward<LaunchTemplateT>(value); }
91 template<
typename LaunchTemplateT = FastLaunchLaunchTemplateSpecificationRequest>
116 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
122 bool m_imageIdHasBeenSet =
false;
125 bool m_resourceTypeHasBeenSet =
false;
128 bool m_snapshotConfigurationHasBeenSet =
false;
131 bool m_launchTemplateHasBeenSet =
false;
133 int m_maxParallelLaunches{0};
134 bool m_maxParallelLaunchesHasBeenSet =
false;
136 bool m_dryRun{
false};
137 bool m_dryRunHasBeenSet =
false;
int GetMaxParallelLaunches() const
bool LaunchTemplateHasBeenSet() const
void SetResourceType(ResourceTypeT &&value)
AWS_EC2_API EnableFastLaunchRequest()=default
void SetMaxParallelLaunches(int value)
bool ImageIdHasBeenSet() const
bool DryRunHasBeenSet() const
EnableFastLaunchRequest & WithResourceType(ResourceTypeT &&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)
void SetImageId(ImageIdT &&value)
bool SnapshotConfigurationHasBeenSet() const
EnableFastLaunchRequest & WithSnapshotConfiguration(SnapshotConfigurationT &&value)
EnableFastLaunchRequest & WithMaxParallelLaunches(int value)
void SetLaunchTemplate(LaunchTemplateT &&value)
bool MaxParallelLaunchesHasBeenSet() const
const Aws::String & GetImageId() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
EnableFastLaunchRequest & WithLaunchTemplate(LaunchTemplateT &&value)
const FastLaunchSnapshotConfigurationRequest & GetSnapshotConfiguration() const
bool ResourceTypeHasBeenSet() const
void SetSnapshotConfiguration(SnapshotConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
EnableFastLaunchRequest & WithImageId(ImageIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String