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 inline void SetBytesConverted(
long long value) { m_bytesConvertedHasBeenSet =
true; m_bytesConverted = value; }
72 template<
typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
74 template<
typename DescriptionT = Aws::String>
84 template<
typename ImageT = DiskImageDescription>
85 void SetImage(ImageT&& value) { m_imageHasBeenSet =
true; m_image = std::forward<ImageT>(value); }
86 template<
typename ImageT = DiskImageDescription>
96 template<
typename VolumeT = DiskImageVolumeDescription>
97 void SetVolume(VolumeT&& value) { m_volumeHasBeenSet =
true; m_volume = std::forward<VolumeT>(value); }
98 template<
typename VolumeT = DiskImageVolumeDescription>
104 bool m_availabilityZoneHasBeenSet =
false;
106 long long m_bytesConverted{0};
107 bool m_bytesConvertedHasBeenSet =
false;
110 bool m_descriptionHasBeenSet =
false;
112 DiskImageDescription m_image;
113 bool m_imageHasBeenSet =
false;
115 DiskImageVolumeDescription m_volume;
116 bool m_volumeHasBeenSet =
false;
const Aws::String & GetDescription() const
bool VolumeHasBeenSet() 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)
long long GetBytesConverted() const
ImportVolumeTaskDetails & WithAvailabilityZone(AvailabilityZoneT &&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