AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RelationalDatabaseHardware.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Lightsail
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_LIGHTSAIL_API RelationalDatabaseHardware();
35 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline int GetCpuCount() const{ return m_cpuCount; }
43 inline bool CpuCountHasBeenSet() const { return m_cpuCountHasBeenSet; }
44 inline void SetCpuCount(int value) { m_cpuCountHasBeenSet = true; m_cpuCount = value; }
45 inline RelationalDatabaseHardware& WithCpuCount(int value) { SetCpuCount(value); return *this;}
47
49
52 inline int GetDiskSizeInGb() const{ return m_diskSizeInGb; }
53 inline bool DiskSizeInGbHasBeenSet() const { return m_diskSizeInGbHasBeenSet; }
54 inline void SetDiskSizeInGb(int value) { m_diskSizeInGbHasBeenSet = true; m_diskSizeInGb = value; }
55 inline RelationalDatabaseHardware& WithDiskSizeInGb(int value) { SetDiskSizeInGb(value); return *this;}
57
59
62 inline double GetRamSizeInGb() const{ return m_ramSizeInGb; }
63 inline bool RamSizeInGbHasBeenSet() const { return m_ramSizeInGbHasBeenSet; }
64 inline void SetRamSizeInGb(double value) { m_ramSizeInGbHasBeenSet = true; m_ramSizeInGb = value; }
65 inline RelationalDatabaseHardware& WithRamSizeInGb(double value) { SetRamSizeInGb(value); return *this;}
67 private:
68
69 int m_cpuCount;
70 bool m_cpuCountHasBeenSet = false;
71
72 int m_diskSizeInGb;
73 bool m_diskSizeInGbHasBeenSet = false;
74
75 double m_ramSizeInGb;
76 bool m_ramSizeInGbHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Lightsail
81} // namespace Aws
RelationalDatabaseHardware & WithDiskSizeInGb(int value)
RelationalDatabaseHardware & WithCpuCount(int value)
AWS_LIGHTSAIL_API RelationalDatabaseHardware & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
RelationalDatabaseHardware & WithRamSizeInGb(double value)
AWS_LIGHTSAIL_API RelationalDatabaseHardware(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue