AWS SDK for C++  1.9.129
AWS SDK for C++
RelationalDatabaseHardware.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace Lightsail
20 {
21 namespace Model
22 {
23 
30  {
31  public:
36 
37 
41  inline int GetCpuCount() const{ return m_cpuCount; }
42 
46  inline bool CpuCountHasBeenSet() const { return m_cpuCountHasBeenSet; }
47 
51  inline void SetCpuCount(int value) { m_cpuCountHasBeenSet = true; m_cpuCount = value; }
52 
56  inline RelationalDatabaseHardware& WithCpuCount(int value) { SetCpuCount(value); return *this;}
57 
58 
62  inline int GetDiskSizeInGb() const{ return m_diskSizeInGb; }
63 
67  inline bool DiskSizeInGbHasBeenSet() const { return m_diskSizeInGbHasBeenSet; }
68 
72  inline void SetDiskSizeInGb(int value) { m_diskSizeInGbHasBeenSet = true; m_diskSizeInGb = value; }
73 
77  inline RelationalDatabaseHardware& WithDiskSizeInGb(int value) { SetDiskSizeInGb(value); return *this;}
78 
79 
83  inline double GetRamSizeInGb() const{ return m_ramSizeInGb; }
84 
88  inline bool RamSizeInGbHasBeenSet() const { return m_ramSizeInGbHasBeenSet; }
89 
93  inline void SetRamSizeInGb(double value) { m_ramSizeInGbHasBeenSet = true; m_ramSizeInGb = value; }
94 
98  inline RelationalDatabaseHardware& WithRamSizeInGb(double value) { SetRamSizeInGb(value); return *this;}
99 
100  private:
101 
102  int m_cpuCount;
103  bool m_cpuCountHasBeenSet;
104 
105  int m_diskSizeInGb;
106  bool m_diskSizeInGbHasBeenSet;
107 
108  double m_ramSizeInGb;
109  bool m_ramSizeInGbHasBeenSet;
110  };
111 
112 } // namespace Model
113 } // namespace Lightsail
114 } // namespace Aws
Aws::Lightsail::Model::RelationalDatabaseHardware::CpuCountHasBeenSet
bool CpuCountHasBeenSet() const
Definition: RelationalDatabaseHardware.h:46
Aws::Lightsail::Model::RelationalDatabaseHardware::SetCpuCount
void SetCpuCount(int value)
Definition: RelationalDatabaseHardware.h:51
Aws::Lightsail::Model::RelationalDatabaseHardware::RelationalDatabaseHardware
RelationalDatabaseHardware()
Aws::Lightsail::Model::RelationalDatabaseHardware::GetRamSizeInGb
double GetRamSizeInGb() const
Definition: RelationalDatabaseHardware.h:83
Aws::Lightsail::Model::RelationalDatabaseHardware::RamSizeInGbHasBeenSet
bool RamSizeInGbHasBeenSet() const
Definition: RelationalDatabaseHardware.h:88
Aws::Lightsail::Model::RelationalDatabaseHardware::GetCpuCount
int GetCpuCount() const
Definition: RelationalDatabaseHardware.h:41
Aws::Lightsail::Model::RelationalDatabaseHardware::SetDiskSizeInGb
void SetDiskSizeInGb(int value)
Definition: RelationalDatabaseHardware.h:72
Aws::Lightsail::Model::RelationalDatabaseHardware::DiskSizeInGbHasBeenSet
bool DiskSizeInGbHasBeenSet() const
Definition: RelationalDatabaseHardware.h:67
Aws::Lightsail::Model::RelationalDatabaseHardware::WithDiskSizeInGb
RelationalDatabaseHardware & WithDiskSizeInGb(int value)
Definition: RelationalDatabaseHardware.h:77
Aws::Lightsail::Model::RelationalDatabaseHardware::WithCpuCount
RelationalDatabaseHardware & WithCpuCount(int value)
Definition: RelationalDatabaseHardware.h:56
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Lightsail_EXPORTS.h
Aws::Lightsail::Model::RelationalDatabaseHardware::operator=
RelationalDatabaseHardware & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::RelationalDatabaseHardware::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lightsail::Model::RelationalDatabaseHardware::RelationalDatabaseHardware
RelationalDatabaseHardware(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::RelationalDatabaseHardware::WithRamSizeInGb
RelationalDatabaseHardware & WithRamSizeInGb(double value)
Definition: RelationalDatabaseHardware.h:98
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::RelationalDatabaseHardware
Definition: RelationalDatabaseHardware.h:30
Aws::Lightsail::Model::RelationalDatabaseHardware::GetDiskSizeInGb
int GetDiskSizeInGb() const
Definition: RelationalDatabaseHardware.h:62
Aws::Lightsail::Model::RelationalDatabaseHardware::SetRamSizeInGb
void SetRamSizeInGb(double value)
Definition: RelationalDatabaseHardware.h:93