AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PendingModifiedValues.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rds/model/PendingCloudwatchLogsExports.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/rds/model/AutomationMode.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/rds/model/ProcessorFeature.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Xml
22{
23 class XmlNode;
24} // namespace Xml
25} // namespace Utils
26namespace RDS
27{
28namespace Model
29{
30
39 {
40 public:
41 AWS_RDS_API PendingModifiedValues();
44
45 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
47
48
50
53 inline const Aws::String& GetDBInstanceClass() const{ return m_dBInstanceClass; }
54 inline bool DBInstanceClassHasBeenSet() const { return m_dBInstanceClassHasBeenSet; }
55 inline void SetDBInstanceClass(const Aws::String& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = value; }
56 inline void SetDBInstanceClass(Aws::String&& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = std::move(value); }
57 inline void SetDBInstanceClass(const char* value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass.assign(value); }
58 inline PendingModifiedValues& WithDBInstanceClass(const Aws::String& value) { SetDBInstanceClass(value); return *this;}
59 inline PendingModifiedValues& WithDBInstanceClass(Aws::String&& value) { SetDBInstanceClass(std::move(value)); return *this;}
60 inline PendingModifiedValues& WithDBInstanceClass(const char* value) { SetDBInstanceClass(value); return *this;}
62
64
68 inline int GetAllocatedStorage() const{ return m_allocatedStorage; }
69 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
70 inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; }
71 inline PendingModifiedValues& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;}
73
75
78 inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; }
79 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
80 inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; }
81 inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); }
82 inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); }
84 inline PendingModifiedValues& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;}
85 inline PendingModifiedValues& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;}
87
89
92 inline int GetPort() const{ return m_port; }
93 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
94 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
95 inline PendingModifiedValues& WithPort(int value) { SetPort(value); return *this;}
97
99
102 inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; }
103 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
104 inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; }
107
109
113 inline bool GetMultiAZ() const{ return m_multiAZ; }
114 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
115 inline void SetMultiAZ(bool value) { m_multiAZHasBeenSet = true; m_multiAZ = value; }
116 inline PendingModifiedValues& WithMultiAZ(bool value) { SetMultiAZ(value); return *this;}
118
120
123 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
124 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
125 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
126 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
127 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
128 inline PendingModifiedValues& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
129 inline PendingModifiedValues& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
130 inline PendingModifiedValues& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
132
134
139 inline const Aws::String& GetLicenseModel() const{ return m_licenseModel; }
140 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
141 inline void SetLicenseModel(const Aws::String& value) { m_licenseModelHasBeenSet = true; m_licenseModel = value; }
142 inline void SetLicenseModel(Aws::String&& value) { m_licenseModelHasBeenSet = true; m_licenseModel = std::move(value); }
143 inline void SetLicenseModel(const char* value) { m_licenseModelHasBeenSet = true; m_licenseModel.assign(value); }
144 inline PendingModifiedValues& WithLicenseModel(const Aws::String& value) { SetLicenseModel(value); return *this;}
145 inline PendingModifiedValues& WithLicenseModel(Aws::String&& value) { SetLicenseModel(std::move(value)); return *this;}
146 inline PendingModifiedValues& WithLicenseModel(const char* value) { SetLicenseModel(value); return *this;}
148
150
153 inline int GetIops() const{ return m_iops; }
154 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
155 inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; }
156 inline PendingModifiedValues& WithIops(int value) { SetIops(value); return *this;}
158
160
163 inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
164 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
165 inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
166 inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
167 inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
169 inline PendingModifiedValues& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;}
170 inline PendingModifiedValues& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
172
174
177 inline const Aws::String& GetStorageType() const{ return m_storageType; }
178 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
179 inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
180 inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
181 inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); }
182 inline PendingModifiedValues& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;}
183 inline PendingModifiedValues& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;}
184 inline PendingModifiedValues& WithStorageType(const char* value) { SetStorageType(value); return *this;}
186
188
198 inline const Aws::String& GetCACertificateIdentifier() const{ return m_cACertificateIdentifier; }
199 inline bool CACertificateIdentifierHasBeenSet() const { return m_cACertificateIdentifierHasBeenSet; }
200 inline void SetCACertificateIdentifier(const Aws::String& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = value; }
201 inline void SetCACertificateIdentifier(Aws::String&& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = std::move(value); }
202 inline void SetCACertificateIdentifier(const char* value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier.assign(value); }
205 inline PendingModifiedValues& WithCACertificateIdentifier(const char* value) { SetCACertificateIdentifier(value); return *this;}
207
209
212 inline const Aws::String& GetDBSubnetGroupName() const{ return m_dBSubnetGroupName; }
213 inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
214 inline void SetDBSubnetGroupName(const Aws::String& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = value; }
215 inline void SetDBSubnetGroupName(Aws::String&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::move(value); }
216 inline void SetDBSubnetGroupName(const char* value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName.assign(value); }
218 inline PendingModifiedValues& WithDBSubnetGroupName(Aws::String&& value) { SetDBSubnetGroupName(std::move(value)); return *this;}
219 inline PendingModifiedValues& WithDBSubnetGroupName(const char* value) { SetDBSubnetGroupName(value); return *this;}
221
223
224 inline const PendingCloudwatchLogsExports& GetPendingCloudwatchLogsExports() const{ return m_pendingCloudwatchLogsExports; }
225 inline bool PendingCloudwatchLogsExportsHasBeenSet() const { return m_pendingCloudwatchLogsExportsHasBeenSet; }
226 inline void SetPendingCloudwatchLogsExports(const PendingCloudwatchLogsExports& value) { m_pendingCloudwatchLogsExportsHasBeenSet = true; m_pendingCloudwatchLogsExports = value; }
227 inline void SetPendingCloudwatchLogsExports(PendingCloudwatchLogsExports&& value) { m_pendingCloudwatchLogsExportsHasBeenSet = true; m_pendingCloudwatchLogsExports = std::move(value); }
231
233
237 inline const Aws::Vector<ProcessorFeature>& GetProcessorFeatures() const{ return m_processorFeatures; }
238 inline bool ProcessorFeaturesHasBeenSet() const { return m_processorFeaturesHasBeenSet; }
239 inline void SetProcessorFeatures(const Aws::Vector<ProcessorFeature>& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures = value; }
240 inline void SetProcessorFeatures(Aws::Vector<ProcessorFeature>&& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures = std::move(value); }
243 inline PendingModifiedValues& AddProcessorFeatures(const ProcessorFeature& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures.push_back(value); return *this; }
244 inline PendingModifiedValues& AddProcessorFeatures(ProcessorFeature&& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures.push_back(std::move(value)); return *this; }
246
248
252 inline bool GetIAMDatabaseAuthenticationEnabled() const{ return m_iAMDatabaseAuthenticationEnabled; }
253 inline bool IAMDatabaseAuthenticationEnabledHasBeenSet() const { return m_iAMDatabaseAuthenticationEnabledHasBeenSet; }
254 inline void SetIAMDatabaseAuthenticationEnabled(bool value) { m_iAMDatabaseAuthenticationEnabledHasBeenSet = true; m_iAMDatabaseAuthenticationEnabled = value; }
257
259
266 inline const AutomationMode& GetAutomationMode() const{ return m_automationMode; }
267 inline bool AutomationModeHasBeenSet() const { return m_automationModeHasBeenSet; }
268 inline void SetAutomationMode(const AutomationMode& value) { m_automationModeHasBeenSet = true; m_automationMode = value; }
269 inline void SetAutomationMode(AutomationMode&& value) { m_automationModeHasBeenSet = true; m_automationMode = std::move(value); }
270 inline PendingModifiedValues& WithAutomationMode(const AutomationMode& value) { SetAutomationMode(value); return *this;}
271 inline PendingModifiedValues& WithAutomationMode(AutomationMode&& value) { SetAutomationMode(std::move(value)); return *this;}
273
275
280 inline const Aws::Utils::DateTime& GetResumeFullAutomationModeTime() const{ return m_resumeFullAutomationModeTime; }
281 inline bool ResumeFullAutomationModeTimeHasBeenSet() const { return m_resumeFullAutomationModeTimeHasBeenSet; }
282 inline void SetResumeFullAutomationModeTime(const Aws::Utils::DateTime& value) { m_resumeFullAutomationModeTimeHasBeenSet = true; m_resumeFullAutomationModeTime = value; }
283 inline void SetResumeFullAutomationModeTime(Aws::Utils::DateTime&& value) { m_resumeFullAutomationModeTimeHasBeenSet = true; m_resumeFullAutomationModeTime = std::move(value); }
287
289
292 inline int GetStorageThroughput() const{ return m_storageThroughput; }
293 inline bool StorageThroughputHasBeenSet() const { return m_storageThroughputHasBeenSet; }
294 inline void SetStorageThroughput(int value) { m_storageThroughputHasBeenSet = true; m_storageThroughput = value; }
295 inline PendingModifiedValues& WithStorageThroughput(int value) { SetStorageThroughput(value); return *this;}
297
299
302 inline const Aws::String& GetEngine() const{ return m_engine; }
303 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
304 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
305 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
306 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
307 inline PendingModifiedValues& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
308 inline PendingModifiedValues& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
309 inline PendingModifiedValues& WithEngine(const char* value) { SetEngine(value); return *this;}
311
313
317 inline bool GetDedicatedLogVolume() const{ return m_dedicatedLogVolume; }
318 inline bool DedicatedLogVolumeHasBeenSet() const { return m_dedicatedLogVolumeHasBeenSet; }
319 inline void SetDedicatedLogVolume(bool value) { m_dedicatedLogVolumeHasBeenSet = true; m_dedicatedLogVolume = value; }
320 inline PendingModifiedValues& WithDedicatedLogVolume(bool value) { SetDedicatedLogVolume(value); return *this;}
322
324
328 inline bool GetMultiTenant() const{ return m_multiTenant; }
329 inline bool MultiTenantHasBeenSet() const { return m_multiTenantHasBeenSet; }
330 inline void SetMultiTenant(bool value) { m_multiTenantHasBeenSet = true; m_multiTenant = value; }
331 inline PendingModifiedValues& WithMultiTenant(bool value) { SetMultiTenant(value); return *this;}
333 private:
334
335 Aws::String m_dBInstanceClass;
336 bool m_dBInstanceClassHasBeenSet = false;
337
338 int m_allocatedStorage;
339 bool m_allocatedStorageHasBeenSet = false;
340
341 Aws::String m_masterUserPassword;
342 bool m_masterUserPasswordHasBeenSet = false;
343
344 int m_port;
345 bool m_portHasBeenSet = false;
346
347 int m_backupRetentionPeriod;
348 bool m_backupRetentionPeriodHasBeenSet = false;
349
350 bool m_multiAZ;
351 bool m_multiAZHasBeenSet = false;
352
353 Aws::String m_engineVersion;
354 bool m_engineVersionHasBeenSet = false;
355
356 Aws::String m_licenseModel;
357 bool m_licenseModelHasBeenSet = false;
358
359 int m_iops;
360 bool m_iopsHasBeenSet = false;
361
362 Aws::String m_dBInstanceIdentifier;
363 bool m_dBInstanceIdentifierHasBeenSet = false;
364
365 Aws::String m_storageType;
366 bool m_storageTypeHasBeenSet = false;
367
368 Aws::String m_cACertificateIdentifier;
369 bool m_cACertificateIdentifierHasBeenSet = false;
370
371 Aws::String m_dBSubnetGroupName;
372 bool m_dBSubnetGroupNameHasBeenSet = false;
373
374 PendingCloudwatchLogsExports m_pendingCloudwatchLogsExports;
375 bool m_pendingCloudwatchLogsExportsHasBeenSet = false;
376
377 Aws::Vector<ProcessorFeature> m_processorFeatures;
378 bool m_processorFeaturesHasBeenSet = false;
379
380 bool m_iAMDatabaseAuthenticationEnabled;
381 bool m_iAMDatabaseAuthenticationEnabledHasBeenSet = false;
382
383 AutomationMode m_automationMode;
384 bool m_automationModeHasBeenSet = false;
385
386 Aws::Utils::DateTime m_resumeFullAutomationModeTime;
387 bool m_resumeFullAutomationModeTimeHasBeenSet = false;
388
389 int m_storageThroughput;
390 bool m_storageThroughputHasBeenSet = false;
391
392 Aws::String m_engine;
393 bool m_engineHasBeenSet = false;
394
395 bool m_dedicatedLogVolume;
396 bool m_dedicatedLogVolumeHasBeenSet = false;
397
398 bool m_multiTenant;
399 bool m_multiTenantHasBeenSet = false;
400 };
401
402} // namespace Model
403} // namespace RDS
404} // namespace Aws
PendingModifiedValues & WithLicenseModel(const Aws::String &value)
void SetPendingCloudwatchLogsExports(PendingCloudwatchLogsExports &&value)
void SetCACertificateIdentifier(Aws::String &&value)
void SetAutomationMode(AutomationMode &&value)
PendingModifiedValues & WithStorageType(const char *value)
PendingModifiedValues & WithDBInstanceIdentifier(const Aws::String &value)
PendingModifiedValues & WithDBSubnetGroupName(const Aws::String &value)
AWS_RDS_API PendingModifiedValues(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetProcessorFeatures(const Aws::Vector< ProcessorFeature > &value)
PendingModifiedValues & WithProcessorFeatures(const Aws::Vector< ProcessorFeature > &value)
PendingModifiedValues & WithDBSubnetGroupName(Aws::String &&value)
PendingModifiedValues & WithAllocatedStorage(int value)
PendingModifiedValues & WithMasterUserPassword(const char *value)
PendingModifiedValues & WithBackupRetentionPeriod(int value)
PendingModifiedValues & WithLicenseModel(Aws::String &&value)
PendingModifiedValues & WithDBInstanceClass(const Aws::String &value)
PendingModifiedValues & WithPort(int value)
void SetLicenseModel(const Aws::String &value)
AWS_RDS_API PendingModifiedValues & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PendingModifiedValues & WithDBInstanceClass(Aws::String &&value)
void SetPendingCloudwatchLogsExports(const PendingCloudwatchLogsExports &value)
PendingModifiedValues & WithDBSubnetGroupName(const char *value)
PendingModifiedValues & WithProcessorFeatures(Aws::Vector< ProcessorFeature > &&value)
void SetDBSubnetGroupName(const Aws::String &value)
PendingModifiedValues & WithStorageThroughput(int value)
PendingModifiedValues & AddProcessorFeatures(const ProcessorFeature &value)
void SetResumeFullAutomationModeTime(const Aws::Utils::DateTime &value)
PendingModifiedValues & WithCACertificateIdentifier(const Aws::String &value)
PendingModifiedValues & WithIops(int value)
void SetEngineVersion(const Aws::String &value)
PendingModifiedValues & WithLicenseModel(const char *value)
void SetDBInstanceIdentifier(Aws::String &&value)
PendingModifiedValues & WithEngine(const char *value)
PendingModifiedValues & WithMasterUserPassword(const Aws::String &value)
const PendingCloudwatchLogsExports & GetPendingCloudwatchLogsExports() const
const Aws::Utils::DateTime & GetResumeFullAutomationModeTime() const
PendingModifiedValues & WithDBInstanceIdentifier(Aws::String &&value)
PendingModifiedValues & WithCACertificateIdentifier(Aws::String &&value)
PendingModifiedValues & WithResumeFullAutomationModeTime(const Aws::Utils::DateTime &value)
PendingModifiedValues & WithEngine(Aws::String &&value)
PendingModifiedValues & WithEngineVersion(const Aws::String &value)
void SetResumeFullAutomationModeTime(Aws::Utils::DateTime &&value)
void SetProcessorFeatures(Aws::Vector< ProcessorFeature > &&value)
void SetMasterUserPassword(Aws::String &&value)
PendingModifiedValues & WithMasterUserPassword(Aws::String &&value)
PendingModifiedValues & WithResumeFullAutomationModeTime(Aws::Utils::DateTime &&value)
void SetDBInstanceClass(const Aws::String &value)
PendingModifiedValues & WithDBInstanceIdentifier(const char *value)
PendingModifiedValues & WithPendingCloudwatchLogsExports(PendingCloudwatchLogsExports &&value)
void SetDBInstanceIdentifier(const Aws::String &value)
const Aws::String & GetDBSubnetGroupName() const
PendingModifiedValues & WithMultiAZ(bool value)
const Aws::String & GetMasterUserPassword() const
PendingModifiedValues & WithAutomationMode(AutomationMode &&value)
const Aws::String & GetDBInstanceClass() const
PendingModifiedValues & WithEngine(const Aws::String &value)
PendingModifiedValues & WithDedicatedLogVolume(bool value)
PendingModifiedValues & WithMultiTenant(bool value)
PendingModifiedValues & WithEngineVersion(Aws::String &&value)
PendingModifiedValues & WithIAMDatabaseAuthenticationEnabled(bool value)
const Aws::String & GetDBInstanceIdentifier() const
PendingModifiedValues & WithStorageType(Aws::String &&value)
const AutomationMode & GetAutomationMode() const
PendingModifiedValues & WithEngineVersion(const char *value)
PendingModifiedValues & WithStorageType(const Aws::String &value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetCACertificateIdentifier(const Aws::String &value)
void SetAutomationMode(const AutomationMode &value)
PendingModifiedValues & WithDBInstanceClass(const char *value)
PendingModifiedValues & WithPendingCloudwatchLogsExports(const PendingCloudwatchLogsExports &value)
void SetEngine(const Aws::String &value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PendingModifiedValues & AddProcessorFeatures(ProcessorFeature &&value)
const Aws::Vector< ProcessorFeature > & GetProcessorFeatures() const
void SetStorageType(const Aws::String &value)
const Aws::String & GetCACertificateIdentifier() const
void SetMasterUserPassword(const Aws::String &value)
PendingModifiedValues & WithAutomationMode(const AutomationMode &value)
PendingModifiedValues & WithCACertificateIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream