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;
115 m_dbNodeStorageSizeInGBsHasBeenSet =
true;
116 m_dbNodeStorageSizeInGBs = value;
128 template <
typename DbServerPatchingDetailsT = DbServerPatchingDetails>
130 m_dbServerPatchingDetailsHasBeenSet =
true;
131 m_dbServerPatchingDetails = std::forward<DbServerPatchingDetailsT>(value);
133 template <
typename DbServerPatchingDetailsT = DbServerPatchingDetails>
147 template <
typename DisplayNameT = Aws::String>
149 m_displayNameHasBeenSet =
true;
150 m_displayName = std::forward<DisplayNameT>(value);
152 template <
typename DisplayNameT = Aws::String>
165 template <
typename ExadataInfrastructureIdT = Aws::String>
167 m_exadataInfrastructureIdHasBeenSet =
true;
168 m_exadataInfrastructureId = std::forward<ExadataInfrastructureIdT>(value);
170 template <
typename ExadataInfrastructureIdT = Aws::String>
183 template <
typename Oc
idT = Aws::String>
185 m_ocidHasBeenSet =
true;
186 m_ocid = std::forward<OcidT>(value);
188 template <
typename Oc
idT = Aws::String>
190 SetOcid(std::forward<OcidT>(value));
201 template <
typename OciResourceAnchorNameT = Aws::String>
203 m_ociResourceAnchorNameHasBeenSet =
true;
204 m_ociResourceAnchorName = std::forward<OciResourceAnchorNameT>(value);
206 template <
typename OciResourceAnchorNameT = Aws::String>
220 m_maxCpuCountHasBeenSet =
true;
221 m_maxCpuCount = value;
237 m_maxDbNodeStorageInGBsHasBeenSet =
true;
238 m_maxDbNodeStorageInGBs = value;
254 m_maxMemoryInGBsHasBeenSet =
true;
255 m_maxMemoryInGBs = value;
271 m_memorySizeInGBsHasBeenSet =
true;
272 m_memorySizeInGBs = value;
288 template <
typename ShapeT = Aws::String>
290 m_shapeHasBeenSet =
true;
291 m_shape = std::forward<ShapeT>(value);
293 template <
typename ShapeT = Aws::String>
295 SetShape(std::forward<ShapeT>(value));
306 template <
typename CreatedAtT = Aws::Utils::DateTime>
308 m_createdAtHasBeenSet =
true;
309 m_createdAt = std::forward<CreatedAtT>(value);
311 template <
typename CreatedAtT = Aws::Utils::DateTime>
324 template <
typename VmClusterIdsT = Aws::Vector<Aws::String>>
326 m_vmClusterIdsHasBeenSet =
true;
327 m_vmClusterIds = std::forward<VmClusterIdsT>(value);
329 template <
typename VmClusterIdsT = Aws::Vector<Aws::String>>
334 template <
typename VmClusterIdsT = Aws::String>
336 m_vmClusterIdsHasBeenSet =
true;
337 m_vmClusterIds.emplace_back(std::forward<VmClusterIdsT>(value));
353 m_computeModelHasBeenSet =
true;
354 m_computeModel = value;
368 template <
typename AutonomousVmClusterIdsT = Aws::Vector<Aws::String>>
370 m_autonomousVmClusterIdsHasBeenSet =
true;
371 m_autonomousVmClusterIds = std::forward<AutonomousVmClusterIdsT>(value);
373 template <
typename AutonomousVmClusterIdsT = Aws::Vector<Aws::String>>
378 template <
typename AutonomousVmClusterIdsT = Aws::String>
380 m_autonomousVmClusterIdsHasBeenSet =
true;
381 m_autonomousVmClusterIds.emplace_back(std::forward<AutonomousVmClusterIdsT>(value));
392 template <
typename AutonomousVirtualMachineIdsT = Aws::Vector<Aws::String>>
394 m_autonomousVirtualMachineIdsHasBeenSet =
true;
395 m_autonomousVirtualMachineIds = std::forward<AutonomousVirtualMachineIdsT>(value);
397 template <
typename AutonomousVirtualMachineIdsT = Aws::Vector<Aws::String>>
402 template <
typename AutonomousVirtualMachineIdsT = Aws::String>
404 m_autonomousVirtualMachineIdsHasBeenSet =
true;
405 m_autonomousVirtualMachineIds.emplace_back(std::forward<AutonomousVirtualMachineIdsT>(value));
416 int m_cpuCoreCount{0};
418 int m_dbNodeStorageSizeInGBs{0};
420 DbServerPatchingDetails m_dbServerPatchingDetails;
430 int m_maxCpuCount{0};
432 int m_maxDbNodeStorageInGBs{0};
434 int m_maxMemoryInGBs{0};
436 int m_memorySizeInGBs{0};
449 bool m_dbServerIdHasBeenSet =
false;
450 bool m_statusHasBeenSet =
false;
451 bool m_statusReasonHasBeenSet =
false;
452 bool m_cpuCoreCountHasBeenSet =
false;
453 bool m_dbNodeStorageSizeInGBsHasBeenSet =
false;
454 bool m_dbServerPatchingDetailsHasBeenSet =
false;
455 bool m_displayNameHasBeenSet =
false;
456 bool m_exadataInfrastructureIdHasBeenSet =
false;
457 bool m_ocidHasBeenSet =
false;
458 bool m_ociResourceAnchorNameHasBeenSet =
false;
459 bool m_maxCpuCountHasBeenSet =
false;
460 bool m_maxDbNodeStorageInGBsHasBeenSet =
false;
461 bool m_maxMemoryInGBsHasBeenSet =
false;
462 bool m_memorySizeInGBsHasBeenSet =
false;
463 bool m_shapeHasBeenSet =
false;
464 bool m_createdAtHasBeenSet =
false;
465 bool m_vmClusterIdsHasBeenSet =
false;
466 bool m_computeModelHasBeenSet =
false;
467 bool m_autonomousVmClusterIdsHasBeenSet =
false;
468 bool m_autonomousVirtualMachineIdsHasBeenSet =
false;
DbServerSummary & AddAutonomousVirtualMachineIds(AutonomousVirtualMachineIdsT &&value)
bool ShapeHasBeenSet() const
AWS_ODB_API DbServerSummary()=default
const Aws::Vector< Aws::String > & GetVmClusterIds() const
DbServerSummary & WithVmClusterIds(VmClusterIdsT &&value)
ComputeModel GetComputeModel() const
AWS_ODB_API DbServerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDisplayName() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCpuCoreCount(int value)
bool DbServerIdHasBeenSet() const
bool OciResourceAnchorNameHasBeenSet() const
const Aws::String & GetStatusReason() const
const Aws::Vector< Aws::String > & GetAutonomousVmClusterIds() const
bool MaxDbNodeStorageInGBsHasBeenSet() const
DbServerSummary & WithStatusReason(StatusReasonT &&value)
bool AutonomousVirtualMachineIdsHasBeenSet() const
void SetAutonomousVmClusterIds(AutonomousVmClusterIdsT &&value)
void SetShape(ShapeT &&value)
bool AutonomousVmClusterIdsHasBeenSet() const
DbServerSummary & WithOcid(OcidT &&value)
void SetOcid(OcidT &&value)
bool StatusHasBeenSet() const
DbServerSummary & WithDbNodeStorageSizeInGBs(int value)
void SetDisplayName(DisplayNameT &&value)
int GetMemorySizeInGBs() const
bool DisplayNameHasBeenSet() const
DbServerSummary & WithAutonomousVmClusterIds(AutonomousVmClusterIdsT &&value)
const Aws::String & GetShape() const
void SetMaxDbNodeStorageInGBs(int value)
DbServerSummary & WithMaxDbNodeStorageInGBs(int value)
bool DbServerPatchingDetailsHasBeenSet() const
DbServerSummary & WithCpuCoreCount(int value)
int GetMaxDbNodeStorageInGBs() const
ResourceStatus GetStatus() const
bool CreatedAtHasBeenSet() const
void SetVmClusterIds(VmClusterIdsT &&value)
void SetStatusReason(StatusReasonT &&value)
DbServerSummary & WithExadataInfrastructureId(ExadataInfrastructureIdT &&value)
DbServerSummary & WithShape(ShapeT &&value)
void SetComputeModel(ComputeModel value)
void SetStatus(ResourceStatus value)
void SetOciResourceAnchorName(OciResourceAnchorNameT &&value)
const Aws::String & GetOcid() const
void SetDbServerId(DbServerIdT &&value)
void SetDbNodeStorageSizeInGBs(int value)
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
DbServerSummary & WithDbServerId(DbServerIdT &&value)
DbServerSummary & AddAutonomousVmClusterIds(AutonomousVmClusterIdsT &&value)
DbServerSummary & WithStatus(ResourceStatus value)
void SetExadataInfrastructureId(ExadataInfrastructureIdT &&value)
AWS_ODB_API DbServerSummary(Aws::Utils::Json::JsonView jsonValue)
bool ComputeModelHasBeenSet() const
int GetMaxCpuCount() const
const Aws::String & GetDbServerId() const
bool ExadataInfrastructureIdHasBeenSet() const
void SetMaxMemoryInGBs(int value)
DbServerSummary & WithOciResourceAnchorName(OciResourceAnchorNameT &&value)
const Aws::String & GetExadataInfrastructureId() const
DbServerSummary & WithDbServerPatchingDetails(DbServerPatchingDetailsT &&value)
DbServerSummary & WithCreatedAt(CreatedAtT &&value)
int GetMaxMemoryInGBs() const
bool MaxCpuCountHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
DbServerSummary & WithComputeModel(ComputeModel value)
DbServerSummary & WithDisplayName(DisplayNameT &&value)
bool CpuCoreCountHasBeenSet() const
DbServerSummary & WithAutonomousVirtualMachineIds(AutonomousVirtualMachineIdsT &&value)
void SetMaxCpuCount(int value)
const Aws::Vector< Aws::String > & GetAutonomousVirtualMachineIds() const
DbServerSummary & WithMemorySizeInGBs(int value)
DbServerSummary & WithMaxMemoryInGBs(int value)
bool StatusReasonHasBeenSet() const
bool VmClusterIdsHasBeenSet() const
int GetDbNodeStorageSizeInGBs() const
bool MaxMemoryInGBsHasBeenSet() const
bool MemorySizeInGBsHasBeenSet() const
bool OcidHasBeenSet() const
DbServerSummary & WithMaxCpuCount(int value)
const DbServerPatchingDetails & GetDbServerPatchingDetails() const
const Aws::String & GetOciResourceAnchorName() const
void SetDbServerPatchingDetails(DbServerPatchingDetailsT &&value)
void SetAutonomousVirtualMachineIds(AutonomousVirtualMachineIdsT &&value)
DbServerSummary & AddVmClusterIds(VmClusterIdsT &&value)
int GetCpuCoreCount() const
void SetMemorySizeInGBs(int value)
bool DbNodeStorageSizeInGBsHasBeenSet() 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