/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the volume status.See Also:
AWS
* API Reference
The details of the operation.
*/ inline const Aws::VectorThe details of the operation.
*/ inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; } /** *The details of the operation.
*/ inline void SetActions(const Aws::VectorThe details of the operation.
*/ inline void SetActions(Aws::VectorThe details of the operation.
*/ inline VolumeStatusItem& WithActions(const Aws::VectorThe details of the operation.
*/ inline VolumeStatusItem& WithActions(Aws::VectorThe details of the operation.
*/ inline VolumeStatusItem& AddActions(const VolumeStatusAction& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; } /** *The details of the operation.
*/ inline VolumeStatusItem& AddActions(VolumeStatusAction&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; } /** *The Availability Zone of the volume.
*/ inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; } /** *The Availability Zone of the volume.
*/ inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; } /** *The Availability Zone of the volume.
*/ inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; } /** *The Availability Zone of the volume.
*/ inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); } /** *The Availability Zone of the volume.
*/ inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); } /** *The Availability Zone of the volume.
*/ inline VolumeStatusItem& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;} /** *The Availability Zone of the volume.
*/ inline VolumeStatusItem& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;} /** *The Availability Zone of the volume.
*/ inline VolumeStatusItem& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;} /** *The Amazon Resource Name (ARN) of the Outpost.
*/ inline const Aws::String& GetOutpostArn() const{ return m_outpostArn; } /** *The Amazon Resource Name (ARN) of the Outpost.
*/ inline bool OutpostArnHasBeenSet() const { return m_outpostArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the Outpost.
*/ inline void SetOutpostArn(const Aws::String& value) { m_outpostArnHasBeenSet = true; m_outpostArn = value; } /** *The Amazon Resource Name (ARN) of the Outpost.
*/ inline void SetOutpostArn(Aws::String&& value) { m_outpostArnHasBeenSet = true; m_outpostArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the Outpost.
*/ inline void SetOutpostArn(const char* value) { m_outpostArnHasBeenSet = true; m_outpostArn.assign(value); } /** *The Amazon Resource Name (ARN) of the Outpost.
*/ inline VolumeStatusItem& WithOutpostArn(const Aws::String& value) { SetOutpostArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the Outpost.
*/ inline VolumeStatusItem& WithOutpostArn(Aws::String&& value) { SetOutpostArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the Outpost.
*/ inline VolumeStatusItem& WithOutpostArn(const char* value) { SetOutpostArn(value); return *this;} /** *A list of events associated with the volume.
*/ inline const Aws::VectorA list of events associated with the volume.
*/ inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; } /** *A list of events associated with the volume.
*/ inline void SetEvents(const Aws::VectorA list of events associated with the volume.
*/ inline void SetEvents(Aws::VectorA list of events associated with the volume.
*/ inline VolumeStatusItem& WithEvents(const Aws::VectorA list of events associated with the volume.
*/ inline VolumeStatusItem& WithEvents(Aws::VectorA list of events associated with the volume.
*/ inline VolumeStatusItem& AddEvents(const VolumeStatusEvent& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; } /** *A list of events associated with the volume.
*/ inline VolumeStatusItem& AddEvents(VolumeStatusEvent&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; } /** *The volume ID.
*/ inline const Aws::String& GetVolumeId() const{ return m_volumeId; } /** *The volume ID.
*/ inline bool VolumeIdHasBeenSet() const { return m_volumeIdHasBeenSet; } /** *The volume ID.
*/ inline void SetVolumeId(const Aws::String& value) { m_volumeIdHasBeenSet = true; m_volumeId = value; } /** *The volume ID.
*/ inline void SetVolumeId(Aws::String&& value) { m_volumeIdHasBeenSet = true; m_volumeId = std::move(value); } /** *The volume ID.
*/ inline void SetVolumeId(const char* value) { m_volumeIdHasBeenSet = true; m_volumeId.assign(value); } /** *The volume ID.
*/ inline VolumeStatusItem& WithVolumeId(const Aws::String& value) { SetVolumeId(value); return *this;} /** *The volume ID.
*/ inline VolumeStatusItem& WithVolumeId(Aws::String&& value) { SetVolumeId(std::move(value)); return *this;} /** *The volume ID.
*/ inline VolumeStatusItem& WithVolumeId(const char* value) { SetVolumeId(value); return *this;} /** *The volume status.
*/ inline const VolumeStatusInfo& GetVolumeStatus() const{ return m_volumeStatus; } /** *The volume status.
*/ inline bool VolumeStatusHasBeenSet() const { return m_volumeStatusHasBeenSet; } /** *The volume status.
*/ inline void SetVolumeStatus(const VolumeStatusInfo& value) { m_volumeStatusHasBeenSet = true; m_volumeStatus = value; } /** *The volume status.
*/ inline void SetVolumeStatus(VolumeStatusInfo&& value) { m_volumeStatusHasBeenSet = true; m_volumeStatus = std::move(value); } /** *The volume status.
*/ inline VolumeStatusItem& WithVolumeStatus(const VolumeStatusInfo& value) { SetVolumeStatus(value); return *this;} /** *The volume status.
*/ inline VolumeStatusItem& WithVolumeStatus(VolumeStatusInfo&& value) { SetVolumeStatus(std::move(value)); return *this;} /** *Information about the instances to which the volume is attached.
*/ inline const Aws::VectorInformation about the instances to which the volume is attached.
*/ inline bool AttachmentStatusesHasBeenSet() const { return m_attachmentStatusesHasBeenSet; } /** *Information about the instances to which the volume is attached.
*/ inline void SetAttachmentStatuses(const Aws::VectorInformation about the instances to which the volume is attached.
*/ inline void SetAttachmentStatuses(Aws::VectorInformation about the instances to which the volume is attached.
*/ inline VolumeStatusItem& WithAttachmentStatuses(const Aws::VectorInformation about the instances to which the volume is attached.
*/ inline VolumeStatusItem& WithAttachmentStatuses(Aws::VectorInformation about the instances to which the volume is attached.
*/ inline VolumeStatusItem& AddAttachmentStatuses(const VolumeStatusAttachmentStatus& value) { m_attachmentStatusesHasBeenSet = true; m_attachmentStatuses.push_back(value); return *this; } /** *Information about the instances to which the volume is attached.
*/ inline VolumeStatusItem& AddAttachmentStatuses(VolumeStatusAttachmentStatus&& value) { m_attachmentStatusesHasBeenSet = true; m_attachmentStatuses.push_back(std::move(value)); return *this; } private: Aws::Vector