AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEngineEdition(const Aws::String& value) { m_engineEditionHasBeenSet = true; m_engineEdition = value; }
48 inline void SetEngineEdition(Aws::String&& value) { m_engineEditionHasBeenSet = true; m_engineEdition = std::move(value); }
49 inline void SetEngineEdition(const char* value) { m_engineEditionHasBeenSet = true; m_engineEdition.assign(value); }
50 inline RdsConfiguration& WithEngineEdition(const Aws::String& value) { SetEngineEdition(value); return *this;}
51 inline RdsConfiguration& WithEngineEdition(Aws::String&& value) { SetEngineEdition(std::move(value)); return *this;}
52 inline RdsConfiguration& WithEngineEdition(const char* value) { SetEngineEdition(value); return *this;}
54
56
59 inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
60 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
61 inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
62 inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
63 inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
64 inline RdsConfiguration& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
65 inline RdsConfiguration& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
66 inline RdsConfiguration& WithInstanceType(const char* value) { SetInstanceType(value); return *this;}
68
70
74 inline double GetInstanceVcpu() const{ return m_instanceVcpu; }
75 inline bool InstanceVcpuHasBeenSet() const { return m_instanceVcpuHasBeenSet; }
76 inline void SetInstanceVcpu(double value) { m_instanceVcpuHasBeenSet = true; m_instanceVcpu = value; }
77 inline RdsConfiguration& WithInstanceVcpu(double value) { SetInstanceVcpu(value); return *this;}
79
81
85 inline double GetInstanceMemory() const{ return m_instanceMemory; }
86 inline bool InstanceMemoryHasBeenSet() const { return m_instanceMemoryHasBeenSet; }
87 inline void SetInstanceMemory(double value) { m_instanceMemoryHasBeenSet = true; m_instanceMemory = value; }
88 inline RdsConfiguration& WithInstanceMemory(double value) { SetInstanceMemory(value); return *this;}
90
92
98 inline const Aws::String& GetStorageType() const{ return m_storageType; }
99 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
100 inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
101 inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
102 inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); }
103 inline RdsConfiguration& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;}
104 inline RdsConfiguration& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;}
105 inline RdsConfiguration& WithStorageType(const char* value) { SetStorageType(value); return *this;}
107
109
113 inline int GetStorageSize() const{ return m_storageSize; }
114 inline bool StorageSizeHasBeenSet() const { return m_storageSizeHasBeenSet; }
115 inline void SetStorageSize(int value) { m_storageSizeHasBeenSet = true; m_storageSize = value; }
116 inline RdsConfiguration& WithStorageSize(int value) { SetStorageSize(value); return *this;}
118
120
124 inline int GetStorageIops() const{ return m_storageIops; }
125 inline bool StorageIopsHasBeenSet() const { return m_storageIopsHasBeenSet; }
126 inline void SetStorageIops(int value) { m_storageIopsHasBeenSet = true; m_storageIops = value; }
127 inline RdsConfiguration& WithStorageIops(int value) { SetStorageIops(value); return *this;}
129
131
136 inline const Aws::String& GetDeploymentOption() const{ return m_deploymentOption; }
137 inline bool DeploymentOptionHasBeenSet() const { return m_deploymentOptionHasBeenSet; }
138 inline void SetDeploymentOption(const Aws::String& value) { m_deploymentOptionHasBeenSet = true; m_deploymentOption = value; }
139 inline void SetDeploymentOption(Aws::String&& value) { m_deploymentOptionHasBeenSet = true; m_deploymentOption = std::move(value); }
140 inline void SetDeploymentOption(const char* value) { m_deploymentOptionHasBeenSet = true; m_deploymentOption.assign(value); }
141 inline RdsConfiguration& WithDeploymentOption(const Aws::String& value) { SetDeploymentOption(value); return *this;}
142 inline RdsConfiguration& WithDeploymentOption(Aws::String&& value) { SetDeploymentOption(std::move(value)); return *this;}
143 inline RdsConfiguration& WithDeploymentOption(const char* value) { SetDeploymentOption(value); return *this;}
145
147
150 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
151 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
152 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
153 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
154 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
155 inline RdsConfiguration& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
156 inline RdsConfiguration& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
157 inline RdsConfiguration& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
159 private:
160
161 Aws::String m_engineEdition;
162 bool m_engineEditionHasBeenSet = false;
163
164 Aws::String m_instanceType;
165 bool m_instanceTypeHasBeenSet = false;
166
167 double m_instanceVcpu;
168 bool m_instanceVcpuHasBeenSet = false;
169
170 double m_instanceMemory;
171 bool m_instanceMemoryHasBeenSet = false;
172
173 Aws::String m_storageType;
174 bool m_storageTypeHasBeenSet = false;
175
176 int m_storageSize;
177 bool m_storageSizeHasBeenSet = false;
178
179 int m_storageIops;
180 bool m_storageIopsHasBeenSet = false;
181
182 Aws::String m_deploymentOption;
183 bool m_deploymentOptionHasBeenSet = false;
184
185 Aws::String m_engineVersion;
186 bool m_engineVersionHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace DatabaseMigrationService
191} // namespace Aws
RdsConfiguration & WithEngineVersion(const char *value)
RdsConfiguration & WithDeploymentOption(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API RdsConfiguration(Aws::Utils::Json::JsonView jsonValue)
RdsConfiguration & WithStorageType(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API RdsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RdsConfiguration & WithStorageType(Aws::String &&value)
RdsConfiguration & WithInstanceType(const char *value)
RdsConfiguration & WithEngineEdition(const char *value)
RdsConfiguration & WithEngineVersion(Aws::String &&value)
RdsConfiguration & WithStorageType(const Aws::String &value)
RdsConfiguration & WithInstanceType(const Aws::String &value)
RdsConfiguration & WithDeploymentOption(Aws::String &&value)
RdsConfiguration & WithEngineVersion(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API RdsConfiguration()
RdsConfiguration & WithEngineEdition(Aws::String &&value)
RdsConfiguration & WithDeploymentOption(const char *value)
RdsConfiguration & WithEngineEdition(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
RdsConfiguration & WithInstanceType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue