AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RdsConfiguration.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DatabaseMigrationService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DATABASEMIGRATIONSERVICE_API RdsConfiguration() = default;
36 AWS_DATABASEMIGRATIONSERVICE_API RdsConfiguration(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATABASEMIGRATIONSERVICE_API RdsConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetEngineEdition() const { return m_engineEdition; }
46 inline bool EngineEditionHasBeenSet() const { return m_engineEditionHasBeenSet; }
47 template<typename EngineEditionT = Aws::String>
48 void SetEngineEdition(EngineEditionT&& value) { m_engineEditionHasBeenSet = true; m_engineEdition = std::forward<EngineEditionT>(value); }
49 template<typename EngineEditionT = Aws::String>
50 RdsConfiguration& WithEngineEdition(EngineEditionT&& value) { SetEngineEdition(std::forward<EngineEditionT>(value)); return *this;}
52
54
57 inline const Aws::String& GetInstanceType() const { return m_instanceType; }
58 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
59 template<typename InstanceTypeT = Aws::String>
60 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::forward<InstanceTypeT>(value); }
61 template<typename InstanceTypeT = Aws::String>
62 RdsConfiguration& WithInstanceType(InstanceTypeT&& value) { SetInstanceType(std::forward<InstanceTypeT>(value)); return *this;}
64
66
70 inline double GetInstanceVcpu() const { return m_instanceVcpu; }
71 inline bool InstanceVcpuHasBeenSet() const { return m_instanceVcpuHasBeenSet; }
72 inline void SetInstanceVcpu(double value) { m_instanceVcpuHasBeenSet = true; m_instanceVcpu = value; }
73 inline RdsConfiguration& WithInstanceVcpu(double value) { SetInstanceVcpu(value); return *this;}
75
77
81 inline double GetInstanceMemory() const { return m_instanceMemory; }
82 inline bool InstanceMemoryHasBeenSet() const { return m_instanceMemoryHasBeenSet; }
83 inline void SetInstanceMemory(double value) { m_instanceMemoryHasBeenSet = true; m_instanceMemory = value; }
84 inline RdsConfiguration& WithInstanceMemory(double value) { SetInstanceMemory(value); return *this;}
86
88
94 inline const Aws::String& GetStorageType() const { return m_storageType; }
95 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
96 template<typename StorageTypeT = Aws::String>
97 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::forward<StorageTypeT>(value); }
98 template<typename StorageTypeT = Aws::String>
99 RdsConfiguration& WithStorageType(StorageTypeT&& value) { SetStorageType(std::forward<StorageTypeT>(value)); return *this;}
101
103
107 inline int GetStorageSize() const { return m_storageSize; }
108 inline bool StorageSizeHasBeenSet() const { return m_storageSizeHasBeenSet; }
109 inline void SetStorageSize(int value) { m_storageSizeHasBeenSet = true; m_storageSize = value; }
110 inline RdsConfiguration& WithStorageSize(int value) { SetStorageSize(value); return *this;}
112
114
118 inline int GetStorageIops() const { return m_storageIops; }
119 inline bool StorageIopsHasBeenSet() const { return m_storageIopsHasBeenSet; }
120 inline void SetStorageIops(int value) { m_storageIopsHasBeenSet = true; m_storageIops = value; }
121 inline RdsConfiguration& WithStorageIops(int value) { SetStorageIops(value); return *this;}
123
125
130 inline const Aws::String& GetDeploymentOption() const { return m_deploymentOption; }
131 inline bool DeploymentOptionHasBeenSet() const { return m_deploymentOptionHasBeenSet; }
132 template<typename DeploymentOptionT = Aws::String>
133 void SetDeploymentOption(DeploymentOptionT&& value) { m_deploymentOptionHasBeenSet = true; m_deploymentOption = std::forward<DeploymentOptionT>(value); }
134 template<typename DeploymentOptionT = Aws::String>
135 RdsConfiguration& WithDeploymentOption(DeploymentOptionT&& value) { SetDeploymentOption(std::forward<DeploymentOptionT>(value)); return *this;}
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) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
146 template<typename EngineVersionT = Aws::String>
147 RdsConfiguration& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
149 private:
150
151 Aws::String m_engineEdition;
152 bool m_engineEditionHasBeenSet = false;
153
154 Aws::String m_instanceType;
155 bool m_instanceTypeHasBeenSet = false;
156
157 double m_instanceVcpu{0.0};
158 bool m_instanceVcpuHasBeenSet = false;
159
160 double m_instanceMemory{0.0};
161 bool m_instanceMemoryHasBeenSet = false;
162
163 Aws::String m_storageType;
164 bool m_storageTypeHasBeenSet = false;
165
166 int m_storageSize{0};
167 bool m_storageSizeHasBeenSet = false;
168
169 int m_storageIops{0};
170 bool m_storageIopsHasBeenSet = false;
171
172 Aws::String m_deploymentOption;
173 bool m_deploymentOptionHasBeenSet = false;
174
175 Aws::String m_engineVersion;
176 bool m_engineVersionHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace DatabaseMigrationService
181} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API RdsConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API RdsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RdsConfiguration & WithEngineVersion(EngineVersionT &&value)
RdsConfiguration & WithStorageType(StorageTypeT &&value)
AWS_DATABASEMIGRATIONSERVICE_API RdsConfiguration()=default
RdsConfiguration & WithEngineEdition(EngineEditionT &&value)
RdsConfiguration & WithInstanceType(InstanceTypeT &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
RdsConfiguration & WithDeploymentOption(DeploymentOptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue