AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RaidArray.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace OpsWorks
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_OPSWORKS_API RaidArray();
35 AWS_OPSWORKS_API RaidArray(Aws::Utils::Json::JsonView jsonValue);
36 AWS_OPSWORKS_API RaidArray& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetRaidArrayId() const{ return m_raidArrayId; }
45 inline bool RaidArrayIdHasBeenSet() const { return m_raidArrayIdHasBeenSet; }
46 inline void SetRaidArrayId(const Aws::String& value) { m_raidArrayIdHasBeenSet = true; m_raidArrayId = value; }
47 inline void SetRaidArrayId(Aws::String&& value) { m_raidArrayIdHasBeenSet = true; m_raidArrayId = std::move(value); }
48 inline void SetRaidArrayId(const char* value) { m_raidArrayIdHasBeenSet = true; m_raidArrayId.assign(value); }
49 inline RaidArray& WithRaidArrayId(const Aws::String& value) { SetRaidArrayId(value); return *this;}
50 inline RaidArray& WithRaidArrayId(Aws::String&& value) { SetRaidArrayId(std::move(value)); return *this;}
51 inline RaidArray& WithRaidArrayId(const char* value) { SetRaidArrayId(value); return *this;}
53
55
58 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
59 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
60 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
61 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
62 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
63 inline RaidArray& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
64 inline RaidArray& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
65 inline RaidArray& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
67
69
72 inline const Aws::String& GetName() const{ return m_name; }
73 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
74 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
75 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
76 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
77 inline RaidArray& WithName(const Aws::String& value) { SetName(value); return *this;}
78 inline RaidArray& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
79 inline RaidArray& WithName(const char* value) { SetName(value); return *this;}
81
83
87 inline int GetRaidLevel() const{ return m_raidLevel; }
88 inline bool RaidLevelHasBeenSet() const { return m_raidLevelHasBeenSet; }
89 inline void SetRaidLevel(int value) { m_raidLevelHasBeenSet = true; m_raidLevel = value; }
90 inline RaidArray& WithRaidLevel(int value) { SetRaidLevel(value); return *this;}
92
94
97 inline int GetNumberOfDisks() const{ return m_numberOfDisks; }
98 inline bool NumberOfDisksHasBeenSet() const { return m_numberOfDisksHasBeenSet; }
99 inline void SetNumberOfDisks(int value) { m_numberOfDisksHasBeenSet = true; m_numberOfDisks = value; }
100 inline RaidArray& WithNumberOfDisks(int value) { SetNumberOfDisks(value); return *this;}
102
104
107 inline int GetSize() const{ return m_size; }
108 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
109 inline void SetSize(int value) { m_sizeHasBeenSet = true; m_size = value; }
110 inline RaidArray& WithSize(int value) { SetSize(value); return *this;}
112
114
117 inline const Aws::String& GetDevice() const{ return m_device; }
118 inline bool DeviceHasBeenSet() const { return m_deviceHasBeenSet; }
119 inline void SetDevice(const Aws::String& value) { m_deviceHasBeenSet = true; m_device = value; }
120 inline void SetDevice(Aws::String&& value) { m_deviceHasBeenSet = true; m_device = std::move(value); }
121 inline void SetDevice(const char* value) { m_deviceHasBeenSet = true; m_device.assign(value); }
122 inline RaidArray& WithDevice(const Aws::String& value) { SetDevice(value); return *this;}
123 inline RaidArray& WithDevice(Aws::String&& value) { SetDevice(std::move(value)); return *this;}
124 inline RaidArray& WithDevice(const char* value) { SetDevice(value); return *this;}
126
128
131 inline const Aws::String& GetMountPoint() const{ return m_mountPoint; }
132 inline bool MountPointHasBeenSet() const { return m_mountPointHasBeenSet; }
133 inline void SetMountPoint(const Aws::String& value) { m_mountPointHasBeenSet = true; m_mountPoint = value; }
134 inline void SetMountPoint(Aws::String&& value) { m_mountPointHasBeenSet = true; m_mountPoint = std::move(value); }
135 inline void SetMountPoint(const char* value) { m_mountPointHasBeenSet = true; m_mountPoint.assign(value); }
136 inline RaidArray& WithMountPoint(const Aws::String& value) { SetMountPoint(value); return *this;}
137 inline RaidArray& WithMountPoint(Aws::String&& value) { SetMountPoint(std::move(value)); return *this;}
138 inline RaidArray& WithMountPoint(const char* value) { SetMountPoint(value); return *this;}
140
142
147 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
148 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
149 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
150 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
151 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
152 inline RaidArray& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
153 inline RaidArray& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
154 inline RaidArray& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
156
158
161 inline const Aws::String& GetCreatedAt() const{ return m_createdAt; }
162 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
163 inline void SetCreatedAt(const Aws::String& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
164 inline void SetCreatedAt(Aws::String&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
165 inline void SetCreatedAt(const char* value) { m_createdAtHasBeenSet = true; m_createdAt.assign(value); }
166 inline RaidArray& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;}
167 inline RaidArray& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;}
168 inline RaidArray& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;}
170
172
175 inline const Aws::String& GetStackId() const{ return m_stackId; }
176 inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
177 inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
178 inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
179 inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
180 inline RaidArray& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
181 inline RaidArray& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
182 inline RaidArray& WithStackId(const char* value) { SetStackId(value); return *this;}
184
186
189 inline const Aws::String& GetVolumeType() const{ return m_volumeType; }
190 inline bool VolumeTypeHasBeenSet() const { return m_volumeTypeHasBeenSet; }
191 inline void SetVolumeType(const Aws::String& value) { m_volumeTypeHasBeenSet = true; m_volumeType = value; }
192 inline void SetVolumeType(Aws::String&& value) { m_volumeTypeHasBeenSet = true; m_volumeType = std::move(value); }
193 inline void SetVolumeType(const char* value) { m_volumeTypeHasBeenSet = true; m_volumeType.assign(value); }
194 inline RaidArray& WithVolumeType(const Aws::String& value) { SetVolumeType(value); return *this;}
195 inline RaidArray& WithVolumeType(Aws::String&& value) { SetVolumeType(std::move(value)); return *this;}
196 inline RaidArray& WithVolumeType(const char* value) { SetVolumeType(value); return *this;}
198
200
203 inline int GetIops() const{ return m_iops; }
204 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
205 inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; }
206 inline RaidArray& WithIops(int value) { SetIops(value); return *this;}
208 private:
209
210 Aws::String m_raidArrayId;
211 bool m_raidArrayIdHasBeenSet = false;
212
213 Aws::String m_instanceId;
214 bool m_instanceIdHasBeenSet = false;
215
216 Aws::String m_name;
217 bool m_nameHasBeenSet = false;
218
219 int m_raidLevel;
220 bool m_raidLevelHasBeenSet = false;
221
222 int m_numberOfDisks;
223 bool m_numberOfDisksHasBeenSet = false;
224
225 int m_size;
226 bool m_sizeHasBeenSet = false;
227
228 Aws::String m_device;
229 bool m_deviceHasBeenSet = false;
230
231 Aws::String m_mountPoint;
232 bool m_mountPointHasBeenSet = false;
233
234 Aws::String m_availabilityZone;
235 bool m_availabilityZoneHasBeenSet = false;
236
237 Aws::String m_createdAt;
238 bool m_createdAtHasBeenSet = false;
239
240 Aws::String m_stackId;
241 bool m_stackIdHasBeenSet = false;
242
243 Aws::String m_volumeType;
244 bool m_volumeTypeHasBeenSet = false;
245
246 int m_iops;
247 bool m_iopsHasBeenSet = false;
248 };
249
250} // namespace Model
251} // namespace OpsWorks
252} // namespace Aws
RaidArray & WithStackId(Aws::String &&value)
Definition RaidArray.h:181
const Aws::String & GetInstanceId() const
Definition RaidArray.h:58
RaidArray & WithInstanceId(Aws::String &&value)
Definition RaidArray.h:64
void SetCreatedAt(const char *value)
Definition RaidArray.h:165
RaidArray & WithVolumeType(Aws::String &&value)
Definition RaidArray.h:195
RaidArray & WithStackId(const char *value)
Definition RaidArray.h:182
RaidArray & WithVolumeType(const char *value)
Definition RaidArray.h:196
void SetName(const char *value)
Definition RaidArray.h:76
const Aws::String & GetAvailabilityZone() const
Definition RaidArray.h:147
bool AvailabilityZoneHasBeenSet() const
Definition RaidArray.h:148
void SetDevice(const Aws::String &value)
Definition RaidArray.h:119
RaidArray & WithRaidArrayId(const Aws::String &value)
Definition RaidArray.h:49
RaidArray & WithRaidArrayId(const char *value)
Definition RaidArray.h:51
RaidArray & WithDevice(Aws::String &&value)
Definition RaidArray.h:123
const Aws::String & GetRaidArrayId() const
Definition RaidArray.h:44
const Aws::String & GetCreatedAt() const
Definition RaidArray.h:161
RaidArray & WithIops(int value)
Definition RaidArray.h:206
RaidArray & WithName(Aws::String &&value)
Definition RaidArray.h:78
void SetVolumeType(const Aws::String &value)
Definition RaidArray.h:191
RaidArray & WithName(const char *value)
Definition RaidArray.h:79
void SetCreatedAt(const Aws::String &value)
Definition RaidArray.h:163
void SetName(const Aws::String &value)
Definition RaidArray.h:74
RaidArray & WithCreatedAt(Aws::String &&value)
Definition RaidArray.h:167
void SetInstanceId(const char *value)
Definition RaidArray.h:62
RaidArray & WithCreatedAt(const char *value)
Definition RaidArray.h:168
void SetRaidArrayId(Aws::String &&value)
Definition RaidArray.h:47
void SetNumberOfDisks(int value)
Definition RaidArray.h:99
RaidArray & WithName(const Aws::String &value)
Definition RaidArray.h:77
void SetStackId(Aws::String &&value)
Definition RaidArray.h:178
RaidArray & WithNumberOfDisks(int value)
Definition RaidArray.h:100
void SetVolumeType(const char *value)
Definition RaidArray.h:193
void SetRaidArrayId(const char *value)
Definition RaidArray.h:48
RaidArray & WithMountPoint(const char *value)
Definition RaidArray.h:138
RaidArray & WithCreatedAt(const Aws::String &value)
Definition RaidArray.h:166
void SetMountPoint(const Aws::String &value)
Definition RaidArray.h:133
void SetName(Aws::String &&value)
Definition RaidArray.h:75
RaidArray & WithMountPoint(Aws::String &&value)
Definition RaidArray.h:137
void SetAvailabilityZone(const Aws::String &value)
Definition RaidArray.h:149
RaidArray & WithInstanceId(const char *value)
Definition RaidArray.h:65
const Aws::String & GetStackId() const
Definition RaidArray.h:175
void SetCreatedAt(Aws::String &&value)
Definition RaidArray.h:164
RaidArray & WithRaidLevel(int value)
Definition RaidArray.h:90
void SetAvailabilityZone(Aws::String &&value)
Definition RaidArray.h:150
const Aws::String & GetVolumeType() const
Definition RaidArray.h:189
RaidArray & WithRaidArrayId(Aws::String &&value)
Definition RaidArray.h:50
RaidArray & WithSize(int value)
Definition RaidArray.h:110
void SetDevice(Aws::String &&value)
Definition RaidArray.h:120
void SetMountPoint(Aws::String &&value)
Definition RaidArray.h:134
void SetAvailabilityZone(const char *value)
Definition RaidArray.h:151
RaidArray & WithAvailabilityZone(const char *value)
Definition RaidArray.h:154
RaidArray & WithInstanceId(const Aws::String &value)
Definition RaidArray.h:63
AWS_OPSWORKS_API RaidArray()
void SetMountPoint(const char *value)
Definition RaidArray.h:135
void SetStackId(const char *value)
Definition RaidArray.h:179
RaidArray & WithDevice(const char *value)
Definition RaidArray.h:124
const Aws::String & GetMountPoint() const
Definition RaidArray.h:131
AWS_OPSWORKS_API RaidArray(Aws::Utils::Json::JsonView jsonValue)
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInstanceId(Aws::String &&value)
Definition RaidArray.h:61
RaidArray & WithMountPoint(const Aws::String &value)
Definition RaidArray.h:136
const Aws::String & GetDevice() const
Definition RaidArray.h:117
bool NumberOfDisksHasBeenSet() const
Definition RaidArray.h:98
void SetVolumeType(Aws::String &&value)
Definition RaidArray.h:192
void SetInstanceId(const Aws::String &value)
Definition RaidArray.h:60
RaidArray & WithVolumeType(const Aws::String &value)
Definition RaidArray.h:194
AWS_OPSWORKS_API RaidArray & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDevice(const char *value)
Definition RaidArray.h:121
RaidArray & WithStackId(const Aws::String &value)
Definition RaidArray.h:180
RaidArray & WithAvailabilityZone(Aws::String &&value)
Definition RaidArray.h:153
const Aws::String & GetName() const
Definition RaidArray.h:72
RaidArray & WithDevice(const Aws::String &value)
Definition RaidArray.h:122
RaidArray & WithAvailabilityZone(const Aws::String &value)
Definition RaidArray.h:152
void SetRaidArrayId(const Aws::String &value)
Definition RaidArray.h:46
void SetStackId(const Aws::String &value)
Definition RaidArray.h:177
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue