7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/VolumeStatusInfo.h>
12#include <aws/ec2/model/VolumeStatusAction.h>
13#include <aws/ec2/model/VolumeStatusEvent.h>
14#include <aws/ec2/model/VolumeStatusAttachmentStatus.h>
69 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
83 inline void SetOutpostArn(
const char* value) { m_outpostArnHasBeenSet =
true; m_outpostArn.assign(value); }
111 inline void SetVolumeId(
const char* value) { m_volumeIdHasBeenSet =
true; m_volumeId.assign(value); }
145 bool m_actionsHasBeenSet =
false;
148 bool m_availabilityZoneHasBeenSet =
false;
151 bool m_outpostArnHasBeenSet =
false;
154 bool m_eventsHasBeenSet =
false;
157 bool m_volumeIdHasBeenSet =
false;
160 bool m_volumeStatusHasBeenSet =
false;
163 bool m_attachmentStatusesHasBeenSet =
false;
VolumeStatusItem & AddAttachmentStatuses(const VolumeStatusAttachmentStatus &value)
void SetEvents(Aws::Vector< VolumeStatusEvent > &&value)
const Aws::Vector< VolumeStatusEvent > & GetEvents() const
VolumeStatusItem & WithVolumeId(Aws::String &&value)
void SetVolumeStatus(VolumeStatusInfo &&value)
VolumeStatusItem & WithAvailabilityZone(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetOutpostArn(Aws::String &&value)
bool VolumeStatusHasBeenSet() const
void SetAttachmentStatuses(const Aws::Vector< VolumeStatusAttachmentStatus > &value)
VolumeStatusItem & WithOutpostArn(Aws::String &&value)
VolumeStatusItem & WithEvents(const Aws::Vector< VolumeStatusEvent > &value)
VolumeStatusItem & AddActions(const VolumeStatusAction &value)
VolumeStatusItem & WithVolumeId(const char *value)
VolumeStatusItem & WithOutpostArn(const char *value)
void SetOutpostArn(const char *value)
VolumeStatusItem & AddEvents(VolumeStatusEvent &&value)
void SetActions(const Aws::Vector< VolumeStatusAction > &value)
bool VolumeIdHasBeenSet() const
void SetAvailabilityZone(const char *value)
VolumeStatusItem & WithActions(const Aws::Vector< VolumeStatusAction > &value)
void SetVolumeId(Aws::String &&value)
AWS_EC2_API VolumeStatusItem(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetOutpostArn() const
void SetVolumeId(const char *value)
bool OutpostArnHasBeenSet() const
VolumeStatusItem & WithEvents(Aws::Vector< VolumeStatusEvent > &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
VolumeStatusItem & AddEvents(const VolumeStatusEvent &value)
void SetVolumeId(const Aws::String &value)
bool EventsHasBeenSet() const
void SetOutpostArn(const Aws::String &value)
void SetActions(Aws::Vector< VolumeStatusAction > &&value)
VolumeStatusItem & WithVolumeStatus(const VolumeStatusInfo &value)
VolumeStatusItem & WithAvailabilityZone(const Aws::String &value)
VolumeStatusItem & WithAttachmentStatuses(Aws::Vector< VolumeStatusAttachmentStatus > &&value)
void SetAttachmentStatuses(Aws::Vector< VolumeStatusAttachmentStatus > &&value)
void SetAvailabilityZone(Aws::String &&value)
AWS_EC2_API VolumeStatusItem()
const Aws::String & GetAvailabilityZone() const
VolumeStatusItem & WithOutpostArn(const Aws::String &value)
VolumeStatusItem & AddAttachmentStatuses(VolumeStatusAttachmentStatus &&value)
bool AttachmentStatusesHasBeenSet() const
bool ActionsHasBeenSet() const
void SetEvents(const Aws::Vector< VolumeStatusEvent > &value)
VolumeStatusItem & AddActions(VolumeStatusAction &&value)
VolumeStatusItem & WithAttachmentStatuses(const Aws::Vector< VolumeStatusAttachmentStatus > &value)
const Aws::Vector< VolumeStatusAttachmentStatus > & GetAttachmentStatuses() const
VolumeStatusItem & WithAvailabilityZone(const char *value)
const Aws::Vector< VolumeStatusAction > & GetActions() const
void SetAvailabilityZone(const Aws::String &value)
VolumeStatusItem & WithActions(Aws::Vector< VolumeStatusAction > &&value)
VolumeStatusItem & WithVolumeStatus(VolumeStatusInfo &&value)
void SetVolumeStatus(const VolumeStatusInfo &value)
const VolumeStatusInfo & GetVolumeStatus() const
bool AvailabilityZoneHasBeenSet() const
AWS_EC2_API VolumeStatusItem & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VolumeStatusItem & WithVolumeId(const Aws::String &value)
const Aws::String & GetVolumeId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream