7#include <aws/odb/Odb_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/odb/model/ResourceStatus.h>
10#include <aws/odb/model/DbServerPatchingDetails.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/odb/model/ComputeModel.h>
51 template<
typename DbServerIdT = Aws::String>
52 void SetDbServerId(DbServerIdT&& value) { m_dbServerIdHasBeenSet =
true; m_dbServerId = std::forward<DbServerIdT>(value); }
53 template<
typename DbServerIdT = Aws::String>
73 template<
typename StatusReasonT = Aws::String>
74 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
75 template<
typename StatusReasonT = Aws::String>
85 inline void SetCpuCoreCount(
int value) { m_cpuCoreCountHasBeenSet =
true; m_cpuCoreCount = value; }
104 template<
typename DbServerPatchingDetailsT = DbServerPatchingDetails>
105 void SetDbServerPatchingDetails(DbServerPatchingDetailsT&& value) { m_dbServerPatchingDetailsHasBeenSet =
true; m_dbServerPatchingDetails = std::forward<DbServerPatchingDetailsT>(value); }
106 template<
typename DbServerPatchingDetailsT = DbServerPatchingDetails>
117 template<
typename DisplayNameT = Aws::String>
118 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
119 template<
typename DisplayNameT = Aws::String>
129 template<
typename ExadataInfrastructureIdT = Aws::String>
130 void SetExadataInfrastructureId(ExadataInfrastructureIdT&& value) { m_exadataInfrastructureIdHasBeenSet =
true; m_exadataInfrastructureId = std::forward<ExadataInfrastructureIdT>(value); }
131 template<
typename ExadataInfrastructureIdT = Aws::String>
141 template<
typename Oc
idT = Aws::String>
142 void SetOcid(OcidT&& value) { m_ocidHasBeenSet =
true; m_ocid = std::forward<OcidT>(value); }
143 template<
typename Oc
idT = Aws::String>
153 template<
typename OciResourceAnchorNameT = Aws::String>
154 void SetOciResourceAnchorName(OciResourceAnchorNameT&& value) { m_ociResourceAnchorNameHasBeenSet =
true; m_ociResourceAnchorName = std::forward<OciResourceAnchorNameT>(value); }
155 template<
typename OciResourceAnchorNameT = Aws::String>
165 inline void SetMaxCpuCount(
int value) { m_maxCpuCountHasBeenSet =
true; m_maxCpuCount = value; }
187 inline void SetMaxMemoryInGBs(
int value) { m_maxMemoryInGBsHasBeenSet =
true; m_maxMemoryInGBs = value; }
198 inline void SetMemorySizeInGBs(
int value) { m_memorySizeInGBsHasBeenSet =
true; m_memorySizeInGBs = value; }
210 template<
typename ShapeT = Aws::String>
211 void SetShape(ShapeT&& value) { m_shapeHasBeenSet =
true; m_shape = std::forward<ShapeT>(value); }
212 template<
typename ShapeT = Aws::String>
222 template<
typename CreatedAtT = Aws::Utils::DateTime>
223 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
224 template<
typename CreatedAtT = Aws::Utils::DateTime>
234 template<
typename VmClusterIdsT = Aws::Vector<Aws::String>>
235 void SetVmClusterIds(VmClusterIdsT&& value) { m_vmClusterIdsHasBeenSet =
true; m_vmClusterIds = std::forward<VmClusterIdsT>(value); }
236 template<
typename VmClusterIdsT = Aws::Vector<Aws::String>>
238 template<
typename VmClusterIdsT = Aws::String>
239 DbServerSummary&
AddVmClusterIds(VmClusterIdsT&& value) { m_vmClusterIdsHasBeenSet =
true; m_vmClusterIds.emplace_back(std::forward<VmClusterIdsT>(value));
return *
this; }
262 template<
typename AutonomousVmClusterIdsT = Aws::Vector<Aws::String>>
263 void SetAutonomousVmClusterIds(AutonomousVmClusterIdsT&& value) { m_autonomousVmClusterIdsHasBeenSet =
true; m_autonomousVmClusterIds = std::forward<AutonomousVmClusterIdsT>(value); }
264 template<
typename AutonomousVmClusterIdsT = Aws::Vector<Aws::String>>
266 template<
typename AutonomousVmClusterIdsT = Aws::String>
267 DbServerSummary&
AddAutonomousVmClusterIds(AutonomousVmClusterIdsT&& value) { m_autonomousVmClusterIdsHasBeenSet =
true; m_autonomousVmClusterIds.emplace_back(std::forward<AutonomousVmClusterIdsT>(value));
return *
this; }
276 template<
typename AutonomousVirtualMachineIdsT = Aws::Vector<Aws::String>>
277 void SetAutonomousVirtualMachineIds(AutonomousVirtualMachineIdsT&& value) { m_autonomousVirtualMachineIdsHasBeenSet =
true; m_autonomousVirtualMachineIds = std::forward<AutonomousVirtualMachineIdsT>(value); }
278 template<
typename AutonomousVirtualMachineIdsT = Aws::Vector<Aws::String>>
280 template<
typename AutonomousVirtualMachineIdsT = Aws::String>
281 DbServerSummary&
AddAutonomousVirtualMachineIds(AutonomousVirtualMachineIdsT&& value) { m_autonomousVirtualMachineIdsHasBeenSet =
true; m_autonomousVirtualMachineIds.emplace_back(std::forward<AutonomousVirtualMachineIdsT>(value));
return *
this; }
286 bool m_dbServerIdHasBeenSet =
false;
289 bool m_statusHasBeenSet =
false;
292 bool m_statusReasonHasBeenSet =
false;
294 int m_cpuCoreCount{0};
295 bool m_cpuCoreCountHasBeenSet =
false;
297 int m_dbNodeStorageSizeInGBs{0};
298 bool m_dbNodeStorageSizeInGBsHasBeenSet =
false;
300 DbServerPatchingDetails m_dbServerPatchingDetails;
301 bool m_dbServerPatchingDetailsHasBeenSet =
false;
304 bool m_displayNameHasBeenSet =
false;
307 bool m_exadataInfrastructureIdHasBeenSet =
false;
310 bool m_ocidHasBeenSet =
false;
313 bool m_ociResourceAnchorNameHasBeenSet =
false;
315 int m_maxCpuCount{0};
316 bool m_maxCpuCountHasBeenSet =
false;
318 int m_maxDbNodeStorageInGBs{0};
319 bool m_maxDbNodeStorageInGBsHasBeenSet =
false;
321 int m_maxMemoryInGBs{0};
322 bool m_maxMemoryInGBsHasBeenSet =
false;
324 int m_memorySizeInGBs{0};
325 bool m_memorySizeInGBsHasBeenSet =
false;
328 bool m_shapeHasBeenSet =
false;
331 bool m_createdAtHasBeenSet =
false;
334 bool m_vmClusterIdsHasBeenSet =
false;
337 bool m_computeModelHasBeenSet =
false;
340 bool m_autonomousVmClusterIdsHasBeenSet =
false;
343 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