7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/DiskImageDescription.h>
11#include <aws/ec2/model/DiskImageVolumeDescription.h>
50 template<
typename AvailabilityZoneT = Aws::String>
51 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
52 template<
typename AvailabilityZoneT = Aws::String>
62 template<
typename AvailabilityZoneIdT = Aws::String>
63 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) { m_availabilityZoneIdHasBeenSet =
true; m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value); }
64 template<
typename AvailabilityZoneIdT = Aws::String>
74 inline void SetBytesConverted(
long long value) { m_bytesConvertedHasBeenSet =
true; m_bytesConverted = value; }
84 template<
typename DescriptionT = Aws::String>
85 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
86 template<
typename DescriptionT = Aws::String>
96 template<
typename ImageT = DiskImageDescription>
97 void SetImage(ImageT&& value) { m_imageHasBeenSet =
true; m_image = std::forward<ImageT>(value); }
98 template<
typename ImageT = DiskImageDescription>
108 template<
typename VolumeT = DiskImageVolumeDescription>
109 void SetVolume(VolumeT&& value) { m_volumeHasBeenSet =
true; m_volume = std::forward<VolumeT>(value); }
110 template<
typename VolumeT = DiskImageVolumeDescription>
116 bool m_availabilityZoneHasBeenSet =
false;
119 bool m_availabilityZoneIdHasBeenSet =
false;
121 long long m_bytesConverted{0};
122 bool m_bytesConvertedHasBeenSet =
false;
125 bool m_descriptionHasBeenSet =
false;
127 DiskImageDescription m_image;
128 bool m_imageHasBeenSet =
false;
130 DiskImageVolumeDescription m_volume;
131 bool m_volumeHasBeenSet =
false;
const Aws::String & GetDescription() const
bool VolumeHasBeenSet() const
ImportVolumeTaskDetails & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
bool AvailabilityZoneIdHasBeenSet() const
ImportVolumeTaskDetails & WithImage(ImageT &&value)
AWS_EC2_API ImportVolumeTaskDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetAvailabilityZone() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetImage(ImageT &&value)
const DiskImageDescription & GetImage() const
const DiskImageVolumeDescription & GetVolume() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool AvailabilityZoneHasBeenSet() const
bool DescriptionHasBeenSet() const
ImportVolumeTaskDetails & WithVolume(VolumeT &&value)
bool BytesConvertedHasBeenSet() const
AWS_EC2_API ImportVolumeTaskDetails()=default
ImportVolumeTaskDetails & WithDescription(DescriptionT &&value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
AWS_EC2_API ImportVolumeTaskDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetAvailabilityZoneId() const
long long GetBytesConverted() const
ImportVolumeTaskDetails & WithAvailabilityZone(AvailabilityZoneT &&value)
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
void SetDescription(DescriptionT &&value)
void SetVolume(VolumeT &&value)
ImportVolumeTaskDetails & WithBytesConverted(long long value)
bool ImageHasBeenSet() const
void SetBytesConverted(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream