AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
AutonomousVirtualMachineSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/odb/Odb_EXPORTS.h>
9#include <aws/odb/model/ResourceStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace odb {
21namespace Model {
22
30 public:
31 AWS_ODB_API AutonomousVirtualMachineSummary() = default;
35
37
40 inline const Aws::String& GetAutonomousVirtualMachineId() const { return m_autonomousVirtualMachineId; }
41 inline bool AutonomousVirtualMachineIdHasBeenSet() const { return m_autonomousVirtualMachineIdHasBeenSet; }
42 template <typename AutonomousVirtualMachineIdT = Aws::String>
43 void SetAutonomousVirtualMachineId(AutonomousVirtualMachineIdT&& value) {
44 m_autonomousVirtualMachineIdHasBeenSet = true;
45 m_autonomousVirtualMachineId = std::forward<AutonomousVirtualMachineIdT>(value);
46 }
47 template <typename AutonomousVirtualMachineIdT = Aws::String>
49 SetAutonomousVirtualMachineId(std::forward<AutonomousVirtualMachineIdT>(value));
50 return *this;
51 }
53
55
58 inline ResourceStatus GetStatus() const { return m_status; }
59 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
60 inline void SetStatus(ResourceStatus value) {
61 m_statusHasBeenSet = true;
62 m_status = value;
63 }
65 SetStatus(value);
66 return *this;
67 }
69
71
75 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
76 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
77 template <typename StatusReasonT = Aws::String>
78 void SetStatusReason(StatusReasonT&& value) {
79 m_statusReasonHasBeenSet = true;
80 m_statusReason = std::forward<StatusReasonT>(value);
81 }
82 template <typename StatusReasonT = Aws::String>
84 SetStatusReason(std::forward<StatusReasonT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetVmName() const { return m_vmName; }
94 inline bool VmNameHasBeenSet() const { return m_vmNameHasBeenSet; }
95 template <typename VmNameT = Aws::String>
96 void SetVmName(VmNameT&& value) {
97 m_vmNameHasBeenSet = true;
98 m_vmName = std::forward<VmNameT>(value);
99 }
100 template <typename VmNameT = Aws::String>
102 SetVmName(std::forward<VmNameT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetDbServerId() const { return m_dbServerId; }
112 inline bool DbServerIdHasBeenSet() const { return m_dbServerIdHasBeenSet; }
113 template <typename DbServerIdT = Aws::String>
114 void SetDbServerId(DbServerIdT&& value) {
115 m_dbServerIdHasBeenSet = true;
116 m_dbServerId = std::forward<DbServerIdT>(value);
117 }
118 template <typename DbServerIdT = Aws::String>
120 SetDbServerId(std::forward<DbServerIdT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetDbServerDisplayName() const { return m_dbServerDisplayName; }
130 inline bool DbServerDisplayNameHasBeenSet() const { return m_dbServerDisplayNameHasBeenSet; }
131 template <typename DbServerDisplayNameT = Aws::String>
132 void SetDbServerDisplayName(DbServerDisplayNameT&& value) {
133 m_dbServerDisplayNameHasBeenSet = true;
134 m_dbServerDisplayName = std::forward<DbServerDisplayNameT>(value);
135 }
136 template <typename DbServerDisplayNameT = Aws::String>
138 SetDbServerDisplayName(std::forward<DbServerDisplayNameT>(value));
139 return *this;
140 }
142
144
147 inline int GetCpuCoreCount() const { return m_cpuCoreCount; }
148 inline bool CpuCoreCountHasBeenSet() const { return m_cpuCoreCountHasBeenSet; }
149 inline void SetCpuCoreCount(int value) {
150 m_cpuCoreCountHasBeenSet = true;
151 m_cpuCoreCount = value;
152 }
154 SetCpuCoreCount(value);
155 return *this;
156 }
158
160
163 inline int GetMemorySizeInGBs() const { return m_memorySizeInGBs; }
164 inline bool MemorySizeInGBsHasBeenSet() const { return m_memorySizeInGBsHasBeenSet; }
165 inline void SetMemorySizeInGBs(int value) {
166 m_memorySizeInGBsHasBeenSet = true;
167 m_memorySizeInGBs = value;
168 }
170 SetMemorySizeInGBs(value);
171 return *this;
172 }
174
176
180 inline int GetDbNodeStorageSizeInGBs() const { return m_dbNodeStorageSizeInGBs; }
181 inline bool DbNodeStorageSizeInGBsHasBeenSet() const { return m_dbNodeStorageSizeInGBsHasBeenSet; }
182 inline void SetDbNodeStorageSizeInGBs(int value) {
183 m_dbNodeStorageSizeInGBsHasBeenSet = true;
184 m_dbNodeStorageSizeInGBs = value;
185 }
188 return *this;
189 }
191
193
196 inline const Aws::String& GetClientIpAddress() const { return m_clientIpAddress; }
197 inline bool ClientIpAddressHasBeenSet() const { return m_clientIpAddressHasBeenSet; }
198 template <typename ClientIpAddressT = Aws::String>
199 void SetClientIpAddress(ClientIpAddressT&& value) {
200 m_clientIpAddressHasBeenSet = true;
201 m_clientIpAddress = std::forward<ClientIpAddressT>(value);
202 }
203 template <typename ClientIpAddressT = Aws::String>
205 SetClientIpAddress(std::forward<ClientIpAddressT>(value));
206 return *this;
207 }
209
211
215 inline const Aws::String& GetCloudAutonomousVmClusterId() const { return m_cloudAutonomousVmClusterId; }
216 inline bool CloudAutonomousVmClusterIdHasBeenSet() const { return m_cloudAutonomousVmClusterIdHasBeenSet; }
217 template <typename CloudAutonomousVmClusterIdT = Aws::String>
218 void SetCloudAutonomousVmClusterId(CloudAutonomousVmClusterIdT&& value) {
219 m_cloudAutonomousVmClusterIdHasBeenSet = true;
220 m_cloudAutonomousVmClusterId = std::forward<CloudAutonomousVmClusterIdT>(value);
221 }
222 template <typename CloudAutonomousVmClusterIdT = Aws::String>
224 SetCloudAutonomousVmClusterId(std::forward<CloudAutonomousVmClusterIdT>(value));
225 return *this;
226 }
228
230
233 inline const Aws::String& GetOcid() const { return m_ocid; }
234 inline bool OcidHasBeenSet() const { return m_ocidHasBeenSet; }
235 template <typename OcidT = Aws::String>
236 void SetOcid(OcidT&& value) {
237 m_ocidHasBeenSet = true;
238 m_ocid = std::forward<OcidT>(value);
239 }
240 template <typename OcidT = Aws::String>
242 SetOcid(std::forward<OcidT>(value));
243 return *this;
244 }
246
248
252 inline const Aws::String& GetOciResourceAnchorName() const { return m_ociResourceAnchorName; }
253 inline bool OciResourceAnchorNameHasBeenSet() const { return m_ociResourceAnchorNameHasBeenSet; }
254 template <typename OciResourceAnchorNameT = Aws::String>
255 void SetOciResourceAnchorName(OciResourceAnchorNameT&& value) {
256 m_ociResourceAnchorNameHasBeenSet = true;
257 m_ociResourceAnchorName = std::forward<OciResourceAnchorNameT>(value);
258 }
259 template <typename OciResourceAnchorNameT = Aws::String>
261 SetOciResourceAnchorName(std::forward<OciResourceAnchorNameT>(value));
262 return *this;
263 }
265 private:
266 Aws::String m_autonomousVirtualMachineId;
267
269
270 Aws::String m_statusReason;
271
272 Aws::String m_vmName;
273
274 Aws::String m_dbServerId;
275
276 Aws::String m_dbServerDisplayName;
277
278 int m_cpuCoreCount{0};
279
280 int m_memorySizeInGBs{0};
281
282 int m_dbNodeStorageSizeInGBs{0};
283
284 Aws::String m_clientIpAddress;
285
286 Aws::String m_cloudAutonomousVmClusterId;
287
288 Aws::String m_ocid;
289
290 Aws::String m_ociResourceAnchorName;
291 bool m_autonomousVirtualMachineIdHasBeenSet = false;
292 bool m_statusHasBeenSet = false;
293 bool m_statusReasonHasBeenSet = false;
294 bool m_vmNameHasBeenSet = false;
295 bool m_dbServerIdHasBeenSet = false;
296 bool m_dbServerDisplayNameHasBeenSet = false;
297 bool m_cpuCoreCountHasBeenSet = false;
298 bool m_memorySizeInGBsHasBeenSet = false;
299 bool m_dbNodeStorageSizeInGBsHasBeenSet = false;
300 bool m_clientIpAddressHasBeenSet = false;
301 bool m_cloudAutonomousVmClusterIdHasBeenSet = false;
302 bool m_ocidHasBeenSet = false;
303 bool m_ociResourceAnchorNameHasBeenSet = false;
304};
305
306} // namespace Model
307} // namespace odb
308} // namespace Aws
AutonomousVirtualMachineSummary & WithClientIpAddress(ClientIpAddressT &&value)
AutonomousVirtualMachineSummary & WithOciResourceAnchorName(OciResourceAnchorNameT &&value)
AutonomousVirtualMachineSummary & WithDbServerDisplayName(DbServerDisplayNameT &&value)
AWS_ODB_API AutonomousVirtualMachineSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCloudAutonomousVmClusterId(CloudAutonomousVmClusterIdT &&value)
AutonomousVirtualMachineSummary & WithOcid(OcidT &&value)
AutonomousVirtualMachineSummary & WithCloudAutonomousVmClusterId(CloudAutonomousVmClusterIdT &&value)
AutonomousVirtualMachineSummary & WithStatus(ResourceStatus value)
AutonomousVirtualMachineSummary & WithVmName(VmNameT &&value)
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
AutonomousVirtualMachineSummary & WithCpuCoreCount(int value)
AutonomousVirtualMachineSummary & WithDbNodeStorageSizeInGBs(int value)
AutonomousVirtualMachineSummary & WithMemorySizeInGBs(int value)
void SetAutonomousVirtualMachineId(AutonomousVirtualMachineIdT &&value)
AutonomousVirtualMachineSummary & WithDbServerId(DbServerIdT &&value)
AutonomousVirtualMachineSummary & WithStatusReason(StatusReasonT &&value)
AutonomousVirtualMachineSummary & WithAutonomousVirtualMachineId(AutonomousVirtualMachineIdT &&value)
AWS_ODB_API AutonomousVirtualMachineSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue