/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the instances to which the volume is
* attached.See Also:
AWS
* API Reference
The maximum IOPS supported by the attached instance.
*/ inline const Aws::String& GetIoPerformance() const{ return m_ioPerformance; } /** *The maximum IOPS supported by the attached instance.
*/ inline bool IoPerformanceHasBeenSet() const { return m_ioPerformanceHasBeenSet; } /** *The maximum IOPS supported by the attached instance.
*/ inline void SetIoPerformance(const Aws::String& value) { m_ioPerformanceHasBeenSet = true; m_ioPerformance = value; } /** *The maximum IOPS supported by the attached instance.
*/ inline void SetIoPerformance(Aws::String&& value) { m_ioPerformanceHasBeenSet = true; m_ioPerformance = std::move(value); } /** *The maximum IOPS supported by the attached instance.
*/ inline void SetIoPerformance(const char* value) { m_ioPerformanceHasBeenSet = true; m_ioPerformance.assign(value); } /** *The maximum IOPS supported by the attached instance.
*/ inline VolumeStatusAttachmentStatus& WithIoPerformance(const Aws::String& value) { SetIoPerformance(value); return *this;} /** *The maximum IOPS supported by the attached instance.
*/ inline VolumeStatusAttachmentStatus& WithIoPerformance(Aws::String&& value) { SetIoPerformance(std::move(value)); return *this;} /** *The maximum IOPS supported by the attached instance.
*/ inline VolumeStatusAttachmentStatus& WithIoPerformance(const char* value) { SetIoPerformance(value); return *this;} /** *The ID of the attached instance.
*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } /** *The ID of the attached instance.
*/ inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } /** *The ID of the attached instance.
*/ inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } /** *The ID of the attached instance.
*/ inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } /** *The ID of the attached instance.
*/ inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } /** *The ID of the attached instance.
*/ inline VolumeStatusAttachmentStatus& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} /** *The ID of the attached instance.
*/ inline VolumeStatusAttachmentStatus& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} /** *The ID of the attached instance.
*/ inline VolumeStatusAttachmentStatus& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} private: Aws::String m_ioPerformance; bool m_ioPerformanceHasBeenSet = false; Aws::String m_instanceId; bool m_instanceIdHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws