/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an instance's RAID array.See Also:
AWS
* API Reference
The array ID.
*/ inline const Aws::String& GetRaidArrayId() const{ return m_raidArrayId; } /** *The array ID.
*/ inline bool RaidArrayIdHasBeenSet() const { return m_raidArrayIdHasBeenSet; } /** *The array ID.
*/ inline void SetRaidArrayId(const Aws::String& value) { m_raidArrayIdHasBeenSet = true; m_raidArrayId = value; } /** *The array ID.
*/ inline void SetRaidArrayId(Aws::String&& value) { m_raidArrayIdHasBeenSet = true; m_raidArrayId = std::move(value); } /** *The array ID.
*/ inline void SetRaidArrayId(const char* value) { m_raidArrayIdHasBeenSet = true; m_raidArrayId.assign(value); } /** *The array ID.
*/ inline RaidArray& WithRaidArrayId(const Aws::String& value) { SetRaidArrayId(value); return *this;} /** *The array ID.
*/ inline RaidArray& WithRaidArrayId(Aws::String&& value) { SetRaidArrayId(std::move(value)); return *this;} /** *The array ID.
*/ inline RaidArray& WithRaidArrayId(const char* value) { SetRaidArrayId(value); return *this;} /** *The instance ID.
*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } /** *The instance ID.
*/ inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } /** *The instance ID.
*/ inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } /** *The instance ID.
*/ inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } /** *The instance ID.
*/ inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } /** *The instance ID.
*/ inline RaidArray& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} /** *The instance ID.
*/ inline RaidArray& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} /** *The instance ID.
*/ inline RaidArray& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} /** *The array name.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The array name.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The array name.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The array name.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The array name.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The array name.
*/ inline RaidArray& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The array name.
*/ inline RaidArray& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The array name.
*/ inline RaidArray& WithName(const char* value) { SetName(value); return *this;} /** *The RAID * level.
*/ inline int GetRaidLevel() const{ return m_raidLevel; } /** *The RAID * level.
*/ inline bool RaidLevelHasBeenSet() const { return m_raidLevelHasBeenSet; } /** *The RAID * level.
*/ inline void SetRaidLevel(int value) { m_raidLevelHasBeenSet = true; m_raidLevel = value; } /** *The RAID * level.
*/ inline RaidArray& WithRaidLevel(int value) { SetRaidLevel(value); return *this;} /** *The number of disks in the array.
*/ inline int GetNumberOfDisks() const{ return m_numberOfDisks; } /** *The number of disks in the array.
*/ inline bool NumberOfDisksHasBeenSet() const { return m_numberOfDisksHasBeenSet; } /** *The number of disks in the array.
*/ inline void SetNumberOfDisks(int value) { m_numberOfDisksHasBeenSet = true; m_numberOfDisks = value; } /** *The number of disks in the array.
*/ inline RaidArray& WithNumberOfDisks(int value) { SetNumberOfDisks(value); return *this;} /** *The array's size.
*/ inline int GetSize() const{ return m_size; } /** *The array's size.
*/ inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; } /** *The array's size.
*/ inline void SetSize(int value) { m_sizeHasBeenSet = true; m_size = value; } /** *The array's size.
*/ inline RaidArray& WithSize(int value) { SetSize(value); return *this;} /** *The array's Linux device. For example /dev/mdadm0.
*/ inline const Aws::String& GetDevice() const{ return m_device; } /** *The array's Linux device. For example /dev/mdadm0.
*/ inline bool DeviceHasBeenSet() const { return m_deviceHasBeenSet; } /** *The array's Linux device. For example /dev/mdadm0.
*/ inline void SetDevice(const Aws::String& value) { m_deviceHasBeenSet = true; m_device = value; } /** *The array's Linux device. For example /dev/mdadm0.
*/ inline void SetDevice(Aws::String&& value) { m_deviceHasBeenSet = true; m_device = std::move(value); } /** *The array's Linux device. For example /dev/mdadm0.
*/ inline void SetDevice(const char* value) { m_deviceHasBeenSet = true; m_device.assign(value); } /** *The array's Linux device. For example /dev/mdadm0.
*/ inline RaidArray& WithDevice(const Aws::String& value) { SetDevice(value); return *this;} /** *The array's Linux device. For example /dev/mdadm0.
*/ inline RaidArray& WithDevice(Aws::String&& value) { SetDevice(std::move(value)); return *this;} /** *The array's Linux device. For example /dev/mdadm0.
*/ inline RaidArray& WithDevice(const char* value) { SetDevice(value); return *this;} /** *The array's mount point.
*/ inline const Aws::String& GetMountPoint() const{ return m_mountPoint; } /** *The array's mount point.
*/ inline bool MountPointHasBeenSet() const { return m_mountPointHasBeenSet; } /** *The array's mount point.
*/ inline void SetMountPoint(const Aws::String& value) { m_mountPointHasBeenSet = true; m_mountPoint = value; } /** *The array's mount point.
*/ inline void SetMountPoint(Aws::String&& value) { m_mountPointHasBeenSet = true; m_mountPoint = std::move(value); } /** *The array's mount point.
*/ inline void SetMountPoint(const char* value) { m_mountPointHasBeenSet = true; m_mountPoint.assign(value); } /** *The array's mount point.
*/ inline RaidArray& WithMountPoint(const Aws::String& value) { SetMountPoint(value); return *this;} /** *The array's mount point.
*/ inline RaidArray& WithMountPoint(Aws::String&& value) { SetMountPoint(std::move(value)); return *this;} /** *The array's mount point.
*/ inline RaidArray& WithMountPoint(const char* value) { SetMountPoint(value); return *this;} /** *The array's Availability Zone. For more information, see Regions and * Endpoints.
*/ inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; } /** *The array's Availability Zone. For more information, see Regions and * Endpoints.
*/ inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; } /** *The array's Availability Zone. For more information, see Regions and * Endpoints.
*/ inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; } /** *The array's Availability Zone. For more information, see Regions and * Endpoints.
*/ inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); } /** *The array's Availability Zone. For more information, see Regions and * Endpoints.
*/ inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); } /** *The array's Availability Zone. For more information, see Regions and * Endpoints.
*/ inline RaidArray& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;} /** *The array's Availability Zone. For more information, see Regions and * Endpoints.
*/ inline RaidArray& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;} /** *The array's Availability Zone. For more information, see Regions and * Endpoints.
*/ inline RaidArray& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;} /** *When the RAID array was created.
*/ inline const Aws::String& GetCreatedAt() const{ return m_createdAt; } /** *When the RAID array was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *When the RAID array was created.
*/ inline void SetCreatedAt(const Aws::String& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *When the RAID array was created.
*/ inline void SetCreatedAt(Aws::String&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *When the RAID array was created.
*/ inline void SetCreatedAt(const char* value) { m_createdAtHasBeenSet = true; m_createdAt.assign(value); } /** *When the RAID array was created.
*/ inline RaidArray& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;} /** *When the RAID array was created.
*/ inline RaidArray& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;} /** *When the RAID array was created.
*/ inline RaidArray& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;} /** *The stack ID.
*/ inline const Aws::String& GetStackId() const{ return m_stackId; } /** *The stack ID.
*/ inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; } /** *The stack ID.
*/ inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; } /** *The stack ID.
*/ inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); } /** *The stack ID.
*/ inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); } /** *The stack ID.
*/ inline RaidArray& WithStackId(const Aws::String& value) { SetStackId(value); return *this;} /** *The stack ID.
*/ inline RaidArray& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;} /** *The stack ID.
*/ inline RaidArray& WithStackId(const char* value) { SetStackId(value); return *this;} /** *The volume type, standard or PIOPS.
*/ inline const Aws::String& GetVolumeType() const{ return m_volumeType; } /** *The volume type, standard or PIOPS.
*/ inline bool VolumeTypeHasBeenSet() const { return m_volumeTypeHasBeenSet; } /** *The volume type, standard or PIOPS.
*/ inline void SetVolumeType(const Aws::String& value) { m_volumeTypeHasBeenSet = true; m_volumeType = value; } /** *The volume type, standard or PIOPS.
*/ inline void SetVolumeType(Aws::String&& value) { m_volumeTypeHasBeenSet = true; m_volumeType = std::move(value); } /** *The volume type, standard or PIOPS.
*/ inline void SetVolumeType(const char* value) { m_volumeTypeHasBeenSet = true; m_volumeType.assign(value); } /** *The volume type, standard or PIOPS.
*/ inline RaidArray& WithVolumeType(const Aws::String& value) { SetVolumeType(value); return *this;} /** *The volume type, standard or PIOPS.
*/ inline RaidArray& WithVolumeType(Aws::String&& value) { SetVolumeType(std::move(value)); return *this;} /** *The volume type, standard or PIOPS.
*/ inline RaidArray& WithVolumeType(const char* value) { SetVolumeType(value); return *this;} /** *For PIOPS volumes, the IOPS per disk.
*/ inline int GetIops() const{ return m_iops; } /** *For PIOPS volumes, the IOPS per disk.
*/ inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; } /** *For PIOPS volumes, the IOPS per disk.
*/ inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; } /** *For PIOPS volumes, the IOPS per disk.
*/ inline RaidArray& WithIops(int value) { SetIops(value); return *this;} private: Aws::String m_raidArrayId; bool m_raidArrayIdHasBeenSet = false; Aws::String m_instanceId; bool m_instanceIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; int m_raidLevel; bool m_raidLevelHasBeenSet = false; int m_numberOfDisks; bool m_numberOfDisksHasBeenSet = false; int m_size; bool m_sizeHasBeenSet = false; Aws::String m_device; bool m_deviceHasBeenSet = false; Aws::String m_mountPoint; bool m_mountPointHasBeenSet = false; Aws::String m_availabilityZone; bool m_availabilityZoneHasBeenSet = false; Aws::String m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_stackId; bool m_stackIdHasBeenSet = false; Aws::String m_volumeType; bool m_volumeTypeHasBeenSet = false; int m_iops; bool m_iopsHasBeenSet = false; }; } // namespace Model } // namespace OpsWorks } // namespace Aws