7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename Ra
idArrayIdT = Aws::String>
47 void SetRaidArrayId(RaidArrayIdT&& value) { m_raidArrayIdHasBeenSet =
true; m_raidArrayId = std::forward<RaidArrayIdT>(value); }
48 template<
typename Ra
idArrayIdT = Aws::String>
58 template<
typename InstanceIdT = Aws::String>
59 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
60 template<
typename InstanceIdT = Aws::String>
70 template<
typename NameT = Aws::String>
71 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
72 template<
typename NameT = Aws::String>
83 inline void SetRaidLevel(
int value) { m_raidLevelHasBeenSet =
true; m_raidLevel = value; }
93 inline void SetNumberOfDisks(
int value) { m_numberOfDisksHasBeenSet =
true; m_numberOfDisks = value; }
103 inline void SetSize(
int value) { m_sizeHasBeenSet =
true; m_size = value; }
113 template<
typename DeviceT = Aws::String>
114 void SetDevice(DeviceT&& value) { m_deviceHasBeenSet =
true; m_device = std::forward<DeviceT>(value); }
115 template<
typename DeviceT = Aws::String>
125 template<
typename MountPo
intT = Aws::String>
126 void SetMountPoint(MountPointT&& value) { m_mountPointHasBeenSet =
true; m_mountPoint = std::forward<MountPointT>(value); }
127 template<
typename MountPo
intT = Aws::String>
139 template<
typename AvailabilityZoneT = Aws::String>
140 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
141 template<
typename AvailabilityZoneT = Aws::String>
151 template<
typename CreatedAtT = Aws::String>
152 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
153 template<
typename CreatedAtT = Aws::String>
163 template<
typename StackIdT = Aws::String>
164 void SetStackId(StackIdT&& value) { m_stackIdHasBeenSet =
true; m_stackId = std::forward<StackIdT>(value); }
165 template<
typename StackIdT = Aws::String>
175 template<
typename VolumeTypeT = Aws::String>
176 void SetVolumeType(VolumeTypeT&& value) { m_volumeTypeHasBeenSet =
true; m_volumeType = std::forward<VolumeTypeT>(value); }
177 template<
typename VolumeTypeT = Aws::String>
187 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
193 bool m_raidArrayIdHasBeenSet =
false;
196 bool m_instanceIdHasBeenSet =
false;
199 bool m_nameHasBeenSet =
false;
202 bool m_raidLevelHasBeenSet =
false;
204 int m_numberOfDisks{0};
205 bool m_numberOfDisksHasBeenSet =
false;
208 bool m_sizeHasBeenSet =
false;
211 bool m_deviceHasBeenSet =
false;
214 bool m_mountPointHasBeenSet =
false;
217 bool m_availabilityZoneHasBeenSet =
false;
220 bool m_createdAtHasBeenSet =
false;
223 bool m_stackIdHasBeenSet =
false;
226 bool m_volumeTypeHasBeenSet =
false;
229 bool m_iopsHasBeenSet =
false;
void SetDevice(DeviceT &&value)
const Aws::String & GetInstanceId() const
bool SizeHasBeenSet() const
void SetRaidLevel(int value)
RaidArray & WithDevice(DeviceT &&value)
bool DeviceHasBeenSet() const
const Aws::String & GetAvailabilityZone() const
bool AvailabilityZoneHasBeenSet() const
const Aws::String & GetRaidArrayId() const
void SetName(NameT &&value)
const Aws::String & GetCreatedAt() const
RaidArray & WithIops(int value)
RaidArray & WithMountPoint(MountPointT &&value)
int GetNumberOfDisks() const
void SetInstanceId(InstanceIdT &&value)
void SetMountPoint(MountPointT &&value)
void SetStackId(StackIdT &&value)
RaidArray & WithAvailabilityZone(AvailabilityZoneT &&value)
void SetNumberOfDisks(int value)
RaidArray & WithNumberOfDisks(int value)
bool RaidArrayIdHasBeenSet() const
RaidArray & WithInstanceId(InstanceIdT &&value)
const Aws::String & GetStackId() const
RaidArray & WithRaidLevel(int value)
AWS_OPSWORKS_API RaidArray()=default
bool InstanceIdHasBeenSet() const
RaidArray & WithName(NameT &&value)
bool RaidLevelHasBeenSet() const
RaidArray & WithRaidArrayId(RaidArrayIdT &&value)
const Aws::String & GetVolumeType() const
RaidArray & WithSize(int value)
bool VolumeTypeHasBeenSet() const
void SetRaidArrayId(RaidArrayIdT &&value)
bool StackIdHasBeenSet() const
bool NameHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetMountPoint() const
bool IopsHasBeenSet() const
void SetAvailabilityZone(AvailabilityZoneT &&value)
AWS_OPSWORKS_API RaidArray(Aws::Utils::Json::JsonView jsonValue)
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDevice() const
bool NumberOfDisksHasBeenSet() const
bool MountPointHasBeenSet() const
void SetVolumeType(VolumeTypeT &&value)
RaidArray & WithStackId(StackIdT &&value)
AWS_OPSWORKS_API RaidArray & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
RaidArray & WithVolumeType(VolumeTypeT &&value)
RaidArray & WithCreatedAt(CreatedAtT &&value)
bool CreatedAtHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue