7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/TagSpecification.h>
12#include <aws/ec2/model/BlockDeviceMapping.h>
75 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
87 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
103 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
117 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
138 inline void SetNoReboot(
bool value) { m_noRebootHasBeenSet =
true; m_noReboot = value; }
167 bool m_tagSpecificationsHasBeenSet =
false;
170 bool m_dryRunHasBeenSet =
false;
173 bool m_instanceIdHasBeenSet =
false;
176 bool m_nameHasBeenSet =
false;
179 bool m_descriptionHasBeenSet =
false;
182 bool m_noRebootHasBeenSet =
false;
185 bool m_blockDeviceMappingsHasBeenSet =
false;
void SetBlockDeviceMappings(Aws::Vector< BlockDeviceMapping > &&value)
CreateImageRequest & WithBlockDeviceMappings(const Aws::Vector< BlockDeviceMapping > &value)
CreateImageRequest & WithDescription(const char *value)
void SetInstanceId(const Aws::String &value)
void SetInstanceId(const char *value)
CreateImageRequest & WithName(const char *value)
void SetName(Aws::String &&value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
bool TagSpecificationsHasBeenSet() const
void SetDescription(const Aws::String &value)
AWS_EC2_API CreateImageRequest()
void SetNoReboot(bool value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetDescription() const
CreateImageRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateImageRequest & WithBlockDeviceMappings(Aws::Vector< BlockDeviceMapping > &&value)
CreateImageRequest & AddTagSpecifications(const TagSpecification &value)
const Aws::Vector< BlockDeviceMapping > & GetBlockDeviceMappings() const
CreateImageRequest & WithNoReboot(bool value)
bool DescriptionHasBeenSet() const
CreateImageRequest & WithName(const Aws::String &value)
void SetInstanceId(Aws::String &&value)
CreateImageRequest & WithDescription(const Aws::String &value)
const Aws::String & GetName() const
CreateImageRequest & AddBlockDeviceMappings(BlockDeviceMapping &&value)
CreateImageRequest & WithDryRun(bool value)
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
void SetName(const Aws::String &value)
CreateImageRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateImageRequest & WithInstanceId(Aws::String &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetDescription(Aws::String &&value)
CreateImageRequest & AddBlockDeviceMappings(const BlockDeviceMapping &value)
void SetDryRun(bool value)
CreateImageRequest & WithDescription(Aws::String &&value)
CreateImageRequest & AddTagSpecifications(TagSpecification &&value)
void SetName(const char *value)
void SetDescription(const char *value)
CreateImageRequest & WithInstanceId(const Aws::String &value)
bool BlockDeviceMappingsHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
CreateImageRequest & WithInstanceId(const char *value)
CreateImageRequest & WithName(Aws::String &&value)
bool NoRebootHasBeenSet() const
const Aws::String & GetInstanceId() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
bool InstanceIdHasBeenSet() const
bool NameHasBeenSet() const
void SetBlockDeviceMappings(const Aws::Vector< BlockDeviceMapping > &value)
bool DryRunHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector