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; }
106 template<
typename DbServerPatchingDetailsT = DbServerPatchingDetails>
107 void SetDbServerPatchingDetails(DbServerPatchingDetailsT&& value) { m_dbServerPatchingDetailsHasBeenSet =
true; m_dbServerPatchingDetails = std::forward<DbServerPatchingDetailsT>(value); }
108 template<
typename DbServerPatchingDetailsT = DbServerPatchingDetails>
118 template<
typename DisplayNameT = Aws::String>
119 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
120 template<
typename DisplayNameT = Aws::String>
130 template<
typename ExadataInfrastructureIdT = Aws::String>
131 void SetExadataInfrastructureId(ExadataInfrastructureIdT&& value) { m_exadataInfrastructureIdHasBeenSet =
true; m_exadataInfrastructureId = std::forward<ExadataInfrastructureIdT>(value); }
132 template<
typename ExadataInfrastructureIdT = Aws::String>
142 template<
typename Oc
idT = Aws::String>
143 void SetOcid(OcidT&& value) { m_ocidHasBeenSet =
true; m_ocid = std::forward<OcidT>(value); }
144 template<
typename Oc
idT = Aws::String>
154 template<
typename OciResourceAnchorNameT = Aws::String>
155 void SetOciResourceAnchorName(OciResourceAnchorNameT&& value) { m_ociResourceAnchorNameHasBeenSet =
true; m_ociResourceAnchorName = std::forward<OciResourceAnchorNameT>(value); }
156 template<
typename OciResourceAnchorNameT = Aws::String>
166 inline void SetMaxCpuCount(
int value) { m_maxCpuCountHasBeenSet =
true; m_maxCpuCount = value; }
186 inline void SetMaxMemoryInGBs(
int value) { m_maxMemoryInGBsHasBeenSet =
true; m_maxMemoryInGBs = value; }
196 inline void SetMemorySizeInGBs(
int value) { m_memorySizeInGBsHasBeenSet =
true; m_memorySizeInGBs = value; }
207 template<
typename ShapeT = Aws::String>
208 void SetShape(ShapeT&& value) { m_shapeHasBeenSet =
true; m_shape = std::forward<ShapeT>(value); }
209 template<
typename ShapeT = Aws::String>
219 template<
typename CreatedAtT = Aws::Utils::DateTime>
220 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
221 template<
typename CreatedAtT = Aws::Utils::DateTime>
231 template<
typename VmClusterIdsT = Aws::Vector<Aws::String>>
232 void SetVmClusterIds(VmClusterIdsT&& value) { m_vmClusterIdsHasBeenSet =
true; m_vmClusterIds = std::forward<VmClusterIdsT>(value); }
233 template<
typename VmClusterIdsT = Aws::Vector<Aws::String>>
235 template<
typename VmClusterIdsT = Aws::String>
236 DbServer&
AddVmClusterIds(VmClusterIdsT&& value) { m_vmClusterIdsHasBeenSet =
true; m_vmClusterIds.emplace_back(std::forward<VmClusterIdsT>(value));
return *
this; }
256 template<
typename AutonomousVmClusterIdsT = Aws::Vector<Aws::String>>
257 void SetAutonomousVmClusterIds(AutonomousVmClusterIdsT&& value) { m_autonomousVmClusterIdsHasBeenSet =
true; m_autonomousVmClusterIds = std::forward<AutonomousVmClusterIdsT>(value); }
258 template<
typename AutonomousVmClusterIdsT = Aws::Vector<Aws::String>>
260 template<
typename AutonomousVmClusterIdsT = Aws::String>
261 DbServer&
AddAutonomousVmClusterIds(AutonomousVmClusterIdsT&& value) { m_autonomousVmClusterIdsHasBeenSet =
true; m_autonomousVmClusterIds.emplace_back(std::forward<AutonomousVmClusterIdsT>(value));
return *
this; }
271 template<
typename AutonomousVirtualMachineIdsT = Aws::Vector<Aws::String>>
272 void SetAutonomousVirtualMachineIds(AutonomousVirtualMachineIdsT&& value) { m_autonomousVirtualMachineIdsHasBeenSet =
true; m_autonomousVirtualMachineIds = std::forward<AutonomousVirtualMachineIdsT>(value); }
273 template<
typename AutonomousVirtualMachineIdsT = Aws::Vector<Aws::String>>
275 template<
typename AutonomousVirtualMachineIdsT = Aws::String>
276 DbServer&
AddAutonomousVirtualMachineIds(AutonomousVirtualMachineIdsT&& value) { m_autonomousVirtualMachineIdsHasBeenSet =
true; m_autonomousVirtualMachineIds.emplace_back(std::forward<AutonomousVirtualMachineIdsT>(value));
return *
this; }
281 bool m_dbServerIdHasBeenSet =
false;
284 bool m_statusHasBeenSet =
false;
287 bool m_statusReasonHasBeenSet =
false;
289 int m_cpuCoreCount{0};
290 bool m_cpuCoreCountHasBeenSet =
false;
292 int m_dbNodeStorageSizeInGBs{0};
293 bool m_dbNodeStorageSizeInGBsHasBeenSet =
false;
295 DbServerPatchingDetails m_dbServerPatchingDetails;
296 bool m_dbServerPatchingDetailsHasBeenSet =
false;
299 bool m_displayNameHasBeenSet =
false;
302 bool m_exadataInfrastructureIdHasBeenSet =
false;
305 bool m_ocidHasBeenSet =
false;
308 bool m_ociResourceAnchorNameHasBeenSet =
false;
310 int m_maxCpuCount{0};
311 bool m_maxCpuCountHasBeenSet =
false;
313 int m_maxDbNodeStorageInGBs{0};
314 bool m_maxDbNodeStorageInGBsHasBeenSet =
false;
316 int m_maxMemoryInGBs{0};
317 bool m_maxMemoryInGBsHasBeenSet =
false;
319 int m_memorySizeInGBs{0};
320 bool m_memorySizeInGBsHasBeenSet =
false;
323 bool m_shapeHasBeenSet =
false;
326 bool m_createdAtHasBeenSet =
false;
329 bool m_vmClusterIdsHasBeenSet =
false;
332 bool m_computeModelHasBeenSet =
false;
335 bool m_autonomousVmClusterIdsHasBeenSet =
false;
338 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