/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a volume status.See Also:
AWS
* API Reference
The name of the volume status.
*/ inline const VolumeStatusName& GetName() const{ return m_name; } /** *The name of the volume status.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the volume status.
*/ inline void SetName(const VolumeStatusName& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the volume status.
*/ inline void SetName(VolumeStatusName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the volume status.
*/ inline VolumeStatusDetails& WithName(const VolumeStatusName& value) { SetName(value); return *this;} /** *The name of the volume status.
*/ inline VolumeStatusDetails& WithName(VolumeStatusName&& value) { SetName(std::move(value)); return *this;} /** *The intended status of the volume status.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *The intended status of the volume status.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The intended status of the volume status.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *The intended status of the volume status.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The intended status of the volume status.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *The intended status of the volume status.
*/ inline VolumeStatusDetails& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *The intended status of the volume status.
*/ inline VolumeStatusDetails& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *The intended status of the volume status.
*/ inline VolumeStatusDetails& WithStatus(const char* value) { SetStatus(value); return *this;} private: VolumeStatusName m_name; bool m_nameHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws