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/DiskImageDetail.h>
11#include <aws/ec2/model/VolumeDetail.h>
50 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
62 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
88 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
108 bool m_dryRunHasBeenSet =
false;
111 bool m_availabilityZoneHasBeenSet =
false;
114 bool m_imageHasBeenSet =
false;
117 bool m_descriptionHasBeenSet =
false;
120 bool m_volumeHasBeenSet =
false;
ImportVolumeRequest & WithVolume(const VolumeDetail &value)
ImportVolumeRequest & WithImage(const DiskImageDetail &value)
const Aws::String & GetAvailabilityZone() const
ImportVolumeRequest & WithAvailabilityZone(const Aws::String &value)
bool AvailabilityZoneHasBeenSet() const
void SetVolume(const VolumeDetail &value)
bool ImageHasBeenSet() const
ImportVolumeRequest & WithDryRun(bool value)
ImportVolumeRequest & WithAvailabilityZone(Aws::String &&value)
const VolumeDetail & GetVolume() const
void SetVolume(VolumeDetail &&value)
void SetAvailabilityZone(const char *value)
void SetAvailabilityZone(Aws::String &&value)
void SetDescription(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetAvailabilityZone(const Aws::String &value)
ImportVolumeRequest & WithDescription(const char *value)
ImportVolumeRequest & WithVolume(VolumeDetail &&value)
bool VolumeHasBeenSet() const
void SetDryRun(bool value)
virtual const char * GetServiceRequestName() const override
void SetImage(const DiskImageDetail &value)
void SetImage(DiskImageDetail &&value)
const DiskImageDetail & GetImage() const
void SetDescription(const Aws::String &value)
bool DryRunHasBeenSet() const
ImportVolumeRequest & WithDescription(const Aws::String &value)
ImportVolumeRequest & WithAvailabilityZone(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_EC2_API ImportVolumeRequest()
void SetDescription(const char *value)
const Aws::String & GetDescription() const
ImportVolumeRequest & WithImage(DiskImageDetail &&value)
ImportVolumeRequest & WithDescription(Aws::String &&value)
bool DescriptionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String