/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the hardware of a database.See Also:
AWS
* API Reference
The number of vCPUs for the database.
*/ inline int GetCpuCount() const{ return m_cpuCount; } /** *The number of vCPUs for the database.
*/ inline bool CpuCountHasBeenSet() const { return m_cpuCountHasBeenSet; } /** *The number of vCPUs for the database.
*/ inline void SetCpuCount(int value) { m_cpuCountHasBeenSet = true; m_cpuCount = value; } /** *The number of vCPUs for the database.
*/ inline RelationalDatabaseHardware& WithCpuCount(int value) { SetCpuCount(value); return *this;} /** *The size of the disk for the database.
*/ inline int GetDiskSizeInGb() const{ return m_diskSizeInGb; } /** *The size of the disk for the database.
*/ inline bool DiskSizeInGbHasBeenSet() const { return m_diskSizeInGbHasBeenSet; } /** *The size of the disk for the database.
*/ inline void SetDiskSizeInGb(int value) { m_diskSizeInGbHasBeenSet = true; m_diskSizeInGb = value; } /** *The size of the disk for the database.
*/ inline RelationalDatabaseHardware& WithDiskSizeInGb(int value) { SetDiskSizeInGb(value); return *this;} /** *The amount of RAM in GB for the database.
*/ inline double GetRamSizeInGb() const{ return m_ramSizeInGb; } /** *The amount of RAM in GB for the database.
*/ inline bool RamSizeInGbHasBeenSet() const { return m_ramSizeInGbHasBeenSet; } /** *The amount of RAM in GB for the database.
*/ inline void SetRamSizeInGb(double value) { m_ramSizeInGbHasBeenSet = true; m_ramSizeInGb = value; } /** *The amount of RAM in GB for the database.
*/ inline RelationalDatabaseHardware& WithRamSizeInGb(double value) { SetRamSizeInGb(value); return *this;} private: int m_cpuCount; bool m_cpuCountHasBeenSet = false; int m_diskSizeInGb; bool m_diskSizeInGbHasBeenSet = false; double m_ramSizeInGb; bool m_ramSizeInGbHasBeenSet = false; }; } // namespace Model } // namespace Lightsail } // namespace Aws