7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ec2/model/AttachmentStatus.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
63 inline void SetDeleteOnTermination(
bool value) { m_deleteOnTerminationHasBeenSet =
true; m_deleteOnTermination = value; }
87 inline void SetVolumeId(
const char* value) { m_volumeIdHasBeenSet =
true; m_volumeId.assign(value); }
102 inline void SetAssociatedResource(
const char* value) { m_associatedResourceHasBeenSet =
true; m_associatedResource.assign(value); }
117 inline void SetVolumeOwnerId(
const char* value) { m_volumeOwnerIdHasBeenSet =
true; m_volumeOwnerId.assign(value); }
125 bool m_attachTimeHasBeenSet =
false;
127 bool m_deleteOnTermination;
128 bool m_deleteOnTerminationHasBeenSet =
false;
131 bool m_statusHasBeenSet =
false;
134 bool m_volumeIdHasBeenSet =
false;
137 bool m_associatedResourceHasBeenSet =
false;
140 bool m_volumeOwnerIdHasBeenSet =
false;
void SetVolumeId(const char *value)
bool VolumeOwnerIdHasBeenSet() const
AWS_EC2_API EbsInstanceBlockDevice & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool DeleteOnTerminationHasBeenSet() const
EbsInstanceBlockDevice & WithVolumeId(const char *value)
EbsInstanceBlockDevice & WithAssociatedResource(Aws::String &&value)
void SetStatus(const AttachmentStatus &value)
void SetAttachTime(Aws::Utils::DateTime &&value)
const Aws::String & GetVolumeId() const
const Aws::Utils::DateTime & GetAttachTime() const
EbsInstanceBlockDevice & WithAttachTime(const Aws::Utils::DateTime &value)
const Aws::String & GetVolumeOwnerId() const
void SetVolumeOwnerId(Aws::String &&value)
EbsInstanceBlockDevice & WithDeleteOnTermination(bool value)
bool AttachTimeHasBeenSet() const
EbsInstanceBlockDevice & WithVolumeId(Aws::String &&value)
void SetVolumeId(Aws::String &&value)
EbsInstanceBlockDevice & WithStatus(AttachmentStatus &&value)
void SetAssociatedResource(const Aws::String &value)
EbsInstanceBlockDevice & WithVolumeOwnerId(Aws::String &&value)
EbsInstanceBlockDevice & WithAssociatedResource(const char *value)
void SetAttachTime(const Aws::Utils::DateTime &value)
EbsInstanceBlockDevice & WithVolumeOwnerId(const Aws::String &value)
EbsInstanceBlockDevice & WithVolumeId(const Aws::String &value)
void SetVolumeOwnerId(const Aws::String &value)
EbsInstanceBlockDevice & WithAssociatedResource(const Aws::String &value)
const Aws::String & GetAssociatedResource() const
AWS_EC2_API EbsInstanceBlockDevice()
void SetVolumeId(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API EbsInstanceBlockDevice(const Aws::Utils::Xml::XmlNode &xmlNode)
const AttachmentStatus & GetStatus() const
bool StatusHasBeenSet() const
EbsInstanceBlockDevice & WithVolumeOwnerId(const char *value)
bool GetDeleteOnTermination() const
EbsInstanceBlockDevice & WithStatus(const AttachmentStatus &value)
bool AssociatedResourceHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool VolumeIdHasBeenSet() const
void SetAssociatedResource(const char *value)
void SetDeleteOnTermination(bool value)
void SetAssociatedResource(Aws::String &&value)
void SetVolumeOwnerId(const char *value)
void SetStatus(AttachmentStatus &&value)
EbsInstanceBlockDevice & WithAttachTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream