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>
49 template<
typename AvailabilityZoneIdT = Aws::String>
50 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) { m_availabilityZoneIdHasBeenSet =
true; m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value); }
51 template<
typename AvailabilityZoneIdT = Aws::String>
64 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
76 template<
typename AvailabilityZoneT = Aws::String>
77 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
78 template<
typename AvailabilityZoneT = Aws::String>
88 template<
typename ImageT = DiskImageDetail>
89 void SetImage(ImageT&& value) { m_imageHasBeenSet =
true; m_image = std::forward<ImageT>(value); }
90 template<
typename ImageT = DiskImageDetail>
100 template<
typename DescriptionT = Aws::String>
101 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
102 template<
typename DescriptionT = Aws::String>
112 template<
typename VolumeT = VolumeDetail>
113 void SetVolume(VolumeT&& value) { m_volumeHasBeenSet =
true; m_volume = std::forward<VolumeT>(value); }
114 template<
typename VolumeT = VolumeDetail>
120 bool m_availabilityZoneIdHasBeenSet =
false;
122 bool m_dryRun{
false};
123 bool m_dryRunHasBeenSet =
false;
126 bool m_availabilityZoneHasBeenSet =
false;
128 DiskImageDetail m_image;
129 bool m_imageHasBeenSet =
false;
132 bool m_descriptionHasBeenSet =
false;
134 VolumeDetail m_volume;
135 bool m_volumeHasBeenSet =
false;
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
ImportVolumeRequest & WithAvailabilityZone(AvailabilityZoneT &&value)
AWS_EC2_API ImportVolumeRequest()=default
ImportVolumeRequest & WithImage(ImageT &&value)
const Aws::String & GetAvailabilityZone() const
void SetVolume(VolumeT &&value)
ImportVolumeRequest & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
ImportVolumeRequest & WithDescription(DescriptionT &&value)
bool AvailabilityZoneHasBeenSet() const
void SetImage(ImageT &&value)
bool ImageHasBeenSet() const
ImportVolumeRequest & WithDryRun(bool value)
ImportVolumeRequest & WithVolume(VolumeT &&value)
const VolumeDetail & GetVolume() const
const Aws::String & GetAvailabilityZoneId() const
AWS_EC2_API Aws::String SerializePayload() const override
void SetDescription(DescriptionT &&value)
bool VolumeHasBeenSet() const
void SetDryRun(bool value)
virtual const char * GetServiceRequestName() const override
const DiskImageDetail & GetImage() const
bool DryRunHasBeenSet() const
bool AvailabilityZoneIdHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String