AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
RdsRequirements.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DatabaseMigrationService {
20namespace Model {
21
29 public:
30 AWS_DATABASEMIGRATIONSERVICE_API RdsRequirements() = default;
31 AWS_DATABASEMIGRATIONSERVICE_API RdsRequirements(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DATABASEMIGRATIONSERVICE_API RdsRequirements& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetEngineEdition() const { return m_engineEdition; }
40 inline bool EngineEditionHasBeenSet() const { return m_engineEditionHasBeenSet; }
41 template <typename EngineEditionT = Aws::String>
42 void SetEngineEdition(EngineEditionT&& value) {
43 m_engineEditionHasBeenSet = true;
44 m_engineEdition = std::forward<EngineEditionT>(value);
45 }
46 template <typename EngineEditionT = Aws::String>
47 RdsRequirements& WithEngineEdition(EngineEditionT&& value) {
48 SetEngineEdition(std::forward<EngineEditionT>(value));
49 return *this;
50 }
52
54
57 inline double GetInstanceVcpu() const { return m_instanceVcpu; }
58 inline bool InstanceVcpuHasBeenSet() const { return m_instanceVcpuHasBeenSet; }
59 inline void SetInstanceVcpu(double value) {
60 m_instanceVcpuHasBeenSet = true;
61 m_instanceVcpu = value;
62 }
63 inline RdsRequirements& WithInstanceVcpu(double value) {
64 SetInstanceVcpu(value);
65 return *this;
66 }
68
70
73 inline double GetInstanceMemory() const { return m_instanceMemory; }
74 inline bool InstanceMemoryHasBeenSet() const { return m_instanceMemoryHasBeenSet; }
75 inline void SetInstanceMemory(double value) {
76 m_instanceMemoryHasBeenSet = true;
77 m_instanceMemory = value;
78 }
79 inline RdsRequirements& WithInstanceMemory(double value) {
80 SetInstanceMemory(value);
81 return *this;
82 }
84
86
89 inline int GetStorageSize() const { return m_storageSize; }
90 inline bool StorageSizeHasBeenSet() const { return m_storageSizeHasBeenSet; }
91 inline void SetStorageSize(int value) {
92 m_storageSizeHasBeenSet = true;
93 m_storageSize = value;
94 }
95 inline RdsRequirements& WithStorageSize(int value) {
96 SetStorageSize(value);
97 return *this;
98 }
100
102
106 inline int GetStorageIops() const { return m_storageIops; }
107 inline bool StorageIopsHasBeenSet() const { return m_storageIopsHasBeenSet; }
108 inline void SetStorageIops(int value) {
109 m_storageIopsHasBeenSet = true;
110 m_storageIops = value;
111 }
112 inline RdsRequirements& WithStorageIops(int value) {
113 SetStorageIops(value);
114 return *this;
115 }
117
119
124 inline const Aws::String& GetDeploymentOption() const { return m_deploymentOption; }
125 inline bool DeploymentOptionHasBeenSet() const { return m_deploymentOptionHasBeenSet; }
126 template <typename DeploymentOptionT = Aws::String>
127 void SetDeploymentOption(DeploymentOptionT&& value) {
128 m_deploymentOptionHasBeenSet = true;
129 m_deploymentOption = std::forward<DeploymentOptionT>(value);
130 }
131 template <typename DeploymentOptionT = Aws::String>
132 RdsRequirements& WithDeploymentOption(DeploymentOptionT&& value) {
133 SetDeploymentOption(std::forward<DeploymentOptionT>(value));
134 return *this;
135 }
137
139
142 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
143 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
144 template <typename EngineVersionT = Aws::String>
145 void SetEngineVersion(EngineVersionT&& value) {
146 m_engineVersionHasBeenSet = true;
147 m_engineVersion = std::forward<EngineVersionT>(value);
148 }
149 template <typename EngineVersionT = Aws::String>
150 RdsRequirements& WithEngineVersion(EngineVersionT&& value) {
151 SetEngineVersion(std::forward<EngineVersionT>(value));
152 return *this;
153 }
155 private:
156 Aws::String m_engineEdition;
157
158 double m_instanceVcpu{0.0};
159
160 double m_instanceMemory{0.0};
161
162 int m_storageSize{0};
163
164 int m_storageIops{0};
165
166 Aws::String m_deploymentOption;
167
168 Aws::String m_engineVersion;
169 bool m_engineEditionHasBeenSet = false;
170 bool m_instanceVcpuHasBeenSet = false;
171 bool m_instanceMemoryHasBeenSet = false;
172 bool m_storageSizeHasBeenSet = false;
173 bool m_storageIopsHasBeenSet = false;
174 bool m_deploymentOptionHasBeenSet = false;
175 bool m_engineVersionHasBeenSet = false;
176};
177
178} // namespace Model
179} // namespace DatabaseMigrationService
180} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
RdsRequirements & WithEngineEdition(EngineEditionT &&value)
RdsRequirements & WithDeploymentOption(DeploymentOptionT &&value)
AWS_DATABASEMIGRATIONSERVICE_API RdsRequirements()=default
RdsRequirements & WithEngineVersion(EngineVersionT &&value)
AWS_DATABASEMIGRATIONSERVICE_API RdsRequirements(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API RdsRequirements & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue