AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
PendingModifiedValues.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/neptune/Neptune_EXPORTS.h>
10#include <aws/neptune/model/PendingCloudwatchLogsExports.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace Neptune {
21namespace Model {
22
30 public:
31 AWS_NEPTUNE_API PendingModifiedValues() = default;
32 AWS_NEPTUNE_API PendingModifiedValues(const Aws::Utils::Xml::XmlNode& xmlNode);
34
35 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
36 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
37
39
43 inline const Aws::String& GetDBInstanceClass() const { return m_dBInstanceClass; }
44 inline bool DBInstanceClassHasBeenSet() const { return m_dBInstanceClassHasBeenSet; }
45 template <typename DBInstanceClassT = Aws::String>
46 void SetDBInstanceClass(DBInstanceClassT&& value) {
47 m_dBInstanceClassHasBeenSet = true;
48 m_dBInstanceClass = std::forward<DBInstanceClassT>(value);
49 }
50 template <typename DBInstanceClassT = Aws::String>
51 PendingModifiedValues& WithDBInstanceClass(DBInstanceClassT&& value) {
52 SetDBInstanceClass(std::forward<DBInstanceClassT>(value));
53 return *this;
54 }
56
58
62 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
63 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
64 inline void SetAllocatedStorage(int value) {
65 m_allocatedStorageHasBeenSet = true;
66 m_allocatedStorage = value;
67 }
70 return *this;
71 }
73
75
78 inline const Aws::String& GetMasterUserPassword() const { return m_masterUserPassword; }
79 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
80 template <typename MasterUserPasswordT = Aws::String>
81 void SetMasterUserPassword(MasterUserPasswordT&& value) {
82 m_masterUserPasswordHasBeenSet = true;
83 m_masterUserPassword = std::forward<MasterUserPasswordT>(value);
84 }
85 template <typename MasterUserPasswordT = Aws::String>
86 PendingModifiedValues& WithMasterUserPassword(MasterUserPasswordT&& value) {
87 SetMasterUserPassword(std::forward<MasterUserPasswordT>(value));
88 return *this;
89 }
91
93
96 inline int GetPort() const { return m_port; }
97 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
98 inline void SetPort(int value) {
99 m_portHasBeenSet = true;
100 m_port = value;
101 }
102 inline PendingModifiedValues& WithPort(int value) {
103 SetPort(value);
104 return *this;
105 }
107
109
113 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
114 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
115 inline void SetBackupRetentionPeriod(int value) {
116 m_backupRetentionPeriodHasBeenSet = true;
117 m_backupRetentionPeriod = value;
118 }
121 return *this;
122 }
124
126
130 inline bool GetMultiAZ() const { return m_multiAZ; }
131 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
132 inline void SetMultiAZ(bool value) {
133 m_multiAZHasBeenSet = true;
134 m_multiAZ = value;
135 }
136 inline PendingModifiedValues& WithMultiAZ(bool value) {
137 SetMultiAZ(value);
138 return *this;
139 }
141
143
146 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
147 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
148 template <typename EngineVersionT = Aws::String>
149 void SetEngineVersion(EngineVersionT&& value) {
150 m_engineVersionHasBeenSet = true;
151 m_engineVersion = std::forward<EngineVersionT>(value);
152 }
153 template <typename EngineVersionT = Aws::String>
154 PendingModifiedValues& WithEngineVersion(EngineVersionT&& value) {
155 SetEngineVersion(std::forward<EngineVersionT>(value));
156 return *this;
157 }
159
161
164 inline const Aws::String& GetLicenseModel() const { return m_licenseModel; }
165 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
166 template <typename LicenseModelT = Aws::String>
167 void SetLicenseModel(LicenseModelT&& value) {
168 m_licenseModelHasBeenSet = true;
169 m_licenseModel = std::forward<LicenseModelT>(value);
170 }
171 template <typename LicenseModelT = Aws::String>
172 PendingModifiedValues& WithLicenseModel(LicenseModelT&& value) {
173 SetLicenseModel(std::forward<LicenseModelT>(value));
174 return *this;
175 }
177
179
183 inline int GetIops() const { return m_iops; }
184 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
185 inline void SetIops(int value) {
186 m_iopsHasBeenSet = true;
187 m_iops = value;
188 }
189 inline PendingModifiedValues& WithIops(int value) {
190 SetIops(value);
191 return *this;
192 }
194
196
200 inline const Aws::String& GetDBInstanceIdentifier() const { return m_dBInstanceIdentifier; }
201 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
202 template <typename DBInstanceIdentifierT = Aws::String>
203 void SetDBInstanceIdentifier(DBInstanceIdentifierT&& value) {
204 m_dBInstanceIdentifierHasBeenSet = true;
205 m_dBInstanceIdentifier = std::forward<DBInstanceIdentifierT>(value);
206 }
207 template <typename DBInstanceIdentifierT = Aws::String>
208 PendingModifiedValues& WithDBInstanceIdentifier(DBInstanceIdentifierT&& value) {
209 SetDBInstanceIdentifier(std::forward<DBInstanceIdentifierT>(value));
210 return *this;
211 }
213
215
219 inline const Aws::String& GetStorageType() const { return m_storageType; }
220 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
221 template <typename StorageTypeT = Aws::String>
222 void SetStorageType(StorageTypeT&& value) {
223 m_storageTypeHasBeenSet = true;
224 m_storageType = std::forward<StorageTypeT>(value);
225 }
226 template <typename StorageTypeT = Aws::String>
227 PendingModifiedValues& WithStorageType(StorageTypeT&& value) {
228 SetStorageType(std::forward<StorageTypeT>(value));
229 return *this;
230 }
232
234
237 inline const Aws::String& GetCACertificateIdentifier() const { return m_cACertificateIdentifier; }
238 inline bool CACertificateIdentifierHasBeenSet() const { return m_cACertificateIdentifierHasBeenSet; }
239 template <typename CACertificateIdentifierT = Aws::String>
240 void SetCACertificateIdentifier(CACertificateIdentifierT&& value) {
241 m_cACertificateIdentifierHasBeenSet = true;
242 m_cACertificateIdentifier = std::forward<CACertificateIdentifierT>(value);
243 }
244 template <typename CACertificateIdentifierT = Aws::String>
245 PendingModifiedValues& WithCACertificateIdentifier(CACertificateIdentifierT&& value) {
246 SetCACertificateIdentifier(std::forward<CACertificateIdentifierT>(value));
247 return *this;
248 }
250
252
255 inline const Aws::String& GetDBSubnetGroupName() const { return m_dBSubnetGroupName; }
256 inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
257 template <typename DBSubnetGroupNameT = Aws::String>
258 void SetDBSubnetGroupName(DBSubnetGroupNameT&& value) {
259 m_dBSubnetGroupNameHasBeenSet = true;
260 m_dBSubnetGroupName = std::forward<DBSubnetGroupNameT>(value);
261 }
262 template <typename DBSubnetGroupNameT = Aws::String>
263 PendingModifiedValues& WithDBSubnetGroupName(DBSubnetGroupNameT&& value) {
264 SetDBSubnetGroupName(std::forward<DBSubnetGroupNameT>(value));
265 return *this;
266 }
268
270
274 inline const PendingCloudwatchLogsExports& GetPendingCloudwatchLogsExports() const { return m_pendingCloudwatchLogsExports; }
275 inline bool PendingCloudwatchLogsExportsHasBeenSet() const { return m_pendingCloudwatchLogsExportsHasBeenSet; }
276 template <typename PendingCloudwatchLogsExportsT = PendingCloudwatchLogsExports>
277 void SetPendingCloudwatchLogsExports(PendingCloudwatchLogsExportsT&& value) {
278 m_pendingCloudwatchLogsExportsHasBeenSet = true;
279 m_pendingCloudwatchLogsExports = std::forward<PendingCloudwatchLogsExportsT>(value);
280 }
281 template <typename PendingCloudwatchLogsExportsT = PendingCloudwatchLogsExports>
282 PendingModifiedValues& WithPendingCloudwatchLogsExports(PendingCloudwatchLogsExportsT&& value) {
283 SetPendingCloudwatchLogsExports(std::forward<PendingCloudwatchLogsExportsT>(value));
284 return *this;
285 }
287 private:
288 Aws::String m_dBInstanceClass;
289 bool m_dBInstanceClassHasBeenSet = false;
290
291 int m_allocatedStorage{0};
292 bool m_allocatedStorageHasBeenSet = false;
293
294 Aws::String m_masterUserPassword;
295 bool m_masterUserPasswordHasBeenSet = false;
296
297 int m_port{0};
298 bool m_portHasBeenSet = false;
299
300 int m_backupRetentionPeriod{0};
301 bool m_backupRetentionPeriodHasBeenSet = false;
302
303 bool m_multiAZ{false};
304 bool m_multiAZHasBeenSet = false;
305
306 Aws::String m_engineVersion;
307 bool m_engineVersionHasBeenSet = false;
308
309 Aws::String m_licenseModel;
310 bool m_licenseModelHasBeenSet = false;
311
312 int m_iops{0};
313 bool m_iopsHasBeenSet = false;
314
315 Aws::String m_dBInstanceIdentifier;
316 bool m_dBInstanceIdentifierHasBeenSet = false;
317
318 Aws::String m_storageType;
319 bool m_storageTypeHasBeenSet = false;
320
321 Aws::String m_cACertificateIdentifier;
322 bool m_cACertificateIdentifierHasBeenSet = false;
323
324 Aws::String m_dBSubnetGroupName;
325 bool m_dBSubnetGroupNameHasBeenSet = false;
326
327 PendingCloudwatchLogsExports m_pendingCloudwatchLogsExports;
328 bool m_pendingCloudwatchLogsExportsHasBeenSet = false;
329};
330
331} // namespace Model
332} // namespace Neptune
333} // namespace Aws
PendingModifiedValues & WithPort(int value)
AWS_NEPTUNE_API PendingModifiedValues()=default
PendingModifiedValues & WithDBInstanceIdentifier(DBInstanceIdentifierT &&value)
const PendingCloudwatchLogsExports & GetPendingCloudwatchLogsExports() const
PendingModifiedValues & WithEngineVersion(EngineVersionT &&value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetPendingCloudwatchLogsExports(PendingCloudwatchLogsExportsT &&value)
PendingModifiedValues & WithCACertificateIdentifier(CACertificateIdentifierT &&value)
PendingModifiedValues & WithBackupRetentionPeriod(int value)
PendingModifiedValues & WithPendingCloudwatchLogsExports(PendingCloudwatchLogsExportsT &&value)
void SetMasterUserPassword(MasterUserPasswordT &&value)
PendingModifiedValues & WithDBInstanceClass(DBInstanceClassT &&value)
PendingModifiedValues & WithMultiAZ(bool value)
AWS_NEPTUNE_API PendingModifiedValues(const Aws::Utils::Xml::XmlNode &xmlNode)
PendingModifiedValues & WithMasterUserPassword(MasterUserPasswordT &&value)
PendingModifiedValues & WithStorageType(StorageTypeT &&value)
AWS_NEPTUNE_API PendingModifiedValues & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDBSubnetGroupName(DBSubnetGroupNameT &&value)
void SetDBInstanceIdentifier(DBInstanceIdentifierT &&value)
void SetDBInstanceClass(DBInstanceClassT &&value)
PendingModifiedValues & WithLicenseModel(LicenseModelT &&value)
const Aws::String & GetCACertificateIdentifier() const
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetCACertificateIdentifier(CACertificateIdentifierT &&value)
PendingModifiedValues & WithIops(int value)
PendingModifiedValues & WithAllocatedStorage(int value)
PendingModifiedValues & WithDBSubnetGroupName(DBSubnetGroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream