7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/odb/Odb_EXPORTS.h>
11#include <aws/odb/model/ComputeModel.h>
12#include <aws/odb/model/DbServerPatchingDetails.h>
13#include <aws/odb/model/ResourceStatus.h>
45 template <
typename DbServerIdT = Aws::String>
47 m_dbServerIdHasBeenSet =
true;
48 m_dbServerId = std::forward<DbServerIdT>(value);
50 template <
typename DbServerIdT = Aws::String>
64 m_statusHasBeenSet =
true;
79 template <
typename StatusReasonT = Aws::String>
81 m_statusReasonHasBeenSet =
true;
82 m_statusReason = std::forward<StatusReasonT>(value);
84 template <
typename StatusReasonT = Aws::String>
98 m_cpuCoreCountHasBeenSet =
true;
99 m_cpuCoreCount = value;
114 m_dbNodeStorageSizeInGBsHasBeenSet =
true;
115 m_dbNodeStorageSizeInGBs = value;
130 template <
typename DbServerPatchingDetailsT = DbServerPatchingDetails>
132 m_dbServerPatchingDetailsHasBeenSet =
true;
133 m_dbServerPatchingDetails = std::forward<DbServerPatchingDetailsT>(value);
135 template <
typename DbServerPatchingDetailsT = DbServerPatchingDetails>
148 template <
typename DisplayNameT = Aws::String>
150 m_displayNameHasBeenSet =
true;
151 m_displayName = std::forward<DisplayNameT>(value);
153 template <
typename DisplayNameT = Aws::String>
166 template <
typename ExadataInfrastructureIdT = Aws::String>
168 m_exadataInfrastructureIdHasBeenSet =
true;
169 m_exadataInfrastructureId = std::forward<ExadataInfrastructureIdT>(value);
171 template <
typename ExadataInfrastructureIdT = Aws::String>
184 template <
typename Oc
idT = Aws::String>
186 m_ocidHasBeenSet =
true;
187 m_ocid = std::forward<OcidT>(value);
189 template <
typename Oc
idT = Aws::String>
191 SetOcid(std::forward<OcidT>(value));
202 template <
typename OciResourceAnchorNameT = Aws::String>
204 m_ociResourceAnchorNameHasBeenSet =
true;
205 m_ociResourceAnchorName = std::forward<OciResourceAnchorNameT>(value);
207 template <
typename OciResourceAnchorNameT = Aws::String>
221 m_maxCpuCountHasBeenSet =
true;
222 m_maxCpuCount = value;
237 m_maxDbNodeStorageInGBsHasBeenSet =
true;
238 m_maxDbNodeStorageInGBs = value;
253 m_maxMemoryInGBsHasBeenSet =
true;
254 m_maxMemoryInGBs = value;
269 m_memorySizeInGBsHasBeenSet =
true;
270 m_memorySizeInGBs = value;
285 template <
typename ShapeT = Aws::String>
287 m_shapeHasBeenSet =
true;
288 m_shape = std::forward<ShapeT>(value);
290 template <
typename ShapeT = Aws::String>
292 SetShape(std::forward<ShapeT>(value));
303 template <
typename CreatedAtT = Aws::Utils::DateTime>
305 m_createdAtHasBeenSet =
true;
306 m_createdAt = std::forward<CreatedAtT>(value);
308 template <
typename CreatedAtT = Aws::Utils::DateTime>
321 template <
typename VmClusterIdsT = Aws::Vector<Aws::String>>
323 m_vmClusterIdsHasBeenSet =
true;
324 m_vmClusterIds = std::forward<VmClusterIdsT>(value);
326 template <
typename VmClusterIdsT = Aws::Vector<Aws::String>>
331 template <
typename VmClusterIdsT = Aws::String>
333 m_vmClusterIdsHasBeenSet =
true;
334 m_vmClusterIds.emplace_back(std::forward<VmClusterIdsT>(value));
346 m_computeModelHasBeenSet =
true;
347 m_computeModel = value;
362 template <
typename AutonomousVmClusterIdsT = Aws::Vector<Aws::String>>
364 m_autonomousVmClusterIdsHasBeenSet =
true;
365 m_autonomousVmClusterIds = std::forward<AutonomousVmClusterIdsT>(value);
367 template <
typename AutonomousVmClusterIdsT = Aws::Vector<Aws::String>>
372 template <
typename AutonomousVmClusterIdsT = Aws::String>
374 m_autonomousVmClusterIdsHasBeenSet =
true;
375 m_autonomousVmClusterIds.emplace_back(std::forward<AutonomousVmClusterIdsT>(value));
387 template <
typename AutonomousVirtualMachineIdsT = Aws::Vector<Aws::String>>
389 m_autonomousVirtualMachineIdsHasBeenSet =
true;
390 m_autonomousVirtualMachineIds = std::forward<AutonomousVirtualMachineIdsT>(value);
392 template <
typename AutonomousVirtualMachineIdsT = Aws::Vector<Aws::String>>
397 template <
typename AutonomousVirtualMachineIdsT = Aws::String>
399 m_autonomousVirtualMachineIdsHasBeenSet =
true;
400 m_autonomousVirtualMachineIds.emplace_back(std::forward<AutonomousVirtualMachineIdsT>(value));
411 int m_cpuCoreCount{0};
413 int m_dbNodeStorageSizeInGBs{0};
415 DbServerPatchingDetails m_dbServerPatchingDetails;
425 int m_maxCpuCount{0};
427 int m_maxDbNodeStorageInGBs{0};
429 int m_maxMemoryInGBs{0};
431 int m_memorySizeInGBs{0};
444 bool m_dbServerIdHasBeenSet =
false;
445 bool m_statusHasBeenSet =
false;
446 bool m_statusReasonHasBeenSet =
false;
447 bool m_cpuCoreCountHasBeenSet =
false;
448 bool m_dbNodeStorageSizeInGBsHasBeenSet =
false;
449 bool m_dbServerPatchingDetailsHasBeenSet =
false;
450 bool m_displayNameHasBeenSet =
false;
451 bool m_exadataInfrastructureIdHasBeenSet =
false;
452 bool m_ocidHasBeenSet =
false;
453 bool m_ociResourceAnchorNameHasBeenSet =
false;
454 bool m_maxCpuCountHasBeenSet =
false;
455 bool m_maxDbNodeStorageInGBsHasBeenSet =
false;
456 bool m_maxMemoryInGBsHasBeenSet =
false;
457 bool m_memorySizeInGBsHasBeenSet =
false;
458 bool m_shapeHasBeenSet =
false;
459 bool m_createdAtHasBeenSet =
false;
460 bool m_vmClusterIdsHasBeenSet =
false;
461 bool m_computeModelHasBeenSet =
false;
462 bool m_autonomousVmClusterIdsHasBeenSet =
false;
463 bool m_autonomousVirtualMachineIdsHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetAutonomousVmClusterIds() const
DbServer & WithShape(ShapeT &&value)
DbServer & WithDisplayName(DisplayNameT &&value)
int GetMaxMemoryInGBs() const
void SetMaxDbNodeStorageInGBs(int value)
const Aws::String & GetExadataInfrastructureId() const
void SetStatus(ResourceStatus value)
int GetMaxCpuCount() const
const DbServerPatchingDetails & GetDbServerPatchingDetails() const
DbServer & AddVmClusterIds(VmClusterIdsT &&value)
const Aws::Vector< Aws::String > & GetVmClusterIds() const
bool MaxDbNodeStorageInGBsHasBeenSet() const
ComputeModel GetComputeModel() const
bool OcidHasBeenSet() const
DbServer & WithMaxDbNodeStorageInGBs(int value)
void SetShape(ShapeT &&value)
const Aws::String & GetOciResourceAnchorName() const
void SetCpuCoreCount(int value)
DbServer & WithExadataInfrastructureId(ExadataInfrastructureIdT &&value)
bool DbServerIdHasBeenSet() const
bool ExadataInfrastructureIdHasBeenSet() const
DbServer & WithCpuCoreCount(int value)
DbServer & WithMemorySizeInGBs(int value)
void SetStatusReason(StatusReasonT &&value)
DbServer & AddAutonomousVmClusterIds(AutonomousVmClusterIdsT &&value)
DbServer & WithDbServerPatchingDetails(DbServerPatchingDetailsT &&value)
DbServer & WithDbNodeStorageSizeInGBs(int value)
int GetMemorySizeInGBs() const
ResourceStatus GetStatus() const
DbServer & WithOciResourceAnchorName(OciResourceAnchorNameT &&value)
int GetDbNodeStorageSizeInGBs() const
void SetAutonomousVmClusterIds(AutonomousVmClusterIdsT &&value)
void SetDbServerPatchingDetails(DbServerPatchingDetailsT &&value)
bool StatusHasBeenSet() const
bool MaxMemoryInGBsHasBeenSet() const
const Aws::String & GetDisplayName() const
AWS_ODB_API DbServer()=default
DbServer & AddAutonomousVirtualMachineIds(AutonomousVirtualMachineIdsT &&value)
bool ComputeModelHasBeenSet() const
void SetDbNodeStorageSizeInGBs(int value)
bool MaxCpuCountHasBeenSet() const
DbServer & WithVmClusterIds(VmClusterIdsT &&value)
DbServer & WithMaxCpuCount(int value)
const Aws::String & GetOcid() const
void SetMemorySizeInGBs(int value)
bool AutonomousVmClusterIdsHasBeenSet() const
bool CpuCoreCountHasBeenSet() const
DbServer & WithCreatedAt(CreatedAtT &&value)
bool DbNodeStorageSizeInGBsHasBeenSet() const
bool AutonomousVirtualMachineIdsHasBeenSet() const
void SetAutonomousVirtualMachineIds(AutonomousVirtualMachineIdsT &&value)
void SetOcid(OcidT &&value)
DbServer & WithOcid(OcidT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool DisplayNameHasBeenSet() const
void SetVmClusterIds(VmClusterIdsT &&value)
DbServer & WithComputeModel(ComputeModel value)
AWS_ODB_API DbServer & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDisplayName(DisplayNameT &&value)
const Aws::String & GetShape() const
const Aws::Vector< Aws::String > & GetAutonomousVirtualMachineIds() const
int GetMaxDbNodeStorageInGBs() const
DbServer & WithAutonomousVirtualMachineIds(AutonomousVirtualMachineIdsT &&value)
bool CreatedAtHasBeenSet() const
const Aws::String & GetStatusReason() const
DbServer & WithMaxMemoryInGBs(int value)
bool VmClusterIdsHasBeenSet() const
void SetComputeModel(ComputeModel value)
void SetMaxMemoryInGBs(int value)
const Aws::String & GetDbServerId() const
void SetMaxCpuCount(int value)
DbServer & WithStatus(ResourceStatus value)
bool OciResourceAnchorNameHasBeenSet() const
bool DbServerPatchingDetailsHasBeenSet() const
DbServer & WithAutonomousVmClusterIds(AutonomousVmClusterIdsT &&value)
AWS_ODB_API DbServer(Aws::Utils::Json::JsonView jsonValue)
DbServer & WithStatusReason(StatusReasonT &&value)
bool ShapeHasBeenSet() const
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExadataInfrastructureId(ExadataInfrastructureIdT &&value)
int GetCpuCoreCount() const
DbServer & WithDbServerId(DbServerIdT &&value)
void SetOciResourceAnchorName(OciResourceAnchorNameT &&value)
bool StatusReasonHasBeenSet() const
void SetDbServerId(DbServerIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
bool MemorySizeInGBsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue