AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
PendingModifiedValues.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/RDS_EXPORTS.h>
12#include <aws/rds/model/AdditionalStorageVolume.h>
13#include <aws/rds/model/AutomationMode.h>
14#include <aws/rds/model/PendingCloudwatchLogsExports.h>
15#include <aws/rds/model/ProcessorFeature.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Xml {
22class XmlNode;
23} // namespace Xml
24} // namespace Utils
25namespace RDS {
26namespace Model {
27
36 public:
37 AWS_RDS_API PendingModifiedValues() = default;
40
41 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
45
48 inline const Aws::String& GetDBInstanceClass() const { return m_dBInstanceClass; }
49 inline bool DBInstanceClassHasBeenSet() const { return m_dBInstanceClassHasBeenSet; }
50 template <typename DBInstanceClassT = Aws::String>
51 void SetDBInstanceClass(DBInstanceClassT&& value) {
52 m_dBInstanceClassHasBeenSet = true;
53 m_dBInstanceClass = std::forward<DBInstanceClassT>(value);
54 }
55 template <typename DBInstanceClassT = Aws::String>
56 PendingModifiedValues& WithDBInstanceClass(DBInstanceClassT&& value) {
57 SetDBInstanceClass(std::forward<DBInstanceClassT>(value));
58 return *this;
59 }
61
63
67 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
68 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
69 inline void SetAllocatedStorage(int value) {
70 m_allocatedStorageHasBeenSet = true;
71 m_allocatedStorage = value;
72 }
75 return *this;
76 }
78
80
83 inline const Aws::String& GetMasterUserPassword() const { return m_masterUserPassword; }
84 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
85 template <typename MasterUserPasswordT = Aws::String>
86 void SetMasterUserPassword(MasterUserPasswordT&& value) {
87 m_masterUserPasswordHasBeenSet = true;
88 m_masterUserPassword = std::forward<MasterUserPasswordT>(value);
89 }
90 template <typename MasterUserPasswordT = Aws::String>
91 PendingModifiedValues& WithMasterUserPassword(MasterUserPasswordT&& value) {
92 SetMasterUserPassword(std::forward<MasterUserPasswordT>(value));
93 return *this;
94 }
96
98
101 inline int GetPort() const { return m_port; }
102 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
103 inline void SetPort(int value) {
104 m_portHasBeenSet = true;
105 m_port = value;
106 }
107 inline PendingModifiedValues& WithPort(int value) {
108 SetPort(value);
109 return *this;
110 }
112
114
117 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
118 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
119 inline void SetBackupRetentionPeriod(int value) {
120 m_backupRetentionPeriodHasBeenSet = true;
121 m_backupRetentionPeriod = value;
122 }
125 return *this;
126 }
128
130
134 inline bool GetMultiAZ() const { return m_multiAZ; }
135 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
136 inline void SetMultiAZ(bool value) {
137 m_multiAZHasBeenSet = true;
138 m_multiAZ = value;
139 }
140 inline PendingModifiedValues& WithMultiAZ(bool value) {
141 SetMultiAZ(value);
142 return *this;
143 }
145
147
150 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
151 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
152 template <typename EngineVersionT = Aws::String>
153 void SetEngineVersion(EngineVersionT&& value) {
154 m_engineVersionHasBeenSet = true;
155 m_engineVersion = std::forward<EngineVersionT>(value);
156 }
157 template <typename EngineVersionT = Aws::String>
158 PendingModifiedValues& WithEngineVersion(EngineVersionT&& value) {
159 SetEngineVersion(std::forward<EngineVersionT>(value));
160 return *this;
161 }
163
165
170 inline const Aws::String& GetLicenseModel() const { return m_licenseModel; }
171 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
172 template <typename LicenseModelT = Aws::String>
173 void SetLicenseModel(LicenseModelT&& value) {
174 m_licenseModelHasBeenSet = true;
175 m_licenseModel = std::forward<LicenseModelT>(value);
176 }
177 template <typename LicenseModelT = Aws::String>
178 PendingModifiedValues& WithLicenseModel(LicenseModelT&& value) {
179 SetLicenseModel(std::forward<LicenseModelT>(value));
180 return *this;
181 }
183
185
188 inline int GetIops() const { return m_iops; }
189 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
190 inline void SetIops(int value) {
191 m_iopsHasBeenSet = true;
192 m_iops = value;
193 }
194 inline PendingModifiedValues& WithIops(int value) {
195 SetIops(value);
196 return *this;
197 }
199
201
204 inline int GetStorageThroughput() const { return m_storageThroughput; }
205 inline bool StorageThroughputHasBeenSet() const { return m_storageThroughputHasBeenSet; }
206 inline void SetStorageThroughput(int value) {
207 m_storageThroughputHasBeenSet = true;
208 m_storageThroughput = value;
209 }
212 return *this;
213 }
215
217
220 inline const Aws::String& GetDBInstanceIdentifier() const { return m_dBInstanceIdentifier; }
221 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
222 template <typename DBInstanceIdentifierT = Aws::String>
223 void SetDBInstanceIdentifier(DBInstanceIdentifierT&& value) {
224 m_dBInstanceIdentifierHasBeenSet = true;
225 m_dBInstanceIdentifier = std::forward<DBInstanceIdentifierT>(value);
226 }
227 template <typename DBInstanceIdentifierT = Aws::String>
228 PendingModifiedValues& WithDBInstanceIdentifier(DBInstanceIdentifierT&& value) {
229 SetDBInstanceIdentifier(std::forward<DBInstanceIdentifierT>(value));
230 return *this;
231 }
233
235
238 inline const Aws::String& GetStorageType() const { return m_storageType; }
239 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
240 template <typename StorageTypeT = Aws::String>
241 void SetStorageType(StorageTypeT&& value) {
242 m_storageTypeHasBeenSet = true;
243 m_storageType = std::forward<StorageTypeT>(value);
244 }
245 template <typename StorageTypeT = Aws::String>
246 PendingModifiedValues& WithStorageType(StorageTypeT&& value) {
247 SetStorageType(std::forward<StorageTypeT>(value));
248 return *this;
249 }
251
253
263 inline const Aws::String& GetCACertificateIdentifier() const { return m_cACertificateIdentifier; }
264 inline bool CACertificateIdentifierHasBeenSet() const { return m_cACertificateIdentifierHasBeenSet; }
265 template <typename CACertificateIdentifierT = Aws::String>
266 void SetCACertificateIdentifier(CACertificateIdentifierT&& value) {
267 m_cACertificateIdentifierHasBeenSet = true;
268 m_cACertificateIdentifier = std::forward<CACertificateIdentifierT>(value);
269 }
270 template <typename CACertificateIdentifierT = Aws::String>
271 PendingModifiedValues& WithCACertificateIdentifier(CACertificateIdentifierT&& value) {
272 SetCACertificateIdentifier(std::forward<CACertificateIdentifierT>(value));
273 return *this;
274 }
276
278
281 inline const Aws::String& GetDBSubnetGroupName() const { return m_dBSubnetGroupName; }
282 inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; }
283 template <typename DBSubnetGroupNameT = Aws::String>
284 void SetDBSubnetGroupName(DBSubnetGroupNameT&& value) {
285 m_dBSubnetGroupNameHasBeenSet = true;
286 m_dBSubnetGroupName = std::forward<DBSubnetGroupNameT>(value);
287 }
288 template <typename DBSubnetGroupNameT = Aws::String>
289 PendingModifiedValues& WithDBSubnetGroupName(DBSubnetGroupNameT&& value) {
290 SetDBSubnetGroupName(std::forward<DBSubnetGroupNameT>(value));
291 return *this;
292 }
294
296
297 inline const PendingCloudwatchLogsExports& GetPendingCloudwatchLogsExports() const { return m_pendingCloudwatchLogsExports; }
298 inline bool PendingCloudwatchLogsExportsHasBeenSet() const { return m_pendingCloudwatchLogsExportsHasBeenSet; }
299 template <typename PendingCloudwatchLogsExportsT = PendingCloudwatchLogsExports>
300 void SetPendingCloudwatchLogsExports(PendingCloudwatchLogsExportsT&& value) {
301 m_pendingCloudwatchLogsExportsHasBeenSet = true;
302 m_pendingCloudwatchLogsExports = std::forward<PendingCloudwatchLogsExportsT>(value);
303 }
304 template <typename PendingCloudwatchLogsExportsT = PendingCloudwatchLogsExports>
305 PendingModifiedValues& WithPendingCloudwatchLogsExports(PendingCloudwatchLogsExportsT&& value) {
306 SetPendingCloudwatchLogsExports(std::forward<PendingCloudwatchLogsExportsT>(value));
307 return *this;
308 }
310
312
316 inline const Aws::Vector<ProcessorFeature>& GetProcessorFeatures() const { return m_processorFeatures; }
317 inline bool ProcessorFeaturesHasBeenSet() const { return m_processorFeaturesHasBeenSet; }
318 template <typename ProcessorFeaturesT = Aws::Vector<ProcessorFeature>>
319 void SetProcessorFeatures(ProcessorFeaturesT&& value) {
320 m_processorFeaturesHasBeenSet = true;
321 m_processorFeatures = std::forward<ProcessorFeaturesT>(value);
322 }
323 template <typename ProcessorFeaturesT = Aws::Vector<ProcessorFeature>>
324 PendingModifiedValues& WithProcessorFeatures(ProcessorFeaturesT&& value) {
325 SetProcessorFeatures(std::forward<ProcessorFeaturesT>(value));
326 return *this;
327 }
328 template <typename ProcessorFeaturesT = ProcessorFeature>
329 PendingModifiedValues& AddProcessorFeatures(ProcessorFeaturesT&& value) {
330 m_processorFeaturesHasBeenSet = true;
331 m_processorFeatures.emplace_back(std::forward<ProcessorFeaturesT>(value));
332 return *this;
333 }
335
337
344 inline AutomationMode GetAutomationMode() const { return m_automationMode; }
345 inline bool AutomationModeHasBeenSet() const { return m_automationModeHasBeenSet; }
347 m_automationModeHasBeenSet = true;
348 m_automationMode = value;
349 }
351 SetAutomationMode(value);
352 return *this;
353 }
355
357
362 inline const Aws::Utils::DateTime& GetResumeFullAutomationModeTime() const { return m_resumeFullAutomationModeTime; }
363 inline bool ResumeFullAutomationModeTimeHasBeenSet() const { return m_resumeFullAutomationModeTimeHasBeenSet; }
364 template <typename ResumeFullAutomationModeTimeT = Aws::Utils::DateTime>
365 void SetResumeFullAutomationModeTime(ResumeFullAutomationModeTimeT&& value) {
366 m_resumeFullAutomationModeTimeHasBeenSet = true;
367 m_resumeFullAutomationModeTime = std::forward<ResumeFullAutomationModeTimeT>(value);
368 }
369 template <typename ResumeFullAutomationModeTimeT = Aws::Utils::DateTime>
370 PendingModifiedValues& WithResumeFullAutomationModeTime(ResumeFullAutomationModeTimeT&& value) {
371 SetResumeFullAutomationModeTime(std::forward<ResumeFullAutomationModeTimeT>(value));
372 return *this;
373 }
375
377
381 inline bool GetMultiTenant() const { return m_multiTenant; }
382 inline bool MultiTenantHasBeenSet() const { return m_multiTenantHasBeenSet; }
383 inline void SetMultiTenant(bool value) {
384 m_multiTenantHasBeenSet = true;
385 m_multiTenant = value;
386 }
388 SetMultiTenant(value);
389 return *this;
390 }
392
394
398 inline bool GetIAMDatabaseAuthenticationEnabled() const { return m_iAMDatabaseAuthenticationEnabled; }
399 inline bool IAMDatabaseAuthenticationEnabledHasBeenSet() const { return m_iAMDatabaseAuthenticationEnabledHasBeenSet; }
400 inline void SetIAMDatabaseAuthenticationEnabled(bool value) {
401 m_iAMDatabaseAuthenticationEnabledHasBeenSet = true;
402 m_iAMDatabaseAuthenticationEnabled = value;
403 }
406 return *this;
407 }
409
411
415 inline bool GetDedicatedLogVolume() const { return m_dedicatedLogVolume; }
416 inline bool DedicatedLogVolumeHasBeenSet() const { return m_dedicatedLogVolumeHasBeenSet; }
417 inline void SetDedicatedLogVolume(bool value) {
418 m_dedicatedLogVolumeHasBeenSet = true;
419 m_dedicatedLogVolume = value;
420 }
423 return *this;
424 }
426
428
431 inline const Aws::String& GetEngine() const { return m_engine; }
432 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
433 template <typename EngineT = Aws::String>
434 void SetEngine(EngineT&& value) {
435 m_engineHasBeenSet = true;
436 m_engine = std::forward<EngineT>(value);
437 }
438 template <typename EngineT = Aws::String>
440 SetEngine(std::forward<EngineT>(value));
441 return *this;
442 }
444
446
450 inline const Aws::Vector<AdditionalStorageVolume>& GetAdditionalStorageVolumes() const { return m_additionalStorageVolumes; }
451 inline bool AdditionalStorageVolumesHasBeenSet() const { return m_additionalStorageVolumesHasBeenSet; }
452 template <typename AdditionalStorageVolumesT = Aws::Vector<AdditionalStorageVolume>>
453 void SetAdditionalStorageVolumes(AdditionalStorageVolumesT&& value) {
454 m_additionalStorageVolumesHasBeenSet = true;
455 m_additionalStorageVolumes = std::forward<AdditionalStorageVolumesT>(value);
456 }
457 template <typename AdditionalStorageVolumesT = Aws::Vector<AdditionalStorageVolume>>
458 PendingModifiedValues& WithAdditionalStorageVolumes(AdditionalStorageVolumesT&& value) {
459 SetAdditionalStorageVolumes(std::forward<AdditionalStorageVolumesT>(value));
460 return *this;
461 }
462 template <typename AdditionalStorageVolumesT = AdditionalStorageVolume>
463 PendingModifiedValues& AddAdditionalStorageVolumes(AdditionalStorageVolumesT&& value) {
464 m_additionalStorageVolumesHasBeenSet = true;
465 m_additionalStorageVolumes.emplace_back(std::forward<AdditionalStorageVolumesT>(value));
466 return *this;
467 }
469 private:
470 Aws::String m_dBInstanceClass;
471
472 int m_allocatedStorage{0};
473
474 Aws::String m_masterUserPassword;
475
476 int m_port{0};
477
478 int m_backupRetentionPeriod{0};
479
480 bool m_multiAZ{false};
481
482 Aws::String m_engineVersion;
483
484 Aws::String m_licenseModel;
485
486 int m_iops{0};
487
488 int m_storageThroughput{0};
489
490 Aws::String m_dBInstanceIdentifier;
491
492 Aws::String m_storageType;
493
494 Aws::String m_cACertificateIdentifier;
495
496 Aws::String m_dBSubnetGroupName;
497
498 PendingCloudwatchLogsExports m_pendingCloudwatchLogsExports;
499
500 Aws::Vector<ProcessorFeature> m_processorFeatures;
501
502 AutomationMode m_automationMode{AutomationMode::NOT_SET};
503
504 Aws::Utils::DateTime m_resumeFullAutomationModeTime{};
505
506 bool m_multiTenant{false};
507
508 bool m_iAMDatabaseAuthenticationEnabled{false};
509
510 bool m_dedicatedLogVolume{false};
511
512 Aws::String m_engine;
513
514 Aws::Vector<AdditionalStorageVolume> m_additionalStorageVolumes;
515 bool m_dBInstanceClassHasBeenSet = false;
516 bool m_allocatedStorageHasBeenSet = false;
517 bool m_masterUserPasswordHasBeenSet = false;
518 bool m_portHasBeenSet = false;
519 bool m_backupRetentionPeriodHasBeenSet = false;
520 bool m_multiAZHasBeenSet = false;
521 bool m_engineVersionHasBeenSet = false;
522 bool m_licenseModelHasBeenSet = false;
523 bool m_iopsHasBeenSet = false;
524 bool m_storageThroughputHasBeenSet = false;
525 bool m_dBInstanceIdentifierHasBeenSet = false;
526 bool m_storageTypeHasBeenSet = false;
527 bool m_cACertificateIdentifierHasBeenSet = false;
528 bool m_dBSubnetGroupNameHasBeenSet = false;
529 bool m_pendingCloudwatchLogsExportsHasBeenSet = false;
530 bool m_processorFeaturesHasBeenSet = false;
531 bool m_automationModeHasBeenSet = false;
532 bool m_resumeFullAutomationModeTimeHasBeenSet = false;
533 bool m_multiTenantHasBeenSet = false;
534 bool m_iAMDatabaseAuthenticationEnabledHasBeenSet = false;
535 bool m_dedicatedLogVolumeHasBeenSet = false;
536 bool m_engineHasBeenSet = false;
537 bool m_additionalStorageVolumesHasBeenSet = false;
538};
539
540} // namespace Model
541} // namespace RDS
542} // namespace Aws
PendingModifiedValues & WithMasterUserPassword(MasterUserPasswordT &&value)
PendingModifiedValues & WithEngine(EngineT &&value)
void SetDBInstanceIdentifier(DBInstanceIdentifierT &&value)
AWS_RDS_API PendingModifiedValues(const Aws::Utils::Xml::XmlNode &xmlNode)
PendingModifiedValues & WithCACertificateIdentifier(CACertificateIdentifierT &&value)
PendingModifiedValues & WithAllocatedStorage(int value)
PendingModifiedValues & WithDBSubnetGroupName(DBSubnetGroupNameT &&value)
PendingModifiedValues & WithBackupRetentionPeriod(int value)
void SetProcessorFeatures(ProcessorFeaturesT &&value)
void SetMasterUserPassword(MasterUserPasswordT &&value)
PendingModifiedValues & WithDBInstanceIdentifier(DBInstanceIdentifierT &&value)
void SetDBInstanceClass(DBInstanceClassT &&value)
void SetPendingCloudwatchLogsExports(PendingCloudwatchLogsExportsT &&value)
PendingModifiedValues & WithPort(int value)
void SetCACertificateIdentifier(CACertificateIdentifierT &&value)
AWS_RDS_API PendingModifiedValues & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PendingModifiedValues & WithStorageThroughput(int value)
void SetEngineVersion(EngineVersionT &&value)
PendingModifiedValues & WithEngineVersion(EngineVersionT &&value)
void SetAdditionalStorageVolumes(AdditionalStorageVolumesT &&value)
PendingModifiedValues & WithIops(int value)
PendingModifiedValues & AddAdditionalStorageVolumes(AdditionalStorageVolumesT &&value)
PendingModifiedValues & WithAutomationMode(AutomationMode value)
PendingModifiedValues & WithAdditionalStorageVolumes(AdditionalStorageVolumesT &&value)
AWS_RDS_API PendingModifiedValues()=default
PendingModifiedValues & AddProcessorFeatures(ProcessorFeaturesT &&value)
const PendingCloudwatchLogsExports & GetPendingCloudwatchLogsExports() const
const Aws::Utils::DateTime & GetResumeFullAutomationModeTime() const
PendingModifiedValues & WithStorageType(StorageTypeT &&value)
PendingModifiedValues & WithDBInstanceClass(DBInstanceClassT &&value)
PendingModifiedValues & WithLicenseModel(LicenseModelT &&value)
PendingModifiedValues & WithResumeFullAutomationModeTime(ResumeFullAutomationModeTimeT &&value)
PendingModifiedValues & WithProcessorFeatures(ProcessorFeaturesT &&value)
void SetDBSubnetGroupName(DBSubnetGroupNameT &&value)
const Aws::String & GetDBSubnetGroupName() const
PendingModifiedValues & WithMultiAZ(bool value)
const Aws::Vector< AdditionalStorageVolume > & GetAdditionalStorageVolumes() const
const Aws::String & GetMasterUserPassword() const
const Aws::String & GetDBInstanceClass() const
PendingModifiedValues & WithPendingCloudwatchLogsExports(PendingCloudwatchLogsExportsT &&value)
PendingModifiedValues & WithDedicatedLogVolume(bool value)
PendingModifiedValues & WithMultiTenant(bool value)
PendingModifiedValues & WithIAMDatabaseAuthenticationEnabled(bool value)
const Aws::String & GetDBInstanceIdentifier() const
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetResumeFullAutomationModeTime(ResumeFullAutomationModeTimeT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Vector< ProcessorFeature > & GetProcessorFeatures() const
const Aws::String & GetCACertificateIdentifier() const
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