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>
52 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
64 inline void SetBytesConverted(
long long value) { m_bytesConvertedHasBeenSet =
true; m_bytesConverted = value; }
76 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
102 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
116 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
136 bool m_availabilityZoneHasBeenSet =
false;
138 long long m_bytesConverted;
139 bool m_bytesConvertedHasBeenSet =
false;
142 bool m_descriptionHasBeenSet =
false;
145 bool m_imageHasBeenSet =
false;
148 bool m_statusHasBeenSet =
false;
151 bool m_statusMessageHasBeenSet =
false;
154 bool m_volumeHasBeenSet =
false;
bool StatusHasBeenSet() const
ImportInstanceVolumeDetailItem & WithAvailabilityZone(const char *value)
bool ImageHasBeenSet() const
const Aws::String & GetStatus() const
void SetImage(DiskImageDescription &&value)
void SetDescription(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool BytesConvertedHasBeenSet() const
const DiskImageDescription & GetImage() const
ImportInstanceVolumeDetailItem & WithDescription(const Aws::String &value)
ImportInstanceVolumeDetailItem & WithAvailabilityZone(Aws::String &&value)
void SetAvailabilityZone(const char *value)
AWS_EC2_API ImportInstanceVolumeDetailItem & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ImportInstanceVolumeDetailItem & WithImage(DiskImageDescription &&value)
void SetBytesConverted(long long value)
bool StatusMessageHasBeenSet() const
ImportInstanceVolumeDetailItem & WithVolume(const DiskImageVolumeDescription &value)
void SetDescription(Aws::String &&value)
bool VolumeHasBeenSet() const
void SetStatus(const char *value)
ImportInstanceVolumeDetailItem & WithAvailabilityZone(const Aws::String &value)
ImportInstanceVolumeDetailItem & WithDescription(Aws::String &&value)
bool DescriptionHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ImportInstanceVolumeDetailItem & WithVolume(DiskImageVolumeDescription &&value)
const Aws::String & GetDescription() const
ImportInstanceVolumeDetailItem & WithStatus(Aws::String &&value)
ImportInstanceVolumeDetailItem & WithDescription(const char *value)
void SetStatusMessage(const Aws::String &value)
ImportInstanceVolumeDetailItem & WithImage(const DiskImageDescription &value)
ImportInstanceVolumeDetailItem & WithStatusMessage(Aws::String &&value)
void SetVolume(const DiskImageVolumeDescription &value)
void SetAvailabilityZone(Aws::String &&value)
AWS_EC2_API ImportInstanceVolumeDetailItem(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStatusMessage(const char *value)
void SetDescription(const char *value)
void SetAvailabilityZone(const Aws::String &value)
long long GetBytesConverted() const
ImportInstanceVolumeDetailItem & WithStatus(const char *value)
ImportInstanceVolumeDetailItem & WithStatusMessage(const char *value)
const Aws::String & GetAvailabilityZone() const
const Aws::String & GetStatusMessage() const
AWS_EC2_API ImportInstanceVolumeDetailItem()
ImportInstanceVolumeDetailItem & WithStatusMessage(const Aws::String &value)
ImportInstanceVolumeDetailItem & WithBytesConverted(long long value)
void SetVolume(DiskImageVolumeDescription &&value)
const DiskImageVolumeDescription & GetVolume() const
void SetStatusMessage(Aws::String &&value)
void SetImage(const DiskImageDescription &value)
void SetStatus(Aws::String &&value)
void SetStatus(const Aws::String &value)
bool AvailabilityZoneHasBeenSet() const
ImportInstanceVolumeDetailItem & WithStatus(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream